/*
 * Fase 6 / Header e Hero. Fonte: Overview aprovado DSindex.html.
 * Navigation .e13167-e1/e2/e8/e13/e14; Hero .e13278-e1–e8.
 * Valores de Typography, Backgrounds, Buttons, Surfaces e Layout Patterns.
 * Sem cascata global do WordPress, scripts comerciais ou efeitos novos.
 */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/Montserrat-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/Montserrat-latin.woff2") format("woff2");
}

/* Cormorant Garamond variável local; licença em assets/fonts/OFL-CormorantGaramond.txt. */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/CormorantGaramond-VariableFont_wght.ttf") format("truetype");
}

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f7f4e9;
  --ink-primary: #211813;
  --beige-soft: #d8ccb3;
  --gold-muted: #c4a67e;
  --cream-support: #fff8e5;
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Montserrat", sans-serif;
  --transition-ui: 300ms;
  --transition-menu: 500ms;
  --ease-menu: cubic-bezier(0.4, 0, 0.2, 1);
  /* Fallback sem JS: margem superior de 20px + painel de 60px.
     A medida real do painel visível atualiza --header-anchor-bottom. */
  --header-anchor-bottom: 80px;
  --header-anchor-gap: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg-primary);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

[data-header-target] {
  scroll-margin-top: calc(var(--header-anchor-bottom) + var(--header-anchor-gap));
}

[data-header-target]:focus {
  outline: none;
}

body {
  margin: 0;
  color: var(--ink-primary);
  background: var(--bg-primary);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

html.menu-open,
html.menu-open body {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
[role="link"] {
  touch-action: manipulation;
}

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

:focus-visible {
  outline: 2px solid var(--ink-primary);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1002;
  padding: 12px 16px;
  background: var(--bg-primary);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* .x-masthead / .ma5r-0: barra fixa; nenhum spacer sobre a Hero. */
.site-header {
  position: relative;
  height: 0;
  z-index: 1000;
}

.header-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: calc(100% - 40px);
  height: 60px;
  margin: 0 20px;
  background: transparent;
}

.header-bar__content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  height: 60px;
}

/* .ma5r-1/.ma5r-2 + #ds-color-navbar. */
.header-panel {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  height: 60px;
  min-height: 60px;
  max-height: 60px;
  margin-top: 20px;
  border: 2px solid #1c1a1808;
  border-radius: 12px;
  padding: 4px 12px;
  background-color: rgba(247, 244, 233, 0.64);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color var(--transition-ui) ease;
}

.header-panel:hover {
  background-color: rgba(247, 244, 233, 0.74);
}

.header-panel--desktop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 16px;
}

.header-panel--mobile {
  display: none;
  border: 0;
  padding: 6px 8px;
}

/*
 * PNG oficial intacto (1600×400). Pixels com alfa >0: x21–1573, y82–352.
 * Enquadramento x19/y80, 1557×275, com folga de 2px ao redor da marca.
 * Somente margens transparentes ficam fora da janela; nenhum traço é cortado.
 * A imagem mantém a proporção 4:1, sem filtro, opacidade ou transform.
 */
.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 0;
  width: 248px;
  height: 44px;
  margin: 0 5px;
}

.brand__artwork {
  position: relative;
  display: block;
  flex: none;
  width: 100%;
  aspect-ratio: 1557 / 275;
  overflow: hidden;
}

