/* ============================================================
   PRIVILEGE ODONTOLOGIA — Estética e Ortodontia
   Design System v1.0 · Garanhuns, PE
   Luxo sóbrio: preto profundo, dourado como acento, respiro.
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Marca */
  --color-black:       #090909;
  --color-black-soft:  #151515;
  --color-graphite:    #242424;
  --color-gold:        #C7A33A;
  --color-gold-light:  #E3C768;
  --color-gold-dark:   #8C6A14;
  --color-ivory:       #F5F1E8;
  --color-sand:        #D9D0C1;
  --color-gray-warm:   #A8A199;
  --color-white:       #FFFFFF;

  /* Funcionais */
  --color-success: #2F6B4F;
  --color-warning: #A66A1F;
  --color-error:   #8F3B3B;
  --color-info:    #385B78;

  /* Tipografia */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* Raios */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Espaçamento (base 4px) */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
  --space-5: 24px;  --space-6: 32px;  --space-7: 40px;  --space-8: 48px;
  --space-9: 64px;  --space-10: 80px; --space-11: 96px; --space-12: 128px;

  /* Sombras */
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, .14);
  --shadow-premium: 0 18px 50px rgba(0, 0, 0, .24), 0 2px 8px rgba(0, 0, 0, .12);

  /* Gradientes */
  --grad-gold: linear-gradient(135deg, #8C6A14 0%, #C7A33A 35%, #E3C768 55%, #A87917 100%);
  --grad-black: linear-gradient(180deg, #151515 0%, #090909 100%);

  /* Layout */
  --container: 1280px;
  --gutter: 64px;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --micro: 180ms;
  --entrance: 620ms;
}

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

html {
  scroll-behavior: smooth;
  /* compensa o header fixo ao navegar por âncoras */
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-black);
  color: var(--color-ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.005em;
  color: var(--color-ivory);
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---------- 3. ESCALA TIPOGRÁFICA ---------- */
.t-display-xl { font-family: var(--font-display); font-size: 72px; line-height: 1.00; font-weight: 600; }
.t-display-l  { font-family: var(--font-display); font-size: 56px; line-height: 1.05; font-weight: 600; }
.t-h1 { font-size: 44px; line-height: 1.10; }
.t-h2 { font-size: 36px; line-height: 1.15; }
.t-h3 { font-size: 28px; line-height: 1.20; }
.t-h4 { font-size: 22px; line-height: 1.25; }

.t-lead   { font-family: var(--font-body); font-size: 20px; line-height: 1.5; font-weight: 400; color: var(--color-sand); }
.t-body-l { font-size: 18px; line-height: 1.6; }
.t-body-s { font-size: 14px; line-height: 1.5; }
.t-caption{ font-size: 12px; line-height: 1.4; font-weight: 500; }

.t-overline {
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--color-gold);
}

.t-gold { color: var(--color-gold); }
.t-muted { color: var(--color-gray-warm); }
.t-sand { color: var(--color-sand); }

/* Palavra-chave em dourado dentro de títulos serifados */
.t-accent {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-gold); /* fallback */
}

/* Limite de leitura confortável (≈70 caracteres) */
.measure { max-width: 62ch; }
.measure-sm { max-width: 52ch; }

/* ---------- 4. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--space-12); position: relative; }
.section--tight { padding-block: var(--space-10); }

.section--black    { background: var(--color-black); }
.section--soft     { background: var(--grad-black); }
.section--graphite { background: var(--color-graphite); }

.section--ivory {
  background: var(--color-ivory);
  color: var(--color-black);
}
.section--ivory h1, .section--ivory h2,
.section--ivory h3, .section--ivory h4 { color: var(--color-black); }
.section--ivory .t-lead { color: #4A453E; }
.section--ivory .t-muted { color: #6B655C; }
.section--ivory .t-overline { color: var(--color-gold-dark); }

/* Linha dourada discreta no topo da seção */
.section--rule::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(199, 163, 58, .35) 30%,
    rgba(199, 163, 58, .55) 50%,
    rgba(199, 163, 58, .35) 70%,
    transparent 100%);
}

