/* ==========================================================================
   DESIGN SYSTEM — ENFERMAGEM ESTÉTICA EDITORIAL
   Paleta: Branco Puro (Hero), Verde Esmeralda, Bege Claro Areia, Dourado e Preto
   ========================================================================== */

:root {
  --white: #ffffff;
  --ivory: #fcfbf8;
  --sand: #f4efe6;
  --sand-deep: #e6dccb;
  --emerald: #0e4d3b;
  --emerald-hover: #0a3c2e;
  --emerald-dark: #082e23;
  --gold: #c5a059;
  --gold-soft: #dfc793;
  --black: #111211;
  --ink: #161816;
  --ink-muted: #555954;
  --border-light: rgba(17, 18, 17, 0.1);
  --border-gold: rgba(197, 160, 89, 0.35);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --wrap: 1280px;
  --pad-x: clamp(20px, 4vw, 56px);
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  overflow-x: clip;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 12px 18px;
  background: var(--emerald);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ==========================================================================
   HEADER FIXO MINIMALISTA
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), backdrop-filter 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(17, 18, 17, 0.08);
}

.header-inner {
  height: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(20px, 3.2vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.35vw, 1.24rem);
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--black);
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.84rem;
  color: var(--emerald);
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
}

.main-nav a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  position: relative;
  padding-block: 6px;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--black);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   BOTÕES & LINKS EDITORIAIS
   ========================================================================== */

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease-out), background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-pill:hover {
  transform: translateY(-1px);
}

.btn-pill:active {
  transform: translateY(1px);
}

.btn-pill .btn-arrow {
  transition: transform 0.25s var(--ease-out);
}

.btn-pill:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-pill--header {
  min-height: 40px;
  padding: 0 18px;
  border-color: rgba(17, 18, 17, 0.22);
  background: transparent;
  color: var(--black);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-pill--header:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--white);
}

.btn-pill--emerald {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--white);
}

.btn-pill--emerald:hover {
  background: var(--emerald-hover);
  border-color: var(--emerald-hover);
}

.btn-pill--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  font-weight: 600;
}

.btn-pill--gold:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.btn-pill--full {
  width: 100%;
}

.link-editorial {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.link-editorial:hover {
  color: var(--emerald);
  border-bottom-color: var(--emerald);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(17, 18, 17, 0.18);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 16px;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.25s ease;
}

.menu-toggle[aria-expanded='true'] span:first-child {
  transform: translateY(3.2px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-3.2px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--sand);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
  display: flex;
  align-items: center;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-inner {
  width: 100%;
  padding: calc(var(--header-h) + 24px) 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.15;
  color: var(--black);
}

/* ==========================================================================
   SEÇÃO 01 — HERO PURE WHITE + PALCO STICKY DE TRANSFORMAÇÃO NO SCROLL
   ========================================================================== */

.morph-runway {
  position: relative;
  height: 420vh;
  background-color: var(--white);
}

.morph-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  width: 100%;
  background-color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Trilho lateral esquerdo (assinatura estilo Noodle Twirl) */
.rail-left {
  position: absolute;
  left: clamp(16px, 2.2vw, 34px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--ink-muted);
}

.rail-num {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--emerald);
}

.rail-line {
  width: 1px;
  height: 54px;
  background: linear-gradient(to bottom, var(--gold), rgba(17, 18, 17, 0.15));
}

.rail-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Paginação vertical direita */
.rail-right {
  position: absolute;
  right: clamp(16px, 2.2vw, 34px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rail-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(17, 18, 17, 0.3);
  background: transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.rail-dot:hover {
  border-color: var(--emerald);
}

.rail-dot.is-active {
  background: var(--emerald);
  border-color: var(--emerald);
  transform: scale(1.25);
}

/* Palco central do retrato */
.stage-shell {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-h);
  padding-bottom: 10px;
  overflow: hidden;
}

.portrait-frame {
  position: relative;
  height: min(74vh, 660px);
  max-height: calc(100% - 12px);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  will-change: transform;
  z-index: 5;
}

#morphCanvas {
  width: 100%;
  height: 100%;
  display: block;
  background-color: var(--white);
}

.stage-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: var(--white);
  transition: opacity 0.45s ease;
}

.stage-loader.is-ready {
  opacity: 0;
  pointer-events: none;
}

/* Camada SVG para linhas finas anatômicas (Ato 02) */
.callout-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 12;
}

.callout-svg path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.1;
  opacity: 0.9;
}

.callout-svg circle.dot-core {
  fill: var(--emerald);
}

