/* ============================================================
   NicoChat Landing Page — réplica fiel de nicochat.com
   Paleta e fontes extraídas do site original (Framer)
   ============================================================ */

:root {
  --blue: #0099ff;
  --blue-dark: #0684fc;
  --navy: #202b53;
  --navy-2: #2e3c70;
  --navy-3: #1b1e3d;
  --dark: #060b16;
  --text: #475467;
  --muted: #667085;
  --gray-light: #98a2b3;
  /* ---------- Superfícies e limites ----------
     Valores herdados do Framer eram quase invisíveis: --border #eaecf0 dava
     1.18:1 contra o branco e --bg-soft #f9fafb dava 1.05:1. Em tela clara ou
     com brilho alto, card e fundo viravam a mesma superfície e as faixas
     alternadas de seção sumiam.

     Recalibrados por medição (razão de contraste WCAG contra #ffffff):
       --border    #cbd1da  1.54:1  (era 1.18)  limite perceptível sem virar traço
       --border-2  #b4bdcb  1.90:1  (era 1.47)  estado forte/hover, um degrau acima
       --bg-soft   #f1f3f7  1.11:1  (era 1.05)  faixa alternada de fato visível
       --bg-softer #f8f9fb  1.06:1  (era 1.03)

     3:1 (WCAG 1.4.11) numa borda de card deixaria o visual pesado demais; o
     alvo aqui é perceptibilidade, com a separação reforçada por elevação
     (ver --shadow-card abaixo) em vez de só pela linha. */
  --border: #cbd1da;
  --border-2: #b4bdcb;
  --bg-soft: #f1f3f7;
  --bg-softer: #f8f9fb;
  --white: #ffffff;
  --orange: #ff3d00;
  --yellow: #ffb800;

  --font-display: "Cabinet Grotesk", "Instrument Sans", sans-serif;
  --font-body: "Instrument Sans", "Inter", sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --container: 1200px;
  /* Duas camadas: uma rente (contato) e uma difusa (elevação). A difusa é o
     que faz o card se destacar quando o brilho da tela achata a borda — sem
     ela a separação dependia só de --border. */
  --shadow-card:
    0 1px 2px rgba(16, 24, 40, 0.06),
    0 4px 10px -2px rgba(16, 24, 40, 0.09);
  --shadow-lg:
    0 2px 6px rgba(6, 11, 22, 0.06),
    0 20px 40px rgba(6, 11, 22, 0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 860px; }

.text-blue { color: var(--blue); }

/* ---------- Tipografia de seção ----------
   Valores extraídos dos presets reais do Framer em www.nicochat.com
   (o site no ar continua sendo o original). Não estimar: conferir lá.

     eyebrow        preset 4ibskm  → Cabinet Grotesk 15px / 500 / lh 20px
     section-title  preset s0lnlx  → Cabinet Grotesk 36px / 500 / lh 44px
                                     (28px / lh 36px abaixo de 1200px)
     section-sub    preset qmpr4w  → Instrument Sans 16px / 400 / lh 24px
                                     (14px / lh 22px abaixo de 1200px)
                                     cor rgb(71,84,103) = var(--text)

   Os clamp() reproduzem o degrau do Framer de forma fluida: batem exatamente
   nos valores de 810px e de 1200px, sem precisar de media query. */
.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--blue);
  font-size: 0.9375rem; /* 15px */
  line-height: 1.3333; /* 20px */
  letter-spacing: 0;
  text-align: center;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  font-size: clamp(1.75rem, 0.711rem + 2.051vw, 2.25rem); /* 28px → 36px */
  line-height: 1.2222; /* 44/36 */
  letter-spacing: 0;
  text-align: center;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text);
  font-size: clamp(0.875rem, 0.615rem + 0.513vw, 1rem); /* 14px → 16px */
  line-height: 1.5; /* 24/16 */
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 153, 255, 0.35);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-ghost { color: var(--navy); }
.btn-ghost:hover { color: var(--blue); }