.section__head { margin-bottom: var(--space-10); max-width: 760px; }
.section__head .t-overline { display: block; margin-bottom: var(--space-4); }
.section__head p { margin-top: var(--space-5); }
.section__head--center { margin-inline: auto; text-align: center; }

/* ---------- 5. COMPONENTES: BOTÕES ---------- */
.button-primary,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: 48px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  border-radius: 6px;
  transition: background var(--micro) var(--ease),
              border-color var(--micro) var(--ease),
              color var(--micro) var(--ease),
              transform var(--micro) var(--ease);
  text-align: center;
}

.button-primary {
  background: var(--color-gold);
  color: var(--color-black);
  border: 1px solid var(--color-gold);
  padding: 14px 28px;
}
.button-primary:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  transform: translateY(-1px);
}

.button-secondary {
  background: transparent;
  color: var(--color-ivory);
  border: 1px solid rgba(227, 199, 104, .60);
  padding: 14px 28px;
}
.button-secondary:hover {
  border-color: var(--color-gold-light);
  background: rgba(199, 163, 58, .08);
}

.section--ivory .button-secondary {
  color: var(--color-black);
  border-color: rgba(140, 106, 20, .55);
}
.section--ivory .button-secondary:hover { background: rgba(199, 163, 58, .12); }

.button-ghost {
  background: transparent;
  color: var(--color-gold);
  border: 0;
  padding: 12px 0;
  min-height: 44px;
}
.button-ghost:hover { color: var(--color-gold-light); }

.button-block { width: 100%; }

/* ---------- 6. TAGS ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid rgba(199, 163, 58, .40);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
  background: rgba(199, 163, 58, .05);
}
.tag svg { width: 14px; height: 14px; }

/* ---------- 7. CARDS ---------- */
.card-dark {
  background: var(--color-black-soft);
  border: 1px solid rgba(199, 163, 58, .22);
  border-radius: 12px;
  padding: var(--space-6);
  transition: border-color 260ms var(--ease), transform 260ms var(--ease);
}
.card-dark:hover {
  border-color: rgba(199, 163, 58, .45);
  transform: translateY(-2px);
}

.card-light {
  background: var(--color-ivory);
  border: 1px solid rgba(9, 9, 9, .10);
  border-radius: 12px;
  padding: var(--space-6);
  color: var(--color-black);
}

/* ---------- 8. ÍCONES ---------- */
.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon--lg { width: 32px; height: 32px; }
.icon--sm { width: 18px; height: 18px; stroke-width: 1.8; }

.icon-frame {
  width: 56px;
  height: 56px;
  flex: none; /* impede que encolha quando usado dentro de um flex container */
  display: grid;
  place-items: center;
  border: 1px solid rgba(199, 163, 58, .32);
  border-radius: var(--radius-md);
  color: var(--color-gold);
  background: rgba(199, 163, 58, .05);
}
.section--ivory .icon-frame {
  border-color: rgba(140, 106, 20, .30);
  color: var(--color-gold-dark);
  background: rgba(199, 163, 58, .07);
}

/* ---------- 9. HEADER ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(9, 9, 9, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(199, 163, 58, .14);
  transition: background 260ms var(--ease), border-color 260ms var(--ease);
}
.site-header.is-scrolled {
  background: rgba(9, 9, 9, .96);
  border-bottom-color: rgba(199, 163, 58, .26);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 76px;
}

.logo { display: inline-flex; align-items: center; }
/* Lockup horizontal: 200px de largura respeita o mínimo digital do design system */
.logo img { height: 40px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-inline: auto;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-sand);
  padding: 8px 0;
  position: relative;
  transition: color var(--micro) var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease);
}
.nav a:hover { color: var(--color-ivory); }
.nav a:hover::after { transform: scaleX(1); }

.header__cta { display: inline-flex; }
.header__cta .icon { width: 18px; height: 18px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(199, 163, 58, .32);
  border-radius: var(--radius-sm);
  color: var(--color-gold);
  place-items: center;
}

