/* ===== TEMA (troque aqui por nicho ou cliente) ===== */
:root {
  --navy: #0E2340;
  --navy-hover: #1B3459;
  --navy-soft: #E4E9F0;
  --bg: #FAF8F4;
  --bg-rgb: 250 248 244;
  --surface: #F2EEE7;
  --text: #0E1A2B;
  --muted: #5B6473;
  --line: #E2DDD3;
  --gold: #B08A3E;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font-family: Manrope, system-ui, sans-serif; font-size: 16px; line-height: 24px; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; color: var(--navy); }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; border-radius: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
section { padding: 80px 0; }
.surface { background: var(--surface); }
h2 { font-size: 36px; line-height: 40px; max-width: 680px; }
.lead { font-size: 18px; line-height: 28px; color: var(--muted); max-width: 560px; margin-top: 16px; }
.skip { position: absolute; left: 16px; top: -64px; background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; transition: top .4s var(--ease); }
.skip:focus { top: 16px; }

/* Seções escuras */
.dark { background: var(--navy); color: #fff; }
.dark h2 { color: #fff; }
.dark .lead { color: rgb(255 255 255 / .65); }

/* ===== BOTÕES ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 16px 24px; border-radius: 9999px; font-size: 16px; line-height: 24px; font-weight: 600; background: var(--navy); color: #fff; transition: background-color .5s var(--ease), translate .5s var(--ease), scale .3s var(--ease); }
.btn:hover { background: var(--navy-hover); translate: 0 -2px; }
.btn:active { scale: .98; }
.btn i { font-size: 20px; }
.btn.sm { padding: 8px 16px; font-size: 14px; line-height: 20px; }
.btn.sm i { font-size: 18px; }
.btn.light { background: var(--bg); color: var(--navy); }
.btn.light:hover { background: #fff; }
/* Brilho que atravessa o botão a cada 4s */
.shine { position: relative; overflow: hidden; }
.shine::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / .35), transparent); transform: translateX(-150%) skewX(-20deg); animation: shine 4s var(--ease) infinite; pointer-events: none; }
.btn.light.shine::after { background: linear-gradient(100deg, transparent, rgb(14 35 64 / .14), transparent); }
@keyframes shine { 0% { transform: translateX(-150%) skewX(-20deg); } 30%, 100% { transform: translateX(350%) skewX(-20deg); } }

/* ===== CABEÇALHO ===== */
/* Sem JS fica sólido. Com JS: transparente no hero (.top), some ao descer (.away). */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgb(var(--bg-rgb) / .85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transition: background-color .6s var(--ease), border-color .6s var(--ease), backdrop-filter .6s var(--ease), transform .6s var(--ease); }
.nav.top { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav.away { transform: translateY(-100%); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); white-space: nowrap; }
.brand .rule { width: 1px; height: 32px; background: var(--line); }
.brand b { display: block; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 24px; line-height: 24px; }
.brand small { display: block; margin-top: 2px; font-size: 10px; line-height: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: none; gap: 32px; font-size: 14px; line-height: 20px; font-weight: 500; }
.nav-links a { position: relative; color: var(--muted); transition: color .4s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav .btn { display: none; }
.burger { position: relative; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 9999px; background: transparent; cursor: pointer; }
.burger span { position: absolute; left: 11px; width: 16px; height: 1.5px; background: var(--navy); transition: transform .7s var(--ease), top .7s var(--ease); }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 22px; }
.open .burger span { top: 19px; }
.open .burger span:first-child { transform: rotate(45deg); }
.open .burger span:last-child { transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 24px; background: rgb(var(--bg-rgb) / .85); backdrop-filter: blur(64px); -webkit-backdrop-filter: blur(64px); opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.open .menu { opacity: 1; visibility: visible; }
.menu a:not(.btn) { font-family: "Instrument Serif", Georgia, serif; font-size: 48px; line-height: 1; color: var(--navy); opacity: 0; transform: translateY(48px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.menu .btn { align-self: flex-start; opacity: 0; transition: opacity .7s var(--ease) .3s; }
.open .menu a { opacity: 1; transform: none; }
.open .menu a:nth-child(1) { transition-delay: .10s; }
.open .menu a:nth-child(2) { transition-delay: .15s; }
.open .menu a:nth-child(3) { transition-delay: .20s; }
.open .menu a:nth-child(4) { transition-delay: .25s; }
.open .menu a:nth-child(5) { transition-delay: .30s; }

/* ===== HERO ===== */
/* Mobile: texto em cima, foto embaixo. --h é a altura da foto (3:2), nunca mais estreita que a tela. */
.hero { --h: max(66.667vw, 360px); position: relative; isolation: isolate; overflow: hidden; padding: 120px 0 calc(var(--h) - 24px); }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--surface) url(hero.jpg) right bottom / auto var(--h) no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) calc(100% - var(--h)), rgb(var(--bg-rgb) / 0) calc(100% - var(--h) + 72px)); }
.hero-text { max-width: 600px; }
.hero h1 { font-size: 48px; line-height: 1; padding-bottom: 4px; }
.hero .hw { display: inline-block; }
.hero .lead { margin: 24px 0 32px; }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; font-size: 14px; line-height: 20px; color: var(--muted); }
.proof .stars { display: flex; gap: 2px; color: var(--gold); font-size: 14px; }
.proof strong { color: var(--text); font-weight: 600; }
.m .hero :is(h1, .lead, .proof) { opacity: 0; }

