/* Alessandro Piscinas · link da bio. Mesma identidade do site: navy/ciano, Bricolage + Instrument Serif, água que ondula. */
:root {
  --navy: #003a5d; --navy-2: #0b2d4f; --navy-3: #062340; --fundo: #041a31;
  --ciano: #00aeef; --claro: #7dd8ff; --gelo: #e8f6fd;
  --verde: #25d366; --verde-esc: #1fb558;
  --txt: #e9f4fb; --txt-2: #a9c6d8; --linha: rgba(125, 216, 255, .16);
  --card: rgba(255, 255, 255, .055); --card-2: rgba(255, 255, 255, .09);
  --r: 18px;
  --disp: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --corpo: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--corpo); color: var(--txt); line-height: 1.5;
  background: var(--fundo) radial-gradient(120% 60% at 50% 0%, #0a3a63 0%, var(--fundo) 60%) no-repeat;
  min-height: 100vh; overflow-x: hidden;
}
body.dock-on { padding-bottom: 84px; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--claro); letter-spacing: 0; }
.wrap { max-width: 520px; margin: 0 auto; }
main { padding: 0 16px; }
:focus-visible { outline: 3px solid var(--claro); outline-offset: 3px; border-radius: 8px; }

/* campanha */
.camp { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 16px;
  background: linear-gradient(90deg, var(--ciano), #0090d0); color: #fff; font-size: 14px; }
.camp b { font-weight: 600; }
.camp i { font-style: normal; font-weight: 700; white-space: nowrap; }

/* capa com água */
.hero { isolation: isolate; position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden;
  background: var(--navy-3) url(img/hero-900.webp) center 30% / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 26, 49, .35) 0%, rgba(4, 26, 49, .05) 30%, rgba(4, 26, 49, .75) 68%, var(--fundo) 100%); }
