:root {
  --navy: #0f2a6b;
  --navy-2: #163a8c;
  --sky: #2f80ed;
  --gold: #efba13;
  --gold-d: #a37e0b;
  --sand: #f5f1e8;
  --ink: #12204a;
  --muted: #5b6684;
  --line: rgba(15, 42, 107, .12);
  --r: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Satoshi", system-ui, sans-serif; background: var(--sand); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 14px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
section { padding: clamp(80px, 10vw, 130px) 0; }
.head { max-width: 720px; margin-bottom: 48px; }

/* placeholder pra preencher */
.todo { display: inline-block; background: #fff3c4; color: #7a5b00; border: 1px dashed var(--gold-d); border-radius: 6px; padding: 1px 8px; font-size: .78rem; font-weight: 500; font-style: normal; letter-spacing: 0; text-transform: none; }

/* botões */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font-weight: 700; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.btn svg { width: 20px; height: 20px; }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 30px -10px rgba(239, 186, 19, .7); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -10px rgba(239, 186, 19, .8); }

/* nav em pílula flutuante */
.nav { position: fixed; top: 16px; left: 50%; translate: -50% 0; z-index: 50; width: min(1100px, 100% - 32px); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 22px; background: rgba(12, 32, 84, .78); backdrop-filter: blur(14px); color: #fff; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; box-shadow: 0 10px 40px -20px rgba(15, 42, 107, .4); animation: navIn 1s var(--ease) .2s both; }
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 30px; font-weight: 500; font-size: .95rem; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--gold); scale: 0 1; transform-origin: right; transition: scale .4s var(--ease); }
.nav-links a:hover::after { scale: 1 1; transform-origin: left; }
.nav-cta { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--navy); transition: rotate .5s var(--ease), background .3s; }
.nav-cta:hover { rotate: -12deg; }
.nav-cta svg { width: 22px; height: 22px; }
@keyframes navIn { from { opacity: 0; translate: -50% -30px; } }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; color: #fff; padding: 140px 0 100px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 2.4s var(--ease) both; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 22, 60, .55) 0%, rgba(8, 22, 60, .35) 45%, rgba(8, 22, 60, .8) 100%); }
@keyframes heroZoom { from { scale: 1.18; filter: blur(6px); } }
.hero-inner { position: relative; width: min(900px, 100% - 32px); display: flex; flex-direction: column; align-items: center; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 700; letter-spacing: -.035em; margin-bottom: 22px; }
.hero-sub { max-width: 600px; font-size: clamp(1rem, 1.4vw, 1.15rem); opacity: .88; margin-bottom: 34px; }

/* reveal no scroll */
.reveal { opacity: 0; translate: 0 40px; filter: blur(6px); transition: opacity 1s var(--ease), translate 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; translate: 0 0; filter: none; }

/* serviços em painel azul */
.services { background: var(--navy); color: #fff; border-radius: 40px 40px 0 0; margin-top: -40px; position: relative; }
.services .eyebrow { color: var(--gold); }
.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--sand); color: var(--ink); border-radius: var(--r); padding: 30px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .6); }
.card i { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold); font-size: 26px; margin-bottom: 40px; transition: rotate .6s var(--ease); }
.card:hover i { rotate: 15deg; }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }

/* antes e depois */
.ba-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: center; }
.ba-grid p { color: var(--muted); margin: 18px 0; }
.ba-slider { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); filter: sepia(.7) hue-rotate(35deg) saturate(1.6) brightness(.75) contrast(.9); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; translate: -50% 0; pointer-events: none; }
.ba-handle i { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); font-size: 22px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.ba-slider input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }
.ba-tag { position: absolute; top: 16px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: .8rem; font-weight: 700; }
.ba-tag-l { left: 16px; } .ba-tag-r { right: 16px; }