/* ===== FRASE ===== */
.tagline p { font-family: "Instrument Serif", Georgia, serif; font-size: 36px; line-height: 40px; color: var(--navy); max-width: 960px; text-wrap: balance; }
.tagline .w { opacity: .25; transition: opacity .7s var(--ease); }
.tagline .w.on { opacity: 1; }

/* ===== LAYOUT EDITORIAL (título à esquerda, conteúdo à direita) ===== */
.split { display: grid; gap: 48px; }

/* ===== TRATAMENTOS ===== */
.services a { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.services li:last-child a { border-bottom: 1px solid var(--line); }
.services h3, .services p { grid-column: 1; }
.services h3 { font-size: 30px; line-height: 36px; transition: translate .6s var(--ease); }
.services p { color: var(--muted); max-width: 480px; }
.services i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 24px; color: var(--navy); transition: transform .6s var(--ease); }
.services a:hover h3 { translate: 8px 0; }
.services a:hover i { transform: rotate(45deg); }

/* ===== COMO FUNCIONA ===== */
.steps { display: grid; gap: 32px; margin-top: 48px; }
.steps li { padding-top: 24px; border-top: 1px solid var(--navy); }
.steps h3 { font-size: 30px; line-height: 36px; margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* ===== EQUIPE ===== */
.team-grid { display: grid; gap: 48px; margin-top: 48px; }
.photo { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; margin-bottom: 24px; border-radius: 16px; overflow: hidden; background: var(--navy-soft); transition: translate .6s var(--ease), box-shadow .6s var(--ease); }
.photo .ini { font-family: "Instrument Serif", Georgia, serif; font-size: 96px; line-height: 1; color: var(--navy); opacity: .25; }
.photo .img { position: absolute; inset: 0; background: var(--img) center top / cover no-repeat; }
.photo .reg { position: absolute; left: 12px; bottom: 12px; padding: 4px 12px; border-radius: 9999px; background: rgb(var(--bg-rgb) / .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12px; line-height: 16px; font-weight: 600; color: var(--navy); transition: opacity .5s var(--ease), translate .5s var(--ease); }
.team h3 { font-size: 30px; line-height: 36px; }
.team .spec { margin: 4px 0 12px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--navy); }
.team p:last-child { color: var(--muted); }

/* ===== DEPOIMENTOS E CONVÊNIOS ===== */
.quotes { display: grid; gap: 24px; margin-top: 48px; }
.quote { padding: 32px; border: 1px solid rgb(255 255 255 / .12); border-radius: 24px; background: rgb(255 255 255 / .04); transition: translate .6s var(--ease), box-shadow .6s var(--ease); }
.quote p { font-family: "Instrument Serif", Georgia, serif; font-size: 24px; line-height: 32px; }
.quote footer { margin-top: 24px; font-size: 14px; line-height: 20px; color: rgb(255 255 255 / .6); }
.quote footer strong { display: block; color: #fff; font-weight: 600; }
/* Marquee vertical (ligado pelo JS com .on) */
.quotes.on { height: 560px; overflow: hidden; mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
.qtrack { display: flex; flex-direction: column; gap: 24px; animation: qup 40s linear infinite; }
.qcol:nth-child(2) .qtrack { animation-direction: reverse; }
.quotes.on:hover .qtrack { animation-play-state: paused; }
@keyframes qup { to { transform: translateY(calc(-50% - 12px)); } }

.plans-label { margin-top: 64px; color: rgb(255 255 255 / .65); }
.marquee { margin-top: 24px; overflow: hidden; }
.marquee .track { display: flex; flex-wrap: wrap; gap: 16px 48px; }
.marquee li { font-family: "Instrument Serif", Georgia, serif; font-size: 30px; line-height: 36px; color: rgb(255 255 255 / .7); white-space: nowrap; }
/* Marquee horizontal (ligado pelo JS com .on) */
.marquee.on { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee.on .track { flex-wrap: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.marquee.on:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 24px)); } }

/* ===== FAQ ===== */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 18px; line-height: 28px; font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; font-size: 24px; transition: transform .6s var(--ease); }
.faq:not([data-anim]) details[open] summary i, .faq[data-anim] details.is-open summary i { transform: rotate(45deg); }
.ans { overflow: hidden; }
.ans p { padding-bottom: 24px; color: var(--muted); max-width: 600px; }

