/* fontes (alojadas no tema) */
/* latin-ext */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/bodoni-moda-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/bodoni-moda-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/bodoni-moda-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/bodoni-moda-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/figtree-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/figtree-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* fim das fontes */
/* ==========================================================================
   Clínica Pedral
   Cores e tipos no :root. Títulos em Bodoni Moda (a família do logótipo),
   texto em Figtree. Fundo branco, verde-azulado da clínica, faixas escuras pinho.
   ========================================================================== */

:root {
  --paper: #ffffff;
  --mist: #f2f7f6;
  --mist-2: #e4efed;
  --beige: #efe8de;
  --line: rgba(13, 43, 46, .13);
  --line-2: #c8d8d5;
  --ink: #132a2c;
  --ink-soft: #4a5e5e;
  --pine: #0d2b2e;
  --pine-2: #153a3d;
  --teal: #0e6e68;
  --teal-2: #0a5650;
  --teal-3: #12807a;
  --teal-light: #dcefec;
  --on-dark: #f1f8f7;
  --on-dark-soft: #b3cfcb;
  --danger: #a61b23;

  --display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 56px);
  --radius: 16px;
  --sec: clamp(76px, 10vw, 136px);
  --head-h: 78px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --edge: max(var(--gut), calc((100% - var(--maxw)) / 2));
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); scrollbar-color: #a9c3bf var(--mist); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
::selection { background: var(--teal-light); color: var(--pine); }
input, textarea { caret-color: var(--teal); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--pine); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
[id] { scroll-margin-top: calc(var(--head-h) + 20px); }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

h1, h2 { font-family: var(--display); font-weight: 500; font-optical-sizing: auto; color: var(--pine); line-height: 1.02; letter-spacing: -.022em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 1.2rem + 6.2vw, 7.4rem); }
h2 { font-size: clamp(2.2rem, 1.25rem + 3.1vw, 4.3rem); }
h1 em, h2 em { font-style: italic; color: var(--teal); }
h3 { margin: 0; font-family: var(--sans); font-weight: 600; font-size: 1.125rem; line-height: 1.3; color: var(--pine); }
.prose p { color: var(--ink-soft); max-width: 62ch; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1em; }

/* ---------- botões e links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--teal);
  background: var(--teal); color: #fff; font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .16s var(--ease), translate .5s var(--ease);
}
.btn:hover { background: var(--teal-2); border-color: var(--teal-2); }
@media (hover: hover) and (pointer: fine) { .btn:hover { box-shadow: 0 12px 26px -12px rgba(10, 86, 80, .6); } }
.btn:active { transform: scale(.97); box-shadow: none; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-line { background: transparent; color: var(--teal); }
.btn-line:hover { background: var(--teal-light); color: var(--teal-2); box-shadow: none; }
.btn-light { background: var(--on-dark); border-color: var(--on-dark); color: var(--pine); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--pine); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 600; text-decoration: none; padding: 6px 0; }
.link-arrow:hover { color: var(--teal-2); text-decoration: underline; }
.link-arrow .ic-arrow, .link-arrow .ic-arrow-up { transition: transform .3s var(--ease); }
.link-arrow:hover .ic-arrow { transform: translateX(4px); }
.link-arrow:hover .ic-arrow-up { transform: translate(2px, -2px); }

/* ---------- topo ---------- */
.head { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease, transform .3s var(--ease); view-transition-name: site-head; }
.head.is-up { transform: translateY(-110%); }
.head.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -22px rgba(13, 43, 46, .45); }
.admin-bar .head { top: 32px; }
.head-row { display: flex; align-items: center; gap: 28px; height: var(--head-h); }
.brand { flex: none; display: block; }
.brand img { height: 54px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 2px; }
.nav a { position: relative; display: block; padding: 8px 12px; font-size: 15.5px; font-weight: 500; color: var(--ink-soft); text-decoration: none; transition: color .2s ease; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover { color: var(--pine); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--teal); }
.head-actions { display: flex; align-items: center; gap: 18px; }
.head-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--pine); font-weight: 600; font-size: 15px; text-decoration: none; font-variant-numeric: tabular-nums; }
.head-phone svg { color: var(--teal); }
.head-phone:hover { color: var(--teal); }
.menu-btn { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: var(--mist); color: var(--pine); }

