/* ============================================================
   DR. RAFAEL MONTEIRO — Odontologia Estética
   Identidade: elegância editorial, tons naturais, detalhes dourados
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ivory: #F6F3EE;
  --white: #FFFFFF;
  --green: #173D36;
  --green-soft: #1E4A41;
  --sage: #8FA89E;
  --sage-light: #E4EAE6;
  --gold: #C7A978;
  --gold-soft: #E3D3B6;
  --graphite: #222624;
  --text: #2C312E;
  --text-muted: #5C645F;
  --text-on-dark: #EDE9E1;
  --text-on-dark-muted: #B9C4BD;

  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", "Inter", "Segoe UI", Arial, sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --shadow-soft: 0 18px 50px -22px rgba(23, 61, 54, 0.28);
  --shadow-card: 0 10px 34px -18px rgba(34, 38, 36, 0.22);
  --container: 1180px;
  --header-h: 84px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--ivory);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; color: var(--green); }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

::selection { background: var(--gold-soft); color: var(--graphite); }

/* ---------- Acessibilidade ---------- */
.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 200;
  background: var(--green); color: var(--white);
  padding: 0.6rem 1.2rem; border-radius: var(--radius);
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 12px; }

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Utilidades ---------- */
.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--sage);
  margin-bottom: 1rem;
}
.eyebrow-gold { color: var(--gold); }

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }

.section-head { max-width: 680px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-bottom: 1rem; }
.section-lead { color: var(--text-muted); font-size: 1.06rem; }
.section-head-light h2 { color: var(--text-on-dark); }
.section-head-light .section-lead { color: var(--text-on-dark-muted); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 0.9rem 1.8rem; border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out);
  cursor: pointer; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--green); color: var(--white); box-shadow: 0 12px 26px -14px rgba(23, 61, 54, 0.55); }
.btn-primary:hover { background: var(--green-soft); box-shadow: 0 16px 30px -14px rgba(23, 61, 54, 0.6); }

.btn-ghost { border-color: var(--sage); color: var(--green); background: transparent; }
.btn-ghost:hover { border-color: var(--green); background: rgba(23, 61, 54, 0.05); }

.btn-gold { background: var(--gold); color: var(--graphite); box-shadow: 0 12px 26px -14px rgba(199, 169, 120, 0.6); }
.btn-gold:hover { background: #D4B98C; }

.btn-lg { padding: 1.05rem 2.4rem; font-size: 1.02rem; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* ============================================================
   CABEÇALHO
   ============================================================ */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(246, 243, 238, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, height 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: rgba(143, 168, 158, 0.28);
  box-shadow: 0 8px 30px -18px rgba(34, 38, 36, 0.25);
}

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

.brand { display: inline-flex; align-items: center; gap: 0.8rem; }
.brand-monogram {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--gold); background: var(--green);
  border-radius: var(--radius);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--font-serif); font-size: 1.12rem; font-weight: 700; color: var(--green); }
.brand-role { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: clamp(1rem, 2vw, 1.75rem); }
.main-nav a {
  font-size: 0.92rem; font-weight: 600; color: var(--text);
  padding-block: 0.4rem; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }

.header-cta { white-space: nowrap; }

/* Hambúrguer */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; margin-left: auto; }
.nav-toggle-bar { width: 24px; height: 2px; background: var(--green); transition: transform 0.3s var(--ease-out), opacity 0.3s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; top: var(--header-h); z-index: 90;
  background: var(--ivory);
  padding: 2.5rem clamp(1.25rem, 6vw, 2.5rem);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out), visibility 0.35s;
  visibility: hidden;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); visibility: visible; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 2rem; }
.mobile-nav a:not(.btn) {
  display: block; padding: 0.85rem 0;
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--green);
  border-bottom: 1px solid rgba(143, 168, 158, 0.25);
}
.mobile-nav .btn { width: 100%; }
.mobile-nav-note { margin-top: 1.75rem; font-size: 0.88rem; color: var(--text-muted); line-height: 1.8; }