/* ===== LOCAL ===== */
.local { display: grid; gap: 48px; margin-top: 48px; }
.info { display: grid; gap: 32px; align-content: start; }
.info li { display: grid; gap: 4px; padding-top: 24px; border-top: 1px solid var(--line); }
.info strong { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); }
.info span { font-family: "Instrument Serif", Georgia, serif; font-size: 24px; line-height: 32px; color: var(--navy); }
.local iframe { width: 100%; min-height: 360px; border: 0; border-radius: 24px; filter: grayscale(1) contrast(.95); }

/* ===== FAIXA DE URGÊNCIA ===== */
.urgent { padding: 24px 0; }
.urgent .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.urgent h2 { font-size: 30px; line-height: 36px; }
.urgent p { color: rgb(255 255 255 / .7); }
.urgent .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; font-size: 14px; line-height: 20px; color: rgb(255 255 255 / .7); }
.urgent .acts a:not(.btn) { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* ===== CHIPS (caso e agendamento) ===== */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; padding: 8px 16px; border: 1px solid var(--line); border-radius: 9999px; background: var(--bg); font: inherit; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--navy); cursor: pointer; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"], .chip:has(:checked) { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip:has(:focus-visible) { outline: 2px solid currentColor; outline-offset: 4px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }

/* ===== QUAL É O SEU CASO ===== */
.case-box { display: grid; gap: 32px; margin-top: 48px; }
.case-out { padding: 32px; border-radius: 24px; background: var(--bg); }
.case-out small { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); }
.case-out h3 { margin-top: 4px; font-size: 36px; line-height: 40px; }
.case-out p { margin: 12px 0 24px; color: var(--muted); max-width: 480px; }
.case-out .note { margin: 16px 0 0; font-size: 12px; line-height: 16px; }

/* ===== ANTES E DEPOIS (comparador: o range nativo manda, o CSS só lê --pos) ===== */
.compara { --pos: 50%; position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--navy-soft); user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; -webkit-tap-highlight-color: transparent; }
.compara img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compara-antes { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compara-linha { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.compara-linha span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--bg); color: var(--navy); display: grid; place-items: center; font-size: 22px; box-shadow: 0 2px 10px rgb(14 35 64 / .3); }
.compara input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none; background: none; }
.compara input::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100%; }
.compara input::-moz-range-thumb { width: 44px; height: 100%; border: 0; }
.compara input:focus-visible { opacity: 1; outline: 3px solid var(--navy); outline-offset: -3px; }
.compara.varrendo .compara-antes, .compara.varrendo .compara-linha { transition: clip-path 1.6s var(--ease), left 1.6s var(--ease); }
.etiqueta { position: absolute; top: 12px; padding: 4px 12px; border-radius: 9999px; font-size: 12px; line-height: 16px; font-weight: 600; pointer-events: none; }
.etiqueta-antes { left: 12px; background: rgb(14 35 64 / .8); color: #fff; }
.etiqueta-depois { right: 12px; background: var(--bg); color: var(--navy); }
.legal { margin-top: 16px; font-size: 12px; line-height: 16px; color: var(--muted); }

/* ===== A CLÍNICA ===== */
/* Celular: fileira que desliza com o dedo. Desktop: mosaico com a foto principal grande. */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 16px; margin: 48px -16px 0; padding: 0 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { scroll-snap-align: start; }
.gallery .photo { aspect-ratio: 4 / 5; margin: 0 0 12px; }
.gallery .img { background-position: center; }
.gallery figcaption { font-size: 14px; line-height: 20px; color: var(--muted); }

/* ===== TECNOLOGIA (reaproveita .steps) ===== */
.tech i { display: block; margin-bottom: 16px; font-size: 32px; color: var(--navy); }

/* ===== CONFORTO ===== */
.comfort { display: flex; flex-wrap: wrap; gap: 8px; }
.comfort li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 9999px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--navy); }
.comfort i { font-size: 18px; }

