/* Reino Climatização: estilos do site. Tema claro/escuro, movimento só quando permitido, foco visível. */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/inter-700.woff") format("woff"); }

:root {
  --fundo: #FBFBFD; --fundo2: #EEF3F7; --cartao: #FFFFFF; --linha: #D5DFE8; --linha2: #6D8AA0; --linha-s: rgba(10,32,54,.08);
  --texto: #0A2036; --texto2: #3A4A57; --texto3: #556270; --marca: #0B7391; --marca2: #085A73;
  --botao: #0B7391; --botao2: #085A73;
  --marinho: #0A2036; --marinho2: #12304D; --tinta1: #DCEBF2; --tinta2: #CFE9F1; --vidro: rgba(251,251,253,.78); --vidro2: rgba(251,251,253,.94);
  --gelo: #7DDCF2; --erro: #B3261E;
  --chip-on: #0A2036; --chip-on-texto: #FFFFFF;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-tema="claro"]) {
    --fundo: #080E15; --fundo2: #0C141D; --cartao: #111B26; --linha: #2B3C4E; --linha2: #5A7690; --linha-s: rgba(255,255,255,.1);
    --texto: #EAF1F6; --texto2: #BAC8D4; --texto3: #9AABB9; --marca: #4FC3E0; --marca2: #7DDCF2;
    --marinho: #10263B; --marinho2: #17385A; --tinta1: #16293A; --tinta2: #1B3348; --vidro: rgba(8,14,21,.72); --vidro2: rgba(8,14,21,.92);
    --erro: #FF9C94; --chip-on: #4FC3E0; --chip-on-texto: #06202E; color-scheme: dark;
  }
}
:root[data-tema="escuro"] {
  --fundo: #080E15; --fundo2: #0C141D; --cartao: #111B26; --linha: #2B3C4E; --linha2: #5A7690; --linha-s: rgba(255,255,255,.1);
  --texto: #EAF1F6; --texto2: #BAC8D4; --texto3: #9AABB9; --marca: #4FC3E0; --marca2: #7DDCF2;
  --marinho: #10263B; --marinho2: #17385A; --tinta1: #16293A; --tinta2: #1B3348; --vidro: rgba(8,14,21,.72); --vidro2: rgba(8,14,21,.92);
  --erro: #FF9C94; --chip-on: #4FC3E0; --chip-on-texto: #06202E; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--fundo); color: var(--texto); line-height: 1.5; overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { max-width: 100%; }
a { color: var(--marca); }
a:hover { color: var(--marca2); }
:focus-visible { outline: 3px solid var(--marca); outline-offset: 3px; border-radius: 8px; }
.escuro-fixo :focus-visible, .bloco.b-marca :focus-visible { outline-color: #fff; }
.so-leitor { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pular { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--marinho); color: #fff; font-weight: 600; text-decoration: none; transition: top .2s; }
.pular:focus { top: 12px; }
/* títulos que recebem o foco por código (para o leitor de tela anunciar a mudança) não são clicáveis: sem contorno */
[tabindex="-1"]:focus { outline: none; }
.wrap { max-width: 1100px; margin: 0 auto; }
.cx { padding-left: 24px; padding-right: 24px; }

/* ---------- botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 28px; border-radius: 999px; border: 0; font-weight: 600; font-size: 17px; line-height: 1; text-decoration: none; cursor: pointer; transition: transform .28s cubic-bezier(.2,.8,.2,1), background-color .28s, box-shadow .28s, color .28s; }
.btn:hover { transform: scale(1.035); }
.btn:active { transform: scale(.965); }
.btn-main { background: var(--botao); color: #fff; box-shadow: 0 10px 24px -12px rgba(11,115,145,.8); }
.btn-main:hover { background: var(--botao2); color: #fff; }
.btn-dark { background: var(--marinho); color: #fff; }
.btn-dark:hover { background: var(--marinho2); color: #fff; }
.btn-ice { background: var(--gelo); color: #0A2036; }
.btn-ice:hover { background: #9CE6F7; color: #0A2036; }
.btn-ghost { background: transparent; color: var(--marca); padding: 0 12px; min-height: 44px; }
.btn-ghost:hover { color: var(--marca2); transform: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-peq { min-height: 38px; padding: 0 18px; font-size: 14px; }

/* ---------- topo */
.cab { position: sticky; top: 0; z-index: 20; background: var(--vidro); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--linha-s); }
.cab-in { max-width: 1100px; margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; gap: 24px; }
.marca-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--texto); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.marca-link:hover { color: var(--texto); }
.marca-link img { display: block; width: 46px; height: auto; }
.nav-links { display: flex; gap: 30px; align-items: center; margin-left: auto; }
.nav-links a { color: var(--texto2); text-decoration: none; font-size: 14px; transition: color .2s; }
.nav-links a:hover { color: var(--marca); }
.nav-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.nav-burger svg, .tema-btn svg { stroke: var(--texto); }
.nav-folha { padding: 4px 24px 28px; border-top: 1px solid var(--linha-s); }
.nav-folha[hidden] { display: none; }
.nav-folha a { display: flex; align-items: center; min-height: 52px; font-size: 22px; font-weight: 600; color: var(--texto); text-decoration: none; border-bottom: 1px solid var(--linha); }
.nav-folha a:last-child { border-bottom: 0; color: var(--marca); }
.tema-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linha); background: var(--cartao); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s; }
.tema-btn:hover { transform: rotate(18deg) scale(1.06); border-color: var(--marca); }
.tema-btn:active { transform: scale(.92); }
.ico-sol { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-tema="claro"]) .ico-sol { display: block; } :root:not([data-tema="claro"]) .ico-lua { display: none; } }
:root[data-tema="escuro"] .ico-sol { display: block; }
:root[data-tema="escuro"] .ico-lua { display: none; }

