/* ==========================================================================
   Instituto Londucci — Design System (v2: apothecary de luxo)
   Cor em OKLCH (neutros quentes), display Bodoni Moda + corpo Hanken Grotesk.
   Edite os tokens em :root para ajustar toda a identidade de uma vez.
   ========================================================================== */

:root {
  /* Neutros quentes (canvas creme/osso — nunca branco clínico) */
  --bone:      oklch(0.973 0.010 84);
  --bone-2:    oklch(0.945 0.014 82);
  --bone-3:    oklch(0.915 0.018 80);
  --ink:       oklch(0.285 0.018 74);
  --ink-soft:  oklch(0.285 0.018 74 / 0.72);
  --ink-mute:  oklch(0.46 0.030 70);

  /* Marca */
  --teal:      oklch(0.52 0.075 195);
  --teal-ink:  oklch(0.46 0.070 195);
  --teal-bright: oklch(0.60 0.090 192);
  --teal-deep: oklch(0.295 0.045 200);   /* fundo escuro, tinta teal */
  --teal-deeper: oklch(0.235 0.038 202);
  --gold:      oklch(0.80 0.055 84);
  --gold-soft: oklch(0.86 0.040 85);

  --line:      oklch(0.80 0.055 84 / 0.42);
  --line-soft: oklch(0.80 0.055 84 / 0.26);
  --line-dark: oklch(0.98 0.01 90 / 0.16);

  /* Tipografia */
  --display: 'Bodoni Moda', 'Times New Roman', Georgia, serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  /* Layout & ritmo */
  --maxw: 1360px;
  --gutter: clamp(22px, 5vw, 68px);
  --section-y: clamp(96px, 12vw, 190px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);   /* ease-out-expo-ish */

  /* Aliases de compatibilidade (CSS das rotas usa os nomes antigos) */
  --brown: var(--ink);
  --serif: var(--display);
  --sand: var(--bone-2);
  --cream: var(--bone-2);
  --dark: var(--teal-deep);
  --darker: var(--teal-deeper);
  --white: var(--bone);
}

/* Abertura: cobre a tela desde o 1o paint para não piscar o conteúdo antes da cortina */
html.booting { background: var(--teal-deeper); }
html.booting body { visibility: hidden; }

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bone);
  font-size: 17.5px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-ink); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 16px; }
::selection { background: var(--gold); color: oklch(0.25 0.02 74); }

/* Lenis (scroll suave) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

/* ---------- Animações-chave ---------- */
@keyframes ilZoom { from { transform: scale(1.02); } to { transform: scale(1.14); } }
@keyframes ilCue  { 0%,100% { transform: translateY(0); opacity: 0.3; } 50% { transform: translateY(10px); opacity: 1; } }
@keyframes ilMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Reveal: só ocultamos quando o JS de animação assume (html.anim, setado no <head>).
   Sem JS, sem GSAP, ou com movimento reduzido → tudo visível. */
html.anim [data-reveal] { opacity: 0; will-change: opacity, transform; }
html.anim [data-reveal="up"]    { transform: translateY(34px); }
html.anim [data-reveal="scale"] { opacity: 1; }
html.anim [data-reveal="fade"]  { }
html.anim [data-reveal="mask"]  { opacity: 1; clip-path: inset(-2% -2% 102% -2%); }
html.anim [data-reveal].is-in   { opacity: 1; transform: none; clip-path: inset(-2% -2% -2% -2%); }
@media (prefers-reduced-motion: reduce) {
  html.anim [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  [style*="ilZoom"], [style*="ilCue"], .home-hero__bg, .route-hero__bg { animation: none !important; }
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--narrow { max-width: 1040px; }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--sand  { background: var(--bone-2); }
.section--cream { background: var(--bone-2); }
.section--white { background: var(--bone); }
.section--dark  { background: var(--teal-deep); color: var(--bone); }
.section--line  { border-top: 1px solid var(--line-soft); }
.overflow-hidden { overflow: hidden; }

/* ---------- Tipografia ---------- */
.eyebrow {
  margin: 0; display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--teal-ink);
}
.eyebrow::before {
  content: ""; width: clamp(20px, 3vw, 40px); height: 1px;
  background: var(--gold); flex: 0 0 auto;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--gold::before { background: var(--gold); }
.eyebrow--brown { color: var(--ink-mute); }
.eyebrow--tight { font-size: 11px; letter-spacing: 0.22em; color: var(--ink-mute); }
.eyebrow--tight::before { display: none; }
.on-dark .eyebrow { color: var(--gold); }

.title {
  margin: 0; font-family: var(--display); font-weight: 440;
  font-optical-sizing: auto; line-height: 1.04; letter-spacing: -0.012em;
  color: var(--ink); text-wrap: balance;
}
.title--xl { font-size: clamp(46px, 7.3vw, 116px); line-height: 0.97; letter-spacing: -0.026em; font-weight: 420; }
.title--lg { font-size: clamp(36px, 5.4vw, 78px);  line-height: 1.0;  letter-spacing: -0.02em; }
.title--md { font-size: clamp(32px, 4.6vw, 66px);  line-height: 1.06; letter-spacing: -0.014em; }
.title--sm { font-size: clamp(26px, 3vw, 40px);    line-height: 1.12; }
.title em { font-style: italic; font-weight: 420; color: var(--teal); }
.on-dark, .on-dark .title { color: var(--bone); }
.title-accent-gold em { color: var(--gold); }

.prose { margin: 0; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.78; color: var(--ink-soft); max-width: 66ch; text-wrap: pretty; }
.prose--tight { line-height: 1.7; }
.on-dark .prose { color: oklch(0.98 0.01 90 / 0.82); line-height: 1.84; }
.lead {
  margin: 0; font-family: var(--display); font-weight: 400; font-style: normal;
  font-size: clamp(21px, 2.3vw, 32px); line-height: 1.34; color: var(--ink);
  max-width: 30ch; text-wrap: pretty;
}
.on-dark .lead { color: var(--bone); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 34px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.btn--lg { padding: 20px 42px; }
.btn--gold { background: var(--gold); color: oklch(0.25 0.02 74); }
.btn--gold:hover { background: var(--bone); transform: translateY(-3px); }
.btn--teal { background: var(--teal-deep); color: var(--bone); }
.btn--teal:hover { background: var(--teal); color: var(--bone); transform: translateY(-3px); }
.btn--outline-teal { border-color: var(--teal); color: var(--teal-ink); }
.btn--outline-teal:hover { background: var(--teal-deep); color: var(--bone); border-color: var(--teal-deep); }
.btn--outline-brown { border-color: var(--ink-mute); color: var(--ink-mute); }
.btn--outline-brown:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn--outline-light { border-color: oklch(0.98 0.01 90 / 0.5); color: var(--bone); }
.btn--outline-light:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* Link com sublinhado fino (revela ao hover) */
.link-underline {
  display: inline-flex; align-items: center; gap: 10px; position: relative;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal-ink); padding-bottom: 7px;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: color .45s var(--ease), background-size .5s var(--ease);
}
.link-underline:hover { color: var(--ink); background-size: 0% 1px; }
.on-dark .link-underline { color: var(--gold); }
.on-dark .link-underline:hover { color: var(--bone); }

/* ---------- Barra de progresso ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  z-index: 980; transition: width .12s linear; transform-origin: 0 50%;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: transparent; border-bottom: 1px solid var(--line-dark);
  transition: background .6s var(--ease), border-color .6s var(--ease), backdrop-filter .6s var(--ease);
}
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(16px, 1.8vw, 26px) var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { position: relative; display: block; flex: 0 0 auto; height: clamp(32px, 2.8vw, 40px); }
.brand img { display: block; height: 100%; width: auto; transition: opacity .6s var(--ease); }
.brand__claro { position: absolute; left: 0; top: 0; opacity: 1; }
.brand__escuro { opacity: 0; }
.header-nav { display: flex; align-items: center; gap: clamp(22px, 2.8vw, 44px); }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.2vw, 38px); }
.nav a {
  position: relative; font-size: 12px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--bone); transition: color .5s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
.header-cta {
  display: inline-flex; align-items: center; padding: 12px 26px; border-radius: 999px;
  border: 1px solid oklch(0.98 0.01 90 / 0.5); color: var(--bone);
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .6s var(--ease);
}
.header-cta:hover { background: var(--gold); color: oklch(0.25 0.02 74); border-color: var(--gold); }

/* Estado rolado / menu aberto: cabeçalho creme */
.site-header.is-scrolled,
.site-header.is-menu-open {
  background: oklch(0.973 0.010 84 / 0.86); backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1); border-bottom-color: var(--line);
}
.site-header.is-scrolled .brand__claro,
.site-header.is-menu-open .brand__claro { opacity: 0; }
.site-header.is-scrolled .brand__escuro,
.site-header.is-menu-open .brand__escuro { opacity: 1; }
.site-header.is-scrolled .nav a { color: var(--ink); }
.site-header.is-scrolled .header-cta { border-color: var(--teal); color: var(--teal-ink); }
.site-header.is-scrolled .header-cta:hover { background: var(--teal-deep); color: var(--bone); border-color: var(--teal-deep); }

/* Botão de menu (mobile) */
.burger {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; background: transparent;
  border: 1px solid oklch(0.98 0.01 90 / 0.38); border-radius: 999px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background .4s var(--ease), border-color .5s var(--ease);
}
.burger span {
  position: absolute; left: 50%; top: 50%; width: 17px; height: 1.5px;
  border-radius: 2px; background: var(--bone);
  transition: transform .42s var(--ease), background .5s var(--ease);
}
.burger span:nth-child(1) { transform: translate(-50%, -3.5px); }
.burger span:nth-child(2) { transform: translate(-50%, 3.5px); }
.burger:hover { background: oklch(0.98 0.01 90 / 0.08); }

/* Aberto → as duas linhas viram um "x" */
.burger.is-open span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translate(-50%, 0) rotate(-45deg); }

