/* ═══════════════════════════════════════════════════════════════
   ANA CAROLINA SERRANO — BIOMEDICINA ESTÉTICA
   Tokens derivados do manual de identidade da marca (2026)
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ── Paleta oficial da marca ── */
  --off-white:    #F9F1E8;
  --verde:        #CBCBB0;
  --azul:         #A8BFB6;
  /* --petroleo* trocado a pedido da Carol pelo tom Oliva #2 da própria
     paleta da marca — os nomes das variáveis ficaram, só as cores mudaram. */
  --petroleo:     #666025;
  --oliva:        #666025;
  --ocre:         #C6A769;

  /* ── Derivadas (superfícies e estados) ── */
  --off-white-2:  #F3E9DD;   /* superfície levemente rebaixada */
  --off-white-3:  #EFE3D5;   /* cards sobre off-white */
  --petroleo-dk:  #544F1C;   /* fundo mais profundo — mesma relação tonal do antigo petróleo */
  --petroleo-lt:  #7E7731;   /* bordas e hover sobre o fundo escuro */
  --ocre-lt:      #D8BF8C;   /* hover do ocre */
  --marrom:       #412A1B;   /* texto de corpo — do manual */

  /* ── Texto ── */
  --ink:          #2E2116;   /* texto principal sobre claro */
  --ink-soft:     #6B5B4C;   /* texto secundário sobre claro */
  --ink-faint:    #9A8B7C;   /* legendas, metadados */
  --on-dark:      #F4EDE4;   /* texto principal sobre petróleo */
  --on-dark-soft: #E3DCC9;   /* texto secundário sobre o fundo escuro — bege quente, harmoniza com o oliva */

  /* ── Traços ── */
  --rule:         rgba(65, 42, 27, 0.14);
  --rule-soft:    rgba(65, 42, 27, 0.08);
  --rule-dark:    rgba(244, 237, 228, 0.16);
  --rule-gold:    rgba(198, 167, 105, 0.45);

  /* ── Tipografia ── */
  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --sans:  'Quicksand', 'Segoe UI', system-ui, sans-serif;

  /* Escala fluida — títulos respiram entre 390px e 1440px */
  --t-hero:  clamp(2.6rem, 1.55rem + 3.5vw, 4.4rem);
  --t-h2:    clamp(2.05rem, 1.35rem + 2.6vw, 3.5rem);
  --t-h3:    clamp(1.45rem, 1.12rem + 1.4vw, 2.1rem);
  --t-h4:    clamp(1.13rem, 1.02rem + 0.45vw, 1.4rem);
  --t-lead:  clamp(1.02rem, 0.95rem + 0.34vw, 1.24rem);
  --t-body:  clamp(0.95rem, 0.92rem + 0.16vw, 1.03rem);
  --t-small: 0.875rem;
  --t-label: 0.7rem;

  /* ── Ritmo vertical (grid de 4px) ── */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 20px;  --s-6: 24px;  --s-8: 32px;  --s-10: 40px;
  --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;
  --s-32: 128px;
  --section-y: clamp(72px, 9vw, 152px);

  /* ── Layout ── */
  --wrap:      1240px;
  --wrap-text: 760px;
  --gutter:    clamp(20px, 5vw, 64px);

  /* ── Formas ── */
  --arco:       220px 220px 10px 10px;  /* o arco do monograma */
  --arco-suave: 999px 999px 6px 6px;
  --radius:     4px;

  /* ── Movimento — contido, conforme disciplina do design system ── */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --fast: 180ms;
  --med:  320ms;

  /* Altura da barra de aviso — cabeçalho e hero somam esse valor ao
     próprio recuo, então some/aparece sem recalcular nada em JS. */
  --promo-h: 42px;
}

@media (max-width: 640px) {
  :root { --promo-h: 58px; }
}

/* ═══════════════ RESET ═══════════════ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(88px + var(--promo-h));
  /* clip, não hidden: hidden no body o transforma em contêiner de rolagem
     e quebra window.scrollY, position:fixed e o IntersectionObserver. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--off-white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* height:auto é obrigatório — sem ele o atributo height="" do HTML vence
   quando a largura vem do CSS, e a imagem estica. */
img, picture, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--ocre); color: #fff; }

