/* ============================================================
   Central de Conformidade Fiscal do Ceará — IN 87/2025
   Solução Mendes · design system
   ============================================================ */

:root {
  /* Brand */
  --navy: #08331c;
  --navy-2: #0d4a28;
  --blue: #009018;
  --blue-d: #00750f;
  --blue-l: #e7f4ea;
  --emerald: #10b981;
  --emerald-l: #e7f8f1;
  --amber: #f59e0b;
  --amber-l: #fff5e2;
  --red: #e11d48;
  --red-l: #fdeaef;

  /* Neutrals */
  --ink: #0e1726;
  --ink-2: #36465e;
  --muted: #66768c;
  --line: #e6ebf2;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-soft-2: #eef2f9;

  --radius: 16px;
  --radius-sm: 11px;
  --shadow-sm: 0 1px 2px rgba(16,28,51,.06), 0 2px 8px rgba(16,28,51,.05);
  --shadow: 0 10px 30px rgba(16,28,51,.10);
  --shadow-lg: 0 24px 60px rgba(11,31,58,.18);
  --maxw: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-d); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { line-height: 1.18; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 750; }
p { margin: 0 0 1rem; color: var(--ink-2); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(48px, 8vw, 92px) 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-d); background: var(--blue-l);
  padding: 7px 13px; border-radius: 999px; margin-bottom: 16px;
}
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 720px; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 1rem; font-family: inherit;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(0,144,24,.35); }
.btn--primary:hover { background: var(--blue-d); }
.btn--wa { background: #25d366; color: #06351a; box-shadow: 0 8px 20px rgba(37,211,102,.38); }
.btn--wa:hover { background: #1fbe5b; }
.btn--ghost { background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn--ghost:hover { background: rgba(255,255,255,.18); }
.btn--light { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn--lg { padding: 17px 30px; font-size: 1.06rem; }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 36px; height: 36px; flex: 0 0 auto; }
.brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.nav__links a:hover { color: var(--blue-d); text-decoration: none; }
@media (max-width: 860px){ .nav__links .nav-hide { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #eaf1ff;
  background:
    radial-gradient(1200px 500px at 78% -10%, rgba(0,144,24,.45), transparent 60%),
    radial-gradient(900px 500px at 5% 110%, rgba(16,185,129,.22), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #0e6b30 100%);
}
.hero::after{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.5;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.4px);
  background-size: 26px 26px; mask-image: linear-gradient(#000, transparent 75%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 50px; align-items: center; padding: clamp(46px,7vw,90px) 0; }
.hero h1 { color: #fff; font-size: clamp(2.05rem, 5vw, 3.5rem); font-weight: 850; }
.hero h1 .hl { color: #7ee495; }
.hero p { color: #cfe6d6; font-size: 1.16rem; max-width: 560px; }
.hero__badge {
  display:inline-flex; align-items:center; gap:9px; margin-bottom: 20px;
  background: rgba(245,158,11,.16); color: #ffd98a; border:1px solid rgba(245,158,11,.4);
  padding: 8px 15px; border-radius: 999px; font-weight: 700; font-size: .86rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 26px; }
.hero__trust { display:flex; flex-wrap:wrap; gap: 18px 26px; margin-top: 30px; color:#a6c7b0; font-size:.9rem; }
.hero__trust b { color:#fff; }
@media (max-width: 900px){ .hero__grid { grid-template-columns: 1fr; gap: 34px; } .hero__art { order: -1; max-width: 420px; } }

/* ---------- Countdown ---------- */
.countdown { display: flex; gap: 10px; }
.cd { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 12px 16px; text-align: center; min-width: 74px; }
.cd b { display: block; font-size: 1.9rem; font-weight: 850; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.cd span { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #a6c7b0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2,1fr); }
.g-3 { grid-template-columns: repeat(3,1fr); }
.g-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 900px){ .g-3,.g-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .g-2,.g-3,.g-4 { grid-template-columns: 1fr; } }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d6e0ee; }
.card__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; font-size: .98rem; }
.ico-blue { background: var(--blue-l); color: var(--blue-d); }
.ico-emerald { background: var(--emerald-l); color: #047857; }
.ico-amber { background: var(--amber-l); color: #b45309; }
.ico-red { background: var(--red-l); color: var(--red); }

/* step number */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.step__n { counter-increment: step; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(150deg,var(--blue),var(--blue-d)); color:#fff; font-weight: 850; display: grid; place-items: center; font-size: 1.15rem; }
.step__n::before { content: counter(step); }
.step h3 { margin: 2px 0 4px; }
.step p { margin: 0; font-size: .97rem; }

/* timeline / prazos */
.tl { display: grid; gap: 14px; }
.tl__row { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: start; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.tl__date { font-weight: 850; font-size: 1.05rem; }
.tl__row--now { border-color: var(--amber); background: var(--amber-l); }
.tl__row--now .tl__date { color: #b45309; }
.tl__tag { display:inline-block; font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.05em; padding:3px 9px; border-radius:999px; margin-top:6px; }
.tl__tag--now { background:#b45309; color:#fff; }
.tl__tag--soon { background: var(--blue-l); color: var(--blue-d); }
@media (max-width:620px){ .tl__row { grid-template-columns: 1fr; gap:6px; } }

/* paths (3 caminhos) */
.path { border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); background:#fff; box-shadow: var(--shadow-sm); position: relative; }
.path__pill { display:inline-flex; align-items:center; gap:7px; font-weight:800; font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; padding:6px 12px; border-radius:999px; margin-bottom: 14px; }
.path--auto { border-top: 4px solid var(--emerald); }
.path--auto .path__pill { background: var(--emerald-l); color:#047857; }
.path--econf { border-top: 4px solid var(--blue); }
.path--econf .path__pill { background: var(--blue-l); color: var(--blue-d); }
.path--nfe { border-top: 4px solid var(--amber); }
.path--nfe .path__pill { background: var(--amber-l); color:#b45309; }
.path ul { margin: 12px 0 0; padding-left: 18px; color: var(--ink-2); font-size:.97rem; }
.path li { margin-bottom: 7px; }
.tag-code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: var(--bg-soft-2); color: var(--blue-d); padding: 1px 7px; border-radius: 6px; font-size: .85em; font-weight: 700; }

/* dispensa chips */
.chips { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
@media (max-width:620px){ .chips { grid-template-columns: 1fr; } }
.chip { display:flex; gap:13px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-left: 4px solid var(--emerald); border-radius: 12px; padding: 15px 17px; box-shadow: var(--shadow-sm); }
.chip svg { flex:0 0 auto; color: var(--emerald); margin-top: 2px; }
.chip b { display:block; color: var(--ink); }
.chip span { font-size: .92rem; color: var(--muted); }

/* ---------- Quiz ---------- */
.quiz { background: linear-gradient(160deg,#fff, var(--bg-soft)); border:1px solid var(--line); border-radius: 22px; padding: clamp(24px,4vw,40px); box-shadow: var(--shadow); max-width: 760px; margin: 0 auto; }
.quiz__q { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.quiz__opts { display: grid; gap: 12px; margin-top: 20px; }
.quiz__opt { text-align:left; font-family:inherit; font-size:1.02rem; font-weight:600; color:var(--ink); background:#fff; border:2px solid var(--line); border-radius: 14px; padding: 16px 18px; cursor:pointer; transition: all .15s; display:flex; align-items:center; gap:12px; }
.quiz__opt:hover { border-color: var(--blue); background: var(--blue-l); transform: translateY(-1px); }
.quiz__bar { height: 7px; background: var(--bg-soft-2); border-radius: 999px; overflow: hidden; margin-bottom: 22px; }
.quiz__bar > i { display:block; height:100%; background: linear-gradient(90deg,var(--blue),var(--emerald)); border-radius:999px; transition: width .35s ease; }
.quiz__result { text-align:center; }
.quiz__verdict { display:inline-flex; align-items:center; gap:10px; font-weight:850; font-size:1.45rem; padding: 10px 0; }
.quiz__verdict.v-yes { color:#b45309; }
.quiz__verdict.v-disp { color:#047857; }
.quiz__again { margin-top:14px; background:none; border:0; color:var(--blue-d); font-weight:700; cursor:pointer; font-family:inherit; font-size:.95rem; }

/* ---------- FAQ ---------- */
.faq__tools { display:flex; flex-wrap:wrap; gap: 12px; align-items:center; margin-bottom: 22px; }
.faq__search { flex:1; min-width: 230px; display:flex; align-items:center; gap:10px; background:#fff; border:1px solid var(--line); border-radius: 999px; padding: 11px 18px; box-shadow: var(--shadow-sm); }
.faq__search input { border:0; outline:0; font-family:inherit; font-size:1rem; width:100%; color:var(--ink); background:transparent; }
.faq__cats { display:flex; flex-wrap:wrap; gap:8px; }
.faq__cat { font-family:inherit; font-size:.86rem; font-weight:700; padding:8px 14px; border-radius:999px; border:1px solid var(--line); background:#fff; color:var(--ink-2); cursor:pointer; transition: all .14s; }
.faq__cat:hover { border-color: var(--blue); color: var(--blue-d); }
.faq__cat.active { background: var(--navy); color:#fff; border-color: var(--navy); }
.faq__list { display:grid; gap: 12px; }
.qa { border:1px solid var(--line); border-radius: var(--radius-sm); background:#fff; overflow:hidden; box-shadow: var(--shadow-sm); }
.qa__q { width:100%; text-align:left; font-family:inherit; font-size:1.05rem; font-weight:700; color:var(--ink); background:none; border:0; padding: 18px 52px 18px 20px; cursor:pointer; position:relative; }
.qa__q:hover { color: var(--blue-d); }
.qa__q::after { content:"+"; position:absolute; right:20px; top:50%; transform:translateY(-50%); font-size:1.5rem; font-weight:400; color:var(--blue); transition: transform .2s; }
.qa.open .qa__q::after { content:"\2212"; }
.qa__a { max-height:0; overflow:hidden; transition: max-height .3s ease; }
.qa__a-in { padding: 0 20px 20px; color: var(--ink-2); font-size: .99rem; }
.qa__a-in p { margin: 0 0 .7rem; }
.qa__a-in p:last-child { margin-bottom: 0; }
.qa__src { display:inline-block; margin-top: 6px; font-size:.8rem; color:var(--muted); background: var(--bg-soft); padding:3px 9px; border-radius:6px; }
.qa__solve { margin-top: 12px; border-left:3px solid var(--emerald); background: var(--emerald-l); padding: 11px 14px; border-radius: 0 10px 10px 0; font-size:.93rem; color:#0a5c43; }
.qa__solve b { color:#047857; }
.faq__empty { text-align:center; color:var(--muted); padding: 30px; display:none; }

/* ---------- CTA band ---------- */
.cta {
  color:#eaf1ff; border-radius: 26px; overflow:hidden; position:relative;
  background: radial-gradient(800px 400px at 85% -20%, rgba(16,185,129,.4), transparent 60%), linear-gradient(150deg,var(--navy),#0e6b30);
  padding: clamp(34px,5vw,58px); text-align:center;
}
.cta h2 { color:#fff; }
.cta p { color:#cfe6d6; max-width: 620px; margin: 0 auto 26px; font-size: 1.12rem; }
.cta__btns { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }

/* ---------- Callout / note ---------- */
.note { display:flex; gap:14px; align-items:flex-start; border-radius: var(--radius); padding: 18px 20px; font-size:.98rem; }
.note svg { flex:0 0 auto; margin-top:2px; }
.note--amber { background: var(--amber-l); border:1px solid #f5d49a; color:#7c4a06; }
.note--blue { background: var(--blue-l); border:1px solid #bce6c6; color:#0a5c2a; }
.note b { color: inherit; }

/* ---------- Footer ---------- */
.foot { background: var(--navy); color:#a6c2ad; padding: 50px 0 34px; font-size:.92rem; }
.foot a { color:#d6efdb; }
.foot__top { display:flex; flex-wrap:wrap; justify-content:space-between; gap:26px; padding-bottom: 26px; border-bottom:1px solid rgba(255,255,255,.1); }
.foot__cols { display:flex; flex-wrap:wrap; gap: 44px; }
.foot h4 { color:#fff; font-size:.92rem; margin-bottom:12px; text-transform:uppercase; letter-spacing:.06em; }
.foot ul { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.foot__legal { padding-top: 22px; font-size:.82rem; color:#8aa893; line-height:1.7; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background:#25d366; box-shadow: 0 10px 28px rgba(37,211,102,.5); display:grid; place-items:center; color:#fff; transition: transform .15s; }
.wa-float:hover { transform: scale(1.08); text-decoration:none; }

/* reveal */
.reveal { opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; transition:none; } html{scroll-behavior:auto;} }

/* ============================================================
   v2 — logo real, splash de abertura, explicador em movimento
   ============================================================ */

/* logo na nav */
.brand__logo { height: 46px; width: auto; display: block; }
.brand__sub { font-size: .7rem; font-weight: 600; color: var(--muted); border-left: 1px solid var(--line); padding-left: 11px; line-height: 1.25; max-width: 140px; }
@media (max-width: 620px){ .brand__sub { display: none; } }

/* ---------- SPLASH de abertura ---------- */
html.splash-skip #splash { display: none !important; }
body.splash-open { overflow: hidden; }
.splash {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(1000px 500px at 75% -10%, rgba(0,144,24,.5), transparent 60%),
    radial-gradient(800px 460px at 10% 110%, rgba(16,185,129,.28), transparent 55%),
    linear-gradient(160deg, var(--navy), var(--navy-2) 60%, #0e6b30);
  opacity: 1; transition: opacity .5s ease, visibility .5s;
}
.splash--gone { opacity: 0; visibility: hidden; }
.splash__in { padding: 28px; max-width: 560px; }
.splash__logo { height: 76px; width: auto; margin: 0 auto 26px; opacity: 0; transform: scale(.86) translateY(8px); animation: splashLogo .8s cubic-bezier(.2,.8,.2,1) .15s forwards; }
.splash__art { margin: 0 auto 22px; max-width: 340px; }
.splash__msg { color: #dff0e3; font-size: 1.22rem; font-weight: 600; line-height: 1.5; opacity: 0; animation: splashMsg .7s ease .6s forwards; }
.splash__msg b { color: #7ee495; }
.splash__dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; opacity: 0; animation: splashMsg .6s ease 1s forwards; }
.splash__dots i { width: 8px; height: 8px; border-radius: 50%; background: #3fa45a; animation: splashDot 1.2s infinite ease-in-out; }
.splash__dots i:nth-child(2){ animation-delay: .18s; } .splash__dots i:nth-child(3){ animation-delay: .36s; }
.splash__skip { position: absolute; bottom: 26px; right: 26px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #d6efdb; font-family: inherit; font-weight: 700; font-size: .9rem; padding: 9px 18px; border-radius: 999px; cursor: pointer; opacity: 0; animation: splashMsg .5s ease 1.3s forwards; }
.splash__skip:hover { background: rgba(255,255,255,.2); }
@keyframes splashLogo { to { opacity: 1; transform: none; } }
@keyframes splashMsg { to { opacity: 1; } }
@keyframes splashDot { 0%,100%{ transform: translateY(0); opacity:.5 } 50%{ transform: translateY(-7px); opacity:1 } }

/* ---------- Explicador em MOVIMENTO (sem precisar ler) ---------- */
.section--dark { background: linear-gradient(160deg, var(--navy), #0e6b30); color: #eaf1ff; }
.section--dark h2 { color: #fff; }
.eyebrow--light { background: rgba(255,255,255,.12); color: #bdebc6; }
.flow { display: flex; align-items: stretch; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.flow__step {
  flex: 1 1 200px; max-width: 230px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px; padding: 26px 18px; opacity: .45; transform: scale(.96);
  animation: stepCycle 5s infinite; animation-delay: calc(var(--i) * 1.25s);
}
.flow__ico { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 20px; display: grid; place-items: center; font-size: 2.1rem; background: rgba(255,255,255,.1); }
.flow__step:nth-child(1) .flow__ico{ background: rgba(0,144,24,.22); }
.flow__step:nth-child(3) .flow__ico{ background: rgba(0,144,24,.22); }
.flow__step:nth-child(5) .flow__ico{ background: rgba(16,185,129,.22); }
.flow__step:nth-child(7) .flow__ico{ background: rgba(16,185,129,.28); }
.flow__step b { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 3px; }
.flow__step span { color: #a9c8b4; font-size: .86rem; }
.flow__arrow { display: grid; place-items: center; color: #3fa45a; font-size: 1.8rem; font-weight: 800; flex: 0 0 auto; animation: arrowPulse 5s infinite; }
.flow__arrow:nth-of-type(2){ animation-delay: .6s; } .flow__arrow:nth-of-type(4){ animation-delay: 1.85s; } .flow__arrow:nth-of-type(6){ animation-delay: 3.1s; }
@keyframes stepCycle { 0%,100%{ opacity:.45; transform: scale(.96); } 6%{ opacity:1; transform: translateY(-8px) scale(1.06); } 20%{ opacity:1; transform: translateY(-8px) scale(1.06); } 28%{ opacity:.45; transform: scale(.96); } }
@keyframes arrowPulse { 0%,100%{ color:#2c6b3c; transform: scale(1); } 12%{ color:#7ee495; transform: scale(1.35); } 24%{ color:#2c6b3c; transform: scale(1); } }
@media (max-width: 720px){ .flow { flex-direction: column; align-items: center; } .flow__step { max-width: 320px; width: 100%; } .flow__arrow { transform: rotate(90deg); } @keyframes arrowPulse { 0%,100%{ color:#2c6b3c } 12%{ color:#7ee495 } 24%{ color:#2c6b3c } } }

/* botão baixar PDF */
.pdf-dl { display: inline-flex; align-items: center; gap: 10px; }

@media (prefers-reduced-motion: reduce){
  .flow__step, .flow__arrow, .splash__dots i { animation: none !important; }
  .flow__step { opacity: 1; transform: none; }
  .splash__logo, .splash__msg, .splash__dots, .splash__skip { animation: none !important; opacity: 1; transform: none; }
}


/* ============================================================
   v3 — MOBILE CALMO: sem overflow horizontal, sem "samba"
   ============================================================ */
html, body { max-width: 100%; overflow-x: hidden; }
*, *::before, *::after { min-width: 0; }
.countdown { flex-wrap: wrap; }
.hero__badge { max-width: 100%; }

/* aparelho de toque: zero hover-lift (no toque parece bug) */
@media (hover: none) {
  .card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .btn:hover { transform: none; }
}

@media (max-width: 820px) {
  /* nav solida: blur trava o scroll no celular */
  .nav { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  /* conteudo PARADO ao rolar: sem fade/deslize que "pula" */
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  /* explicador: so brilho (sem escala que estoura a largura) */
  .flow__step { animation: stepCalm 5s infinite; transform: none !important; }
  @keyframes stepCalm { 0%,100% { opacity: .5; } 12% { opacity: 1; } 26% { opacity: .5; } }
  .flow__arrow { animation: none !important; color: #3fa45a; }
  .card, .btn, .path, .qa, .quiz__opt { transition: none; }
  .tag-code, .qa__src { word-break: break-word; }
  .section { padding: 46px 0; }
}
@media (max-width: 420px) {
  .brand__logo { height: 40px; }
  .nav__links .btn { padding: 8px 14px; font-size: .9rem; }
}

/* v3.1 — trava de overflow por secao (catch-all anti-"samba") */
@media (max-width: 820px) {
  .hero, .section, footer.foot, header.nav { overflow-x: clip; }
  .hero__art { margin-left: auto; margin-right: auto; width: 100%; }
  .wrap { width: 100%; }
}

/* v4 — secao "qual maquininha" (pills) */
.pills { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; font-weight: 700; font-size: .92rem; color: var(--ink); }
.pill--green { background: var(--blue-l); border-color: #bce6c6; color: var(--blue-d); }
.pill--ghost { background: transparent; border-style: dashed; color: var(--muted); font-weight: 600; }
.maq-cta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.maq-cta > div { flex: 1; min-width: 250px; }

/* v5 — galeria "ache sua maquininha" */
.maq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 14px; }
.maq { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 12px 14px; text-align: center; box-shadow: var(--shadow-sm); }
.maq__img { height: 150px; display: grid; place-items: center; margin-bottom: 8px; }
.maq__img img { max-height: 150px; width: auto; object-fit: contain; }
.maq figcaption b { display: block; font-size: .92rem; color: var(--ink); line-height: 1.2; }
.maq figcaption span { font-size: .8rem; color: var(--muted); }
@media (hover: hover){ .maq { transition: transform .15s, box-shadow .15s; } .maq:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }

/* v6 — busca + grupos + lightbox (zoom) */
.maq-tools { margin-bottom: 20px; }
.maq-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 11px 18px; box-shadow: var(--shadow-sm); max-width: 460px; }
.maq-search input { border: 0; outline: 0; font-family: inherit; font-size: 1rem; width: 100%; background: transparent; color: var(--ink); }
.maq-group { margin-bottom: 26px; }
.maq-group__t { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--blue-l); display: flex; align-items: center; gap: 9px; }
.maq-group__t::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); flex: 0 0 auto; }
.maq { cursor: zoom-in; }
.maq-empty { display: none; text-align: center; color: var(--muted); padding: 26px; background: var(--bg-soft); border-radius: 12px; }
/* lightbox */
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(6,20,11,.88); display: none; align-items: center; justify-content: center; padding: 24px; }
.lb.open { display: flex; }
.lb figure { margin: 0; text-align: center; max-width: 460px; }
.lb img { max-height: 72vh; width: auto; margin: 0 auto 16px; filter: drop-shadow(0 20px 44px rgba(0,0,0,.45)); }
.lb figcaption { color: #fff; font-weight: 800; font-size: 1.15rem; }
.lb figcaption small { display: block; color: #9ce3ad; font-weight: 500; font-size: .9rem; margin-top: 2px; }
.lb__x { position: absolute; top: 18px; right: 22px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.lb__x:hover { background: rgba(255,255,255,.22); }

/* ============================================================
   v7 — CARDS DE MAQUININHA PREMIUM (estilo Tailwind)
   ============================================================ */
.maq-grid { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px; }
.maq {
  position: relative; cursor: zoom-in; overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f2f8f4 100%);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 16px 14px 15px; text-align: center;
  box-shadow: 0 1px 2px rgba(16,28,51,.05);
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s, border-color .22s;
}
.maq__img { position: relative; height: 180px; display: grid; place-items: center; margin-bottom: 12px; }
.maq__img::before { content: ""; position: absolute; width: 155px; height: 155px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,144,24,.13), rgba(0,144,24,0) 70%); }
.maq__img img { position: relative; max-height: 180px; width: auto; object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(8,51,28,.22)); transition: transform .25s ease; }
.maq::after { content: ""; position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300750f' stroke-width='2.4'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3' stroke-linecap='round'/%3E%3C/svg%3E") center/15px no-repeat;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); opacity: 0; transform: scale(.7); transition: all .2s; }
.maq figcaption b { display: block; font-size: 1rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.maq figcaption span { display: inline-block; margin-top: 7px; font-size: .76rem; font-weight: 700; color: var(--blue-d);
  background: var(--blue-l); border: 1px solid #cdebd3; padding: 3px 11px; border-radius: 999px; }
@media (hover: hover) {
  .maq:hover { transform: translateY(-6px); box-shadow: 0 20px 42px rgba(8,51,28,.18); border-color: var(--blue); }
  .maq:hover .maq__img img { transform: scale(1.06); }
  .maq:hover::after { opacity: 1; transform: scale(1); }
}
/* contador no titulo do grupo */
.maq-group__t { font-size: 1.12rem; }
.maq-group__t .cnt { margin-left: 8px; font-size: .76rem; font-weight: 700; color: var(--muted);
  background: var(--bg-soft); border: 1px solid var(--line); padding: 1px 10px; border-radius: 999px; }

/* lightbox premium: card claro */
.lb figure { background: linear-gradient(180deg, #ffffff, #eef6f0); border-radius: 24px; padding: 30px 34px 24px;
  margin: 0; text-align: center; max-width: 400px; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.lb img { max-height: 58vh; width: auto; margin: 0 auto 16px; filter: drop-shadow(0 18px 30px rgba(8,51,28,.28)); }
.lb figcaption { color: var(--ink); font-weight: 800; font-size: 1.2rem; }
.lb figcaption small { display: inline-block; margin-top: 10px; color: var(--blue-d); background: var(--blue-l);
  border: 1px solid #cdebd3; padding: 4px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; }

/* ============================================================
   v8 — POLISH PREMIUM GLOBAL (mesmo nivel da galeria)
   hover-lift só no desktop (@media hover:hover) — mobile calmo
   ============================================================ */

/* eyebrow com leve profundidade */
.eyebrow { box-shadow: inset 0 0 0 1px rgba(0,144,24,.08); }

/* CARDS (o que mudou / maquininha intro) */
.card { background: linear-gradient(180deg, #ffffff 0%, #f6faf7 100%); border-radius: 18px; }
.card__ico { width: 52px; height: 52px; border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 6px 14px rgba(8,51,28,.10); }
.ico-blue { background: linear-gradient(160deg, #e9f7ec, #d6efdb); }
.ico-emerald { background: linear-gradient(160deg, #e7f8f1, #d2f0e2); }
.ico-amber { background: linear-gradient(160deg, #fff5e2, #ffe7bd); }
.ico-red { background: linear-gradient(160deg, #fdeaef, #fbd6df); }
@media (hover: hover) { .card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(8,51,28,.13); border-color: #bfe4c9; } }

/* 3 CAMINHOS */
.path { background: linear-gradient(180deg, #ffffff, #f6faf7); border-radius: 18px; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s; }
.path__pill { box-shadow: 0 2px 6px rgba(8,51,28,.07); }
@media (hover: hover) { .path:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(8,51,28,.15); } }

/* PASSO A PASSO */
.step { background: linear-gradient(180deg, #ffffff, #f6faf7); border-radius: 16px; transition: transform .2s, box-shadow .2s; }
.step__n { box-shadow: 0 8px 18px rgba(0,144,24,.35); }
@media (hover: hover) { .step:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #bfe4c9; } }

/* PRAZOS / timeline */
.tl__row { transition: transform .2s, box-shadow .2s; }
@media (hover: hover) { .tl__row:hover { transform: translateX(5px); box-shadow: var(--shadow-sm); } }

/* QUIZ */
.quiz { box-shadow: var(--shadow-lg); }
.quiz__opt { box-shadow: 0 1px 2px rgba(8,51,28,.04); }

/* FAQ */
.qa { transition: box-shadow .18s, border-color .18s; }
.qa.open { border-color: var(--blue); box-shadow: 0 12px 30px rgba(8,51,28,.10); }
@media (hover: hover) { .qa:hover { border-color: #bfe4c9; box-shadow: var(--shadow); } }
.faq__cat { transition: all .14s; }

/* COUNTDOWN + hero badges com brilho */
.cd { background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.05)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.hero__badge { box-shadow: 0 6px 18px rgba(245,158,11,.18); }

/* BOTOES — leve gloss no topo + hover mais vivo */
.btn--primary { background-image: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0)); }
.btn--wa { background-image: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0)); }
.btn--light { background-image: linear-gradient(180deg, #ffffff, #f1f5f3); }

/* NOTES (callouts) um pouco mais ricos */
.note { box-shadow: var(--shadow-sm); }

/* divisor sutil entre secoes claras consecutivas */
.section--soft + .section, .section + .section--soft { border-top: 1px solid rgba(8,51,28,.04); }

/* v8.1 — "sem precisar ler" menos verde: fundo mais escuro e sobrio */
.section--dark {
  background:
    radial-gradient(680px 300px at 85% -25%, rgba(0,144,24,.15), transparent 62%),
    linear-gradient(165deg, #072518 0%, #0a3220 100%);
}

/* ============================================================
   v9 — TÉO: chat de IA (sessao inicial)
   ============================================================ */
.chat { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 15px 20px; background: linear-gradient(165deg, #072518, #0a3220); color: #fff; }
.chat__av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(160deg, #0a9b1f, #00750f); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,144,24,.45); flex: 0 0 auto; }
.chat__head b { font-size: 1.02rem; display: block; line-height: 1.1; }
.chat__head .on { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: #9ce3ad; margin-top: 2px; }
.chat__head .on::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #39d353; box-shadow: 0 0 0 3px rgba(57,211,83,.25); }
.chat__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 230px; max-height: 430px; overflow-y: auto; background: var(--bg-soft); }
.msg { display: flex; max-width: 88%; }
.msg__b { padding: 11px 15px; border-radius: 16px; font-size: .97rem; line-height: 1.5; }
.msg--ai { align-self: flex-start; }
.msg--ai .msg__b { background: #fff; border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 5px; box-shadow: var(--shadow-sm); }
.msg--me { align-self: flex-end; }
.msg--me .msg__b { background: linear-gradient(160deg, #0a9b1f, #00750f); color: #fff; border-bottom-right-radius: 5px; }
.msg__b strong { font-weight: 700; }
.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px 4px; }
.chat__chip { font-family: inherit; font-size: .85rem; font-weight: 600; color: var(--blue-d); background: var(--blue-l); border: 1px solid #cdebd3; border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: all .14s; }
.chat__chip:hover { background: #d6efdb; }
.chat__input { display: flex; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); background: #fff; }
.chat__input input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 13px 18px; font-family: inherit; font-size: 1rem; outline: none; color: var(--ink); }
.chat__input input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,144,24,.12); }
.chat__send { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.chat__send:hover { background: var(--blue-d); }
.chat__send:disabled { opacity: .5; cursor: default; }
.chat__disc { font-size: .76rem; color: var(--muted); text-align: center; padding: 2px 20px 15px; background: #fff; }
.typing { display: inline-flex; gap: 4px; align-items: center; padding: 3px 2px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9bb0a3; animation: tdot 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%,100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-5px); opacity: 1; } }

/* ============================================================
   v10 — TÉO widget flutuante (agente em qualquer lugar)
   ============================================================ */
.wa-float { left: 20px; right: auto; }   /* WhatsApp vai pra esquerda (libera a direita pro Teo) */

.teo-launch {
  position: fixed; right: 20px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 11px;
  background: linear-gradient(160deg, #0a9b1f, #00750f); color: #fff;
  border: 0; border-radius: 999px; padding: 11px 20px 11px 13px; cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,144,24,.45); font-family: inherit;
  animation: teoPulse 2.6s infinite; transition: transform .15s;
}
.teo-launch:hover { transform: translateY(-2px); }
.teo-launch__ic { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: 0 0 auto; }
.teo-launch__tx { text-align: left; line-height: 1.15; font-weight: 800; font-size: .98rem; }
.teo-launch__tx small { display: block; font-weight: 500; font-size: .72rem; opacity: .92; }
@keyframes teoPulse { 0%,100% { box-shadow: 0 12px 30px rgba(0,144,24,.42); } 50% { box-shadow: 0 12px 30px rgba(0,144,24,.42), 0 0 0 12px rgba(0,144,24,.12); } }

.teo-pop { position: fixed; right: 20px; bottom: 22px; z-index: 95; width: 384px; max-width: calc(100vw - 40px); height: 582px; max-height: calc(100vh - 44px); display: none; }
.teo-pop.open { display: block; animation: teoUp .25s ease; }
.teo-pop .chat { height: 100%; max-width: none; }
.teo-pop .chat__body { max-height: none; flex: 1; }
@keyframes teoUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.chat__close { margin-left: auto; background: rgba(255,255,255,.15); border: 0; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; line-height: 1; flex: 0 0 auto; }
.chat__close:hover { background: rgba(255,255,255,.28); }
@media (max-width: 520px) {
  .teo-pop { right: 0; left: 0; bottom: 0; width: 100%; max-width: 100%; height: 88vh; max-height: 88vh; }
  .teo-pop .chat { border-radius: 18px 18px 0 0; }
  .teo-launch__tx { display: none; }
  .teo-launch { padding: 14px; }
  .teo-launch__ic { width: 30px; height: 30px; }
  .wa-float { width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) { .teo-launch { animation: none; } }