.hero-in { position: relative; z-index: 2; width: 100%; padding: 0 22px 26px; text-align: center; pointer-events: none; }
.hero-in a { pointer-events: auto; }
.selo { width: 112px; height: 112px; margin: 0 auto 10px; border-radius: 50%; box-shadow: 0 12px 40px rgba(0, 0, 0, .45); }
.wm { line-height: 1; margin-bottom: 14px; }
.wm b { font-family: var(--disp); font-weight: 800; font-size: 22px; letter-spacing: -.3px; }
.wm em { font-size: 25px; margin-left: 4px; }
.hero h1 { font-family: var(--disp); font-weight: 800; font-size: clamp(38px, 11vw, 52px); line-height: .98; letter-spacing: -1.5px; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero h1 em { font-size: 1.12em; }
.sub { margin-top: 14px; color: #d6ecf7; font-size: 16px; }
.pin { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: #fff; }
.pin svg { width: 16px; height: 16px; color: var(--claro); }
.tag { margin-top: 12px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--claro); opacity: 0; transition: opacity .6s; }
.hero.ondulando .tag { opacity: .9; }

/* botões */
.cta-box { position: relative; z-index: 3; margin-top: -6px; display: grid; gap: 10px; }
.btn { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r);
  background: var(--card-2); border: 1px solid var(--linha); transition: transform .15s, background .2s; position: relative; overflow: hidden; }
.btn:active { transform: scale(.98); }
.btn div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.btn b { font-family: var(--disp); font-weight: 700; font-size: 17px; }
.btn span { font-size: 13px; color: var(--txt-2); }
.btn .chev { flex: none; opacity: .8; }
.ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 174, 239, .14); color: var(--claro); }
.ic svg { width: 24px; height: 24px; }
.btn.wa { background: linear-gradient(135deg, var(--verde), var(--verde-esc)); border: 0; color: #fff; padding: 16px 18px; box-shadow: 0 14px 34px rgba(37, 211, 102, .32); }
.btn.wa span { color: rgba(255, 255, 255, .9); }
.btn.wa .ic { background: rgba(255, 255, 255, .2); color: #fff; }
.btn.wa::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); animation: brilho 3.6s ease-in-out infinite; }
@keyframes brilho { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn.half { gap: 10px; padding: 12px; }
.btn.half .ic { width: 38px; height: 38px; }
.btn.half b { font-size: 15px; }
.btn.half span { font-size: 12px; }
.btn.outline { background: transparent; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px; padding: 14px 6px; border-radius: var(--r); background: var(--card); border: 1px solid var(--linha); text-align: center; }
.kpis b { display: block; font-family: var(--disp); font-weight: 800; font-size: 24px; color: #fff; }
.kpis span { display: block; font-size: 11px; line-height: 1.25; color: var(--txt-2); }

/* destaques */
.hl { display: flex; gap: 14px; overflow-x: auto; padding: 22px 2px 6px; scrollbar-width: none; }
.hl::-webkit-scrollbar { display: none; }
.hl a { flex: none; width: 76px; text-align: center; }
.ring { display: block; width: 72px; height: 72px; margin: 0 auto 6px; border-radius: 50%; padding: 3px;
  background: conic-gradient(from 200deg, var(--ciano), var(--claro), #fff, var(--ciano)); }
.ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid var(--fundo); }
.hl b { font-size: 12px; font-weight: 500; color: var(--txt-2); display: block; line-height: 1.2; }

/* seções */
.sec { padding: 34px 0 6px; scroll-margin-top: 10px; }
.sec-h { margin-bottom: 16px; }
.k { font-size: 12px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase; color: var(--ciano); margin-bottom: 6px; }
.sec h2, .fim h2 { font-family: var(--disp); font-weight: 800; font-size: 30px; line-height: 1.02; letter-spacing: -.8px; }
.sec h2 em, .fim h2 em { font-size: 1.12em; }
.sec-h p:not(.k) { color: var(--txt-2); font-size: 14px; margin-top: 8px; }
.note { font-size: 13px; color: var(--txt-2); text-align: center; margin-top: 12px; }

.svs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sv { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--r); background: var(--card); border: 1px solid var(--linha); transition: transform .15s, border-color .2s; }
.sv:active { transform: scale(.97); border-color: var(--ciano); }
.sv .ic { width: 40px; height: 40px; margin-bottom: 6px; }
.sv b { font-family: var(--disp); font-weight: 700; font-size: 16px; line-height: 1.15; }
.sv span { font-size: 12px; color: var(--txt-2); line-height: 1.35; }
.photo { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 14px; border-radius: var(--r); border: 1px dashed rgba(125, 216, 255, .45); background: rgba(0, 174, 239, .07); }
.photo b { font-family: var(--disp); font-size: 16px; display: block; }
.photo span { font-size: 13px; color: var(--txt-2); }

/* antes e depois */
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; font: 500 13px var(--corpo); color: var(--txt-2); background: var(--card); border: 1px solid var(--linha); border-radius: 40px; padding: 8px 14px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ciano); border-color: var(--ciano); color: #fff; }
.cmp { --p: 50%; position: relative; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); user-select: none; touch-action: pan-y; }
.cmp img { width: 100%; height: 100%; object-fit: cover; }
.cmp .a { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.cmp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.bar { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.bar i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; font-style: normal; font-size: 22px; font-weight: 700; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.lb { position: absolute; top: 14px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 12px; border-radius: 30px; background: rgba(4, 26, 49, .7); pointer-events: none; }
.la { left: 14px; } .ld { right: 14px; background: var(--ciano); }
.cap { font-size: 13px; color: var(--txt-2); margin-top: 10px; text-align: center; }
.cap b { color: var(--txt); font-weight: 600; }

/* vídeos */
.car { position: relative; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.track::-webkit-scrollbar { display: none; }
.vd { scroll-snap-align: start; }
.vd video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 20px; background: var(--navy-2); }
.vd figcaption { font-size: 12px; color: var(--txt-2); margin-top: 6px; }
.nav { display: none; position: absolute; top: 42%; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; }
.prev { left: -8px; } .next { right: -8px; }
@media (hover: hover) { .nav { display: block; } }

/* história */
.hist p { color: #cfe3ef; font-size: 15px; margin-bottom: 14px; }
.hist b { color: #fff; }
.pol { background: #fff; padding: 8px 8px 0; border-radius: 6px; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); margin: 6px auto 18px; width: 82%; }
.pol img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 3px; }
.pol figcaption { font-family: var(--serif); font-style: italic; color: var(--navy); font-size: 18px; text-align: center; padding: 6px 0 8px; }
.p1 { transform: rotate(-2.5deg); } .p2 { transform: rotate(2deg); }

/* passos */
.steps { list-style: none; counter-reset: p; position: relative; }
.steps li { counter-increment: p; position: relative; padding: 0 0 18px 56px; }
.steps li::before { content: counter(p); position: absolute; left: 0; top: -4px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 24px; color: #fff; background: var(--navy); border: 2px solid var(--ciano); }
.steps li::after { content: ""; position: absolute; left: 19px; top: 38px; bottom: 2px; width: 2px; background: repeating-linear-gradient(var(--linha) 0 6px, transparent 6px 10px); }
.steps li:last-child::after { display: none; }
.steps b { display: block; font-family: var(--disp); font-size: 17px; }
.steps span { font-size: 14px; color: var(--txt-2); }

/* cidades */
.cid { display: grid; gap: 8px; }
.cid a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--linha); font-family: var(--disp); font-weight: 700; font-size: 19px; }
.cid a svg { width: 20px; height: 20px; color: var(--ciano); flex: none; }
.cid a::after { content: "→"; margin-left: auto; color: var(--claro); font-family: var(--corpo); }

/* dúvidas */
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary { list-style: none; cursor: pointer; padding: 15px 30px 15px 0; position: relative; font-weight: 600; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 24px; color: var(--ciano); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--txt-2); font-size: 14px; padding-bottom: 16px; }

/* fechamento com água */
.fim { isolation: isolate; position: relative; margin: 40px -16px 0; padding: 48px 22px 40px; text-align: center; overflow: hidden;
  background: var(--navy-3) url(img/piscina-07.webp) center / cover no-repeat; }
.fim::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--fundo) 0%, rgba(4, 26, 49, .55) 35%, rgba(4, 26, 49, .8) 100%); pointer-events: none; }
.fim > * { position: relative; z-index: 2; }
.fim img { width: 96px; height: 96px; margin: 0 auto 14px; border-radius: 50%; }
.fim h2 { margin-bottom: 20px; }
.fim .btn { text-align: left; }
.share { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--corpo); color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); padding: 10px 16px; border-radius: 40px; cursor: pointer; }
.share svg { width: 18px; height: 18px; }

footer { text-align: center; padding: 24px 16px 30px; font-size: 12px; color: var(--txt-2); }
.by-p { margin-top: 6px; opacity: .7; }
.by { text-decoration: underline; }

/* barra fixa */
.dock { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 20; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 10px; padding: 10px 22px 10px 10px; border-radius: 40px; white-space: nowrap;
  background: linear-gradient(135deg, var(--verde), var(--verde-esc)); color: #fff; font: 700 15px var(--disp);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45); transition: transform .35s cubic-bezier(.2, .9, .3, 1.2); }
.dock .ic { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .22); color: #fff; }
.dock .ic svg { width: 20px; height: 20px; }
body.dock-on .dock { transform: translate(-50%, 0); }

/* entrada suave */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.vis { opacity: 1; transform: none; }

@media (min-width: 560px) {
  .hero { border-radius: 0 0 28px 28px; }
  .fim { margin: 40px 0 0; border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn.wa::after { display: none; }
  .rv { opacity: 1; transform: none; transition: none; }
}
