/* ==========================================================================
   Good Night Anti-Ronco v1.0 — Landing Page
   Folha de estilos principal
   (Revisão: unificado em uma única paleta — antes havia dois blocos :root
   conflitantes; este é o resultado final que já estava sendo renderizado.)
   ========================================================================== */

:root{
  --bg:#f5f7f5;
  --bg-panel:#ffffff;
  --bg-panel-alt:#edf3fb;
  --bg-raised:#e3eaf4;
  --mint:#2f6fed;
  --mint-dim:#285dc2;        /* uso em texto grande (>=24px) */
  --mint-dim-text:#2d63c9;   /* uso em texto pequeno — contraste >=4.5:1 */
  --gold:#9a7220;
  --text:#172238;
  --text-muted:#52627b;
  --text-faint:#71809a;
  --line:rgba(25,50,40,0.12);
  --red-x:#b95d5d;
  --radius:16px;
}

*{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-dim-text);
}
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:#172238;
  border-bottom:1px solid #172238;
  text-align:center;
  font-family:'IBM Plex Mono', monospace;
  font-size:12px;
  letter-spacing:0.06em;
  color:#f3f7ff;
  padding:9px 16px;
}
.ribbon b{color:#b9d0ff; font-weight:500;}

.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,0.90);
  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:center;
  position:relative;
}
.logo{font-family:'Fraunces', serif; font-size:20px; font-weight:600; letter-spacing:0.01em;}
.logo span{color:var(--mint);}
.logo-home{display:inline-flex; align-items:center; justify-content:center; position:relative; z-index:1;}
.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;
  position:absolute; right:24px;
}
.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:#fff;
  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 8px 22px rgba(47,111,237,0.18);
}
.btn:hover{ transform:translateY(-2px); box-shadow:0 10px 28px rgba(36,122,97,0.20); }
.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(45,155,122,.13), transparent 60%),
    radial-gradient(ellipse 700px 500px at 10% 10%, rgba(168,120,33,.08), transparent 60%);
}
@media (max-width:760px){ .hero{padding-top:58px;} }
.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(155deg, #eef4fc, #fff);
  border:1px solid var(--line);
  border-radius:24px;
  padding:36px;
  position:relative;
  overflow:hidden;
  box-shadow:0 24px 70px rgba(35,64,105,0.10);
}
.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-alt); }

/* ---------- 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;
  box-shadow:0 10px 30px rgba(25,50,40,0.05);
}
.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);
  box-shadow:0 10px 30px rgba(25,50,40,0.05);
}
.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;
  box-shadow:0 10px 30px rgba(25,50,40,0.05);
}
.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;}

/* ---------- Guarantee ---------- */
.guarantee{
  background:linear-gradient(160deg, rgba(168,120,33,0.08), #fff);
  border:1px solid rgba(168,120,33,0.26);
  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:#172238;
}
.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:#fff; }

/* ---------- Ofertas independentes Good Night Anti-Ronco ---------- */
.tiers{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px;
  align-items:stretch; max-width:980px; margin:34px auto 0;
}
.tier{
  position:relative; overflow:hidden; border-radius:22px; padding:30px 28px;
  border:1px solid var(--line); background:var(--bg-panel);
  box-shadow:0 18px 42px rgba(25,50,40,0.09);
}
.tier-plain{background:linear-gradient(180deg,#fff,#f4f7fc);}
.tier-blue{background:linear-gradient(155deg,#18345f,#285aa6); border-color:rgba(47,111,237,0.38);}
.tier .grain,.tier .glow{position:absolute;inset:0;pointer-events:none;}
.tier .grain{opacity:.06;background-image:radial-gradient(rgba(255,255,255,.65) .7px,transparent .7px);background-size:10px 10px;}
.tier .glow{background:radial-gradient(circle at 80% 0%,rgba(111,231,201,.20),transparent 42%);}
.tier-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;}
.tier-name{font-family:'IBM Plex Mono',monospace;font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);}
.tier-blue .tier-name,.tier-blue .terms,.tier-blue .incl,.tier-blue .feat li{color:#dce7f8;}
.badge{font-family:'IBM Plex Mono',monospace;font-size:10px;line-height:1;padding:7px 9px;border-radius:999px;background:var(--mint);color:#fff;font-weight:700;text-transform:uppercase;letter-spacing:.05em;}
.price-row{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:0;}
.price{font-family:'Fraunces',serif;font-size:40px;line-height:1;color:var(--text);}
.tier-blue .price{color:#fff;}
.tier-plain .price{color:#172238;}
.price-old{font-size:13px;color:var(--text-faint);text-decoration:line-through;}
.terms{font-size:13px;color:var(--text-muted);margin-top:10px;}
.saving{font-size:13px;color:var(--mint);font-weight:600;margin-top:8px;}
.tier-cta{
  width:100%; display:flex; align-items:center; justify-content:center;
  min-height:52px; margin-top:22px; padding:14px 20px;
  border-radius:999px; background:var(--mint); color:#fff;
  font-weight:700; text-align:center;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.tier-cta:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(36,122,97,.22);filter:saturate(1.04);}
.tier-cta.btn-invert{background:#fff;color:#18345f;}
.tier-cta.btn-invert:hover{box-shadow:0 10px 28px rgba(255,255,255,.16);}
.rule{height:1px;background:var(--line);margin:24px 0 18px;}
.incl{font-size:13px;color:var(--text-muted);margin-bottom:12px;}
.feat{list-style:none;display:grid;gap:10px;}
.feat li{display:flex;align-items:flex-start;gap:9px;font-size:13.5px;color:var(--text-muted);}
.tick{width:19px;height:19px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 19px;border-radius:50%;color:var(--mint);background:rgba(111,231,201,.10);margin-top:1px;}
.tick svg{width:12px;height:12px;}
@media (max-width:760px){
  .tiers{grid-template-columns:1fr;gap:16px}
  .tier{padding:26px 22px}
  .price{font-size:36px}
  .tier-blue{box-shadow:0 22px 46px rgba(25,50,40,.14)}
}