.mobile-menu {
  display: none;
  border-top: 1px solid rgba(199, 163, 58, .16);
  background: rgba(9, 9, 9, .98);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list { padding: var(--space-4) 0 var(--space-6); }
.mobile-menu a {
  display: block;
  padding: 14px var(--gutter);
  font-size: 16px;
  color: var(--color-sand);
  border-bottom: 1px solid rgba(245, 241, 232, .06);
}
.mobile-menu .button-primary { margin: var(--space-5) var(--gutter) 0; }

/* ---------- 10. HERO ---------- */
.hero {
  position: relative;
  padding-top: calc(76px + var(--space-11));
  padding-bottom: var(--space-11);
  background: var(--color-black);
  overflow: hidden;
}

/* Arco dourado derivado do símbolo da marca */
.hero__arc {
  position: absolute;
  top: -18%;
  right: -14%;
  width: 780px;
  height: 780px;
  pointer-events: none;
  opacity: .5;
  z-index: 0;
}
.hero__glow {
  position: absolute;
  top: -220px;
  right: -180px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(199, 163, 58, .12) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: var(--space-11);
  align-items: center;
}

.hero__content .tag { margin-bottom: var(--space-6); }
.hero h1 { margin-bottom: var(--space-5); }
.hero__lead { margin-bottom: var(--space-8); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.hero__note {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-gray-warm);
  font-size: 14px;
}
.hero__note .icon { width: 16px; height: 16px; color: var(--color-gold); }

/* Composição de imagem do hero */
.hero__media { position: relative; }
.hero__media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(199, 163, 58, .28);
  box-shadow: var(--shadow-premium);
  aspect-ratio: 4 / 5;
  background: var(--color-black-soft);
}
.hero__media-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.hero__media-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,9,9,.06) 40%, rgba(9,9,9,.78) 100%);
}

.hero__badge {
  position: absolute;
  left: calc(var(--space-6) * -1);
  bottom: var(--space-8);
  z-index: 2;
  background: rgba(21, 21, 21, .94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(199, 163, 58, .38);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  max-width: 268px;
  box-shadow: var(--shadow-premium);
}
.hero__badge-top {
  display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.hero__badge-top .icon { color: var(--color-gold); }
.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
  color: var(--color-ivory);
}

/* ---------- 11. BARRA DE CREDIBILIDADE ---------- */
.trust {
  border-block: 1px solid rgba(199, 163, 58, .18);
  background: var(--color-black-soft);
  padding-block: var(--space-7);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.trust__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.trust__item .icon { color: var(--color-gold); margin-top: 2px; }
.trust__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  color: var(--color-ivory);
  margin-bottom: 2px;
}
.trust__item span { font-size: 13px; color: var(--color-gray-warm); line-height: 1.45; }

/* ---------- 12. SEÇÃO DE ABERTURA (INVERSÃO) ---------- */
.opening__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: var(--space-11);
  align-items: center;
}
.opening__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(199, 163, 58, .24);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-soft);
}
.opening__media img { width: 100%; height: 100%; object-fit: cover; }
.opening__text > * + * { margin-top: var(--space-5); }
.opening__pull {
  margin-top: var(--space-7);
  padding-left: var(--space-6);
  border-left: 1px solid rgba(199, 163, 58, .45);
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.35;
  color: var(--color-ivory);
}

/* ---------- 13. MÉTODO (3 PASSOS) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--color-black-soft);
  border: 1px solid rgba(199, 163, 58, .22);
  border-radius: 12px;
  padding: var(--space-7) var(--space-6) var(--space-6);
  transition: border-color 300ms var(--ease), transform 300ms var(--ease);
}
.step:hover { border-color: rgba(199, 163, 58, .48); transform: translateY(-3px); }

.step__num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--color-gold);
  display: block;
  margin-bottom: var(--space-5);
}
.step .icon-frame { margin-bottom: var(--space-5); }
.step h3 { margin-bottom: var(--space-3); }

.steps__closing {
  margin-top: var(--space-8);
  padding: var(--space-6);
  border: 1px solid rgba(199, 163, 58, .20);
  border-radius: var(--radius-md);
  background: rgba(199, 163, 58, .04);
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}
.steps__closing .icon { color: var(--color-gold); margin-top: 3px; }

/* ---------- 14. NOSSOS TRATAMENTOS ---------- */

