/* ==========================================================
   Relógios & Relógios — identidade visual
   Azul precisão #174EA6 · Grafite #15191F · Branco · Gelo #F3F5F7 · Cinza técnico #596573
   Tipografia: Arial Bold (títulos) / Arial Regular (textos)
   ========================================================== */
:root {
  --blue: #174EA6;
  --blue-600: #123f88;
  --blue-300: #5b8de0;
  --graphite: #15191F;
  --graphite-2: #1d232c;
  --graphite-3: #262e39;
  --white: #FFFFFF;
  --ice: #F3F5F7;
  --gray: #596573;
  --line: #dfe3e8;
  --line-dark: rgba(255,255,255,.12);
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --header-h: 116px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--graphite);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 700; margin: 0; line-height: 1.05; letter-spacing: -.025em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue-300); outline-offset: 3px; }
::selection { background: var(--blue); color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--blue); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Marca ---------- */
.mark { width: 40px; height: 40px; color: currentColor; flex: none; overflow: visible; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; line-height: 1.02; letter-spacing: .01em; font-size: 15px; text-transform: uppercase; }
.brand .mark { --mark-hand: currentColor; }
.brand .mark { transition: transform 1.2s var(--ease-out); }
.brand:hover .mark { transform: rotate(360deg); }
.preloader .m-hands { transform-origin: 0 2px; transform-box: view-box; }
.preloader .m-ticks { transform-origin: center; transform-box: view-box; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; transform-origin: left; }
.on-dark .eyebrow, .eyebrow.light { color: var(--blue-300); }
.h-xl { font-size: clamp(2.7rem, 7.2vw, 6rem); letter-spacing: -.04em; line-height: .98; }
.h-lg { font-size: clamp(2.1rem, 4.8vw, 3.9rem); letter-spacing: -.035em; }
.h-md { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--gray); max-width: 560px; }
.on-dark .lead, .page-intro .lead { color: rgba(255,255,255,.72); }
.page-intro .eyebrow { color: var(--blue-300); }
.text-blue { color: var(--blue); }
.on-dark .text-blue { color: var(--blue-300); }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--blue); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; min-height: 52px; border-radius: var(--radius); border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 15px; letter-spacing: .01em;
  overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--graphite); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); z-index: -1; }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease-out); }