.mnav { position: fixed; inset: 0; z-index: 120; background: var(--paper); display: flex; flex-direction: column; overflow-y: auto; opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.mnav[hidden] { display: none; }
.mnav.is-open { opacity: 1; transform: none; }
.mnav-top { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); flex: none; }
.mnav-top .menu-btn { display: inline-flex; }
.mnav-links { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 8px; }
.mnav-links a { font-family: var(--display); font-size: 2rem; line-height: 1.1; color: var(--pine); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mnav-foot { display: grid; gap: 12px; margin-top: auto; padding-top: 28px; padding-bottom: 32px; }

/* ---------- abertura ---------- */
.hero { padding-top: clamp(36px, 6vw, 84px); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(24px, 3vw, 36px); align-items: end; }
.hero-title { grid-column: 1 / -1; max-width: 14.5ch; }
.hero-side { grid-column: 8 / -1; }
.hero-lead { font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem); color: var(--ink-soft); max-width: 42ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.hero-media { position: relative; margin-top: clamp(44px, 5.5vw, 80px); height: clamp(320px, 46vw, 80vh); overflow: hidden; background: var(--beige); clip-path: inset(0 var(--edge) round var(--radius)); }
.slides { position: absolute; inset: 0; transform-origin: 50% 30%; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; opacity: 0; transition: opacity .6s ease; }
.slide.is-on { opacity: 1; z-index: 2; }
.slide.is-prev { opacity: 1; z-index: 1; }
.dots { position: absolute; z-index: 3; right: calc(var(--edge) + clamp(14px, 2vw, 28px)); bottom: clamp(18px, 2.4vw, 34px); display: flex; gap: 6px; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .35)); }
.dot { width: 46px; height: 30px; padding: 0; border: 0; background: none; display: grid; align-items: center; }
.dot span { position: relative; display: block; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .45); }
.dot span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.dot.is-on span::after { transform: scaleX(1); }
.hero-card {
  position: absolute; left: calc(var(--edge) + clamp(14px, 2vw, 28px)); bottom: clamp(14px, 2vw, 28px); z-index: 3;
  display: flex; align-items: center; gap: 14px; max-width: calc(100% - 28px);
  padding: 10px 18px 10px 10px; border-radius: 14px; background: var(--paper); color: var(--pine); text-decoration: none;
  box-shadow: 0 16px 36px -18px rgba(13, 43, 46, .55); transition: transform .3s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .hero-card:hover { transform: translateY(-3px); } }
.hero-card .ic-arrow { flex: none; color: var(--teal); }
.faces { display: flex; flex: none; }
.faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper); background: var(--beige); }
.faces img + img { margin-left: -12px; }
.hero-note { font-size: 14.5px; font-weight: 600; line-height: 1.35; }

/* ---------- faixa de especialidades ---------- */
.marquee { margin-top: clamp(48px, 6vw, 88px); padding: clamp(16px, 2.2vw, 28px) 0; border-block: 1px solid var(--line); overflow: hidden; }
.marquee-track { display: flex; width: max-content; }
.marquee-list { list-style: none; display: flex; flex: none; }
.marquee-list li { display: flex; align-items: center; }
.marquee-list li::after { content: ""; flex: none; width: 9px; height: 9px; margin: 0 clamp(20px, 3vw, 44px); border-radius: 50%; background: var(--teal-3); opacity: .55; }
.marquee-list a { font-family: var(--display); font-style: italic; font-size: clamp(1.8rem, 1.05rem + 2.6vw, 3.5rem); line-height: 1.15; color: var(--pine); text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.marquee-list a:hover { color: var(--teal); }
html:not(.mo) .marquee { overflow-x: auto; }
html:not(.mo) .marquee-list[aria-hidden] { display: none; }

/* ---------- três valores ---------- */
.values { padding: clamp(56px, 7vw, 104px) 0 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; row-gap: 0; }
.value { grid-row: span 3; display: grid; grid-template-rows: subgrid; row-gap: 0; align-content: start; padding: 4px clamp(20px, 3.4vw, 52px) 8px; border-left: 1px solid var(--line); }
.value:first-child { border-left: 0; padding-left: 0; }
.value > * { align-self: start; }
.value-ic { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-light); color: var(--teal); }
.value-ic svg { width: 26px; height: 26px; }
.value-t { margin: 26px 0 0; font-family: var(--display); font-weight: 500; font-size: clamp(1.55rem, 1.15rem + 1.1vw, 2.2rem); line-height: 1.08; letter-spacing: -.015em; color: var(--pine); max-width: 13ch; }
.value p { margin-top: 14px; color: var(--ink-soft); font-size: 16.5px; max-width: 32ch; }
@supports not (grid-template-rows: subgrid) { .value { display: block; } }