/* ---------- títulos e blocos */
h1, h2, h3, h4 { margin: 0; }
.h2 { margin: 0 auto; max-width: 820px; text-align: center; font-size: clamp(36px, 6.4vw, 68px); line-height: 1.04; font-weight: 700; letter-spacing: -0.04em; }
.sub { margin: 18px auto 0; max-width: 580px; text-align: center; font-size: clamp(18px, 2vw, 22px); color: var(--texto2); }
.secao { padding: clamp(72px, 10vw, 140px) 24px 0; }

/* ---------- abertura */
.hero { padding: clamp(48px, 9vw, 112px) 24px 0; text-align: center; }
.hero-texto { max-width: 980px; margin: 0 auto; }
.hero h1 { font-size: clamp(36px, 9.4vw, 104px); line-height: 1.02; font-weight: 700; letter-spacing: -0.045em; }
.hero p { margin: 26px auto 0; max-width: 660px; font-size: clamp(19px, 2.4vw, 26px); line-height: 1.35; font-weight: 500; color: var(--texto2); }
.hero .acoes { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 20px; margin-top: 34px; }
.hero-cena { max-width: 1100px; margin: clamp(40px, 7vw, 84px) auto 0; background: var(--marinho); border-radius: clamp(24px, 4vw, 44px) clamp(24px, 4vw, 44px) 0 0; overflow: hidden; padding: clamp(28px, 5vw, 64px) clamp(8px, 3vw, 40px) 0; }
.hero-cena svg { display: block; }

