/* =====================================================================
   Vinícius Piscinas — estilos
   Azul-piscina do logo, marinho profundo, branco de borda e o amarelo
   da boia. Água em movimento em todo lugar.
   ===================================================================== */

@font-face { font-family: "Outfit"; src: url("../fontes/outfit.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fontes/nunito.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fontes/caveat.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --fundo: #f5fbfe;
  --agua-50: #e8f8fd;
  --agua-100: #c9eefa;
  --agua-200: #9fe0f5;
  --agua: #1db3e6;
  --azul: #0a74c8;
  --marinho: #062e57;
  --abismo: #041d38;
  --tinta: #0c2a44;
  --suave: #56708a;
  --sol: #ffc83a;
  --sol-escuro: #e9a90c;
  --lodo: #6f8a2a;
  --whats: #1f9e55;
  --linha: rgba(10, 116, 200, .14);
  --titulo: "Outfit", "Segoe UI", system-ui, sans-serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mao: "Caveat", "Segoe Print", cursive;
  --lateral: clamp(16px, 5vw, 64px);
  --largura: 1220px;
  --topo-h: 74px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --mola: cubic-bezier(.34, 1.56, .64, 1);
  --sombra: 0 26px 50px -28px rgba(6, 46, 87, .5);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--fundo); color: var(--tinta); font: 400 16.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--titulo); font-weight: 700; line-height: 1.06; letter-spacing: -.02em; color: var(--marinho); }
