/* Modelo "tela cheia": hero de tela cheia com título palavra a palavra, reflexo de água, popup story.
   Pra site novo: trocar cores, fontes e raio aqui no :root. */
:root {
  --navy: #013263;
  --navy-2: #0a4580;
  --aqua: #008f97;
  --aqua-2: #3fd3d6;
  --foam: #eefafa;
  /* "sun" é o destaque do modelo; na L&A é o turquesa da logo */
  --sun: #2fd3cc;
  --sun-2: #19c4bd;
  --sun-d: #00848a;
  --algae: #4f9a3a;
  --ink: #013263;
  --muted: #45607a;
  --line: rgba(1, 50, 99, .12);
  --r: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: "Bricolage Grotesque", "Satoshi", system-ui, sans-serif;
  --body: "Satoshi", system-ui, sans-serif;
  --sec: clamp(72px, 8.5vw, 116px);
  /* botões (bloco de tools/lib/botoes.css) */
  --btn-bg: var(--navy);
  --btn-bg-hover: var(--navy-2);
  --btn-ink: var(--navy);
  --btn-light-hover: var(--foam);
  --btn-ease: var(--ease);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; overflow-x: clip; }
body { font-family: var(--body); font-size: 1.0625rem; background: var(--foam); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; font-weight: 800; font-optical-sizing: auto; }
h3 { letter-spacing: -.025em; }
p { text-wrap: pretty; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--aqua); margin-bottom: 16px; }
.eyebrow-light { color: var(--sun); }
h2 { font-size: clamp(2.15rem, 4.2vw, 3.5rem); }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.16rem); color: var(--muted); max-width: 540px; margin-top: 18px; }
h2 + .lead { margin-top: 18px; }
section { padding: var(--sec) 0; }
.head { max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px 48px; flex-wrap: wrap; }
.head-row .lead { margin-top: 0; }
.head-row h2 { max-width: 640px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* Botões (nunca quebram linha) ------------------------------------------- */

.button {
  --pad-x: 1.6rem; --pad-icon: .45rem; --icon: 2.1rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  min-height: 3.1rem; padding: .85rem var(--pad-x); border: 0; border-radius: 999px;
  background: var(--btn-bg); color: #fff; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: transform .5s var(--btn-ease), background-color .3s, box-shadow .5s var(--btn-ease);
}
.button:hover { background: var(--btn-bg-hover); transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
/* Ícone de botão sempre dentro de um círculo, encostado na borda */
.button > .icon {
  flex: none; width: var(--icon); height: var(--icon); padding: calc(var(--icon) * .24); border-radius: 50%;
  background: rgba(255, 255, 255, .2); fill: currentColor; transition: transform .5s var(--btn-ease), background-color .3s;
}
/* Encosta pelo padding do botão, não por margem negativa: com margem o Chrome calcula a largura curta e o texto entra embaixo do círculo.
   O texto fica com a folga cheia (--pad-x) e o círculo a --pad-icon da borda. button-lead = ícone antes do texto (WhatsApp) */
.button:has(> .icon) { padding: var(--pad-icon) var(--pad-icon) var(--pad-icon) var(--pad-x); }
.button.button-lead { padding: var(--pad-icon) var(--pad-x) var(--pad-icon) var(--pad-icon); }
.button:not(.button-lead):hover > .icon { transform: translateX(3px); }
.button-sm { --pad-x: 1.15rem; --pad-icon: .4rem; --icon: 1.75rem; min-height: 2.6rem; padding-block: .55rem; font-size: .94rem; }
.button-lg { --pad-x: clamp(1.6rem, 1.4rem + .6vw, 1.95rem); --pad-icon: .5rem; --icon: 2.45rem; min-height: 3.6rem; padding-block: 1rem; font-size: clamp(1rem, .96rem + .15vw, 1.06rem); }
/* Largura total: texto no centro e círculo encostado na borda. O pseudo do outro lado faz o contrapeso
   do círculo e encolhe quando falta espaço (320px), então o rótulo nunca aperta */
.button.button-block { width: 100%; justify-content: space-between; gap: 0; padding-inline: var(--pad-icon); }
.button-block > .icon { margin-left: .8rem; }
.button-block.button-lead > .icon { margin: 0 .8rem 0 0; }
.button-block:not(.button-lead)::before, .button-block.button-lead::after { content: ""; flex: 0 1 calc(var(--icon) + .8rem); min-width: .7rem; }
.button-light { background: #fff; color: var(--btn-ink); }
.button-light:hover { background: var(--btn-light-hover); }
.button-light > .icon { background: var(--btn-bg); color: #fff; }

/* Mobile (regra 12): botão principal de cada seção vira largura total; no tablet, limitado e centralizado */
@media (max-width: 48em) {
  .button.button-fluid { display: flex; width: min(100%, 26rem); margin-inline: auto; justify-content: space-between; gap: 0; padding-inline: var(--pad-icon); }
  .button-fluid > .icon { margin-left: .8rem; }
  .button-fluid::before { content: ""; flex: 0 1 calc(var(--icon) + .8rem); min-width: .7rem; }
}

/* Variante amarela (CTA principal): fundo cheio, círculo translúcido */
.button-sun { background: var(--sun); color: var(--navy); box-shadow: 0 14px 34px -14px rgba(0, 170, 165, .8); }
.button-sun:hover { background: var(--sun-2); box-shadow: 0 20px 44px -14px rgba(0, 170, 165, .95); }
.button-sun > .icon { background: rgba(6, 42, 68, .12); }

/* Link com seta no círculo */
.link { display: inline-flex; align-items: center; gap: .7rem; font-weight: 700; white-space: nowrap; }
.link .icon { width: 1.9rem; height: 1.9rem; padding: .45rem; border-radius: 50%; background: color-mix(in srgb, currentColor 14%, transparent); transition: transform .4s var(--ease); }
.link:hover .icon { transform: translateX(4px); }

/* nav */
.nav { position: absolute; top: 14px; left: 50%; translate: -50% 0; z-index: 50; width: min(1200px, 100% - 24px); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 10px 40px -20px rgba(6, 42, 68, .35); transition: transform .6s var(--ease), background .4s; animation: navIn 1s var(--ease) .1s both; }
@keyframes navIn { from { opacity: 0; transform: translateY(-30px); } }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo span { display: grid; line-height: 1; }
.logo b { font-family: var(--display); font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.logo small { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.logo-light { color: #fff; }
.logo-light small { color: rgba(255, 255, 255, .6); }
.logo img { width: auto; height: 46px; }
.footer .logo img { height: 92px; margin-bottom: 4px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 9px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem; transition: background .3s; }
.nav-links a:hover { background: rgba(19, 166, 212, .12); }
.nav-cta { white-space: nowrap; padding: 12px 20px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: .95rem; transition: background .3s, transform .4s var(--ease); }
.nav-cta:hover { background: var(--aqua); transform: scale(1.03); }
.nav-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); cursor: pointer; position: relative; }
.nav-burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease); }
.nav-burger span:first-child { top: 19px; }
.nav-burger span:last-child { top: 26px; }
.menu-open .nav-burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav-burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* menu do celular */
.mmenu { position: fixed; inset: 0; z-index: 45; border: 0; margin: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; background: var(--navy); color: #fff; padding: 110px 24px 32px; flex-direction: column; justify-content: space-between; }
.mmenu[open] { display: flex; animation: fadeOnly .4s ease; }
/* com o menu aberto o cabeçalho fica fixo, pro botão de fechar estar sempre à mão */
.menu-open .nav { position: fixed; }
.mmenu::backdrop { background: transparent; }
.mmenu nav { display: grid; gap: 4px; }
.mmenu nav a { font-family: var(--display); font-size: clamp(1.8rem, 5.2svh, 2.4rem); font-weight: 800; letter-spacing: -.02em; padding: 6px 0; opacity: 0; transform: translateY(24px); animation: menuItem .7s var(--ease) forwards; }
.mmenu nav a:nth-child(2) { animation-delay: .05s; } .mmenu nav a:nth-child(3) { animation-delay: .1s; } .mmenu nav a:nth-child(4) { animation-delay: .15s; } .mmenu nav a:nth-child(5) { animation-delay: .2s; } .mmenu nav a:nth-child(6) { animation-delay: .25s; } .mmenu nav a:nth-child(7) { animation-delay: .3s; }
@keyframes menuItem { to { opacity: 1; transform: none; } }
.menu-open .nav { background: rgba(255, 255, 255, .95); }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 120px 0 90px; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, #ffffff 0%, #e3f5fb 45%, #c6ebf6 100%); }
.hero-inner { position: relative; z-index: 2; width: min(1240px, 100% - 32px); text-align: center; display: grid; justify-items: center; }
.hero .eyebrow { color: var(--navy); background: rgba(255, 255, 255, .7); border: 1px solid rgba(6, 42, 68, .08); padding: 8px 16px; border-radius: 999px; letter-spacing: .08em; font-size: .78rem; margin-bottom: 30px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 0 rgba(46, 204, 113, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(46, 204, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); } }
.hero-title { font-size: clamp(3rem, 9vw, 8.6rem); line-height: .94; letter-spacing: -.045em; display: grid; justify-items: center; gap: .04em; }
.hero-title .line { display: block; white-space: nowrap; }
.hero-title .w { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(4deg); filter: blur(12px); animation: wordIn 1.1s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .08s); }
/* folga em volta da palavra: o degradê só pinta dentro da caixa e a fonte apertada passa dela */
.w-blue { padding: .08em .12em; margin: -.08em -.12em; color: var(--aqua); background: linear-gradient(100deg, #0b8fc0, #2fc4ea 50%, #0b8fc0); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% 100%; animation: wordIn 1.1s var(--ease) forwards, shimmer 5s linear 1.6s infinite !important; animation-delay: calc(.15s + var(--i) * .08s), 1.6s !important; }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }
@keyframes shimmer { to { background-position: -200% 0; } }
.hero-sub { max-width: 620px; margin: 30px auto 34px; font-size: clamp(1.08rem, 1.4vw, 1.24rem); color: var(--muted); }
.hero-in { opacity: 0; transform: translateY(24px); animation: wordIn 1s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * .08s); }

/* reflexo de água (cáustica) */
.caustics { position: absolute; inset: -20%; z-index: 0; pointer-events: none; opacity: .55; mix-blend-mode: soft-light; }
.caustics span { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='turbulence' stitchTiles='stitch' baseFrequency='.009' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 -9 0 0 0 1.5'/%3E%3C/filter%3E%3Crect width='600' height='600' filter='url(%23f)'/%3E%3C/svg%3E"); --t: 600px; inset: auto; top: 0; left: 0; width: calc(100% + var(--t)); height: calc(100% + var(--t)); background-size: var(--t); animation: drift 38s linear infinite; will-change: transform; }
.caustics span + span { --t: 760px; animation-duration: 52s; animation-direction: reverse; opacity: .8; }
/* anda exatamente um ladrilho por ciclo (transform roda na GPU e fecha o loop sem salto) */
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(var(--t) * -1), calc(var(--t) * -1), 0); } }
.hero .caustics { opacity: .75; mix-blend-mode: normal; }

/* reveal */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* números */
.numbers-grid { margin-bottom: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.numbers-grid > div { padding: 28px 26px; border-left: 1px solid var(--line); }
.numbers-grid > div:first-child { border-left: 0; }
.numbers-grid b { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.numbers-grid b .icon { width: .6em; height: .6em; color: var(--sun-d); }
.numbers-grid > div > span { color: var(--muted); font-size: .98rem; }

/* serviços: grade */
.services { padding-top: clamp(56px, 6vw, 80px); }
.sgrid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.6vw, 20px); }
.scard { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: 30px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.scard:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(6, 42, 68, .5); }
.scard figure { position: relative; overflow: hidden; margin: 8px; border-radius: 23px; min-height: 230px; }
.scard figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.scard:hover figure img { transform: scale(1.06); }
/* foto do vinil: o Leandro está no canto de cima, à esquerda */
.scard:first-child figure img { object-position: 18% 22%; }
.scard-text { padding: clamp(22px, 2.4vw, 32px) clamp(20px, 2.4vw, 30px) clamp(22px, 2.4vw, 30px) 14px; display: flex; flex-direction: column; }
.scard h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 10px; }
.scard p { color: var(--muted); font-size: 1rem; line-height: 1.55; margin-bottom: 18px; }
.scard .link { margin-top: auto; align-self: flex-start; font-size: .97rem; }
.scard-green { background: #10331f; color: #fff; border-color: transparent; }
.scard-sun { background: var(--aqua); color: #fff; border-color: transparent; }
.scard-dark { background: var(--navy); color: #fff; border-color: transparent; }
.scard-green p, .scard-sun p, .scard-dark p { color: rgba(255, 255, 255, .78); }

/* recuperação: seção presa enquanto a água muda */
.rec { padding: 0; height: 240vh; background: var(--navy); color: #fff; position: relative; }
.rec-pin { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.rec-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.rec-media { position: relative; aspect-ratio: 4 / 5; max-height: 78svh; border-radius: 32px; overflow: hidden; background: #0f3b2a; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); justify-self: center; width: 100%; }
/* piscina desenhada: a água muda de cor conforme a rolagem */
.rec-media { background-color: #cdbfa6; background-image: linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px), radial-gradient(120% 90% at 30% 10%, #e3d8c4, #b9a98d); background-size: 46px 46px, 46px 46px, auto; }
.pool { position: absolute; inset: 7% 9% 25% 9%; padding: 11px; border-radius: 24px; background: linear-gradient(160deg, #fbf8f2, #e9e1d2); box-shadow: 0 2px 0 rgba(255, 255, 255, .6) inset, 0 22px 34px -20px rgba(40, 30, 10, .55); }
.pool-water { position: absolute; inset: 11px; border-radius: 15px; overflow: hidden; background: var(--wc, #4d8a2a); box-shadow: inset 0 0 0 5px rgba(23, 88, 120, .5), inset 0 18px 40px rgba(0, 0, 0, .28); }
.pool-water::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .14), transparent 40%, rgba(0, 20, 40, .22)); pointer-events: none; }
.pool-stairs span { position: absolute; left: 0; top: 0; width: 40%; border-bottom-right-radius: 10px; background: rgba(255, 255, 255, .14); box-shadow: 1px 1px 0 rgba(255, 255, 255, .18); }
/* escada de canto: cada degrau mais estreito e mais fundo que o anterior */
.pool-stairs span:nth-child(1) { width: 42%; height: 10%; }
.pool-stairs span:nth-child(2) { width: 30%; height: 20%; }
.pool-stairs span:nth-child(3) { width: 18%; height: 30%; }
.pool-algae { position: absolute; inset: -12%; opacity: var(--algae, 1); background: radial-gradient(28% 22% at 22% 70%, #2c5e17 0 40%, transparent 72%), radial-gradient(30% 24% at 74% 30%, #33661a 0 35%, transparent 70%), radial-gradient(22% 18% at 62% 82%, #2a5414 0 40%, transparent 70%), radial-gradient(18% 16% at 40% 40%, #3b7420 0 30%, transparent 70%); filter: blur(6px); animation: algae 14s ease-in-out infinite alternate; }
.pool-algae::after { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.035' numOctaves='3' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .3 0 0 0 0 .06 0 0 0 -2.4 1.4'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23f)'/%3E%3C/svg%3E"); background-size: 300px; opacity: .8; }
@keyframes algae { to { transform: translate3d(3%, -2%, 0) scale(1.04); } }
.pool-caustics { position: absolute; inset: -30%; opacity: calc(.12 + var(--clear, 0) * .7); mix-blend-mode: soft-light; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='turbulence' stitchTiles='stitch' baseFrequency='.02' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 -9 0 0 0 1.5'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23f)'/%3E%3C/svg%3E"); --t: 300px; inset: -30% auto auto -30%; width: calc(160% + var(--t)); height: calc(160% + var(--t)); background-size: var(--t); animation: drift 26s linear infinite; will-change: transform; }
.pool-shine { position: absolute; inset: 0; opacity: var(--clear, 0); background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .22) 42%, transparent 54%); background-size: 260% 100%; animation: shine 6s ease-in-out infinite; }
@keyframes shine { 0% { background-position: 120% 0; } 60%, 100% { background-position: -40% 0; } }
.pool-dirt i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%; background: rgba(58, 48, 22, .55); transition: top 1.6s var(--ease) var(--d), opacity .9s ease var(--d), transform 1.6s var(--ease); animation: float 5s ease-in-out var(--d) infinite alternate; }
@keyframes float { to { transform: translate(6px, -8px); } }
[data-step="2"] .pool-dirt i, [data-step="3"] .pool-dirt i { top: var(--yb); animation: none; }
[data-step="3"] .pool-dirt i { opacity: 0; transition-delay: 0s, calc(.4s + var(--d) * 4); }
.pool-bubbles i { position: absolute; left: var(--x); top: 104%; width: var(--s); height: var(--s); border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .15); opacity: 0; }
[data-step="1"] .pool-bubbles i { animation: rise var(--t) cubic-bezier(.4, 0, .7, 1) var(--d) infinite; }
@keyframes rise { 0% { top: 104%; opacity: 0; } 15% { opacity: .95; } 85% { opacity: .8; } 100% { top: -6%; opacity: 0; transform: translateX(10px); } }
.pool-vac { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
[data-step="3"] .pool-vac { opacity: 1; }
.vac-head { position: absolute; left: 8%; top: 78%; width: 30%; height: 8%; border-radius: 7px; background: linear-gradient(180deg, #3ba3e0, #1d6fa6); box-shadow: 0 6px 12px -4px rgba(0, 0, 0, .45), inset 0 -3px 0 rgba(0, 0, 0, .18); }
.vac-head::before { content: ""; position: absolute; left: 50%; bottom: 60%; width: 5px; height: 520px; margin-left: -2.5px; border-radius: 4px; background: linear-gradient(90deg, #1b5f8f, #3ba3e0); transform-origin: 50% 100%; transform: rotate(24deg); }
[data-step="3"] .vac-head { animation: sweep 4.2s ease-in-out infinite alternate; }
@keyframes sweep { 0% { left: 6%; top: 80%; } 50% { top: 70%; } 100% { left: 62%; top: 82%; } }
.pool-read { position: absolute; right: 22px; top: 22px; z-index: 2; display: grid; gap: 6px; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.pool-read span { display: flex; justify-content: space-between; gap: 14px; min-width: 168px; padding: 7px 12px; border-radius: 12px; background: rgba(255, 255, 255, .93); color: var(--navy); font-size: .8rem; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); }
.pool-read b { font-weight: 500; }
.pool-read em { font-style: normal; font-weight: 800; color: #c93a3a; font-variant-numeric: tabular-nums; }
.pool-read.is-good em { color: #1f9a5c; }
.pool-read.is-off { opacity: 0; transform: translateY(-8px); }
.rec-meter { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 14px 18px; border-radius: 20px; background: rgba(6, 42, 68, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.rec-meter span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.rec-meter b { font-family: var(--display); font-size: 1.2rem; text-align: right; }
.rec-meter i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #3d8a2c, #7fb54a, #5fd0ef, #13a6d4); overflow: hidden; position: relative; }
.rec-meter em { position: absolute; top: -3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .3); left: calc(var(--p, 0) * (100% - 12px)); transition: left .3s linear; }
.rec-text h2 { margin-bottom: 30px; }
.rec-steps { list-style: none; display: grid; gap: 6px; margin-bottom: 30px; }
.rec-steps li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 16px 18px; border-radius: 22px; opacity: .38; transition: opacity .6s var(--ease), background .6s var(--ease); }
.rec-steps li > span { font-family: var(--display); font-weight: 800; color: var(--sun); padding-top: 3px; }
.rec-steps h3 { font-size: 1.4rem; margin-bottom: 0; }
.rec-steps p { color: rgba(255, 255, 255, .72); max-height: 0; overflow: hidden; transition: max-height .7s var(--ease), margin .7s var(--ease); }
.rec-steps li.is-on { opacity: 1; background: rgba(255, 255, 255, .07); }
.rec-steps li.is-on p { max-height: 140px; margin-top: 8px; }
.rec .eyebrow { color: var(--sun); }

/* antes e depois */
.ba-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.ba-head h2 { margin-bottom: 18px; }
.ba-slider { position: relative; aspect-ratio: 4 / 3; width: 100%; border-radius: 34px; overflow: hidden; user-select: none; background: #0c2b3f; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* foto ilustrativa: o "antes" é a mesma foto com a água esverdeada */
.ba-before-filtro { filter: sepia(.7) hue-rotate(35deg) saturate(1.6) brightness(.75) contrast(.9); }
.ba-hint { position: absolute; left: 50%; bottom: 20px; translate: -50% 0; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--navy); font-size: .9rem; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .4); pointer-events: none; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.ba-hint .icon { width: 19px; height: 19px; }
.ba-slider.used .ba-hint { opacity: 0; translate: -50% 10px; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-tag { position: absolute; top: 20px; z-index: 2; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--navy); font-weight: 700; font-size: .85rem; }
.ba-tag-l { left: 20px; } .ba-tag-r { right: 20px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 2; pointer-events: none; }
.ba-handle > span { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 56px; height: 56px; border-radius: 50%; background: var(--sun); color: var(--navy); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); }
.ba-handle .icon { width: 24px; height: 24px; }
.ba-slider input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3; margin: 0; }
.ba-note { margin-top: 16px; color: var(--muted); font-size: .92rem; text-align: center; }
.ba-slider:not(.used) .ba-handle > span { animation: thumbPulse 2.4s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes thumbPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 211, 204, .6); } 50% { box-shadow: 0 0 0 10px rgba(47, 211, 204, 0); } }
.drag-hand { position: absolute; left: 0; top: 0; z-index: 4; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .45s ease; will-change: transform; }
.drag-hand .icon { position: absolute; left: -15px; top: -2px; width: 34px; height: 34px; color: #fff; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35)); transform: translateY(10px) scale(1.08); transition: transform .45s var(--ease); }
.demoing .drag-hand { opacity: 1; }
.demoing .drag-hand .icon { transform: translateY(4px) scale(.94); }
.demoing .ba-handle > span { animation: none; }

/* sobre */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.about-img { position: relative; border-radius: 34px; overflow: hidden; aspect-ratio: 4 / 4.6; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(10px); font-weight: 700; font-size: .92rem; }
.about-img figcaption svg { width: 20px; height: 20px; color: #d6249f; flex: none; }
/* o link ocupa o cartão todo e alinha ícone e texto */
.about-img figcaption a { display: flex; align-items: center; gap: 10px; flex: 1; }
.about-grid h2 { margin-bottom: 22px; }
.about-grid p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; margin-bottom: 14px; max-width: 580px; }
.about-quote { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.15; margin: 28px 0; padding-left: 20px; border-left: 4px solid var(--sun); }

/* mentoria e consultoria */
.ment { position: relative; overflow: hidden; color: #fff; background: radial-gradient(90% 70% at 85% 0%, #0e5a86 0%, rgba(14, 90, 134, 0) 60%), linear-gradient(180deg, #05243b 0%, #062a44 55%, #04304c 100%); }
.ment .caustics { opacity: .12; mix-blend-mode: overlay; }
.ment > .wrap { position: relative; z-index: 1; }
.ment-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.ment-head .lead { color: rgba(255, 255, 255, .74); max-width: 600px; }
.ment-tracks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.track { display: grid; grid-template-rows: auto 1fr; border-radius: 34px; overflow: hidden; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -48px rgba(0, 0, 0, .8); }
.track figure { position: relative; margin: 10px 10px 0; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 10; }
.track figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.track:nth-child(1) figure img { object-position: 50% 62%; }
.track-pro figure img { object-position: 50% 30%; }
.track:hover figure img { transform: scale(1.05); }
.track figcaption { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-weight: 700; font-size: .9rem; color: var(--navy); }
.track figcaption .icon { width: 18px; height: 18px; color: var(--aqua); }
.track-body { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 38px); }
.track h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 12px; }
.track-body > p { color: var(--muted); font-size: 1.06rem; }
.track ul { list-style: none; display: grid; gap: 10px; margin: 22px 0 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.track li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; line-height: 1.4; }
/* ícone com a altura de uma linha: centraliza na primeira linha do texto */
.track li .icon { color: var(--aqua); width: 1.2em; height: 1.4em; }
.track .button { margin-top: auto; align-self: flex-start; }
.track-pro { background: var(--sun); }
.track-pro .track-body > p, .track-pro .track-note { color: #4a3b00; }
.track-pro ul { border-color: rgba(6, 42, 68, .16); }
.track-pro li .icon, .track-pro figcaption .icon { color: var(--navy); }
.track-note { display: flex; gap: 10px; align-items: flex-start; margin: -6px 0 26px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .45); font-size: .95rem; font-weight: 500; line-height: 1.45; }
.track-note .icon { width: 1.3em; height: 1.45em; color: var(--navy); }
/* Duas frentes no fundo claro */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.tracks .track { border: 1px solid var(--line); box-shadow: 0 40px 80px -56px rgba(1, 50, 99, .55); }
.tracks .track-note { background: var(--foam); }
.track:nth-child(2) figure img { object-position: 50% 22%; }
/* Instalações e manutenção preventiva */
.prev { display: flex; align-items: center; gap: 18px; margin-top: clamp(14px, 1.6vw, 20px); padding: 16px 16px 16px 20px; border-radius: 30px; background: #fff; border: 1px solid var(--line); }
.prev-ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sun); color: var(--navy); }
.prev-ic .icon { width: 26px; height: 26px; }
.prev p { flex: 1; color: var(--muted); }
.prev p b { color: var(--ink); }

/* Simulador de pH ------------------------------------------------------- */
.phs { background: #fff; }
/* título e explicação à esquerda, piscina à direita; no celular a piscina entra entre os dois */
.phs-grid { display: grid; grid-template-columns: 1fr 1.05fr; grid-template-areas: "copy box" "side box"; column-gap: clamp(32px, 6vw, 90px); row-gap: 24px; align-items: center; }
.phs-copy { grid-area: copy; align-self: end; }
.phs-side { grid-area: side; align-self: start; }
.ph-box { grid-area: box; }
.ph-msg { display: grid; margin-bottom: 28px; }
.ph-msg p { grid-area: 1 / 1; padding: 16px 18px; border-radius: 18px; background: var(--foam); color: var(--muted); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.ph-msg b { color: #c93a3a; }
#ph-agua:has([data-state="ideal"]) .ph-msg b { color: #1f9a5c; }
#ph-agua:has([data-state="acida"]) [data-for="acida"], #ph-agua:has([data-state="ideal"]) [data-for="ideal"], #ph-agua:has([data-state="alcalina"]) [data-for="alcalina"] { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ph-box { position: relative; padding: 14px 14px 20px; border-radius: 34px; background: var(--foam); border: 1px solid var(--line); }
.ph-pool { position: relative; aspect-ratio: 4 / 3; padding: 12px; border-radius: 24px; background: linear-gradient(160deg, #fbf8f2, #e9e1d2); box-shadow: 0 2px 0 rgba(255, 255, 255, .6) inset, 0 22px 34px -22px rgba(40, 30, 10, .5); }
.ph-water { position: absolute; inset: 12px; overflow: hidden; border-radius: 16px; background-color: var(--water, #22b1dc); filter: saturate(var(--sat, 1)); transition: background-color .5s var(--ease), filter .5s var(--ease); box-shadow: inset 0 0 0 5px rgba(23, 88, 120, .3), inset 0 18px 40px rgba(0, 0, 0, .2); }
.ph-water .caustics { opacity: .55; mix-blend-mode: soft-light; }
/* água alcalina fica leitosa */
.ph-water::after { content: ""; position: absolute; inset: 0; background: #e6ece8; opacity: var(--milk, 0); transition: opacity .5s var(--ease); }
.ph-hint { position: absolute; left: 26px; top: 26px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--navy); font-size: .85rem; font-weight: 700; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .4); pointer-events: none; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.ph-hint .icon { width: 19px; height: 19px; }
.used .ph-hint { opacity: 0; translate: 0 -10px; }
.ph-value { position: absolute; right: 30px; bottom: 22px; z-index: 2; font-family: var(--display); font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 800; line-height: 1; color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); font-variant-numeric: tabular-nums; }
/* trilho com a faixa ideal (7,2 a 7,6) marcada no meio */
.ph-box input { -webkit-appearance: none; appearance: none; display: block; width: calc(100% - 16px); height: 10px; margin: 24px 8px 12px; border-radius: 10px; background: linear-gradient(90deg, #3fb59b, #22b1dc 46%, #22b1dc 62%, #b9ccc9); cursor: pointer; }
.ph-box input::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); box-shadow: 0 6px 16px -6px rgba(1, 50, 99, .6); }
.ph-box input::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); }
.ph-box:not(.used) input::-webkit-slider-thumb { animation: thumbPulse 2.4s cubic-bezier(.45, 0, .55, 1) infinite; }
.ph-scale { display: flex; justify-content: space-between; padding: 0 8px; color: var(--muted); font-size: .82rem; font-weight: 600; }

/* Como funciona --------------------------------------------------------- */
.how-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 18px); }
.how-steps li { padding: 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: background .5s var(--ease), color .5s var(--ease); }
.how-steps li:hover { background: var(--navy); color: #fff; }
.how-steps li:hover p { color: rgba(255, 255, 255, .75); }
.how-steps span { display: block; margin-bottom: 36px; font-family: var(--display); font-size: 2.4rem; font-weight: 800; line-height: 1; color: var(--sun-d); }
.how-steps li:hover span { color: var(--sun); }
.how-steps h3 { font-size: 1.3rem; margin-bottom: 8px; }
.how-steps p { color: var(--muted); font-size: .97rem; transition: color .5s; }

/* loja */
.store { background: #fff; }
.store .head-row .lead { max-width: 420px; }
.store-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 28px; align-items: start; }
.products { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.product { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "ic qty" "tx tx"; gap: 16px 12px; align-items: center; padding: 18px 18px 20px; border-radius: 24px; background: var(--foam); border: 1px solid transparent; transition: border-color .3s, background .3s, transform .5s var(--ease); }
.product:hover { transform: translateY(-3px); }
.product.has { border-color: var(--aqua); background: #e2f5fb; }
.product > div:not(.qty) { grid-area: tx; }
.product .qty { grid-area: qty; }
.product-icon { grid-area: ic; width: 48px; height: 48px; border-radius: 16px; background: #fff; display: grid; place-items: center; color: var(--aqua); }
.product-icon .icon { width: 24px; height: 24px; }
.product b { display: block; line-height: 1.25; font-size: 1.04rem; }
.product small { color: var(--muted); font-size: .9rem; line-height: 1.35; display: block; margin-top: 2px; }
.qty { display: flex; align-items: center; gap: 4px; background: #fff; border-radius: 999px; padding: 4px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--foam); cursor: pointer; display: grid; place-items: center; transition: background .3s, transform .3s var(--ease); }
.qty .icon { width: 16px; height: 16px; }
.qty button:hover { background: var(--navy); color: #fff; }
.qty button:active { transform: scale(.9); }
.qty output { min-width: 20px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty output.bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.5); } }
.cart { position: sticky; top: 110px; padding: 28px; border-radius: 30px; background: var(--navy); color: #fff; }
.cart h3 { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; margin-bottom: 18px; }
.cart h3 .icon { color: var(--sun); }
.cart-list { list-style: none; display: grid; gap: 8px; margin-bottom: 20px; min-height: 60px; }
.cart-list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .12); animation: wordIn .5s var(--ease) both; opacity: 0; transform: translateX(-10px); }
.cart-list li b { color: var(--sun); }
.cart-list .cart-empty { color: rgba(255, 255, 255, .6); border: 0; opacity: 1; transform: none; animation: none; }
.cart .button[aria-disabled="true"] { opacity: .45; pointer-events: none; box-shadow: none; }
.store-info { display: grid; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .95rem; }
.store-info p { display: flex; gap: 10px; color: rgba(255, 255, 255, .85); }
.store-info .icon { color: var(--sun); width: 20px; height: 20px; }
.open { display: inline-block; font-style: normal; font-size: .75rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; margin-left: 6px; }
.open.is-open { background: #2eb872; color: #fff; }
.open.is-closed { background: rgba(255, 255, 255, .15); }

/* avaliações */
.reviews .head { text-align: center; margin-inline: auto; }
.rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.rating b { font-family: var(--display); font-size: 1.4rem; }
.stars { display: inline-flex; gap: 2px; color: #f5b400; }
.stars .icon { width: 1.05em; height: 1.05em; }
.rating span:last-child { color: var(--muted); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 18px; }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 45s linear infinite; }
.marquee-rev .marquee-track { animation-direction: reverse; animation-duration: 90s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee blockquote { width: 380px; padding: 26px; border-radius: 26px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.marquee blockquote .stars { font-size: .9rem; }
.marquee blockquote p { flex: 1; }
.marquee cite { font-style: normal; font-weight: 700; display: flex; justify-content: space-between; gap: 10px; }
.marquee cite small { color: var(--muted); font-weight: 500; }
/* logos do Google no lugar do nome: a linha de base do logotipo fica a ~78% da altura */
.g-word { display: inline-block; width: auto; height: 1.2em; vertical-align: -.26em; }
.eyebrow .g-word { height: 1.35em; margin-left: .1em; }
.g-icon { width: 1.5rem; height: 1.5rem; }
.g-pin { width: auto; height: 1.4rem; }
.reviews-cta { text-align: center; margin-top: 36px; }

/* faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: background .3s; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; transition: transform .5s var(--ease); flex: none; }
.faq details[open] summary .icon { transform: rotate(135deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); }
.faq details[open] p { animation: wordIn .5s var(--ease) both; opacity: 0; transform: translateY(-6px); }

/* cta final */
.cta { padding-top: 0; }
.cta-box { position: relative; overflow: hidden; width: min(1200px, 100% - 32px); margin-inline: auto; border-radius: 40px; padding: clamp(60px, 9vw, 120px) 24px; text-align: center; color: #fff; background: radial-gradient(100% 120% at 50% 0%, #1cb8e4, #0a7fb0 50%, #063d63); }
.cta-box .caustics { opacity: .3; mix-blend-mode: overlay; }
.cta-box > *:not(.caustics) { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); margin-bottom: 18px; }
.cta-box p { max-width: 520px; margin: 0 auto 32px; color: rgba(255, 255, 255, .85); font-size: 1.1rem; }

/* rodapé */
.footer { background: var(--navy); color: rgba(255, 255, 255, .75); margin-top: 0; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid > div:first-child p { margin: 18px 0; max-width: 340px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-grid a:not(.logo) { display: block; margin-bottom: 8px; transition: color .3s; }
.footer-grid a:not(.logo):hover { color: var(--sun); }
.footer-grid p + p { margin-top: 12px; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid !important; place-items: center; margin: 0 !important; }
.social svg { width: 20px; height: 20px; }
.footer-copy { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.credit { display: inline-flex; align-items: center; gap: 10px; opacity: .8; transition: opacity .3s; }
.credit:hover { opacity: 1; }
.credit img { height: 26px; width: auto; filter: brightness(0) invert(1); }

/* barra do celular */
.mbar { display: none; }

/* popup story */
html.story-open { overflow: hidden; }
.story-bars { display: flex; gap: 5px; }
.story-bars span { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; position: relative; }
.story-bars span::after { content: ""; position: absolute; inset: 0; background: var(--aqua); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.story-bars span.on::after, .story-bars span.done::after { transform: scaleX(1); }
.story { border: 0; padding: 0; margin: auto; width: min(1040px, 100vw - 32px); height: min(740px, 100svh - 32px); max-width: none; max-height: none; border-radius: 32px; overflow: hidden; background: #fff; color: var(--ink); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .6); }
.story[open] { display: grid; grid-template-columns: .9fr 1.1fr; animation: storyIn .7s var(--ease); }
.story.closing { animation: storyOut .35s var(--ease) forwards; }
.story::backdrop { background: rgba(3, 22, 36, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fadeOnly .5s ease; }
@keyframes storyIn { from { opacity: 0; transform: translateY(40px) scale(.96); } }
@keyframes storyOut { to { opacity: 0; transform: translateY(20px) scale(.97); } }
@keyframes fadeOnly { from { opacity: 0; } }
.story-media { position: relative; overflow: hidden; background: var(--navy); }
.sm-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1s var(--ease), transform 7s linear; }
.sm-img.is-on { opacity: 1; transform: scale(1); }
.story-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 22, 36, .05) 35%, rgba(3, 22, 36, .85)); }
.sm-caption { position: absolute; left: 30px; right: 30px; bottom: 30px; z-index: 1; color: #fff; }
.sm-logo { display: block; width: auto; height: 64px; margin-bottom: 12px; }
.sm-caption p { font-family: var(--display); font-size: 1.6rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; transition: opacity .5s; }
.sm-caption p.swap { opacity: 0; }
.story-panel { display: flex; flex-direction: column; min-height: 0; }
.story-top { padding: 22px 28px 0; }
.story-head { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.story-head button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .3s, opacity .3s, transform .3s var(--ease); }
.story-head .icon { width: 18px; height: 18px; }
.story-head button:hover { background: var(--foam); transform: scale(1.06); }
.st-back[disabled] { opacity: 0; pointer-events: none; }
.st-count { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.story-steps { position: relative; flex: 1; min-height: 0; }
.step { position: absolute; inset: 0; padding: 18px 28px 12px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateX(40px); filter: blur(4px); transition: opacity .5s var(--ease), transform .6s var(--ease), filter .5s var(--ease), visibility 0s .6s; }
.step.is-on { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: .08s, .08s, .08s, 0s; }
.step.is-prev { transform: translateX(-40px); }
.st-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); margin-bottom: 8px; }
.step h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 18px; }
.st-hint { color: var(--muted); margin: -12px 0 16px; font-size: .95rem; }
.opts { display: grid; gap: 8px; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts label > span { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 11px 14px; border-radius: 18px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color .3s, background .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.opts label > span > .icon, .opts .big { grid-row: span 2; width: 42px; height: 42px; border-radius: 14px; background: var(--foam); display: grid; place-items: center; color: var(--navy); transition: background .3s, color .3s; }
.opts label > span > .icon { padding: 9px; }
.opts .big { font-family: var(--display); font-size: 1.25rem; font-weight: 800; }
.opts label > span b { font-weight: 700; }
.opts label > span small { color: var(--muted); font-size: .85rem; }
.opts label:hover > span { border-color: var(--navy); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(6, 42, 68, .4); }
.opts input:checked + span { border-color: var(--navy); background: #eef7fb; box-shadow: inset 0 0 0 1px var(--navy); }
.opts input:checked + span > .icon, .opts input:checked + span .big { background: var(--navy); color: var(--sun); }
.opts input:focus-visible + span { outline: 2px solid var(--aqua); outline-offset: 2px; }
.opts-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.opts-grid label { display: grid; }
.opts-grid label > span { height: 100%; align-content: start; grid-template-columns: 1fr; row-gap: 4px; padding: 18px; }
.opts-grid label > span > .icon, .opts-grid .big { grid-row: auto; margin-bottom: 10px; }
.opts-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.opts-chips label > span { display: inline-flex; gap: 8px; padding: 12px 18px; border-radius: 999px; font-weight: 500; }
.opts-chips label > span .icon { width: 19px; height: 19px; padding: 0; background: none; grid-row: auto; }
.opts-chips input:checked + span { background: var(--navy); color: #fff; }
.opts-chips input:checked + span .icon { background: none; color: var(--sun); }
.field { position: relative; margin-bottom: 14px; }
.field input { width: 100%; padding: 24px 18px 10px; border-radius: 16px; border: 1px solid var(--line); font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff; transition: border-color .3s, box-shadow .3s; }
.field input:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(19, 166, 212, .15); }
.field label { position: absolute; left: 18px; top: 17px; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label { top: 8px; font-size: .75rem; font-weight: 700; color: var(--navy); }
.field.invalid input { border-color: #d64545; animation: shake .4s; }
#outraCidade { margin-top: 14px; }
.st-error { color: #c23434; font-size: .9rem; min-height: 1.4em; }
.st-check { width: 64px; height: 64px; border-radius: 50%; background: var(--sun); color: var(--navy); display: grid; place-items: center; margin-bottom: 18px; }
.st-check .icon { width: 32px; height: 32px; }
.step-final.is-on .st-check { animation: pop .7s var(--ease) .2s both; }
@keyframes pop { from { transform: scale(0) rotate(-30deg); } }
.st-summary { display: grid; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.st-summary > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: .95rem; }
.st-summary > div:first-child { border-top: 0; }
.st-summary dt { color: var(--muted); }
.st-summary dd { font-weight: 700; text-align: right; }
.st-note { color: var(--muted); font-size: .88rem; margin-top: 14px; }
.story-foot { padding: 16px 28px 24px; border-top: 1px solid var(--line); }
.st-next[disabled] { opacity: .4; pointer-events: none; box-shadow: none; }

/* responsivo */
@media (max-width: 60em) {
  .nav-links { display: none; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .numbers-grid > div:nth-child(3) { border-left: 0; }
  .numbers-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sgrid { grid-template-columns: 1fr; }
  .rec { height: 250vh; }
  .rec-grid { grid-template-columns: 1fr; gap: 18px; align-content: center; }
  .rec-media { aspect-ratio: auto; height: 36svh; max-height: none; border-radius: 26px; }
  .pool { inset: 7% 5% 27% 5%; padding: 8px; border-radius: 18px; }
  .pool-water { inset: 8px; border-radius: 11px; }
  .pool-read { right: 14px; top: 14px; gap: 4px; }
  .pool-read span { min-width: 0; padding: 4px 9px; font-size: .72rem; gap: 10px; }
  .vac-head { height: 11%; }
  .rec-text h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); margin-bottom: 14px; }
  .rec-text .eyebrow { margin-bottom: 8px; }
  .rec-steps li { padding: 10px 14px; }
  .rec-steps li:not(.is-on) { display: none; }
  .rec-steps { margin-bottom: 16px; }
  .ba-grid, .about-grid, .store-grid, .faq-grid, .ment-tracks, .ment-how, .tracks, .phs-grid { grid-template-columns: minmax(0, 1fr); }
  .phs-grid { grid-template-areas: "copy" "box" "side"; row-gap: 28px; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .products { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .cart { position: static; }
  .about-img { aspect-ratio: 4 / 3.6; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 48em) {
  .nav { padding: 8px 8px 8px 14px; }
  .nav-cta { display: none; }
  .nav-burger { display: block; }
  .hero { padding: 110px 0 80px; min-height: 92svh; }
  .hero { min-height: 88svh; }
  /* "sempre azul." precisa caber numa linha em 320px */
  .hero-title { font-size: min(13vw, 4.8rem); }
  .hero-sub { margin: 24px auto 28px; }
  .hero-cta { width: 100%; }
  .hero .eyebrow { font-size: .86rem; letter-spacing: .01em; text-transform: none; }
  .scard { grid-template-columns: 1fr; }
  .scard figure { min-height: 0; aspect-ratio: 2 / 1; margin: 8px 8px 0; }
  .scard-text { padding: 20px 22px 24px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product { padding: 14px; gap: 12px 8px; }
  .product-icon { width: 40px; height: 40px; border-radius: 13px; }
  .product-icon .icon { width: 21px; height: 21px; }
  .product b { font-size: .98rem; }
  .product small { font-size: .84rem; }
  .qty button { width: 28px; height: 28px; }
  .track figure { aspect-ratio: 4 / 3; }
  .prev { flex-direction: column; text-align: center; padding: 22px 18px 18px; }
  .phs-copy, .phs-side { text-align: center; }
  .ph-msg p { text-align: left; }
  .ph-box { padding: 10px 10px 18px; border-radius: 28px; }
  .ph-hint { left: 20px; top: 20px; }
  .ph-value { right: 22px; bottom: 16px; }
  .how-steps { grid-template-columns: 1fr; gap: 10px; }
  .how-steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; padding: 20px; }
  .how-steps span { margin: 0; font-size: 1.6rem; }
  .how-steps h3 { margin: 0; }
  .how-steps p { grid-column: 1 / -1; margin-top: 6px; }
  /* regra 12: aberturas de seção centralizadas; cards, listas, FAQ e formulários seguem à esquerda */
  .head, .head-row, .ba-head, .rec-text, .ment-head, .about-grid > div, .faq-intro { text-align: center; }
  .head-row { flex-direction: column; align-items: center; }
  .lead, .about-grid p:not(.eyebrow) { margin-inline: auto; }
  .rec-steps { text-align: left; }
  .about-quote { padding-left: 0; border-left: 0; }
  .about-quote::before { content: ""; display: block; width: 48px; height: 4px; margin: 0 auto 16px; border-radius: 4px; background: var(--sun); }
  .footer-grid, .footer-copy { text-align: center; }
  .footer-grid > div:first-child p { margin-inline: auto; }
  .social { justify-content: center; }
  .footer-copy { flex-direction: column; justify-content: center; }
  .marquee blockquote { width: 290px; }
  .mbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 16px 40px -16px rgba(6, 42, 68, .5); transform: translateY(140%); transition: transform .6s var(--ease); }
  .mbar.is-on { transform: none; }
  .mbar > a:first-child { width: 50px; height: 50px; flex: none; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; }
  .mbar > a:first-child svg { width: 26px; height: 26px; }
  .mbar .button { flex: 1; }
  .footer { padding-bottom: 100px; }
  .story { width: 100vw; height: 100dvh; border-radius: 0; }
  .story[open] { grid-template-columns: 1fr; grid-template-rows: 150px 1fr; }
  .sm-caption { left: 20px; right: 20px; bottom: 16px; }
  .sm-caption p { font-size: 1.15rem; }
  .sm-logo { margin-bottom: 4px; height: 44px; }
  .story-top { padding: 16px 20px 0; }
  .step { padding: 14px 20px 12px; }
  .story-foot { padding: 12px 20px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .hero-title .w, .hero-in { opacity: 1; transform: none; filter: none; }
}
/* celular: piscina da limpeza sem rolagem presa nem animação */
@media (max-width: 48em) {
  .rec { height: auto; padding: var(--sec) 0; }
  .rec-pin { position: static; height: auto; overflow: visible; }
  .rec-grid { gap: 28px; }
  .rec-media { height: auto; aspect-ratio: 4 / 3.4; }
  .pool-algae, .pool-dirt, .pool-bubbles, .pool-vac, .pool-shine { display: none; }
  .pool-caustics { animation: none; }
  .rec-meter em { transition: none; }
  .rec-steps { gap: 10px; margin-bottom: 24px; }
  .rec-steps li, .rec-steps li:not(.is-on) { display: grid; opacity: 1; background: rgba(255, 255, 255, .07); }
  .rec-steps li p { max-height: none; margin-top: 8px; transition: none; }
}
@media (max-width: 23em) {
  .rating { gap: 7px; padding: 9px 14px; }
  .rating .g-icon { width: 1.25rem; height: 1.25rem; }
  .hero .eyebrow { white-space: nowrap; font-size: .84rem; letter-spacing: 0; padding: 7px 12px; }
}
/* popup aberto: pausa o que anima no fundo */
.story-open .caustics span, .story-open .pool-algae, .story-open .pool-caustics, .story-open .pool-dirt i, .story-open .pool-bubbles i, .story-open .vac-head, .story-open .pool-shine, .story-open .marquee-track { animation-play-state: paused; }
