/* ==========================================================================
   Good Night Anti-Ronco — Landing Page
   Folha de estilos principal
   ========================================================================== */

:root{
  --bg:#0c1220;
  --bg-panel:#131b30;
  --bg-panel-alt:#182140;
  --bg-raised:#1d2748;
  --mint:#6fe7c9;
  --mint-dim:#3f8f7d;        /* uso em texto grande (>=24px) */
  --mint-dim-text:#47a18c;   /* uso em texto pequeno — contraste >=4.5:1 */
  --gold:#f0ce86;
  --text:#eef1f8;
  --text-muted:#96a0c0;
  --text-faint:#8890af;      /* ajustado: era #5c6689 (falhava contraste AA) */
  --line:rgba(255,255,255,0.09);
  --red-x:#e08b8b;
  --radius:14px;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter', sans-serif;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4{
  font-family:'Fraunces', serif;
  font-weight:450;
  line-height:1.12;
  letter-spacing:-0.01em;
}
.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--mint);
}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.wrap{max-width:1120px; margin:0 auto; padding:0 24px;}
.wrap-narrow{max-width:820px; margin:0 auto; padding:0 24px;}
section{position:relative; padding:88px 0;}
@media (max-width:720px){ section{padding:64px 0;} }

/* Foco visível para navegação por teclado */
a:focus-visible,
button:focus-visible{
  outline:2px solid var(--mint);
  outline-offset:3px;
  border-radius:4px;
}

/* Respeita preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
}

/* ---------- Waveform signature ---------- */
.wave-divider{width:100%; display:block; height:56px; opacity:0.55;}
.wave-path{
  fill:none;
  stroke:var(--mint);
  stroke-width:1.6;
  stroke-linecap:round;
}
.wave-full{ width:100%; }

/* ---------- Top bar ---------- */
.ribbon{
  background:var(--bg-panel-alt);
  border-bottom:1px solid var(--line);
  text-align:center;
  font-family:'IBM Plex Mono', monospace;
  font-size:12px;
  letter-spacing:0.06em;
  color:var(--text-muted);
  padding:9px 16px;
}
.ribbon b{color:var(--mint); font-weight:500;}