h1 em, h2 em { font-style: normal; color: var(--agua); }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; }
[hidden] { display: none !important; }
svg { flex: none; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: -999px; top: 8px; z-index: 400; padding: 10px 16px; border-radius: 10px; background: var(--marinho); color: #fff; }
.pular:focus { left: 8px; }

.rotulo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 700 13px/1.4 var(--titulo); letter-spacing: .16em; text-transform: uppercase; color: var(--azul); }
.rotulo::before { content: ""; width: 22px; height: 10px; background: radial-gradient(circle at 5px 5px, currentColor 3px, transparent 3.5px) 0 0 / 11px 10px repeat-x; }
.secao { max-width: var(--largura); margin: clamp(90px, 12vw, 150px) auto 0; padding: 0 var(--lateral); }
.secao-topo { max-width: 740px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.secao-topo h2, .ad-texto h2, .lab-texto h2, .aval-nota h2, .orc-texto h2, .contato h2 { font-size: clamp(32px, 4.6vw, 56px); }
.secao-lead { margin-top: 16px; color: var(--suave); font-size: 18px; }

.js [data-revelar] { opacity: 0; translate: 0 34px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
.js [data-revelar].visivel { opacity: 1; translate: 0 0; }

/* ---------- botões ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 1.5px solid transparent; border-radius: 999px; font: 700 15.5px/1.2 var(--titulo); text-decoration: none; text-align: center; overflow: hidden; isolation: isolate; transition: background .25s, color .25s, border-color .25s, transform .25s var(--mola), box-shadow .25s; }
.btn:active { transform: scale(.96); }
/* bolha de água que sobe no hover */
.btn::after { content: ""; position: absolute; left: 50%; bottom: -120%; z-index: -1; width: 140%; aspect-ratio: 1; border-radius: 42%; background: rgba(255, 255, 255, .22); translate: -50% 0; transition: bottom .6s var(--ease), rotate 1.2s linear; }
.btn:hover::after { bottom: -60%; rotate: 120deg; }
.btn-sol { background: var(--sol); color: var(--marinho); box-shadow: 0 14px 30px -14px rgba(233, 169, 12, .9); }
.btn-sol:hover { background: #ffd35c; transform: translateY(-2px); }
.btn-azul { background: var(--azul); color: #fff; box-shadow: 0 14px 30px -14px rgba(10, 116, 200, .9); }
.btn-azul:hover { background: #0b82e0; transform: translateY(-2px); }
.btn-azul:disabled { background: #cfdbe6; color: #7d91a5; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-vidro { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-vidro:hover { background: rgba(255, 255, 255, .26); transform: translateY(-2px); }
.btn-linha { border-color: var(--agua-200); background: #fff; color: var(--azul); }
.btn-linha:hover { border-color: var(--azul); transform: translateY(-2px); }
.btn-whats { background: var(--whats); color: #fff; }
.btn-whats svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn-texto { min-height: 40px; padding: 8px 12px; border: 0; background: none; color: var(--suave); text-decoration: underline; text-underline-offset: 4px; }
.btn-texto::after { display: none; }
.btn-grande { min-height: 56px; padding: 15px 30px; font-size: 16.5px; }
.icone-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--agua-200); border-radius: 50%; background: #fff; color: var(--azul); }
.icone-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.progresso-pagina { position: fixed; inset: 0 0 auto; z-index: 120; height: 3px; pointer-events: none; }
.progresso-pagina span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--agua), var(--azul), var(--sol)); }

/* ---------- topo ---------- */
.topo { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--topo-h); padding: 0 var(--lateral); color: #fff; transition: background .3s, box-shadow .3s, color .3s; }
.topo.rolado { background: rgba(245, 251, 254, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--linha), 0 10px 30px -24px rgba(6, 46, 87, .5); color: var(--marinho); }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca-gota { width: 40px; height: 40px; color: var(--agua); filter: drop-shadow(0 6px 10px rgba(29, 179, 230, .35)); }
.marca:hover .marca-gota { animation: pinga .8s var(--mola); }
@keyframes pinga { 30% { translate: 0 -8px; scale: .9 1.1; } 60% { translate: 0 2px; scale: 1.1 .9; } }
.marca-nome { display: grid; grid-template-columns: auto auto; column-gap: 6px; align-items: baseline; line-height: 1; }
.marca-nome b { font: 800 23px/1 var(--titulo); letter-spacing: -.02em; }
.marca-nome > span { font: 500 23px/1 var(--titulo); color: var(--agua); }
.marca-nome small { grid-column: 1 / -1; margin-top: 4px; font: 700 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.menu { display: flex; gap: 2px; }
.menu a { padding: 8px 12px; border-radius: 999px; font-size: 15px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.menu a:hover { background: rgba(29, 179, 230, .16); }
.topo-acoes { display: flex; align-items: center; gap: 12px; }
.status-topo { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; white-space: nowrap; opacity: .85; }
.status-topo::before, .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9fb3c6; }
.status-topo.aberto::before, .status.aberto::before { background: #2fd38a; animation: pulso 2s infinite; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(47, 211, 138, .6); } 70% { box-shadow: 0 0 0 8px rgba(47, 211, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 211, 138, 0); } }
.btn-topo { min-height: 44px; padding: 10px 20px; font-size: 14.5px; }
.menu-btn { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 12px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.topo.rolado .menu-btn { background: var(--agua-50); }
.menu-btn span { height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1200px) { .status-topo { display: none; } }
@media (max-width: 1040px) {
  .menu-btn { display: flex; }
  .menu { position: absolute; top: calc(var(--topo-h) - 6px); right: var(--lateral); flex-direction: column; min-width: 230px; padding: 10px; border: 1px solid var(--linha); border-radius: 22px; background: #fff; color: var(--marinho); box-shadow: var(--sombra); opacity: 0; translate: 0 -10px; pointer-events: none; transition: opacity .25s, translate .25s var(--ease); }
  .menu.aberto { opacity: 1; translate: 0 0; pointer-events: auto; }
  .menu a { padding: 12px 16px; }
}
@media (max-width: 560px) { .btn-topo { display: none; } .marca-nome b, .marca-nome > span { font-size: 21px; } }

/* ---------- capa ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 60px); align-items: center; min-height: 100svh; padding: calc(var(--topo-h) + 30px) var(--lateral) 140px; overflow: hidden; background: #2bb7e0; color: #fff; isolation: isolate; }
.hero-agua { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; background: url("../img/agua.webp") center / cover; }
.hero-sombra { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(100deg, rgba(4, 29, 56, .86) 0%, rgba(6, 46, 87, .62) 42%, rgba(6, 46, 87, .1) 75%), linear-gradient(0deg, rgba(4, 29, 56, .35), transparent 40%); }
.hero-texto { position: relative; max-width: 640px; justify-self: end; pointer-events: none; }
.hero-texto a, .hero-texto button { pointer-events: auto; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 7px 16px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); font: 700 14px/1.2 var(--titulo); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.kicker svg { width: 20px; height: 20px; color: var(--sol); }
.hero h1 { font-size: clamp(38px, 5.4vw, 70px); line-height: 1; color: #fff; text-shadow: 0 4px 30px rgba(4, 29, 56, .4); }
.hero h1 em { display: inline-block; color: var(--agua-100); }
.onda-letra { display: inline-block; animation: boia-letra 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * -.16s); }
@keyframes boia-letra { 0%, 100% { translate: 0 0; } 50% { translate: 0 -.08em; } }
.hero-lead { max-width: 560px; margin-top: 22px; font-size: 18.5px; color: rgba(255, 255, 255, .88); }
.hero-lead strong { color: #fff; }
.hero-botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-nota { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 15px; text-decoration: none; color: rgba(255, 255, 255, .85); }
.hero-nota strong { color: #fff; }
.estrelas { color: var(--sol); letter-spacing: 2px; }
.js .hero-texto > * { opacity: 0; translate: 0 26px; animation: entra .9s var(--ease) forwards; }
.js .hero-texto > :nth-child(2) { animation-delay: .12s; }
.js .hero-texto > :nth-child(3) { animation-delay: .24s; }
.js .hero-texto > :nth-child(4) { animation-delay: .36s; }
.js .hero-texto > :nth-child(5) { animation-delay: .48s; }
@keyframes entra { to { opacity: 1; translate: 0 0; } }

/* jogo das folhas */
.lago { position: relative; align-self: stretch; min-height: 420px; }
.lago-hud { position: absolute; left: 50%; top: 4%; z-index: 3; display: flex; align-items: center; gap: 12px; max-width: 100%; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(4, 29, 56, .5); border: 1px solid rgba(255, 255, 255, .25); font-size: 13.5px; font-weight: 700; translate: -50% 0; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; }
.lago-hud b { display: grid; place-items: center; min-width: 46px; height: 32px; padding: 0 10px; border-radius: 999px; background: var(--sol); color: var(--marinho); font: 800 15px/1 var(--titulo); }
.lago-hud b.pulou { animation: pop .45s var(--mola); }
.lago-folhas { position: absolute; inset: 14% 0 4%; }
.folha { position: absolute; left: var(--x); top: var(--y); width: 54px; height: 54px; padding: 6px; border: 0; background: none; color: var(--c, #6f9a2a); cursor: pointer; animation: deriva var(--d, 9s) ease-in-out infinite alternate; touch-action: manipulation; }
.folha svg { width: 100%; height: 100%; rotate: var(--r, 0deg); filter: drop-shadow(0 6px 4px rgba(4, 29, 56, .35)); transition: transform .2s var(--mola); }
.folha:hover svg { transform: scale(1.15); }
@keyframes deriva { 0% { translate: 0 0; rotate: 0deg; } 50% { translate: var(--dx, 14px) 10px; rotate: 12deg; } 100% { translate: calc(var(--dx, 14px) * -1) -8px; rotate: -10deg; } }
.folha.pega { pointer-events: none; animation: none; }
.folha.pega svg { animation: some-folha .7s var(--ease) forwards; }
@keyframes some-folha { 40% { transform: translateY(-10px) scale(.8); } 100% { transform: translate(40px, -90px) scale(.2) rotate(140deg); opacity: 0; } }
.peneira { position: absolute; z-index: 4; width: 110px; height: 110px; pointer-events: none; translate: -30% -62%; animation: peneira .75s var(--ease) forwards; }
@keyframes peneira { 0% { opacity: 0; rotate: 40deg; scale: .7; } 30% { opacity: 1; rotate: 0deg; scale: 1; } 70% { opacity: 1; rotate: -18deg; translate: -10% -95%; } 100% { opacity: 0; rotate: -30deg; translate: 10% -140%; } }
.respingo { position: absolute; z-index: 4; width: 8px; height: 8px; border-radius: 50%; background: #fff; pointer-events: none; animation: respingo .7s ease-out forwards; }
@keyframes respingo { to { translate: var(--dx) var(--dy); opacity: 0; scale: .3; } }
.lago-limpo { position: absolute; left: 50%; top: 50%; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; width: min(320px, 90%); padding: 26px 22px; border-radius: 28px; background: rgba(4, 29, 56, .55); border: 1px solid rgba(255, 255, 255, .3); text-align: center; translate: -50% -50%; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: pop .6s var(--mola); }
.lago-limpo strong { font: 800 28px/1.1 var(--titulo); }
.lago-limpo span { color: rgba(255, 255, 255, .85); }
.lago-limpo .btn { margin-top: 8px; }
.brilho { position: absolute; z-index: 3; width: 22px; height: 22px; pointer-events: none; background: radial-gradient(circle, #fff 0 18%, transparent 20%), conic-gradient(from 0deg, transparent 0 40deg, #fff 45deg 50deg, transparent 55deg 130deg, #fff 135deg 140deg, transparent 145deg 220deg, #fff 225deg 230deg, transparent 235deg 310deg, #fff 315deg 320deg, transparent 325deg); border-radius: 50%; animation: brilha 1.6s ease-in-out forwards; }
@keyframes brilha { 0% { scale: 0; rotate: 0deg; } 40% { scale: 1.3; } 100% { scale: 0; rotate: 180deg; opacity: 0; } }
@keyframes pop { from { scale: .5; opacity: 0; } }

.ondas { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; width: 100%; height: 110px; pointer-events: none; }
.onda { animation: onda 14s linear infinite; }
.onda.o1 { fill: var(--agua-100); opacity: .7; }
.onda.o2 { fill: var(--fundo); animation-duration: 9s; animation-direction: reverse; }
@keyframes onda { to { transform: translateX(-720px); } }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: calc(var(--topo-h) + 26px); padding-bottom: 110px; text-align: center; }
  .hero-sombra { background: linear-gradient(180deg, rgba(4, 29, 56, .82), rgba(6, 46, 87, .55) 55%, rgba(6, 46, 87, .15)); }
  .hero-texto { justify-self: center; }
  .hero-lead { margin-inline: auto; }
  .hero-botoes { justify-content: center; }
  .lago { min-height: 300px; }
  .lago-hud { white-space: normal; font-size: 12.5px; width: max-content; max-width: calc(100% - 8px); }
}
@media (max-width: 480px) { .hero-botoes .btn { width: 100%; } .folha { width: 48px; height: 48px; } .lago-dica { line-height: 1.25; } }

/* ---------- faixa ---------- */
.faixa-caixa { position: relative; z-index: 3; margin-top: -54px; padding: 24px 0; overflow: hidden; }
.faixa { overflow: hidden; padding: 16px 0; background: var(--marinho); color: #fff; rotate: -1.6deg; scale: 1.04; }
.faixa-trilho { display: flex; width: max-content; animation: faixa 32s linear infinite; }
.faixa-trilho span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font: 700 24px/1 var(--titulo); white-space: nowrap; }
.faixa-trilho span::after { content: ""; width: 14px; height: 18px; background: var(--agua); clip-path: path("M7 0C7 0 0 8 0 12a7 7 0 0 0 14 0C14 8 7 0 7 0z"); }
.faixa-trilho span:nth-child(3n)::after { background: var(--sol); }
@keyframes faixa { to { transform: translateX(-50%); } }

/* ---------- números ---------- */
.numeros { max-width: var(--largura); margin: 56px auto 0; padding: 0 var(--lateral); }
.numeros ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.numeros li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 12px; overflow: hidden; border-radius: 26px; background: #fff; border: 1px solid var(--linha); text-align: center; isolation: isolate; transition: transform .3s var(--mola), box-shadow .3s; }
.numeros li::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: -70%; z-index: -1; height: 100%; border-radius: 40%; background: var(--agua-50); animation: nivel 7s linear infinite; }
.numeros li:nth-child(2)::before { animation-delay: -2s; } .numeros li:nth-child(3)::before { animation-delay: -4s; } .numeros li:nth-child(4)::before { animation-delay: -5.5s; }
@keyframes nivel { to { rotate: 360deg; } }
.numeros li:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.numeros strong { font: 800 clamp(34px, 4.2vw, 50px)/1 var(--titulo); color: var(--azul); }
.numeros li > span { font-size: 14.5px; color: var(--suave); }
@media (max-width: 760px) { .numeros ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- serviços ---------- */
.servicos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.servico { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 22px; overflow: hidden; border: 1px solid var(--linha); border-radius: 28px; background: #fff; isolation: isolate; transition: transform .4s var(--mola), box-shadow .4s, color .4s; }
.servico::before { content: ""; position: absolute; left: -20%; right: -20%; top: 125%; z-index: -1; height: 140%; border-radius: 42%; background: linear-gradient(180deg, var(--agua), var(--azul)); transition: top .8s var(--ease); animation: nivel 9s linear infinite; }
.servico:hover { transform: translateY(-8px); box-shadow: var(--sombra); color: #fff; }
.servico:hover::before { top: -20%; }
.servico:hover h3, .servico:hover p, .servico:hover .btn-texto { color: #fff; }
.servico:hover .ic { background: rgba(255, 255, 255, .18); color: #fff; }
.servico .ic { width: 64px; height: 64px; padding: 8px; border-radius: 20px; background: var(--agua-50); color: var(--azul); transition: background .4s, color .4s; }
.servico h3 { font-size: 22px; transition: color .4s; }
.servico p { color: var(--suave); font-size: 15.5px; transition: color .4s; }
.servico .btn-texto { display: inline-flex; align-self: flex-start; margin-top: auto; padding: 8px 0; color: var(--azul); font: 700 15px var(--titulo); text-decoration: none; transition: color .4s; }
.servico .btn-texto::before { content: "→"; order: 2; margin-left: 6px; transition: translate .3s var(--mola); }
.servico:hover .btn-texto::before { translate: 6px 0; }
.js .servico { opacity: 0; translate: 0 40px; transition: opacity .8s var(--ease), translate .8s var(--ease), transform .4s var(--mola), box-shadow .4s; transition-delay: calc(var(--i) * 90ms); }
.js .servico.visivel { opacity: 1; translate: 0 0; }
@media (max-width: 980px) { .servicos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .servicos { grid-template-columns: minmax(0, 1fr); } }

.ic { fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ic .cheio { fill: currentColor; stroke: none; }
.ic-rede .rede { transform-origin: 8px 40px; animation: rede 2.6s ease-in-out infinite; }
@keyframes rede { 0%, 100% { rotate: 0deg; } 50% { rotate: -22deg; } }
.ic-gota .bolha { animation: bolha-ic 2.2s ease-in infinite; }
.ic-gota .bolha.b { animation-delay: .7s; } .ic-gota .bolha.c { animation-delay: 1.4s; }
@keyframes bolha-ic { 0% { translate: 0 6px; opacity: 0; } 30% { opacity: 1; } 100% { translate: 0 -12px; opacity: 0; } }
.ic-verde .agua-ic { animation: clareia 4s ease-in-out infinite; }
@keyframes clareia { 0%, 20% { fill: #7d9a2c; } 60%, 100% { fill: #1db3e6; } }
.ic-engrenagem .eng { transform-origin: 20px 26px; animation: gira 4s linear infinite; }
.ic-engrenagem .eng.b { transform-origin: 34px 16px; animation-direction: reverse; animation-duration: 3s; }
@keyframes gira { to { rotate: 360deg; } }
.ic-agenda .marca-check { stroke-dasharray: 20; stroke-dashoffset: 20; animation: risca-loop 3s ease-in-out infinite; }
@keyframes risca-loop { 30%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -20; } }
.ic-predio .janela { animation: acende 3s steps(1) infinite; }
.ic-predio .janela:nth-child(2) { animation-delay: .6s; } .ic-predio .janela:nth-child(3) { animation-delay: 1.2s; } .ic-predio .janela:nth-child(4) { animation-delay: 1.8s; }
@keyframes acende { 50% { fill: var(--sol); } }

/* ---------- antes e depois ---------- */
.antes-depois { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.ad-texto > p:not(.rotulo) { margin-top: 18px; color: var(--suave); font-size: 17px; }
.ad-lista { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.ad-lista li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.ad-lista b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--agua-50); color: var(--azul); font: 800 16px/1 var(--titulo); }
.comparar { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 30px; box-shadow: var(--sombra); user-select: none; touch-action: pan-y; }
.comparar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comparar-depois { animation: brilho-agua 6s ease-in-out infinite; }
@keyframes brilho-agua { 50% { filter: saturate(1.15) brightness(1.04); } }
.comparar-antes { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.comparar-antes img { filter: saturate(.75) brightness(.9) contrast(.95); }
.lodo { position: absolute; inset: 0; clip-path: polygon(21.3% 69.5%, 86% 64%, 100% 69.5%, 100% 100%, 22% 100%); background: radial-gradient(60% 50% at 40% 80%, rgba(70, 92, 20, .55), transparent 70%), linear-gradient(180deg, rgba(104, 128, 38, .92), rgba(66, 84, 20, .95)); mix-blend-mode: multiply; }
.lodo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 85%, rgba(160, 180, 60, .5) 0 4%, transparent 5%), radial-gradient(circle at 70% 78%, rgba(160, 180, 60, .4) 0 6%, transparent 7%); animation: lodo 8s ease-in-out infinite alternate; }
@keyframes lodo { to { translate: 4% -2%; } }
.comparar-folhas .folha-antes { position: absolute; width: 4.2%; color: #7a5a1c; rotate: var(--r); animation: deriva 8s ease-in-out infinite alternate; }
.comparar-folhas .folha-antes svg { width: 100%; height: auto; }
.comparar-rotulo { position: absolute; top: 16px; padding: 6px 14px; border-radius: 999px; background: rgba(4, 29, 56, .6); color: #fff; font: 700 14px/1.2 var(--titulo); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; }
.r-antes { left: 16px; } .r-depois { right: 16px; }
.comparar-linha { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; translate: -50% 0; pointer-events: none; box-shadow: 0 0 12px rgba(0, 0, 0, .3); }
.comparar-linha i { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--azul); translate: -50% -50%; box-shadow: 0 10px 24px -8px rgba(4, 29, 56, .6); }
.comparar-linha i::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: anel-whats 2s ease-out infinite; }
.comparar-linha svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.comparar-range { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.comparar-range:focus-visible + .comparar-nota { outline: 2px solid #fff; }
.comparar:has(.comparar-range:focus-visible) .comparar-linha i { outline: 3px solid var(--sol); }
.comparar-nota { position: absolute; right: 12px; bottom: 10px; padding: 4px 10px; border-radius: 8px; background: rgba(4, 29, 56, .5); color: rgba(255, 255, 255, .85); font-size: 12px; pointer-events: none; }
@media (max-width: 900px) { .antes-depois { grid-template-columns: minmax(0, 1fr); } .comparar { aspect-ratio: 4 / 3; } .comparar img { object-position: 70% 50%; } }

/* ---------- laboratório da água ---------- */
.laboratorio { position: relative; max-width: calc(var(--largura) + 2 * var(--lateral)); margin: clamp(90px, 12vw, 150px) auto 0; padding: clamp(50px, 7vw, 90px) clamp(22px, 5vw, 70px); overflow: hidden; border-radius: clamp(0px, 4vw, 48px); color: #fff; isolation: isolate;
  background: radial-gradient(70% 80% at 85% 10%, rgba(29, 179, 230, .45), transparent 60%), linear-gradient(160deg, var(--marinho), var(--abismo)); }
.lab-bolhas { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bolha-sobe { position: absolute; bottom: -30px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; border: 1.5px solid rgba(201, 238, 250, .5); background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .5), transparent 40%); animation: sobe-bolha var(--d) linear infinite; animation-delay: var(--atraso); }
@keyframes sobe-bolha { 0% { translate: 0 0; opacity: 0; } 10% { opacity: 1; } 50% { translate: 18px -50vh; } 100% { translate: -10px -110vh; opacity: 0; } }
.lab-grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.laboratorio h2 { color: #fff; }
.laboratorio h2 em { color: var(--agua-200); }
.laboratorio .rotulo { color: var(--agua-200); }
.lab-texto > p:not(.rotulo) { margin-top: 16px; color: rgba(255, 255, 255, .8); font-size: 17px; }
.controles { display: grid; gap: 18px; margin-top: 28px; }
.controle { display: grid; gap: 8px; }
.controle-topo { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; }
.controle-topo output { font: 800 18px/1 var(--titulo); color: var(--sol); }
.controle-ideal { font-size: 13px; color: rgba(255, 255, 255, .65); }
.controle input[type="range"] { width: 100%; }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 30px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: var(--trilho, rgba(255, 255, 255, .2)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: var(--trilho, rgba(255, 255, 255, .2)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; border: 4px solid var(--agua); box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--agua); }
.lab-bancada { display: grid; gap: 22px; justify-items: center; }
.tubos { display: flex; justify-content: center; gap: clamp(18px, 4vw, 40px); }
.tubo { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tubo-vidro { position: relative; width: 58px; height: 190px; overflow: hidden; border: 3px solid rgba(255, 255, 255, .7); border-top: 0; border-radius: 0 0 30px 30px; background: rgba(255, 255, 255, .06); box-shadow: inset 8px 0 12px rgba(255, 255, 255, .12); }
.tubo-vidro::before { content: ""; position: absolute; left: -6px; right: -6px; top: 0; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .85); }
.tubo-liquido { position: absolute; left: 0; right: 0; bottom: 0; height: 72%; background: var(--cor, #f4a340); transition: background .6s ease; }
.tubo-liquido::before { content: ""; position: absolute; left: -50%; top: -10px; width: 200%; height: 20px; border-radius: 45%; background: inherit; animation: menisco 3s linear infinite; }
@keyframes menisco { to { translate: 25% 0; rotate: 4deg; } }
.tubo-liquido i { position: absolute; bottom: 6px; left: var(--x); width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .6); animation: bolha-tubo 2.4s ease-in infinite; animation-delay: var(--a); }
@keyframes bolha-tubo { to { translate: 0 -120px; opacity: 0; } }
.tubo strong { font: 700 15px/1 var(--titulo); }
.tubo small { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 12px; font-weight: 700; }
.tubo small.ok { background: #2fd38a; color: var(--abismo); }
.tubo small.ruim { background: #ff7a59; color: var(--abismo); }
.tubo.balanca .tubo-vidro { animation: chacoalha .5s ease-in-out; }
@keyframes chacoalha { 25% { rotate: -6deg; } 75% { rotate: 6deg; } }
.diagnostico { width: 100%; max-width: 460px; padding: 20px 22px; border-radius: 22px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.diagnostico h3 { color: #fff; font-size: 22px; }
.diagnostico ul { display: grid; gap: 8px; margin: 12px 0 16px; padding: 0; list-style: none; }
.diagnostico li { position: relative; padding-left: 26px; font-size: 15px; color: rgba(255, 255, 255, .88); }
.diagnostico li::before { content: "!"; position: absolute; left: 0; top: 2px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #ff7a59; color: var(--abismo); font: 800 12px/1 var(--titulo); }
.diagnostico li.ok::before { content: "✓"; background: #2fd38a; }
@media (max-width: 860px) { .lab-grade { grid-template-columns: minmax(0, 1fr); } .laboratorio { border-radius: 0; } }

/* ---------- calculadora ---------- */
.calc-grade { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 60px); align-items: center; }
.calc-campos { display: grid; gap: 18px; padding: clamp(22px, 3vw, 34px); border-radius: 30px; background: #fff; border: 1px solid var(--linha); box-shadow: var(--sombra); }
.formato { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 6px; border-radius: 18px; background: var(--agua-50); }
.formato button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 0; border-radius: 14px; background: none; font: 700 15px var(--titulo); color: var(--suave); transition: background .25s, color .25s; }
.formato button[aria-checked="true"] { background: #fff; color: var(--azul); box-shadow: 0 6px 14px -8px rgba(6, 46, 87, .4); }
.f-ret, .f-red { width: 22px; height: 14px; border: 2.5px solid currentColor; border-radius: 3px; }
.f-red { width: 18px; height: 18px; border-radius: 50%; }
.medida { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; font-weight: 700; color: var(--marinho); }
.medida input { grid-column: 1 / -1; --trilho: var(--agua-100); }
.medida output { font: 800 18px/1 var(--titulo); color: var(--azul); }
.volume { display: grid; gap: 2px; padding: 16px 18px; border-radius: 20px; background: linear-gradient(135deg, var(--agua-50), #fff); border: 1px solid var(--agua-100); }
.volume small { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--suave); }
.volume strong { font: 800 clamp(30px, 3.6vw, 40px)/1.1 var(--titulo); color: var(--marinho); font-variant-numeric: tabular-nums; }
.volume > span { font-size: 14.5px; color: var(--suave); }
.calc-visual svg { width: 100%; height: auto; overflow: visible; }
.iso-borda { fill: #f2ede4; stroke: #d8cfbf; stroke-width: 2; stroke-linejoin: round; }
.iso-parede { stroke: rgba(6, 46, 87, .15); stroke-width: 1; }
.iso-parede.a { fill: #bfe9f7; }
.iso-parede.b { fill: #a3dcf1; }
.iso-fundo { fill: #8fd3ec; }
.iso-agua { fill: rgba(120, 214, 245, .75); stroke: rgba(255, 255, 255, .85); stroke-width: 2; stroke-linejoin: round; }
.iso-agua-lado { fill: rgba(29, 179, 230, .55); stroke: rgba(255, 255, 255, .35); stroke-width: 1; stroke-linejoin: round; }
.iso-agua-lado.b { fill: rgba(10, 116, 200, .55); }
.iso-aresta { fill: none; stroke: #fff; stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; }
.iso-vidro { fill: none; stroke: rgba(6, 46, 87, .35); stroke-width: 1.5; stroke-dasharray: 5 5; }
.iso-chao { fill: rgba(6, 46, 87, .08); }
.iso-reflexo { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 18 26; animation: reflexo 3s linear infinite; }
@keyframes reflexo { to { stroke-dashoffset: -88; } }
.iso-cota { font: 700 16px var(--titulo); fill: var(--marinho); }
.iso-linha-cota { stroke: var(--suave); stroke-width: 1.5; stroke-dasharray: 4 4; }
.iso-boia { animation: boia-iso 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes boia-iso { 50% { translate: 0 -5px; rotate: 8deg; } }
@media (max-width: 900px) { .calc-grade { grid-template-columns: minmax(0, 1fr); } .calc-visual { order: -1; } }

/* ---------- como funciona ---------- */
.raia { position: relative; padding-top: 70px; }
.raia-linha { position: absolute; left: 0; right: 0; top: 0; height: 70px; border-radius: 40px; overflow: hidden; background: var(--agua-50); border: 1px solid var(--agua-100); }
.raia-linha::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; translate: 0 -50%; background: repeating-linear-gradient(90deg, #e34b4b 0 14px, #fff 14px 28px, var(--azul) 28px 42px, #fff 42px 56px); border-radius: 6px; opacity: .8; }
.raia-agua { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, rgba(29, 179, 230, .1), rgba(29, 179, 230, .35)); }
.nadador { position: absolute; left: calc(var(--p, 0) * (100% - 70px)); top: 4px; width: 62px; height: 62px; rotate: 90deg; }
.nadador svg { width: 100%; height: 100%; overflow: visible; }
.nadador .corpo { fill: #f1c7a1; }
.nadador .touca { fill: var(--sol); }
.nadador .oculos { stroke: var(--marinho); stroke-width: 3; stroke-linecap: round; }
.nadador .braco { stroke: #f1c7a1; stroke-width: 6; stroke-linecap: round; transform-origin: 30px 30px; }
.nadador .braco.a { animation: braco 1s ease-in-out infinite; }
.nadador .braco.b { animation: braco 1s ease-in-out -.5s infinite; }
@keyframes braco { 0%, 100% { rotate: 0deg; } 50% { rotate: 150deg; } }
.nadador .braco.b { animation-name: braco-b; }
@keyframes braco-b { 0%, 100% { rotate: 0deg; } 50% { rotate: -150deg; } }
.nadador .pernas { stroke: #f1c7a1; stroke-width: 5; stroke-linecap: round; animation: perna .35s ease-in-out infinite alternate; transform-origin: 30px 45px; }
@keyframes perna { to { scale: 1 .8; } }
.espuma { position: absolute; left: 50%; bottom: -6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; opacity: .8; animation: espuma .7s ease-out infinite; }
.espuma.b { animation-delay: .35s; left: 40%; }
@keyframes espuma { to { translate: 0 22px; scale: 2; opacity: 0; } }
.etapas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 26px 0 0; padding: 0; list-style: none; counter-reset: etapa; }
.etapas li { position: relative; padding: 22px 20px; border-radius: 24px; background: #fff; border: 1px solid var(--linha); counter-increment: etapa; transition: transform .4s var(--mola), box-shadow .4s, border-color .4s; }
.etapas li::before { content: counter(etapa); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 50%; background: var(--agua-50); color: var(--azul); font: 800 18px/1 var(--titulo); transition: background .4s, color .4s; }
.etapas strong { display: block; font: 700 19px/1.2 var(--titulo); color: var(--marinho); }
.etapas span { display: block; margin-top: 6px; font-size: 15px; color: var(--suave); }
.etapas li.chegou { transform: translateY(-6px); box-shadow: var(--sombra); border-color: var(--agua-200); }
.etapas li.chegou::before { background: var(--agua); color: #fff; }
@media (max-width: 860px) {
  .raia { padding: 0 0 0 64px; }
  .raia-linha { top: 0; bottom: 0; left: 0; right: auto; width: 46px; height: auto; }
  .raia-linha::before { left: 50%; right: auto; top: 0; bottom: 0; width: 6px; height: auto; translate: -50% 0; background: repeating-linear-gradient(180deg, #e34b4b 0 14px, #fff 14px 28px, var(--azul) 28px 42px, #fff 42px 56px); }
  .raia-agua { left: 0; right: 0; width: auto; height: calc(var(--p, 0) * 100%); background: linear-gradient(180deg, rgba(29, 179, 230, .1), rgba(29, 179, 230, .35)); }
  .nadador { left: -8px; top: calc(var(--p, 0) * (100% - 62px)); rotate: 180deg; }
  .etapas { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
}

/* ---------- galeria ---------- */
.galeria { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 14px; }
.foto-galeria { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 24px; background: var(--agua-100); cursor: zoom-in; }
.foto-galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.foto-galeria:hover img { transform: scale(1.08); }
.foto-galeria::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .35) 45%, transparent 60%); translate: -100% 0; transition: translate .9s var(--ease); }
.foto-galeria:hover::after { translate: 100% 0; }
.foto-galeria span { position: absolute; left: 12px; bottom: 12px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font: 700 13px/1.2 var(--titulo); color: var(--marinho); }
.foto-galeria.alta { grid-row: span 2; }
.foto-galeria.larga { grid-column: span 2; }
@media (max-width: 760px) { .galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; } }

/* ---------- avaliações ---------- */
.avaliacoes { position: relative; margin-top: clamp(90px, 12vw, 150px); padding: clamp(70px, 9vw, 120px) var(--lateral); overflow: hidden; color: #fff; isolation: isolate; background: var(--marinho) url("../img/fundo-azulejo.webp") center / cover; }
.avaliacoes::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 29, 56, .55), rgba(4, 29, 56, .78)); }
.aval-bolhas { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aval-bolha { position: absolute; bottom: -80px; left: var(--x); display: grid; place-items: center; width: var(--s); height: var(--s); border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .55), rgba(29, 179, 230, .25) 45%, rgba(29, 179, 230, .1)); border: 1.5px solid rgba(255, 255, 255, .45); font: 800 calc(var(--s) * .38)/1 var(--titulo); color: #fff; animation: sobe-bolha var(--d) linear infinite; animation-delay: var(--atraso); }
.aval-conteudo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; max-width: var(--largura); margin: 0 auto; }
.aval-nota h2 { color: #fff; }
.aval-nota h2 em { color: var(--sol); }
.aval-nota .rotulo { color: var(--agua-200); }
.nota-numero { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.nota-numero strong { font: 800 clamp(64px, 8vw, 100px)/1 var(--titulo); }
.nota-estrelas { position: relative; font-size: 30px; letter-spacing: 3px; color: rgba(255, 255, 255, .25); }
.nota-estrelas::before { content: "★★★★★"; }
.nota-estrelas::after { content: "★★★★★"; position: absolute; left: 0; top: 0; overflow: hidden; width: 0; color: var(--sol); white-space: nowrap; transition: width 1.6s var(--ease) .4s; }
.visivel .nota-estrelas::after { width: 100%; }
.nota-sub { margin-top: 6px; color: rgba(255, 255, 255, .8); }
.aval-destaque { position: relative; margin: 0; padding: clamp(28px, 4vw, 44px); border-radius: 32px; background: rgba(255, 255, 255, .95); color: var(--tinta); box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .6); }
.aval-destaque::before { content: "“"; position: absolute; right: 24px; top: -18px; font: 800 150px/1 var(--titulo); color: var(--agua-100); }
.aval-destaque blockquote { position: relative; margin: 0; font: 600 clamp(22px, 2.6vw, 30px)/1.35 var(--titulo); color: var(--marinho); }
.aval-destaque figcaption { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(140deg, var(--agua), var(--azul)); color: #fff; font: 800 18px var(--titulo); }
.aval-destaque figcaption strong { display: block; color: var(--marinho); }
.aval-destaque figcaption small { color: var(--suave); }
.aval-destaque .estrelas { margin-left: auto; }
@media (max-width: 860px) { .aval-conteudo { grid-template-columns: minmax(0, 1fr); text-align: center; } .nota-numero { justify-content: center; } .aval-destaque { text-align: left; } }

/* ---------- orçamento (o "app") ---------- */
.orcamento { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(28px, 6vw, 90px); align-items: center; }
.cobrimos { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 18px 20px; border-radius: 22px; background: #fff7dd; border: 1px solid #ffe49a; }
.cobrimos svg { width: 50px; height: 50px; fill: none; stroke: var(--sol-escuro); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; animation: escudo 3s ease-in-out infinite; }
@keyframes escudo { 50% { scale: 1.08; rotate: -4deg; } }
.cobrimos p { color: var(--tinta); }
.cobrimos strong { display: block; font: 700 18px/1.3 var(--titulo); color: var(--marinho); }
.app { position: relative; display: flex; flex-direction: column; height: 700px; overflow: hidden; border: 10px solid var(--abismo); border-radius: 46px; background: #fff; box-shadow: 0 50px 80px -40px rgba(6, 46, 87, .65), 0 0 0 1px #12345a; }
.app-barra { padding: 10px 18px 0; background: linear-gradient(180deg, var(--agua-50), #fff); }
.app-status { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 800; color: var(--tinta); }
.app-notch { width: 90px; height: 22px; border-radius: 99px; background: var(--abismo); }
.app-cabecalho { display: flex; align-items: center; gap: 8px; padding: 14px 0 12px; }
.app-voltar { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 12px; background: var(--agua-100); color: var(--azul); }
.app-voltar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.app-passo { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--azul); }
.app-titulo { font-size: 24px; outline: none; }
.app-progresso { position: relative; height: 6px; margin: 0 -18px; background: var(--agua-50); overflow: hidden; }
.app-progresso span { position: relative; display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--agua), var(--azul)); transition: width .6s var(--ease); }
.app-progresso span::after { content: ""; position: absolute; right: -6px; top: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--azul); }
.app-corpo { position: relative; flex: 1; overflow-y: auto; padding: 18px; }
.tela { animation: tela-entra .45s var(--ease); }
.tela.volta { animation-name: tela-volta; }
@keyframes tela-entra { from { opacity: 0; translate: 30px 0; } }
@keyframes tela-volta { from { opacity: 0; translate: -30px 0; } }
.tela-rotulo { margin: 16px 0 10px; font-size: 13px; font-weight: 800; color: var(--suave); }
.tela-rotulo:first-child { margin-top: 0; }
.tipos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tipo { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 100px; padding: 12px; border: 1.5px solid var(--agua-100); border-radius: 18px; background: #fff; text-align: left; transition: border-color .2s, background .2s, transform .25s var(--mola); }
.tipo .ic { width: 32px; height: 32px; color: var(--azul); }
.tipo strong { font: 700 13.5px/1.25 var(--titulo); color: var(--marinho); }
.tipo::after { content: ""; position: absolute; right: 10px; top: 10px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--agua-200); transition: .2s; }
.tipo[aria-pressed="true"] { border-color: var(--azul); background: var(--agua-50); transform: scale(.97); }
.tipo[aria-pressed="true"]::after { border-color: var(--azul); background: var(--azul) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pilulas { display: flex; flex-wrap: wrap; gap: 8px; }
.pilula { min-height: 40px; padding: 6px 15px; border: 1.5px solid var(--agua-100); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; color: var(--marinho); transition: .2s; }
.pilula[aria-pressed="true"] { border-color: var(--azul); background: var(--azul); color: #fff; }
.dias { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.dia { flex: none; display: flex; flex-direction: column; align-items: center; width: 58px; padding: 8px 0; border: 1.5px solid var(--agua-100); border-radius: 16px; background: #fff; scroll-snap-align: start; }
.dia small { font-size: 11px; font-weight: 800; color: var(--suave); text-transform: uppercase; }
.dia strong { font: 800 22px/1.2 var(--titulo); color: var(--marinho); }
.dia:disabled { opacity: .35; cursor: not-allowed; }
.dia[aria-pressed="true"] { border-color: var(--azul); background: var(--azul); }
.dia[aria-pressed="true"] small, .dia[aria-pressed="true"] strong { color: #fff; }
.horas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hora { min-height: 42px; border: 1.5px solid var(--agua-100); border-radius: 14px; background: #fff; font-weight: 800; font-size: 15px; color: var(--marinho); }
.hora[aria-pressed="true"] { border-color: var(--sol-escuro); background: var(--sol); }
.horas-vazio { grid-column: 1 / -1; color: var(--suave); }
.formulario { display: grid; gap: 14px; }
.campo { display: grid; gap: 6px; font-size: 13px; font-weight: 800; color: var(--marinho); }
.campo small { font-weight: 400; color: var(--suave); }
.campo input, .campo textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--agua-100); border-radius: 14px; background: var(--fundo); font-size: 16px; font-weight: 400; resize: vertical; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px rgba(10, 116, 200, .15); }
.campo.erro input { border-color: #e0567f; }
.app-rodape { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px 18px; border-top: 1px solid var(--agua-100); background: #fff; }
.app-resumo { min-width: 0; }
.app-resumo small { display: block; font-size: 11px; font-weight: 800; color: var(--suave); text-transform: uppercase; letter-spacing: .06em; }
.app-resumo strong { display: block; overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; color: var(--marinho); }
.ticket { text-align: center; }
.ticket-check { display: grid; place-items: center; width: 68px; height: 68px; margin: 6px auto 12px; border-radius: 50%; background: var(--agua); box-shadow: 0 0 0 10px var(--agua-50); animation: pop .6s var(--mola); }
.ticket-check svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: desenha .6s .3s forwards; }
@keyframes desenha { to { stroke-dashoffset: 0; } }
.ticket-titulo { font: 800 30px/1.1 var(--titulo); color: var(--marinho); }
.ticket-sub { margin-top: 6px; color: var(--suave); font-size: 14px; }
.ticket-dados { display: grid; gap: 8px; margin: 18px 0; padding: 16px; border-radius: 18px; background: var(--agua-50); text-align: left; }
.ticket-dados div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; font-size: 14px; }
.ticket-dados dt { color: var(--suave); }
.ticket-dados dd { margin: 0; font-weight: 700; color: var(--marinho); }
.ticket-codigo { font-size: 13px; color: var(--suave); }
.ticket-codigo strong { margin-left: 6px; font-size: 18px; letter-spacing: .2em; color: var(--azul); }
.ticket-acoes { display: grid; gap: 8px; margin-top: 16px; }
.mergulho { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.mergulho .agua-sobe { position: absolute; left: -10%; right: -10%; bottom: -100%; height: 100%; border-radius: 40% 40% 0 0; background: linear-gradient(180deg, rgba(29, 179, 230, .85), rgba(10, 116, 200, .9)); animation: agua-sobe 1.6s var(--ease) forwards; }
@keyframes agua-sobe { 45% { bottom: -10%; } 100% { bottom: -110%; } }
.mergulho i { position: absolute; bottom: 30%; width: 10px; height: 10px; border-radius: 50%; background: #fff; opacity: .9; animation: gota-pula 1.1s ease-out forwards; animation-delay: .5s; }
@keyframes gota-pula { 0% { translate: 0 0; } 50% { translate: var(--dx) -160px; } 100% { translate: calc(var(--dx) * 1.6) 120px; opacity: 0; } }
@media (max-width: 860px) { .orcamento { grid-template-columns: minmax(0, 1fr); } .app { height: min(700px, 86svh); width: 100%; max-width: 420px; margin: 0 auto; } }

/* ---------- dúvidas ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { margin-bottom: 10px; border: 1px solid var(--linha); border-radius: 22px; background: #fff; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { border-color: var(--agua-200); box-shadow: var(--sombra); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font: 700 18px/1.3 var(--titulo); color: var(--marinho); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--agua-50); color: var(--azul); font: 600 22px/1 var(--sans); transition: rotate .35s var(--mola), background .2s; }
.faq details[open] summary::after { rotate: 45deg; background: var(--sol); color: var(--marinho); }
.faq details > div { padding: 0 22px 20px; color: var(--suave); }
.faq details[open] > div { animation: sobe .4s var(--ease); }
@keyframes sobe { from { opacity: 0; translate: 0 16px; } }

/* ---------- contato ---------- */
.contato { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: var(--largura); margin: clamp(90px, 12vw, 150px) auto 0; padding: 0 var(--lateral); }
.endereco { margin-top: 16px; font-size: 18px; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 7px 14px; border-radius: 999px; background: var(--agua-50); font-size: 14px; font-weight: 800; color: var(--marinho); }
.horarios, .telefones { display: grid; gap: 4px; max-width: 420px; margin: 18px 0 0; padding: 0; list-style: none; }
.horarios li, .telefones li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--agua-200); }
.horarios li.hoje { color: var(--azul); font-weight: 800; }
.telefones li > span:first-child { color: var(--suave); }
.telefones a { font-weight: 800; text-decoration: none; color: var(--azul); }
.contato-botoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.gotejar { position: relative; aspect-ratio: 1; width: 100%; max-width: 470px; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle, var(--agua-100), var(--agua-50) 60%, transparent 72%); }
.anel { position: absolute; inset: 0; margin: auto; width: 20%; height: 20%; border-radius: 50%; border: 2px solid var(--agua); opacity: 0; animation: anel 4s ease-out infinite; }
.anel.b { animation-delay: 1s; } .anel.c { animation-delay: 2s; } .anel.d { animation-delay: 3s; }
@keyframes anel { 0% { width: 6%; height: 6%; opacity: .9; } 100% { width: 100%; height: 100%; opacity: 0; } }
.gota-cai { position: absolute; left: 50%; top: 0; width: 40px; height: 40px; color: var(--azul); translate: -50% 0; animation: gota-cai 4s ease-in infinite; }
.gota-cai svg { width: 100%; height: 100%; }
@keyframes gota-cai { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 22% { top: calc(50% - 20px); opacity: 1; scale: 1; } 26%, 100% { top: calc(50% - 20px); opacity: 0; scale: 1.6 .3; } }
.gotejar-centro { position: absolute; left: 50%; top: 58%; padding: 8px 16px; border-radius: 16px; background: var(--marinho); color: #fff; font: 700 15px/1.2 var(--titulo); text-align: center; translate: -50% 0; white-space: nowrap; box-shadow: var(--sombra); }
.gotejar-centro small { display: block; font: 600 12px var(--sans); opacity: .8; }
.bairro { position: absolute; padding: 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--agua-100); font: 700 13px var(--titulo); color: var(--azul); box-shadow: 0 10px 20px -14px rgba(6, 46, 87, .6); animation: flutua 5s ease-in-out infinite; white-space: nowrap; }
@keyframes flutua { 50% { translate: 0 -8px; } }
.bairro.b1 { left: 54%; top: 76%; animation-delay: -1s; }
.bairro.b2 { left: 10%; top: 34%; animation-delay: -2s; }
.bairro.b3 { left: 56%; top: 14%; animation-delay: -3s; }
.bairro.b4 { left: 72%; top: 36%; animation-delay: -1.5s; }
.bairro.b5 { left: 2%; top: 64%; animation-delay: -2.5s; }
.bairro.b6 { left: 24%; top: 86%; animation-delay: -.5s; }
@media (max-width: 860px) { .contato { grid-template-columns: minmax(0, 1fr); } .gotejar { max-width: 360px; } .bairro { font-size: 12px; } }

/* ---------- rodapé ---------- */
.rodape { position: relative; margin-top: clamp(100px, 12vw, 150px); padding: clamp(70px, 8vw, 100px) var(--lateral) calc(28px + env(safe-area-inset-bottom)); background: var(--abismo); color: #cfe3f2; }
.rodape-onda { position: absolute; left: 0; top: -1px; width: 100%; height: 60px; fill: var(--fundo); }
.rodape-grade { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; max-width: var(--largura); margin: 0 auto; }
.rodape .marca { color: #fff; }
.rodape p { margin-top: 16px; max-width: 380px; font-size: 14.5px; color: #9fbad1; }
.rodape h3 { margin-bottom: 12px; font: 700 12.5px/1.4 var(--titulo); color: var(--agua); text-transform: uppercase; letter-spacing: .14em; }
.rodape nav { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: #9fbad1; }
.rodape nav a { text-decoration: none; }
.rodape nav a:hover { color: #fff; }
.rodape-fim { max-width: var(--largura) !important; margin: 44px auto 0 !important; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px !important; }
@media (max-width: 760px) { .rodape-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rodape-grade > div:first-child { grid-column: 1 / -1; } }

/* ---------- flutuantes ---------- */
.whats-flutuante { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 50; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--whats); box-shadow: 0 14px 30px -10px rgba(20, 90, 50, .7); transition: transform .3s var(--mola); animation: boia-whats 3s ease-in-out infinite; }
/* boia listrada em volta do botão */
.whats-flutuante::before { content: ""; position: absolute; inset: -7px; z-index: -1; border-radius: 50%; background: repeating-conic-gradient(#ff5a4e 0 45deg, #fff 45deg 90deg); -webkit-mask: radial-gradient(circle, transparent 30px, #000 31px); mask: radial-gradient(circle, transparent 30px, #000 31px); }
@keyframes boia-whats { 50% { translate: 0 -5px; rotate: -6deg; } }
@keyframes anel-whats { from { opacity: .8; scale: 1; } to { opacity: 0; scale: 1.5; } }
.whats-flutuante:hover { transform: scale(1.08); }
.whats-flutuante svg { width: 30px; height: 30px; fill: #fff; }
.barra-app { display: none; }
@media (max-width: 760px) {
  .whats-flutuante { display: none; }
  .barra-app { position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 55; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 6px; border: 1px solid var(--linha); border-radius: 22px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -18px rgba(6, 46, 87, .55); }
  .barra-app a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: 16px; font-size: 11.5px; font-weight: 700; text-decoration: none; color: var(--suave); }
  .barra-app svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .barra-app .barra-destaque { background: var(--azul); color: #fff; }
  .rodape { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
}

/* ---------- foto ampliada ---------- */
dialog { border: 0; padding: 0; color: inherit; }
dialog::backdrop { background: rgba(4, 29, 56, .8); backdrop-filter: blur(6px); }
.luz { width: min(900px, calc(100% - 24px)); border-radius: 28px; background: #fff; overflow: hidden; }
.luz[open] { animation: pop .45s var(--mola); }
.luz img { width: 100%; max-height: 76svh; object-fit: contain; background: var(--agua-50); }
.luz-legenda { padding: 14px 64px 16px 20px; font-weight: 700; color: var(--marinho); }
.luz-fechar { position: absolute; top: 10px; right: 10px; }

.aviso { position: fixed; left: 50%; bottom: 28px; z-index: 260; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 16px; background: var(--marinho); color: #fff; font-size: 14px; font-weight: 700; text-align: center; translate: -50% 20px; opacity: 0; pointer-events: none; transition: .3s var(--ease); }
.aviso.on { translate: -50% 0; opacity: 1; }
@media (max-width: 760px) { .aviso { bottom: 100px; } }

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

/* ===================== Site próprio: logo, páginas internas ===================== */
.marca-logo { display: block; height: 62px; width: auto; padding: 3px 6px; border-radius: 14px; background: #fff; box-shadow: 0 8px 20px -10px rgba(6, 46, 87, .45); transition: transform .3s var(--mola); }
.marca:hover .marca-logo { transform: scale(1.04) rotate(-1deg); }
.rodape .marca-logo { height: 120px; padding: 6px 10px; border-radius: 18px; }
.menu a[aria-current="page"] { background: rgba(29, 179, 230, .22); }

.hero-interna { position: relative; padding: calc(var(--topo-h) + clamp(40px, 7vw, 80px)) var(--lateral) clamp(110px, 12vw, 150px); overflow: hidden; background: radial-gradient(120% 90% at 85% 0%, #2bb7e0 0%, #0a74c8 45%, var(--marinho) 100%); color: #fff; text-align: center; isolation: isolate; }
.hero-interna h1 { max-width: 900px; margin: 0 auto; font-size: clamp(38px, 6vw, 72px); color: #fff; }
.hero-interna h1 em { font-style: normal; color: var(--sol); }
.hero-interna .resumo { max-width: 700px; margin: 22px auto 0; font-size: 18.5px; color: rgba(255, 255, 255, .9); }
.hero-interna .resumo a { color: #fff; font-weight: 700; }
.migalhas { margin-bottom: 18px; font: 700 13px/1.4 var(--titulo); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.migalhas a { color: #fff; text-decoration: none; }
.migalhas a:hover { text-decoration: underline; }

.sobre-historia { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.sobre-texto h2 { font-size: clamp(32px, 4.6vw, 56px); margin-bottom: 18px; }
.sobre-texto p { margin: 0 0 14px; font-size: 17.5px; color: var(--tinta); }
.sobre-texto .hero-botoes { margin-top: 22px; }
.sobre-foto { margin: 0; }
.sobre-foto img { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--sombra); }
.sobre-foto figcaption { margin-top: 10px; font-size: 14px; color: var(--suave); text-align: center; }
@media (max-width: 860px) { .sobre-historia { grid-template-columns: minmax(0, 1fr); } }

.mapa iframe { display: block; width: 100%; height: clamp(280px, 40vw, 420px); border: 0; border-radius: 28px; box-shadow: var(--sombra); }
.mapa-bairros { margin-top: 14px; text-align: center; color: var(--suave); }
address { font-style: normal; }