.callout-svg circle.dot-ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
}

/* Overlays dos 3 Atos */
.act-overlay {
  position: absolute;
  inset: var(--header-h) clamp(48px, 6vw, 96px) 58px;
  z-index: 15;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s linear;
}

.act-overlay.is-interactive {
  pointer-events: auto;
}

.act-overlay a,
.act-overlay button {
  pointer-events: auto;
}

/* ATO 01 */
.act-01 {
  display: grid;
  grid-template-columns: minmax(280px, 430px) 1fr;
  align-items: center;
  gap: 24px;
}

.act01-right {
  display: none;
}

.kicker-gold {
  margin: 0 0 14px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.kicker-emerald {
  margin: 0 0 14px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--emerald);
}

.hero-title {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 4.4vw, 4.6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--black);
}

.hero-title em {
  font-style: italic;
  color: var(--emerald);
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 0.96rem;
  line-height: 1.68;
  color: var(--ink-muted);
  max-width: 38ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
}

.act01-right {
  grid-column: 3;
  align-self: end;
  padding-bottom: 36px;
}

.hero-stat-block {
  border-left: 1px solid var(--gold);
  padding-left: 18px;
}

.hero-stat-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.hero-stat-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 8px;
}

.hero-stat-note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-muted);
}

/* ATO 02 — Ballet Anatômico */
.act-02 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.act02-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 8px;
}

.act02-meter {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.act02-meter-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.act02-meter-val {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--emerald);
  min-width: 3.4ch;
  text-align: right;
}

.callouts-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.anat-callout {
  position: absolute;
  width: min(260px, 24vw);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.anat-callout[data-side='left'] {
  left: 0;
  text-align: left;
}

.anat-callout[data-side='right'] {
  right: 0;
  text-align: right;
}

.anat-callout[data-slot='top'] {
  top: 21%;
}

.anat-callout[data-slot='bottom'] {
  top: 57%;
}

.anat-eyebrow {
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.anat-title {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 1.7vw, 1.75rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--black);
}

.anat-detail {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.mobile-callout-card {
  display: none;
}

/* ATO 03 — Consolidação Pós-Protocolo */
.act-03 {
  display: grid;
  grid-template-columns: minmax(280px, 450px) 1fr;
  align-items: center;
  gap: 24px;
}

.act03-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-bottom: 12px;
}

.act03-title {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--black);
}

.act03-title em {
  font-style: italic;
  color: var(--emerald);
}

.act03-lead {
  margin: 0 0 26px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 36ch;
}

.act03-right {
  grid-column: 3;
  align-self: end;
  padding-bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 10px;
}

.compare-hold-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--emerald);
  background: var(--white);
  color: var(--emerald);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.compare-hold-btn:hover {
  background: var(--sand);
}

.compare-hold-btn.is-comparing {
  background: var(--black);
  border-color: var(--black);
  color: var(--gold-soft);
  transform: scale(0.98);
}

.compare-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
}

.compare-hint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-muted);
  max-width: 38ch;
}

/* Rodapé do palco sticky (Barra de progresso em 3 segmentos) */
.stage-footer {
  position: relative;
  z-index: 25;
  flex: 0 0 auto;
  min-height: 58px;
  max-width: 1440px;
  width: 100%;
  margin-inline: auto;
  padding: 10px clamp(20px, 3.2vw, 48px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid rgba(17, 18, 17, 0.06);
  background: rgba(255, 255, 255, 0.96);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.3s ease;
}

.scroll-cue-text {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.scroll-cue-line {
  width: 34px;
  height: 1px;
  background: var(--gold);
  position: relative;
  overflow: hidden;
}

.scroll-cue-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--emerald);
  transform: translateX(-100%);
  animation: cueSlide 2.2s ease-in-out infinite;
}

@keyframes cueSlide {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

.progress-segments {
  display: flex;
  align-items: center;
  gap: 10px;
}

.seg {
  width: clamp(44px, 6vw, 76px);
  height: 2px;
  background: rgba(17, 18, 17, 0.12);
  overflow: hidden;
}

.seg-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
}

.stage-state-pill {
  justify-self: end;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(14, 77, 59, 0.2);
}

/* ==========================================================================
   SEÇÕES DA PÁGINA DE VENDAS (BEGE AREIA, MARFIM, ESMERALDA, BRANCO, PRETO)
   ========================================================================== */

.section {
  padding-block: clamp(76px, 9.5vw, 132px);
}

.section--sand {
  background-color: var(--sand);
  color: var(--ink);
}