body.nav-open { overflow: hidden; }

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-arc {
  position: absolute; top: -30%; right: -12%;
  width: 62vw; height: 62vw; max-width: 900px; max-height: 900px;
  border: 1px solid rgba(199, 169, 120, 0.5);
  border-radius: 50%;
  pointer-events: none;
}
.hero-arc::after {
  content: ""; position: absolute; inset: 7%;
  border: 1px solid rgba(143, 168, 158, 0.28);
  border-radius: 50%;
}

.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.82fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  position: relative;
}

.hero-title { margin-bottom: 1.4rem; }
.hero-title em { font-style: italic; color: var(--gold); font-weight: 600; }
.hero-lead { font-size: 1.12rem; color: var(--text-muted); max-width: 34rem; margin-bottom: 2.1rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.4rem; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
.hero-facts li {
  position: relative; padding-left: 1.1rem;
  font-size: 0.88rem; font-weight: 600; color: var(--text-muted);
}
.hero-facts li::before {
  content: ""; position: absolute; left: 0; top: 0.52em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}

.hero-figure { position: relative; justify-self: end; width: min(100%, 420px); }
.hero-photo-frame {
  position: relative;
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero-photo-frame::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}
.hero-photo-frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.hero-photo-card {
  position: absolute; left: -14%; bottom: 9%;
  display: flex; flex-direction: column; gap: 0.2rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.hero-photo-card-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; color: var(--sage); text-transform: uppercase; }
.hero-photo-card-text { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: var(--green); line-height: 1.3; }

/* Animação de entrada da hero */
.hero-anim { opacity: 0; transform: translateY(24px); animation: heroIn 0.9s var(--ease-out) forwards; animation-delay: calc(0.12s * var(--d, 0) + 0.1s); }
.hero-anim-img { opacity: 0; transform: translateY(18px) scale(0.985); animation: heroIn 1.1s var(--ease-out) forwards; animation-delay: 0.35s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ============================================================
   2. IDENTIFICAÇÃO
   ============================================================ */
.identify { background: var(--white); }

.identify-grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
}

.identify-options { display: flex; flex-direction: column; }
.identify-option {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.15rem 1.25rem;
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--text-muted);
  text-align: left;
  border-bottom: 1px solid rgba(143, 168, 158, 0.25);
  transition: color 0.25s, background-color 0.25s, padding-left 0.25s var(--ease-out);
}
.identify-option:first-child { border-top: 1px solid rgba(143, 168, 158, 0.25); }
.identify-option-num {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--sage);
  transition: color 0.25s;
}
.identify-option:hover { color: var(--green); background: rgba(246, 243, 238, 0.7); }
.identify-option.is-active { color: var(--green); background: var(--ivory); padding-left: 1.6rem; }
.identify-option.is-active .identify-option-num { color: var(--gold); }