/* Cabeçalho claro (rolado ou menu aberto) → traço escuro */
.site-header.is-scrolled .burger,
.site-header.is-menu-open .burger { border-color: var(--line); }
.site-header.is-scrolled .burger span,
.site-header.is-menu-open .burger span { background: var(--ink); }
.site-header.is-menu-open .burger:hover { background: oklch(0.2 0.02 74 / 0.05); }

/* Menu mobile */
.mobile-menu {
  display: none; flex-direction: column;
  padding: 12px var(--gutter) 34px;
  border-top: 1px solid var(--line); background: var(--bone);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a:not(.btn) {
  padding: 18px 0; font-family: var(--display); font-weight: 420; font-size: 30px; color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a:not(.btn) em { font-style: italic; color: var(--teal); }
.mobile-menu .btn { margin-top: 30px; align-self: stretch; justify-content: center; padding-top: 19px; padding-bottom: 19px; }

/* Alterna nav desktop x botão mobile em 1040px */
.only-wide { display: flex; }
.only-narrow { display: none; }
@media (max-width: 1039px) {
  .only-wide { display: none; }
  .only-narrow { display: flex; }
}

/* ---------- Roteador ---------- */
[data-route] { display: none; }
[data-route].is-active { display: block; }

/* ---------- Hero de rota (interno) ---------- */
.route-hero {
  position: relative; min-height: clamp(560px, 76vh, 760px);
  display: flex; align-items: flex-end; overflow: hidden; background: var(--teal-deeper);
}
.route-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; animation: ilZoom 32s ease-in-out infinite alternate; }
.route-hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.2 0.03 200 / 0.6) 0%, oklch(0.2 0.03 200 / 0.2) 40%, oklch(0.18 0.03 200 / 0.9) 100%); }
.route-hero__inner { position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: clamp(150px, 17vw, 240px) var(--gutter) clamp(48px, 6vw, 80px); }

/* ---------- Cards de especialidade ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(198px, 1fr)); gap: clamp(14px, 1.4vw, 22px); }
.spec-card { position: relative; display: block; aspect-ratio: 3/4; border-radius: 3px; overflow: hidden; color: var(--bone); background: var(--bone-3); }
.spec-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.spec-card:hover img { transform: scale(1.06); }
.spec-card__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.2 0.03 200 / 0) 40%, oklch(0.16 0.03 200 / 0.9) 100%); }
.spec-card__label { position: absolute; left: 22px; right: 22px; bottom: 22px; font-family: var(--display); font-weight: 420; font-size: clamp(22px, 2vw, 29px); line-height: 1.12; color: var(--bone); }
.spec-card__pend { display: none; }

/* ---------- Galeria horizontal ---------- */
.gallery { display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x proximity; padding: 0 var(--gutter) var(--section-y); scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { flex: 0 0 auto; scroll-snap-align: start; margin: 0; width: clamp(240px, 27vw, 360px); display: flex; flex-direction: column; gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; }
.gallery figcaption { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: ilMarquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Formulário ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 9px; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }
.form input, .form select, .form textarea {
  padding: 15px 17px; border: 1px solid var(--line); border-radius: 3px;
  background: var(--bone); color: var(--ink); font-size: 16px; font-weight: 400;
  letter-spacing: normal; text-transform: none; transition: border-color .35s var(--ease), background .35s var(--ease);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); background: var(--bone); }
.form textarea { resize: vertical; min-height: 130px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--teal-deep); color: var(--bone); }
.site-footer__grid { max-width: var(--maxw); margin: 0 auto; padding: clamp(72px, 9vw, 120px) var(--gutter) 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(36px, 4vw, 64px); }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.site-footer__brand img { width: 230px; max-width: 100%; }
.site-footer__tag { margin: 0; max-width: 22ch; font-family: var(--display); font-weight: 400; font-size: 25px; line-height: 1.3; color: var(--gold); text-wrap: pretty; }
.site-footer nav { display: flex; flex-direction: column; gap: 14px; }
.site-footer nav a, .site-footer__col a { font-size: 15px; color: oklch(0.98 0.01 90 / 0.82); transition: color .35s var(--ease); }
.site-footer nav a:hover, .site-footer__col a:hover { color: var(--gold); }
.site-footer__col { display: flex; flex-direction: column; gap: 14px; }
.site-footer__col p { margin: 0; font-size: 15px; line-height: 1.68; color: oklch(0.98 0.01 90 / 0.78); }
.site-footer__ig { color: var(--gold) !important; }
.site-footer .eyebrow--tight { color: oklch(0.98 0.01 90 / 0.6); }
.site-footer__bar { max-width: var(--maxw); margin: 0 auto; padding: clamp(44px, 5vw, 68px) var(--gutter) clamp(30px, 3vw, 44px); }
.site-footer__bar-inner { border-top: 1px solid var(--line-dark); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-start; }
.site-footer__bar p, .site-footer__bar a { margin: 0; font-size: 12px; line-height: 1.6; color: oklch(0.98 0.01 90 / 0.55); }