/* ===== AGENDAMENTO GUIADO E RODAPÉ ===== */
.booking .wrap { display: grid; gap: 48px; }
.book-info { display: grid; gap: 12px; margin-top: 32px; color: rgb(255 255 255 / .75); }
.book-info li { display: flex; gap: 12px; }
.book-info i { flex: none; font-size: 20px; color: #fff; }
.book-info a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.book { display: grid; gap: 32px; padding: 24px; border-radius: 24px; background: var(--bg); color: var(--text); box-shadow: 0 32px 64px -32px rgb(0 0 0 / .5); }
.book fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.book legend { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--navy); }
.book legend b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9999px; background: var(--navy); color: #fff; font-size: 14px; line-height: 1; }
.book input { position: absolute; opacity: 0; pointer-events: none; }
/* Opções do tratamento: bolinha de rádio desenhada no ::before */
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); cursor: pointer; transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.opt::before { content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid var(--line); border-radius: 9999px; transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.opt:hover { border-color: var(--navy); }
.opt:last-child:nth-child(odd) { grid-column: span 2; }
.opt:has(:checked) { border-color: var(--navy); background: var(--navy-soft); font-weight: 600; color: var(--navy); }
.opt:has(:checked)::before { border-color: var(--navy); box-shadow: inset 0 0 0 4px var(--navy-soft), inset 0 0 0 9px var(--navy); }
/* Período: barra única dividida em quatro */
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 9999px; background: var(--surface); }
.seg-opt { display: grid; place-items: center; padding: 8px 4px; border-radius: 9999px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .4s var(--ease), color .4s var(--ease); }
.seg-opt:hover { color: var(--navy); }
.seg-opt:has(:checked) { background: var(--navy); color: #fff; }
.opt:has(:focus-visible), .seg-opt:has(:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.preview { padding: 16px; border-left: 2px solid var(--navy); border-radius: 0 12px 12px 0; background: var(--surface); }
.preview small { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--muted); }
.preview p { margin-top: 4px; font-family: "Instrument Serif", Georgia, serif; font-size: 20px; line-height: 28px; color: var(--navy); }
.book .btn { justify-content: center; border: 0; cursor: pointer; font-family: inherit; }
/* Rodapé: marca e WhatsApp, páginas, contato e horários; barra final com registro e Instagram.
   O padding de baixo no celular deixa espaço para o botão flutuante do WhatsApp. */
footer.site { padding: 64px 0 96px; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--muted); }
.foot { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
.foot-brand { grid-column: 1 / -1; display: grid; gap: 16px; justify-items: start; align-content: start; }
.foot-acts { display: flex; align-items: center; gap: 8px; }
.foot-brand p { max-width: 280px; }
.foot-title { margin-bottom: 16px; font-weight: 600; color: var(--navy); }
.foot ul { display: grid; gap: 12px; }
.foot ul a { transition: color .4s var(--ease); }
.foot ul a:hover { color: var(--navy); }
.foot .more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--navy); }
.foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; line-height: 16px; }
.social { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 9999px; color: var(--navy); font-size: 20px; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.social:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ===== TOPO DAS PÁGINAS INTERNAS ===== */
/* Foto de fundo escurecida e só o título. --img vem do style da própria seção. */
.page-top { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 260px; margin-top: 72px; padding: 48px 16px; background: var(--navy) var(--img) center / cover no-repeat; text-align: center; }
.page-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(14 35 64 / .62); }
.page-top h1 { color: #fff; font-size: 48px; line-height: 1; }
.nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* ===== WHATSAPP FLUTUANTE ===== */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: flex; align-items: center; gap: 12px; transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s; }
.fab.hide { opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); }
.fab-btn { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 9999px; background: var(--navy); color: #fff; font-size: 28px; border: 1px solid rgb(255 255 255 / .35); animation: pulse 8s ease-out infinite; }
.bubble { padding: 8px 16px; border: 1px solid var(--line); border-radius: 9999px; background: var(--bg); color: var(--navy); font-size: 14px; line-height: 20px; font-weight: 600; box-shadow: 0 12px 32px -16px rgb(14 35 64 / .4); transition: opacity .5s var(--ease), translate .5s var(--ease); }
.fab.quiet .bubble { opacity: 0; translate: 8px 0; }
@keyframes pulse {
  0% { box-shadow: 0 12px 32px -12px rgb(14 35 64 / .5), 0 0 0 0 rgb(14 35 64 / .35); }
  15%, 100% { box-shadow: 0 12px 32px -12px rgb(14 35 64 / .5), 0 0 0 18px rgb(14 35 64 / 0); }
}

/* ===== HOVER (só em quem tem mouse) ===== */
@media (hover: hover) {
  .team:hover .photo { translate: 0 -4px; box-shadow: 0 24px 48px -24px rgb(14 35 64 / .45); }
  .photo .reg { opacity: 0; translate: 0 8px; }
  .team:hover .reg { opacity: 1; translate: 0 0; }
  .quote:hover { translate: 0 -4px; box-shadow: 0 24px 48px -24px rgb(0 0 0 / .6); }
  .fab:hover .bubble, .fab:focus-visible .bubble { opacity: 1; translate: 0 0; }
}

/* ===== TABLET E DESKTOP ===== */
@media (min-width: 720px) {
  .wrap { padding: 0 24px; }
  .steps, .team-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { gap: 32px; }
  .quotes:not(.on) { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; margin: 48px 0 0; padding: 0; overflow: visible; }
  .gallery figure { position: relative; }
  .gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery .photo { position: absolute; inset: 0; aspect-ratio: auto; margin: 0; }
  .gallery figcaption { position: absolute; left: 12px; bottom: 12px; padding: 4px 12px; border-radius: 9999px; background: rgb(var(--bg-rgb) / .9); font-size: 12px; line-height: 16px; font-weight: 600; color: var(--navy); }
}
@media (min-width: 960px) {
  section { padding: 128px 0; }
  h2 { font-size: 60px; line-height: 1; }
  .nav-links { display: flex; }
  .nav .btn { display: inline-flex; }
  .burger, .menu { display: none; }
  .hero { display: flex; align-items: center; min-height: 100vh; padding: 136px 0 96px; }
  .hero .wrap { width: 100%; }
  .hero-bg { background-position: right top; background-size: cover; }
  .hero::before { background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 38%, rgb(var(--bg-rgb) / .7) 56%, rgb(var(--bg-rgb) / 0) 80%); }
  .hero h1 { font-size: 72px; }
  .tagline p { font-size: 60px; line-height: 1; }
  .split { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .split .head { position: sticky; top: 120px; }
  .services h3 { font-size: 36px; line-height: 40px; }
  .services a { padding: 32px 0; }
  .quotes:not(.on) { grid-template-columns: repeat(3, 1fr); }
  .local { grid-template-columns: 5fr 7fr; gap: 64px; }
  .booking .wrap { grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
  .book { padding: 40px; }
  footer.site { padding: 80px 0 32px; }
  .foot { grid-template-columns: 4fr 2fr 3fr 3fr; gap: 48px; }
  .foot-brand { grid-column: auto; }
  .urgent h2 { font-size: 36px; line-height: 40px; }
  .page-top { min-height: 400px; }
  .page-top h1 { font-size: 72px; }
  .case-box { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .tagline .w { opacity: 1; }
}