:focus-visible {
  outline: 2px solid var(--ocre);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Grão de filme — quebra a perfeição digital, dá textura de papel */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ═══════════════ PRIMITIVAS TIPOGRÁFICAS ═══════════════ */

.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 0.98;          /* entrelinha < 1 — o gesto editorial das refs premium */
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  font-weight: 300;
}

h1.display { font-size: var(--t-hero); }
h2.display { font-size: var(--t-h2); }
h3.display { font-size: var(--t-h3); line-height: 1.12; letter-spacing: -0.01em; }

/* Olho / label de seção — ecoa o "BIOMEDICINA ESTÉTICA" do logo */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ocre);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  flex: none;
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.72;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 56ch;
}
.on-dark .lead { color: var(--on-dark-soft); }

/* Fio dourado com ponto na ponta — assinatura tirada do logo */
.rule-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: var(--s-8) 0;
}
.rule-dot::before {
  content: '';
  height: 1px;
  flex: 1;
  background: var(--rule-gold);
}
.rule-dot::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ocre);
  flex: none;
}

/* ═══════════════ LAYOUT ═══════════════ */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }

.section--tint  { background: var(--off-white-2); }
.section--dark  { background: var(--petroleo); color: var(--on-dark); }
.section--dark .display { color: var(--on-dark); }

.section-head { max-width: var(--wrap-text); margin-bottom: var(--s-16); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head .display + .lead { margin-top: var(--s-6); }

/* Textura de monograma — presente, quase imperceptível */
.pattern-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/brand/pattern-oliva.png');
  background-size: 200px auto;
  opacity: 0.035;
  pointer-events: none;
}
.section--dark.pattern-bg::before {
  background-image: url('../assets/brand/pattern-offwhite.png');
  opacity: 0.045;
}
.pattern-bg > * { position: relative; z-index: 1; }

/* ═══════════════ BOTÕES ═══════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  font-family: var(--sans);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 19px 34px;
  border-radius: var(--radius);
  transition: background var(--fast) var(--ease),
              color var(--fast) var(--ease),
              border-color var(--fast) var(--ease),
              transform var(--fast) var(--ease);
  text-align: center;
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
  background: var(--ocre);
  color: #FFF9EF;
}
.btn--primary:hover { background: #B8975A; transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  border: 1px solid var(--rule-gold);
  color: var(--ocre);
}
.btn--outline:hover { background: var(--ocre); color: #FFF9EF; border-color: var(--ocre); }

.btn--on-dark {
  border: 1px solid var(--rule-dark);
  color: var(--on-dark);
}
.btn--on-dark:hover { background: var(--ocre); border-color: var(--ocre); color: #FFF9EF; }

.btn--wide { width: 100%; }

/* ═══════════════ CABEÇALHO ═══════════════ */

/* ═══════════════ BARRA DE AVISO — GRUPO VIP ═══════════════ */

.promo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  height: var(--promo-h);
  overflow: hidden;
  background: var(--petroleo-dk);
  border-bottom: 1px solid var(--rule-gold);
  transition: height var(--med) var(--ease), opacity var(--med) var(--ease),
              border-color var(--med) var(--ease);
}
.promo-bar.is-closing { height: 0; opacity: 0; border-bottom-color: transparent; }

.promo-bar__inner {
  height: var(--promo-h);
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
}

.promo-bar__link {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-width: 0;
  color: var(--on-dark);
  transition: opacity var(--fast) var(--ease);
}
.promo-bar__link:hover { opacity: 0.85; }

.promo-bar__badge {
  position: relative;
  width: 25px; height: 25px;
  border-radius: 50%;
  background: rgba(244, 237, 228, 0.1);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--ocre);
}
.promo-bar__badge svg { width: 13px; height: 13px; }
.promo-bar__dot {
  position: absolute;
  top: -1px; right: -1px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3DCB6C;
  border: 1.5px solid var(--petroleo-dk);
  animation: promo-pulse 2.2s ease infinite;
}
@keyframes promo-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}

