/* ==========================================================================
   Dra. Gabrielle Mendonça · Home
   Identidade derivada das três versões da logo (branca, cinza e rosa antigo).
   Sumário:
   1. Tokens          6. Serviços         11. FAQ
   2. Base            7. Apresentação     12. Contato
   3. Utilitários     8. Método GM        13. Rodapé
   4. Componentes     9. Tecnologias      14. Animações
   5. Cabeçalho/Hero 10. Prova social, Clínica, Localização
   ========================================================================== */

/* 1. TOKENS ================================================================ */
:root {
  /* Paleta de referência (extraída das logos) */
  --taupe: #7C7770;          /* títulos grandes, elementos institucionais */
  --rose-soft: #C1A8A8;      /* detalhes, linhas */
  --rose-light: #DDBFBF;     /* superfícies e destaques */
  --graphite: #666362;       /* áreas de contraste */
  --rose-deep: #897574;      /* interação */
  --white: #FFFFFF;

  /* Derivados (ajustados para contraste AA) */
  --paper: #FBF8F6;          /* fundo base, branco quente */
  --blush: #F4ECEA;          /* superfície secundária */
  --blush-2: #EFE3E1;
  --ink: #4A4643;            /* texto corrido (≈ 8.9:1 sobre --paper) */
  --ink-soft: #5F5A57;       /* texto secundário (≈ 6.5:1) */
  --btn: #6E6963;            /* fundo dos botões (≈ 5.4:1 com branco) */
  --rose-ink: #7A6766;       /* rosa fechado legível (≈ 5.3:1 com branco) */
  --night: #3F3B39;          /* rodapé */
  --line: rgba(124, 119, 112, .22);
  --line-strong: rgba(124, 119, 112, .45);

  /* Tipografia */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Ritmo */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1320px;
  --section: clamp(4.5rem, 9vw, 8rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 84px;
}

/* 2. BASE ================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.08; color: var(--taupe); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
em { font-style: italic; }
figure { margin: 0; }

:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 3px;
}

::selection { background: var(--rose-light); color: var(--night); }

/* 3. UTILITÁRIOS =========================================================== */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.nowrap { white-space: nowrap; }

.skip-link {
  position: fixed; top: .75rem; left: .75rem; z-index: 200;
  padding: .75rem 1.1rem;
  background: var(--night); color: var(--white);
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .85rem;
  margin-bottom: 1.4rem;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--rose-ink);
}
.eyebrow::before {
  content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: .6;
}
.eyebrow--light { color: var(--rose-light); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.35rem, 1.6rem + 3.2vw, 4.4rem);
  letter-spacing: -.01em;
  line-height: 1.04;
}

.section-lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  color: var(--ink-soft);
  font-weight: 300;
}

.section-head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head .section-title { max-width: 16ch; }
.section-head .section-lead { margin-top: 1.5rem; }

/* Cabeçalho de seção em duas colunas (título à esquerda, apoio à direita) */
@media (min-width: 900px) {
  .section-head--split {
    display: grid;
    grid-template-columns: 1fr minmax(0, 26rem);
    column-gap: 4rem;
    align-items: end;
  }
  .section-head--split .eyebrow { grid-column: 1 / -1; justify-self: start; }
  .section-head--split .section-lead { margin-top: 0; padding-bottom: .5rem; }
}

/* 4. COMPONENTES =========================================================== */

/* Botões: preenchimento deslizante + seta que avança */
.btn {
  /* CTA no rosa da logo (#C1A8A8) com texto branco (pedido da cliente; peso 600 para ajudar a leitura).
     Hover: rosa fechado. */
  --bg: var(--rose-soft); --fg: var(--white); --fill: var(--rose-deep); --bd: var(--rose-soft);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  min-height: 3.4rem;
  padding: .95rem 1.75rem;
  border: 1px solid var(--bd);
  border-radius: 2px;
  background: var(--bg); color: var(--fg);
  font: 600 .8rem/1.2 var(--sans);
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--fill);
  transform: scaleX(0); transform-origin: right;
  transition: transform .55s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
/* botão do cabeçalho: fica sobre a foto do hero no topo, então ganha contorno claro e sombra leve */
.header-cta { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 10px 24px -12px rgba(63, 59, 57, .5) !important; }
.btn__icon {
  width: 1.1rem; height: 1.1rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .45s var(--ease-out);
}
.btn:hover .btn__icon { transform: translateX(4px); }

.btn--outline { --bg: transparent; --fg: var(--ink); --fill: var(--btn); --bd: var(--line-strong); }
.btn--outline:hover, .btn--outline:focus-visible { --fg: var(--white); --bd: var(--btn); }

.btn--light { --bg: var(--white); --fg: var(--night); --fill: var(--rose-light); --bd: var(--white); }
.btn--light:hover, .btn--light:focus-visible { --bd: var(--rose-light); }

.btn--sm { min-height: 2.75rem; padding: .7rem 1.25rem; font-size: .72rem; }
.btn--block { width: 100%; }

/* BOTÕES ROSA "PÉROLA" (todos os CTAs rosa: .btn--primary e o "Saiba mais" dos cards).
   Sempre rosé, sem escurecer. Efeito visível mesmo sem mouse:
   degradê acetinado, filete de luz no alto, sombra macia e um reflexo que atravessa
   o botão devagar a cada ~7s (com atrasos diferentes para não piscarem juntos).
   Mouse: sobe 2px, a sombra se abre e passa um reflexo mais forte. */
.btn--primary, .service__more {
  --fg: var(--white); --bd: transparent;
  background: linear-gradient(135deg, #D2BCBB 0%, #C1A8A8 48%, #AE9493 100%);
  color: var(--white);
  text-shadow: 0 1px 1px rgba(90, 70, 70, .28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .5),
    inset 0 0 0 1px rgba(255, 255, 255, .16),
    0 12px 26px -16px rgba(122, 103, 102, .75);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
/* reflexo lento em repouso */
.btn--primary::before, .service__more::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .38) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: none;
  animation: pearl-sheen 7s var(--ease) var(--sheen-delay, 2s) infinite;
}
@keyframes pearl-sheen {
  0%, 72% { transform: translateX(-130%); }
  100%    { transform: translateX(130%); }
}
/* reflexo forte no mouse */
.btn--primary::after, .service__more::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .9s var(--ease-out);
}
.btn--primary:hover, .btn--primary:focus-visible,
.service__link:hover .service__more, .service__link:focus-visible .service__more {
  --fg: var(--white); --bd: transparent;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .65),
    inset 0 0 0 1px rgba(255, 255, 255, .35),
    0 18px 34px -16px rgba(122, 103, 102, .85);
}
.btn--primary:hover::before, .btn--primary:focus-visible::before { transform: translateX(-130%); }
.btn--primary:hover::after, .btn--primary:focus-visible::after,
.service__link:hover .service__more::after, .service__link:focus-visible .service__more::after { transform: translateX(130%); }
.btn--primary:active { transform: translateY(0); }
/* atrasos variados: botões visíveis ao mesmo tempo não brilham juntos */
.service:nth-child(2) .service__more { --sheen-delay: 3.4s; }
.service:nth-child(3) .service__more { --sheen-delay: 4.6s; }
.service:nth-child(4) .service__more { --sheen-delay: 5.8s; }
.service:nth-child(5) .service__more { --sheen-delay: 1.2s; }
.service:nth-child(6) .service__more { --sheen-delay: 2.8s; }
.extra:nth-child(2) .btn--primary, .tech-item:nth-child(2) .btn--primary { --sheen-delay: 4.2s; }
.tech-item:nth-child(3) .btn--primary { --sheen-delay: 6s; }
.header-cta { --sheen-delay: 5s; }


/* Link com seta e sublinhado animado */
.link-arrow {
  position: relative;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .55rem 0;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--rose-ink);
}
.link-arrow::after {
  content: "";
  width: 1.6rem; height: 1px; background: currentColor;
  transition: width .5s var(--ease-out);
}
.link-arrow:hover::after, .link-arrow:focus-visible::after { width: 3rem; }

.icon-btn {
  display: grid; place-items: center;
  width: 3.25rem; height: 3.25rem;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: transparent; color: var(--ink);
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.icon-btn svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover:not(:disabled) { background: var(--btn); border-color: var(--btn); color: var(--white); }
.icon-btn:disabled { opacity: .35; cursor: default; }

/* PLACEHOLDERS DE IMAGEM
   Enquanto não houver <img> dentro do <figure class="media">, exibe a etiqueta do data-placeholder.
   Ao inserir a foto real, a etiqueta e o padrão somem automaticamente. */
.media {
  position: relative;
  overflow: hidden;
  background: var(--blush);
}
.media > img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.media:not(:has(img, picture, video)) {
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(193, 168, 168, .14) 22px 23px),
    linear-gradient(160deg, var(--blush) 0%, var(--blush-2) 100%);
}
.media:not(:has(img, picture, video))::after {
  content: attr(data-placeholder);
  position: absolute; left: 1rem; bottom: 1rem;
  padding: .45rem .7rem;
  background: rgba(255, 255, 255, .78);
  font: 600 .64rem/1.3 var(--sans);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--rose-ink);
}