/* sobre */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-grid > div > p { color: var(--muted); margin: 18px 0 28px; }
.diff { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.diff li { display: flex; gap: 12px; }
.diff i { font-size: 26px; color: var(--sky); }
.diff strong { display: block; }
.diff span { color: var(--muted); font-size: .9rem; }

/* passos */
.grid-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-steps li { background: #fff; border-radius: var(--r); padding: 28px; border: 1px solid var(--line); transition: background .5s var(--ease), color .5s var(--ease); }
.grid-steps li:hover { background: var(--navy); color: #fff; }
.grid-steps li:hover p { color: rgba(255, 255, 255, .75); }
.grid-steps span { display: block; font-weight: 900; font-size: 2.4rem; color: var(--gold); margin-bottom: 40px; }
.grid-steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.grid-steps p { color: var(--muted); font-size: .94rem; transition: color .5s; }

/* obras */
.works { background: #fff; }
.works-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; width: min(1400px, 100% - 32px); margin-inline: auto; }
.works-track figure { border-radius: 18px; overflow: hidden; aspect-ratio: 5 / 3.4; }
.works-track figure:nth-child(4n + 1), .works-track figure:nth-child(4n + 4) { aspect-ratio: 5 / 4; }
.works-track img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.works-track figure:hover img { scale: 1.07; }

/* avaliações */
.rating { margin-top: 16px; display: flex; align-items: center; gap: 10px; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.2rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee blockquote { width: 360px; flex-shrink: 0; background: #fff; border-radius: var(--r); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.marquee blockquote p::before { content: "★★★★★"; display: block; color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.marquee cite { font-style: normal; font-weight: 700; font-size: .92rem; }
@keyframes marquee { to { translate: calc(-50% - 9px) 0; } }

/* cta final */
.cta { padding-top: 0; }
.cta-box { position: relative; width: min(1200px, 100% - 32px); margin-inline: auto; border-radius: 32px; overflow: hidden; min-height: 460px; display: grid; align-items: end; color: #fff; }
.cta-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 22, 60, .92) 0%, rgba(8, 22, 60, .6) 55%, rgba(8, 22, 60, .15) 100%); }
.cta-content { position: relative; z-index: 1; padding: clamp(32px, 5vw, 64px); max-width: 620px; }
.cta-content p { opacity: .85; margin: 16px 0 28px; }

/* rodapé */
.footer { background: var(--navy); color: rgba(255, 255, 255, .8); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer img { height: 36px; width: auto; margin-bottom: 16px; }
.footer h4 { color: #fff; margin-bottom: 12px; }
.footer a { display: block; margin-bottom: 6px; }
.footer a:hover { color: var(--gold); }
.footer p { margin-bottom: 8px; }
.footer-copy { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer-copy p { margin: 0; }
.footer .credit { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; margin: 0; color: rgba(255, 255, 255, .6); transition: color .25s var(--ease); }
.footer .credit img { width: auto; height: 1.6rem; margin: 0; opacity: .8; transition: opacity .25s var(--ease); }
.footer .credit:hover { color: #fff; }
.footer .credit:hover img { opacity: 1; }

/* utilitários novos */
.lead { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }
.services .lead { color: rgba(255,255,255,.75); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { transform: translateY(-3px); background: var(--navy-2); }
.btn i { font-size: 18px; }

/* seta do hero */
.hero-scroll { position: absolute; bottom: 64px; left: 50%; translate: -50% 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; color: #fff; font-size: 18px; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(8px); } }

/* números */
.numbers { padding: 0; position: relative; z-index: 2; margin-top: -40px; background: linear-gradient(transparent 40px, var(--navy) 40px); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(15, 42, 107, .35); }
.numbers-grid > div { padding: 30px 28px; 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-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1; color: var(--navy); font-weight: 900; letter-spacing: -.03em; }
.numbers-grid b i { color: var(--gold); font-size: .7em; }
.numbers-grid > div > span { display: block; margin-top: 8px; color: var(--muted); font-size: .92rem; }
.services { margin-top: -1px; border-radius: 0; }

/* monte sua piscina */
.builder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.builder-grid > div:first-child { position: sticky; top: 120px; }
/* água equilibrada */
.water { background: var(--navy); color: #fff; }
.water .eyebrow { color: var(--gold); }
.water .lead { color: rgba(255,255,255,.75); }
.water-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
.ph-box, .plan { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 28px; padding: clamp(22px, 3vw, 36px); }
.ph-box { display: flex; flex-direction: column; }
.ph-pool { position: relative; flex: 1; min-height: 220px; border-radius: 20px; overflow: hidden; background: #d9d2c3; padding: 14px; }
.ph-water { position: absolute; inset: 14px; border-radius: 12px; background: var(--water, #2bb3d6); transition: background .6s var(--ease), filter .6s; background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.35) 0 2px, transparent 3px), radial-gradient(circle at 70% 60%, rgba(255,255,255,.25) 0 2px, transparent 3px), linear-gradient(160deg, rgba(255,255,255,.25), transparent 60%); background-size: 60px 60px, 90px 90px, auto; animation: ripple 8s linear infinite; }
@keyframes ripple { to { background-position: 60px 60px, -90px 90px, 0 0; } }
.ph-value { position: absolute; right: 26px; bottom: 22px; font-size: 3rem; font-weight: 900; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.ph-box input { width: 100%; margin: 22px 0 8px; accent-color: var(--gold); height: 6px; cursor: pointer; }
.ph-scale { display: flex; justify-content: space-between; font-size: .8rem; opacity: .7; }
.ph-msg { margin-top: 18px; display: grid; }
.ph-msg p { grid-area: 1 / 1; color: rgba(255,255,255,.85); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.ph-msg strong { color: var(--gold); }
#ph[data-state="acida"] [data-for="acida"], #ph[data-state="ideal"] [data-for="ideal"], #ph[data-state="alcalina"] [data-for="alcalina"] { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
#ph[data-state="ideal"] .ph-msg strong { color: #7ee2a8; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }
.plan h3 { font-size: 1.4rem; margin-bottom: 18px; }
.toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.08); margin-bottom: 22px; }
.toggle button { border: 0; background: none; color: #fff; font: inherit; font-weight: 500; padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s; }
.toggle button[aria-selected="true"] { background: var(--gold); color: var(--navy); }
.plan-list { list-style: none; display: grid; gap: 16px; margin-bottom: 28px; }
.plan-list[hidden] { display: none; }
.plan-list li { display: flex; gap: 14px; align-items: flex-start; animation: fadeIn .5s var(--ease) both; }
.plan-list li:nth-child(2) { animation-delay: .08s; } .plan-list li:nth-child(3) { animation-delay: .16s; }
.plan-list i { font-size: 24px; color: var(--gold); width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.08); display: grid; place-items: center; flex-shrink: 0; }
.plan-list strong { display: block; }
.plan-list span { color: rgba(255,255,255,.7); font-size: .92rem; }
.plan .btn-navy { background: #fff; color: var(--navy); }

/* loja */
.store-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.tags li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; }
.tags i { color: var(--sky); font-size: 17px; }
.store-info { display: grid; gap: 16px; margin-bottom: 28px; }
.store-info > div { display: flex; gap: 14px; }
.store-info i { font-size: 24px; color: var(--gold-d); }
.open { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.open.is-open { background: #dcf5e6; color: #13804a; }
.open.is-open::before { animation: pulse 1.6s infinite; }
.open.is-closed { background: #fde3e3; color: #b42323; }
@keyframes pulse { 50% { opacity: .3; } }
.map { border-radius: 28px; overflow: hidden; aspect-ratio: 1 / .9; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

/* avaliações em 2 faixas */
.rating b { font-size: 1.6rem; color: var(--navy); }
.marquee + .marquee { margin-top: 18px; }
.marquee-rev .marquee-track { animation-direction: reverse; animation-duration: 46s; }
.marquee cite small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: 2px; }

/* faq */
.faq { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 1.08rem; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font-size: 18px; transition: rotate .4s var(--ease), background .3s; }
.faq-list details[open] summary i { rotate: 45deg; background: var(--gold); }
.faq-list details p { color: var(--muted); padding-bottom: 22px; max-width: 620px; animation: fadeIn .5s var(--ease); }

/* galeria clicável + lightbox */
.works-track figure { cursor: zoom-in; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(6, 16, 44, .88); backdrop-filter: blur(6px); }
.lightbox img { max-width: min(1000px, 88vw); max-height: 80vh; border-radius: 18px; animation: fadeIn .4s var(--ease); }
.lightbox button { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 22px; display: grid; place-items: center; cursor: pointer; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lb-next { right: 20px; top: 50%; translate: 0 -50%; }

/* redes no rodapé */
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: background .3s, color .3s; }
.social a:hover { background: var(--gold); color: var(--navy); }
.social svg { width: 20px; height: 20px; }

/* dica de interação nos sliders */
.ph-box { position: relative; }
.drag-hint { position: absolute; left: 26px; top: 24px; 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); }
.drag-hint i { font-size: 19px; animation: sway 2.8s cubic-bezier(.45, 0, .55, 1) infinite; }
.drag-hint-ba { left: 50%; top: auto; bottom: 20px; translate: -50% 0; }
.used .drag-hint { opacity: 0; translate: 0 -10px; }
.used .drag-hint-ba { translate: -50% 10px; }
@keyframes sway { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(3px); } }

/* mão fantasma que demonstra o arraste */
.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 i { position: absolute; left: -15px; top: -2px; font-size: 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); }
.drag-hand::before { content: ""; position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .35); transform: scale(.4); opacity: 0; transition: transform .45s var(--ease), opacity .45s; }
.demoing .drag-hand { opacity: 1; }
.demoing .drag-hand i { transform: translateY(4px) scale(.94); }
.demoing .drag-hand::before { transform: scale(1); opacity: 1; }

/* pulso suave no controle enquanto ninguém mexeu */
.ph-box:not(.used) input::-webkit-slider-thumb { animation: thumbPulse 2.4s cubic-bezier(.45, 0, .55, 1) infinite; }
.ba-slider:not(.used) .ba-handle i { animation: thumbPulse 2.4s cubic-bezier(.45, 0, .55, 1) infinite; }
.demoing input::-webkit-slider-thumb, .demoing .ba-handle i { animation: none !important; }
@keyframes thumbPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(239, 186, 19, .45); } 50% { box-shadow: 0 0 0 7px rgba(239, 186, 19, 0); } }

/* teaser do monte a sua */
.teaser-points { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
.teaser-points li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.teaser-points i { font-size: 22px; color: var(--gold-d); }
.teaser { position: relative; border-radius: 32px; overflow: hidden; min-height: 520px; display: grid; place-items: center; padding: 40px 24px; }
.teaser > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.6s var(--ease); }
.teaser:hover > img { transform: scale(1.12); }
.teaser::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 22, 60, .25), rgba(8, 22, 60, .7)); }
.teaser-card { position: relative; z-index: 1; width: min(400px, 100%); padding: 22px; border-radius: 26px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border: 1px solid rgba(255, 255, 255, .28); color: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.teaser-kicker { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin: 18px 0 6px; }
.teaser-card h3 { font-size: 1.6rem; margin-bottom: 18px; }
.teaser-opts { display: grid; gap: 10px; }
.teaser-opts button, .teaser-more { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: #fff; font: inherit; font-weight: 500; text-align: left; cursor: pointer; transition: background .3s, transform .4s var(--ease), color .3s; }
.teaser-opts button i { font-size: 22px; color: var(--gold); }
.teaser-opts button:hover { background: #fff; color: var(--navy); transform: translateX(4px); }
.teaser-more { justify-content: center; border: 0; background: var(--gold); color: var(--navy); font-weight: 700; margin-top: 14px; }
.teaser-more:hover { transform: translateY(-2px); }

/* barras estilo story */
.story-bars { display: flex; gap: 5px; }
.story-bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.story-bars span::after { content: ""; position: absolute; inset: 0; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.story-bars span.on::after, .story-bars span.done::after { transform: scaleX(1); }
.teaser .story-bars span.on::after { background: var(--gold); animation: barFill 3s linear infinite; }
@keyframes barFill { from { transform: scaleX(0); } }

/* popup story */
html.story-open { overflow: hidden; }
.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: 30px; 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(6, 16, 44, .7); 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(8, 22, 60, .1) 30%, rgba(8, 22, 60, .85)); }
.sm-caption { position: absolute; left: 32px; right: 32px; bottom: 32px; z-index: 1; color: #fff; }
.sm-caption img { height: 30px; width: auto; margin-bottom: 14px; }
.sm-caption p { font-size: 1.5rem; font-weight: 700; line-height: 1.2; 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; color: var(--navy); }
.story-top .story-bars span { background: var(--line); }
.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; color: var(--navy); font-size: 18px; display: grid; place-items: center; cursor: pointer; transition: background .3s, opacity .3s, transform .3s var(--ease); }
.story-head button:hover { background: var(--sand); 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(--gold-d); margin-bottom: 8px; }
.step h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); 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 > i, .opts .big { grid-row: span 2; width: 42px; height: 42px; border-radius: 14px; background: var(--sand); display: grid; place-items: center; font-size: 24px; color: var(--navy); transition: background .3s, color .3s; }
.opts .big { font-size: 1.2rem; font-weight: 900; }
.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(15, 42, 107, .4); }
.opts input:checked + span { border-color: var(--navy); background: #f2f5fc; box-shadow: inset 0 0 0 1px var(--navy); }
.opts input:checked + span > i, .opts input:checked + span .big { background: var(--navy); color: var(--gold); }
.opts input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.opts-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.opts-grid label { display: grid; }
.opts-grid label > span { height: 100%; align-content: start; grid-template-columns: 1fr; text-align: left; row-gap: 4px; padding: 18px; }
.opts-grid label > span > i, .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 i { width: auto; height: auto; background: none; font-size: 19px; grid-row: auto; }
.opts-chips input:checked + span { background: var(--navy); color: #fff; }
.opts-chips input:checked + span i { background: none; color: var(--gold); }

.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(15, 42, 107, .1); }
.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; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.st-error { color: #c23434; font-size: .9rem; min-height: 1.4em; }

.step-final { text-align: left; }
.st-check { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-size: 32px; margin-bottom: 18px; }
.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; gap: 0; 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 { width: 100%; justify-content: center; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 1rem; padding: 17px 26px; }
.st-next[disabled] { opacity: .4; pointer-events: none; box-shadow: none; }
.st-next svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
  .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); }
  .builder-grid, .water-grid, .store-grid, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .builder-grid > div:first-child { position: static; }
}
@media (max-width: 600px) {
  .numbers-grid > div { padding: 22px 18px; }
  .lb-prev, .lb-next { top: auto; bottom: 24px; translate: none; }
  .hero-scroll { display: none; }
  .btn { padding: 14px 20px; font-size: .92rem; white-space: nowrap; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .grid-services, .grid-steps { grid-template-columns: 1fr 1fr; }
  .ba-grid, .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .works-track { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-services, .grid-steps, .diff { grid-template-columns: 1fr; }
  .card i, .grid-steps span { margin-bottom: 24px; }
  .marquee blockquote { width: 280px; }
}
/* celular: textos centralizados e blocos mais compactos */
@media (max-width: 760px) {
  section { padding: 68px 0; }
  .head, .builder-grid > div:first-child, .ba-grid > div:first-child, .about-grid > div, .store-grid > div:first-child, .faq-grid > div:first-child { text-align: center; }
  .head { margin-inline: auto; margin-bottom: 32px; }
  .lead, .ba-grid p, .about-grid > div > p { margin-inline: auto; }
  .teaser-points { justify-content: center; grid-template-columns: auto; width: max-content; margin-inline: auto; text-align: left; }
  .rating { justify-content: center; }
  .tags { justify-content: center; }
  .store-info { width: max-content; max-width: 100%; margin-inline: auto; text-align: left; }
  .diff, .plan-list { text-align: left; }
  .store-grid .btn, .builder-grid .btn { margin-inline: auto; }

  .hero { padding: 120px 0 90px; }
  .hero h1 { font-size: min(calc((100vw - 32px) * .115), 3.6rem); margin-bottom: 20px; }
  .hero-sub { font-size: 1.08rem; }
  .hero .eyebrow { font-size: .86rem; }

  .services { padding-top: 64px; }
  .grid-services { gap: 12px; }
  .card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 20px; text-align: left; }
  .card i { width: 44px; height: 44px; font-size: 22px; margin: 0; }
  .card h3 { margin: 0; font-size: 1.1rem; }
  .card p { grid-column: 1 / -1; margin-top: 10px; }

  .grid-steps { gap: 12px; }
  .grid-steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; padding: 20px; }
  .grid-steps span { font-size: 1.6rem; margin: 0; }
  .grid-steps h3 { margin: 0; }
  .grid-steps p { grid-column: 1 / -1; margin-top: 6px; }

  .ba-grid > div:first-child .todo { margin-inline: auto; }
  .plan h3 { text-align: center; font-size: 1.25rem; }
  .toggle { display: flex; width: 100%; }
  .toggle button { flex: 1; white-space: nowrap; padding: 10px 12px; }
  .plan .btn { display: flex; justify-content: center; }

  .about-img { aspect-ratio: 4 / 3; }
  .faq-list summary { font-size: 1rem; padding: 18px 0; }
  .cta-box { min-height: 0; text-align: center; }
  .cta-box::after { background: linear-gradient(180deg, rgba(8, 22, 60, .55), rgba(8, 22, 60, .92)); }
  .cta-content { padding: 160px 22px 32px; }
  .footer { text-align: center; }
  .footer-grid { gap: 32px; }
  .footer img { margin-inline: auto; }
  .social { justify-content: center; }
  .footer-copy { justify-content: center; text-align: center; }
  .numbers-grid > div { text-align: center; }
  .numbers-grid b { justify-content: center; }
  .drag-hint { left: 50%; translate: -50% 0; white-space: nowrap; }
  .used .drag-hint { translate: -50% -10px; }
}
@media (max-width: 760px) {
  .story { width: 100vw; height: 100svh; border-radius: 0; }
  .story[open] { grid-template-columns: 1fr; grid-template-rows: 26svh 1fr; }
  .sm-caption { left: 20px; right: 20px; bottom: 18px; }
  .sm-caption img { display: none; }
  .sm-caption p { font-size: 1.15rem; }
  .story-top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; padding: 14px 16px 0; color: #fff; }
  .story-top .story-bars span { background: rgba(255, 255, 255, .35); }
  .story-head button { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .3); color: #fff; backdrop-filter: blur(8px); }
  .st-count { color: rgba(255, 255, 255, .85); }
  .step { padding: 22px 18px 10px; }
  .story-foot { padding: 12px 18px calc(16px + env(safe-area-inset-bottom)); }
  .teaser { min-height: 480px; padding: 24px 16px; }
}
@media (max-height: 800px) and (min-width: 761px) {
  .step { padding-top: 12px; }
  .step h3 { font-size: 1.55rem; margin-bottom: 14px; }
  .opts label > span { padding: 8px 14px; }
  .opts label > span > i, .opts .big { width: 36px; height: 36px; font-size: 20px; }
  .story-foot { padding-top: 12px; padding-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; translate: none; filter: none; }
}