/* ---------- sobre nós ---------- */
.about { padding: var(--sec) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 112px); align-items: center; }
.about-media { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--beige); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { margin-bottom: 28px; max-width: 16ch; }
.about-copy .prose p { font-size: 1.06rem; }
.sign { margin-top: 36px; display: flex; flex-direction: column; gap: 2px; }
.sign-name { font-family: var(--display); font-style: italic; font-size: 2rem; line-height: 1.1; color: var(--pine); }
.sign-role { font-size: 15px; color: var(--ink-soft); }

/* ---------- especialidades ---------- */
.specs { background: var(--mist); padding: var(--sec) 0; }
.section-head.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.split p { color: var(--ink-soft); font-size: 1.06rem; max-width: 46ch; }
.section-head.split .link-arrow { margin-top: 14px; }
.specs-list { list-style: none; border-top: 1px solid var(--line); }
.specs-list li { border-bottom: 1px solid var(--line); }
.spec-row { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) 46px; align-items: center; column-gap: clamp(16px, 2.4vw, 36px); row-gap: 6px; padding: clamp(18px, 2vw, 26px) 4px; text-decoration: none; color: var(--ink); }
.spec-row .sp-ico { grid-row: span 2; }
.spec-name { grid-column: 2; align-self: end; }
.spec-card { grid-column: 2; grid-row: 2; align-self: start; }
.spec-go { grid-column: 3; grid-row: 1 / span 2; }
.spec-row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease-in-out); }
.spec-name { font-family: var(--display); font-weight: 500; font-size: clamp(1.55rem, .95rem + 2.1vw, 2.85rem); line-height: 1.04; color: var(--pine); letter-spacing: -.018em; transition: transform .6s var(--ease), color .3s ease; }
.spec-card { font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); max-width: 46ch; transition: transform .6s var(--ease); }
.spec-go { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--teal); transition: background .3s ease, border-color .3s ease, color .3s ease, transform .5s var(--ease); }
.spec-row .sp-ico { transition: transform .6s var(--ease); }
.spec-row:focus-visible::after { transform: scaleX(1); transform-origin: left; }
@media (hover: hover) and (pointer: fine) {
  .spec-row:hover::after { transform: scaleX(1); transform-origin: left; }
  .spec-row:hover .spec-name, .spec-row:hover .spec-card { transform: translateX(14px); }
  .spec-row:hover .spec-name { color: var(--teal-2); }
  .spec-row:hover .sp-ico { transform: rotate(-8deg) scale(1.08); }
  .spec-row:hover .spec-go { background: var(--teal); border-color: var(--teal); color: #fff; transform: rotate(-45deg); }
}
.sp-ico { display: block; width: 44px; height: 44px; flex: none; background-color: var(--teal-3); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.sp-ico.is-empty { visibility: hidden; }

/* ---------- destaque (Airflow) ---------- */
.spot { background: var(--pine); color: var(--on-dark); padding: var(--sec) 0; }
.spot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 112px); align-items: center; }
.spot-media { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--pine-2); }
.spot-media img { width: 100%; height: 100%; object-fit: cover; }
.spot h2 { color: var(--on-dark); margin-bottom: 26px; max-width: 15ch; }
.spot h2 em { color: #9fd6cf; }
.spot .prose p { color: var(--on-dark-soft); }
.spot .btn { margin-top: 34px; }

/* ---------- porquê ---------- */
.why { padding: var(--sec) 0; }
.why-title { max-width: 17ch; margin-bottom: clamp(40px, 5vw, 64px); }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; row-gap: 0; border-top: 1px solid var(--line); }
.why-item { grid-row: span 3; display: grid; grid-template-rows: subgrid; row-gap: 14px; align-content: start; padding: 34px clamp(18px, 2.4vw, 32px) 0; border-left: 1px solid var(--line); }
.why-item:first-child { border-left: 0; padding-left: 0; }
.why-item h3 { align-self: start; font-family: var(--display); font-weight: 500; font-size: clamp(1.45rem, 1.2rem + .7vw, 1.85rem); line-height: 1.12; letter-spacing: -.01em; }
.count { font-variant-numeric: lining-nums tabular-nums; }
.why-item p { align-self: start; color: var(--ink-soft); font-size: 16px; }
.why-item .tag { align-self: start; justify-self: start; margin-top: 8px; }
@supports not (grid-template-rows: subgrid) { .why-item { display: flex; flex-direction: column; gap: 14px; } }
.tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--teal-2); background: var(--teal-light); padding: 4px 11px; border-radius: 999px; }