/* 5. CABEÇALHO ============================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.site-header.is-scrolled {
  background: var(--paper);   /* opaco: a logo (fundo branco + multiply) não forma retângulo sobre seções escuras */
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  height: 100%;
  display: flex; align-items: center; gap: 2rem;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { height: 44px; width: auto; }
/* O PNG tem fundo branco opaco: multiply faz o branco assumir a cor do fundo sem alterar a arte.
   O fundo do link dá ao multiply uma base dentro da camada do cabeçalho fixo. */
.site-header .brand { background: var(--paper); isolation: isolate; }
.brand__logo { height: 66px !important; transition: height .5s var(--ease); }   /* PNG com fundo transparente */
.site-header.is-scrolled .brand__logo { height: 58px !important; }
@media (max-width: 960px) {
  .brand__logo, .site-header.is-scrolled .brand__logo { height: 56px !important; }
}

/* Logo no rodapé escuro: inverte a luminosidade mantendo os tons (hue-rotate)
   e "screen" faz o fundo, que vira preto, desaparecer sobre o fundo do rodapé */
.brand__logo-footer {
  height: 104px !important; width: auto;
  filter: invert(1) hue-rotate(180deg);
  mix-blend-mode: screen;
}

.main-nav ul { display: flex; gap: 2.1rem; }
.main-nav a:not(.btn) {
  position: relative;
  font-size: .92rem; font-weight: 500; letter-spacing: .04em;
  text-decoration: none; color: var(--ink);
  padding-block: .4rem;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--rose-deep);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.main-nav a:not(.btn):hover::after,
.main-nav a:not(.btn):focus-visible::after,
.main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.main-nav__cta-mobile { display: none; }
/* desktop: menu e botão logo após a logo (à esquerda), deixando a área sobre a foto da médica livre */
@media (min-width: 961px) {
  .header-inner { gap: clamp(1.5rem, 2.5vw, 2.5rem); }
  .site-header .brand { margin-left: clamp(2rem, 4.5vw, 5rem); margin-right: clamp(3rem, 3.4vw, 3.75rem); transform: translateX(clamp(1rem, 2.2vw, 2.25rem)); }   /* logo mais para a direita; o transform move só a logo, sem mexer no menu e nos botões */
  .header-cta { margin-right: auto; }
  /* botão de música no canto direito: fica sobre o fundo da foto, sem cobrir o rosto da médica */
}

.menu-toggle {
  display: none;
  position: relative;
  width: 3rem; height: 3rem;
  margin-right: -.6rem;
  border: 0; background: transparent; cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before {
  position: absolute; left: .8rem; right: .8rem;
  height: 1px; background: var(--ink);
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.menu-toggle__bars { top: 1.3rem; }
.menu-toggle__bars::before { content: ""; left: 0; right: 0; top: .45rem; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { top: 1.5rem; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 1080px) {
  .main-nav ul { gap: 1.4rem; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }

  .main-nav {
    position: fixed; inset: var(--header-h) 0 0;
    padding: 2.5rem var(--gutter) 3rem;
    background: var(--paper);
    overflow-y: auto;
    visibility: hidden; opacity: 0;
    transform: translateY(-12px);
    transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s;
  }
  .main-nav.is-open {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity .45s var(--ease), transform .45s var(--ease);
  }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a:not(.btn) {
    display: block; padding: 1.1rem 0;
    font-family: var(--serif); font-size: 1.9rem; letter-spacing: 0; color: var(--taupe);
  }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav__cta-mobile { display: block; border: 0 !important; padding-top: 2rem; }
  .main-nav__cta-mobile .btn { width: 100%; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
}

/* HERO ===================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 1.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

/* Desktop: texto à esquerda, foto em arco à direita (mesmo formato da seção da médica) */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }

.hero-signature {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2rem;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--rose-ink);
}
.hero-signature__line { width: 3rem; height: 1px; background: currentColor; opacity: .6; }

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 1.15rem + 3.1vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  max-width: none;   /* desktop: linhas definidas pelos <br class="br-desktop"> do H1 */
  overflow-wrap: break-word;
}

.hero-subtitle {
  margin-top: 2rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  line-height: 1.3;
  color: var(--taupe);
}
.hero-subtitle em { color: var(--rose-ink); }

.hero-text {
  max-width: 33rem;
  margin-top: 1.25rem;
  font-weight: 300;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.hero-actions .btn { padding-inline: 1.25rem; letter-spacing: .13em; }
/* seta para baixo no botão que leva à seção de tratamentos */
.hero-actions .btn--outline:hover .btn__icon { transform: translateY(3px); }

/* Foto da médica. Base (todas as telas): o fundo de estúdio é estendido com os tons
   amostrados da própria foto, e a foto (4:5) fica encostada à direita.
   No desktop vira o painel editorial da direita (ver @media min-width: 901px). */
.hero-visual { position: relative; }
.media--hero {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, #988C8C 0%, #9A8E8E 18%, #A39797 32%, #ADA2A0 46%, #AD9F9F 60%, #BBACAF 75%, #CBBCBF 89%, #D1C3C3 100%);
}
.media--hero img {
  position: absolute; right: 0; bottom: 0;
  width: auto; height: 100%;
  aspect-ratio: 4 / 5;
  object-position: 50% 100%;  /* pés preservados; o corte sai do fundo vazio acima da cabeça */
}
/* Registro profissional no rodapé do cartão, abaixo dos botões */
.hero-credential {
  margin: 1.75rem 0 0; padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* DESKTOP: foto em painel na metade direita, de cima a baixo do hero, e o texto num
   "cartão de papel" que avança sobre o fundo de estúdio da foto (nunca sobre a médica).
   Cartão: papel bege com grão sutil, sombra curta e contorno rosé deslocado (eco do retrato em arco).
   Entrada: a foto faz um zoom lento de 106% para 100%. */
@media (min-width: 901px) {
  .hero {
    display: flex; align-items: center;
    min-height: min(100vh, 60rem);
    padding-bottom: clamp(3rem, 5vw, 4.5rem);
  }
  .hero-grid { display: block; }

  .hero-visual { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; }
  .media--hero {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%);
    mask-image: linear-gradient(to right, transparent 0, #000 9%);
  }
  .media--hero img {
    --zoom: 1.12;
    transform: scale(var(--zoom));
    transform-origin: 68% 72%;
    transition: transform 2.6s var(--ease-out);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 25%);
    mask-image: linear-gradient(to right, transparent 0, #000 25%);
  }
  .js .media--hero.reveal-mask { clip-path: none; }
  .js .media--hero:not(.is-in) img { transform: scale(calc(var(--zoom) * 1.06)); }

  /* Cartão do texto */
  .hero-copy {
    width: min(46rem, 50vw);   /* nunca alcança a médica, que fica no lado direito da foto */
    padding: clamp(2.25rem, 3.5vw, 3.25rem) clamp(2.25rem, 3.5vw, 3.25rem);
    isolation: isolate;
  }
  .hero-copy::after {   /* papel com grão */
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-color: var(--paper);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.035'/%3E%3C/svg%3E");
    box-shadow: 0 40px 80px -42px rgba(63, 59, 57, .34), 0 12px 30px -18px rgba(63, 59, 57, .16);
  }
  .hero-copy::before {  /* contorno rosé deslocado, visível só para fora do cartão */
    content: ""; position: absolute; inset: 0; z-index: -2;
    border: 1px solid var(--rose-soft);
    transform: translate(16px, 16px);
  }
  .hero-title { font-size: clamp(2.4rem, 1rem + 2.6vw, 3.7rem); }
}

@media (max-width: 900px) {
  /* Mobile/tablet: cartão de papel (textos) que avança sobre o topo da foto,
     depois a foto em largura total, depois botões e CRM.
     .hero-copy vira "transparente" para a grade; cada item tem linha fixa e o cartão
     é desenhado por pseudo-elementos da grade sobre as linhas 1–4 (os textos). */
  .hero-grid { grid-template-columns: 1fr; row-gap: 0; position: relative; align-items: start; }
  .hero-copy { display: contents; }
  .hero-copy > *, .hero-visual { grid-column: 1; }   /* mesma coluna do cartão (sobreposição explícita) */
  .hero-copy > * { margin-bottom: 0; position: relative; z-index: 3; padding-inline: clamp(1.25rem, 5vw, 2rem); }
  .hero-signature { grid-row: 1; padding-top: 1.9rem; margin-bottom: 1.25rem !important; }
  .hero-title     { grid-row: 2; max-width: none; }
  .hero-subtitle  { grid-row: 3; margin-top: 1.25rem; }
  .hero-text      { grid-row: 4; max-width: none; }
  .hero-visual    { grid-row: 6; }
  .hero-actions   { grid-row: 7; padding-inline: 0 !important; }
  /* CRM dentro do cartão, logo abaixo do texto */
  .hero-credential { grid-row: 5; margin: 1.5rem clamp(1.25rem, 5vw, 2rem) 0; padding: 1rem 0 2rem !important; }
  .hero-title .br-desktop { display: none; }   /* mobile: quebra natural */

  /* cartão: papel com grão + sombra curta */
  .hero-grid::before {
    content: ""; grid-row: 1 / 6; grid-column: 1; z-index: 2; align-self: stretch;
    background-color: var(--paper);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.035'/%3E%3C/svg%3E");
    box-shadow: 0 30px 60px -34px rgba(63, 59, 57, .38), 0 10px 24px -16px rgba(63, 59, 57, .18);
  }
  /* contorno rosé deslocado (assinatura do site) */
  .hero-grid::after {
    content: ""; grid-row: 1 / 6; grid-column: 1; z-index: 1; align-self: stretch;
    border: 1px solid var(--rose-soft);
    transform: translate(10px, 10px);
  }

  /* foto de ponta a ponta, puxada para cima: o cartão avança sobre o topo (fundo de estúdio) */
  .hero-visual {
    justify-self: stretch; height: auto; aspect-ratio: 4 / 5; max-height: 95vh;   /* celular: corta parte do fundo vazio acima da cabeça; o cartão ainda avança só sobre o fundo */
    margin: -2.5rem calc(var(--gutter) * -1) 0;
    z-index: 0;
  }
  .media--hero {
    inset: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 9%);
  }
  .media--hero img {
    bottom: 0; width: 100%; height: 100%; -webkit-mask-image: none; mask-image: none;
    transform: scale(1); transform-origin: 50% 92%;
    transition: transform 2.6s var(--ease-out);
  }
  /* entrada: zoom lento, como no desktop */
  .js .media--hero:not(.is-in) img { transform: scale(1.06); }
  .hero-actions { margin-top: 2rem; }
}
/* celular: menos espaço entre o CRM do hero e a seção de tratamentos */
@media (max-width: 700px) {
  .hero { padding-bottom: 1.75rem; }
  .services { padding-top: 2.75rem; }
}
@media (max-width: 560px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-signature { font-size: .68rem; letter-spacing: .2em; }
}

/* 6. SERVIÇOS ============================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service { position: relative; border-bottom: 1px solid var(--line); }
.service:nth-child(1) { grid-column: span 7; border-right: 1px solid var(--line); }
.service:nth-child(2) { grid-column: span 5; }
.service:nth-child(3),
.service:nth-child(4),
.service:nth-child(5) { grid-column: span 4; }
.service:nth-child(3),
.service:nth-child(4) { border-right: 1px solid var(--line); }
.service:nth-child(6) { grid-column: 1 / -1; }

.service__link {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  height: 100%;
  padding: clamp(2rem, 3.5vw, 3rem);
  text-decoration: none; color: inherit;
  overflow: hidden;
}
/* Superfície que sobe no hover */
.service__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--blush);
  transform: translateY(101%);
  transition: transform .7s var(--ease-out);
}
.service__link:hover::before,
.service__link:focus-visible::before { transform: none; }
.service__link:focus-visible { outline-offset: -3px; }