/* Cabeçalho da seção com foto de apoio — layout próprio, não reaproveita
   .section__head para não afetar as demais seções que o usam. */
.treatments__head {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: var(--space-9);
  align-items: center;
  margin-bottom: var(--space-9);
}
.treatments__head-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(199, 163, 58, .30);
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-soft);
}
.treatments__head-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

.specialties {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.specialty {
  background: var(--color-white);
  border: 1px solid rgba(9, 9, 9, .10);
  border-radius: 12px;
  padding: var(--space-5);
  transition: border-color 260ms var(--ease), box-shadow 260ms var(--ease), transform 260ms var(--ease);
}
.specialty:hover {
  border-color: rgba(199, 163, 58, .55);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.specialty .icon-frame { width: 48px; height: 48px; margin-bottom: var(--space-4); }
.specialty h3 { font-size: 19px; line-height: 1.25; margin-bottom: var(--space-3); }
.specialty p { font-size: 14px; color: #5C564D; line-height: 1.6; }

/* ---------- 15. COMPARATIVO ---------- */
.compare {
  border: 1px solid rgba(199, 163, 58, .24);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-black-soft);
}
.compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}
.compare thead th {
  padding: var(--space-5) var(--space-6);
  text-align: left;
  background: rgba(199, 163, 58, .07);
  border-bottom: 1px solid rgba(199, 163, 58, .28);
  font-weight: 600;
  vertical-align: bottom;
}
.compare thead th:first-child { width: 26%; }
.compare__col-label {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 4px;
}
.compare__col-sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.compare thead th.is-featured .compare__col-label { color: var(--color-gold); }
.compare thead th.is-featured .compare__col-sub { color: var(--color-gold-dark); }
.compare thead th:not(.is-featured) .compare__col-sub { color: var(--color-gray-warm); }

.compare tbody th {
  padding: var(--space-5) var(--space-6);
  text-align: left;
  font-weight: 500;
  color: var(--color-sand);
  border-bottom: 1px solid rgba(245, 241, 232, .07);
  white-space: nowrap;
}
.compare tbody td {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid rgba(245, 241, 232, .07);
  color: var(--color-gray-warm);
  vertical-align: middle;
}
.compare tbody td.is-featured {
  color: var(--color-ivory);
  background: rgba(199, 163, 58, .045);
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td { border-bottom: 0; }

.compare__cell { display: flex; align-items: center; gap: var(--space-3); }
.compare__cell .icon { width: 18px; height: 18px; }
.compare__cell--yes .icon { color: var(--color-gold); }
.compare__cell--no .icon { color: #6E675E; }

.compare__note {
  margin-top: var(--space-6);
  color: var(--color-gray-warm);
  font-size: 14px;
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.compare__note .icon { color: var(--color-gold); width: 18px; height: 18px; margin-top: 2px; }

/* ---------- 16. DEPOIMENTOS (marquee) ---------- */
.reviews__meta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding: var(--space-3) var(--space-5);
  border: 1px solid rgba(199, 163, 58, .30);
  border-radius: var(--radius-pill);
  background: rgba(199, 163, 58, .05);
}
.stars { display: inline-flex; gap: 3px; color: var(--color-gold); }
.stars svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.reviews__meta span { font-size: 13px; color: var(--color-sand); }

.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee + .marquee { margin-top: var(--space-5); }
.marquee__track {
  display: flex;
  gap: var(--space-5);
  width: max-content;
  animation: marquee 68s linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.review {
  flex: none;
  width: 380px;
  background: var(--color-black-soft);
  border: 1px solid rgba(199, 163, 58, .20);
  border-radius: 12px;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.review p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-sand);
  flex: 1;
}
.review__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(245, 241, 232, .08);
}
.review__author { font-size: 13px; font-weight: 500; color: var(--color-ivory); }
.review__source { font-size: 11px; color: var(--color-gray-warm); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- 17. RESULTADOS ---------- */
.results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.result {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(199, 163, 58, .22);
  aspect-ratio: 3 / 4;
  background: var(--color-black-soft);
}
.result img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.result:hover img { transform: scale(1.04); }
.result figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: var(--space-8) var(--space-5) var(--space-4);
  background: linear-gradient(180deg, transparent, rgba(9, 9, 9, .92));
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--color-sand);
  font-weight: 500;
}

.results__note {
  margin-top: var(--space-6);
  font-size: 13px;
  color: var(--color-gray-warm);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.results__note .icon { width: 16px; height: 16px; color: var(--color-gold); margin-top: 2px; }

/* ---------- 18. TECNOLOGIA ---------- */
.tech__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--space-11);
  align-items: center;
}
.tech__list { margin-top: var(--space-7); display: grid; gap: var(--space-5); }
.tech__item { display: flex; gap: var(--space-5); align-items: flex-start; }
.tech__item .icon-frame { width: 48px; height: 48px; }
.tech__item h3 { font-size: 22px; margin-bottom: var(--space-2); }
.tech__item p { font-size: 15px; color: var(--color-gray-warm); }