/* ---------- Botão flutuante de WhatsApp ---------- */
.wa-fab {
  position: fixed; right: clamp(18px, 2.4vw, 34px); bottom: clamp(18px, 2.4vw, 34px); z-index: 950;
  display: inline-flex; align-items: center; gap: 11px; background: var(--teal-deep); color: var(--bone);
  padding: 16px 26px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; white-space: nowrap; box-shadow: 0 14px 40px oklch(0.3 0.045 200 / 0.35);
  transition: background .45s var(--ease), transform .45s var(--ease);
}
.wa-fab:hover { background: var(--teal); color: var(--bone); transform: translateY(-3px); }
.wa-fab__dot { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* ---------- Utilitários ---------- */
.stack { display: flex; flex-direction: column; }
.gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.eyebrow-rule { display: block; width: 1px; background: linear-gradient(180deg, var(--line-soft), var(--gold)); }

/* ==========================================================================
   HOME
   ========================================================================== */
.home-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; background: var(--teal-deeper); }
.home-hero__media { position: absolute; inset: 0; overflow: hidden; }
.home-hero__bg {
  position: absolute; inset: 0; background-image: url('../assets/img/hero-home.jpg');
  background-size: cover; background-position: 70% 46%; background-repeat: no-repeat;
  transform-origin: 60% 50%; will-change: transform;
}
.home-hero__scrim-v { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.18 0.03 200 / 0.66) 0%, oklch(0.18 0.03 200 / 0.16) 32%, oklch(0.16 0.03 200 / 0.52) 64%, oklch(0.13 0.03 200 / 0.94) 100%); }
.home-hero__scrim-h { position: absolute; inset: 0; background: linear-gradient(96deg, oklch(0.16 0.03 200 / 0.82) 0%, oklch(0.16 0.03 200 / 0.42) 46%, oklch(0.16 0.03 200 / 0) 84%); }

.home-hero__inner { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: clamp(96px, 10vw, 150px) var(--gutter) clamp(22px, 2.6vw, 38px); }
.home-hero__copy { max-width: min(1000px, 94%); display: flex; flex-direction: column; align-items: flex-start; gap: clamp(22px, 2.2vw, 32px); }

.home-hero__kicker { margin: 0; display: inline-flex; align-items: center; gap: 16px; }
.home-hero__kicker .k-rule { display: block; height: 1px; width: clamp(28px, 3.5vw, 52px); background: var(--gold); flex: 0 0 auto; }
.home-hero__kicker .k-txt { font-size: 11.5px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: oklch(0.86 0.05 85 / 0.92); }

.home-hero__title { margin: 0; font-family: var(--display); font-weight: 420; font-optical-sizing: auto; color: var(--bone); letter-spacing: -0.028em; }
.home-hero__title .hline { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.home-hero__title .hline__in { display: block; font-size: clamp(42px, 6.8vw, 106px); line-height: 1.02; }
.home-hero__title em { font-style: italic; color: var(--gold); }

.home-hero__sub { margin: 4px 0 0; max-width: 44ch; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.7; color: oklch(0.98 0.01 90 / 0.86); text-wrap: pretty; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 6px; }

.home-hero__foot { position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(20px, 2.2vw, 34px); }
.home-hero__foot-row { padding-top: 22px; border-top: 1px solid oklch(0.98 0.01 90 / 0.2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.home-hero__tags { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 54px); }
.home-hero__tags p { margin: 0; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: oklch(0.98 0.01 90 / 0.7); }
.home-hero__cue { display: block; width: 1px; height: 44px; background: linear-gradient(180deg, var(--gold), oklch(0.8 0.055 84 / 0)); animation: ilCue 2.8s ease-in-out infinite; }

/* Coreografia do hero via transições CSS (robusto; JS só adiciona .is-in).
   Estados ocultos só sob html.anim: sem JS/GSAP/reduzido tudo aparece. */
.home-hero__bg { transition: transform 2.5s var(--ease); }
.home-hero__title .hline__in { transition: transform 1.15s var(--ease); }
.home-hero__kicker .k-rule { transition: transform 0.9s var(--ease); }
.home-hero__kicker .k-txt,
.home-hero__sub,
.home-hero__actions,
.home-hero__foot { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }

html.anim .home-hero__bg { transform: scale(1.12); }
html.anim .home-hero__title .hline__in { transform: translateY(116%); }
html.anim .home-hero__kicker .k-rule { transform: scaleX(0); transform-origin: left center; }
html.anim .home-hero__kicker .k-txt,
html.anim .home-hero__sub,
html.anim .home-hero__actions,
html.anim .home-hero__foot { opacity: 0; transform: translateY(16px); }

/* Reveal (prefixo html.anim para vencer a especificidade dos estados ocultos) */
html.anim .home-hero.is-in .home-hero__bg { transform: scale(1); }
html.anim .home-hero.is-in .hline__in { transform: translateY(0); }
html.anim .home-hero.is-in .k-rule { transform: scaleX(1); }
html.anim .home-hero.is-in .k-txt,
html.anim .home-hero.is-in .home-hero__sub,
html.anim .home-hero.is-in .home-hero__actions,
html.anim .home-hero.is-in .home-hero__foot { opacity: 1; transform: none; }

/* Escalonamento (cascata) via transition-delay ao revelar */
html.anim .home-hero.is-in .k-rule { transition-delay: 0.05s; }
html.anim .home-hero.is-in .k-txt { transition-delay: 0.12s; }
html.anim .home-hero.is-in .home-hero__title .hline:nth-child(1) .hline__in { transition-delay: 0.20s; }
html.anim .home-hero.is-in .home-hero__title .hline:nth-child(2) .hline__in { transition-delay: 0.34s; }
html.anim .home-hero.is-in .home-hero__title .hline:nth-child(3) .hline__in { transition-delay: 0.48s; }
html.anim .home-hero.is-in .home-hero__sub { transition-delay: 0.62s; }
html.anim .home-hero.is-in .home-hero__actions { transition-delay: 0.76s; }
html.anim .home-hero.is-in .home-hero__foot { transition-delay: 0.9s; }

/* Bloco centralizado com régua */
.center-block { max-width: 1040px; margin: 0 auto; padding: clamp(110px,15vw,210px) var(--gutter) clamp(54px,6vw,88px); display: flex; flex-direction: column; align-items: center; gap: clamp(28px,3vw,46px); text-align: center; }
.center-block .eyebrow-rule { height: clamp(44px,5vw,80px); }

/* Imagem larga com parallax */
.wide-media { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(90px,11vw,150px); }
.wide-media__frame { position: relative; width: 100%; aspect-ratio: 16/7; overflow: hidden; border-radius: 3px; background: var(--bone-2); }
.wide-media__frame img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }

/* Home — bloco "Um novo olhar": retrato do jaleco quase inteiro, centralizado */
.novo-olhar-sec .wide-media { max-width: 600px; }
.novo-olhar-sec .wide-media__frame { aspect-ratio: 2 / 3; }
.novo-olhar-sec .wide-media__frame img { inset: -3% 0; height: 106%; }
.pilares {
  list-style: none; margin: clamp(16px, 2vw, 28px) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(26px, 4vw, 64px);
}
.pilar { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pilar__rule { width: 26px; height: 2px; background: var(--gold); }
.pilar__label {
  font-family: var(--sans); font-size: clamp(13px, 1.05vw, 15px); font-weight: 600;
  letter-spacing: 0.06em; color: var(--ink-soft); white-space: nowrap;
}

/* Cabeçalho de seção */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: clamp(44px,5vw,74px); }
.sec-head__text { display: flex; flex-direction: column; gap: 20px; max-width: 46ch; }

/* Seção dividida (texto + imagem) */
.split { max-width: var(--maxw); margin: 0 auto; padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(44px,5vw,100px); align-items: center; }
.split__text { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; max-width: 52ch; }
.split__note { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.split__media { position: relative; justify-self: center; width: 100%; max-width: 500px; aspect-ratio: 5/7; overflow: hidden; border-radius: 3px; }
.split__media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
/* Retrato da fundadora (Nossa história) — legenda sobreposta */
.split__media { margin: 0; }
.split__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(52px,8vw,80px) clamp(18px,2vw,24px) clamp(16px,1.8vw,20px);
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone);
  background: linear-gradient(180deg, oklch(0.16 0.02 250 / 0), oklch(0.15 0.02 250 / 0.74));
}
.split__cap span { color: var(--gold); }