.promo-bar__text {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--on-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.promo-bar__text strong {
  font-weight: 700;
  color: var(--ocre);
  letter-spacing: 0.01em;
}
.promo-bar__long { color: var(--on-dark-soft); font-weight: 400; }

.promo-bar__cta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: none;
  background: var(--ocre);
  color: #FFF9EF;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  transition: background var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.promo-bar__cta svg { width: 11px; height: 11px; }
.promo-bar__link:hover .promo-bar__cta { background: var(--ocre-lt); transform: translateX(1px); }

.promo-bar__close {
  flex: none;
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  color: var(--on-dark-soft);
  border-radius: 50%;
  transition: color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.promo-bar__close:hover { color: var(--on-dark); background: rgba(244, 237, 228, 0.12); }
.promo-bar__close svg { width: 12px; height: 12px; }

@media (max-width: 640px) {
  .promo-bar__long { display: none; }
  .promo-bar__text { font-size: 0.78rem; }
  .promo-bar__inner { gap: var(--s-3); }
}

@media (max-width: 360px) {
  .promo-bar__badge { display: none; }
}

/* ═══════════════ CABEÇALHO ═══════════════ */

.header {
  position: fixed;
  top: var(--promo-h);
  left: 0; right: 0;
  z-index: 100;
  padding-block: var(--s-5);
  transition: background var(--med) var(--ease),
              padding var(--med) var(--ease),
              box-shadow var(--med) var(--ease),
              top var(--med) var(--ease);
}
.header.is-stuck {
  background: rgba(249, 241, 232, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: var(--s-3);
  box-shadow: 0 1px 0 var(--rule-soft);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 40px);
}
@media (min-width: 901px) {
  .nav { flex: 1 1 auto; justify-content: flex-end; }
}

/* Assinatura horizontal — o lockup empilhado do manual fica ilegível
   em 50px de altura, então no cabeçalho o nome é texto real em Cormorant. */
.brand { display: flex; align-items: center; gap: var(--s-4); flex: none; }
.brand__mark {
  height: 46px;
  width: auto;
  transition: height var(--med) var(--ease);
}
.header.is-stuck .brand__mark { height: 38px; }

.brand__text { display: block; }
.brand__name {
  display: block;
  font-family: var(--serif);
  font-size: 1.14rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--petroleo);
  white-space: nowrap;
}
.brand__sub {
  display: block;
  margin-top: 4px;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}
.footer .brand__name { color: var(--on-dark); }
.footer .brand__sub  { color: var(--on-dark-soft); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.9vw, 30px);
}
.nav a {
  font-size: var(--t-small);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  position: relative;
  padding-block: 4px;
  white-space: nowrap;
  transition: color var(--fast) var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ocre);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--med) var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header .btn { padding: 14px 22px; font-size: 0.74rem; white-space: nowrap; flex: none; }

/* Entre 900 e 1200px o nome por extenso não cabe ao lado do menu —
   fica só o monograma, que já identifica a marca. */
@media (min-width: 901px) and (max-width: 1200px) {
  .brand__text { display: none; }
}

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform var(--med) var(--ease), opacity var(--fast) var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ═══════════════ HERO ═══════════════ */

.hero {
  position: relative;
  padding-top: calc(clamp(130px, 17vw, 190px) + var(--promo-h));
  padding-bottom: var(--section-y);
  overflow: hidden;
  isolation: isolate;
  transition: padding-top var(--med) var(--ease);
  /* Três lavagens de cor da própria paleta da marca, não um bloco liso —
     ocre no canto superior, azul e verde ancorando a base. */
  background-color: var(--off-white);
  background-image:
    radial-gradient(ellipse 58% 50% at 88% -8%,  rgba(198,167,105,0.22) 0%, transparent 68%),
    radial-gradient(ellipse 50% 46% at -6% 106%, rgba(168,191,182,0.38) 0%, transparent 66%),
    radial-gradient(ellipse 46% 42% at 104% 108%, rgba(203,203,176,0.34) 0%, transparent 62%);
}
/* Textura do monograma, quase imperceptível — o mesmo recurso usado
   no resto do site, para o hero não ficar "sozinho" visualmente. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/brand/pattern-oliva.png');
  background-size: 240px auto;
  opacity: 0.05;
  pointer-events: none;
}
/* Arco de linha fina, ecoando o monograma, atrás do título */
.hero::after {
  content: '';
  position: absolute;
  top: -8%; left: clamp(-140px, -8vw, -60px);
  width: clamp(320px, 34vw, 520px);
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(102, 96, 37,0.09);
  border-radius: var(--arco);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 88px);
  /* start, não center: com o título em 5 linhas a coluna de texto ficou
     mais alta, e centralizar empurrava a foto (mais curta) pra baixo. */
  align-items: start;
}
.hero__figure { margin-top: 6px; }