.identify-panel {
  background: var(--green);
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-soft);
}
.identify-quote {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.35;
  color: var(--white); margin-bottom: 1.1rem;
}
.identify-desc { color: var(--text-on-dark-muted); margin-bottom: 1.75rem; }
.identify-solutions-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.7rem;
}
.identify-solutions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.identify-solutions li {
  font-size: 0.85rem; font-weight: 600;
  padding: 0.42rem 0.9rem;
  border: 1px solid rgba(199, 169, 120, 0.45);
  border-radius: 100px;
  color: var(--text-on-dark);
}
.identify-cta {
  margin-top: auto; align-self: flex-start;
  font-weight: 700; font-size: 0.95rem; color: var(--gold);
  border-bottom: 1px solid rgba(199, 169, 120, 0.5);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.identify-cta:hover { color: var(--gold-soft); border-color: var(--gold-soft); }

.identify-panel.is-switching .identify-quote,
.identify-panel.is-switching .identify-desc,
.identify-panel.is-switching .identify-solutions { opacity: 0; transform: translateY(6px); }
.identify-quote, .identify-desc, .identify-solutions {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

/* ============================================================
   3. SOBRE
   ============================================================ */
.about-inner {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
}

.about-figure { position: relative; }
.about-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.about-photo-frame img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.about-figure::before {
  content: ""; position: absolute; top: -18px; left: -18px;
  width: 45%; height: 55%;
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about-stat {
  position: absolute; right: -8%; bottom: 7%;
  display: flex; flex-direction: column;
  background: var(--white);
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-card);
}
.about-stat-number { font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; color: var(--green); line-height: 1.1; }
.about-stat-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }

.about-content h2 { margin-bottom: 1.6rem; max-width: 22ch; }
.about-quote p {
  font-size: 1.06rem; color: var(--text-muted); margin-bottom: 1rem;
}
.about-quote { border-left: 2px solid var(--gold-soft); padding-left: 1.5rem; margin-bottom: 1.8rem; }

.about-signature { display: flex; flex-direction: column; margin-bottom: 2rem; }
.about-signature-name { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; font-style: italic; color: var(--green); }
.about-signature-cro { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; color: var(--sage); text-transform: uppercase; }

.about-credentials { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.5rem; }
.about-credentials li {
  position: relative; padding-left: 1.3rem;
  font-size: 0.92rem; font-weight: 600; color: var(--text);
}
.about-credentials li::before {
  content: ""; position: absolute; left: 0; top: 0.58em;
  width: 8px; height: 1.5px; background: var(--gold);
}

/* ============================================================
   4. TRATAMENTOS
   ============================================================ */
.treatments { background: var(--white); }

.treatments-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}
.treatment-card {
  display: flex; flex-direction: column;
  background: var(--ivory);
  border: 1px solid rgba(143, 168, 158, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.treatment-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(199, 169, 120, 0.45);
}
.treatment-index {
  font-family: var(--font-serif); font-size: 0.95rem; font-weight: 600; color: var(--gold);
  letter-spacing: 0.1em; margin-bottom: 1.1rem;
}
.treatment-card h3 { font-size: 1.28rem; margin-bottom: 0.7rem; }
.treatment-card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1.4rem; }
.treatment-more {
  margin-top: auto; align-self: flex-start;
  font-size: 0.88rem; font-weight: 700; color: var(--green);
  border-bottom: 1px solid var(--sage);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.treatment-more:hover { color: var(--gold); border-color: var(--gold); }

.treatments-note {
  margin-top: 2.5rem; font-size: 0.88rem; color: var(--text-muted);
  max-width: 620px;
}

/* ============================================================
   5. MÉTODO 360°
   ============================================================ */
.method {
  position: relative;
  background: var(--green);
  overflow: hidden;
}
.method-arc {
  position: absolute; bottom: -42%; left: -14%;
  width: 58vw; height: 58vw; max-width: 820px; max-height: 820px;
  border: 1px solid rgba(199, 169, 120, 0.28);
  border-radius: 50%;
  pointer-events: none;
}
.method .eyebrow { color: var(--gold); }

.method-steps { position: relative; margin-top: 3.5rem; }

.method-line {
  position: absolute; top: 7px; left: 0; right: 0;
  height: 2px; background: rgba(237, 233, 225, 0.16);
  border-radius: 2px;
}
.method-line-fill {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  border-radius: 2px;
  transition: width 0.25s linear;
}

.method-list {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}
.method-step { position: relative; padding-top: 2.4rem; }
.method-step-dot {
  position: absolute; top: 0; left: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--sage);
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.method-step.is-passed .method-step-dot {
  background: var(--gold); border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(199, 169, 120, 0.18);
}
.method-step-num {
  display: block;
  font-family: var(--font-serif); font-size: 2.6rem; font-weight: 500; line-height: 1;
  color: rgba(199, 169, 120, 0.55);
  margin-bottom: 0.7rem;
}
.method-step h3 { color: var(--text-on-dark); font-size: 1.3rem; margin-bottom: 0.5rem; }
.method-step p { font-size: 0.94rem; color: var(--text-on-dark-muted); }

.method-cta { margin-top: 3.5rem; }

/* ============================================================
   6. EXPERIÊNCIA
   ============================================================ */
.experience-inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.experience-content h2 { max-width: 20ch; margin-bottom: 1rem; }
.experience-content .section-lead { margin-bottom: 2rem; }

.experience-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1.5rem; }
.experience-list li {
  position: relative; padding-left: 1.7rem;
  font-size: 0.95rem; font-weight: 600;
}
.experience-list li::before {
  content: ""; position: absolute; left: 0; top: 0.32em;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--sage-light);
  border: 1px solid var(--sage);
}
.experience-list li::after {
  content: ""; position: absolute; left: 4.5px; top: 0.58em;
  width: 6px; height: 3.5px;
  border-left: 1.6px solid var(--green);
  border-bottom: 1.6px solid var(--green);
  transform: rotate(-45deg);
}

