/* =========================================================
   ComproVinil — styles.css (LIGHT / fundo branco / contraste OK)
   Mantém o layout e classes do HTML fornecido.
   ========================================================= */

/* ---------- Base / Tokens ---------- */
:root{
  color-scheme: light;

  --bg: #ffffff;
  --bg-alt: rgba(15, 23, 42, .03);
  --surface: #ffffff;

  --text: #0f172a;
  --muted: rgba(15, 23, 42, .74);
  --muted2: rgba(15, 23, 42, .62);

  --border: rgba(15, 23, 42, .12);
  --border2: rgba(15, 23, 42, .10);

  --shadow: 0 10px 30px rgba(2, 6, 23, .08);
  --shadow2: 0 6px 18px rgba(2, 6, 23, .06);

  --radius: 16px;
  --radius2: 22px;

  --wrap: 1120px;

  /* marca/CTA */
  --primary: #16a34a; /* green */
  --primary-2: #22c55e;
  --primary-text: #ffffff;

  --link: #0b5fff;
}

*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font: 400 16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;
}

img{ max-width:100%; height:auto; }
a{ color:inherit; text-decoration:none; }
a:focus-visible, button:focus-visible, summary:focus-visible{
  outline: 3px solid rgba(11, 95, 255, .25);
  outline-offset: 3px;
  border-radius: 12px;
}

/* ---------- Layout helpers ---------- */
.wrap{
  width: min(100% - 32px, var(--wrap));
  margin: 0 auto;
}

.grid2{
  display:grid;
  grid-template-columns: 1.25fr .95fr;
  gap: 22px;
  align-items:start;
}
@media (max-width: 980px){
  .grid2{ grid-template-columns:1fr; }
}

.cols{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 980px){
  .cols{ grid-template-columns:1fr; }
}

/* ---------- Accessibility ---------- */
.skip{
  position:absolute;
  left:-999px;
  top:10px;
  background:#fff;
  border:1px solid var(--border);
  padding:10px 14px;
  border-radius:12px;
  box-shadow: var(--shadow2);
  z-index:9999;
}
.skip:focus{ left: 12px; }

/* ---------- Topbar ---------- */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border2);
}

.topbar .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 220px;
}
.brand strong{ color: var(--text); line-height:1.1; }
.brand .note{ color: var(--muted); font-size: 13px; }

/* pill */
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border2);
  background: rgba(15, 23, 42, .06);
  color: rgba(15, 23, 42, .86);
  font-size: 13px;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border2);
  background: #fff;
  color: var(--text);
  font-weight: 650;
  letter-spacing: .2px;
  line-height: 1;
  box-shadow: 0 1px 0 rgba(2,6,23,.04);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  cursor: pointer;
}
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow2); }
.btn:active{ transform: translateY(0px); box-shadow: 0 1px 0 rgba(2,6,23,.04); }

.btn.primary{
  background: linear-gradient(180deg, var(--primary-2), var(--primary));
  border-color: rgba(22, 163, 74, .45);
  color: var(--primary-text);
  box-shadow: 0 10px 24px rgba(22, 163, 74, .18);
}
.btn.primary:hover{
  box-shadow: 0 14px 28px rgba(22, 163, 74, .22);
}

.btn.ghost{
  background: rgba(15, 23, 42, .04);
  border-color: rgba(15, 23, 42, .14);
  color: rgba(15, 23, 42, .92);
}

/* row de botões (melhor spacing no wrap) */
.btn-row{
  display:flex;
  flex-wrap:wrap;
  gap: 14px;
  row-gap: 12px;
  align-items:center;
}
@media (max-width: 420px){
  .btn-row .btn{ width:100%; }
}

/* ícone do WhatsApp dentro do botão */
.btn-icon{
  width: 18px;
  height: 18px;
  display:inline-block;
}

/* ---------- Hero ---------- */
.hero{
  padding: 28px 0 10px;
}
.hero h1{
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.6px;
}
.lead{
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 17px;
}

.trust{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  margin-top: 14px;
}
.trust span{
  font-size: 13px;
  color: rgba(15,23,42,.80);
  background: rgba(15,23,42,.04);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 999px;
  padding: 6px 10px;
}

.kbd{
  display:inline-flex;
  align-items:center;
  padding: 7px 10px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(15,23,42,.06);
  color: rgba(15,23,42,.90);
  font-size: 13px;
}

/* panel (checklist) */
.panel{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: var(--shadow2);
}
.panel h2{
  margin: 0 0 10px;
  font-size: 18px;
}
.panel ol{
  margin: 0;
  padding-left: 18px;
}
.panel li{ margin: 8px 0; }

/* hero art container */
.heroArt{
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  background: #fff;
  overflow:hidden;
  box-shadow: var(--shadow2);
}

/* ---------- Sections ---------- */
.sec{
  padding: 28px 0;
}
.sec.alt{
  background: var(--bg-alt);
  border-top: 1px solid rgba(15,23,42,.06);
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.sec h2{
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -0.3px;
}
.sec p{
  margin: 0 0 14px;
  color: var(--muted);
}

/* ---------- Cards ---------- */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 980px){
  .cards{ grid-template-columns: 1fr; }
}

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 16px;
  box-shadow: 0 1px 0 rgba(2,6,23,.04);
}
.cardTitle{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 6px;
}
.icon{
  width: 44px;
  height: 44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(15,23,42,.04);
}
.small{
  color: var(--muted2);
  font-size: 14px;
}

/* lists */
.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.list li{ margin: 8px 0; }

/* ---------- Footer CTA ---------- */
.footercta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
}
.footercta .txt strong{
  font-size: 18px;
}
.footercta .txt div{
  color: var(--muted);
}
@media (max-width: 980px){
  .footercta{ flex-direction: column; align-items: stretch; }
}

/* ---------- FAQ / details ---------- */
details{
  background:#ffffff;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 16px;
  padding: 12px 14px;
  margin: 10px 0;
  box-shadow: 0 1px 0 rgba(2,6,23,.03);
}

details > summary{
  cursor: pointer;
  font-weight: 750;
  color:#0f172a;              /* PRETO garantido */
  list-style: none;
}
details > summary *{
  color: inherit;             /* garante que span/strong dentro não fique branco */
}

details > summary::-webkit-details-marker{ display:none; }

details[open]{
  box-shadow: var(--shadow2);
}

details p{
  margin: 10px 0 0;
  color: var(--muted);
}

/* ---------- WhatsApp floating button ---------- */
.wafloat{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(180deg, var(--primary-2), var(--primary));
  border: 1px solid rgba(22,163,74,.35);
  box-shadow: 0 14px 28px rgba(22,163,74,.22);
  z-index: 60;
}
.wafloat:hover{ transform: translateY(-1px); }
.wafloat img{ display:block; }

/* ---------- Footer ---------- */
.footer{
  padding: 18px 0 26px;
  background: #ffffff;
  border-top: 1px solid var(--border2);
}
.note{
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Minor polish ---------- */
b,strong{ color: var(--text); }
hr{ border:0; border-top:1px solid var(--border2); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; scroll-behavior:auto !important; }
}