/* ---------- equipa (início) ---------- */
.team { background: var(--mist); padding: var(--sec) 0; }
.team-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 104px); align-items: start; }
.team-intro { position: sticky; top: calc(var(--head-h) + 48px); }
.team-intro h2 { max-width: 10ch; }
.team-intro p { margin-top: 22px; color: var(--ink-soft); font-size: 1.06rem; max-width: 34ch; }
.team-intro .btn { margin-top: 30px; }
.team-cards { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; column-gap: clamp(16px, 2vw, 28px); row-gap: 0; }
.team-cards li { grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 0; margin-bottom: clamp(36px, 4vw, 56px); }
.face { grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 0; align-content: start; text-decoration: none; color: var(--ink); }
.face > * { align-self: start; }
@supports not (grid-template-rows: subgrid) { .team-cards li, .face { display: block; } }
.face-photo { display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--beige); }
.face-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.face-name { display: block; margin-top: 18px; font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 1.05rem + .7vw, 1.7rem); line-height: 1.1; letter-spacing: -.01em; color: var(--pine); transition: color .3s ease; }
.face-role { display: block; margin-top: 8px; font-size: 15px; color: var(--ink-soft); }
.face-omd { display: block; margin-top: 8px; min-height: 1px; }
.face:focus-visible .face-name { color: var(--teal); }
@media (hover: hover) and (pointer: fine) {
  .face:hover .face-photo img { transform: scale(1.04); }
  .face:hover .face-name { color: var(--teal); }
}
.initials { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-family: var(--display); font-size: 3rem; color: var(--teal); background: var(--mist-2); letter-spacing: .02em; }

/* ---------- perguntas ---------- */
.faq { padding: var(--sec) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.faq-head h2 { margin-bottom: 20px; }
.faq-head p { color: var(--ink-soft); max-width: 38ch; }
.faq-head .link-arrow { margin-top: 20px; font-variant-numeric: tabular-nums; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; font-weight: 600; font-size: 1.1rem; color: var(--pine); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--teal); }
.qa-ic { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); color: var(--teal); transition: transform .35s var(--ease), background .3s; }
.qa[open] .qa-ic { transform: rotate(45deg); background: var(--teal-light); }
.qa-a { padding: 0 60px 26px 0; color: var(--ink-soft); }
.qa-a p + p { margin-top: .8em; }