.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(12,18,32,0.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar-inner{
  max-width:1120px; margin:0 auto; padding:16px 24px;
  display:flex; align-items:center; justify-content:space-between;
}
.logo{font-family:'Fraunces', serif; font-size:20px; font-weight:600; letter-spacing:0.01em;}
.logo span{color:var(--mint);}
.topbar-badge{
  font-family:'IBM Plex Mono', monospace; font-size:11px; letter-spacing:0.08em;
  color:var(--text-muted); text-transform:uppercase;
  display:flex; gap:18px; align-items:center;
}
.topbar-badge b{color:var(--gold); font-weight:500;}
@media (max-width:640px){ .topbar-badge{display:none;} }

/* ---------- Botões ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  background:var(--mint);
  color:#0c1220;
  font-weight:600;
  font-size:15px;
  padding:15px 26px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease;
  box-shadow:0 0 0 0 rgba(111,231,201,0.4);
}
.btn:hover{ transform:translateY(-2px); box-shadow:0 8px 24px rgba(111,231,201,0.25); }
.btn-outline{
  background:transparent; color:var(--text); border:1px solid var(--line);
}
.btn-outline:hover{ border-color:var(--mint); box-shadow:none; }
.btn-sm{ padding:10px 20px; font-size:14px; }

.check-row{
  display:flex; flex-wrap:wrap; gap:10px 20px; margin-top:26px;
}
.check-row--center{ justify-content:center; }
.check-row span{
  font-size:13.5px; color:var(--text-muted);
  display:flex; align-items:center; gap:7px;
}
.check-row span::before{
  content:"✓"; color:var(--mint); font-weight:700;
}

/* ---------- Hero ---------- */
.hero{
  padding-top:72px;
  padding-bottom:40px;
  background:
    radial-gradient(ellipse 900px 500px at 80% -10%, rgba(111,231,201,0.10), transparent 60%),
    radial-gradient(ellipse 700px 500px at 10% 10%, rgba(240,206,134,0.06), transparent 60%);
}
.hero-grid{
  display:grid; grid-template-columns:1.1fr 0.9fr; gap:56px; align-items:center;
}
@media (max-width:880px){ .hero-grid{grid-template-columns:1fr; gap:40px;} }
.hero h1{
  font-size:44px;
  margin:18px 0 20px;
}
@media (max-width:640px){ .hero h1{font-size:32px;} }
.hero p.lead{
  font-size:18px; color:var(--text-muted); max-width:520px; margin-bottom:28px;
}
.hero-photo{
  width:100%; max-width:460px; height:auto; border-radius:16px; margin-bottom:24px;
  border:1px solid var(--line);
  background-color:var(--bg-panel); /* evita "flash" enquanto a imagem carrega */
  display:block;
  /* Sem aspect-ratio/object-fit: a imagem aparece inteira, sem cortes.
     O navegador já reserva o espaço certo sozinho a partir dos atributos
     width/height do HTML (evita CLS do mesmo jeito). */
}
.hero-caption{
  text-align:center; font-size:12.5px; color:var(--text-faint);
  font-family:'IBM Plex Mono', monospace; letter-spacing:0.04em;
}
.stars{
  color:var(--gold); letter-spacing:2px; font-size:15px; margin-bottom:8px;
}
.stars-caption{font-size:13px; color:var(--text-faint); margin-bottom:22px;}

/* Product visual */
.product-card{
  background:linear-gradient(160deg, var(--bg-raised), var(--bg-panel));
  border:1px solid var(--line);
  border-radius:24px;
  padding:36px;
  position:relative;
  overflow:hidden;
}
.product-card::before{
  content:"";
  position:absolute; inset:-40% -20% auto auto; width:260px; height:260px;
  background:radial-gradient(circle, rgba(111,231,201,0.18), transparent 70%);
}
.glow-ring{
  width:100%; aspect-ratio:1/0.9;
  display:flex; align-items:center; justify-content:center;
  position:relative;
}
.glow-svg{ max-width:320px; }

/* ---------- Fundo alternado de seção ---------- */
.section-panel{ background:var(--bg-panel); }

/* ---------- Problem section ---------- */
.problem-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:52px; align-items:start;
}
@media (max-width:880px){ .problem-grid{grid-template-columns:1fr;} }
.problem-title{ margin-bottom:0; font-size:30px; margin-top:12px; }
.problem-text{ color:var(--text-muted); font-size:16px; margin-top:16px; }
.problem-note{ margin-top:16px; font-size:14.5px; color:var(--text-faint); }
.problem-list{list-style:none; margin-top:20px;}
.problem-list li{
  padding:14px 0; border-bottom:1px solid var(--line);
  font-size:16px; color:var(--text-muted);
  display:flex; gap:12px;
}
.problem-list li::before{content:"—"; color:var(--red-x); flex-shrink:0;}
.callout{
  margin-top:28px;
  background:var(--bg-panel);
  border-left:3px solid var(--mint);
  border-radius:0 10px 10px 0;
  padding:20px 24px;
  font-size:15.5px;
  color:var(--text);
}
.callout b{color:var(--mint); font-weight:600;}

.content-photo{
  width:100%; max-width:460px; height:auto; border-radius:16px;
  border:1px solid var(--line);
  background-color:var(--bg-panel);
  display:block;
  /* Sem aspect-ratio/object-fit: imagem e vídeo aparecem inteiros, sem cortes. */
}

/* Utilitários de espaçamento (reutilizados em vários blocos) */
.mt-20{ margin-top:20px; }
.mt-22{ margin-top:22px; }
.mt-24{ margin-top:24px; }

/* ---------- Section heading ---------- */
.section-head{max-width:640px; margin-bottom:48px;}
.section-head h2{font-size:32px; margin-top:12px;}
@media (max-width:640px){ .section-head h2{font-size:26px;} }
.section-head p{color:var(--text-muted); font-size:16px; margin-top:12px;}
.center{text-align:center; margin-left:auto; margin-right:auto;}