.tech__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.tech__media figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(199, 163, 58, .24);
  aspect-ratio: 3 / 4;
}
.tech__media figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
.tech__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 19. DENTISTA ---------- */
.dentist__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: var(--space-11);
  align-items: center;
}
.dentist__media { position: relative; }
.dentist__portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(199, 163, 58, .28);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-premium);
}
.dentist__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }

.dentist__award {
  position: absolute;
  right: calc(var(--space-6) * -1);
  bottom: calc(var(--space-6) * -1);
  width: 168px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(199, 163, 58, .42);
  box-shadow: var(--shadow-premium);
}
.dentist__award img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.dentist__name { margin-bottom: var(--space-2); }
.dentist__role {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: var(--space-6);
}
.dentist__creds { margin: var(--space-7) 0; display: grid; gap: var(--space-4); }
.dentist__creds li {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  color: var(--color-sand);
  font-size: 16px;
  line-height: 1.55;
}
.dentist__creds .icon { color: var(--color-gold); width: 20px; height: 20px; margin-top: 3px; }

.dentist__quote {
  border-left: 1px solid rgba(199, 163, 58, .45);
  padding-left: var(--space-6);
  margin: 0;
}
.dentist__quote p {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.35;
  color: var(--color-ivory);
  margin-bottom: var(--space-3);
}
.dentist__quote footer { font-size: 13px; color: var(--color-gold); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- 20. OFERTA ---------- */
.offer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: start;
}

.offer__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  margin-block: var(--space-6);
  flex-wrap: wrap;
}
.offer__price del {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--color-gray-warm);
  text-decoration-thickness: 1px;
}
.offer__price ins {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--color-gold);
}

.offer__includes { display: grid; gap: var(--space-4); margin-block: var(--space-7); }
.offer__includes li {
  display: flex; gap: var(--space-4); align-items: flex-start;
  color: var(--color-sand); font-size: 16px;
}
.offer__includes .icon { color: var(--color-gold); width: 20px; height: 20px; margin-top: 3px; }

.offer__limit {
  border: 1px solid rgba(199, 163, 58, .28);
  border-radius: var(--radius-md);
  background: rgba(199, 163, 58, .05);
  padding: var(--space-5);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.offer__limit .icon { color: var(--color-gold); margin-top: 2px; }
.offer__limit p { font-size: 14px; color: var(--color-sand); line-height: 1.6; }

/* ---------- 21. FORMULÁRIO ---------- */
.form-card {
  background: var(--color-black-soft);
  border: 1px solid rgba(199, 163, 58, .30);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-premium);
}
.form-card h3 { margin-bottom: var(--space-2); }
.form-card > p { color: var(--color-gray-warm); font-size: 15px; margin-bottom: var(--space-7); }

.field { margin-bottom: var(--space-5); }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--color-sand);
  margin-bottom: var(--space-2);
}
.field label .req { color: var(--color-gold); }