.service__num {
  font-family: var(--serif); font-style: italic;
  font-size: 1.05rem; color: var(--rose-deep);
  margin-bottom: 1.4rem;
}
.service__title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem);
  line-height: 1.08;
  margin-bottom: 1rem;
  transition: color .4s var(--ease);
}
.service__text { color: var(--ink-soft); font-weight: 300; max-width: 34rem; }
/* "Saiba mais" dos cards com aparência de botão (o card inteiro já é o link) */
.service__more {
  position: relative; isolation: isolate; overflow: hidden;
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex; align-items: center; gap: .8rem;
  min-height: 2.75rem; padding: .7rem 1.25rem;
  border-radius: 2px;
  font: 600 .72rem/1.2 var(--sans);
  letter-spacing: .16em; text-transform: uppercase;
}
.service__link:hover .service__more .btn__icon { transform: translateX(4px); }
.service__text { margin-bottom: 1.75rem; }
.service__link:hover .service__title { color: var(--rose-ink); }

/* Foto de cada card: acima do título (cards 2 a 5); ao lado no card 1; à esquerda na faixa do card 6 */
.media--service { aspect-ratio: 3 / 2; margin-bottom: 1.75rem; }

.service--feature .service__link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 0 2.5rem; }
.service--feature .media--service { grid-row: 1 / -1; grid-column: 2; aspect-ratio: auto; min-height: 22rem; margin: 0; }
.service--feature .media--service img { position: absolute; inset: 0; object-position: 58% 40%; }  /* rosto e mão dentro do recorte, sem sobra de fundo à direita */
.service--feature .service__more { align-self: end; justify-self: start; }
.media--service img { transition: transform 1.2s var(--ease-out); }
.service__link:hover .media--service img { transform: scale(1.04); }

.service--tall .service__title { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.9rem); }

/* Card 6 em faixa horizontal com monograma */
.service--band .service__link {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.3fr);
  grid-template-rows: 1fr auto;
  align-items: center; gap: 1.5rem 3rem;
}
.service--band .media--service { margin: 0; grid-column: 1; grid-row: 1 / span 2; }
.service--band .service__num { margin: 0; }
.service--band .service__title { margin: 0; grid-column: 2; grid-row: 1 / span 2; }
/* texto e, logo abaixo dele, o botão "Saiba mais" */
.service--band .service__text { margin: 0; grid-column: 3; grid-row: 1; align-self: end; }
.service--band .service__more { margin: 0; grid-column: 3; grid-row: 2; justify-self: start; align-self: start; }
.service__monogram {
  position: absolute; right: -1rem; top: 50%; z-index: -1;
  transform: translateY(-50%);
  font-family: var(--serif); font-size: clamp(8rem, 16vw, 15rem); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(193, 168, 168, .38);
  transition: transform 1s var(--ease-out);
  pointer-events: none;
}
.service--band .service__link:hover .service__monogram { transform: translateY(-50%) translateX(-1.5rem); }

@media (max-width: 1080px) {
  .service:nth-child(1) { grid-column: 1 / -1; border-right: 0; }
  .service:nth-child(2) { grid-column: span 6; border-right: 1px solid var(--line); }
  .service:nth-child(3) { grid-column: span 6; border-right: 0; }
  .service:nth-child(4) { grid-column: span 6; }
  .service:nth-child(5) { grid-column: span 6; }
  .service--band .service__link { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; }
  .service--band .media--service { grid-column: 1; grid-row: 1 / span 3; }
  .service--band .service__title,
  .service--band .service__text,
  .service--band .service__more { grid-column: 2; }
}
@media (max-width: 700px) {
  .services-grid { display: block; }
  .service { border-right: 0 !important; }
  .service--feature .service__link { display: flex; }
  .service--feature .media--service { aspect-ratio: 4 / 3; min-height: 0; margin-bottom: 1.75rem; order: -1; }
  .service--feature .service__more { align-self: flex-start; }
  .service__link { padding: 2rem 0; }
  .service__link::before { left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); }
  .service__num { margin-bottom: .8rem; }
  .service--band .service__link { display: flex; align-items: stretch; }
  .service--band .media--service { margin-bottom: 1.75rem; }
  .service--band .service__more { align-self: flex-start; }
  .service--band .service__num { margin-bottom: .8rem; }
  .service__monogram { top: 1rem; right: 0; transform: none; font-size: 6.5rem; }
  .service--band .service__link:hover .service__monogram { transform: translateX(-1rem); }
  .service--band .service__title { margin-bottom: 1rem; }
}

/* 7. APRESENTAÇÃO DA MÉDICA ================================================ */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}
.about-visual { position: relative; padding: 2rem 2rem 0 0; }
.media--portrait {
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px 0 0;   /* máscara em arco */
  z-index: 1;
}
.media--portrait img { object-position: 50% 100%; }  /* corta só o fundo vazio acima da cabeça */
.media--portrait:not(:has(img))::after { left: 50%; transform: translateX(-50%); white-space: nowrap; }
.about-visual__frame {
  position: absolute; top: 0; right: 0; bottom: 2rem; left: 2rem;
  border: 1px solid var(--rose-soft);
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}

.about-text { margin-top: 2rem; max-width: 36rem; color: var(--ink-soft); font-weight: 300; }

.credentials { margin: 2.5rem 0 2.75rem; border-top: 1px solid var(--line); }
.credential {
  display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.credential__key {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--rose-ink);
  padding-top: .35rem;
}
.credential__value { font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; color: var(--taupe); font-variant-numeric: lining-nums; }   /* números alinhados na mesma altura */

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  /* Mobile: título e texto, depois o retrato, depois credenciais e botão.
     .about-copy vira "transparente" para a grade e a ordem é ajustada com order. */
  .about-grid { row-gap: 0; }
  .about-copy { display: contents; }
  .about-visual { order: 1; max-width: 26rem; width: 85%; margin-top: 2.5rem; }
  .about-copy .credentials { order: 2; }
  .about-copy > .btn { order: 3; justify-self: start; }
}
@media (max-width: 480px) {
  .credential { grid-template-columns: 1fr; gap: .2rem; }
  .credential__key { padding: 0; }
}

