/* =========================================================
   DB Climatização & Serviços — paleta extraída da logo
   ========================================================= */
:root {
  /* Azuis (lado "frio" da logo) */
  --navy-950: #000a2e;
  --navy-900: #011248;   /* fundo da logo */
  --navy-800: #06205f;
  --navy-700: #0b2f80;
  --royal:    #1565f0;   /* azul do "DB" */
  --sky:      #009af2;   /* azul médio */
  --cyan:     #00c6fe;   /* brilho do floco */
  /* Quentes (lado "sol" da logo) */
  --orange:   #ff7a00;
  --amber:    #fe9701;
  --gold:     #fec801;
  /* Neutros */
  --white:    #ffffff;
  --ice:      #eef5ff;
  --ink:      #0b1533;
  --muted:    #5b6a8c;
  --wa:       #25d366;

  --grad-cold: linear-gradient(135deg, var(--cyan) 0%, var(--royal) 100%);
  --grad-hot:  linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%);

  --radius: 20px;
  --shadow: 0 20px 50px -20px rgba(1, 18, 72, .35);
  --font-display: "Exo 2", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white);
  line-height: 1.6; font-size: 16px; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 900; font-style: italic; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 800; font-style: italic; }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 2.5rem); }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: .6rem 1rem; z-index: 999; }