/* Faixa escura com citação */
.quote-band { position: relative; overflow: hidden; background: var(--teal-deep); }
.quote-band__bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; opacity: 0.9; }
.quote-band__scrim { position: absolute; inset: 0; background: linear-gradient(102deg, oklch(0.2 0.035 200 / 0.92) 0%, oklch(0.2 0.035 200 / 0.7) 48%, oklch(0.2 0.035 200 / 0.35) 100%); }
.quote-band__inner { position: relative; max-width: 1040px; margin: 0 auto; padding: clamp(110px,14vw,200px) var(--gutter); display: flex; flex-direction: column; align-items: flex-start; gap: clamp(28px,3vw,44px); }
.quote-band blockquote { margin: 0; max-width: 24ch; font-family: var(--display); font-weight: 420; font-size: clamp(34px,5.2vw,72px); line-height: 1.06; letter-spacing: -0.02em; color: var(--bone); }
.quote-band blockquote em { font-style: italic; color: var(--gold); }

/* Modo de teste visual (?flat) */
.flat-test .home-hero, .flat-test .route-hero { min-height: 640px !important; }
.flat-test [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }

/* ==========================================================================
   CSS POR ROTA (gerado no porte das páginas)
   ========================================================================== */

/* ---------- INSTITUTO ---------- */
/* ==========================================================================
   ROTA: O Instituto — layouts exclusivos desta página.
   Reutiliza o design system (route-hero, split, section, eyebrow, title, prose,
   btn, wrap, stack). CSS abaixo cobre só o que é único à rota.
   ========================================================================== */

/* Hero: zoom animado + dois scrims (fiel ao original) sobre .route-hero */
.inst-hero__bg { background-position: 58% 44%; transform-origin: 60% 50%; animation: ilZoom 30s ease-in-out infinite alternate; }
.inst-hero__scrim-v { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.16 0.028 200 / 0.68) 0%, oklch(0.16 0.028 200 / 0.36) 44%, oklch(0.16 0.028 200 / 0.9) 100%); }
.inst-hero__scrim-h { position: absolute; inset: 0; background: linear-gradient(96deg, oklch(0.16 0.028 200 / 0.8) 0%, oklch(0.16 0.028 200 / 0.46) 46%, oklch(0.16 0.028 200 / 0.04) 84%, oklch(0.16 0.028 200 / 0) 100%); }
.inst-hero__inner { padding: clamp(160px, 18vw, 240px) var(--gutter) clamp(48px, 5vw, 72px); }
.inst-hero__copy { max-width: min(820px, 94%); display: flex; flex-direction: column; align-items: flex-start; gap: clamp(22px, 2.4vw, 30px); }
.inst-hero__lead { margin: 0; max-width: 44ch; font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); line-height: 1.35; color: oklch(0.985 0.005 90 / 0.86); text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) { .inst-hero__bg { animation: none; } }

/* .split com colunas alinhadas ao topo (texto longo da história) */
.inst-split--start { align-items: start; }

/* Citação da fundadora (creme, régua dourada, sem imagem) */
.inst-quote { border-bottom: 1px solid oklch(0.8 0.055 84 / 0.5); }
.inst-quote__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; padding-top: clamp(90px, 11vw, 170px); padding-bottom: clamp(90px, 11vw, 170px); }
.inst-quote__rule { display: block; width: clamp(60px, 8vw, 110px); height: 1px; background: var(--gold); }
.inst-quote__q { margin: 0; max-width: 32ch; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 4.2vw, 56px); line-height: 1.12; letter-spacing: -0.01em; color: var(--brown); }
.inst-quote__q em { font-style: italic; color: var(--teal-ink); }
.inst-quote__by { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-ink); }

/* Par de imagens escalonadas (Nosso propósito) */
.inst-duo { display: flex; gap: 16px; justify-self: stretch; width: 100%; max-width: 620px; margin-inline: auto; }
.inst-duo__img { flex: 1 1 0; min-width: 0; aspect-ratio: 5/7; object-fit: cover; border-radius: 3px; }
.inst-duo__img--offset { margin-top: clamp(14px, 2.5vw, 34px); }

/* Corpo clínico (foto + bio) */
.inst-clinic { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.inst-clinic__photo { position: relative; width: 100%; max-width: 440px; aspect-ratio: 4/5; overflow: hidden; border-radius: 3px; background: var(--cream); }
.inst-clinic__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.inst-clinic__bio { display: flex; flex-direction: column; gap: 22px; max-width: 62ch; }
.inst-clinic__name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; color: var(--brown); }
.inst-clinic__role { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-ink); }
.inst-clinic__box { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.2vw, 28px); background: var(--cream); border: 1px solid oklch(0.8 0.055 84 / 0.6); border-radius: 3px; }
.inst-clinic__box-label { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }
.inst-clinic__box-body { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink); }
.inst-clinic__closing { margin: 0; padding-top: 20px; border-top: 1px solid oklch(0.8 0.055 84 / 0.6); font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.35; color: var(--teal-ink); }

/* Bio: texto flui ao redor e abaixo da foto — preenche o espaço vazio */
.split--wrap, .inst-clinic--wrap { display: block; max-width: min(100%, 1080px); margin-inline: auto; }
.split--wrap::after, .inst-clinic--wrap::after { content: ""; display: block; clear: both; }
.split--wrap .split__media { float: right; width: min(42%, 420px); max-width: none; margin: 4px 0 20px 48px; }
.split--wrap .split__text { display: block; max-width: none; }
.split--wrap .split__text > * { margin: 22px 0 0; }
.split--wrap .split__text > *:first-child { margin-top: 0; }
.inst-clinic--wrap .inst-clinic__photo { float: left; width: min(40%, 420px); max-width: none; margin: 4px 48px 20px 0; }
.inst-clinic--wrap .inst-clinic__bio { display: block; max-width: none; }
.inst-clinic--wrap .inst-clinic__bio > * { margin: 22px 0 0; }
.inst-clinic--wrap .inst-clinic__bio > *:first-child { margin-top: 0; }
@media (max-width: 760px) {
  .split--wrap .split__media, .inst-clinic--wrap .inst-clinic__photo { float: none; width: 100%; max-width: 100%; margin: 0 0 24px; }
}

/* Grade de estrutura (galeria 4/3) */
/* Estrutura — galeria do espaço: grade refinada com legenda sobreposta que
   ganha vida no hover (zoom da imagem, borda dourada, régua que expande) */