/* 8. MÉTODO GM ============================================================= */
.method { background: var(--paper); }
.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.method-diagram {
  position: sticky; top: calc(var(--header-h) + 3rem);
  aspect-ratio: 1;
  max-width: 30rem;
  width: 100%;
}
.method-svg { width: 100%; height: 100%; overflow: visible; }
.ring-guide { fill: none; stroke: var(--line); stroke-width: 1; }
.ring-guide--inner { stroke-dasharray: 2 6; }
.axis { stroke: var(--line); stroke-width: 1; }
/* Arcos do Método GM: apagados ficam numa linha neutra bem fina; ao rolar, o pilar
   ativo acende no rosa da logo, mais grosso e com brilho suave (fácil de perceber). */
.pillar-arc {
  fill: none; stroke: var(--line); stroke-width: 1.5; stroke-linecap: round;
  transition: stroke .8s var(--ease), stroke-width .8s var(--ease), filter .8s var(--ease);
}
.pillar-arc.is-active {
  stroke: var(--rose-soft); stroke-width: 5;
  filter: drop-shadow(0 0 6px rgba(193, 168, 168, .55));
}
.pillar-dots circle { fill: var(--paper); stroke: var(--line-strong); stroke-width: 1.2; transition: fill .6s var(--ease), stroke .6s var(--ease), r .6s var(--ease); }
.pillar-dots circle.is-active { r: 7px; fill: var(--rose-soft); stroke: var(--paper); stroke-width: 2.5; }
.method-core { fill: var(--paper); stroke: var(--rose-soft); stroke-width: 1; }
.method-mono { font-family: var(--serif); font-size: 44px; fill: var(--taupe); letter-spacing: .02em; }
.ring-guide--inner { transform-origin: 200px 200px; animation: slow-spin 120s linear infinite; }
@keyframes slow-spin { to { transform: rotate(360deg); } }

/* Rótulos posicionados por dentro do círculo, junto ao ponto de cada pilar */
.method-labels li {
  position: absolute;
  font-size: .66rem; font-weight: 600; line-height: 1;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .6s var(--ease);
}
.method-labels li.is-active { color: var(--rose-ink); }
.method-labels [data-label="1"] { top: 10%; left: 50%; transform: translate(-50%, 1.1rem); }
.method-labels [data-label="2"] { top: 50%; right: 10%; transform: translate(-1.1rem, -50%); }
.method-labels [data-label="3"] { bottom: 10%; left: 50%; transform: translate(-50%, -1.1rem); }
.method-labels [data-label="4"] { top: 50%; left: 10%; transform: translate(1.1rem, -50%); }

.pillar {
  position: relative;
  padding: clamp(2.25rem, 4vw, 3.5rem) 0;
  border-top: 1px solid var(--line);
}
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar::before {
  /* linha que se desenha quando o pilar está ativo */
  content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 100%;
  background: var(--rose-deep);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease-out);
}
.pillar.is-active::before { transform: scaleX(1); }
.pillar__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.5rem + 1.8vw, 3.1rem);
  margin-bottom: 1rem;
}
.pillar__title em { color: var(--rose-ink); }
.pillar p { max-width: 32rem; color: var(--ink-soft); font-weight: 300; }

.method-extra {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 0;
  margin-top: clamp(4rem, 8vw, 6.5rem);
  background: var(--white);
}
.extra {
  display: flex; flex-direction: column;
  padding: clamp(2rem, 3.5vw, 3rem);
  border-right: 1px solid var(--line);
}
/* "Saiba mais" sempre na base do bloco, alinhado entre os blocos */
.extra .btn { margin-top: auto; align-self: flex-start; }
.extra__title { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin: 1.4rem 0 .9rem; }
.extra p { color: var(--ink-soft); font-weight: 300; margin-bottom: 1.25rem; }
/* Ícones com a mesma altura, para os títulos também alinharem */
.extra__layers { display: grid; align-content: end; gap: 5px; width: 3.2rem; height: 3rem; }
.extra__layers i { display: block; height: 1px; background: var(--rose-deep); transform-origin: left; animation: layer 4s var(--ease) infinite; }
.extra__layers i:nth-child(2) { width: 80%; animation-delay: .25s; opacity: .7; }
.extra__layers i:nth-child(3) { width: 60%; animation-delay: .5s; opacity: .45; }
@keyframes layer { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.55); } }
.extra__figure { display: block; height: 3rem; font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--rose-deep); }
.extra__figure sup { font-size: .5em; }
.method-cta { display: flex; align-items: center; padding: 2rem clamp(2rem, 3.5vw, 3rem); }

@media (max-width: 1080px) {
  .method-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-cta { grid-column: 1 / -1; border-top: 1px solid var(--line); justify-content: flex-start; }
}
@media (max-width: 900px) {
  .method-grid { grid-template-columns: 1fr; }
  .method-diagram {
    position: relative; top: auto;
    max-width: 19rem; margin-inline: auto;
  }
}
@media (max-width: 640px) {
  .method-extra { grid-template-columns: 1fr; }
  .extra { border-right: 0; border-bottom: 1px solid var(--line); }
  .method-cta { border-top: 0; }
  .method-cta .btn { width: 100%; }
  .method-labels li { font-size: .58rem; letter-spacing: .16em; }
}

/* 9. TECNOLOGIAS =========================================================== */
.tech { background: var(--blush); overflow: hidden; padding-top: calc(var(--section) * .6); isolation: isolate; }

/* Fundo em parallax (desktop): imagem mais alta que a seção, movida pelo script (data-parallax).
   Camada clara por cima mantém o texto legível e a paleta da seção. */
.tech-parallax {
  position: absolute; inset: -14rem 0; z-index: -1;
  pointer-events: none;
}
.tech-parallax picture { display: block; width: 100%; height: 100%; }
.tech-parallax img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.tech-parallax::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(244,236,234,.9) 0%, rgba(244,236,234,.8) 45%, rgba(244,236,234,.9) 100%);
}
@media (max-width: 900px) {
  .tech-parallax { inset: -8rem 0; }   /* mobile: versão vertical da imagem, movimento menor */
  .tech-parallax img { object-position: 55% 40%; }
}

.strata { position: relative; height: 3.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.strata span {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose-deep) 20%, var(--rose-deep) 80%, transparent);
  transform-origin: left;
}
.strata span:nth-child(1) { top: 0; opacity: .9; }
.strata span:nth-child(2) { top: 33%; opacity: .6; }
.strata span:nth-child(3) { top: 66%; opacity: .38; }
.strata span:nth-child(4) { top: 100%; opacity: .2; }
.strata span::after {
  /* ponto de luz que percorre cada camada */
  content: ""; position: absolute; top: -2px; left: 0; width: 5px; height: 5px; border-radius: 50%;
  background: var(--rose-deep);
  animation: travel 9s var(--ease) infinite;
}
.strata span:nth-child(2)::after { animation-delay: 1.2s; }
.strata span:nth-child(3)::after { animation-delay: 2.4s; }
.strata span:nth-child(4)::after { animation-delay: 3.6s; }
@keyframes travel { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-left: 1px solid var(--line-strong);
}
.tech-item {
  position: relative;
  display: flex; flex-direction: column;
  padding: .5rem clamp(1.5rem, 3vw, 2.75rem) 0;
  border-right: 1px solid var(--line-strong);
  transition: background .6s var(--ease);
}
.tech-item__title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 1.8rem + 2.2vw, 3.6rem);
  margin: 0 0 1.25rem;
  transition: transform .6s var(--ease-out), color .4s var(--ease);
}
.tech-item:hover .tech-item__title { transform: translateX(.4rem); color: var(--rose-ink); }
.tech-item p { color: var(--ink-soft); font-weight: 300; margin-bottom: 1.5rem; }
.tech-item .btn { margin-top: auto; align-self: flex-start; }

/* Faixa Protocolos GM */
.protocols {
  position: relative; overflow: hidden;
  margin-top: clamp(4rem, 8vw, 6rem);
  background: var(--rose-ink);
  color: var(--white);
}
.protocols__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 2rem 4rem; align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem);
}
.protocols__head { position: relative; }
.protocols__mono {
  position: absolute; left: -.5rem; top: 50%; transform: translateY(-55%);
  font-family: var(--serif); font-size: clamp(7rem, 14vw, 12rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22);
  pointer-events: none;
}
.protocols__title { position: relative; font-family: var(--serif); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem); color: var(--white); }
.protocols__body p { font-weight: 300; font-size: 1.08rem; margin-bottom: 2rem; }