.section--ivory {
  background-color: var(--ivory);
  color: var(--ink);
}

.section--white {
  background-color: var(--white);
  color: var(--ink);
}

.section--emerald {
  background-color: var(--emerald);
  color: var(--sand);
}

.section--black {
  background-color: var(--black);
  color: var(--sand);
}

.section-eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-index {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--emerald);
}

.section-line {
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.section-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.section-eyebrow-row--light .section-index,
.section-eyebrow-row--gold .section-index {
  color: var(--gold-soft);
}

.section-eyebrow-row--light .section-tag,
.section-eyebrow-row--gold .section-tag {
  color: rgba(244, 239, 230, 0.78);
}

.display-h2 {
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.6vw, 3.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--black);
}

.display-h2 em {
  font-style: italic;
  color: var(--emerald);
}

.display-h2--light {
  color: var(--sand);
}

.display-h2--light em {
  color: var(--gold-soft);
}

.body-large {
  margin: 0 0 22px;
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--ink);
}

.body-regular {
  margin: 0 0 24px;
  font-size: 0.96rem;
  line-height: 1.72;
  color: var(--ink-muted);
}

.body-light {
  margin: 0;
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(244, 239, 230, 0.82);
}

/* SEÇÃO 02 — FILOSOFIA */
.philosophy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
}

.pillars-list {
  margin-top: 34px;
  border-top: 1px solid var(--border-light);
}

.pillar-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding-block: 22px;
  border-bottom: 1px solid var(--border-light);
}

.pillar-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
  padding-top: 2px;
}

.pillar-item h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--black);
}

.pillar-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--ink-muted);
}

.editorial-photo-frame {
  position: relative;
  overflow: hidden;
  background: var(--sand-deep);
}

.editorial-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.editorial-photo-frame:hover img {
  transform: scale(1.025);
}

.editorial-photo-frame--gold {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border-gold);
}

.editorial-photo-frame--emerald {
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(14, 77, 59, 0.25);
}

/* SEÇÃO 03 — PROCEDIMENTOS */
.section-header-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: 48px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: transparent;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.filter-tab:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.filter-tab.is-active {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--white);
}

.procedures-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.proc-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  transition: transform 0.28s var(--ease-out), border-color 0.28s ease;
}

.proc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.proc-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold);
}

.proc-card:hover::before {
  transform: scaleX(1);
}

.proc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.proc-num {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold);
}

.proc-cat {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
}

.proc-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--black);
}

.proc-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

.proc-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.proc-meta strong {
  color: var(--black);
  font-weight: 500;
}

.proc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-top: 14px;
}

.proc-cta:hover {
  color: var(--black);
}

/* SEÇÃO 04 — JORNADA EM VERDE ESMERALDA */
.emerald-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: 56px;
}

.journey-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.journey-step {
  border-top: 1px solid rgba(197, 160, 89, 0.45);
  padding-top: 24px;
}

.journey-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--gold-soft);
  margin-bottom: 14px;
  line-height: 1;
}

.journey-step h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
}

.journey-step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.66;
  color: rgba(244, 239, 230, 0.78);
}

/* SEÇÃO 05 — ESPECIALISTA */
.specialist-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
}

.specialist-role {
  margin: -10px 0 26px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--emerald);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin: 30px 0 34px;
}

.credential-card {
  padding: 18px 16px;
  background: var(--ivory);
  border: 1px solid var(--border-light);
  min-width: 0;
}

.credential-card dt {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.credential-card dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black);
  overflow-wrap: break-word;
}

/* SEÇÃO 06 — O ESPAÇO */
.space-header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px 64px;
  align-items: end;
  margin-bottom: 42px;
}

.space-meta {
  display: grid;
  gap: 18px;
  border-left: 1px solid var(--gold);
  padding-left: 24px;
}

.space-meta-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 4px;
}

.space-meta strong {
  font-weight: 400;
  font-size: 0.96rem;
  color: var(--black);
}

.space-photo-wide {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.space-photo-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.space-photo-wide:hover img {
  transform: scale(1.02);
}

/* SEÇÃO 07 — FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--border-light);
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-trigger {
  width: 100%;
  padding: 24px 0;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  cursor: pointer;
}

.faq-question {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--black);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  font-size: 1.1rem;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--white);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease-out);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel-inner p {
  margin: 0 0 24px;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* SEÇÃO 08 — AGENDAMENTO & FOOTER (PRETO OBSIDIANA) */
.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: start;
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.22);
}

.booking-direct-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(244, 239, 230, 0.14);
}

.meta-gold {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.booking-direct-info p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--sand);
}