.inst-estrutura-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 26px); }
.estrutura-card {
  position: relative; margin: 0; overflow: hidden; border-radius: 4px;
  aspect-ratio: 4/3; background: var(--bone-3);
  box-shadow: 0 20px 44px -32px oklch(0.285 0.02 74 / 0.5);
}
.estrutura-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.95);
  transition: transform 1.1s var(--ease), filter .7s var(--ease);
  will-change: transform;
}
.estrutura-card:hover img { transform: scale(1.06); filter: saturate(1.04); }
/* borda dourada no hover */
.estrutura-card::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border: 1px solid transparent; border-radius: 4px;
  transition: border-color .6s var(--ease);
}
.estrutura-card:hover::after { border-color: oklch(0.8 0.055 84 / 0.55); }
/* scrim de base para legibilidade da legenda */
.estrutura-card__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    oklch(0.2 0.024 240 / 0) 44%,
    oklch(0.17 0.022 240 / 0.66) 100%);
}
.estrutura-card__cap {
  position: absolute; z-index: 2;
  left: clamp(16px, 1.6vw, 22px); right: clamp(16px, 1.6vw, 22px);
  bottom: clamp(15px, 1.6vw, 20px);
  display: flex; flex-direction: column; gap: 9px;
}
.estrutura-card__rule {
  width: 20px; height: 2px; background: var(--gold); opacity: .6;
  transition: width .6s var(--ease), opacity .5s var(--ease);
}
.estrutura-card:hover .estrutura-card__rule { width: 46px; opacity: 1; }
.estrutura-card__label {
  font-family: var(--sans); font-size: clamp(12px, 1vw, 14px); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone);
  opacity: .9; transition: opacity .5s var(--ease);
}
.estrutura-card:hover .estrutura-card__label { opacity: 1; }

@media (max-width: 900px) { .inst-estrutura-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .inst-estrutura-grid { grid-template-columns: 1fr; } }

/* CTA final escuro com imagem de fundo e dois overlays */
.inst-cta { position: relative; overflow: hidden; background: var(--dark); }
.inst-cta__bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.inst-cta__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.16 0.028 200 / 0.72) 0%, oklch(0.16 0.028 200 / 0.58) 48%, oklch(0.16 0.028 200 / 0.86) 100%); }
.inst-cta__scrim2 { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 45%, oklch(0.16 0.028 200 / 0) 0%, oklch(0.16 0.028 200 / 0.5) 100%); }
.inst-cta__inner { position: relative; max-width: 1100px; margin: 0 auto; padding: clamp(120px, 15vw, 220px) var(--gutter); display: flex; flex-direction: column; align-items: center; gap: clamp(24px, 2.6vw, 34px); text-align: center; }
.inst-cta__title { margin: 0; max-width: 24ch; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5.4vw, 78px); line-height: 1.02; letter-spacing: -0.022em; color: var(--white); text-wrap: pretty; }
.inst-cta__title em { font-style: italic; color: var(--gold); }
.inst-cta__text { margin: 0; max-width: 44ch; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.7; color: oklch(0.985 0.005 90 / 0.82); }

/* ---------- ESPECIALIDADES ---------- */
/* ==========================================================================
   ESPECIALIDADES — layouts exclusivos desta rota (prefixo .espe-)
   ========================================================================== */

/* Hero: reaproveita .route-hero, com zoom animado, dois scrims e recuos próprios */
.espe-hero .route-hero__bg {
  background-position: 46% 40%;
  transform-origin: 60% 50%;
  animation: ilZoom 30s ease-in-out infinite alternate;
}
.espe-hero__scrim, .espe-hero__scrim-h { position: absolute; inset: 0; }
.espe-hero__scrim { background: linear-gradient(180deg, oklch(0.16 0.028 200 / 0.74) 0%, oklch(0.16 0.028 200 / 0.5) 44%, oklch(0.16 0.028 200 / 0.92) 100%); }
.espe-hero__scrim-h { background: linear-gradient(96deg, oklch(0.16 0.028 200 / 0.78) 0%, oklch(0.16 0.028 200 / 0.5) 50%, oklch(0.16 0.028 200 / 0.2) 100%); }
.espe-hero .route-hero__inner { padding: clamp(160px,18vw,240px) var(--gutter) clamp(52px,6vw,80px); }
.espe-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(22px,2.4vw,30px); }
.espe-hero__note { font-size: clamp(15px,1.15vw,17px); color: oklch(0.985 0.005 90 / 0.74); }
.espe-hero__note strong { font-weight: 500; color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .espe-hero .route-hero__bg { animation: none; } }

/* Lista de tratamentos (linha divisória + duas colunas: nome | descrição) */
.espe-lead { margin: 0 0 clamp(30px,4vw,48px); font-family: var(--serif); font-size: clamp(24px,2.8vw,38px); line-height: 1.25; color: var(--teal-ink); text-wrap: pretty; }
.espe-list { display: flex; flex-direction: column; border-bottom: 1px solid oklch(0.8 0.055 84 / 0.6); counter-reset: esp; }
.espe-item { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: clamp(16px,3vw,48px); padding: clamp(30px,3.2vw,44px) 0; border-top: 1px solid oklch(0.8 0.055 84 / 0.6); counter-increment: esp; transition: background .5s var(--ease); }
.espe-item h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(22px,2.2vw,31px); line-height: 1.2; color: var(--brown); text-wrap: pretty; }
.espe-item h2::before { content: counter(esp, decimal-leading-zero); display: block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.22em; color: var(--gold); margin-bottom: 14px; }
.espe-item p { margin: 0; font-size: clamp(15px,1.15vw,17px); line-height: 1.8; color: var(--ink-soft); }
.espe-close { margin: clamp(44px,5vw,72px) auto 0; max-width: 74ch; font-family: var(--serif); font-size: clamp(19px,1.8vw,25px); line-height: 1.5; color: var(--teal-ink); text-align: center; text-wrap: pretty; }

/* Galeria em grade (4/3), diferente da .gallery horizontal do design system */
.espe-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: clamp(12px,1.4vw,20px); }
.espe-gallery figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.espe-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; }
.espe-gallery figcaption { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }

/* Faixa de CTA final (imagem de fundo com parallax + gradientes, conteúdo centralizado) */
.espe-cta { position: relative; overflow: hidden; background: var(--white); }
.espe-cta__bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.espe-cta__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.16 0.028 200 / 0.74) 0%, oklch(0.16 0.028 200 / 0.6) 48%, oklch(0.16 0.028 200 / 0.88) 100%); }
.espe-cta__scrim-r { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 45%, oklch(0.16 0.028 200 / 0) 0%, oklch(0.16 0.028 200 / 0.5) 100%); }
.espe-cta__inner { position: relative; max-width: 960px; margin: 0 auto; padding: clamp(120px,15vw,220px) var(--gutter); display: flex; flex-direction: column; align-items: center; gap: clamp(24px,2.6vw,34px); text-align: center; }
.espe-cta__title { max-width: 26ch; font-size: clamp(34px,5.4vw,78px); line-height: 1.02; letter-spacing: -0.022em; }

/* ---------- TECNOLOGIAS ---------- */
/* ==========================================================================
   ROTA: Tecnologias
   Layouts exclusivos desta rota (grids de cards de tecnologia + hero com
   duplo scrim). Reutiliza tokens/classes do design system; nada é redefinido.
   ========================================================================== */

/* Hero — imagem com zoom + duplo gradiente (vertical e horizontal) */
.tecn-hero-bg { background-position: 52% 46%; transform-origin: 60% 50%; animation: ilZoom 30s ease-in-out infinite alternate; }
.tecn-hero-scrim-v { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.16 0.028 200 / 0.7) 0%, oklch(0.16 0.028 200 / 0.4) 44%, oklch(0.16 0.028 200 / 0.9) 100%); }
.tecn-hero-scrim-h { position: absolute; inset: 0; background: linear-gradient(96deg, oklch(0.16 0.028 200 / 0.8) 0%, oklch(0.16 0.028 200 / 0.46) 46%, oklch(0.16 0.028 200 / 0.04) 84%, oklch(0.16 0.028 200 / 0) 100%); }
.tecn-hero-inner { padding-top: clamp(160px, 18vw, 240px); padding-bottom: clamp(48px, 5vw, 72px); }
.tecn-hero-copy { max-width: min(840px, 94%); display: flex; flex-direction: column; align-items: flex-start; gap: clamp(22px, 2.4vw, 30px); }
.tecn-hero-title { font-size: clamp(38px, 5.8vw, 92px); line-height: 0.98; letter-spacing: -0.024em; }