.experience-photo-frame {
  border-radius: var(--radius-lg) var(--radius-lg) 160px var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.experience-photo-frame img { width: 100%; aspect-ratio: 5 / 4.1; object-fit: cover; }
.experience-caption {
  margin-top: 1.1rem;
  font-family: var(--font-serif); font-style: italic; font-size: 1.05rem;
  color: var(--text-muted);
}

/* ============================================================
   7. RESULTADOS
   ============================================================ */
.results { background: var(--white); }

.results-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.case figcaption { padding-top: 1.2rem; }
.case h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.case figcaption p { font-size: 0.9rem; color: var(--text-muted); }

/* Comparador antes/depois */
.ba-compare {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.ba-side {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
/* Placeholders sofisticados — trocar por <img> dos casos reais */
.ba-before {
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(143, 168, 158, 0.35), transparent 60%),
    linear-gradient(155deg, #A9B5AE 0%, #8E9A93 55%, #7C8983 100%);
}
.ba-after {
  background:
    radial-gradient(120% 90% at 80% 15%, rgba(227, 211, 182, 0.5), transparent 60%),
    linear-gradient(155deg, #F1EBE0 0%, #E2D6C0 55%, #D4C3A4 100%);
  clip-path: inset(0 0 0 50%);
}
.ba-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white); background: rgba(34, 38, 36, 0.55);
  padding: 0.3rem 0.7rem; border-radius: 100px;
}
.ba-tag-after { left: auto; right: 12px; color: var(--graphite); background: rgba(255, 255, 255, 0.72); }
.ba-placeholder-note {
  font-size: 0.78rem; font-weight: 600; text-align: center; line-height: 1.5;
  color: rgba(34, 38, 36, 0.62);
  padding: 0.7rem 1rem;
  border: 1px dashed rgba(34, 38, 36, 0.35);
  border-radius: var(--radius);
  max-width: 78%;
}
.ba-before .ba-placeholder-note { color: rgba(255, 255, 255, 0.85); border-color: rgba(255, 255, 255, 0.5); }

.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: var(--white);
  transform: translateX(-50%);
  box-shadow: 0 0 14px rgba(34, 38, 36, 0.3);
}
.ba-handle-grip {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--white);
  box-shadow: 0 6px 18px -6px rgba(34, 38, 36, 0.45);
}
.ba-handle-grip::before, .ba-handle-grip::after {
  content: ""; position: absolute; top: 50%;
  width: 7px; height: 7px;
  border-top: 2px solid var(--green); border-left: 2px solid var(--green);
}
.ba-handle-grip::before { left: 9px; transform: translateY(-50%) rotate(-45deg); }
.ba-handle-grip::after { right: 9px; transform: translateY(-50%) rotate(135deg); }

.ba-range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize;
  margin: 0;
}
.ba-range:focus-visible ~ .ba-handle .ba-handle-grip,
.ba-compare:has(.ba-range:focus-visible) .ba-handle-grip { outline: 2px solid var(--gold); outline-offset: 3px; }

.results-disclaimer {
  margin-top: 2.75rem;
  font-size: 0.88rem; color: var(--text-muted);
  max-width: 720px;
  padding-left: 1.25rem;
  border-left: 2px solid var(--gold-soft);
}

/* ============================================================
   8. DEPOIMENTOS
   ============================================================ */
.testimonials { background: var(--sage-light); }
.testimonials .section-head { margin-inline: auto; text-align: center; }

.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}
.testimonial {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.4rem 1.9rem 1.9rem;
  box-shadow: var(--shadow-card);
}
.testimonial::before {
  content: "“";
  position: absolute; top: 0.4rem; left: 1.4rem;
  font-family: var(--font-serif); font-size: 4rem; line-height: 1;
  color: var(--gold-soft);
}
.testimonial p {
  font-family: var(--font-serif); font-size: 1.18rem; font-weight: 500; line-height: 1.5;
  color: var(--text);
  margin-bottom: 1.4rem;
}
.testimonial footer { display: flex; flex-direction: column; }
.testimonial cite { font-style: normal; font-weight: 700; font-size: 0.95rem; color: var(--green); }
.testimonial footer span { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; color: var(--sage); text-transform: uppercase; }