@media (max-width: 900px) {
  /* Mobile: linhas das camadas logo abaixo do "Tecnologias", antes do título.
     O cabeçalho da seção vira "transparente" e a ordem é ajustada com order. */
  .tech > .container { display: flex; flex-direction: column; }
  .tech .section-head { display: contents; }
  .tech .section-head .eyebrow { order: 0; align-self: flex-start; margin-bottom: 1rem; }
  .tech .strata { order: 1; margin: 0 0 2rem; }
  .tech .section-head .section-title { order: 2; }
  .tech .section-head .section-lead { order: 3; margin-bottom: clamp(3rem, 6vw, 5rem); }
  .tech-grid { order: 4; }
  .tech .protocols { order: 5; }
  .tech-grid { grid-template-columns: 1fr; border-left: 0; border-top: 1px solid var(--line-strong); }
  .tech-item { border-right: 0; border-bottom: 1px solid var(--line-strong); padding: 2rem 0 2.25rem; }
  .tech-item__title { margin: 0 0 1rem; }
  .protocols__inner { grid-template-columns: 1fr; }
  .protocols { margin-inline: calc(var(--gutter) * -1); }
  .protocols__inner { padding-inline: var(--gutter); }
  .protocols__mono { left: auto; right: -.5rem; top: -1.5rem; transform: none; font-size: 7.5rem; }
}
@media (max-width: 560px) {
  .protocols__body .btn { width: 100%; }
}

/* 10. PROVA SOCIAL ========================================================= */
.reviews { background: var(--white); text-align: center; overflow: hidden; padding-bottom: calc(var(--section) * .55); }
.reviews-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.reviews__quote {
  font-family: var(--serif); font-size: clamp(10rem, 22vw, 18rem); line-height: .6;
  height: .45em;
  color: var(--rose-light);
  user-select: none;
}
.reviews .section-title { max-width: 14ch; }
.reviews .section-lead { margin: 1.5rem auto 2.5rem; }
/* widget de avaliações do Google (Elfsight): largura total da seção */
.reviews__widget { width: 100%; margin: 0; text-align: left; }
.reviews__widget:empty { display: none; }
/* Capa na cor do fundo da seção sobre o selo "Free Google Reviews Widget" (rodapé do widget).
   Atenção: o plano grátis do Elfsight exige o selo visível; o upgrade remove oficialmente. */
.reviews__widget { position: relative; margin-bottom: -3.25rem; }   /* recolhe a área coberta */
.reviews__widget::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  height: 3.25rem;
  background: var(--white);
}
.reviews__widget:empty::after { display: none; }

/* CLÍNICA · CARROSSEL ====================================================== */
.clinic { padding-bottom: calc(var(--section) * .8); }
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: clamp(1rem, 2vw, 1.75rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding-bottom: .5rem;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: -2px; }
.carousel__slide {
  flex: 0 0 auto;
  width: clamp(15rem, 28vw, 24rem);
  scroll-snap-align: start;
}
.carousel__slide--wide { width: clamp(20rem, 32vw, 28rem); }
.media--slide { height: clamp(18rem, 24vw, 21rem); }
.media--slide img { transition: transform 1.4s var(--ease-out); }
.carousel__slide:hover .media--slide img { transform: scale(1.03); }

.carousel__controls {
  display: flex; align-items: center; gap: 1.5rem;
  margin-top: 2.25rem;
}
.carousel__controls[hidden] { display: none; }
.carousel__progress { position: relative; flex: 1; height: 1px; background: var(--line); }
.carousel__progress span {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--rose-deep);
  transition: width .5s var(--ease);
}
.carousel__count { margin: 0; font-family: var(--serif); font-size: 1.15rem; color: var(--taupe); font-variant-numeric: lining-nums tabular-nums; min-width: 3.5rem; text-align: center; }
.carousel__buttons { display: flex; gap: .6rem; }

@media (max-width: 600px) {
  .carousel__slide { width: 78vw; }
  .carousel__slide--wide { width: 88vw; }
  .media--slide { height: 26rem; }
}

/* LOCALIZAÇÃO ============================================================= */
.location { background: var(--paper); padding-top: calc(var(--section) * .6); }
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.location-address {
  margin-top: 2rem; padding-left: 1.5rem;
  border-left: 1px solid var(--rose-soft);
  color: var(--ink-soft); font-weight: 300;
}
.location-link { margin-top: 2rem; }
.location-address strong { display: block; margin-bottom: .35rem; font-weight: 500; color: var(--ink); }
.location-map { position: relative; aspect-ratio: 4 / 3; background: var(--blush); }
.location-map iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(.55) sepia(.12) contrast(.95);
  transition: filter .6s var(--ease);
}
.location-map:hover iframe, .location-map:focus-within iframe { filter: none; }

@media (max-width: 900px) {
  .location-grid { grid-template-columns: 1fr; }
  .location-map { aspect-ratio: 1 / 1; max-height: 70vh; }
}

/* 11. FAQ ================================================================= */
.faq { background: var(--white); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.faq-head { position: sticky; top: calc(var(--header-h) + 3rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.6rem 0;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem);
  line-height: 1.4;
  color: var(--ink);
  transition: color .35s var(--ease), transform .5s var(--ease-out);
}
.faq-item summary:hover h3 { color: var(--rose-ink); transform: translateX(.3rem); }
.faq-item summary:focus-visible { outline-offset: 4px; }
/* aberto: a resposta começa logo abaixo da pergunta */
.faq-item[open] summary { padding-bottom: .5rem; }

.faq-icon {
  position: relative; flex: none;
  width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--line-strong); border-radius: 50%;
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease-out);
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: .8rem; height: 1px; background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .5s var(--ease-out), background .4s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--btn); border-color: var(--btn); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--white); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-answer { overflow: hidden; }
.faq-answer p {
  max-width: none;
  padding: 0 4rem 1.5rem 0;   /* ocupa a largura até perto do ícone */
  color: var(--ink-soft); font-weight: 300;
}
.faq-answer a { color: var(--rose-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.faq-answer a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .faq-answer p { padding-right: 0; }
}

/* 12. CONTATO ============================================================== */
.contact { background: var(--graphite); color: var(--white); overflow: hidden; }
.contact::before {
  /* arco decorativo fino, eco do retrato */
  content: ""; position: absolute; right: -10vw; top: -20vw;
  width: 46vw; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .1);
  pointer-events: none;
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.contact .section-title { color: var(--white); }
.contact-lead { margin-top: 1.75rem; font-size: 1.15rem; font-weight: 300; max-width: 34rem; }
.contact-text { color: rgba(255, 255, 255, .82); font-weight: 300; max-width: 34rem; margin-bottom: 2.5rem; }

/* Painel claro com os canais de contato */
.contact-panel { background: var(--paper); color: var(--ink); padding: clamp(1.75rem, 4vw, 3rem); }
.channels { margin: 0; }
.channels div { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.channels div:first-child { padding-top: 0; }
.channels div:last-child { border-bottom: 0; padding-bottom: 0; }
.channels dt {
  font-size: .76rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--rose-ink); margin-bottom: .4rem;
}
.channels dd { margin: 0; font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; color: var(--taupe); font-variant-numeric: lining-nums; overflow-wrap: break-word; }
.channels a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease-out), color .3s var(--ease); }
.channels a:hover, .channels a:focus-visible { background-size: 100% 1px; color: var(--rose-ink); }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact .btn--primary { width: 100%; }
  .contact-panel { margin-inline: calc(var(--gutter) * -1); }
  .channels dd { font-size: 1.4rem; }
}