/* Container interno das seções de conteúdo (mesma largura/respiro do original) */
.tecn-sec { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--gutter); }
.tecn-intro { display: flex; flex-direction: column; gap: 16px; max-width: 60ch; margin-bottom: clamp(40px, 5vw, 64px); }

/* Grid de cards de tecnologia */
.tecn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.tecn-grid--diag { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.tecn-card { display: flex; flex-direction: column; gap: 12px; border: 1px solid; border-radius: 3px; padding: clamp(24px, 2.4vw, 32px); }
.tecn-card__name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2vw, 30px); line-height: 1.1; color: var(--brown); }
.tecn-card__desc { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.tecn-card__media { position: relative; margin-top: 6px; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 3px; background: var(--darker); }
.tecn-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Cards de tratamento (borda dourada, hover eleva e clareia o fundo) */
.tecn-card--tec { border-color: oklch(0.8 0.055 84 / 0.9); transition: border-color 450ms ease, background 450ms ease, transform 450ms var(--ease); }
.tecn-card--tec:hover { background: var(--cream); transform: translateY(-3px); }

/* Cards de diagnóstico (fundo branco, borda teal que intensifica no hover) */
.tecn-card--diag { background: var(--white); border-color: oklch(0.6 0.09 192 / 0.35); transition: border-color 450ms ease; }
.tecn-card--diag:hover { border-color: oklch(0.6 0.09 192 / 0.8); }

/* Seção final: texto + mídia lado a lado */
.tecn-cta-grid { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--gutter); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(40px, 5vw, 80px); align-items: center; }
.tecn-cta-text { display: flex; flex-direction: column; gap: 20px; max-width: 52ch; }
.tecn-cta-media { display: flex; flex-direction: column; gap: 12px; justify-self: center; width: 100%; max-width: 440px; }
.tecn-cta-frame { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; border-radius: 3px; background: var(--cream); }
.tecn-cta-frame img { position: absolute; inset: -5% 0; width: 100%; height: 110%; object-fit: cover; }

/* ---------- BLOG ---------- */
/* ==========================================================================
   BLOG (rota) — layouts exclusivos desta página
   Reutiliza .route-hero, .section--line, .wrap, .sec-head, .title, .prose,
   .btn, .stack, .on-dark do design system. Abaixo apenas o que é único.
   ========================================================================== */

/* ---- Hero: zoom lento + dupla camada de gradiente (vertical + horizontal) ---- */
.blog-hero__bg { background-position: 62% 44%; transform-origin: 60% 50%; animation: ilZoom 30s ease-in-out infinite alternate; }
.blog-hero__scrim-v { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.16 0.028 200 / 0.58) 0%, oklch(0.16 0.028 200 / 0.25) 42%, oklch(0.16 0.028 200 / 0.9) 100%); }
.blog-hero__scrim-h { position: absolute; inset: 0; background: linear-gradient(96deg, oklch(0.16 0.028 200 / 0.82) 0%, oklch(0.16 0.028 200 / 0.5) 46%, oklch(0.16 0.028 200 / 0.04) 84%, oklch(0.16 0.028 200 / 0) 100%); }
.blog-hero__inner { padding-top: clamp(160px, 18vw, 240px); padding-bottom: clamp(54px, 6vw, 82px); }
.blog-hero__copy { max-width: min(830px, 94%); align-items: flex-start; gap: clamp(22px, 2.4vw, 30px); }
.blog-hero__title { font-size: clamp(42px, 6vw, 92px); letter-spacing: -0.026em; }

/* ---- Lista editorial: recuo vertical próprio (o horizontal vem do .wrap) ---- */
.blog-list__inner { padding-top: clamp(70px, 8vw, 116px); padding-bottom: clamp(70px, 8vw, 116px); }
.blog-list__head { margin-bottom: clamp(34px, 4.5vw, 58px); }

/* ---- Artigo em destaque (imagem + texto, moldura creme) ---- */
.blog-feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); overflow: hidden; border: 1px solid oklch(0.8 0.055 84 / 0.58); background: var(--cream); margin-bottom: clamp(46px, 6vw, 78px); }
.blog-feature__media { position: relative; min-height: clamp(320px, 39vw, 520px); overflow: hidden; background: var(--darker); }
.blog-feature__media img { position: absolute; inset: -4% 0; width: 100%; height: 108%; object-fit: cover; object-position: 62% 44%; filter: saturate(0.9); }
.blog-feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.16 0.028 200 / 0.02), oklch(0.16 0.028 200 / 0.28)); }
.blog-feature__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 5vw, 72px); gap: 22px; }
.blog-feature__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.08; color: var(--brown); text-wrap: pretty; }
.blog-feature__rule { width: 64px; height: 1px; background: var(--gold); margin-top: 4px; }

/* ---- Grade de perguntas (accordion nativo <details>) ---- */
.blog-faqs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(18px, 2.2vw, 30px); }
.blog-faq { background: var(--white); border: 1px solid oklch(0.8 0.055 84 / 0.56); padding: clamp(26px, 3vw, 38px); min-height: 250px; transition: transform 350ms ease, border-color 350ms ease, box-shadow 350ms ease; }
.blog-faq:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: 0 18px 46px oklch(0.285 0.018 74 / 0.08); }
.blog-faq > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; gap: 34px; min-height: 176px; }
.blog-faq > summary::-webkit-details-marker { display: none; }
.blog-faq__q { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.1vw, 31px); line-height: 1.18; color: var(--brown); text-wrap: pretty; }
.blog-faq__more { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 18px; border-top: 1px solid oklch(0.8 0.055 84 / 0.5); font-size: 13px; color: var(--teal-ink); }
.blog-faq__more > span { font-size: 24px; line-height: 1; font-weight: 300; }
.blog-faq__a { margin: 24px 0 0; padding-top: 24px; border-top: 1px solid oklch(0.8 0.055 84 / 0.35); font-size: 15px; line-height: 1.8; color: var(--ink-soft); }

/* Variante teal (card de lipedema) */
.blog-faq--teal { background: var(--teal-ink); border-color: var(--teal-ink); }
.blog-faq--teal:hover { border-color: var(--teal-ink); box-shadow: 0 18px 46px oklch(0.52 0.075 195 / 0.18); }
.blog-faq--teal .blog-faq__q { color: var(--white); }
.blog-faq--teal .blog-faq__more { border-top-color: oklch(0.985 0.005 90 / 0.28); color: var(--sand); }
.blog-faq--teal .blog-faq__a { border-top-color: oklch(0.985 0.005 90 / 0.18); color: oklch(0.985 0.005 90 / 0.84); }

/* Variante areia (card de agendamento) */
.blog-faq--sand { background: var(--sand); border-color: oklch(0.8 0.055 84 / 0.7); }
.blog-faq--sand .blog-faq__q { color: var(--ink-mute); }
.blog-faq--sand .blog-faq__more { border-top-color: oklch(0.46 0.03 70 / 0.28); }
.blog-faq--sand .blog-faq__a { border-top-color: oklch(0.46 0.03 70 / 0.2); }

/* ---- Faixa final de CTA (fundo escuro) ---- */
.blog-cta { background: var(--darker); border-top: 1px solid oklch(0.8 0.055 84 / 0.28); }
.blog-cta__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(66px, 8vw, 108px) var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.blog-cta__title { margin: 0; max-width: 25ch; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.12; color: var(--white); text-wrap: pretty; }

/* ---------- CONTATO ---------- */
/* ==========================================================================
   ROTA: Contato — layouts pontuais desta página (prefixo .cont-)
   Reutiliza o design system; aqui só o que é único da rota.
   ========================================================================== */