/* ---------- Feature cards ---------- */
.feature-grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:20px;
}
@media (max-width:720px){ .feature-grid{grid-template-columns:1fr;} }
.feature-card{
  background:var(--bg-panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
}
.feature-card--wide{ grid-column:1 / -1; }
.feature-icon{
  width:40px; height:40px; margin-bottom:16px;
}
.feature-card h3{font-size:19px; font-weight:600; margin-bottom:10px; color:var(--text);}
.feature-card p{font-size:14.5px; color:var(--text-muted);}

/* ---------- Steps ---------- */
.steps{
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px; counter-reset:step;
}
@media (max-width:820px){ .steps{grid-template-columns:1fr;} }
.step{
  position:relative;
  background:var(--bg-panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:30px 26px;
}
.step-num{
  font-family:'Fraunces', serif; font-size:38px; color:var(--mint-dim);
  margin-bottom:14px;
}
.step h3{font-size:18px; margin-bottom:10px; color:var(--text);}
.step p{font-size:14.5px; color:var(--text-muted);}

/* ---------- Comparison table ---------- */
.compare-wrap{overflow-x:auto; border-radius:var(--radius); border:1px solid var(--line);}
table.compare{
  width:100%; border-collapse:collapse; min-width:560px;
  background:var(--bg-panel);
}
table.compare th, table.compare td{
  padding:16px 18px; text-align:center; font-size:14.5px;
  border-bottom:1px solid var(--line);
}
table.compare th{
  font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:0.05em;
  text-transform:uppercase; color:var(--text-muted); font-weight:500;
}
table.compare td:first-child, table.compare th:first-child{
  text-align:left; color:var(--text); font-weight:500;
}
table.compare th.gn-col{ color:var(--mint); }
table.compare td.gn-col{ background:rgba(111,231,201,0.06); font-weight:600; color:var(--mint);}
table.compare tr:last-child td{border-bottom:none;}
.yes{color:var(--mint); font-weight:700;}
.yes-neutral{ color:var(--text); font-weight:700; }
.no{color:var(--red-x);}

/* ---------- Before / After ---------- */
.ba-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:24px;
}
@media (max-width:720px){ .ba-grid{grid-template-columns:1fr;} }
.ba-card{
  border-radius:var(--radius); padding:30px 28px; border:1px solid var(--line);
}
.ba-before{ background:var(--bg-panel); }
.ba-after{ background:linear-gradient(160deg, rgba(111,231,201,0.10), var(--bg-panel-alt)); border-color:rgba(111,231,201,0.3);}
.ba-card h3{font-size:15px; font-family:'IBM Plex Mono', monospace; text-transform:uppercase; letter-spacing:0.06em; margin-bottom:20px; font-weight:500;}
.ba-before h3{color:var(--text-faint);}
.ba-after h3{color:var(--mint);}
.ba-card ul{list-style:none;}
.ba-card li{padding:10px 0; font-size:15px; display:flex; gap:10px; border-bottom:1px solid var(--line);}
.ba-card li:last-child{border-bottom:none;}
.ba-before li{color:var(--text-muted);}
.ba-before li::before{content:"✕"; color:var(--red-x);}
.ba-after li{color:var(--text);}
.ba-after li::before{content:"✓"; color:var(--mint); font-weight:700;}

/* ---------- FAQ ---------- */
.faq-item{
  border-bottom:1px solid var(--line);
}
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  padding:22px 4px; display:flex; justify-content:space-between; align-items:center;
  color:var(--text); font-size:16px; font-weight:500; font-family:'Inter', sans-serif;
}
.faq-q .plus{
  font-size:20px; color:var(--mint); transition:transform .25s ease; flex-shrink:0; margin-left:16px;
  font-family:'IBM Plex Mono', monospace;
}
.faq-item.open .faq-q .plus{ transform:rotate(45deg); }
.faq-a{
  max-height:0; overflow:hidden; transition:max-height .3s ease;
}
.faq-a-inner{padding:0 4px 22px; font-size:15px; color:var(--text-muted); max-width:680px;}

/* ---------- Testimonials ---------- */
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
@media (max-width:880px){ .testi-grid{grid-template-columns:1fr;} }
.testi-card{
  background:var(--bg-panel); border:1px solid var(--line); border-radius:var(--radius); padding:26px;
}
.testi-stars{color:var(--gold); font-size:14px; margin-bottom:14px; letter-spacing:2px;}
.testi-quote{font-size:15px; color:var(--text); margin-bottom:18px;}
.testi-who{display:flex; align-items:center; gap:10px;}
.avatar{
  width:34px; height:34px; border-radius:50%; background:var(--bg-raised);
  display:flex; align-items:center; justify-content:center;
  font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--mint);
  border:1px solid var(--line);
}
.testi-name{font-size:13px; color:var(--text-muted);}
.verified{font-size:11px; color:var(--mint-dim-text); display:block; margin-top:2px;}