/* 13. RODAPÉ =============================================================== */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .78); padding: clamp(4rem, 8vw, 6rem) 0 2.25rem; font-size: 1.02rem; }
/* Logo + identificação médica */
.footer-id { max-width: 26rem; }
.footer-id .brand { margin-bottom: 1.25rem; }
.footer-id p { margin: 0 0 .45rem; font-size: .9rem; line-height: 1.55; color: rgba(255, 255, 255, .7); }
/* selo da Sociedade Brasileira de Dermatologia */
.footer-sbd {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.footer-sbd__seal {
  flex: none; display: grid; place-items: center;
  width: 4.75rem; height: 4.75rem; border-radius: 50%;
  background: var(--paper);
}
.footer-sbd__seal img { width: 82%; height: auto; }
.footer-id .footer-sbd p { margin: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr .8fr 1.4fr; gap: 2.5rem 3rem;
  padding-bottom: 3.5rem;
}
.footer-title {
  margin-bottom: 1.1rem;
  font-size: .76rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--rose-light);
}
.footer-col li { margin-bottom: .65rem; }
.footer-col a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--white); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.footer-col address { margin-bottom: 1rem; }
/* Nome, endereço e telefone clicáveis: sem sublinhado em repouso; sublinha ao passar o mouse (regra .footer-col a:hover) */
.footer-col p { margin-bottom: .4rem; }
.footer-legal {
  padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .9rem; color: rgba(255, 255, 255, .7);
}
.footer-legal { text-align: center; }
.footer-legal p { margin-bottom: .3rem; }
.footer-copy { margin: 0 0 .35rem; }
.footer-credit { margin: 0; }
/* Crédito em rosa claro da paleta, com sublinhado ao passar o mouse */
.footer-credit a { color: var(--rose-light); font-weight: 600; text-decoration: none; transition: color .3s var(--ease); }
.footer-credit a:hover, .footer-credit a:focus-visible { color: var(--white); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-id, .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Música ambiente: botão "Tocar Música" no cabeçalho (pílula clara + círculo com nota musical) */
.sound-toggle {
  position: relative; flex: none;
  display: inline-flex; align-items: center; gap: .65rem;
  height: 2.75rem; padding: 0 1.15rem 0 .3rem; min-width: 10.6rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 500 .88rem/1 var(--sans); letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.sound-toggle[hidden] { display: inline-flex; visibility: hidden; }   /* reserva o espaço: o cabeçalho não "pula" */
.sound-toggle:hover, .sound-toggle:focus-visible {
  border-color: var(--rose-soft);
  box-shadow: 0 8px 20px -14px rgba(63, 59, 57, .5);
  transform: translateY(-1px);
}
.sound-toggle__icon {
  position: relative; flex: none;
  display: grid; place-items: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: linear-gradient(135deg, #D2BCBB, #C1A8A8 55%, #AE9493);
  color: #fff;
}
.sound-toggle__note-icon { width: .95rem; height: .95rem; fill: currentColor; transition: opacity .3s var(--ease), transform .3s var(--ease); }
/* tocando: a nota dá lugar às barras de equalizador */
.sound-toggle__bars {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 2px;
  opacity: 0; transition: opacity .3s var(--ease);
}
.sound-toggle__bars i {
  display: block; width: 2px; height: 12px;
  background: currentColor; border-radius: 1px;
  transform: scaleY(.4);
}
.sound-toggle[aria-pressed="true"] .sound-toggle__note-icon { opacity: 0; transform: scale(.6); }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars { opacity: 1; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i { animation: eq 1.1s ease-in-out infinite; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(2) { animation-delay: -.35s; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(3) { animation-delay: -.7s; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(4) { animation-delay: -.2s; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* Convite para ativar o som: balão abaixo do botão, se a música não começou em alguns segundos */
.sound-toggle__tip {
  position: absolute; left: 50%; top: calc(100% + .7rem);
  padding: .6rem .95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #D2BCBB, #C1A8A8 55%, #AE9493);
  color: #fff;
  font: 600 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(63, 59, 57, .45);
  opacity: 0; transform: translate(-50%, -6px); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.sound-toggle__tip::after {   /* setinha apontando para o botão */
  content: ""; position: absolute; left: 50%; bottom: 100%; margin-left: -6px;
  border: 6px solid transparent; border-bottom-color: #D0B9B8;
}
.sound-toggle__note { display: inline-block; margin-left: .2rem; letter-spacing: 0; }
.sound-toggle.is-inviting .sound-toggle__tip {
  opacity: 1; transform: translate(-50%, 0); pointer-events: auto;
  animation: tip-float 2.6s ease-in-out .5s infinite;
}
.sound-toggle.is-inviting .sound-toggle__note { animation: note-bob 1.3s ease-in-out infinite; }
.sound-toggle.is-inviting { border-color: var(--rose-soft); animation: sound-pulse 2.2s ease-out infinite; }
@keyframes sound-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(193, 168, 168, .55); }
  70%  { box-shadow: 0 0 0 12px rgba(193, 168, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(193, 168, 168, 0); }
}
@keyframes tip-float { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 4px); } }
@keyframes note-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2px) rotate(-10deg); } }
@media (prefers-reduced-motion: reduce) {
  .sound-toggle.is-inviting, .sound-toggle.is-inviting .sound-toggle__tip, .sound-toggle.is-inviting .sound-toggle__note { animation: none; }
}
/* tablet/celular: pílula compacta com o texto, ao lado do menu */
@media (max-width: 960px) {
  .sound-toggle { height: 2.4rem; min-width: 9.2rem; padding: 0 .85rem 0 .22rem; gap: .5rem; font-size: .8rem; }
  .sound-toggle__icon { width: 1.9rem; height: 1.9rem; }
  .sound-toggle__note-icon { width: .85rem; height: .85rem; }
  .sound-toggle__tip { left: auto; right: 0; transform: translateY(-6px); }
  .sound-toggle__tip::after { left: auto; right: 1.6rem; }
  .sound-toggle.is-inviting .sound-toggle__tip { transform: none; animation-name: tip-float-m; }
}
@media (max-width: 359px) {   /* celulares bem estreitos: volta a ser só o círculo */
  .sound-toggle { min-width: 0; width: 2.4rem; padding: 0; justify-content: center; }
  .sound-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--btn); color: var(--white);
  box-shadow: 0 10px 30px -12px rgba(63, 59, 57, .55);
  opacity: 0; transform: translateY(1rem) scale(.9); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease-out), background .35s var(--ease);
}
.wa-float svg { width: 1.6rem; height: 1.6rem; fill: currentColor; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--rose-ink); }

/* TRANSIÇÃO ENTRE SEÇÕES ===================================================
   Criada pelo script.js em cada divisa (exceto o hero):
   .flow__band: a cor da seção de cima se dissolve no topo da seção de baixo. */
.flow { position: relative; height: 0; z-index: 4; pointer-events: none; }
.flow__band {
  position: absolute; left: 0; right: 0; top: 0;
  height: clamp(3rem, 6vw, 5.5rem);
  background: linear-gradient(to bottom, var(--flow-from), transparent);
}
/* passagem para a seção escura: em vez do claro descer sobre o escuro (ficaria acinzentado),
   uma penumbra suave do grafite sobe pelo fim da seção de cima */
.flow--dark .flow__band {
  top: auto; bottom: 0;
  height: clamp(3.5rem, 7vw, 6rem);
  background: linear-gradient(to bottom, rgba(102, 99, 98, 0), rgba(102, 99, 98, .07) 55%, rgba(102, 99, 98, .2));
}
/* base da foto de fundo das Tecnologias também se dissolve na cor da seção */
.tech::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: -1;
  height: clamp(4rem, 8vw, 7rem);
  background: linear-gradient(to bottom, rgba(244, 236, 234, 0), var(--blush));
  pointer-events: none;
}

/* 14. ANIMAÇÕES ============================================================
   Ativadas apenas com JS (classe .js no <html>) e sem prefers-reduced-motion.
   Sem JS, todo o conteúdo fica visível. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .reveal-mask {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.4s var(--ease-out);
  transition-delay: var(--d, .1s);
}
.js .reveal-mask.is-in { clip-path: inset(0 0 0 0); }
.js .media--portrait.reveal-mask { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); }
.js .media--portrait.reveal-mask.is-in { clip-path: inset(0 0 0 0 round 999px 999px 0 0); }
/* Títulos revelados palavra por palavra (data-split) */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i) * 45ms);
}
.is-in .split-word > span, .split-word.is-in > span { transform: none; }

[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal, .js .reveal-mask { opacity: 1; transform: none; clip-path: none; }
  .split-word > span { transform: none; }
  [data-parallax] { transform: none !important; }
}