/* Hero: fundo com zoom lento + dois scrims (vertical e horizontal) */
.cont-hero__bg {
  background-position: 50% 18%;
  transform-origin: 50% 18%;
  animation: ilZoom 30s ease-in-out infinite alternate;
}
.cont-hero__scrim-v {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, oklch(0.16 0.028 200 / 0.68) 0%, oklch(0.16 0.028 200 / 0.36) 44%, oklch(0.16 0.028 200 / 0.9) 100%);
}
.cont-hero__scrim-h {
  position: absolute; inset: 0;
  background: linear-gradient(96deg, oklch(0.16 0.028 200 / 0.8) 0%, oklch(0.16 0.028 200 / 0.46) 46%, oklch(0.16 0.028 200 / 0.04) 84%, oklch(0.16 0.028 200 / 0) 100%);
}
.cont-hero__copy {
  position: relative;
  max-width: min(780px, 94%);
  display: flex; flex-direction: column; align-items: flex-start;
  gap: clamp(22px, 2.4vw, 30px);
}
@media (prefers-reduced-motion: reduce) { .cont-hero__bg { animation: none; } }

/* Faixa CTA "Agende sua consulta" (linhas douradas em cima e embaixo) */
.cont-cta { border-top: 1px solid oklch(0.8 0.055 84 / 0.5); border-bottom: 1px solid oklch(0.8 0.055 84 / 0.5); }
.cont-cta__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(48px,6vw,80px) var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cont-cta__text { display: flex; flex-direction: column; gap: 12px; max-width: 50ch; }

/* Grade: informações de contato + mapa */
.cont-grid {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(72px,9vw,124px) var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px,5vw,72px); align-items: start;
}
.cont-col { display: flex; flex-direction: column; gap: clamp(20px,2.4vw,30px); }
.cont-col--map { gap: 16px; }
.cont-photo { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.cont-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 3px; border: 1px solid var(--line); }
.cont-photo figcaption { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.cont-info__row {
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 18px; border-top: 1px solid oklch(0.8 0.055 84 / 0.9);
}
.cont-info__name { margin: 0; font-family: var(--serif); font-size: clamp(20px,1.8vw,25px); line-height: 1.4; color: var(--brown); }
.cont-info__val { margin: 0; font-size: clamp(16px,1.2vw,19px); line-height: 1.6; color: oklch(0.285 0.018 74 / 0.92); }
.cont-map {
  width: 100%; height: clamp(300px,38vw,440px);
  border: 1px solid oklch(0.8 0.055 84 / 0.65); border-radius: 3px; display: block;
  filter: grayscale(0.3) contrast(1.05);
}

/* Seção do formulário (fundo creme, linha dourada no topo) */
.cont-form-sec { background: var(--cream); border-top: 1px solid oklch(0.8 0.055 84 / 0.5); padding: clamp(72px,9vw,124px) var(--gutter); }
.cont-form-wrap { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.cont-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.cont-form__actions { display: flex; flex-wrap: wrap; gap: 14px; align-self: flex-start; }


/* ==========================================================================
   ESPECIALIDADES — redesenho editorial (ensaio fotográfico texto+imagem)
   Prefixo .espeR-. Substitui a lista numerada por blocos alternados
   imagem/texto, bem maiores e mais espaçados. Sem números.
   ========================================================================== */
.espeR-intro { max-width: 62ch; margin-bottom: clamp(64px, 8vw, 120px); }

.espeR-flow { display: flex; flex-direction: column; gap: clamp(96px, 12vw, 180px); }

.espeR-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 5.5vw, 100px);
  align-items: center;
}

.espeR-media {
  position: relative; margin: 0; width: 100%;
  aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 4px; background: var(--bone-3);
}
.espeR-media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }

@media (min-width: 900px) {
  .espeR-block--flip .espeR-media { order: 2; }
}

.espeR-block--solo { grid-template-columns: minmax(0, 66ch); }

.espeR-text {
  display: flex; flex-direction: column;
  gap: clamp(30px, 3.6vw, 54px);
  max-width: 60ch;
}
.espeR-treat { display: flex; flex-direction: column; gap: 12px; }
.espeR-treat .title { color: var(--brown); }
.espeR-treat .prose { max-width: 54ch; }

/* ==========================================================================
   TEC — Tecnologias de tratamento (redesign): blocos GRANDES empilhados,
   alternando mídia (vídeo/foto) e texto, com forte reveal ao rolar.
   Prefixo .tecR-.
   ========================================================================== */
.tecR-stack { display: flex; flex-direction: column; gap: clamp(84px, 11vw, 172px); }

.tecR-block { display: grid; grid-template-columns: 1.06fr 1fr; gap: clamp(36px, 5vw, 96px); align-items: center; }
.tecR-block__media { order: 1; }
.tecR-block__text  { order: 2; }
.tecR-block--flip .tecR-block__media { order: 2; }
.tecR-block--flip .tecR-block__text  { order: 1; }

.tecR-media {
  position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden;
  border-radius: 4px; background: var(--teal-deeper);
  box-shadow: 0 44px 96px -54px oklch(0.285 0.02 74 / 0.55);
}
.tecR-media > video, .tecR-media > img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.tecR-media::before { content: ""; position: absolute; inset: 0; z-index: 2; border: 1px solid oklch(0.8 0.055 84 / 0.32); border-radius: 4px; pointer-events: none; }

.tecR-text { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(15px, 1.7vw, 24px); max-width: 42ch; }
.tecR-block--flip .tecR-text { margin-left: auto; }
.tecR-index { display: inline-flex; align-items: center; gap: 14px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.tecR-index::before { content: ""; width: clamp(26px, 3vw, 46px); height: 1px; background: var(--gold); flex: 0 0 auto; }
.tecR-name { margin: 0; font-family: var(--display); font-weight: 420; font-optical-sizing: auto; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.0; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.tecR-desc { margin: 0; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.72; color: var(--ink-soft); text-wrap: pretty; }

.tecR-feature { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(18px, 2.2vw, 28px); max-width: 62ch; margin: 0 auto; padding: clamp(16px, 3vw, 40px) var(--gutter); }
.tecR-feature__rule { display: block; width: 1px; height: clamp(46px, 6vw, 82px); background: linear-gradient(180deg, oklch(0.8 0.055 84 / 0), var(--gold)); }
.tecR-feature__rule--btm { background: linear-gradient(180deg, var(--gold), oklch(0.8 0.055 84 / 0)); }
.tecR-feature .tecR-index { letter-spacing: 0.26em; }
.tecR-feature .tecR-index::before { display: none; }
.tecR-feature__name { margin: 0; font-family: var(--display); font-weight: 420; font-optical-sizing: auto; font-size: clamp(42px, 6.6vw, 96px); line-height: 0.98; letter-spacing: -0.028em; color: var(--ink); text-wrap: balance; }
.tecR-feature__name em { font-style: italic; color: var(--teal); }
.tecR-feature__desc { margin: 0; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.6; color: var(--ink-soft); max-width: 54ch; text-wrap: pretty; }

@media (max-width: 880px) {
  .tecR-block { grid-template-columns: 1fr; gap: clamp(24px, 6vw, 40px); }
  .tecR-block__media, .tecR-block--flip .tecR-block__media { order: 1; }
  .tecR-block__text,  .tecR-block--flip .tecR-block__text  { order: 2; }
  .tecR-text, .tecR-block--flip .tecR-text { margin-left: 0; max-width: none; }
  .tecR-media { aspect-ratio: 16/11; }
}

/* ==========================================================================
   BLOG — Cards de FAQ estilo editorial (imagem no topo). Prefixo .blogR-.
   ========================================================================== */
.blogR-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 2.4vw, 34px);
}