/* ---------- contactos ---------- */
.contact { background: var(--mist); padding: var(--sec) 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.info { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.info > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info dt { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.info dt svg { color: var(--teal); flex: none; }
.info dd { margin: 0; color: var(--ink); }
.info dd a { color: var(--teal); font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; }
.info dd a:hover { text-decoration: underline; }
.map { margin-top: 28px; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--mist-2); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map + .link-arrow { margin-top: 12px; }

/* formulário */
.book { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 3.2vw, 44px); box-shadow: 0 30px 60px -36px rgba(13, 43, 46, .35); color: var(--ink); }
.book-title { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 1.3rem + .8vw, 2rem); line-height: 1.1; letter-spacing: -.01em; }
.book-text { margin: 10px 0 26px; color: var(--ink-soft); font-size: 16px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; margin-bottom: 6px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fbfdfd; color: var(--ink); font-size: 16px;
  transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #66797a; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #a9c3bf; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(14, 110, 104, .16); }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(166, 27, 35, .12); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.6px solid var(--ink-soft); border-bottom: 1.6px solid var(--ink-soft); transform: rotate(45deg); pointer-events: none; }
.select select { padding-right: 40px; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.book-error { margin: 4px 0 14px; padding: 11px 14px; border-radius: 10px; background: #fcefef; color: var(--danger); font-size: 15px; }
.book-error[hidden] { display: none; }
.book-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-soft); }
.book-note a { color: var(--teal); }
.book-ok { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 12px; background: var(--teal-light); color: var(--pine); }
.book-ok[hidden] { display: none; }
.book-ok svg { flex: none; color: var(--teal); }
.book-ok:focus { outline: none; }
.btn .btn-busy { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn.is-busy { pointer-events: none; opacity: .85; }
.btn.is-busy .btn-busy { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- rodapé ---------- */
.foot { background: var(--pine); color: var(--on-dark-soft); padding: clamp(64px, 8vw, 96px) 0 28px; font-size: 15.5px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr) minmax(0, 1.6fr) minmax(0, 1.3fr); gap: 40px; }
.foot-brand img { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: .94; }
.foot-brand p { margin-top: 20px; max-width: 32ch; }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(241, 248, 247, .22); color: var(--on-dark); transition: background .25s, border-color .25s; }
.social a:hover { background: rgba(241, 248, 247, .1); border-color: rgba(241, 248, 247, .5); }
.foot-title { color: var(--on-dark); font-weight: 600; margin-bottom: 14px; }
.foot-col ul { list-style: none; display: grid; gap: 9px; }
.foot-specs ul { display: block; columns: 2; column-gap: 24px; }
.foot-specs li { break-inside: avoid; margin-bottom: 9px; }
.foot-col a { text-decoration: none; transition: color .2s; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-contacts a { color: var(--on-dark); font-variant-numeric: tabular-nums; }
.foot-hours { font-size: 14.5px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid rgba(241, 248, 247, .13); font-size: 14px; }
.foot-bottom a { text-decoration: none; }
.foot-bottom a:hover { color: #fff; text-decoration: underline; }

/* barra de ações no telemóvel */
.dock { display: none; }

/* ---------- página de especialidade ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14.5px; color: var(--ink-soft); margin-bottom: clamp(24px, 3vw, 36px); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--teal); text-decoration: underline; }
.crumbs span[aria-hidden] { color: #9db3b0; }
.crumbs [aria-current] { color: var(--pine); font-weight: 600; }
.sp-hero { padding: clamp(28px, 4vw, 52px) 0 clamp(56px, 7vw, 96px); }
.sp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sp-ico-lg { width: 64px; height: 64px; margin-bottom: 20px; }
.sp-hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.6rem); max-width: 13ch; }
.sp-lead { margin-top: 22px; font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--ink-soft); max-width: 44ch; }
.sp-hero-media { aspect-ratio: 5 / 6; border-radius: var(--radius); overflow: hidden; background: var(--mist-2); }
.sp-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.sp-body { padding: 0 0 var(--sec); }
.sp-body-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 112px); align-items: start; padding-top: clamp(48px, 6vw, 80px); background: linear-gradient(var(--line), var(--line)) var(--gut) 0 / calc(100% - var(--gut) * 2) 1px no-repeat; }
.sp-main h2, .cases h2 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.3rem); margin-bottom: 22px; }
.sp-main .sp-sub { margin-top: clamp(48px, 6vw, 72px); }
.entry p { color: var(--ink-soft); font-size: 1.06rem; max-width: 62ch; }
.entry p + p { margin-top: 1em; }
.entry ul, .entry ol { list-style: none; margin: 1.1em 0; display: grid; gap: 10px; max-width: 62ch; }
.entry li { position: relative; padding-left: 32px; color: var(--ink); }
.entry ul li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e6e68' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.entry ol { counter-reset: n; }
.entry ol li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: 0; font-weight: 600; color: var(--teal); }
.entry h2, .entry h3 { margin: 1.6em 0 .5em; }
.entry h3 { font-size: 1.2rem; }
.entry a { color: var(--teal); }
.entry strong { color: var(--ink); }
.summary { margin-top: 32px; padding: 22px 24px; border-radius: 14px; background: var(--mist); color: var(--pine); font-size: 1.06rem; max-width: 62ch; }
.summary strong { font-weight: 700; }

.docs { list-style: none; display: grid; gap: 12px; max-width: 520px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; transition: border-color .25s, background .25s; }
.doc:hover { border-color: var(--teal); background: var(--mist); }
.doc-photo { flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--beige); }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; }
.doc-photo .initials { font-size: 1.4rem; }
.doc-text { display: flex; flex-direction: column; }
.doc-name { font-weight: 600; color: var(--pine); }
.doc-role { font-size: 14.5px; color: var(--ink-soft); }

.case + .case { margin-top: 32px; }
.case-shots { display: grid; gap: 8px; }
.case.is-pair .case-shots { grid-template-columns: 1fr 1fr; }
.shot { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--mist-2); aspect-ratio: 4 / 3; cursor: zoom-in; }
.case.is-pair .shot { aspect-ratio: 4 / 5; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.shot-tag { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--pine); font-size: 12.5px; font-weight: 600; }
.shot-zoom { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--pine); opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .3s var(--ease); }
.shot:hover .shot-zoom, .shot:focus-visible .shot-zoom { opacity: 1; transform: none; }
.case figcaption { margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); }

/* faixa final com formulário (especialidades e equipa) */
.band { background: var(--pine); color: var(--on-dark); padding: var(--sec) 0; }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.band h2 { color: var(--on-dark); max-width: 14ch; }
.band h2 em { color: #9fd6cf; }
.band-copy > p { margin-top: 20px; color: var(--on-dark-soft); font-size: 1.08rem; max-width: 40ch; }
.band-phone a { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; font-family: var(--display); font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); color: var(--on-dark); text-decoration: none; font-variant-numeric: lining-nums tabular-nums; }
.band-phone a svg { color: #9fd6cf; }
.band-phone a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

.more { padding: var(--sec) 0; }
.more h2 { margin-bottom: 32px; }
.more-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); column-gap: 36px; border-top: 1px solid var(--line); }
.more-list li { border-bottom: 1px solid var(--line); }
.more-list a { display: flex; align-items: center; gap: 14px; padding: 16px 0; text-decoration: none; color: var(--ink); }
.more-list a span:not(.sp-ico) { flex: 1; font-weight: 600; }
.more-list .sp-ico { width: 34px; height: 34px; }
.more-list .ic-arrow { color: var(--teal); opacity: .35; transition: opacity .25s, transform .35s var(--ease); }
.more-list a:hover { color: var(--teal); }
.more-list a:hover .ic-arrow { opacity: 1; transform: translateX(3px); }

/* ---------- página da equipa ---------- */
.page-hero { padding: clamp(28px, 4vw, 52px) 0 clamp(48px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4.4rem); }
.page-hero .section-head.split { margin-bottom: 0; }
.lead-member { padding: 0 0 var(--sec); }
.lead-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 112px); align-items: center; }
.lead-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--beige); }
.lead-photo img { width: 100%; height: 100%; object-fit: cover; }
.lead-role { font-weight: 600; color: var(--teal); font-variant-numeric: tabular-nums; }
.lead-role { margin-top: 12px; }
.lead-bio { margin-top: 22px; font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips a { display: inline-block; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; color: var(--pine); text-decoration: none; transition: border-color .2s, background .2s; }
.chips a:hover { border-color: var(--teal); background: var(--teal-light); }
.members { padding: 0 0 var(--sec); }
.members-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-auto-rows: auto; column-gap: clamp(20px, 2.6vw, 36px); row-gap: 0; border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 80px); }
.member { grid-row: span 5; display: grid; grid-template-rows: subgrid; row-gap: 0; align-content: start; margin-bottom: clamp(40px, 5vw, 64px); }
.member > * { align-self: start; }
.member-bio:empty { display: block; }
@supports not (grid-template-rows: subgrid) { .member { display: block; } }
.member-photo { display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--beige); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-name { margin-top: 18px; font-size: clamp(1.5rem, 1.3rem + .6vw, 1.85rem); }
.member:target .member-name { color: var(--teal); }
.member-role, .lead-role { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.member-role { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }
.omd { display: inline-block; padding: 1px 9px; border-radius: 999px; background: var(--teal-light); color: var(--teal-2); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.member-bio { margin-top: 12px; font-size: 15.5px; color: var(--ink-soft); }
.member .chips { margin-top: 16px; }

/* páginas normais */
.page-body { padding: 0 0 var(--sec); }
.page-prose { max-width: 70ch; }
.post-list { list-style: none; border-top: 1px solid var(--line); max-width: 820px; }
.post-list a { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.post-title { font-weight: 600; color: var(--pine); }
.post-date { color: var(--ink-soft); font-size: 15px; }
.notfound { padding-bottom: var(--sec); }

/* ---------- foto ampliada ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(94vw, 1200px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(6, 22, 24, .86); }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; margin: 0 auto; border-radius: 12px; }
.lightbox-cap { margin-top: 12px; text-align: center; color: var(--on-dark); font-size: 15px; }
.lightbox-close { position: absolute; right: 0; top: -54px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; }
.lightbox-close:hover { background: rgba(255, 255, 255, .26); }
.lightbox[open] { animation: lb-in .35s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } }

/* ---------- ecrãs mais pequenos ---------- */
@media (max-width: 1180px) {
  .head-phone { display: none; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1020px) {
  .spec-row { grid-template-columns: 48px minmax(0, 1fr) 40px; }
  .spec-go { width: 40px; height: 40px; }
  .nav { display: none; }
  .head-actions { margin-left: auto; }
  .menu-btn { display: inline-flex; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .why-item:nth-child(n+3) { margin-top: 40px; border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  :root { --head-h: 68px; }
  .brand img { height: 40px; }
  .about-grid, .spot-grid, .team-grid, .faq-grid, .contact-grid, .sp-hero-grid, .sp-body-grid, .band-grid, .lead-grid, .section-head.split { grid-template-columns: minmax(0, 1fr); }
  .hero-side { grid-column: 1 / -1; }
  .hero-media { height: clamp(300px, 78vw, 520px); }
  .values-grid { grid-template-columns: 1fr; }
  .value, .value:first-child { grid-row: auto; grid-template-rows: auto auto; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .value-ic { grid-row: span 2; width: 52px; height: 52px; }
  .value-ic svg { width: 22px; height: 22px; }
  .value-t { margin: 2px 0 0; font-size: 1.5rem; max-width: none; }
  .value p { margin-top: 6px; }
  .about-media { aspect-ratio: 4 / 3; }
  .sp-ico { width: 38px; height: 38px; }
  .team-intro { position: static; }
  .team-cards { column-gap: 14px; }
  .team-cards li { margin-bottom: 32px; }
  .face-photo { border-radius: 12px; }
  .face-name { margin-top: 12px; font-size: 1.2rem; }
  .face-role { font-size: 13.5px; }
  .spot-media { aspect-ratio: 4 / 3; order: 2; }
  .sp-hero-media { aspect-ratio: 4 / 3; }
  .lead-photo { aspect-ratio: 1; max-width: 420px; }
  .qa-a { padding-right: 0; }
  .info > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 760px) {
  .head .btn-sm { display: none; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .dock {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(13, 43, 46, .4);
    transition: transform .35s var(--ease);
  }
  .dock.is-hidden { transform: translateY(110%); }
  .dock a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 600; text-decoration: none; }
  .dock-call { border: 1.5px solid var(--teal); color: var(--teal); }
  .dock-book { background: var(--teal); color: #fff; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .why-grid { grid-template-columns: 1fr; border-top: 0; }
  .why-item, .why-item:nth-child(3), .why-item:nth-child(n+3) { margin-top: 0; border-left: 0; padding: 26px 0; border-top: 1px solid var(--line); }
  .foot-top { grid-template-columns: 1fr; }
  .admin-bar .head { top: 0; }
}
@media (max-width: 560px) {
  .hero-cta .btn { width: 100%; }
  .hero-card { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  .hero-note { font-size: 13.5px; }
  .faces img { width: 34px; height: 34px; }
  .case.is-pair .shot { aspect-ratio: 3 / 4; }
  .foot-specs ul { grid-template-columns: 1fr; }
}

/* ---------- v2: movimento ----------
   .mo = o visitante não pediu menos movimento (definido no <head>).
   Títulos sobem palavra a palavra; fotos destapam-se de baixo para cima e acompanham o scroll;
   faixas escuras abrem até às margens; páginas mudam com uma transição suave. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: var(--ease-in-out); }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(26px); } }

/* títulos palavra a palavra */
.mo .words .sw { display: inline-block; overflow: hidden; vertical-align: top; padding: .16em .1em .32em; margin: -.16em -.1em -.32em; }
.mo .words .swi { display: inline-block; transform: translateY(135%); transition: transform 1.1s var(--ease); }
.mo .words.in .swi { transform: none; }
.mo .hero-title:not(.words) { opacity: 0; animation: show 0s 2.5s forwards; }
@keyframes show { to { opacity: 1; } }

/* blocos que sobem ao aparecer */
.mo .rv { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.mo .rv.in { opacity: 1; transform: none; }

/* fotos que se destapam */
.mo .rv-img { clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.3s var(--ease-in-out); }
.mo .rv-img.in { clip-path: inset(0 0 0 0 round var(--radius)); }
.mo .rv-img img { scale: 1.25; transition: scale 2s var(--ease), transform .8s var(--ease); }
.mo .rv-img.in img { scale: 1; }
.mo .px img, .mo .rv-img.px.in img { scale: 1.12; }

/* abertura */
.mo .hero-side { animation: rise 1s .55s var(--ease) both; }
.mo .hero-media { animation: rise 1.3s .3s var(--ease) both; }
.mo .hero-card { animation: rise .9s 1.2s var(--ease) both; }
.mo .slide.is-first { animation: kb 10s linear both; }
.mo .slide.is-on:not(.is-first) { animation: wipe 1.3s var(--ease-in-out) both, kb 10s linear both; }
.mo .dot.is-on span::after { transform: scaleX(0); animation: fill var(--slide, 6s) linear forwards; }
.mo .marquee { animation: rise 1s .9s var(--ease) both; }
.mo .marquee-track { animation: marquee 70s linear infinite; }
.marquee:focus-within .marquee-track { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused; } }

/* faixas escuras que abrem até às margens (o JS acompanha o scroll) */
.mo .spot, .mo .band { clip-path: inset(0 var(--edge) round 28px); }

/* especialidade: entrada do topo */
.mo .sp-hero-copy > :not(h1) { animation: rise .9s var(--ease) both; }
.mo .sp-hero-copy > :nth-child(1) { animation-delay: .05s; }
.mo .sp-hero-copy > :nth-child(2) { animation-delay: .1s; }
.mo .sp-hero-copy > :nth-child(4) { animation-delay: .2s; }
.mo .sp-hero-copy > :nth-child(5) { animation-delay: .3s; }

/* perguntas: abrir e fechar suave */
@supports selector(::details-content) {
  .qa { interpolate-size: allow-keywords; }
  .qa::details-content { block-size: 0; overflow-y: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
  .qa[open]::details-content { block-size: auto; }
}

@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes kb { from { scale: 1.12; } to { scale: 1; } }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  .head.is-up { transform: none; }
  .qa::details-content { transition: none; }
}