/* ---------- serviços */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: clamp(36px, 6vw, 72px); }
.bloco { border-radius: 32px; padding: clamp(26px, 4vw, 40px); min-height: 480px; display: flex; flex-direction: column; transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .6s; }
.bloco:hover { transform: scale(1.012); box-shadow: 0 30px 60px -36px rgba(10,32,54,.55); }
.bloco h3 { margin: 24px 0 0; font-size: clamp(32px, 4vw, 40px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; }
.bloco p { margin: 14px 0 0; font-size: 18px; }
.bloco p + p { font-size: 15px; }
.b-claro { background: var(--cartao); border: 1px solid var(--linha); }
.b-claro p { color: var(--texto2); } .b-claro p + p { color: var(--texto3); }
.b-escuro { background: var(--marinho); color: #fff; }
.b-escuro p { color: #C9DAE6; } .b-escuro p + p { color: #A9C0D1; }
.b-marca { background: #0B6A85; color: #fff; }
.b-marca p, .b-marca p + p { color: #fff; }
.cena { border-radius: 22px; overflow: hidden; }
.cena svg { display: block; }
.b-claro .cena { background: var(--tinta1); } .b-escuro .cena { background: var(--marinho2); } .b-marca .cena { background: #095A72; }

/* ---------- obras e projetos */
.obra-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 48px); align-items: center; background: var(--cartao); border: 1px solid var(--linha); border-radius: 32px; padding: clamp(26px, 4vw, 48px); }
.obra-txt h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.04; font-weight: 700; letter-spacing: -0.04em; }
.obra-txt > p { margin: 18px 0 0; font-size: 18px; color: var(--texto2); max-width: 520px; }
.obra-lista { list-style: none; margin: 20px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.obra-lista li { position: relative; padding-left: 26px; }
.obra-lista li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 3px; background: #C77B4A; }
.obra-cena { border-radius: 24px; overflow: hidden; }
.obra-cena svg { display: block; }
.obra-parede { fill: #E9DCCB; }
.obra-tijolos { stroke: #D4C1A8; }
.obra-futuro { stroke: #8DA7BB; }
.obra-cano { stroke: #C77B4A; stroke-dasharray: 1; stroke-dashoffset: 0; }
.obra-dreno { stroke: #F4F7FA; stroke-dasharray: 1; stroke-dashoffset: 0; }
.obra-fio { stroke: #E5B93C; stroke-dasharray: 1; stroke-dashoffset: 0; }
:root[data-tema="escuro"] .obra-parede { fill: #2A2520; } :root[data-tema="escuro"] .obra-tijolos { stroke: #3A332B; }
@media (prefers-color-scheme: dark) { :root:not([data-tema="claro"]) .obra-parede { fill: #2A2520; } :root:not([data-tema="claro"]) .obra-tijolos { stroke: #3A332B; } }
@keyframes cano { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .obra-card:hover .obra-cano, .obra-card:hover .obra-dreno, .obra-card:hover .obra-fio { animation: cano 1.6s cubic-bezier(.2,.8,.2,1) both; }
  .obra-card:hover .c2 { animation-delay: .15s; } .obra-card:hover .obra-dreno { animation-delay: .3s; } .obra-card:hover .obra-fio { animation-delay: .45s; }
}
@media (max-width: 760px) { .obra-card { grid-template-columns: 1fr; } .obra-cena { order: -1; } }

/* ---------- relatório */
.rel { margin-top: clamp(72px, 10vw, 140px); background: var(--marinho); color: #fff; padding: clamp(72px, 10vw, 140px) 24px; }
.rel-in { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.rel h2 { font-size: clamp(38px, 6.4vw, 68px); line-height: 1.03; font-weight: 700; letter-spacing: -0.04em; }
.rel-txt { flex: 1 1 400px; min-width: 0; }
.rel-txt p { margin: 24px 0 0; font-size: clamp(18px, 2vw, 22px); color: #C3D5E2; max-width: 480px; }
.rel-cx { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.rel-folha { background: var(--cartao); color: var(--texto); border-radius: 28px; padding: clamp(22px, 4vw, 32px); }
.rel-folha header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rel-folha header b { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.rel-folha header span { font-size: 13px; color: var(--texto3); }
.rel-folha > p { margin: 6px 0 0; font-size: 15px; color: var(--texto3); }
.lista-rv { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.lista-rv li { display: flex; gap: 12px; align-items: center; }
.lista-rv svg { flex: none; stroke: var(--marca); }
.rel-aviso { background: var(--gelo); color: #0A2036; border-radius: 24px; padding: 20px 24px; display: flex; align-items: center; gap: 16px; }
.rel-aviso svg { flex: none; }
.rel-aviso b { font-weight: 700; font-size: 17px; }
.rel-aviso div div { font-size: 14px; }

/* ---------- antes e depois (ilustração) */
.cmp { position: relative; overflow: hidden; border-radius: 28px; aspect-ratio: 16 / 10; background: var(--tinta2); touch-action: pan-y; margin-top: clamp(32px, 5vw, 56px); }
.cmp .lado { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px; }
.cmp .lado.depois { justify-content: flex-end; background: repeating-linear-gradient(90deg, #CFE9F1 0 7px, #B6DCE9 7px 14px); }
.cmp .lado.antes { justify-content: flex-start; background: repeating-linear-gradient(90deg, #B9AF9D 0 7px, #A89E8B 7px 14px); clip-path: inset(0 calc(100% - var(--p, 50%)) 0 0); -webkit-clip-path: inset(0 calc(100% - var(--p, 50%)) 0 0); }
:root[data-tema="escuro"] .cmp .lado.depois { background: repeating-linear-gradient(90deg, #2C5A70 0 7px, #25506A 7px 14px); }
@media (prefers-color-scheme: dark) { :root:not([data-tema="claro"]) .cmp .lado.depois { background: repeating-linear-gradient(90deg, #2C5A70 0 7px, #25506A 7px 14px); } }
.cmp .etq { background: var(--cartao); color: var(--texto); font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.cmp .antes .etq { background: var(--marinho); color: #fff; }
.cmp .linha { position: absolute; top: 0; bottom: 0; left: var(--p, 50%); width: 3px; margin-left: -1.5px; background: var(--cartao); z-index: 1; }
.cmp input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.cmp .alca { position: absolute; top: 50%; left: var(--p, 50%); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--cartao); box-shadow: 0 8px 24px rgba(10,32,54,.35); display: flex; align-items: center; justify-content: center; z-index: 2; pointer-events: none; transition: transform .2s; }
.cmp .alca svg { stroke: var(--texto); }
.cmp input[type=range]:active ~ .alca { transform: scale(1.12); }
.cmp input[type=range]:focus-visible ~ .alca { outline: 3px solid var(--marca); outline-offset: 3px; }
.nota-cmp { margin: 14px auto 0; max-width: 560px; text-align: center; font-size: 14px; color: var(--texto3); }
.garantias { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.garantias > div { background: var(--cartao); border: 1px solid var(--linha); border-radius: 24px; padding: 22px 24px; }
.garantias b { display: block; font-size: 18px; font-weight: 600; }
.garantias span { display: block; margin-top: 6px; font-size: 15px; color: var(--texto2); }

/* ---------- calculadora */
.calc-cidade { margin: clamp(32px, 5vw, 56px) auto 0; max-width: 640px; background: var(--cartao); border: 1px solid var(--linha); border-radius: 32px; padding: clamp(28px, 5vw, 48px); text-align: center; }
.calc-cidade h3 { font-size: clamp(22px, 3vw, 28px); font-weight: 700; letter-spacing: -0.02em; }
.calc-cidade > p { margin: 10px auto 0; max-width: 440px; font-size: 16px; color: var(--texto3); }
.calc-cidade > p.ou { max-width: none; margin: 22px 0 14px; font-size: 14px; color: var(--texto3); }
.calc-cidade .linha-campos:first-of-type { margin-top: 24px; }
.linha-campos .campo { width: auto; flex: 1 1 200px; max-width: 300px; }
.nb { white-space: nowrap; }
.linha-campos { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.status { margin: 18px 0 0; font-size: 15px; color: var(--marca); min-height: 22px; }
.calc { margin-top: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 20px; }
.calc[hidden], .calc-cidade[hidden] { display: none; }
.calc-esq { flex: 1 1 380px; min-width: 0; background: var(--cartao); border: 1px solid var(--linha); border-radius: 32px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 32px; }
.calc-dir { flex: 1 1 320px; min-width: 0; background: var(--marinho); color: #fff; border-radius: 32px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.calc-dir .rot { margin: 0; font-size: 17px; color: #C3D5E2; }
.calc-dir .grande { margin-top: 8px; font-size: clamp(60px, 11vw, 104px); line-height: 1; font-weight: 700; letter-spacing: -0.045em; color: var(--gelo); }
.calc-dir .un { margin-top: 6px; font-size: 22px; font-weight: 600; }
.calc-dir .expl { margin: 18px 0 0; font-size: 16px; color: #C3D5E2; }
.calc-dir .btn { margin-top: 26px; align-self: flex-start; }
.linha-t { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.linha-t > div b { display: block; font-size: 17px; font-weight: 600; }
.linha-t > div span { font-size: 14px; color: var(--texto3); }
.rotulo { font-size: 17px; font-weight: 600; }
.valor-g { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.slider { width: 100%; height: 32px; margin: 6px 0 0; accent-color: #0B7391; cursor: pointer; }
.contador { display: flex; align-items: center; gap: 16px; }
.contador output { min-width: 28px; text-align: center; font-size: 24px; font-weight: 700; }

/* ---------- pedido */
.pedido-sec { margin-top: clamp(72px, 10vw, 140px); background: var(--fundo2); padding: clamp(72px, 10vw, 128px) 20px; }
.pedido { margin: clamp(32px, 5vw, 56px) auto 0; width: 100%; max-width: 720px; background: var(--cartao); border: 1px solid var(--linha); border-radius: 28px; padding: clamp(22px, 5vw, 44px); box-shadow: 0 30px 60px -44px rgba(10,32,54,.5); }
.prog { display: flex; gap: 6px; }
.prog i { flex: 1; height: 5px; border-radius: 3px; background: var(--linha); overflow: hidden; position: relative; }
.prog i::after { content: ""; position: absolute; inset: 0; background: #0B7391; transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.prog i.on::after { transform: scaleX(1); }
.etapa-n { margin: 12px 0 0; font-size: 14px; color: var(--texto3); }
.passo { margin-top: 22px; animation: entrar .5s cubic-bezier(.2,.8,.2,1) both; }
.passo[hidden] { display: none; }
.passo h3 { font-size: clamp(28px, 5vw, 40px); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; }
.passo .dica { margin: 10px 0 0; font-size: 17px; color: var(--texto3); }
.grupo { margin-top: 28px; }
.grupo > b, .grupo > legend { font-size: 17px; font-weight: 600; padding: 0; }
.grupo > p { margin: 4px 0 0; font-size: 14px; color: var(--texto3); }
fieldset.grupo { border: 0; margin: 28px 0 0; padding: 0; min-width: 0; }
.opcoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.opcoes.grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 14px; border: 1.5px solid var(--linha2); background: var(--cartao); color: var(--texto); font-weight: 500; font-size: 16px; cursor: pointer; transition: transform .22s cubic-bezier(.2,.8,.2,1), border-color .2s, background-color .2s, color .2s, box-shadow .2s; }
.chip:hover { border-color: var(--marca); transform: translateY(-1px); }
.chip:active { transform: scale(.96); }
/* escolhido: marinho no claro, ciano no escuro (nos dois jeitos de ligar o escuro: pelo aparelho ou pelo botão) */
.chip.on, .chip[aria-pressed="true"] { background: var(--chip-on); border-color: var(--chip-on); color: var(--chip-on-texto); box-shadow: 0 10px 22px -12px rgba(10,32,54,.7); }
.opcao { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; min-height: 76px; padding: 16px 18px; border-radius: 18px; border: 1.5px solid var(--linha2); background: var(--cartao); color: var(--texto); text-align: left; cursor: pointer; transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .2s, background-color .2s, box-shadow .25s; }
.opcao:hover { border-color: var(--marca); transform: translateY(-2px); box-shadow: 0 14px 28px -20px rgba(10,32,54,.6); }
.opcao:active { transform: scale(.985); }
.opcao[aria-pressed="true"] { border-color: var(--marca); background: var(--tinta1); box-shadow: inset 0 0 0 1.5px var(--marca); }
.opcao b { font-size: 17px; font-weight: 600; }
.opcao span { font-size: 14px; color: var(--texto3); font-weight: 400; line-height: 1.4; }
.passo-num { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--linha2); background: var(--cartao); font-size: 22px; line-height: 1; cursor: pointer; transition: transform .2s, border-color .2s, background-color .2s; }
.passo-num:hover { border-color: var(--marca); background: var(--tinta1); }
.passo-num:active { transform: scale(.9); }
.campo { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--linha2); background: var(--cartao); color: var(--texto); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
textarea.campo { padding: 14px 16px; min-height: 96px; resize: vertical; }
.campo:hover { border-color: var(--marca); }
.campo:focus { outline: none; border-color: var(--marca); box-shadow: 0 0 0 4px rgba(11,115,145,.25); }
.campo[aria-invalid="true"] { border-color: var(--erro); }
.campos { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.campos label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.campos .opc { font-weight: 400; color: var(--texto3); }
.erro-campo { margin: 6px 0 0; font-size: 14px; color: var(--erro); }
.dica-campo { margin: 6px 0 0; font-size: 13px; color: var(--texto3); }
.aceite { display: flex; gap: 12px; align-items: flex-start; }
.aceite input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: #0B7391; }
.aceite label { font-size: 14px; color: var(--texto2); line-height: 1.5; margin: 0; font-weight: 400; }
.isca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.resumo { margin-top: 22px; padding: 16px 18px; border-radius: 18px; background: var(--fundo2); display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.resumo div { display: flex; gap: 10px; }
.resumo span { flex: 0 0 76px; color: var(--texto3); }
.resumo b { font-weight: 600; flex: 1; min-width: 0; }
.rodape-pedido { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--linha); }
.rodape-pedido [hidden] { display: none; }
.aviso { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--tinta1); font-size: 15px; }
.aviso.erro { background: transparent; border: 1.5px solid var(--erro); color: var(--texto); }
.ok-icone { width: 68px; height: 68px; border-radius: 50%; background: var(--tinta2); display: flex; align-items: center; justify-content: center; }
.ok-icone svg { stroke: var(--marca); }
.enviado h3 { margin-top: 24px; font-size: clamp(30px, 5vw, 44px); line-height: 1.06; }
.enviado p { margin: 14px 0 0; font-size: 18px; color: var(--texto2); }
.enviado .acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* campos de calculadora (cidade) */
select.campo { appearance: auto; }

/* atrasos das cenas (sem estilo escrito dentro do HTML) */
.d1 { animation-delay: .1s; } .d2 { animation-delay: .2s; } .d3 { animation-delay: .3s; } .d4 { animation-delay: .4s; } .d5 { animation-delay: .5s; }
.d6 { animation-delay: .6s; } .d8 { animation-delay: .8s; } .d11 { animation-delay: 1.1s; } .d14 { animation-delay: 1.4s; } .d15 { animation-delay: .15s; }

/* ---------- página "aprovar e agendar" */
.aprovar { padding: clamp(28px, 6vw, 72px) 20px clamp(48px, 8vw, 96px); }
.aprovar-in { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
#ap-conteudo { display: flex; flex-direction: column; gap: 16px; }
#ap-conteudo[hidden] { display: none; }
.ap-form { display: flex; flex-direction: column; gap: 16px; }
.ap-cartao { background: var(--cartao); border: 1px solid var(--linha); border-radius: 24px; padding: clamp(20px, 4vw, 32px); }
.ap-centro { display: flex; align-items: center; gap: 14px; color: var(--texto2); }
.ap-centro p { margin: 0; }
.ap-roda { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--linha); border-top-color: var(--marca); animation: girar 1s linear infinite; flex: none; }
@keyframes girar { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ap-roda { animation-duration: 3s; } }
.ap-topo { padding: 0 4px; }
.ap-pre { margin: 0; font-size: 15px; font-weight: 600; color: var(--marca); }
.ap-h1 { margin: 6px 0 0; font-size: clamp(30px, 5vw, 44px); line-height: 1.06; font-weight: 700; letter-spacing: -0.03em; }
.ap-cli { margin: 8px 0 0; color: var(--texto2); font-size: 17px; }
.ap-h2 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(20px, 3vw, 24px); font-weight: 700; letter-spacing: -0.02em; }
.ap-n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--marinho); color: #fff; display: grid; place-items: center; font-size: 15px; letter-spacing: 0; }
.ap-txt { margin: 12px 0 18px; font-size: 17px; color: var(--texto2); }
.ap-dica { margin: 10px 0 0; font-size: 15px; color: var(--texto3); }
.ap-itens { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; }
.ap-itens li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linha); }
.ap-itens li b { display: block; font-weight: 600; }
.ap-itens li span { display: block; font-size: 14px; color: var(--texto3); }
.ap-itens li strong { flex: none; font-weight: 600; }
.ap-totais { margin: 12px 0 0; display: flex; flex-direction: column; gap: 6px; }
.ap-totais > div { display: flex; justify-content: space-between; gap: 16px; }
.ap-totais dt { color: var(--texto3); }
.ap-totais dd { margin: 0; font-weight: 600; text-align: right; }
.ap-totais .ap-total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--linha); font-size: 20px; }
.ap-totais .ap-total dt { color: var(--texto); font-weight: 600; }
.ap-totais .ap-total dd { font-weight: 700; }
.ap-nota { margin: 12px 0 0; font-size: 14px; color: var(--texto3); }
#ap-dias { margin-top: 16px; }
.ap-dia { flex-direction: column; gap: 0; min-height: 56px; min-width: 76px; padding: 6px 12px; line-height: 1.2; }
.ap-dia span { font-size: 13px; font-weight: 500; }
.ap-dia b { font-size: 16px; font-weight: 700; }
#ap-periodos:empty { display: none; }
.ap-end { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 12px; margin-top: 18px; }
.ap-end label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.ap-end .opc { font-weight: 400; color: var(--texto3); }
.ap-cep { grid-column: span 3; } .ap-rua { grid-column: span 6; } .ap-numero { grid-column: span 2; } .ap-compl { grid-column: span 4; }
.ap-bairro { grid-column: span 3; } .ap-cidade { grid-column: span 3; } .ap-ref { grid-column: span 6; }
.ap-aceite { margin-top: 18px; }
.ap-aceite label a { font-weight: 500; }
.ap-enviar { margin-top: 18px; width: 100%; }
.ap-ok .acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.ap-ok .ap-h1 { margin-top: 18px; }
.ap-ok .ap-totais dd { text-align: right; }
@media (max-width: 560px) {
  .ap-cep, .ap-numero { grid-column: span 3; } .ap-compl, .ap-bairro, .ap-cidade { grid-column: span 6; }
  .ap-itens li { flex-direction: column; gap: 4px; }
}

/* ---------- WhatsApp fixo */
.zap-fixo { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--marinho); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; box-shadow: 0 18px 40px -14px rgba(10,32,54,.7); transition: transform .28s cubic-bezier(.2,.8,.2,1), background-color .28s; }
.zap-fixo:hover { transform: scale(1.05); background: var(--marinho2); color: #fff; }
.zap-fixo:active { transform: scale(.96); }
:root[data-tema="escuro"] .zap-fixo, .zap-fixo { border: 1px solid rgba(125,220,242,.35); }

/* ---------- rodapé: contato | logo | informações */
.rodape { margin-top: 0; border-top: 1px solid var(--linha); background: var(--fundo2); color: var(--texto3); font-size: 14px; padding: 40px 24px 20px; }
.rodape a { color: var(--texto2); text-decoration: none; transition: color .2s, background-color .25s, transform .25s cubic-bezier(.2,.8,.2,1); }
.rodape a:hover { color: var(--marca); }
.rodape .rodape-h { margin: 0 0 2px; font-size: 13px; font-weight: 600; color: var(--texto); letter-spacing: 0; line-height: 1.5; }
.rodape-grade { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px 48px; }
.rodape-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rodape-contato { align-items: flex-start; }
.rodape-info { align-items: flex-end; text-align: right; }
.rodape-info a:hover, .rodape-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.rodape-logo { text-align: center; }
.rodape-logo a { display: inline-block; border-radius: 22px; }
.rodape-logo img { display: block; width: 112px; height: auto; margin: 0 auto; }
.rodape-logo p { margin: 6px 0 0; font-size: 13px; color: var(--texto3); white-space: nowrap; }
.rodape .rodape-zap { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 8px; border-radius: 999px; background: var(--marinho); color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 12px 26px -16px rgba(10,32,54,.8); }
.rodape .rodape-zap:hover { background: var(--marinho2); color: #fff; transform: translateY(-2px); }
.rodape-zap .ic-zap { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(125,220,242,.16); }
.rodape-zap .ic-zap svg, .rodape-zap .ic-zap img { display: block; }
.rodape-zap .ic-zap svg { stroke: var(--gelo); }
.rodape-zap .num { font-weight: 500; color: #C9DAE6; margin-left: 2px; }
.rodape-link { display: inline-flex; align-items: center; gap: 8px; min-height: 26px; }
.rodape-link svg { flex: none; stroke: var(--texto3); }
.rodape-fim { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--linha); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; font-size: 12.5px; line-height: 1.6; }
.rodape-fim p { margin: 0; }
.topo-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--linha); background: var(--cartao); color: var(--texto) !important; border-radius: 999px; min-height: 36px; padding: 0 14px; font-size: 13px; font-weight: 500; text-decoration: none; }
.topo-btn:hover { transform: translateY(-2px); border-color: var(--marca); }

/* ---------- páginas legais */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) 24px 0; }
.legal h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; }
.legal .atual { margin: 14px 0 0; color: var(--texto3); font-size: 15px; }
.legal h2 { margin-top: 44px; font-size: clamp(22px, 3vw, 28px); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.legal h3 { margin-top: 24px; font-size: 18px; font-weight: 600; }
.legal p, .legal li { font-size: 17px; color: var(--texto2); }
.legal p { margin: 12px 0 0; }
.legal ul, .legal ol { margin: 12px 0 0; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.legal .resumo-caixa { margin-top: 28px; padding: 20px 24px; border-radius: 20px; background: var(--tinta1); color: var(--texto); }
.legal .resumo-caixa p, .legal .resumo-caixa li { color: var(--texto); }
.legal .resumo-caixa p:first-child { margin-top: 0; }
.legal .resumo-caixa a { color: var(--texto); text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--linha); color: var(--texto2); }
.legal th { color: var(--texto); font-weight: 600; }
.legal .tabela { overflow-x: auto; }
.legal .conferir { background: #FFF3C4; color: #4A3B00; padding: 0 5px; border-radius: 5px; font-weight: 600; }
:root[data-tema="escuro"] .legal .conferir { background: #5A4A10; color: #FFF3C4; }
@media (prefers-color-scheme: dark) { :root:not([data-tema="claro"]) .legal .conferir { background: #5A4A10; color: #FFF3C4; } }
.voltar { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px; font-size: 15px; text-decoration: none; }
.legal-fim { margin-top: 56px; }

/* ---------- movimento */
@keyframes entrar { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes tracar { from { stroke-dashoffset: 1; opacity: 0; } 12% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes surgir { from { opacity: 0; } to { opacity: 1; } }
.ar path { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ar path { animation: tracar 1.7s cubic-bezier(.2,.8,.2,1) both; }
  .ar path:nth-child(2) { animation-delay: .14s; } .ar path:nth-child(3) { animation-delay: .28s; }
  .ar path:nth-child(4) { animation-delay: .42s; } .ar path:nth-child(5) { animation-delay: .56s; }
  .ar-pontos { animation: surgir 1.2s ease 1.1s both; }
  .hero-texto > * { animation: entrar .9s cubic-bezier(.2,.8,.2,1) both; }
  .hero-texto > *:nth-child(2) { animation-delay: .1s; } .hero-texto > *:nth-child(3) { animation-delay: .2s; }
}
@keyframes revelar { from { opacity: 0; transform: translateY(32px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .chip, .opcao, .bloco, .prog i::after, .tema-btn, .zap-fixo { transition: none; }
  .passo { animation: none; }
}

/* cenas dos serviços: movem ao passar o mouse ou ao focar (no celular, sempre) */
.cena * { animation-play-state: paused; transform-box: fill-box; transform-origin: center; }
.bloco:hover .cena *, .bloco:focus-within .cena * { animation-play-state: running; }
/* no celular (sem mouse) a cena roda algumas vezes e para: nada fica se mexendo sem parar (acessibilidade, WCAG 2.2.2) */
@media (hover: none) { .cena * { animation-play-state: running; animation-iteration-count: 3; } }
.po { animation: poeira 2.4s ease-in infinite both; }
.br { opacity: 0; animation: brilho 2.4s ease-in-out infinite; }
.pt { transform-box: view-box; transform-origin: 105px 80px; transform: rotate(-55deg); animation: ponteiro 1.4s ease-in-out infinite alternate; }
.ch { transform-box: view-box; transform-origin: 220px 88px; animation: chave 1.6s ease-in-out infinite; }
.vi { transform: scale(0); animation: visto 2.4s ease-in-out infinite; }
.un { animation: encaixa 3s cubic-bezier(.2,.8,.2,1) infinite; }
.tu { stroke-dasharray: 1; stroke-dashoffset: 0; animation: tubo 3s ease-in-out infinite; }
.so { opacity: 0; animation: sopro 3s ease-in-out infinite; }
@keyframes poeira { 0%, 15% { opacity: 1; transform: none; } 75%, 100% { opacity: 0; transform: translateY(30px) scale(.4); } }
@keyframes brilho { 0%, 30% { opacity: 0; transform: scale(0); } 55% { opacity: 1; transform: scale(1) rotate(25deg); } 100% { opacity: 0; transform: scale(.3) rotate(70deg); } }
@keyframes ponteiro { to { transform: rotate(55deg); } }
@keyframes chave { 0%, 100% { transform: rotate(-18deg); } 50% { transform: rotate(18deg); } }
@keyframes visto { 0%, 40% { transform: scale(0); } 55%, 90% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes encaixa { 0% { transform: translateY(-34px); opacity: 0; } 30%, 88% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@keyframes tubo { 0%, 30% { stroke-dashoffset: 1; } 70%, 100% { stroke-dashoffset: 0; } }
@keyframes sopro { 0%, 55% { opacity: 0; transform: translateY(-8px); } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .cena * { animation: none !important; } .po, .un, .tu { opacity: 1; } .vi { transform: scale(1); } .pt { transform: rotate(0); } .br, .so { opacity: 1; } }

/* a página se move conforme a rolagem (só onde o navegador sabe fazer, e se a pessoa permite movimento) */
.barra-rolagem { display: none; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .barra-rolagem { display: block; position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40; background: linear-gradient(90deg, #7DDCF2, #0B7391); transform-origin: left; animation: progresso linear both; animation-timeline: scroll(root); }
    .cab { animation: cabecalho linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
    .hero-texto { animation: sair-texto linear both; animation-timeline: view(); animation-range: exit 10% exit 80%; }
    .hero-cena { animation: sair-cena linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    .tit { animation: titulo linear backwards; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .rv { animation: revelar linear backwards; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    .rv-l, .rv-r { animation: revelar linear backwards; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    .zoom { animation: zoom linear backwards; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    #servicos .bloco:nth-child(1) { animation: card-sobe linear backwards; animation-timeline: view(); animation-range: entry 0% entry 50%; }
    #servicos .bloco:nth-child(2) { animation: card-sobe linear backwards; animation-timeline: view(); animation-range: entry 10% entry 62%; }
    #servicos .bloco:nth-child(3) { animation: card-sobe linear backwards; animation-timeline: view(); animation-range: entry 20% entry 74%; }
    .rodape-grade { animation: revelar linear backwards; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 761px) {
    .rv-l { animation-name: vem-esq; }
    .rv-r { animation-name: vem-dir; }
    .lista-rv > li { animation: vem-esq linear backwards; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    .lista-rv > li:nth-child(2) { animation-range: entry 8% entry 86%; }
    .lista-rv > li:nth-child(3) { animation-range: entry 16% entry 92%; }
    .lista-rv > li:nth-child(4) { animation-range: entry 24% entry 98%; }
    .lista-rv > li:nth-child(5) { animation-range: entry 32% entry 104%; }
  }
}
@keyframes progresso { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes cabecalho { to { background-color: var(--vidro2); box-shadow: 0 8px 30px -20px rgba(10,32,54,.45); } }
@keyframes sair-texto { to { opacity: 0; transform: translateY(-70px) scale(.94); } }
@keyframes sair-cena { to { transform: translateY(70px) scale(1.05); opacity: .35; } }
@keyframes titulo { from { opacity: 0; transform: translateY(40px) scale(.97); letter-spacing: -0.075em; } }
@keyframes vem-esq { from { opacity: 0; transform: translateX(-70px); } }
@keyframes vem-dir { from { opacity: 0; transform: translateX(70px); } }
@keyframes zoom { from { opacity: 0; transform: scale(.88); } }
@keyframes card-sobe { from { opacity: 0; transform: translateY(90px) scale(.94) rotate(.6deg); } }

/* ---------- telas estreitas */
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .tema-btn { margin-left: auto; }
  .nav-burger { display: inline-flex; }
  .btn { font-size: 16px; }
  .zap-fixo { right: 14px; bottom: 14px; min-height: 52px; padding: 0 18px 0 14px; font-size: 15px; }
  .marca-link span { font-size: 15px; }
}
@media print {
  .cab, .zap-fixo, .barra-rolagem, .tema-btn { display: none !important; }
  body { background: #fff; color: #000; }
}

/* a logomarca tem letras azul-escuras: no tema escuro ela fica sobre um fundo claro */
:root[data-tema="escuro"] .rodape-logo img { background: #fff; border-radius: 22px; padding: 8px; width: 104px; }
@media (prefers-color-scheme: dark) { :root:not([data-tema="claro"]) .rodape-logo img { background: #fff; border-radius: 22px; padding: 8px; width: 104px; } }

/* rodapé no celular: logo em cima, tudo centralizado e compacto */
@media (max-width: 760px) {
  .rodape { padding: 32px 20px 18px; }
  .rodape-grade { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; }
  .rodape-logo { order: -1; }
  .rodape-logo img { width: 96px; }
  .rodape-contato { align-items: center; }
  .rodape-info { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; text-align: center; gap: 4px 18px; }
  .rodape-info .rodape-h { flex-basis: 100%; }
  .rodape-fim { justify-content: center; text-align: center; margin-top: 22px; }
}

.zap-fixo { transition: transform .28s cubic-bezier(.2,.8,.2,1), background-color .28s, opacity .3s, visibility .3s; }
.zap-fixo.escondido { opacity: 0; visibility: hidden; transform: translateY(20px); pointer-events: none; }
:root[data-tema="escuro"] .rodape .rodape-zap { background: #17385A; }
:root[data-tema="escuro"] .rodape .rodape-zap:hover { background: #1E4670; }
@media (prefers-color-scheme: dark) { :root:not([data-tema="claro"]) .rodape .rodape-zap { background: #17385A; } :root:not([data-tema="claro"]) .rodape .rodape-zap:hover { background: #1E4670; } }