.btn-outline {
  border: 1.5px solid var(--border-2);
  color: var(--navy);
  background: var(--white);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(6, 11, 22, 0.25); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.navbar.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 12px rgba(6, 11, 22, 0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.nav-logo img { height: 42px; width: auto; }

.nav-links {
  display: flex;
  gap: 26px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--navy);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--blue); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-burger span {
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.2s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 64px 0 96px;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(0, 153, 255, 0.08), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(0, 153, 255, 0.06), transparent 60%),
    var(--white);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.word-rotator {
  display: inline-grid;
  vertical-align: top;
  overflow: hidden;
}
.word-rotator .word {
  grid-area: 1 / 1;
  color: var(--blue);
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s;
}
.word-rotator .word.is-active {
  opacity: 1;
  transform: translateY(0);
}
.word-rotator .word.is-leaving {
  opacity: 0;
  transform: translateY(-100%);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-cta { margin-bottom: 32px; }
.hero-note {
  margin-top: 12px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.hero-note strong { color: var(--navy); }

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.avatar-stack { display: flex; }
.avatar-stack img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2.5px solid var(--white);
  object-fit: cover;
  margin-left: -10px;
}
.avatar-stack img:first-child { margin-left: 0; }
.hero-social-proof p {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 260px;
  line-height: 1.4;
}

.hero-meta-badge { height: 26px; width: auto; }

.hero-visual img {
  width: 100%;
  height: auto;
}

/* ============================================================
   INTEGRAÇÕES
   ============================================================ */
.integrations { padding: 96px 0; background: var(--bg-soft); }

.marquee {
  overflow: hidden;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee-reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-track .logo-chip {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-shadow: var(--shadow-card);
}
.marquee-track .logo-chip img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.integrations-callout {
  text-align: center;
  margin-top: 48px;
}
.integrations-callout h2 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 24px;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features { padding: 96px 0; }

.feature-showcase {
  margin: 0 auto 72px;
  max-width: 980px;
}
.feature-showcase img { width: 100%; border-radius: var(--radius-lg); }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row-reverse .feature-text { order: 2; }
.feature-row-reverse .feature-media { order: 1; }

.feature-text h3 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  line-height: 1.2;
  margin-bottom: 16px;
}
.feature-text p {
  font-size: 1.0625rem;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 480px;
}

.feature-media img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* ============================================================
   CANAIS
   ============================================================ */
.channels { padding: 96px 0; background: var(--bg-soft); }

.channel-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.channel-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.channel-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.channel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.channel-body {
  padding: 18px;
  position: relative;
}
.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  position: absolute;
  top: -22px;
  left: 18px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  padding: 4px;
}
.channel-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.125rem;
  margin: 20px 0 4px;
}
.channel-body p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ============================================================
   AVALIAÇÕES
   ============================================================ */
.testimonials { padding: 96px 0; }

.slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  flex: 1;
}
.slider::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 300px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.stars {
  color: var(--yellow);
  font-size: 1.125rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.quote {
  color: var(--text);
  font-size: 0.9688rem;
  flex: 1;
  margin-bottom: 20px;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.author span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9688rem;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: 0.2s;
}
.slider-arrow:hover { border-color: var(--blue); }
.slider-arrow img { width: 20px; height: 20px; }

/* ============================================================
   PLANOS
   ============================================================ */
.pricing { padding: 96px 0; background: var(--bg-soft); }

.billing-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  width: max-content;
  margin: 0 auto 48px;
}

.toggle-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9688rem;
  color: var(--muted);
  transition: 0.2s;
}
.toggle-opt.is-active {
  background: var(--blue);
  color: var(--white);
}

.off-badge {
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 999px;
}

/* ---------- Interruptor Mensal / Anual ----------
   No site no ar o controle NÃO são duas pílulas: é um switch de 66x24 entre os
   rótulos "Mensal" e "Anual", com a pílula "%25 off" solta à direita. Estas
   classes são NOVAS (a home continua usando `.billing-toggle`/`.toggle-opt`
   acima, que ficaram intactos) — quem migrar a home depois é só trocar a
   marcação. */
.billing-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 48px;
}

.billing-switch .switch-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--muted);
  transition: color 0.2s;
}
.billing-switch .switch-label.is-active { color: var(--navy); }