.hero__title { margin-bottom: var(--s-6); }
.hero__lead { margin-bottom: var(--s-10); }
.hero__lead strong { color: var(--ink); font-weight: 600; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-bottom: var(--s-12);
}

.seals {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-6) var(--s-10);
  padding-top: var(--s-8);
  border-top: 1px solid var(--rule-soft);
}
.seal {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  max-width: 210px;
}
.seal svg {
  width: 22px; height: 22px;
  color: var(--ocre);
  flex: none;
}
.seal span {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.seal b {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 2px;
}

/* Retrato em arco — a forma vem direto do monograma */
.hero__figure { position: relative; }
.arch {
  position: relative;
  border-radius: var(--arco);
  overflow: hidden;
  background: var(--off-white-3);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

.hero__figure .arch { box-shadow: 0 30px 70px -30px rgba(102, 96, 37, 0.42); }

/* ═══════════════ MÉTODO ASK ═══════════════ */

.ask__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: var(--s-16);
}

.pillar { position: relative; padding-top: var(--s-8); }
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 1px;
  background: var(--ocre);
}
.pillar__letter {
  font-family: var(--serif);
  font-size: clamp(3.6rem, 5.5vw, 5.4rem);
  font-weight: 300;
  line-height: 0.9;
  color: var(--ocre);
  margin-bottom: var(--s-4);
}
.pillar h3 { margin-bottom: var(--s-3); }
.pillar p { color: var(--ink-soft); font-size: var(--t-body); }

.pull-quote {
  margin-top: var(--s-24);
  text-align: center;
  max-width: 880px;
  margin-inline: auto;
}
.pull-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.05rem + 1.95vw, 2.6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--petroleo);
  text-wrap: balance;
}
.pull-quote cite {
  display: block;
  margin-top: var(--s-6);
  font-family: var(--sans);
  font-style: normal;
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ═══════════════ PROTOCOLOS ═══════════════ */

.protocolos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}

.protocolo {
  background: var(--off-white);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--med) var(--ease),
              transform var(--med) var(--ease),
              box-shadow var(--med) var(--ease);
}
.protocolo:hover {
  border-color: var(--rule-gold);
  transform: translateY(-5px);
  box-shadow: 0 22px 44px -26px rgba(102, 96, 37, 0.3);
}

.protocolo__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--off-white-3);
}
.protocolo__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.protocolo:hover .protocolo__media img { transform: scale(1.045); }

.protocolo__body {
  padding: var(--s-8) var(--s-8) var(--s-10);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.protocolo__body > h3 { margin-bottom: var(--s-5); }

.protocolo__list { display: flex; flex-direction: column; gap: var(--s-5); }
.protocolo__list li { padding-left: var(--s-5); position: relative; }
.protocolo__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ocre);
}
.protocolo__list b {
  display: block;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
  letter-spacing: 0.005em;
}
.protocolo__list span {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.protocolos__cta { margin-top: var(--s-16); text-align: center; }

/* ═══════════════ AUTORIDADE ═══════════════ */

.autoridade__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
}
.autoridade__figure { position: relative; }
.autoridade__figure .arch { box-shadow: 0 30px 70px -34px rgba(102, 96, 37, 0.45); }
.autoridade__figure::after {    /* moldura em arco espelhada em relação à do hero */
  content: '';
  position: absolute;
  inset: 22px 22px -22px -22px;
  border: 1px solid var(--rule-gold);
  border-radius: var(--arco);
  z-index: -1;
}

.credenciais {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  margin-top: var(--s-10);
}
.credencial {
  display: flex;
  gap: var(--s-5);
  align-items: flex-start;
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--rule-soft);
}
.credencial:last-child { border-bottom: 0; padding-bottom: 0; }
.credencial svg { width: 24px; height: 24px; color: var(--ocre); flex: none; margin-top: 2px; }
.credencial b {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
  letter-spacing: 0.005em;
}
.credencial span { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; }

/* ═══════════════ ECOSSISTEMA (bloco escuro) ═══════════════ */

.eco__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin-top: var(--s-16);
}

.eco-card {
  background: rgba(244, 237, 228, 0.045);
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--med) var(--ease), background var(--med) var(--ease);
}
.eco-card:hover {
  border-color: var(--rule-gold);
  background: rgba(198, 167, 105, 0.06);
}