.btn:hover svg.arrow { transform: translateX(4px); }
.on-dark .btn::before, .btn.invert::before { background: #fff; }
.on-dark .btn:hover, .btn.invert:hover { color: var(--graphite); }
.btn.ghost { --bg: transparent; --fg: var(--graphite); border-color: var(--graphite); }
.btn.ghost:hover { color: #fff; }
.on-dark .btn.ghost { --fg: #fff; border-color: rgba(255,255,255,.4); }
.on-dark .btn.ghost:hover { color: var(--graphite); border-color: #fff; }
.btn.white { --bg: #fff; --fg: var(--blue); }
.btn.white::before { background: var(--graphite); }
.btn.white:hover { color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--blue); position: relative; padding-bottom: 4px; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(.25); transform-origin: left; transition: transform .5s var(--ease-out); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow { color: #fff; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: var(--graphite); color: #fff; transition: transform .5s var(--ease), box-shadow .4s; }
.site-header.compact .header-top { padding-block: 10px; }
.site-header.compact .header-top .mark { width: 34px; height: 34px; }
.site-header.hide { transform: translateY(-100%); }
.header-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 16px; transition: padding .4s var(--ease); }
.header-loc { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.25; }
.header-loc svg { width: 18px; height: 18px; color: var(--blue-300); }
.header-loc small { display: block; color: rgba(255,255,255,.55); font-size: 12px; }
.header-loc:hover small { color: #fff; }
.header-cta { justify-self: end; }
.header-cta .btn { min-height: 44px; padding: 10px 18px; font-size: 14px; background: transparent; border-color: rgba(255,255,255,.3); }
.header-cta .btn:hover { color: var(--graphite); border-color: #fff; }
.site-header .mark { transition: width .4s var(--ease), height .4s var(--ease); }
.nav { border-top: 1px solid var(--line-dark); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: clamp(18px, 4vw, 52px); }
.nav a { display: block; padding: 13px 2px; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.75); position: relative; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue-300); transform: scaleX(0); transition: transform .45s var(--ease-out); }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.scroll-line { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--blue-300); transform: scaleX(var(--p, 0)); transform-origin: left; }
.menu-toggle { display: none; justify-self: end; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; border-radius: var(--radius); position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.menu-toggle span:nth-child(1) { top: 16px; } .menu-toggle span:nth-child(2) { top: 22px; } .menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

main { padding-top: var(--header-h); }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 100; background: var(--graphite); color: #fff; display: grid; place-items: center; transition: opacity .7s var(--ease), visibility .7s; }
.preloader .mark { width: 92px; height: 92px; --mark-hand: var(--blue-300); }
.preloader .m-ticks { animation: tickFade 1.1s var(--ease) both; stroke-dasharray: 12; }
.preloader .m-hands { animation: handSpin 1.3s var(--ease-out) both; }
.preloader p { margin-top: 18px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.5); text-align: center; }
.loaded .preloader { opacity: 0; visibility: hidden; }
@keyframes handSpin { from { transform: rotate(-720deg); } to { transform: rotate(0); } }
@keyframes tickFade { from { opacity: 0; transform: scale(.6) rotate(-30deg); } to { opacity: 1; transform: none; } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="split"] { opacity: 1; transform: none; }
.split .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.split .ln > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * .1s + var(--d, 0s)); }
.no-js .split .ln > span, .split.in .ln > span { transform: none; }
.js .eyebrow[data-reveal]::before { transform: scaleX(0); transition: transform .9s var(--ease-out) .2s; }
.js .eyebrow[data-reveal].in::before { transform: scaleX(1); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: var(--graphite); color: #fff; overflow: hidden; min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 70% at 75% 45%, rgba(23,78,166,.38), transparent 70%),
  radial-gradient(40% 50% at 10% 100%, rgba(23,78,166,.18), transparent 70%); }
.hero-bg-dial { position: absolute; width: 1400px; height: 1400px; right: -380px; top: 50%; margin-top: -700px; opacity: .07; color: #fff; animation: spin 240s linear infinite; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding-block: clamp(48px, 8vh, 96px) clamp(120px, 15vh, 150px); }
.hero h1 { margin: 22px 0 24px; }
.hero .lead { margin-bottom: 36px; }
.hero-clock-wrap { position: relative; justify-self: center; width: min(100%, 520px); aspect-ratio: 1; }
.hero-clock-wrap::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(91,141,224,.35), transparent 65%); filter: blur(30px); animation: pulse 6s ease-in-out infinite; }
.hero-clock-wrap .orbit { position: absolute; inset: -6%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.14); animation: spin 90s linear infinite; }
.hero-clock-wrap .orbit::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--blue-300); box-shadow: 0 0 18px 4px rgba(91,141,224,.7); }
.live-time { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); white-space: nowrap; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.live-time b { color: #fff; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .26em; font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,.6); }
.scroll-cue i { width: 1.5px; height: 46px; background: rgba(255,255,255,.18); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--blue-300); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .75; } }

/* Relógio animado (referência: mostrador escuro) */
.dial { width: 100%; height: 100%; display: block; overflow: visible; }
.dial .glow { filter: url(#glow); }

/* ---------- Ticker ---------- */
.ticker { background: var(--blue); color: #fff; overflow: hidden; border-block: 1px solid rgba(255,255,255,.1); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 28px; padding: 18px 28px 18px 0; font-size: clamp(15px, 1.6vw, 19px); font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.ticker-item .mark { width: 24px; height: 24px; --mark-hand: #fff; opacity: .9; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.section.ice { background: var(--ice); }
.section.dark, .on-dark { background: var(--graphite); color: #fff; }
.section.blue { background: var(--blue); color: #fff; }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { margin-top: 18px; }
.section-head .lead { margin-top: 20px; }
.note { font-size: 13.5px; color: var(--gray); margin-top: 28px; display: flex; align-items: center; gap: 10px; }
.note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; }

/* Categorias */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--graphite); color: #fff; isolation: isolate; }
.cat img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter .8s; transform: translateY(var(--py, 0)) scale(1.02); filter: saturate(.85); }
.cat:hover img { transform: translateY(var(--py, 0)) scale(1.09); filter: saturate(1); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,25,31,0) 35%, rgba(21,25,31,.92)); z-index: 1; }
.cat-body { position: absolute; inset: auto 0 0; padding: 28px; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; }
.cat-num { position: absolute; top: 22px; left: 26px; z-index: 2; font-size: 13px; font-weight: 700; letter-spacing: .2em; color: rgba(255,255,255,.8); }
.cat h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cat p { color: rgba(255,255,255,.75); font-size: 15px; margin-top: 6px; }
.cat .go { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); display: grid; place-items: center; transition: background .4s, border-color .4s, transform .5s var(--ease-out); }
.cat .go svg { width: 18px; height: 18px; transition: transform .5s var(--ease-out); }
.cat:hover .go { background: var(--blue); border-color: var(--blue); }
.cat:hover .go svg { transform: rotate(-45deg); }