.billing-switch .switch {
  position: relative;
  flex: 0 0 auto;
  width: 60px;
  height: 32px;
  padding: 0;
  border-radius: 999px;
  background: var(--border-2);
  transition: background 0.2s;
}
.billing-switch .switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.25);
  transition: transform 0.2s;
}
.billing-switch .switch[aria-checked="true"] { background: var(--yellow); }
.billing-switch .switch[aria-checked="true"]::after { transform: translateX(28px); }
.billing-switch .switch:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 40px;
}

.plan-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.plan-featured {
  border: 2px solid var(--blue);
  box-shadow: 0 12px 32px rgba(0, 153, 255, 0.15);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 4px 16px;
  border-radius: 999px;
}

/* Título solto de card de plano — hoje só o versao-editavel.html.
   O `:not(.plan-name)` NÃO é decorativo: sem ele esta regra (0,1,1) vence
   `.plan-name` (0,1,0) e reescreve cor, fonte, peso e tamanho da pílula.
   Isso acontecia SÓ na home, porque lá o PlanosGrid renderiza o nome como
   `h3` (o `h2` é o título da seção) e em /planos como `h2` — mesma classe,
   mesmo componente, aparências diferentes. */
.plan-card h3:not(.plan-name) {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  font-size: 1.375rem;
  margin-bottom: 8px;
}

/* ---------- Nome do plano como pílula ----------
   No site no ar o nome não é texto solto: é um badge arredondado centralizado
   acima do preço (medido: bg #0684fc, radius 50px, padding 4px 12px, 16px/700
   branco; o Grátis usa cinza #98a2b3). Classe NOVA — `.plan-card h3` acima
   continua valendo para a home, que ainda usa o título solto. */