.eco-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.eco-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
  transition: transform 600ms var(--ease);
}
.eco-card:hover .eco-card__media img { transform: scale(1.04); }
.eco-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(84, 79, 28, 0.78), transparent 62%);
}

.eco-card__body {
  padding: var(--s-10);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.eco-card__kicker {
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ocre);
  margin-bottom: var(--s-4);
}
.eco-card__body h3 { color: var(--on-dark); margin-bottom: var(--s-5); }
.eco-card__body p {
  color: var(--on-dark-soft);
  font-size: 0.94rem;
  line-height: 1.72;
  margin-bottom: var(--s-8);
  flex: 1;
}

/* ═══════════════ EXPERIÊNCIA NA CLÍNICA ═══════════════ */

.clinica__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-10);
  align-items: end;
  margin-bottom: var(--s-12);
}

.carousel {
  display: flex;
  gap: var(--s-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: var(--s-6);
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }

.carousel figure {
  flex: 0 0 clamp(240px, 27vw, 340px);
  scroll-snap-align: start;
}
.carousel .arch {
  aspect-ratio: 4 / 5;
  margin-bottom: var(--s-4);
}
.carousel figcaption {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
}

.carousel-nav { display: flex; gap: var(--s-3); }
.carousel-nav button {
  width: 48px; height: 48px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: all var(--fast) var(--ease);
}
.carousel-nav button:hover {
  border-color: var(--ocre);
  background: var(--ocre);
  color: #FFF9EF;
}
.carousel-nav svg { width: 17px; height: 17px; }

.clinica__pontos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin-top: var(--s-16);
  padding-top: var(--s-12);
  border-top: 1px solid var(--rule-soft);
}
.ponto { display: flex; gap: var(--s-4); align-items: flex-start; }
.ponto svg { width: 26px; height: 26px; color: var(--ocre); flex: none; }
.ponto b { display: block; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.ponto span { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; }

/* ═══════════════ DEPOIMENTOS ═══════════════ */

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: clamp(28px, 3.4vw, 40px) clamp(20px, 2.6vw, 32px);
}

.review {
  position: relative;
  isolation: isolate;
}

/* A camada de trás — uma segunda folha levemente girada,
   sugerindo uma pilha de avaliações reais. */
.review::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--off-white-3);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  transform: rotate(-2.4deg) translateY(2px);
  z-index: -1;
  transition: transform var(--med) var(--ease);
}
.review:hover::before { transform: rotate(-3.6deg) translateY(4px); }

.review {
  background: var(--off-white);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius);
  padding: var(--s-2);
  box-shadow: 0 16px 32px -22px rgba(44, 74, 87, 0.28);
  transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease);
}
.review:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -20px rgba(44, 74, 87, 0.32);
}
.review img {
  border-radius: 2px;
  width: 100%;
  height: auto;
}

/* ═══════════════ FAQ ═══════════════ */

.faq { max-width: 900px; margin-inline: auto; }

.faq__item { border-bottom: 1px solid var(--rule-soft); }
.faq__item:first-child { border-top: 1px solid var(--rule-soft); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  padding: var(--s-8) 0;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1rem + 0.5vw, 1.42rem);
  font-weight: 500;
  line-height: 1.34;
  color: var(--ink);
  transition: color var(--fast) var(--ease);
}
.faq__q:hover { color: var(--ocre); }

.faq__icon {
  width: 34px; height: 34px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  flex: none;
  position: relative;
  transition: border-color var(--fast) var(--ease), transform var(--med) var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  background: var(--ocre);
}
.faq__icon::before { width: 12px; height: 1px; }
.faq__icon::after  { width: 1px; height: 12px; transition: opacity var(--fast) var(--ease); }

.faq__item.is-open .faq__icon { border-color: var(--ocre); transform: rotate(180deg); }
.faq__item.is-open .faq__icon::after { opacity: 0; }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--med) var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding-bottom: var(--s-8);
  padding-right: clamp(0px, 6vw, 72px);
  color: var(--ink-soft);
  line-height: 1.75;
}

/* ═══════════════ CTA FINAL + RODAPÉ ═══════════════ */

.cta-final { text-align: center; }
.cta-final .display { margin-bottom: var(--s-6); }
.cta-final .lead { margin-inline: auto; margin-bottom: var(--s-10); }
.cta-final__mono {
  width: 62px;
  margin: 0 auto var(--s-8);
  opacity: 0.9;
}