/* Telas médias (961–1240px): menu sem quebra de linha e botão de música só com o círculo */
.main-nav a, .header-cta { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1240px) {
  .main-nav ul { gap: 1.15rem; }
  .sound-toggle { min-width: 0; width: 2.75rem; padding: 0; justify-content: center; }
  .sound-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sound-toggle__tip { left: auto; right: -.2rem; transform: translateY(-6px); }
  .sound-toggle__tip::after { left: auto; right: 1.15rem; }
  .sound-toggle.is-inviting .sound-toggle__tip { transform: none; animation-name: tip-float-m; }
}
@keyframes tip-float-m { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ==========================================================================
   15. PÁGINA · DRA. GABRIELLE MENDONÇA  (/dermatologista-gabrielle-mendonca/)
   Tudo com prefixo .pd- (não altera a Home). Reaproveita tokens, botões, .media,
   .reveal, carrossel e FAQ globais.
   ========================================================================== */

/* menu: página atual sublinhada */
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Breadcrumb (Home > Dra. Gabrielle Mendonça) */
.pd-crumbs { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.pd-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.pd-crumbs li { display: inline-flex; align-items: center; gap: .6rem; }
.pd-crumbs li + li::before { content: ""; width: 1.5rem; height: 1px; background: var(--rose-soft); }
.pd-crumbs a { color: var(--rose-ink); text-decoration: none; padding-bottom: 2px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease-out); }
.pd-crumbs a:hover, .pd-crumbs a:focus-visible { background-size: 100% 1px; }

/* ---------- HERO ---------- */
.pd-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(2rem, 5vw, 4.5rem)) 0 clamp(4rem, 8vw, 7rem); }
.pd-hero::before {   /* halo rosé atrás do retrato */
  content: ""; position: absolute; z-index: 0; right: -14vw; top: 4%;
  width: 64vw; max-width: 62rem; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 191, 191, .5) 0%, rgba(221, 191, 191, 0) 68%);
  pointer-events: none;
}
.pd-hero__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "copy visual" "actions visual";
  grid-template-rows: auto 1fr;
  column-gap: clamp(3rem, 7vw, 7.5rem);
}
.pd-hero__copy { grid-area: copy; padding-top: clamp(0rem, 4vw, 4.5rem); }
.pd-hero__visual { grid-area: visual; position: relative; align-self: center; }
.pd-hero__actions { grid-area: actions; margin-top: 2.5rem; }
.pd-hero__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.45rem, 1.3rem + 3vw, 4.6rem);
  line-height: 1.02; letter-spacing: -.015em;
  max-width: 17ch;
}
.pd-hero__support {
  display: flex; align-items: center; gap: 1rem;
  margin: 1.75rem 0 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.95rem); line-height: 1.25;
  color: var(--rose-ink);
}
.pd-hero__support::before { content: ""; flex: none; width: 2.75rem; height: 1px; background: var(--rose-soft); }
.pd-hero__text { max-width: 34rem; margin: 1.4rem 0 0; font-weight: 300; color: var(--ink-soft); font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); }
.pd-hero__id {
  max-width: 34rem; margin: 2rem 0 0; padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft); font-variant-numeric: lining-nums;
}
/* retrato em arco + contorno rosé deslocado (com leve parallax) */
.pd-portrait { position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; }
.pd-portrait img { object-position: 50% 18%; }
.pd-portrait:not(:has(img))::after { left: 50%; transform: translateX(-50%); white-space: nowrap; }
.pd-hero__outline {
  position: absolute; z-index: 0; inset: -1.25rem -1.25rem 1.25rem 1.25rem;
  border: 1px solid var(--rose-soft); border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.js .pd-portrait.reveal-mask { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); }
.js .pd-portrait.reveal-mask.is-in { clip-path: inset(0 0 0 0 round 999px 999px 0 0); }

@media (max-width: 900px) {
  /* ordem: título, texto, imagem e CTA */
  .pd-hero__grid { grid-template-columns: 1fr; grid-template-areas: "copy" "visual" "actions"; grid-template-rows: auto; }
  .pd-hero__copy { padding-top: 0; }
  .pd-hero__title { max-width: none; }
  .pd-hero__visual { width: min(100% - 1.25rem, 26rem); justify-self: center; margin-top: 3rem; }
  .pd-portrait { aspect-ratio: 5 / 6; max-height: 60svh; width: 100%; }
  .pd-hero__actions { margin-top: 2.25rem; }
}
@media (max-width: 560px) {
  .pd-hero__actions .btn { width: 100%; }
  .pd-hero__id { letter-spacing: .16em; line-height: 1.8; }
}

/* ---------- FORMAÇÃO E TRAJETÓRIA ---------- */
.pd-path { background: var(--white); }
.pd-path__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-areas: "copy line" "photo line";
  grid-template-rows: auto 1fr;
  column-gap: clamp(3rem, 8vw, 8rem); row-gap: clamp(2.5rem, 4vw, 3.5rem);
}
.pd-path__copy { grid-area: copy; }
.pd-path__text { margin-top: 2rem; max-width: 34rem; color: var(--ink-soft); font-weight: 300; }
.pd-path__text p:first-child { font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); line-height: 1.4; color: var(--taupe); }
.pd-path__photo { grid-area: photo; align-self: start; aspect-ratio: 3 / 2; border-radius: 0 9rem 0 0; }   /* canto em arco */

.pd-timeline { grid-area: line; position: relative; padding: .5rem 0 0 3rem; }
/* a linha vai do primeiro ao último ponto (medidas passadas pelo script da página; sem JS, quase até o fim) */
.pd-timeline::before, .pd-timeline::after {
  content: ""; position: absolute; left: .45rem; width: 1px;
  top: var(--line-top, 1.6rem); height: var(--line-h, calc(100% - 4rem));
}
.pd-timeline::before { background: var(--line); }
.pd-timeline::after { background: var(--rose-deep); transform-origin: top; transform: scaleY(var(--p, 1)); }
.pd-step { position: relative; padding-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.pd-step:last-child { padding-bottom: 0; }
.pd-step__dot {
  position: absolute; left: -3.03rem; top: .6rem; z-index: 1;
  width: .95rem; height: .95rem; border-radius: 50%;
  border: 1px solid var(--rose-soft); background: var(--white);
  transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .6s var(--ease-out);
}
.pd-step.is-on .pd-step__dot { background: var(--rose-soft); border-color: var(--rose-deep); box-shadow: 0 0 0 7px rgba(193, 168, 168, .2); }
.pd-step__title { font-family: var(--serif); font-size: clamp(1.5rem, 1.25rem + 1vw, 2.15rem); line-height: 1.16; color: var(--taupe); transition: color .5s var(--ease); }
.pd-step__place { margin-top: .65rem; color: var(--ink-soft); font-weight: 300; }
.pd-step.is-on .pd-step__title { color: var(--rose-ink); }

@media (max-width: 900px) {
  .pd-path__grid { grid-template-columns: 1fr; grid-template-areas: "copy" "photo" "line"; grid-template-rows: auto; }
  .pd-path__photo { border-radius: 0 6rem 0 0; }
  .pd-timeline { padding-left: 2.5rem; }
  .pd-step__dot { left: -2.53rem; }
}

/* ---------- CREDENCIAIS E SOCIEDADES ---------- */
.pd-cred { background: var(--blush); }
.pd-cred__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.pd-cred__label {
  margin-bottom: 1.4rem;
  font-family: var(--sans); font-size: .72rem; font-weight: 600; line-height: 1.4;
  letter-spacing: .24em; text-transform: uppercase; color: var(--rose-ink);
}
/* cartão de papel com contorno rosé deslocado (assinatura do site) */
.pd-registry { position: relative; isolation: isolate; padding: clamp(2rem, 4vw, 3rem); }
.pd-registry::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.035'/%3E%3C/svg%3E");
  box-shadow: 0 30px 60px -36px rgba(63, 59, 57, .35);
}
.pd-registry::before { content: ""; position: absolute; inset: 0; z-index: -2; border: 1px solid var(--rose-soft); transform: translate(12px, 12px); }
.pd-registry__list li {
  padding: 1rem 0; border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(1.5rem, 1.25rem + 1vw, 2.05rem); line-height: 1.2;
  color: var(--taupe); font-variant-numeric: lining-nums;
}
.pd-registry__list li:last-child { padding-bottom: 0; }

.pd-societies__list { border-top: 1px solid var(--line-strong); }
.pd-society { position: relative; padding: 1.45rem 0; border-bottom: 1px solid var(--line); }
.pd-society::after {   /* linha que se acende ao passar o mouse */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--rose-deep); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease-out);
}
.pd-society:hover::after { transform: scaleX(1); }
.pd-society__pre { display: block; margin-bottom: .35rem; font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.pd-society__name { display: block; font-family: var(--serif); font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.2rem); line-height: 1.15; color: var(--taupe); transition: transform .6s var(--ease-out), color .4s var(--ease); }
.pd-society:hover .pd-society__name { transform: translateX(.4rem); color: var(--rose-ink); }

@media (max-width: 900px) {
  .pd-cred__grid { grid-template-columns: 1fr; }
  .pd-registry { margin-right: 12px; }
}