.testimonials-note { margin-top: 2rem; text-align: center; font-size: 0.82rem; color: var(--text-muted); }

/* ============================================================
   9. PRIMEIRA CONSULTA
   ============================================================ */
.first-visit { background: var(--white); }
.first-visit-inner {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.first-visit-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.first-visit-head h2 { margin-bottom: 1rem; max-width: 18ch; }
.first-visit-head .section-lead { margin-bottom: 2rem; }

.first-visit-steps { display: flex; flex-direction: column; }
.first-visit-steps li {
  display: flex; gap: 1.6rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(143, 168, 158, 0.25);
}
.first-visit-steps li:first-child { padding-top: 0.5rem; }
.first-visit-num {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; color: var(--gold);
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
}
.first-visit-steps h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.first-visit-steps p { font-size: 0.95rem; color: var(--text-muted); }

/* ============================================================
   10. FAQ
   ============================================================ */
.faq-inner {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.faq-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-head h2 { margin-bottom: 1rem; }
.faq-head .section-lead { margin-bottom: 2rem; }

.faq-item {
  background: var(--white);
  border: 1px solid rgba(143, 168, 158, 0.22);
  border-radius: var(--radius-lg);
  margin-bottom: 0.8rem;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item[open] { border-color: rgba(199, 169, 120, 0.5); box-shadow: var(--shadow-card); }

.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  list-style: none; cursor: pointer;
  padding: 1.2rem 1.4rem;
  font-family: var(--font-serif); font-size: 1.18rem; font-weight: 600; color: var(--green);
  transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-soft); }

.faq-icon { position: relative; flex: 0 0 auto; width: 14px; height: 14px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--gold);
  transition: transform 0.3s var(--ease-out);
}
.faq-icon::before { width: 14px; height: 1.6px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1.6px; height: 14px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-answer { padding: 0 1.4rem 1.3rem; }
.faq-answer p { font-size: 0.95rem; color: var(--text-muted); }

/* ============================================================
   11. CHAMADA FINAL
   ============================================================ */
.final-cta {
  position: relative;
  background: var(--green);
  padding-block: clamp(5rem, 10vw, 8rem);
  overflow: hidden;
  text-align: center;
}
.final-cta-arc {
  position: absolute; top: -55%; left: 50%;
  transform: translateX(-50%);
  width: 120vw; height: 120vw; max-width: 1500px; max-height: 1500px;
  border: 1px solid rgba(199, 169, 120, 0.3);
  border-radius: 50%;
  pointer-events: none;
}
.final-cta-arc::after {
  content: ""; position: absolute; inset: 4%;
  border: 1px solid rgba(199, 169, 120, 0.16);
  border-radius: 50%;
}
.final-cta-inner { position: relative; max-width: 760px; }
.final-cta h2 { color: var(--text-on-dark); font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: 1.2rem; }
.final-cta p { color: var(--text-on-dark-muted); font-size: 1.08rem; margin-bottom: 2.2rem; }
.final-cta-note { margin-top: 1.4rem; margin-bottom: 0 !important; font-size: 0.85rem !important; letter-spacing: 0.04em; color: var(--sage) !important; }

/* ============================================================
   12. CONTATO
   ============================================================ */
.contact { background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-name { font-size: 1.7rem; }
.contact-role { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.4rem; margin-bottom: 2.2rem; }
.contact-details dt {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.15rem;
}
.contact-details dd { font-size: 1rem; color: var(--text); }
.contact-details a { font-weight: 600; color: var(--green); border-bottom: 1px solid rgba(143, 168, 158, 0.5); transition: color 0.25s, border-color 0.25s; }
.contact-details a:hover { color: var(--gold); border-color: var(--gold); }

.contact-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.contact-side { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-map {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16 / 8.5;
  background: var(--sage-light);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-form {
  background: var(--ivory);
  border: 1px solid rgba(143, 168, 158, 0.22);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.contact-form h3 { margin-bottom: 0.3rem; }
.contact-form-note { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--green); margin-bottom: 0.35rem; }
.form-field input, .form-field textarea {
  width: 100%;
  font: inherit; font-size: 0.95rem; color: var(--text);
  background: var(--white);
  border: 1px solid rgba(143, 168, 158, 0.45);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field input:hover, .form-field textarea:hover { border-color: var(--sage); }
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(23, 61, 54, 0.12);
}
.form-field.has-error input, .form-field.has-error textarea { border-color: #B0553D; }
.form-error { display: block; font-size: 0.8rem; font-weight: 600; color: #A34A33; margin-top: 0.3rem; min-height: 0; }
.form-success { margin-top: 1rem; font-size: 0.9rem; font-weight: 600; color: var(--green); }

/* ============================================================
   13. RODAPÉ
   ============================================================ */
.site-footer {
  background: var(--graphite);
  color: var(--text-on-dark-muted);
  padding-top: clamp(3.5rem, 6vw, 5rem);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(237, 233, 225, 0.12);
}
.brand-footer .brand-name { color: var(--text-on-dark); }
.footer-tagline {
  margin-top: 1.2rem;
  font-family: var(--font-serif); font-style: italic; font-size: 1.15rem;
  color: var(--gold-soft);
}
.footer-cro { margin-top: 0.4rem; font-size: 0.82rem; }

.site-footer h3 {
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage);
  margin-bottom: 1.1rem;
}
.footer-nav ul, .footer-contact ul, .footer-legal-links ul { display: flex; flex-direction: column; gap: 0.55rem; }
.site-footer a, .footer-legal-btn {
  font-size: 0.92rem; color: var(--text-on-dark-muted);
  transition: color 0.25s;
  text-align: left; padding: 0;
}
.site-footer a:hover, .footer-legal-btn:hover { color: var(--gold-soft); }
.footer-contact li { font-size: 0.92rem; line-height: 1.6; }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem;
  padding-block: 1.6rem;
  font-size: 0.8rem;
}
.footer-demo-note { max-width: 560px; color: rgba(185, 196, 189, 0.75); }

/* ============================================================
   ELEMENTOS FLUTUANTES
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--green); color: var(--white);
  padding: 0.8rem 1.1rem;
  border-radius: 100px;
  box-shadow: 0 14px 34px -12px rgba(23, 61, 54, 0.6);
  transition: transform 0.3s var(--ease-out), background-color 0.3s;
}
.wa-float:hover { transform: translateY(-3px); background: var(--green-soft); }
.wa-float-label { font-size: 0.85rem; font-weight: 700; }

.back-to-top {
  position: fixed; right: 22px; bottom: 88px; z-index: 80;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--white); color: var(--green);
  border: 1px solid rgba(143, 168, 158, 0.4);
  border-radius: 50%;
  box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s var(--ease-out), border-color 0.3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Aviso de cookies ---------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: 20px; z-index: 110;
  transform: translateX(-50%);
  width: min(calc(100% - 2.5rem), 680px);
  display: flex; align-items: center; gap: 1.25rem;
  background: var(--white);
  border: 1px solid rgba(143, 168, 158, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 50px -18px rgba(34, 38, 36, 0.35);
  padding: 1.1rem 1.4rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: 0.85rem; color: var(--text-muted); }
.cookie-link { font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 2px; font-size: inherit; }
.cookie-link:hover { color: var(--gold); }
.cookie-actions { display: flex; flex-direction: column; gap: 0.5rem; flex: 0 0 auto; }
.cookie-actions .btn { white-space: nowrap; }

/* ---------- Modais ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1.25rem; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(23, 34, 31, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.modal-card {
  position: relative;
  width: min(100%, 620px);
  max-height: min(84vh, 760px);
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--gold);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 30px 80px -25px rgba(0, 0, 0, 0.45);
  animation: modalIn 0.35s var(--ease-out);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.modal-close {
  position: absolute; top: 14px; right: 14px;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: var(--text-muted);
  transition: background-color 0.25s, color 0.25s;
}
.modal-close:hover { background: var(--ivory); color: var(--green); }

.modal-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 0.5rem;
}
.modal-title { font-size: 1.75rem; margin-bottom: 1.1rem; padding-right: 2rem; }
.modal-body p { font-size: 0.96rem; color: var(--text-muted); margin-bottom: 1rem; }
.modal-body h4 {
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
  margin: 1.4rem 0 0.6rem;
}
.modal-body ul { margin-bottom: 1rem; }
.modal-body li {
  position: relative; padding-left: 1.2rem;
  font-size: 0.94rem; color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.modal-body li::before {
  content: ""; position: absolute; left: 0; top: 0.65em;
  width: 7px; height: 1.5px; background: var(--gold);
}
.modal-disclaimer {
  font-size: 0.82rem; color: var(--text-muted);
  border-left: 2px solid var(--gold-soft);
  padding-left: 1rem;
  margin: 1.5rem 0;
}
body.modal-open { overflow: hidden; }

/* ============================================================
   ANIMAÇÕES DE ROLAGEM
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.treatments-grid .reveal:nth-child(2), .testimonials-grid .reveal:nth-child(2), .results-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.treatments-grid .reveal:nth-child(3), .testimonials-grid .reveal:nth-child(3), .results-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.treatments-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 1100px) {
  .treatments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-cta { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }

  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { justify-self: center; width: min(100%, 380px); order: -1; }
  .hero-photo-card { left: -6%; }
  .hero-content { text-align: left; }

  .identify-grid { grid-template-columns: 1fr; }

  .about-inner { grid-template-columns: 1fr; }
  .about-figure { max-width: 460px; }
  .about-stat { right: -4%; }

  .method-list { grid-template-columns: 1fr; gap: 0; }
  .method-line { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .method-line-fill { width: 100% !important; height: var(--fill, 0%); transition: height 0.25s linear; }
  .method-step { padding: 0 0 2.4rem 2.6rem; }
  .method-step:last-child { padding-bottom: 0.5rem; }
  .method-step-dot { top: 4px; }

  .experience-inner { grid-template-columns: 1fr; }
  .experience-figure { max-width: 560px; }

  .results-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }

  .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }

  .first-visit-inner, .faq-inner { grid-template-columns: 1fr; }
  .first-visit-head, .faq-head { position: static; }

  .contact-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(2.2rem, 9vw, 2.9rem); }

  .brand-role { display: none; }
  .brand-monogram { width: 40px; height: 40px; font-size: 1rem; }

  .hero-photo-card { left: 0; bottom: 5%; padding: 0.8rem 1rem; }
  .hero-actions .btn { width: 100%; }
  .hero-facts { flex-direction: column; gap: 0.55rem; }

  .identify-option { font-size: 1.15rem; padding: 1rem 0.9rem; }

  .about-credentials { grid-template-columns: 1fr; }
  .about-stat { position: static; margin-top: 1.25rem; display: inline-flex; }
  .about-figure { display: flex; flex-direction: column; align-items: flex-start; }
  .about-figure::before { display: none; }
  .about-photo-frame { width: 100%; }

  .treatments-grid { grid-template-columns: 1fr; }

  .experience-list { grid-template-columns: 1fr; }

  .first-visit-steps li { gap: 1.1rem; }
  .first-visit-num { width: 44px; height: 44px; font-size: 1.25rem; }

  .faq-item summary { font-size: 1.05rem; padding: 1.05rem 1.1rem; }
  .faq-answer { padding: 0 1.1rem 1.1rem; }

  .contact-actions .btn, .first-visit-head .btn, .faq-head .btn { width: 100%; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }

  .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie-actions { flex-direction: row; }
  .cookie-actions .btn { flex: 1; }

  .wa-float { right: 16px; bottom: 16px; padding: 0.85rem; }
  .wa-float-label { display: none; }
  .back-to-top { right: 16px; bottom: 76px; width: 42px; height: 42px; }
}

/* ============================================================
   MOVIMENTO REDUZIDO
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-anim, .hero-anim-img, .reveal { opacity: 1 !important; transform: none !important; }
  .method-line-fill { width: 100% !important; height: 100% !important; }
}