/* Cuidado */
.care-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.care-media { position: sticky; top: calc(var(--header-h) + 24px); }
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--graphite-2); }
.media-frame img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; transform: translateY(var(--py, 0)); }
.media-frame figcaption, .media-cap { position: absolute; left: 18px; bottom: 18px; z-index: 2; background: rgba(21,25,31,.78); backdrop-filter: blur(8px); color: #fff; font-size: 12.5px; letter-spacing: .06em; padding: 9px 14px; border-radius: 2px; }
.media-frame .badge-dial { position: absolute; right: 18px; top: 18px; width: 88px; height: 88px; z-index: 2; }
.services { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: s; }
.service { position: relative; padding: 30px 0 30px 72px; border-top: 1px solid var(--line); }
.on-dark .service { border-color: var(--line-dark); }
.service:last-child { border-bottom: 1px solid var(--line); }
.on-dark .service:last-child { border-color: var(--line-dark); }
.service::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out); }
.service:hover::before, .service.in::before { transform: scaleX(1); }
.service .num { position: absolute; left: 0; top: 32px; font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .12em; }
.on-dark .service .num { color: var(--blue-300); }
.service h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-bottom: 10px; }
.service p { color: var(--gray); max-width: 520px; }
.on-dark .service p { color: rgba(255,255,255,.68); }
.service .link-arrow { margin-top: 16px; }
.service .s-ico { position: absolute; right: 0; top: 30px; width: 42px; height: 42px; color: var(--blue); opacity: .9; }
.on-dark .service .s-ico { color: var(--blue-300); }