.skip:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.grad-cold, .grad-hot { background-clip: text; -webkit-background-clip: text; color: transparent; padding-right: .08em; }
.grad-cold { background-image: var(--grad-cold); }
.grad-hot  { background-image: var(--grad-hot); }
.section--dark .grad-cold, .hero .grad-cold { background-image: linear-gradient(135deg, #7fe3ff, var(--cyan) 45%, #4b93ff); }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--royal); display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 1rem/1.1 var(--font-body); text-decoration: none; color: var(--white); background: var(--bg);
  transition: transform .2s ease, box-shadow .2s ease, background .2s; white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.btn .ico-wa { fill: currentColor; stroke: none; width: 22px; height: 22px; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .6rem 1.1rem; font-size: .92rem; }
.btn--lg { padding: 1.1rem 1.8rem; font-size: 1.05rem; }
.btn--hot { background: var(--grad-hot); color: var(--navy-950); box-shadow: 0 12px 30px -10px rgba(255, 122, 0, .7); }
.btn--hot:hover { box-shadow: 0 18px 40px -10px rgba(255, 122, 0, .9); }
.btn--cold { background: var(--grad-cold); box-shadow: 0 12px 30px -12px rgba(21, 101, 240, .8); }
.btn--ghost { background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(37, 211, 102, .18); border-color: var(--wa); }
.btn--white { background: var(--white); color: var(--navy-900); }
.btn--line { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn--wa { background: var(--wa); color: #06331a; box-shadow: 0 12px 30px -12px rgba(37,211,102,.8); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: rgba(1, 18, 72, .72); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.08); transition: background .3s, height .3s;
}
.header.is-scrolled { background: rgba(1, 18, 72, .96); box-shadow: 0 10px 30px -15px rgba(0,0,0,.6); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { color: #cfe0ff; text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--grad-hot); transition: width .25s; }
.nav a:not(.btn):hover { color: var(--white); }
.nav a:not(.btn):hover::after { width: 100%; }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 2.5px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(21,101,240,.35), transparent 60%),
    radial-gradient(800px 500px at 10% 90%, rgba(0,198,254,.18), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800));
  padding: calc(var(--header-h) + 4rem) 0 9rem;
}
.hero__snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .7; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero__glow--blue { width: 420px; height: 420px; background: var(--royal); opacity: .35; top: -120px; left: -120px; animation: drift 12s ease-in-out infinite alternate; }
.hero__glow--orange { width: 360px; height: 360px; background: var(--orange); opacity: .22; bottom: -80px; right: 5%; animation: drift 14s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.1); } }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); font-size: .88rem; font-weight: 600; color: #cfe0ff; margin-bottom: 1.4rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37,211,102,.7); animation: ping 2s infinite; display: inline-block; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.hero h1 .grad-hot { display: block; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #c7d6f5; max-width: 34em; margin: 1.2rem 0 2rem; }
.lead strong { color: var(--white); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__checks { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; color: #c7d6f5; font-weight: 600; font-size: .95rem; }
.hero__checks li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: .45rem; border-radius: 50%; background: var(--grad-hot); color: var(--navy-950); font-size: .75rem; font-weight: 900; }

/* Termostato */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 440px; }
.thermo {
  position: relative; width: min(360px, 100%); padding: 2rem 1.5rem 1.6rem; border-radius: 32px;
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.2);
}
.thermo__ring { position: relative; width: 220px; height: 220px; margin: 0 auto; }
.thermo__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.thermo__track { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 14; }
.thermo__bar { fill: none; stroke: url(#gRing); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 578; stroke-dashoffset: 578; transition: stroke-dashoffset .4s ease, stroke .4s; filter: drop-shadow(0 0 10px rgba(0,198,254,.6)); }
.thermo__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.thermo__label { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: #9fb4dd; }
.thermo__temp { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 3.6rem; line-height: 1; }
.thermo__temp b { transition: color .4s; }
.thermo__temp.is-hot b { color: var(--amber); }
.thermo__temp.is-cold b { color: var(--cyan); }
.thermo__state { margin-top: .4rem; font-size: .85rem; font-weight: 700; color: var(--gold); }
.thermo__state.is-done { color: var(--wa); }
.thermo__unit { margin-top: 1.6rem; }
.unit { position: relative; }
.unit__body { height: 56px; border-radius: 14px 14px 8px 8px; background: linear-gradient(180deg, #fff, #dfe8f7); position: relative; box-shadow: inset 0 -6px 0 rgba(1,18,72,.08); }
.unit__led { position: absolute; right: 16px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.unit__flaps { height: 8px; margin: 0 10px; border-radius: 0 0 8px 8px; background: #b9c8e3; }
.unit__air { position: relative; height: 60px; display: flex; justify-content: space-around; padding: 0 20px; }
.unit__air i { width: 3px; height: 40px; border-radius: 3px; background: linear-gradient(180deg, rgba(0,198,254,.9), transparent); animation: blow 1.6s ease-in infinite; opacity: 0; }
.unit__air i:nth-child(2) { animation-delay: .3s; } .unit__air i:nth-child(3) { animation-delay: .6s; } .unit__air i:nth-child(4) { animation-delay: .15s; } .unit__air i:nth-child(5) { animation-delay: .45s; }
@keyframes blow { 0% { transform: translateY(-6px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; border-radius: 16px;
  background: var(--white); color: var(--ink); box-shadow: var(--shadow); font-size: .9rem; animation: bob 5s ease-in-out infinite;
}
.float-card b { display: block; font-size: .92rem; }
.float-card small { color: var(--muted); font-size: .78rem; }
.float-card__ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--ice); font-size: 1.2rem; }
.float-card--a { top: 8%; left: -8%; }
.float-card--b { bottom: 4%; right: -6%; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.wave svg { width: 100%; height: 90px; fill: var(--white); }

/* ---------- Marcas ---------- */
.brands { padding: 1.5rem 0 1rem; text-align: center; }
.brands p { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: .8rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 35s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.5rem; color: #b6c3dd; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Números ---------- */
.stats { padding: 2.5rem 0 1rem; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.stat { padding: 1.6rem; border-radius: var(--radius); background: var(--ice); border: 1px solid #dbe6fb; }
.stat b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 2.8rem; line-height: 1; background: var(--grad-cold); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .4rem; }
.stat:nth-child(even) b { background-image: var(--grad-hot); }
.stat span { color: var(--muted); font-size: .92rem; font-weight: 500; }

/* ---------- Seções ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--dark { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: var(--white); }
.section--dark .section__head p, .section--dark p { color: #c7d6f5; }
.section--soft { background: var(--ice); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section__head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--royal); margin-bottom: .8rem; }
.section--dark .eyebrow { color: var(--cyan); }
.eyebrow--hot { color: var(--orange) !important; }

/* Cards de serviço */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  position: relative; padding: 2rem; border-radius: var(--radius); background: var(--white);
  border: 1px solid #e3ebfa; box-shadow: 0 2px 0 rgba(1,18,72,.03); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad-cold); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-cold); margin-bottom: 1.2rem; box-shadow: 0 12px 24px -10px rgba(21,101,240,.7); }
.card:nth-child(even) .card__ico { background: var(--grad-hot); box-shadow: 0 12px 24px -10px rgba(255,122,0,.7); }
.card__ico svg { width: 32px; height: 32px; fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); font-size: .97rem; }
.card__link { font-weight: 700; color: var(--royal); text-decoration: none; }
.card__link:hover { color: var(--orange); }

/* Sinais de alerta */
.alert-sec { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: linear-gradient(135deg, #fff7ec, #fff 55%); border-block: 1px solid #ffe3c2; }
.alert-sec__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.alert-sec p { color: var(--muted); font-size: 1.08rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.checklist button {
  width: 100%; display: flex; align-items: center; gap: .9rem; text-align: left; padding: 1rem 1.2rem; border-radius: 14px;
  border: 1.5px solid #ffd9ad; background: var(--white); font: 600 1rem var(--font-body); color: var(--ink); cursor: pointer; transition: .2s;
}
.checklist button::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--amber); transition: .2s; }
.checklist button:hover { border-color: var(--orange); }
.checklist button.is-on { border-color: var(--orange); background: #fff3e4; }
.checklist button.is-on::before { background: var(--grad-hot) ; border-color: transparent; content: "✓"; color: var(--white); display: grid; place-items: center; font-weight: 900; font-size: .85rem; }

/* Abas segmentos */
.tabs { display: flex; justify-content: center; gap: .6rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.tabs button {
  padding: .8rem 1.4rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04);
  color: #cfe0ff; font: 700 1rem var(--font-body); cursor: pointer; transition: .25s;
}
.tabs button[aria-selected="true"] { background: var(--grad-hot); color: var(--navy-950); border-color: transparent; box-shadow: 0 12px 30px -12px rgba(255,122,0,.8); }
.tabpanel { animation: fadeUp .5s ease; }
.seg {
  display: grid; grid-template-columns: 1.4fr .6fr; gap: 2.5rem; align-items: center; padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: 28px; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12);
}
.ticks { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .6rem; }
.ticks li { padding-left: 1.9rem; position: relative; color: #e2ebff; }
.ticks li::before { content: "❄"; position: absolute; left: 0; color: var(--cyan); }
.seg__badge { aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; padding: 1.5rem; position: relative; }
.seg__badge::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.2); animation: spin 30s linear infinite; }
.seg__badge--cold { background: var(--grad-cold); box-shadow: 0 30px 60px -20px rgba(0,198,254,.6); }
.seg__badge--hot { background: var(--grad-hot); color: var(--navy-950); box-shadow: 0 30px 60px -20px rgba(255,122,0,.6); }
.seg__badge span { font-size: 2.6rem; line-height: 1; }
.seg__badge b { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; margin-top: .4rem; }
.seg__badge small { opacity: .85; font-weight: 600; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Por que */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.why__item { padding: 1.8rem; border-radius: var(--radius); border: 1px solid #e3ebfa; background: linear-gradient(180deg, #fff, #f7faff); }
.why__item span { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 2.2rem; background: var(--grad-hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why__item p { color: var(--muted); margin: 0; }

/* Passos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; position: relative; }
.steps li { position: relative; padding: 2rem 1.5rem; background: var(--white); border-radius: var(--radius); box-shadow: 0 10px 30px -20px rgba(1,18,72,.4); text-align: center; }
.steps b {
  display: grid; place-items: center; width: 56px; height: 56px; margin: -3.6rem auto 1rem; border-radius: 50%;
  background: var(--grad-cold); color: var(--white); font-family: var(--font-display); font-style: italic; font-size: 1.5rem; box-shadow: 0 0 0 6px var(--ice);
}
.steps li:last-child b { background: var(--grad-hot); color: var(--navy-950); }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }
.steps { margin-top: 2rem; }

/* CTA faixa */
.cta-band { background: var(--grad-hot); padding: 3rem 0; position: relative; overflow: hidden; }
.cta-band::before { content: "❄"; position: absolute; font-size: 18rem; right: -2rem; top: -6rem; color: rgba(255,255,255,.18); line-height: 1; }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; color: var(--navy-950); }
.cta-band h2 { margin-bottom: .3rem; }
.cta-band p { margin: 0; font-weight: 600; }

/* ---------- Formulário ---------- */
.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list li > span { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.08); font-size: 1.2rem; }
.contact-list small { display: block; color: #8ea4cf; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.contact-list a { color: var(--white); font-weight: 700; text-decoration: none; }
.guarantee { padding: 1.2rem 1.4rem; border-radius: 16px; border: 1px dashed rgba(255,255,255,.25); }
.guarantee p { margin: .3rem 0 0; font-size: .92rem; }

.form-card { background: var(--white); color: var(--ink); border-radius: 28px; padding: clamp(1.4rem, 3.5vw, 2.4rem); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); position: relative; }
.form-card::before { content: ""; position: absolute; inset: -2px; border-radius: 30px; background: linear-gradient(135deg, var(--cyan), var(--royal) 40%, var(--orange) 80%, var(--gold)); z-index: -1; }

.seg-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--ice); padding: 5px; border-radius: 999px; margin-bottom: 1.6rem; }
.seg-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.seg-toggle label { position: relative; z-index: 1; text-align: center; padding: .75rem .5rem; font-weight: 700; cursor: pointer; border-radius: 999px; color: var(--muted); transition: color .3s; font-size: .98rem; }
.seg-toggle input:checked + label { color: var(--white); }
.seg-toggle input:focus-visible + label { outline: 3px solid var(--gold); }
.seg-toggle__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--grad-cold); transition: transform .35s cubic-bezier(.6,.2,.2,1.2), background .3s; box-shadow: 0 8px 20px -8px rgba(21,101,240,.8); }
#tipoPJ:checked ~ .seg-toggle__pill { transform: translateX(100%); background: var(--grad-hot); }
#tipoPJ:checked + label { color: var(--navy-950); }

.progress { margin-bottom: 1.4rem; }
.progress__bar { height: 6px; background: var(--ice); border-radius: 6px; overflow: hidden; }
.progress__bar span { display: block; height: 100%; width: 33.3%; background: var(--grad-hot); border-radius: 6px; transition: width .4s ease; }
.progress__steps { list-style: none; padding: 0; margin: .6rem 0 0; display: flex; justify-content: space-between; font-size: .8rem; font-weight: 700; color: #a2afc9; }
.progress__steps li.is-active, .progress__steps li.is-done { color: var(--royal); }

.step { border: 0; padding: 0; margin: 0; display: none; }
.step.is-active { display: block; animation: fadeUp .4s ease; }
.step legend { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.4rem; margin-bottom: 1rem; padding: 0; }
.hint { color: var(--muted); font-size: .9rem; margin-bottom: .7rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field > span { font-weight: 700; font-size: .88rem; }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px; border: 1.5px solid #d6e0f2; background: #fbfdff;
  font: 500 1rem var(--font-body); color: var(--ink); transition: border-color .2s, box-shadow .2s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231565f0' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(21,101,240,.15); }
.field.has-error input, .field.has-error select { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229,72,77,.12); }
.pj-only { display: none !important; }
.is-pj .pj-only { display: flex !important; }
.is-pj .chip.pj-only { display: inline-flex !important; }
.is-pj .pf-only { display: none !important; }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.chip { display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { padding: .7rem 1.1rem; border-radius: 999px; border: 1.5px solid #d6e0f2; font-weight: 700; font-size: .93rem; transition: .2s; user-select: none; }
.chip:hover span { border-color: var(--royal); }
.chip input:checked + span { background: var(--grad-cold); color: var(--white); border-color: transparent; box-shadow: 0 8px 20px -10px rgba(21,101,240,.9); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); }
.radios { display: flex; flex-wrap: wrap; gap: .4rem 1rem; padding-top: .4rem; }
.radios label { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .95rem; cursor: pointer; }
.radios input { accent-color: var(--royal); width: 18px; height: 18px; }
.consent { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.2rem; font-size: .88rem; color: var(--muted); cursor: pointer; }
.consent input { accent-color: var(--royal); width: 20px; height: 20px; flex: none; margin-top: 2px; }
.form-error { color: #d23a3f; font-weight: 700; font-size: .9rem; min-height: 1.3em; margin: 1rem 0 0; }
.form-nav { display: flex; gap: .8rem; justify-content: flex-end; margin-top: .6rem; }
.form-nav .btn--line { color: var(--navy-900); }

.success { text-align: center; padding: 2rem 0; animation: fadeUp .5s ease; }
.success__ico { width: 84px; height: 84px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; font-size: 2.6rem; font-weight: 900; color: var(--white); background: var(--wa); box-shadow: 0 0 0 10px rgba(37,211,102,.15); }
.success p { color: var(--muted); }
.success__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.4rem; }
.success .btn--line { color: var(--navy-900); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq details { border: 1px solid #e3ebfa; border-radius: 16px; background: var(--white); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 3.4rem 1.2rem 1.4rem; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); color: var(--royal); font-size: 1.3rem; transition: transform .3s, background .3s; }
.faq details[open] summary::after { content: "−"; background: var(--grad-hot); color: var(--navy-950); }
.faq details p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--muted); }

/* ---------- Mapa ---------- */
.map-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2.5rem; align-items: center; }
.map-info address { font-style: normal; font-size: 1.05rem; line-height: 1.7; padding: 1.2rem 1.4rem; border-left: 4px solid var(--orange); background: var(--white); border-radius: 0 14px 14px 0; margin: 1rem 0; }
.map-info p { color: var(--muted); }
.map-info__ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
.map-info .btn--line { color: var(--navy-900); }
.map { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 6px solid var(--white); aspect-ratio: 4 / 3; background: #dbe6fb; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #b5c4e4; padding: 4rem 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer img { width: 150px; margin-bottom: 1rem; }
.footer h4 { color: var(--white); font-size: 1.1rem; font-style: italic; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 0 6rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.footer__bottom p { margin: 0; }

/* ---------- Widget WhatsApp ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa__fab { position: relative; width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer; background: var(--wa); color: var(--white); display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,.8); transition: transform .2s; }
.wa__fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.wa__fab:hover { transform: scale(1.06); }
.wa__fab svg { width: 34px; height: 34px; }
.wa__badge { position: absolute; top: -2px; right: -2px; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: var(--white); font-size: .75rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--white); }
.wa__badge[hidden] { display: none; }
.wa__teaser { position: absolute; right: 76px; bottom: 12px; background: var(--white); color: var(--ink); padding: .7rem 1rem; border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow); font-weight: 600; font-size: .9rem; white-space: nowrap; opacity: 0; transform: translateX(10px); transition: .4s; pointer-events: none; }
.wa__teaser.is-visible { opacity: 1; transform: none; }
.wa__panel { width: min(370px, calc(100vw - 32px)); max-height: min(600px, calc(100dvh - 120px)); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #efeae2; box-shadow: 0 30px 70px -20px rgba(1,18,72,.6); animation: pop .35s cubic-bezier(.3,1.4,.6,1); }
.wa__panel[hidden] { display: none; }
@keyframes pop { from { transform: translateY(20px) scale(.95); opacity: 0; } }
.wa__head { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: var(--white); }
.wa__head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.3); }
.wa__head b { display: block; font-size: 1rem; }
.wa__head small { display: flex; align-items: center; gap: .4rem; color: #b5c8ef; font-size: .78rem; }
.wa__close { margin-left: auto; background: rgba(255,255,255,.1); border: 0; color: var(--white); width: 34px; height: 34px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; line-height: 1; }
.wa__body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .55rem; min-height: 260px; }
.msg { max-width: 85%; padding: .6rem .85rem; border-radius: 12px; font-size: .93rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.08); animation: fadeUp .3s ease; }
.msg--bot { background: var(--white); align-self: flex-start; border-top-left-radius: 4px; }
.msg--me { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 4px; }
.msg--typing { display: inline-flex; gap: 4px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa6bd; animation: typing 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { transform: translateY(-4px); opacity: .5; } }
.quick { display: flex; flex-wrap: wrap; gap: .45rem; align-self: flex-end; justify-content: flex-end; animation: fadeUp .3s ease; }
.quick button, .quick a { text-decoration: none; border: 1.5px solid var(--royal); background: var(--white); color: var(--royal); padding: .5rem .85rem; border-radius: 999px; font: 700 .86rem var(--font-body); cursor: pointer; transition: .2s; }
.quick button:hover { background: var(--royal); color: var(--white); }
.quick .go, .quick .go:hover {background: var(--wa); border-color: var(--wa); color: #06331a; }
.wa__input { display: flex; gap: .5rem; padding: .6rem; background: #f0f2f5; }
.wa__input[hidden] { display: none; }
.wa__input input { flex: 1; border: 0; border-radius: 999px; padding: .75rem 1rem; font: 500 1rem var(--font-body); }
.wa__input input:focus { outline: 2px solid var(--wa); }
.wa__input button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--wa); color: var(--white); font-size: 1.1rem; cursor: pointer; }
.wa__direct { display: block; text-align: center; padding: .7rem; font-size: .82rem; font-weight: 700; color: #128c4a; background: var(--white); text-decoration: none; border-top: 1px solid #e6e6e6; }

/* ---------- Animações de entrada ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 400px; }
  .float-card--a { left: 0; }
  .float-card--b { right: 0; }
  .cards, .why { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3.2rem; }
  .form-wrap, .map-wrap { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .brand img { height: 50px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); padding: .5rem 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1);
    transform: translateY(-120%); transition: transform .35s ease; box-shadow: 0 30px 40px -20px rgba(0,0,0,.6);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 1rem; padding: 1rem; }
  .alert-sec__grid, .seg { grid-template-columns: 1fr; }
  .seg__badge { max-width: 220px; margin: 0 auto; order: -1; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .container { width: calc(100% - 2rem); }
  .hero { padding: calc(var(--header-h) + 2.2rem) 0 6.5rem; }
  .hero__ctas .btn { width: 100%; }
  .hero__checks { flex-direction: column; gap: .5rem; }
  .hero__visual { min-height: 0; padding: 3.5rem 0 2.5rem; }
  .thermo__ring { width: 190px; height: 190px; }
  .thermo__temp { font-size: 3rem; }
  .float-card { font-size: .82rem; padding: .6rem .8rem; }
  .float-card--a { top: 0; left: -4px; }
  .float-card--b { bottom: 0; right: -4px; }
  .wave svg { height: 50px; }
  .cards, .why, .steps { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .stat { padding: 1.1rem; }
  .stat b { font-size: 2.1rem; }
  .stat span { font-size: .82rem; }
  .card { padding: 1.6rem; }
  .grid2 { grid-template-columns: 1fr; }
  .form-nav { flex-direction: column-reverse; }
  .form-nav .btn { width: 100%; }
  .seg-toggle label { font-size: .9rem; }
  .cta-band__inner .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .map { aspect-ratio: 1 / 1; }
  .wa { right: 14px; bottom: 14px; }
  .wa__fab { width: 58px; height: 58px; }
  .wa__teaser { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
