@import url('../base/global.css');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 24px;
}

/* Card Container Principal - Expandido e Responsivo */
.card {
  position: relative;
  background-color: #f4f5f8;
  width: 100%;
  max-width: 1200px; /* Expandido de 820px para 1200px */
  border-radius: 28px;
  padding: clamp(32px, 5vw, 64px); /* Espaçamento adaptável */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Botão Fechar */
.btn-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
}

/* --- Coluna Esquerda --- */
.left-column {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-area {
  margin-bottom: clamp(20px, 2.5vw, 32px);
}

.logo-placeholder {
  width: clamp(160px, 15vw, 220px); /* Logo maior */
  height: clamp(100px, 10vw, 140px);
  border-radius: 20px;
}

.step-info {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.step-title {
  font-size: clamp(22px, 2.2vw, 32px); /* Título fluido */
  font-weight: 900;
  color: #000;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.step-description {
  font-size: clamp(16px, 1.4vw, 20px); /* Descrição fluida */
  color: #4a4a4a;
  line-height: 1.4;
  max-width: 380px; /* Largura maior para não quebrar o texto precocemente */
  margin: 0 auto;
}

/* Botões de Navegação Roxos */
.nav-buttons {
  display: flex;
  gap: 16px;
}

.btn-nav {
  width: clamp(90px, 8vw, 110px);
  height: clamp(42px, 4vw, 50px);
  background-color: #6139cc;
  border: none;
  border-radius: 14px;
  color: #fff;
  font-size: clamp(20px, 2vw, 26px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-nav:hover {
  opacity: 0.9;
}

.btn-prev {
  transform: rotate(180deg);
}

/* --- Coluna do Meio (Seta) --- */
.middle-column {
  flex: 0.3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrow-placeholder {
  width: clamp(70px, 7vw, 110px);
  height: clamp(70px, 7vw, 110px);
}

/* --- Coluna Direita (WhatsApp Mockup) --- */
.right-column {
  flex: 1.3;
}

.phone-mockup {
  background-color: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e2e2;
  width: 100%;
}

/* Cabeçalho do WhatsApp */
.whatsapp-header {
  background-color: #005d4b;
  color: #ffffff;
  padding: clamp(16px, 2vw, 24px) clamp(16px, 2vw, 24px) clamp(8px, 1vw, 12px) clamp(16px, 2vw, 24px);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(16px, 2vw, 22px);
}

.app-title {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 600;
}

.header-icons .icon {
  margin-left: 16px;
  font-size: clamp(16px, 1.4vw, 20px);
  cursor: pointer;
}

.header-tabs {
  display: flex;
  justify-content: space-between;
  font-size: clamp(13px, 1.1vw, 16px);
  color: #b0d4ce;
  padding-bottom: 6px;
}

.header-tabs .tab.active {
  color: #ffffff;
  font-weight: bold;
  border-bottom: 3px solid #ffffff;
  padding-bottom: 6px;
}

/* Lista de Conversas */
.chat-list {
  background-color: #ffffff;
  padding: clamp(10px, 1.2vw, 16px);
}

.chat-item {
  display: flex;
  align-items: center;
  padding: clamp(10px, 1.2vw, 16px);
  border-bottom: 1px solid #f0f0f0;
  border-radius: 14px;
  margin-bottom: 6px;
}

/* Item Selecionado */
.chat-item.selected {
  background-color: #f1edfd;
  border: 2px solid #6139cc;
}

.avatar-placeholder {
  width: clamp(44px, 4vw, 60px);
  height: clamp(44px, 4vw, 60px);
  border-radius: 50%;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(10px, 0.9vw, 13px);
  color: #6139cc;
  text-align: center;
  margin-right: clamp(12px, 1.2vw, 18px);
  flex-shrink: 0;
}

.avatar-placeholder img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-info {
  flex: 1;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.contact-name {
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 700;
  color: #111;
}

.chat-time {
  font-size: clamp(11px, 1vw, 14px);
  color: #888;
}

.chat-time.highlight {
  color: #008a72;
  font-weight: 600;
}

.last-message {
  font-size: clamp(12px, 1.1vw, 16px);
  color: #666;
}

/* Estilo Geral das Marcações de Imagem */
.img-placeholder {
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  font-size: clamp(12px, 1vw, 15px);
  padding: 8px;
}