/* ---------- Pricing ---------- */
.price-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px;
}
@media (max-width:720px){ .price-grid{grid-template-columns:1fr;} }
.price-card{
  background:var(--bg-panel); border:1.5px solid var(--line); border-radius:var(--radius);
  padding:24px 20px; text-align:center; cursor:pointer; position:relative;
  transition:border-color .18s ease, transform .18s ease;
}
.price-card:hover{ transform:translateY(-3px); }
.price-card.selected{ border-color:var(--mint); background:rgba(111,231,201,0.06); }
.price-tag{
  position:absolute; top:-11px; left:50%; transform:translateX(-50%);
  background:var(--mint); color:#0c1220; font-size:10.5px; font-weight:700;
  padding:4px 10px; border-radius:999px; white-space:nowrap;
  font-family:'IBM Plex Mono', monospace; letter-spacing:0.04em;
}
.price-tag--gold{ background:var(--gold); }
.price-units{font-size:13px; color:var(--text-muted); margin-bottom:10px;}
.price-old{font-size:13px; color:var(--text-faint); text-decoration:line-through;}
.price-new{font-family:'Fraunces', serif; font-size:26px; margin:4px 0;}
.price-unit-note{font-size:12px; color:var(--text-faint);}
.price-cta-wrap{margin-top:36px; text-align:center;}
.pix-note{font-size:13px; color:var(--text-muted); margin-top:14px;}

/* ---------- Guarantee ---------- */
.guarantee{
  background:linear-gradient(160deg, rgba(240,206,134,0.10), var(--bg-panel-alt));
  border:1px solid rgba(240,206,134,0.28);
  border-radius:20px;
  padding:44px;
  display:flex; align-items:center; gap:32px;
}
@media (max-width:680px){ .guarantee{flex-direction:column; text-align:center; padding:32px 24px;} }
.guarantee-badge{
  width:84px; height:84px; border-radius:50%;
  border:1.5px solid var(--gold); color:var(--gold);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  font-family:'Fraunces', serif; font-size:26px;
}
.guarantee h3{font-size:22px; margin-bottom:8px;}
.guarantee p{color:var(--text-muted); font-size:15px;}

/* ---------- About ---------- */
.about-grid{display:grid; grid-template-columns:1fr 1fr; gap:52px; align-items:center;}
@media (max-width:820px){ .about-grid{grid-template-columns:1fr;} }
.about-grid p{color:var(--text-muted); font-size:16px; margin-top:16px;}
.about-title{ font-size:28px; margin-top:12px; }

/* ---------- Final CTA ---------- */
.final-cta{
  text-align:center;
  background:radial-gradient(ellipse 700px 400px at 50% 0%, rgba(111,231,201,0.14), transparent 70%);
}
.final-cta h2{font-size:34px; max-width:560px; margin:14px auto 16px;}
@media (max-width:640px){ .final-cta h2{font-size:26px;} }
.final-cta p{color:var(--text-muted); max-width:480px; margin:0 auto 30px;}

/* ---------- Footer ---------- */
.site-footer{
  border-top:1px solid var(--line);
  padding:56px 0 32px;
  background:var(--bg-panel);
}
.footer-grid{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:32px;
  padding-bottom:32px; border-bottom:1px solid var(--line);
}
.footer-blurb{
  font-size:13.5px; color:var(--text-muted); margin-top:10px; max-width:280px;
}
.footer-links{display:flex; gap:24px; flex-wrap:wrap; font-size:14px; color:var(--text-muted);}
.footer-links a:hover{color:var(--mint);}
.footer-legal{
  font-size:12.5px; color:var(--text-faint); line-height:1.7; margin-top:28px; max-width:820px;
}
.footer-bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  margin-top:24px; font-size:12.5px; color:var(--text-faint);
}

.fade-in{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.fade-in.visible{ opacity:1; transform:translateY(0); }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

::selection{ background:var(--mint); color:#0c1220; }