.plan-name {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 20px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blue-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}
/* O Grátis não é um plano "de venda": pílula cinza, como no ar. */
.plan-name--muted { background: var(--gray-light); }
/* Tema anual: âmbar. Texto escuro porque branco sobre #ffb800 não passa em AA. */
.plan-name--anual { background: var(--yellow); color: #3d2c00; }

.plan-price { margin-bottom: 8px; }
.plan-price .price {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  /* 56px — medido no site no ar (`font-size: 56px / line-height: 60px`). */
  font-size: 3.5rem;
  line-height: 1.08;
}
.plan-price .per { color: var(--muted); font-size: 1rem; margin-left: 4px; }

/* Preço antigo riscado, exibido ACIMA do preço grande no modo anual. */
.plan-price-old {
  display: block;
  color: var(--gray-light);
  font-size: 1rem;
  text-decoration: line-through;
  margin-bottom: 2px;
}

/* Filete entre a descrição e a lista de recursos (existe no site no ar). */
.plan-divider {
  height: 1px;
  background: var(--border);
  margin: 0 0 22px;
}

.plan-desc {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 24px;
  min-height: 44px;
}

.plan-features {
  flex: 1;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  font-size: 0.9688rem;
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 153, 255, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230099ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Recurso NÃO incluído ----------
   No site no ar o Grátis traz ✕ cinza nos 3 últimos itens e o Starter traz ✕
   em "Inteligência Artificial" — sem isso a grade superdimensiona os planos
   baratos. Nenhum <li> da home tem esta classe, então a home não muda. */
.plan-features li.is-off { color: var(--muted); }
.plan-features li.is-off::before {
  background: rgba(152, 162, 179, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* Tema anual: os checks viram âmbar junto com o badge. */
.plan-card.is-anual .plan-features li:not(.is-off)::before {
  background: rgba(255, 184, 0, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0a000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.pricing-link {
  display: block;
  text-align: center;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 24px;
}
.pricing-link:hover { text-decoration: underline; }

.pricing-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--gray-light);
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 96px 0;
  background:
    radial-gradient(80% 120% at 85% 10%, rgba(0, 153, 255, 0.25), transparent 55%),
    linear-gradient(135deg, var(--dark) 0%, var(--navy-3) 100%);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  text-align: center;
}

.cta-bot, .cta-art {
  width: 160px;
  height: auto;
  flex: 0 0 auto;
}

.cta-copy h2 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 12px;
  max-width: 560px;
}
.cta-copy p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.125rem;
  margin-bottom: 28px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 96px 0; }

.faq-list { display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.0625rem;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }

/* O acordeão do site no ar usa "+" fechado e "−" aberto, não um chevron.
   Desenhado com pseudo-elementos: a barra vertical some ao abrir. */
.faq-chevron {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}
.faq-chevron::before,
.faq-chevron::after {
  content: "";
  position: absolute;
  background: var(--muted);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.faq-chevron::before {
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  margin-top: -1px;
}
.faq-chevron::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  margin-left: -1px;
}
.faq-item[open] .faq-chevron::after { opacity: 0; transform: rotate(90deg); }

.faq-answer {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.9688rem;
}
.faq-answer a { color: var(--blue); text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: var(--gray-light);
  padding: 72px 0 32px;
  font-size: 0.9063rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo { height: 36px; width: auto; margin-bottom: 24px; }
.footer-brand p { margin-bottom: 16px; line-height: 1.55; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  margin-bottom: 12px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  padding-top: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
}
.footer-verse a:hover { color: var(--white); }
.footer-bottom a { text-decoration: underline; }

/* ---------- Variante clara: rodapé oficial do site nicochat.com ----------
   .footer-light replica o rodapé do espelho Framer (fundo #f9fafb).
   O .footer escuro segue valendo para versao-editavel.html.            */
.footer-light {
  background: var(--bg-soft);
  color: var(--text);
  border-top: 1px solid var(--border);
}
.footer-light .footer-top { border-bottom-color: var(--border); }
.footer-light .footer-col h4 { color: var(--gray-light); font-weight: 600; }
.footer-light .footer-col a { color: var(--text); }
.footer-light .footer-col a:hover { color: var(--blue); }
.footer-light .footer-brand p { color: var(--text); }
.footer-light .footer-brand strong { color: var(--navy); font-weight: 700; }
.footer-light .footer-bottom {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  color: var(--muted);
}
.footer-light .footer-bottom a { text-decoration: none; }
.footer-light .footer-bottom a:hover { color: var(--navy); }
.footer-light .footer-verse {
  flex: 1;
  text-align: center;
  font-size: 0.6875rem;
  font-style: italic;
  color: var(--text);
}
.footer-light .footer-verse cite {
  display: block;
  font-size: 0.625rem;
  color: var(--muted);
}
.footer-light .footer-credit {
  font-size: 0.6875rem;
  color: var(--gray-light);
  text-align: right;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .channel-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-card { flex-basis: calc(50% - 12px); }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Barra de navegação: até onde cabe em uma linha ----------
   A barra tem 8 itens mais "Entrar" e "Inscreva-se": medida, a linha inteira
   pede 985px. Com o hambúrguer saindo em 861px, TODA página ganhava 985px de
   `scrollWidth` — rolagem horizontal em qualquer janela entre 861 e 984px
   (tablet deitado, notebook em janela dividida). O corte agora acompanha a
   medida do conteúdo, com folga: hambúrguer até 1023px.
   Os demais cortes de layout continuam em 860px, logo abaixo. */
@media (max-width: 1023px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: flex; }
  .nav-inner { justify-content: space-between; }
}

@media (max-width: 860px) {
  .navbar.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(6, 11, 22, 0.08);
  }
  .navbar.menu-open .nav-actions {
    display: flex;
    position: absolute;
    top: calc(76px + 340px);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 0 24px 24px;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--border);
  }

  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-social-proof { justify-content: center; }
  .hero-meta-badge { margin: 0 auto; }

  .feature-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; }
  .feature-row-reverse .feature-text { order: 1; }
  .feature-row-reverse .feature-media { order: 2; }

  .channel-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-inner { flex-direction: column; gap: 32px; }
  .cta-bot, .cta-art { width: 120px; }

  .plans-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }

  .footer-light .footer-bottom { flex-direction: column; text-align: center; }
  .footer-light .footer-credit { text-align: center; }
}

@media (max-width: 560px) {
  .channel-grid { grid-template-columns: 1fr; }
  .testimonial-card { flex-basis: 100%; }
  .slider-arrow { display: none; }
}