.booking-form {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(197, 160, 89, 0.28);
  padding: clamp(26px, 3.2vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.form-field input,
.form-field select {
  height: 48px;
  padding: 0 16px;
  background: rgba(17, 18, 17, 0.75);
  border: 1px solid rgba(244, 239, 230, 0.2);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-field input::placeholder {
  color: rgba(244, 239, 230, 0.45);
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--gold);
}

.form-feedback {
  margin: 0;
  min-height: 20px;
  font-size: 0.84rem;
  color: var(--gold-soft);
}

.site-footer {
  padding-top: 42px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  color: var(--white);
}

.footer-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.86rem;
  color: var(--gold-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
}

.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.72);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-soft);
}

.footer-legal {
  margin: 0;
  font-size: 0.76rem;
  color: rgba(244, 239, 230, 0.56);
  text-align: right;
  max-width: 44ch;
}

/* ==========================================================================
   RESPONSIVO (TABLET E MOBILE)
   ========================================================================== */

@media (max-width: 1120px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .procedures-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .act-01,
  .act-03 {
    grid-template-columns: minmax(250px, 340px) 1fr;
  }

  .act01-right,
  .act03-right {
    display: none;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 68px;
  }

  .brand-name {
    font-size: clamp(0.86rem, 3.8vw, 1.08rem);
    letter-spacing: 0.08em;
  }

  .morph-runway {
    height: 360vh;
  }

  .rail-left,
  .rail-right,
  .callout-svg,
  .callouts-layer {
    display: none;
  }

  .btn-pill--header {
    display: none;
  }

  .stage-shell {
    align-items: flex-start;
    padding-top: calc(var(--header-h) + 8px);
    padding-bottom: 6px;
  }

  .portrait-frame {
    height: clamp(320px, 47svh, 420px);
    max-height: 49svh;
    transform: none;
  }

  .act-overlay {
    inset: var(--header-h) 18px 12px;
  }

  .act-01,
  .act-03 {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
  }

  .act01-left,
  .act03-left {
    width: 100%;
    padding: 14px 4px 6px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.96) 18%, #ffffff 36%);
  }

  .kicker-gold,
  .kicker-emerald {
    margin-bottom: 6px;
    font-size: 0.64rem;
    letter-spacing: 0.18em;
  }

  .hero-title {
    font-size: clamp(1.85rem, 7.2vw, 2.35rem);
    line-height: 1.04;
    margin-bottom: 8px;
  }

  .act03-title {
    font-size: clamp(1.75rem, 6.8vw, 2.2rem);
    line-height: 1.05;
    margin-bottom: 8px;
  }

  .hero-lead {
    font-size: 0.84rem;
    line-height: 1.48;
    margin-bottom: 14px;
    max-width: none;
  }

  .act03-lead {
    display: none;
  }

  .hero-cta-row {
    gap: 10px 18px;
  }

  .act03-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 6px;
  }

  .act03-actions .btn-pill,
  .act03-actions .compare-hold-btn {
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.69rem;
    letter-spacing: 0.11em;
    white-space: nowrap;
  }

  .compare-hint {
    display: none;
  }

  .act02-header {
    padding-top: 2px;
    align-items: center;
  }

  .act02-header .kicker-gold {
    margin-bottom: 0;
  }

  .act02-meter {
    gap: 8px;
  }

  .act02-meter-label {
    display: none;
  }

  .act02-meter-val {
    font-size: 1.45rem;
  }

  .mobile-callout-card {
    display: block;
    margin-top: auto;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.96);
    border-left: 2px solid var(--gold);
    border-top: 1px solid var(--border-light);
  }

  .mc-eyebrow {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2px;
  }

  .mc-title {
    display: block;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.32rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 3px;
  }

  .mc-detail {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--ink-muted);
  }

  .mobile-nav {
    gap: 6px;
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 1.75rem;
  }

  .filter-tab {
    min-height: 44px;
    padding: 0 16px;
  }

  .proc-cta {
    min-height: 44px;
    margin-top: 6px;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 4px 20px;
  }

  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .booking-form .btn-pill {
    padding: 0 16px;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }

  .philosophy-grid,
  .emerald-head,
  .specialist-grid,
  .space-header,
  .faq-layout,
  .booking-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .procedures-grid,
  .journey-grid,
  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    text-align: left;
  }

  .stage-footer {
    min-height: 52px;
    padding-block: 8px;
    grid-template-columns: auto 1fr;
  }

  .scroll-cue {
    display: none;
  }

  .progress-segments {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