.input {
  width: 100%;
  min-height: 48px;
  background: var(--color-black);
  color: var(--color-ivory);
  border: 1px solid rgba(245, 241, 232, .18);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color var(--micro) var(--ease), box-shadow var(--micro) var(--ease);
  appearance: none;
}
.input::placeholder { color: #6E675E; }
.input:focus {
  border-color: var(--color-gold);
  outline: none;
  box-shadow: 0 0 0 2px rgba(199, 163, 58, .18);
}
textarea.input { min-height: 96px; resize: vertical; line-height: 1.55; }

select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C7A33A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
  cursor: pointer;
}
select.input option { background: var(--color-black-soft); color: var(--color-ivory); }

.field__error {
  display: none;
  margin-top: var(--space-2);
  font-size: 13px;
  color: #D98C8C;
}
.field.has-error .input { border-color: var(--color-error); }
.field.has-error .field__error { display: block; }

.form-card__foot {
  margin-top: var(--space-5);
  font-size: 12px;
  color: var(--color-gray-warm);
  text-align: center;
  line-height: 1.5;
}

/* ---------- 22. FAQ ---------- */
.faq { max-width: 880px; margin-inline: auto; }
.faq__item {
  border-bottom: 1px solid rgba(199, 163, 58, .18);
}
.faq__item:first-child { border-top: 1px solid rgba(199, 163, 58, .18); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-6) 0;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--color-ivory);
  transition: color var(--micro) var(--ease);
  min-height: 44px;
}
.faq__q:hover { color: var(--color-gold); }
.faq__q .icon {
  color: var(--color-gold);
  transition: transform 320ms var(--ease);
}
.faq__item.open .faq__q .icon { transform: rotate(45deg); }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 420ms var(--ease);
}
.faq__a p {
  padding-bottom: var(--space-6);
  color: var(--color-sand);
  font-size: 16px;
  line-height: 1.7;
  max-width: 68ch;
}

/* ---------- 23. CTA FINAL ---------- */
.final-cta {
  position: relative;
  text-align: center;
  padding-block: var(--space-12);
  overflow: hidden;
}
.final-cta__watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 620px;
  opacity: .04;
  pointer-events: none;
}
.final-cta__inner { position: relative; z-index: 1; }
.final-cta h2 { margin-bottom: var(--space-5); }
.final-cta p { margin-inline: auto; margin-bottom: var(--space-8); }
.final-cta .hero__actions { justify-content: center; }

/* ---------- 24. CONTATO / RODAPÉ ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.contact__card {
  background: var(--color-black-soft);
  border: 1px solid rgba(199, 163, 58, .22);
  border-radius: 12px;
  padding: var(--space-6);
}
.contact__card .icon-frame { margin-bottom: var(--space-5); }
.contact__card h3 { font-size: 20px; margin-bottom: var(--space-3); }
.contact__card p { color: var(--color-sand); font-size: 15px; line-height: 1.6; }
.contact__card a.button-ghost { margin-top: var(--space-3); }

.site-footer {
  background: var(--color-black);
  border-top: 1px solid rgba(199, 163, 58, .20);
  padding-block: var(--space-9) var(--space-7);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-9);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(245, 241, 232, .08);
}
.footer__brand img { height: 92px; width: auto; margin-bottom: var(--space-5); }
.footer__brand p { color: var(--color-gray-warm); font-size: 14px; line-height: 1.65; max-width: 40ch; }

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-5);
}
.footer__col li + li { margin-top: var(--space-3); }
.footer__col a, .footer__col p {
  color: var(--color-sand);
  font-size: 14px;
  line-height: 1.6;
  transition: color var(--micro) var(--ease);
}
.footer__col a:hover { color: var(--color-gold); }

.footer__bottom {
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  align-items: center;
  justify-content: space-between;
  color: var(--color-gray-warm);
  font-size: 12px;
}

/* ---------- 25. WHATSAPP FLUTUANTE ---------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-black);
  box-shadow: var(--shadow-premium);
  transition: transform var(--micro) var(--ease), background var(--micro) var(--ease);
}
.wa-float:hover { background: var(--color-gold-light); transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; stroke: none; }

/* ---------- 26. ACESSIBILIDADE ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -60px;
  z-index: 200;
  background: var(--color-gold);
  color: var(--color-black);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: top var(--micro) var(--ease);
}
.skip-link:focus { top: var(--space-4); }

/* ---------- 27. REVEAL ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--entrance) var(--ease), transform var(--entrance) var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ============================================================
   28. RESPONSIVO
   ============================================================ */