.footer {
  background: var(--petroleo-dk);
  color: var(--on-dark);
  padding-block: var(--s-20) var(--s-10);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: var(--s-16);
  border-bottom: 1px solid var(--rule-dark);
}
.footer__logo { width: 230px; margin-bottom: var(--s-6); }
.footer__grid p, .footer__grid li { color: var(--on-dark-soft); font-size: 0.9rem; line-height: 1.8; }
.footer h4 {
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ocre);
  margin-bottom: var(--s-5);
}
.footer__grid a { transition: color var(--fast) var(--ease); }
.footer__grid a:hover { color: var(--ocre); }

.footer__social { display: flex; gap: var(--s-3); margin-top: var(--s-6); }
.footer__social a {
  width: 42px; height: 42px;
  border: 1px solid var(--rule-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all var(--fast) var(--ease);
}
.footer__social a:hover { border-color: var(--ocre); background: var(--ocre); color: var(--petroleo-dk); }
.footer__social svg { width: 18px; height: 18px; }

.footer__base {
  padding-top: var(--s-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-8);
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(169, 190, 199, 0.72);
  letter-spacing: 0.02em;
}

/* ═══════════════ CTA FIXO NO MOBILE ═══════════════ */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: var(--s-3) var(--s-4) calc(var(--s-3) + env(safe-area-inset-bottom));
  background: rgba(249, 241, 232, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--rule-soft);
  display: none;
  transform: translateY(110%);
  transition: transform var(--med) var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }

/* ═══════════════ REVELAÇÃO NO SCROLL ═══════════════ */

/* Escopado em .js: sem JavaScript o conteúdo aparece normalmente,
   em vez de ficar preso em opacity 0. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 90ms; }
.js .reveal[data-delay="2"] { transition-delay: 180ms; }
.js .reveal[data-delay="3"] { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ═══════════════ RESPONSIVO ═══════════════ */

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr 0.85fr; }
  .autoridade__grid { grid-template-columns: 1fr 1fr; }
  .protocolos__grid { grid-template-columns: 1fr; }
  .clinica__pontos { grid-template-columns: 1fr; gap: var(--s-8); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav, .header .btn { display: none; }
  .burger { display: flex; }

  .header.is-nav-open {
    background: var(--off-white);
    box-shadow: 0 1px 0 var(--rule-soft);
  }
  .nav.is-open {
    display: flex;
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--off-white);
    padding: var(--s-4) var(--gutter) var(--s-10);
    border-top: 1px solid var(--rule-soft);
    box-shadow: 0 20px 40px -24px rgba(102, 96, 37, 0.35);
  }
  .nav.is-open a {
    padding-block: var(--s-5);
    border-bottom: 1px solid var(--rule-soft);
    font-size: 1rem;
  }
  .nav.is-open a::after { display: none; }

  .hero { padding-top: calc(108px + var(--promo-h)); }
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-10); }
  /* No desktop a foto ao lado do texto já dá o respiro visual; empilhado,
     o texto sozinho no topo fica chapado — a foto sobe pra abrir a dobra. */
  .hero__figure { order: -1; max-width: 480px; margin-inline: auto; width: 100%; }
  .hero::after { display: none; }

  .ask__grid { grid-template-columns: 1fr; gap: var(--s-12); }
  .autoridade__grid { grid-template-columns: 1fr; gap: var(--s-16); }
  .autoridade__figure { max-width: 420px; margin-inline: auto; width: 100%; }
  .eco__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .clinica__top { grid-template-columns: 1fr; align-items: start; }
  .carousel-nav { display: none; }

  .sticky-cta { display: block; }
  body { padding-bottom: 0; }
}

@media (max-width: 560px) {
  .hero__actions .btn { width: 100%; }
  .seals { gap: var(--s-5); }
  .seal { max-width: none; width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; }
  /* Só no mobile: logo e texto de identidade centralizados — no desktop
     o alinhamento à esquerda já funciona bem ao lado das outras colunas. */
  .footer__identity { text-align: center; }
  .footer__identity .footer__logo { margin-inline: auto; }
  .footer__identity .footer__social { justify-content: center; }
  .protocolo__body { padding: var(--s-6) var(--s-6) var(--s-8); }
  .eco-card__body { padding: var(--s-8) var(--s-6); }
}