/* Unidades */
.units { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.unit { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.unit:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(21,25,31,.35); }
.unit-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--graphite); }
.unit-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.unit:hover .unit-photo img { transform: scale(1.06); }
.unit-photo .tag { position: absolute; left: 16px; top: 16px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; border-radius: 2px; }
.unit-body { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; flex: 1; }
.unit-kicker { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--blue); }
.unit h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 6px; }
.info { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15.5px; color: var(--gray); }
.info li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.info svg { width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.info a:hover { color: var(--blue); }
.info strong { color: var(--graphite); font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; padding: 7px 12px 7px 10px; border-radius: 99px; background: var(--ice); color: var(--gray); width: fit-content; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #9aa3ad; position: relative; }
.status.open { background: #e8f0fc; color: var(--blue); }
.status.open i { background: #1f9d55; }
.status.open i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #1f9d55; animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.unit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.unit-actions .btn { flex: 1 1 180px; }

/* História / marca */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.story .brand-big { display: flex; align-items: center; gap: 18px; font-size: clamp(20px, 2.4vw, 28px); margin-bottom: 36px; }
.story .brand-big .mark { width: 72px; height: 72px; --mark-hand: #fff; }
.story h2 { margin: 18px 0 24px; }
.story p { color: rgba(255,255,255,.8); max-width: 520px; margin-bottom: 34px; }
.roman-wrap { position: relative; width: min(100%, 440px); aspect-ratio: 1; justify-self: center; }
.roman-wrap::before { content: ""; position: absolute; inset: -14%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 62%); }
.roman-wrap .strap { position: absolute; left: -22%; right: -22%; top: 32%; bottom: 32%; background: linear-gradient(90deg, transparent, #0f1217 18%, #1b2028 50%, #0f1217 82%, transparent); border-radius: 40%; }

/* Faixa de contato */
.contact-band { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding-block: clamp(72px, 10vw, 130px); }
.contact-band .bg-dial { position: absolute; width: 760px; height: 760px; right: -160px; top: 50%; margin-top: -380px; color: #fff; opacity: .1; }
.contact-band .bg-dial { animation: spin 120s linear infinite reverse; }
.contact-band .eyebrow { color: rgba(255,255,255,.75); }
.contact-band h2 { margin: 18px 0 18px; }
.contact-band p { color: rgba(255,255,255,.82); font-size: 18px; margin-bottom: 36px; }
.contact-band .btn-row { position: relative; }

/* ---------- Page intro (páginas internas) ---------- */
.page-intro { position: relative; background: var(--graphite); color: #fff; overflow: hidden; }
.page-intro-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: min(78svh, 640px); }
.page-intro-text { padding: clamp(56px, 9vw, 120px) clamp(20px, 5vw, 72px) clamp(56px, 9vw, 120px) 0; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.page-intro h1 { margin: 22px 0 24px; }
.page-intro-media { position: relative; overflow: hidden; margin-right: calc(var(--gutter) * -1); }
.page-intro-media img { position: absolute; inset: -8% 0; height: 116%; width: 100%; object-fit: cover; transform: translateY(var(--py, 0)) scale(1.05); animation: introZoom 2.2s var(--ease-out) both; }
.page-intro-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--graphite), rgba(21,25,31,0) 40%); }
.page-intro .crumbs { font-size: 13px; color: rgba(255,255,255,.5); display: flex; gap: 8px; }
.page-intro .crumbs a:hover { color: #fff; }
@keyframes introZoom { from { transform: scale(1.25); filter: brightness(.5); } to { transform: translateY(var(--py, 0)) scale(1.05); filter: none; } }

/* Lista de serviços (página) */
.service-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.s-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3.5vw, 44px); overflow: hidden; display: flex; flex-direction: column; gap: 14px; transition: border-color .4s, transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.s-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(23,78,166,.5); }
.s-card .num { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .16em; }
.s-card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.s-card p { color: var(--gray); }
.s-card .s-ico { width: 56px; height: 56px; color: var(--blue); margin-bottom: 8px; }
.s-card .bg-num { position: absolute; right: -6px; top: -26px; font-size: 150px; font-weight: 700; color: var(--ice); letter-spacing: -.06em; line-height: 1; z-index: 0; transition: color .5s, transform .8s var(--ease-out); }
.s-card:hover .bg-num { color: #e8eefa; transform: translateY(8px); }
.s-card > *:not(.bg-num) { position: relative; z-index: 1; }
.s-card .link-arrow { margin-top: auto; padding-top: 12px; }

.notice { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: var(--radius); overflow: hidden; background: var(--graphite); color: #fff; }
.notice-media { position: relative; min-height: 360px; overflow: hidden; }
.notice-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 86% 50%; }
.notice-body { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.notice-body p { color: rgba(255,255,255,.75); }
.notice-body .btn { align-self: flex-start; margin-top: 10px; }

/* Catálogo */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.tab { border: 1.5px solid var(--line); background: #fff; color: var(--graphite); padding: 12px 22px; border-radius: 99px; font-weight: 700; font-size: 15px; display: inline-flex; gap: 10px; align-items: center; transition: background .35s, color .35s, border-color .35s; }
.tab span { font-size: 12px; color: var(--gray); letter-spacing: .1em; transition: color .35s; }
.tab:hover { border-color: var(--blue); }
.tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.tab[aria-selected="true"] span { color: rgba(255,255,255,.7); }
.cat-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--graphite); color: #fff; min-height: 520px; }
.cat-panel[hidden] { display: none; }
.cat-panel .media { position: relative; overflow: hidden; }
.cat-panel .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: panelIn 1.2s var(--ease-out) both; }
.cat-panel .body { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 18px; animation: fadeUp .9s var(--ease-out) .15s both; }
.cat-panel .big-num { font-size: 80px; font-weight: 700; letter-spacing: -.05em; color: var(--blue-300); line-height: .9; }
.cat-panel p { color: rgba(255,255,255,.75); }
.cat-panel .btn { align-self: flex-start; margin-top: 10px; }
@keyframes panelIn { from { transform: scale(1.15); opacity: .2; } to { transform: scale(1); opacity: 1; } }
@keyframes fadeUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: st; }
.step { padding-top: 26px; border-top: 2px solid var(--line); position: relative; }
.step::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.step.in::before { transform: scaleX(1); }
.step b { display: block; font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--blue); letter-spacing: -.04em; line-height: 1; margin-bottom: 22px; }
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { color: var(--gray); }

/* Sobre */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.about p + p { margin-top: 18px; }
.about .lead { max-width: none; color: var(--graphite); font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.5; }
.about .body { color: var(--gray); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 56px; border-radius: var(--radius); overflow: hidden; }
.fact { background: #fff; padding: 28px 24px; }
.fact b { display: block; font-size: clamp(2.4rem, 4.4vw, 3.4rem); letter-spacing: -.04em; color: var(--blue); line-height: 1; }
.fact span { display: block; margin-top: 10px; color: var(--gray); font-size: 15px; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--graphite); }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(21,25,31,.78); color: #fff; font-size: 12px; padding: 7px 12px; border-radius: 2px; letter-spacing: .04em; }
.g1 { grid-column: span 5; aspect-ratio: 4/5; } .g2 { grid-column: span 4; aspect-ratio: 4/5; margin-top: 60px !important; } .g3 { grid-column: span 3; aspect-ratio: 3/5; }

/* Contato */
.choose { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.wa-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.wa-form fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.wa-form legend { font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; padding: 0; }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt label { display: block; height: 100%; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px 18px 18px 52px; cursor: pointer; transition: border-color .3s, background .3s; position: relative; }
.opt label::before { content: ""; position: absolute; left: 18px; top: 20px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #b7bec6; transition: border .3s, box-shadow .3s; }
.opt label strong { display: block; font-size: 16.5px; }
.opt label small { display: block; color: var(--gray); font-size: 14px; margin-top: 4px; line-height: 1.45; }
.opt input:checked + label { border-color: var(--blue); background: #f5f8fe; }
.opt input:checked + label::before { border: 6px solid var(--blue); }
.opt input:focus-visible + label { outline: 2px solid var(--blue-300); outline-offset: 2px; }
.wa-form textarea { width: 100%; min-height: 110px; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font: inherit; font-size: 16px; resize: vertical; transition: border-color .3s; }
.wa-form textarea:focus { outline: none; border-color: var(--blue); }
.wa-preview { margin-top: 10px; font-size: 13.5px; color: var(--gray); }
.wa-form .btn { width: 100%; margin-top: 6px; }
.direct { display: grid; gap: 16px; }
.direct-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; display: grid; gap: 14px; }
.direct-card h3 { font-size: 1.35rem; }

/* Página da unidade */
.unit-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.unit-detail .media-frame { aspect-ratio: 4/5; }
.unit-detail h1 { margin: 16px 0 14px; }
.unit-detail .info { font-size: 17px; margin: 30px 0; }
.back { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 36px; }
.back svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.back:hover svg { transform: translateX(-4px); }
.map { margin-top: clamp(40px, 6vw, 80px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21/8; background: var(--ice); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite); color: rgba(255,255,255,.7); padding: clamp(60px, 8vw, 100px) 0 28px; font-size: 15px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .7fr; gap: 40px; }
.site-footer .brand { color: #fff; font-size: 16px; }
.site-footer .brand .mark { width: 48px; height: 48px; --mark-hand: var(--blue-300); }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer p { margin-top: 22px; color: rgba(255,255,255,.7); }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer address strong { color: #fff; display: block; margin-bottom: 4px; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .tel { display: inline-flex; margin-top: 10px; color: var(--blue-300); font-weight: 700; }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,.5); }
.credit { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 15px; color: rgba(255,255,255,.82); letter-spacing: -.005em; }
.credit strong { color: #fff; font-weight: 700; }
.credit a { position: relative; }
.credit a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: #8b3dff; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.credit a:hover::after, .credit a:focus-visible::after { transform: scaleX(1); }
.credit a:hover strong { color: #c9a2ff; }
.credit b { color: #8b3dff; font-weight: 700; }
.credit-ico { width: 30px; height: 30px; object-fit: contain; flex: none; filter: drop-shadow(0 0 6px rgba(139,61,255,.45)); transition: transform 1s var(--ease-out); }
.credit:hover .credit-ico { transform: rotate(90deg); }
.footer-word { font-size: min(9.4vw, 8.6rem); font-weight: 700; letter-spacing: -.05em; line-height: .8; color: rgba(255,255,255,.04); white-space: nowrap; margin-top: 56px; user-select: none; }

/* ---------- Flutuantes ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: #fff; border: 0; border-radius: 99px; padding: 14px 20px 14px 16px; font-weight: 700; font-size: 15px; box-shadow: 0 14px 34px -12px rgba(23,78,166,.7); transition: transform .4s var(--ease-out), background .3s; }
.fab:hover { transform: translateY(-3px); background: var(--blue-600); }
.fab svg { width: 22px; height: 22px; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--blue); animation: ring 2.8s var(--ease) infinite; pointer-events: none; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.25, 1.5); opacity: 0; } }
.to-top { position: fixed; left: 20px; bottom: 20px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--graphite); color: #fff; padding: 0; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease-out); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 100%; height: 100%; }
.to-top .prog { stroke-dasharray: 132; stroke-dashoffset: calc(132 - 132 * var(--p, 0)); }
.to-top .hand { transform: rotate(calc(360deg * var(--p, 0))); transform-origin: 27px 27px; }

/* Modal de unidade */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(21,25,31,.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-card { position: relative; background: #fff; border-radius: 8px; width: min(100%, 520px); padding: clamp(24px, 4vw, 40px); transform: translateY(30px) scale(.97); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s; }
.modal.open .modal-card { transform: none; opacity: 1; }
.modal-card h2 { font-size: 1.7rem; margin: 14px 0 8px; }
.modal-card > p { color: var(--gray); margin-bottom: 22px; }
.modal-close { position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; border: 0; background: var(--ice); border-radius: 50%; font-size: 22px; line-height: 1; color: var(--graphite); }
.modal-units { display: grid; gap: 12px; }
.modal-unit { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px 18px; transition: border-color .3s, background .3s; }
.modal-unit:hover { border-color: var(--blue); background: #f5f8fe; }
.modal-unit strong { display: block; font-size: 17px; }
.modal-unit small { display: block; color: var(--gray); font-size: 14px; }
.modal-unit .status { margin-top: 8px; }
.modal-unit svg { width: 22px; height: 22px; color: var(--blue); }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .header-top { grid-template-columns: auto 1fr auto; padding-block: 12px; }
  .header-loc, .header-cta { display: none; }
  .site-header .brand { justify-self: start; }
  .site-header .mark { width: 36px; height: 36px; }
  .menu-toggle { display: block; grid-column: 3; }
  .nav { position: fixed; inset: var(--header-h) 0 0; background: var(--graphite); border-top: 1px solid var(--line-dark); transform: translateY(-110%); visibility: hidden; transition: transform .6s var(--ease-out), visibility .6s; z-index: -1; overflow-y: auto; }
  .menu-open .nav { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; padding: 20px var(--gutter); }
  .nav a { font-size: clamp(28px, 8vw, 40px); padding: 14px 0; border-bottom: 1px solid var(--line-dark); letter-spacing: -.03em; }
  .nav a::after { display: none; }
  .nav .mobile-cta { display: block; padding: 10px var(--gutter) 40px; }
  .hero-grid, .care-grid, .story, .page-intro-grid, .about, .choose, .unit-detail, .notice, .cat-panel { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .scroll-cue { display: none; }
  .hero-grid { padding-top: 48px; padding-bottom: 120px; }
  .hero-clock-wrap { width: min(86%, 420px); order: -1; }
  .hero-bg-dial { width: 900px; height: 900px; right: -450px; margin-top: -450px; }
  .care-media { position: relative; top: 0; }
  .cats { grid-template-columns: 1fr 1fr; }
  .cats .cat:last-child { grid-column: span 2; aspect-ratio: 16/10; }
  .units, .service-cards { grid-template-columns: 1fr; }
  .page-intro-media { min-height: 320px; margin: 0 calc(var(--gutter) * -1); order: -1; }
  .page-intro-media::after { background: linear-gradient(0deg, var(--graphite), rgba(21,25,31,0) 50%); }
  .page-intro-text { padding: 8px 0 64px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cat-panel .media { min-height: 340px; }
  .notice-media { min-height: 280px; }
  .roman-wrap { width: min(80%, 380px); }
  .map { aspect-ratio: 4/3; }
}
@media (min-width: 981px) { .nav .mobile-cta { display: none; } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section-head { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr; }
  .cats .cat, .cats .cat:last-child { grid-column: auto; aspect-ratio: 4/4.4; }
  .steps, .facts { grid-template-columns: 1fr; }
  .opt-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .g1 { grid-column: span 2; aspect-ratio: 4/4; } .g2, .g3 { grid-column: span 1; aspect-ratio: 3/4; margin-top: 0 !important; }
  .service { padding-left: 52px; }
  .service .s-ico { display: none; }
  .fab { padding: 14px; right: 16px; bottom: 16px; }
  .fab span { display: none; }
  .to-top { left: 16px; bottom: 16px; }
  .site-footer { padding-bottom: 96px; }
  .btn-row .btn { flex: 1 1 100%; }
  .s-card .bg-num { font-size: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .split .ln > span { opacity: 1 !important; transform: none !important; }
  .ticker-track { animation: none; }
}