/* --- Tablet (≤1080px) --- */
@media (max-width: 1080px) {
  :root { --gutter: 32px; }

  .t-display-xl { font-size: 56px; }
  .t-display-l  { font-size: 46px; }
  .t-h1 { font-size: 38px; }
  .t-h2 { font-size: 32px; }
  .t-h3 { font-size: 25px; }

  .section { padding-block: var(--space-10); }

  .nav { display: none; }
  .nav-toggle { display: grid; }
  .header__cta { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu[hidden] { display: none; }

  .hero__inner,
  .opening__grid,
  .tech__grid,
  .dentist__grid { grid-template-columns: 1fr; gap: var(--space-9); }

  /* Empilhado: título, promessa e CTA vêm antes da imagem */
  .hero__media { max-width: 480px; }
  .hero__badge { left: auto; right: var(--space-5); bottom: var(--space-5); }
  .hero__arc { width: 520px; height: 520px; opacity: .3; }

  .opening__media { max-width: 440px; }
  .dentist__media { max-width: 440px; }
  .dentist__award { right: var(--space-5); }

  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
  .steps { grid-template-columns: 1fr; }

  .treatments__head { grid-template-columns: 1fr; gap: var(--space-6); }
  .treatments__head-media { order: -1; max-width: 360px; aspect-ratio: 16 / 10; }
  .specialties { grid-template-columns: repeat(2, 1fr); }

  .results { grid-template-columns: repeat(2, 1fr); }
  .offer__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: var(--space-7); }
  .tech__media { max-width: 520px; }
}

/* --- Mobile (≤640px) --- */
@media (max-width: 640px) {
  :root { --gutter: 20px; }

  body { font-size: 16px; }

  .t-display-xl { font-size: 40px; line-height: 1.06; }
  .t-display-l  { font-size: 34px; line-height: 1.1; }
  .t-h1 { font-size: 32px; }
  .t-h2 { font-size: 28px; }
  .t-h3 { font-size: 23px; }
  .t-h4 { font-size: 20px; }
  .t-lead { font-size: 17px; }

  .section { padding-block: var(--space-9); }
  .section__head { margin-bottom: var(--space-8); }

  .logo img { height: 32px; }
  .header__inner { min-height: 66px; }
  html { scroll-padding-top: 80px; }

  .hero { padding-top: calc(66px + var(--space-8)); padding-bottom: var(--space-9); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .button-primary,
  .hero__actions .button-secondary { width: 100%; }
  .hero__media-frame { aspect-ratio: 3 / 4; }
  .hero__badge {
    position: static;
    max-width: none;
    margin-top: var(--space-5);
  }

  .trust__grid { grid-template-columns: 1fr; }
  .specialties { grid-template-columns: 1fr; }
  .results { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .result figcaption { font-size: 10px; padding: var(--space-7) var(--space-3) var(--space-3); }

  .opening__pull { font-size: 21px; padding-left: var(--space-5); }
  .dentist__quote p { font-size: 21px; }
  .dentist__award { width: 124px; right: var(--space-3); bottom: calc(var(--space-5) * -1); }

  .review { width: 300px; padding: var(--space-5); }
  .marquee__track { animation-duration: 46s; }

  .offer__price ins { font-size: 44px; }
  .offer__price del { font-size: 26px; }

  .form-card { padding: var(--space-6); }
  .faq__q { font-size: 20px; padding: var(--space-5) 0; }

  .tech__media { grid-template-columns: 1fr; }
  .tech__media figure:first-child { aspect-ratio: 4 / 3; }

  .final-cta__watermark { width: 340px; }
  .wa-float { right: 16px; bottom: 16px; }

  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