.brand img {
  position: absolute;
  top: calc(-8000% / 275);
  left: calc(-1900% / 1557);
  width: calc(160000% / 1557);
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.brand--mobile {
  width: 220px;
  max-width: calc(100% - 68px);
}

.desktop-navigation {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

/* 48px úteis: 60px menos bordas de 2px e padding vertical de 4px. */
.desktop-navigation .navigation-link,
.header-panel--desktop > .navigation-link {
  min-height: 48px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.navigation-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navigation-list > li {
  display: flex;
}

/* .ma5r-d/e/f/h/i/j/k: rótulo, espaçamentos e indicador 16×2. */
.navigation-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px;
  color: rgba(33, 24, 19, 0.8);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  transition: color var(--transition-ui) ease;
}

.navigation-link__text {
  display: block;
  margin: 5px;
  white-space: nowrap;
}

.navigation-link::after {
  position: absolute;
  bottom: 0;
  left: calc(50% - 8px);
  width: 16px;
  height: 2px;
  background: var(--ink-primary);
  content: "";
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform var(--transition-ui) ease;
}

.navigation-link:hover,
.navigation-link:focus-visible,
.navigation-link:active {
  color: var(--ink-primary);
}

.navigation-link:hover::after,
.navigation-link:focus-visible::after {
  transform: scaleY(1);
  transition-delay: 100ms;
}

.navigation-link--appointment {
  flex-shrink: 0;
  justify-self: end;
}

/* .e13167-e13: área 3em; burger CSS original com linhas de 20×2px. */
.menu-toggle {
  display: flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 100em;
  padding: 0;
  color: var(--ink-primary);
  background: transparent;
  cursor: pointer;
  transition: color var(--transition-ui) ease;
}

.menu-toggle:hover {
  color: rgba(33, 24, 19, 0.5);
}

.menu-toggle__burger {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
}

.menu-toggle__burger > span {
  position: absolute;
  inset: 0;
  background: currentColor;
  transition: transform var(--transition-ui) var(--ease-menu), opacity var(--transition-ui) ease;
}

.menu-toggle__burger > span:first-child {
  transform: translateY(-8px);
}

.menu-toggle__burger > span:last-child {
  transform: translateY(8px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__burger > span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__burger > span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__burger > span:last-child {
  transform: rotate(-45deg);
}

/* Hero: .hero-mods, .ma8u-0/1/2/3/4. A imagem já contém seu tratamento. */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 75vh;
  margin: 0;
  border: 0;
  /* 200–300px entre 480–767px. Em telas baixas, reserva espaço ao conteúdo;
     o limite cresce até 1200px, preservando os 300px do desktop em qualquer altura. */
  --hero-top-space: clamp(200px, calc(200px + (100vw - 480px) * 100 / 287), 300px);
  padding: min(var(--hero-top-space), max(112px, calc(100vh - 400px), calc(100vw - 900px))) 40px 0;
  scroll-margin-top: 110px;
}

.hero__background,
.hero__background-image {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__background-image {
  background-image: url("../assets/images/Hero.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* .e13278-e2: mesma linha e compensação de margens do gap de 20px. */
.hero__row {
  position: relative;
  display: flex;
  flex: 0 1 auto;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  max-width: 1920px;
  margin: 0 auto;
  padding: 1px;
}

.hero__row-inner {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: flex-start;
  min-width: 0;
  margin: -11px;
}

.hero__column {
  position: relative;
  z-index: 1;
  flex: 0 1 calc(100% - 20px);
  min-width: 0;
  max-width: 780px;
  margin: 10px;
  padding: 0 0 60px;
}

.hero__text {
  margin: 0 0 24px;
  text-wrap: balance;
}

/* O <p> inválido dentro do H1 original foi removido; quebra preservada. */
.hero__title {
  margin: 0;
  font-family: var(--font-heading);
  /* Escala contínua de 40 a 52px; desktop a partir de 979px permanece igual. */
  font-size: clamp(40px, calc(40px + (100vw - 480px) * 12 / 499), 52px);
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  overflow-wrap: break-word;
  color: var(--bg-primary);
}

.hero__subtitle {
  margin: 0.35em 0 0;
  color: var(--cream-support);
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero__actions {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
}

/* CTAs: construção EasyBuilder fornecida, sem dependências do Elementor.
   O contexto isolado mantém ::before acima do fundo e atrás do texto. */
.gr-btn {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: fit-content;
  min-width: 0;
  /* Reserva a ampliação de 5% dentro da área disponível. */
  max-width: calc(100% / 1.05);
  min-height: 46px;
  height: auto;
  padding: 10px 26px;
  border: 0;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.045em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  /* Uma linha quando cabe; texto ampliado pode crescer sem sair da cápsula. */
  white-space: normal;
  overflow-wrap: break-word;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.5s ease, box-shadow 0.5s ease, color 0.5s ease;
}

.gr-btn::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.gr-btn--champagne {
  color: #4a3024;
  border-top: 2px solid #fff8e5;
  background: linear-gradient(90deg, #c4a67e 0.01%, #d8ccb3 55.23%, #c4a67e 110.44%);
  box-shadow: 0 4px 0 #96744f;
}

.gr-btn--champagne::before {
  background: linear-gradient(90deg, #d8ccb3 0.01%, #c4a67e 55.23%, #c4a67e 110.44%);
}

.gr-btn--brown {
  color: #fff8e5;
  border-top: 2px solid #7f5538;
  background: linear-gradient(90deg, #4a3024 0.01%, #69481d 55.23%, #4a3024 110.44%);
  box-shadow: 0 4px 0 #2f211b;
}

.gr-btn--brown::before {
  background: linear-gradient(90deg, #69481d 0.01%, #4a3024 55.23%, #4a3024 110.44%);
}

/* Consultório: conserva o branco predominante do CTA aprovado. */
.gr-btn--ivory {
  color: #4a3024;
  border-top: 2px solid #fff8e5;
  background: linear-gradient(90deg, #ffffff 0.01%, #fff8e5 55.23%, #ffffff 110.44%);
  box-shadow: 0 4px 0 #d8ccb3;
}

.gr-btn--ivory::before {
  background: linear-gradient(90deg, #fff8e5 0.01%, #ffffff 55.23%, #ffffff 110.44%);
}

.gr-btn--outline {
  color: var(--cream-support);
  border: 1px solid rgba(196, 166, 126, 0.45);
  background: rgba(33, 24, 19, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 8px rgba(33, 24, 19, 0.12);
}

/* O vidro permanece no link; apenas o degradê translúcido anima no hover. */
.gr-btn--outline::before {
  background: linear-gradient(90deg,
    rgba(105, 72, 29, 0.22) 0%,
    rgba(127, 85, 56, 0.32) 55%,
    rgba(105, 72, 29, 0.22) 100%);
}

@supports not ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
  .gr-btn--outline {
    background: rgba(33, 24, 19, 0.86);
  }
}

@media (hover: hover) and (pointer: fine) {
  .gr-btn:hover {
    transform: scale(1.05);
  }

  .gr-btn:hover::before {
    opacity: 1;
  }
}

.gr-btn:focus-visible {
  outline: 2px solid var(--gold-muted);
  outline-offset: 5px;
}

.gr-btn--brown:focus-visible {
  outline-color: #4a3024;
}

.gr-btn:active {
  transform: scale(0.98);
}

@media (max-width: 480px) {
  .gr-btn {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 12px;
    letter-spacing: 0.025em;
  }
}

/* Espaço para os CTAs em telas estreitas, sem reduzir a fonte ou a área de toque. */
@media (width < 376px) {
  .gr-btn {
    padding-inline: 12px;
  }

  .gr-btn.results__cta {
    padding-inline: 6px;
    letter-spacing: 0;
  }
}

/* Somente os CTAs: textos da seção e alinhamentos a partir de 768px intactos. */
@media (width < 768px) {
  .essence-card__cta,
  .procedure-card__cta,
  .clinic__cta,
  .results__cta,
  .evaluation__cta,
  .final-booking__cta {
    margin-inline: auto;
  }

  /* No conteúdo em fluxo normal, o link precisa ser uma caixa de bloco
     para que as margens automáticas o centralizem com width: fit-content. */
  .essence-card__cta {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gr-btn,
  .gr-btn::before {
    transition: none;
  }

  .gr-btn:hover,
  .gr-btn:active {
    transform: none;
  }
}

/* .e13278-e8: acabamento existente, sem criar a seção seguinte. */
.hero__bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 24px;
  border-radius: 24px 24px 0 0;
  background: var(--bg-primary);
  pointer-events: none;
}

/* .ma5r-y: painel lateral direito, overlay e close originais. */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1001;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear var(--transition-menu);
}

.mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.mobile-menu__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: rgba(33, 24, 19, 0.75);
  opacity: 0;
  cursor: pointer;
  transition: opacity var(--transition-menu) var(--ease-menu);
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 24em;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  padding: 32px;
  background: var(--bg-primary);
  box-shadow: 0 0 2em rgba(0, 0, 0, 0.25);
  transform: translateX(115%);
  transition: transform var(--transition-menu) var(--ease-menu);
}

.mobile-menu.is-open .mobile-menu__overlay {
  opacity: 1;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__close {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 6px;
  color: rgba(33, 24, 19, 0.8);
  background: transparent;
  opacity: 0;
  cursor: pointer;
  transform: scale(0);
  transition: color var(--transition-ui) ease-in-out, opacity var(--transition-menu) var(--ease-menu), transform var(--transition-menu) var(--ease-menu);
}

.mobile-menu__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.mobile-menu__close:hover,
.mobile-menu__close:focus-visible {
  color: var(--ink-primary);
}

.mobile-menu.is-open .mobile-menu__close {
  opacity: 1;
  transform: scale(1);
}

.navigation-list--mobile {
  flex-direction: column;
  align-items: stretch;
  margin: 0;
}

.navigation-list--mobile .navigation-link {
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 60px;
  padding: 12px 0;
}

.navigation-list--mobile .navigation-link__text {
  margin: 5px 0;
  white-space: normal;
}

.navigation-list--mobile .navigation-link::after {
  left: 0;
}

/* Limites superiores exclusivos cobrem também viewports fracionárias.
   Ex.: width < 767px complementa min-width: 767px sem lacunas. */
@media (width < 1122px) {
  .header-panel--desktop {
    display: none;
  }

  .header-panel--mobile {
    display: flex;
  }
}

@media (width < 767px) {
  .header-bar {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .hero__subtitle {
    font-size: 20px;
  }

  /* A copy aprovada é maior: permite quebra sem alterar o gap ou os estilos. */
  .hero__actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 40.4398vh;
  }
}

@media (width < 480px) {
  .hero__actions {
    flex-direction: column;
  }
}

/* Movimento reduzido também elimina o atraso do indicador e do drawer. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  :root {
    --transition-ui: 0ms;
    --transition-menu: 0ms;
  }

  *,
  *::before,
  *::after {
    transition-delay: 0s !important;
  }
}

/* FASE 7: estilos isolados após a Hero; regras aprovadas acima preservadas. */
.post-hero {
  display: flow-root;
  min-width: 0;
  padding: 0 40px 60px;
}

/* Overview .e10/.e11: raio 12px, padding 12px, gap 120px e fades de 90px. */
.marquee {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin-top: -10px;
  border-radius: 12px;
  padding: 12px;
  color: #fff8e5;
  background: #211813;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.marquee__viewport {
  position: relative;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
}

.marquee__viewport::before,
.marquee__viewport::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 90px;
  content: "";
  pointer-events: none;
}

.marquee__viewport::before {
  left: 0;
  background: linear-gradient(to right, #211813 0%, rgba(33, 24, 19, 0.9) 25%, rgba(33, 24, 19, 0) 100%);
}

.marquee__viewport::after {
  right: 0;
  background: linear-gradient(to left, #211813 0%, rgba(33, 24, 19, 0.9) 25%, rgba(33, 24, 19, 0) 100%);
}

.marquee__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  max-width: none;
  white-space: nowrap;
  animation: gr-marquee-travel 100s linear infinite;
}

.marquee__group {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  min-width: 100vw;
  gap: 120px;
  margin: 0;
  padding: 0 120px 0 0;
  list-style: none;
  white-space: nowrap;
}

.marquee__group > li {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Dois grupos de largura idêntica, sem gap no track: -50% é uma cópia exata. */
@keyframes gr-marquee-travel {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Permite ler a faixa ao focá-la, sem reconstruir ou reiniciar o ciclo. */
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}

.marquee__viewport:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    transform: none;
  }

  .marquee__group[aria-hidden="true"] {
    display: none;
  }

  /* Uma linha acessível por toque/teclado, sem overflow no documento. */
  .marquee__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .marquee__viewport::-webkit-scrollbar { display: none; }
  .marquee__viewport::before,
  .marquee__viewport::after { display: none; }
}

/* Overview .e50: proporções 2/3–1/3, DOM fotografia/texto e gap de 20px. */
.essence-card {
  min-width: 0;
  margin-top: 60px;
  border-radius: 16px;
  overflow: hidden;
  color: #211813;
  background: #f7f4e9;
}

.essence-card__row {
  display: flex;
  flex-flow: row-reverse wrap;
  align-items: stretch;
  gap: 20px;
}

.essence-card__media {
  position: relative;
  flex: 0 1 calc((100% - 20px) / 3);
  min-width: 0;
  border-radius: 0 16px 16px 0;
  overflow: hidden;
  background: #211813;
}

.essence-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Fundo expandido: preenche toda a coluna, preservando a proporção da foto. */
  object-fit: cover;
  object-position: center;
}

.essence-card__content {
  flex: 0 1 calc((100% - 20px) * 2 / 3);
  min-width: 0;
  padding: 60px 40px;
}

.essence-card__eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Usa a mesma família de títulos definida em :root. */
.essence-card__title {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.2;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.essence-card__registration {
  margin: 0 0 24px;
  color: #2f211b;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.essence-card__description {
  margin: 0 0 16px;
  color: #2f211b;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
}

.essence-card__cta {
  margin-top: 16px;
}

@media (width < 979px) {
  .post-hero {
    padding-bottom: 0;
  }

  .essence-card__row {
    flex-direction: column;
  }

  .essence-card__media,
  .essence-card__content {
    flex: none;
    width: 100%;
  }

  .essence-card__media {
    min-height: 500px;
    border-radius: 16px 16px 0 0;
  }

  .essence-card__content {
    padding-top: 20px;
    padding-bottom: 40px;
  }
}

@media (min-width: 480px) and (width < 979px) {
  .marquee {
    font-size: 16px;
  }
}

@media (width < 767px) {
  .post-hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .essence-card__content {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (min-width: 480px) and (width < 767px) {
  .essence-card__title {
    font-size: 40px;
  }
}

@media (width < 480px) {
  .marquee {
    font-size: 14px;
  }

  .essence-card__media {
    min-height: 400px;
  }

  .essence-card__title {
    font-size: 36px;
  }

}

/* FASE 8: regras isoladas dos procedimentos; seções aprovadas acima intactas. */
.procedures {
  width: 100%;
  max-width: 1920px;
  min-width: 0;
  margin: 60px auto 0;
  color: #211813;
  background: #ffffff;
}

.procedures__title {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.procedures__viewport {
  width: 100%;
  min-width: 0;
  padding: 10px 0 20px;
}

.procedures__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 480px) {
  .procedures__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .procedures__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 480px) and (max-width: 1023px) {
  .procedures .procedure-card__title { font-size: 18px; }
}

@media (min-width: 1024px) {
  .procedures__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(10px, 1vw, 16px);
  }

  /* Seis colunas a 1024px: conserva leitura e alvos de toque sem largura mínima. */
  .procedures .procedure-card {
    padding: clamp(8px, 1vw, 20px);
  }

  .procedures .procedure-card__title {
    min-height: 3.6em;
    font-size: clamp(16px, calc(12px + 0.4vw), 20px);
  }

  .procedures .procedure-card__content { gap: 12px; }

  .procedures .procedure-card__cta {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px clamp(6px, 0.65vw, 12px);
    font-size: clamp(12px, 0.9vw, 13px);
    letter-spacing: 0.02em;
  }
}

/* 6 itens quando há espaço; nos demais tamanhos, conserva a largura legível. */
.procedure-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  min-height: 375px;
  height: auto;
  border-radius: 12px;
  padding: 20px;
  overflow: hidden;
  isolation: isolate;
  color: #fff8e5;
  background: #211813;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.procedure-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background: linear-gradient(to bottom, #00000000, #000000ba 75%);
}

.procedure-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--procedure-photo-position, center);
}

.procedure-card--labial { --procedure-photo-position: 50% 65%; }
.procedure-card--rinomodelacao { --procedure-photo-position: 65% 45%; }
.procedure-card--glutea { --procedure-photo-position: 50% 60%; }
.procedure-card--olheiras { --procedure-photo-position: 50% 40%; }
.procedure-card--full-face { --procedure-photo-position: 45% 65%; }
.procedure-card--colageno { --procedure-photo-position: 60% 45%; }

/* Títulos com duas linhas reservadas e CTAs alinhados pela base do card. */
.procedure-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.procedure-card__content > .procedure-card__cta {
  align-self: center;
}

.procedure-card__title {
  display: flex;
  align-items: flex-end;
  min-height: 2.4em;
  margin: 0;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.procedure-card:focus-within {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

@media (hover: hover) and (pointer: fine) {
  .procedure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  }
}

/* Os gutters de 40/20px são herdados de .post-hero; não duplicar o padding. */
@media (width < 767px) {
  .procedures__title {
    text-align: center;
  }

}

@media (min-width: 480px) and (width < 767px) {
  .procedures__title {
    font-size: 40px;
  }
}

@media (width < 480px) {
  .procedures__title {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .procedure-card {
    transition: none;
  }

  .procedure-card:hover {
    transform: none;
  }
}

/* FASE 9: consultório, baseado no institucional .e13278-e129/.e132/.e138. */
.clinic {
  padding: 60px 40px;
  color: #211813;
  background: #ffffff;
}

.clinic__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(396px, auto) minmax(550px, auto);
  gap: 26px;
  width: 100%;
  max-width: 1400px;
  min-width: 0;
  margin: 0 auto;
}

.clinic__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  border-radius: 16px;
  padding: 40px;
}

.clinic__card--light {
  background: #f1efec;
}

.clinic__card--dark {
  color: #fff8e5;
  background: #211813;
}

.clinic__title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.clinic__description {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.clinic__photo {
  position: relative;
  min-width: 0;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #f1efec;
}

.clinic__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.clinic__cta {
  margin-top: 36px;
}

/* A origem empilha em 766px. As fotos panorâmicas pedem a adaptação em 978px
   para evitar o recorte acentuado de colunas estreitas no tablet. */
@media (width < 979px) {
  .clinic {
    padding-top: 26px;
  }

  .clinic__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    row-gap: 0;
  }

  .clinic__card--light {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  /* Imagem em fluxo com altura automática: fotografia integral no empilhamento. */
  .clinic__photo img {
    position: static;
    height: auto;
  }

  .clinic__photo--office {
    border: 8px solid #d8ccb3;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .clinic__photo--interior {
    margin-top: 26px;
    border: 8px solid #211813;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  .clinic__card--dark {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}

@media (width < 767px) {
  .clinic {
    padding-right: 20px;
    padding-left: 20px;
  }

  .clinic__card {
    align-items: center;
    padding: 20px;
    text-align: center;
  }

  .clinic__title {
    width: 100%;
    margin-bottom: 8px;
  }

  .clinic__description {
    font-size: 16px;
  }

}

/* FASE 10: painéis de resultados, derivados dos quatro serviços do Overview.
   Apenas classes novas; imagens integrais, sem filtros ou registro artificial. */
.results {
  padding: 0 40px 80px;
  color: #211813;
  background: #ffffff;
}

.results__inner {
  width: 100%;
  max-width: 1400px;
  min-width: 0;
  margin: 0 auto;
}

.results__instructions {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

.result-panel {
  --result-gap: 40px;
  display: flex;
  align-items: stretch;
  gap: var(--result-gap);
  min-width: 0;
  margin: 0 0 26px;
  border-radius: 16px;
  padding: 40px;
}

.result-panel--light {
  color: #211813;
  background: #f7f4e9;
}

.result-panel--dark {
  flex-direction: row-reverse;
  color: #fff8e5;
  background: #2f211b;
}

.result-panel--rinomodelacao {
  --result-gap: 34px;
}

.result-panel__media {
  flex: 0 1 calc((100% - var(--result-gap)) * 0.5);
  width: 100%;
  max-width: 700px;
  min-width: 0;
  align-self: center;
}

.result-panel--rinomodelacao .result-panel__media {
  flex-basis: calc((100% - var(--result-gap)) * 0.4968);
}

.result-panel--harmonizacao-glutea .result-panel__media {
  flex-basis: calc((100% - var(--result-gap)) * 0.4964);
}

.result-panel__copy {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 12px;
}

.result-panel__title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.result-panel__paragraph {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.results__cta {
  margin-top: 16px;
}

.comparison {
  --reveal: 50%;
  position: relative;
  width: 100%;
  max-height: 700px;
  aspect-ratio: 3 / 4;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #211813;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.comparison:has(> .comparison__range:focus-visible) {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* As duas camadas conservam 100% do quadro. O recorte não muda sua escala. */
.comparison__layer {
  position: absolute;
  inset: 0;
  background: #211813;
  pointer-events: none;
}

.comparison__layer--before {
  clip-path: inset(0 0 0 var(--reveal));
}

.comparison__layer--after {
  clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
}

.comparison__layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--comparison-image-position, 50% 50%);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* O foco é fixo no quadro inteiro; mover o divisor só altera o clip-path.
   As alturas e as proporções dos comparadores permanecem as aprovadas. */
.result-panel--rinomodelacao .comparison {
  --comparison-image-position: 65% 45%;
}

.result-panel--preenchimento-labial .comparison {
  --comparison-image-position: 50% 60%;
}

.result-panel--harmonizacao-glutea .comparison {
  --comparison-image-position: 50% 55%;
}

.result-panel--full-face .comparison {
  --comparison-image-position: 40% 50%;
}

/* O registro anterior tem mais espaço sobre a cabeça. Compensa somente
   a janela de recorte, sem esticar nem alterar a escala relativa do par. */
.result-panel--full-face .comparison__layer--before {
  --comparison-image-position: 40% 80%;
}

.comparison__label {
  position: absolute;
  top: 12px;
  border: 1px solid #fff8e5;
  border-radius: 4px;
  padding: 6px 10px;
  color: #fff8e5;
  background: #211813;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.comparison__label--before { right: 12px; }
.comparison__label--after { left: 12px; }

.comparison__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reveal);
  width: 1px;
  background: #fff8e5;
  pointer-events: none;
}

.comparison__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #211813;
  border-radius: 50%;
  color: #211813;
  background: #fff8e5;
  transform: translate(-50%, -50%);
}

.comparison__handle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Input range real: mantém semântica e acesso por teclado/leitor de tela.
   Pointer Events usam a largura exata do quadro, sem o desvio do thumb nativo. */
.comparison__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}

.comparison__range:disabled { cursor: default; }

.results__notice {
  margin: 0;
  color: #2f211b;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.4;
}

@media (width < 979px) {
  .result-panel,
  .result-panel--dark {
    flex-direction: column;
    gap: 20px;
  }

  .result-panel__media,
  .result-panel--rinomodelacao .result-panel__media,
  .result-panel--harmonizacao-glutea .result-panel__media {
    flex: none;
  }

  .result-panel__copy {
    flex: none;
    width: 100%;
  }
}

@media (width < 767px) {
  .results {
    padding-right: 20px;
    padding-left: 20px;
  }

  .result-panel {
    padding: 20px;
  }

  .result-panel__copy {
    padding: 0;
  }

  .result-panel__paragraph {
    font-size: 16px;
  }

  .comparison {
    min-height: 300px;
  }
}

/* Avaliação personalizada: CTA escuro .e13278-e196, sem o segundo botão.
   As curvas brancas reproduzem .e197/.e204; nenhum asset ou efeito novo. */
.evaluation {
  position: relative;
  min-width: 0;
  padding: 100px 40px;
  color: #fff8e5;
  background: #211813;
}

.evaluation::before,
.evaluation::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 24px;
  content: "";
  pointer-events: none;
  background: #ffffff;
}

.evaluation::before {
  top: 0;
  border-radius: 0 0 24px 24px;
}

.evaluation::after {
  bottom: 0;
  border-radius: 24px 24px 0 0;
}

.evaluation__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  min-width: 0;
  margin: 0 auto;
  text-align: center;
}

.evaluation__title {
  max-width: 100%;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.evaluation__description {
  width: 100%;
  max-width: 900px;
  margin: 0.35em auto 40px;
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  overflow-wrap: break-word;
}

@media (width < 767px) {
  .evaluation {
    padding: 60px 20px;
  }
}

@media (min-width: 480px) and (width < 767px) {
  .evaluation__title {
    font-size: 40px;
  }

  .evaluation__description {
    font-size: 20px;
  }
}

@media (width < 480px) {
  .evaluation__title {
    font-size: 36px;
  }

  .evaluation__description {
    font-size: 18px;
  }

}

/* Depoimentos: Overview .e13278-e275/.e279/.e290 e .ma8u-96.
   Moldura CSS inspirada em ref-borda-id-visu.jpg. O JPEG oficial contém
   somente o GR e margens vazias: a janela abaixo enquadra a arte sem editá-la.
   Creme #f7f5e9 amostrado do próprio JPEG evita um retângulo visível na marca. */
.testimonials {
  min-width: 0;
  padding: 100px 40px;
  color: var(--ink-primary);
  background: #ffffff;
}

.testimonials__inner {
  width: 100%;
  max-width: 1464px;
  min-width: 0;
  margin: 0 auto;
}

.testimonials__heading {
  max-width: 680px;
  margin: 0 auto 40px;
  padding-bottom: 20px;
  text-align: center;
}

.testimonials__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.testimonials__subtitle {
  margin: 0.35em 0 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.testimonials__grid {
  display: grid;
  /* Cinco unidades de 260–280px apenas quando houver largura suficiente. */
  grid-template-columns: repeat(5, minmax(0, 280px));
  grid-auto-rows: 1fr;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
}

.testimonial {
  --testimonial-paper: #f7f5e9;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 360px;
  margin: 0;
  /* Altura livre: a linha comum cresce pelo relato mais longo, sem cortes. */
  padding: 24px 20px 16px;
  border-radius: 8px;
  background: var(--testimonial-paper);
}

.testimonial__frame {
  position: absolute;
  inset: 12px;
  border: 1px solid var(--gold-muted);
  border-radius: 8px;
  pointer-events: none;
}

/* Abre as linhas esquerda/inferior para integrar o GR, como na referência. */
.testimonial__frame::after {
  position: absolute;
  bottom: -1px;
  left: -1px;
  width: 84px;
  height: 84px;
  content: "";
  background: var(--testimonial-paper);
}

.testimonial__quote {
  position: relative;
  margin: 0;
  padding: 20px 0 14px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.testimonial__quote p {
  margin: 0;
}

.testimonial__mark {
  position: absolute;
  top: -6px;
  left: 0;
  display: block;
  height: 24px;
  color: var(--gold-muted);
  font-family: var(--font-heading);
  font-size: 44px;
  line-height: 1;
  pointer-events: none;
}

.testimonial__mark--closing {
  top: auto;
  right: 0;
  bottom: -8px;
  left: auto;
  height: 20px;
  text-align: right;
}

.testimonial__attribution {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 76px;
  padding-left: 68px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.testimonial__monogram {
  position: absolute;
  bottom: 12px;
  left: 20px;
  width: 56px;
  aspect-ratio: 1420 / 1840;
  overflow: hidden;
  pointer-events: none;
}

/* Janela de (1376,1168) a (2796,3008) no JPEG 4167×4167.
   Preserva o monograma inteiro, sua proporção e cores; sem filtros/transform. */
.testimonial__monogram img {
  position: absolute;
  top: -63.478261%;
  left: -96.901408%;
  width: 293.450704%;
  max-width: none;
  height: auto;
}

/* 5 × 260 + 4 × 16 + 2 × 40 = 1444px: evita comprimir os cinco cards. */
@media (min-width: 1200px) and (width < 1444px) {
  .testimonials__grid {
    grid-template-columns: repeat(4, minmax(0, 280px));
  }
}

@media (min-width: 979px) and (width < 1200px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, minmax(0, 280px));
  }
}

@media (min-width: 767px) and (width < 979px) {
  .testimonials {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .testimonials__grid {
    grid-template-columns: repeat(2, minmax(0, 380px));
  }
}

@media (width < 767px) {
  .testimonials {
    padding: 40px 20px;
  }

  .testimonials__grid {
    grid-template-columns: minmax(0, 380px);
  }
}

@media (min-width: 480px) and (width < 767px) {
  .testimonials__title {
    font-size: 40px;
  }
}

@media (width < 480px) {
  .testimonials__title {
    font-size: 36px;
  }
}

/* FAQ: componente novo com Typography, Surfaces e tokens do DS existente.
   O estado sem JS mantém as respostas visíveis, sem depender de animação. */
.faq {
  position: relative;
  min-width: 0;
  padding: 100px 40px;
  color: var(--ink-primary);
  background: var(--bg-primary);
}

/* Overview .e13278-e276: .ma8u-5r/.5s/.5v/.67.
   Faixa superior branca de 24px, com a borda inferior arredondada.
   Entre duas superfícies brancas ela se integra sem uma divisão visível.
   Uma futura seção contrastante deverá manter sua própria camada, como no DS. */
.faq::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 24px;
  border-radius: 0 0 24px 24px;
  content: "";
  pointer-events: none;
  background: var(--bg-primary);
}

.faq__inner {
  width: 100%;
  max-width: 1400px;
  min-width: 0;
  margin: 0 auto;
}

.faq__heading {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}

.faq__eyebrow {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.faq__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.faq__subtitle {
  margin: 0.35em 0 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 960px;
  min-width: 0;
  margin: 0 auto;
}

.faq__item {
  min-width: 0;
  border: 1px solid var(--beige-soft);
  border-radius: 12px;
  transition: border-color var(--transition-ui) ease;
}

.faq__item--open {
  border-color: var(--gold-muted);
}

.faq__question {
  margin: 0;
  font-size: inherit;
}

.faq__trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-width: 0;
  min-height: 72px;
  padding: 24px;
  border: 0;
  border-radius: 11px;
  color: var(--ink-primary);
  background: transparent;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.faq__trigger > span:first-child {
  min-width: 0;
  overflow-wrap: break-word;
}

.faq__trigger:disabled {
  grid-template-columns: minmax(0, 1fr);
  opacity: 1;
  cursor: default;
}

.faq__trigger:focus-visible {
  outline: 2px solid var(--ink-primary);
  outline-offset: -4px;
}

.faq__icon {
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.faq__answer {
  display: grid;
  grid-template-rows: 1fr;
}

.faq__answer-content {
  min-height: 0;
  overflow: hidden;
}

.faq__answer-content p {
  margin: 0;
  padding: 0 24px 24px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: break-word;
}

/* aria-hidden e inert acompanham o estado no JS; visibility retira também
   o painel fechado da navegação visual depois da transição de altura. */
.faq[data-faq-ready] .faq__answer {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows var(--transition-ui) ease,
    visibility 0s linear var(--transition-ui);
}

.faq[data-faq-ready] .faq__item--open .faq__answer {
  grid-template-rows: 1fr;
  visibility: visible;
  transition-delay: 0s;
}

@media (hover: hover) {
  .faq__item:has(.faq__trigger:not(:disabled):hover) {
    border-color: var(--gold-muted);
  }
}

@media (min-width: 767px) and (width < 979px) {
  .faq {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (width < 767px) {
  .faq {
    padding: 60px 20px;
  }

  .faq__heading {
    margin-bottom: 30px;
  }

  .faq__trigger {
    gap: 12px;
    padding: 20px;
    font-size: 16px;
  }

  .faq__answer-content p {
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    font-size: 16px;
  }
}

@media (min-width: 480px) and (width < 767px) {
  .faq__title {
    font-size: 40px;
  }
}

@media (width < 480px) {
  .faq__title {
    font-size: 36px;
  }

  .faq__subtitle {
    font-size: 16px;
  }
}

/* Agendamento final: Overview .e13278-e346/.e347, imagem .e348,
   conteúdo .e349–.e352. Grid nativo substitui gutters negativos do tema:
   proporção 50.04/49.96, gap horizontal 48px e vertical 28px preservados. */
.final-booking {
  position: relative;
  min-width: 0;
  padding: 100px 40px;
  color: var(--cream-support);
  background: var(--ink-primary);
}

/* Mesmo padrão de camadas já aprovado em .evaluation:
   .e354 no topo (.ma8u-67) e .e353 na base (.ma8u-5t). */
.final-booking::before,
.final-booking::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 24px;
  content: "";
  pointer-events: none;
  background: var(--bg-primary);
}

.final-booking::before {
  top: 0;
  border-radius: 0 0 24px 24px;
}

.final-booking::after {
  /* Junção direta com o rodapé fotográfico; outras folhas permanecem intactas. */
  content: none;
}

.final-booking__inner {
  display: grid;
  grid-template-columns: minmax(0, 50.04fr) minmax(0, 49.96fr);
  align-items: center;
  gap: 28px 48px;
  width: 100%;
  max-width: 1400px;
  min-width: 0;
  margin: 0 auto;
}

.final-booking__media {
  position: relative;
  min-width: 0;
  height: 600px;
  overflow: hidden;
  border-radius: 16px;
}

.final-booking__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.final-booking__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 40px 10px;
}

.final-booking__eyebrow {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.final-booking__title {
  width: 100%;
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.final-booking__description {
  width: 100%;
  margin: 0 0 40px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.final-booking__description p {
  margin: 0 0 1.25em;
}

.final-booking__description p:last-child {
  margin-bottom: 0;
}

@media (width < 1200px) {
  .final-booking__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .final-booking__media {
    height: 400px;
  }
}

@media (width < 979px) {
  .final-booking {
    padding-bottom: 40px;
  }
}

@media (width < 767px) {
  .final-booking {
    padding-right: 20px;
    padding-left: 20px;
  }

  .final-booking__content {
    padding-top: 0;
  }

  .final-booking__eyebrow,
  .final-booking__title,
  .final-booking__description {
    width: 100%;
    text-align: center;
  }

  .final-booking__description {
    font-size: 16px;
  }
}

@media (min-width: 480px) and (width < 767px) {
  .final-booking__title {
    font-size: 40px;
  }
}

@media (width < 480px) {
  .final-booking__title {
    font-size: 36px;
  }
}

/* Rodapé: estrutura e vidro Easy Builder fornecidos pelo usuário.
   Fotografia/logo oficiais intactas; o espaço superior deixa o rosto visível.
   Seletores isolados, sem importar outro Design System ou runtime. */
.site-footer {
  position: relative;
  min-width: 0;
  color: var(--cream-support);
  background-color: var(--ink-primary);
  background-image: url("../assets/images/retrato-rodape-tons-terrosos.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

/* Apenas nesta junção, desativa a segunda metade da faixa branca.
   O espaçamento interno e as demais transições do site são preservados. */
.site-footer::before {
  content: none;
}

.site-footer__main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1920px;
  min-width: 0;
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(220px, 28vh, 320px) 5vw 72px;
}

.site-footer__brand {
  min-width: 0;
}

.site-footer__brand img {
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 0 auto;
}

.site-footer__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 760px;
  min-width: 0;
  justify-self: end;
}

.site-footer__card-wrap {
  min-width: 0;
}

.site-footer__card-wrap--primary {
  grid-column: 1 / -1;
}

.footer-contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(196, 166, 126, 0.45);
  border-radius: 12px;
  color: var(--cream-support);
  background: rgba(33, 24, 19, 0.45);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  text-decoration: none;
  cursor: pointer;
  transition: transform 300ms ease, border-color 300ms ease;
}

.footer-contact-card--primary {
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.footer-contact-card__icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  transition: transform 300ms ease;
}

.footer-contact-card--primary .footer-contact-card__icon {
  width: 76px;
  height: 76px;
}

.footer-contact-card__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-self: stretch;
  min-width: 0;
}

.footer-contact-card__title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.footer-contact-card--primary .footer-contact-card__title {
  font-size: 36px;
}

.footer-contact-card__description {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.footer-contact-card__action {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  max-width: 100%;
  margin-top: auto;
  padding-top: 20px;
  color: #e7d3af;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.footer-contact-card__action > span {
  min-width: 0;
  overflow-wrap: break-word;
}

.footer-contact-card__arrow {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 300ms ease;
}

.footer-contact-card:focus-visible {
  outline: 2px solid var(--cream-support);
  outline-offset: 5px;
  border-color: var(--gold-muted);
}

@media (hover: hover) and (pointer: fine) {
  .footer-contact-card:hover {
    border-color: var(--beige-soft);
    transform: scale(1.05);
  }

  .footer-contact-card:hover .footer-contact-card__icon {
    transform: translateY(-3px) rotate(3deg);
  }

  .footer-contact-card:hover .footer-contact-card__arrow {
    transform: translateX(4px);
  }
}

/* Sem suporte ao vidro, mantém a leitura sem filtros sobre foto ou logo. */
@supports not ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
  .footer-contact-card {
    background: rgba(33, 24, 19, 0.86);
  }
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 24px 5vw;
  border-top: 1px solid rgba(196, 166, 126, 0.46);
  color: var(--cream-support);
  background: rgba(33, 24, 19, 0.48);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
}

.site-footer__legal p {
  min-width: 0;
  margin: 0;
  overflow-wrap: break-word;
}

/* Entrada só é ativada pelo JS quando IntersectionObserver estiver disponível.
   O conteúdo fica visível enquanto aguarda o observer; somente os keyframes
   fazem o fade durante a entrada. O JS encerra o estado após os 520ms máximos.
   O ancestral do vidro anima apenas transform, preservando o backdrop. */
.site-footer[data-footer-motion] .site-footer__card-wrap {
  transform: translate(-8px, 8px) rotate(-1deg);
}

.site-footer[data-footer-revealed] .site-footer__card-wrap {
  animation: footer-card-arrive 380ms ease-out var(--footer-arrival-delay, 0ms) both;
}

.site-footer[data-footer-revealed] .footer-contact-card__icon,
.site-footer[data-footer-revealed] .footer-contact-card__copy {
  animation: footer-content-arrive 380ms ease-out var(--footer-arrival-delay, 0ms) both;
}

.site-footer[data-footer-revealed] .site-footer__card-wrap:nth-child(2) {
  --footer-arrival-delay: 70ms;
}

.site-footer[data-footer-revealed] .site-footer__card-wrap:nth-child(3) {
  --footer-arrival-delay: 140ms;
}

@keyframes footer-card-arrive {
  from { transform: translate(-8px, 8px) rotate(-1deg); }
  to { transform: none; }
}

@keyframes footer-content-arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (width < 1200px) {
  .footer-contact-card {
    padding: 24px;
  }

  .footer-contact-card--primary {
    gap: 16px;
  }

  .footer-contact-card--primary .footer-contact-card__icon {
    width: 64px;
    height: 64px;
  }

  .footer-contact-card--primary .footer-contact-card__title {
    font-size: 32px;
  }
}

@media (width < 979px) {
  .site-footer {
    background-position: 85% top;
  }

  .site-footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    min-height: auto;
    padding: clamp(320px, 45vw, 420px) 40px 64px;
  }

  .site-footer__brand img {
    max-width: 520px;
  }

  .site-footer__cards {
    max-width: 720px;
    justify-self: center;
  }
}

@media (width < 767px) {
  .site-footer {
    background-position: 85% top;
  }

  .site-footer__main {
    gap: 32px;
    padding: clamp(360px, 85vw, 440px) 20px 48px;
  }

  .site-footer__brand img {
    max-width: 380px;
  }

  .site-footer__cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    max-width: 480px;
  }

  .footer-contact-card--primary {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-contact-card--primary .footer-contact-card__title {
    font-size: 32px;
  }

  .site-footer__legal {
    flex-direction: column;
    padding: 24px 20px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer[data-footer-motion] .site-footer__card-wrap,
  .site-footer[data-footer-revealed] .site-footer__card-wrap {
    transform: none;
    animation: none;
  }

  .site-footer[data-footer-motion] .footer-contact-card__icon,
  .site-footer[data-footer-motion] .footer-contact-card__copy,
  .site-footer[data-footer-revealed] .footer-contact-card__icon,
  .site-footer[data-footer-revealed] .footer-contact-card__copy {
    opacity: 1;
    animation: none;
  }

  .footer-contact-card,
  .footer-contact-card__icon,
  .footer-contact-card__arrow {
    transition: none;
  }

  .footer-contact-card:hover,
  .footer-contact-card:hover .footer-contact-card__icon,
  .footer-contact-card:hover .footer-contact-card__arrow {
    transform: none;
  }
}