/* ---------- FILOSOFIA DE TRABALHO (grafite) ---------- */
.pd-philo { background: var(--graphite); color: rgba(255, 255, 255, .86); overflow: hidden; }
.pd-philo .section-title { color: var(--white); }
.pd-philo__mono {   /* monograma decorativo em contorno */
  position: absolute; right: -3vw; top: 6%;
  font-family: var(--serif); font-size: clamp(14rem, 34vw, 32rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .1);
  pointer-events: none; user-select: none;
}
.pd-philo .container { position: relative; }
.pd-philo__grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.pd-philo__statement { margin: 0; font-family: var(--serif); font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.2rem); line-height: 1.18; color: var(--white); }
.pd-philo__text { max-width: 32rem; font-weight: 300; color: rgba(255, 255, 255, .82); }
.pd-pillars {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.pd-pillar { position: relative; padding: 2.25rem 1.75rem 2.25rem 0; }
.pd-pillar + .pd-pillar { padding-left: 1.75rem; border-left: 1px solid rgba(255, 255, 255, .12); }
.pd-pillar::before {   /* filete rosé que percorre o topo quando o pilar entra na tela */
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: var(--rose-light); transform: scaleX(1); transform-origin: left;
  transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0s) + .35s);
}
.js .pd-pillar:not(.is-in)::before { transform: scaleX(0); }
.pd-pillar__title { margin-bottom: .85rem; font-family: var(--serif); font-size: clamp(1.7rem, 1.4rem + 1vw, 2.35rem); color: var(--rose-light); }
.pd-pillar p { color: rgba(255, 255, 255, .8); font-weight: 300; }
.pd-philo__cta { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
/* sem faixa de transição clara sobre o grafite (bordas limpas) */
.flow:has(+ .pd-philo) .flow__band, .pd-philo + .flow .flow__band { display: none; }

@media (max-width: 900px) {
  .pd-philo__grid { grid-template-columns: 1fr; }
  .pd-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .pd-pillar:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 560px) {
  .pd-pillars { grid-template-columns: 1fr; }
  .pd-pillar, .pd-pillar + .pd-pillar { padding: 1.75rem 0; border-left: 0; }
  .pd-pillar + .pd-pillar { border-top: 1px solid rgba(255, 255, 255, .12); }
  .pd-philo__cta .btn { width: 100%; }
}

/* ---------- ÁREAS DE ATUAÇÃO ---------- */
.pd-areas__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 2.2vw, 2rem);
}
.pd-area--feature { grid-row: span 2; }
.pd-area__link {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white); color: inherit; text-decoration: none;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -34px rgba(63, 59, 57, .3);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.pd-area__link:hover, .pd-area__link:focus-visible { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 34px 60px -36px rgba(63, 59, 57, .42); }
.pd-area__media { aspect-ratio: 16 / 10; border-radius: 0 4.5rem 0 0; }   /* canto em arco, eco do retrato */
.pd-area__media img { transition: transform 1.4s var(--ease-out); }
.pd-area__link:hover .pd-area__media img { transform: scale(1.05); }
.pd-area--feature .pd-area__media { flex: 1 1 auto; aspect-ratio: auto; min-height: 24rem; margin: 1.25rem 1.25rem 0; border-radius: 999px 999px 0 0; }
.pd-area--feature .pd-area__media img { object-position: 50% 30%; }
.pd-area__body { display: flex; flex-direction: column; gap: .8rem; flex: 1 0 auto; padding: 1.6rem 1.6rem 1.8rem; }
.pd-area--feature .pd-area__body { flex: 0 0 auto; padding: 1.9rem 2.1rem 2.2rem; }
.pd-area__title { font-family: var(--serif); font-size: clamp(1.5rem, 1.25rem + .8vw, 1.95rem); line-height: 1.12; }
.pd-area--feature .pd-area__title { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem); }
.pd-area__text { margin: 0; color: var(--ink-soft); font-weight: 300; font-size: .98rem; }
.pd-area__more { margin-top: auto; align-self: flex-start; }
.pd-area__link:hover .pd-area__more { transform: translateY(-2px); }
.pd-area__link:hover .pd-area__more::after { transform: translateX(130%); }
.pd-area:nth-child(2) .btn--primary { --sheen-delay: 3.4s; }
.pd-area:nth-child(3) .btn--primary { --sheen-delay: 4.6s; }
.pd-area:nth-child(4) .btn--primary { --sheen-delay: 5.8s; }
.pd-area:nth-child(5) .btn--primary { --sheen-delay: 1.2s; }

@media (max-width: 960px) {
  .pd-areas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-area--feature { grid-column: 1 / -1; grid-row: auto; }
  .pd-area--feature .pd-area__media { min-height: 0; aspect-ratio: 16 / 9; margin: 0; border-radius: 0 7rem 0 0; }
}
@media (max-width: 600px) {
  .pd-areas__grid { grid-template-columns: 1fr; }
  .pd-area--feature .pd-area__media { aspect-ratio: 4 / 3; border-radius: 0 5rem 0 0; }
  .pd-area--feature .pd-area__body { padding: 1.6rem 1.6rem 1.8rem; }
}

/* ---------- TECNOLOGIAS ---------- */
.pd-tech { background: var(--white); }
.pd-techs { display: grid; gap: clamp(4rem, 8vw, 7rem); }
.pd-techitem { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.pd-techitem:nth-child(even) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.pd-techitem:nth-child(even) .pd-techitem__media { order: 2; }
.pd-techitem:nth-child(even) .pd-techitem__body { justify-self: end; }
.pd-techitem__media { width: min(100%, 25rem); justify-self: center; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; }
.pd-techitem__media:not(:has(img))::after { left: 50%; transform: translateX(-50%); white-space: nowrap; }
.pd-techitem__body { max-width: 34rem; }
.pd-techitem__name { margin: 0 0 1.25rem; font-family: var(--serif); font-size: clamp(2.5rem, 1.6rem + 3vw, 4.2rem); line-height: 1; }
.pd-techitem__text { color: var(--ink-soft); font-weight: 300; margin-bottom: 1.75rem; }
/* camadas (decorativo): as linhas acesas correspondem à camada descrita no texto */
.pd-layers { display: grid; gap: 7px; width: 8.5rem; margin-bottom: 1.6rem; }
.pd-layers i { display: block; height: 1px; background: var(--line-strong); transform-origin: left; }
.pd-layers i.on { height: 3px; border-radius: 2px; background: linear-gradient(90deg, #D2BCBB, #AE9493); transition: transform 1s var(--ease-out); }
.js .pd-techitem:not(.is-in) .pd-layers i.on { transform: scaleX(0); }
.pd-layers i:nth-child(1) { transition-delay: .38s; }
.pd-layers i:nth-child(2) { transition-delay: .5s; }
.pd-layers i:nth-child(3) { transition-delay: .62s; }
.pd-layers i:nth-child(4) { transition-delay: .74s; }
.pd-techitem:nth-child(2) .btn--primary { --sheen-delay: 4.2s; }
.pd-techitem:nth-child(3) .btn--primary { --sheen-delay: 6s; }
.pd-techs__all { margin-top: clamp(3.5rem, 7vw, 5rem); text-align: center; }

@media (max-width: 900px) {
  .pd-techitem { grid-template-columns: 1fr; gap: 2rem; }
  .pd-techitem:nth-child(even) { grid-template-columns: 1fr; }
  .pd-techitem:nth-child(even) .pd-techitem__media { order: 0; }
  .pd-techitem:nth-child(even) .pd-techitem__body { justify-self: start; }
  .pd-techitem__media { aspect-ratio: 1 / 1; width: min(100%, 22rem); justify-self: start; }
}
@media (max-width: 560px) {
  .pd-techs__all .btn { width: 100%; }
}

/* ---------- A CLÍNICA ---------- */
.pd-clinic { background: var(--blush); }
.pd-clinic .section-lead { max-width: 30rem; }
.pd-clinic__info {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 2rem 4rem;
  margin-top: clamp(2.75rem, 5vw, 3.75rem); padding-top: 2rem;
  border-top: 1px solid var(--line-strong);
}
.pd-clinic__label { margin-bottom: .6rem; font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--rose-ink); }
.pd-clinic__value { margin: 0; font-family: var(--serif); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); line-height: 1.5; color: var(--taupe); font-variant-numeric: lining-nums; }
.pd-clinic__value strong { display: block; font-weight: 500; }
@media (max-width: 760px) {
  .pd-clinic__info { grid-template-columns: 1fr; }
}

/* ---------- CONGRESSOS E TREINAMENTOS ---------- */
.pd-congress { padding-block: calc(var(--section) * .8); }
.pd-congress__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.pd-congress__text { margin: 0; font-family: var(--serif); font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); line-height: 1.4; color: var(--taupe); }
/* Versão A (lista de eventos), pronta para quando os dados chegarem */
.pd-events { margin-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line-strong); }
.pd-event { display: grid; grid-template-columns: 6rem minmax(0, 1fr) auto; gap: 1.5rem; align-items: baseline; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.pd-event__year { font-family: var(--serif); font-size: 1.4rem; color: var(--rose-ink); font-variant-numeric: lining-nums; }
.pd-event__name { font-weight: 500; color: var(--ink); }
.pd-event__place { color: var(--ink-soft); font-weight: 300; text-align: right; }
@media (max-width: 760px) {
  .pd-congress__grid { grid-template-columns: 1fr; }
  .pd-event { grid-template-columns: 1fr; gap: .3rem; }
  .pd-event__place { text-align: left; }
}

/* ---------- CTA FINAL ---------- */
.pd-cta {
  overflow: hidden; text-align: center;
  background: linear-gradient(165deg, var(--blush) 0%, #EBD9D7 55%, var(--rose-light) 100%);
}
.pd-cta::before {   /* arco fino de fundo, eco do retrato */
  content: ""; position: absolute; left: 50%; bottom: -1px;
  width: min(48rem, 92vw); aspect-ratio: 1 / 1.05; transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .75); border-bottom: 0; border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.pd-cta__inner { position: relative; max-width: 50rem; }
.pd-cta .section-title { max-width: 17ch; margin-inline: auto; }
.pd-cta__text { max-width: 36rem; margin: 1.75rem auto 2.5rem; font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem); font-weight: 300; color: var(--ink); }
@media (max-width: 560px) {
  .pd-cta .btn { width: 100%; }
}