.blogR-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  transition: transform 380ms var(--ease), border-color 380ms var(--ease), box-shadow 380ms var(--ease);
}
.blogR-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 22px 50px oklch(0.285 0.018 74 / 0.10);
}

.blogR-card__head {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.blogR-card__head::-webkit-details-marker { display: none; }

.blogR-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--darker);
}
.blogR-card__media img {
  position: absolute;
  inset: -6% 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 60% 45%;
  filter: saturate(0.92);
  transition: transform 900ms var(--ease), filter 900ms var(--ease);
}
.blogR-card:hover .blogR-card__media img {
  transform: scale(1.045);
  filter: saturate(1);
}
.blogR-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, oklch(0.16 0.028 200 / 0), oklch(0.16 0.028 200 / 0.22));
}

.blogR-card__top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 2.6vw, 34px);
}
.blogR-card__q {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 1.9vw, 29px);
  line-height: 1.18;
  color: var(--brown);
  text-wrap: pretty;
}
.blogR-card__more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--teal-ink);
}
.blogR-card__sign {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  font-weight: 300;
  transition: transform 340ms var(--ease), background 340ms var(--ease), color 340ms var(--ease), border-color 340ms var(--ease);
}
.blogR-card:hover .blogR-card__sign {
  border-color: var(--gold);
  background: var(--gold);
  color: oklch(0.25 0.02 74);
}
.blogR-card[open] .blogR-card__sign { transform: rotate(45deg); }

.blogR-card__a {
  margin: 0;
  padding: 0 clamp(24px, 2.6vw, 34px) clamp(26px, 2.8vw, 34px);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.blogR-card__a::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 22px;
  background: var(--line-soft);
}

.blogR-card--teal {
  background: var(--teal-ink);
  border-color: var(--teal-ink);
}
.blogR-card--teal:hover {
  border-color: var(--teal-ink);
  box-shadow: 0 22px 50px oklch(0.52 0.075 195 / 0.20);
}
.blogR-card--teal .blogR-card__q { color: var(--white); }
.blogR-card--teal .blogR-card__more { color: var(--sand); }
.blogR-card--teal .blogR-card__sign {
  border-color: color-mix(in oklab, var(--white) 32%, transparent);
  color: var(--white);
}
.blogR-card--teal:hover .blogR-card__sign {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--teal-deep);
}
.blogR-card--teal .blogR-card__a { color: color-mix(in oklab, var(--white) 86%, transparent); }
.blogR-card--teal .blogR-card__a::before { background: color-mix(in oklab, var(--white) 22%, transparent); }

.blogR-card--sand {
  background: var(--sand);
  border-color: var(--line-soft);
}
.blogR-card--sand .blogR-card__q { color: var(--ink-mute); }
.blogR-card--sand .blogR-card__a::before { background: color-mix(in oklab, var(--ink) 16%, transparent); }

@media (max-width: 640px) {
  .blogR-card__media { aspect-ratio: 16 / 9; }
}

/* ==========================================================================
   ROTA: Especialidades — Faixa imersiva "Políptico / Filmstrip" (variante A)
   6 painéis verticais full-bleed que fazem a ponte do bloco creme para o CTA
   escuro (.espe-cta) logo abaixo. Legenda sobreposta, numeração 01–06 e hover
   que expande o painel ativo. Reutiliza tokens/classes do design system;
   nada existente é redefinido — só o layout único, prefixo .espeJ-.
   ========================================================================== */

/* A faixa encosta no CTA escuro: some o respiro inferior da .section */
.espeJ { padding-bottom: 0; }

/* Moldura editorial (dentro do .wrap, centralizada) */
.espeJ__head {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(16px, 1.8vw, 22px); text-align: center;
  margin-bottom: clamp(46px, 6vw, 86px);
}
.espeJ__title { max-width: 18ch; }

/* Faixa full-bleed: a .section não tem padding horizontal e a faixa é filha
   direta dela, então width:100% já encosta nas duas bordas — sem o truque de
   100vw (que estouraria a largura da barra de rolagem e criava scroll lateral) */
.espeJ__strip {
  width: 100%;
  display: flex; gap: 2px; background: var(--teal-deeper);
  height: clamp(420px, 70vh, 760px);
  height: clamp(420px, 70svh, 760px);
}

/* Painel */
.espeJ__panel {
  position: relative; margin: 0; overflow: hidden;
  flex: 1 1 0; min-width: 0;
  transition: flex-grow .7s var(--ease);
}

/* Imagem sobredimensionada (folga p/ o parallax do app.js não vazar borda) */
.espeJ__img {
  position: absolute; inset: -6% 0; width: 100%; height: 112%;
  object-fit: cover;
  filter: saturate(.92) brightness(.9);
  transition: filter .7s var(--ease);
  will-change: transform;
}

/* Scrim de base — legibilidade da legenda + amarração com o CTA escuro */
.espeJ__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    oklch(0.16 0.028 200 / 0) 42%,
    oklch(0.16 0.028 200 / 0.34) 66%,
    oklch(0.16 0.028 200 / 0.82) 100%);
}

/* Numeração 01–06 (dourado, discreta no topo) */
.espeJ__num {
  position: absolute; top: clamp(16px, 2vw, 26px); left: clamp(16px, 1.6vw, 24px);
  z-index: 2; font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; color: var(--gold); opacity: .6;
  transition: opacity .6s var(--ease);
}

/* Legenda sobreposta na base do painel */
.espeJ__cap {
  position: absolute; z-index: 2;
  left: clamp(16px, 1.6vw, 24px); right: clamp(16px, 1.6vw, 24px);
  bottom: clamp(20px, 2.4vw, 30px);
  display: flex; flex-direction: column; gap: 10px;
}
.espeJ__rule {
  width: 22px; height: 2px; background: var(--gold); opacity: .55;
  transition: width .7s var(--ease), opacity .6s var(--ease);
}
.espeJ__label {
  font-family: var(--sans); font-size: clamp(12px, 1vw, 14px); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone);
  opacity: .84; transition: opacity .6s var(--ease);
}

/* Hover (só apontador fino, desktop): painel ativo expande e clareia,
   os demais recuam e escurecem — efeito de políptico de galeria */
@media (hover: hover) and (min-width: 861px) {
  .espeJ__strip:hover .espeJ__panel      { flex-grow: .72; }
  .espeJ__strip:hover .espeJ__panel:hover { flex-grow: 2; }
  .espeJ__strip:hover .espeJ__img        { filter: saturate(.82) brightness(.72); }
  .espeJ__panel:hover .espeJ__img        { filter: saturate(1.06) brightness(1.04); }
  .espeJ__panel:hover .espeJ__num        { opacity: 1; }
  .espeJ__panel:hover .espeJ__rule       { width: 56px; opacity: 1; }
  .espeJ__panel:hover .espeJ__label      { opacity: 1; }
}

/* Mobile: nada de 6 tiras finas — swipe horizontal com scroll-snap.
   O overflow fica no .espeJ__strip (não no body) */
@media (max-width: 860px) {
  .espeJ__strip {
    height: clamp(380px, 62svh, 560px);
    gap: 0; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .espeJ__strip::-webkit-scrollbar { display: none; }
  .espeJ__panel { flex: 0 0 74vw; scroll-snap-align: center; }
  .espeJ__panel + .espeJ__panel { border-left: 2px solid var(--teal-deeper); }
  .espeJ__img { filter: none; }
  .espeJ__num, .espeJ__label { opacity: 1; }
  .espeJ__rule { width: 40px; opacity: 1; }
}