/* ==========================================================================
   VALLURE ODONTOLOGIA — Design System
   "O luxo do sorriso." · Ousada · Elegante · Líder
   --------------------------------------------------------------------------
   Stylesheet de referência: tokens + base + componentes.
   Inclua este arquivo em qualquer página da LP:
     <link rel="stylesheet" href="css/vallure.css">
   ========================================================================== */

/* ------------------------------------------------------------------ *
 * 1. DESIGN TOKENS
 * ------------------------------------------------------------------ */
:root {
  /* --- Marca / Ouro ------------------------------------------------ */
  --gold-50:  #FAF6EC;
  --gold-100: #F4EEDF;
  --gold-200: #E8DCBE;
  --gold-300: #DAC994;   /* champagne (branding) */
  --gold-400: #C9B98E;
  --gold-500: #BBA87D;   /* DOURADO PRIMÁRIO (branding) */
  --gold-600: #A8946A;   /* hover */
  --gold-700: #8C7A54;   /* pressed / texto sobre claro */
  --gold-800: #6E5F41;

  /* Gradiente foil — usar com parcimônia (detalhes, divisores, ícones) */
  --gold-foil: linear-gradient(135deg, #B79A5A 0%, #E9D8A0 22%, #F6ECC2 40%, #C9A857 60%, #E4CE8C 80%, #A8894C 100%);
  --gold-sheen: linear-gradient(180deg, var(--gold-400) 0%, var(--gold-600) 100%);

  /* --- Neutros (rampa do branding) -------------------------------- */
  --ink-900: #1A1A1A;    /* preto da marca */
  --ink-850: #232220;    /* superfície escura elevada (levemente quente) */
  --ink-800: #333333;
  --ink-700: #4D4D4D;
  --ink-600: #808080;
  --ink-500: #999999;
  --ink-400: #B3B3B3;
  --ink-300: #CCCCCC;
  --ink-200: #E6E6E6;
  --ink-100: #EFECE4;    /* off-white quente */
  --cream:   #F7F3EB;    /* fundo creme — base clara da marca */
  --white:   #FFFFFF;

  /* --- Tokens semânticos (tema claro padrão) ---------------------- */
  --bg:            var(--cream);
  --bg-alt:        var(--white);
  --surface:       var(--white);
  --surface-2:     var(--gold-50);
  --text:          var(--ink-900);
  --text-soft:     var(--ink-700);
  --text-muted:    var(--ink-600);
  --text-onDark:   #F3EEE3;
  --text-onDark-muted: rgba(243,238,227,.62);
  --accent:        var(--gold-500);
  --accent-strong: var(--gold-600);
  --accent-soft:   var(--gold-100);
  --on-accent:     #1A1A1A;
  --border:        rgba(26,26,26,.12);
  --border-strong: rgba(26,26,26,.20);
  --border-gold:   rgba(187,168,125,.45);
  --hairline:      rgba(26,26,26,.08);

  /* --- Tipografia ------------------------------------------------- */
  /* Display: Bodoni Moda — didone de alto contraste (editorial de moda/luxo) */
  --font-display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  /* Brand: Jost — geométrica fina, espelha o logotipo VALLURE (eyebrows, logo, botões) */
  --font-brand:   "Jost", "Helvetica Neue", Arial, sans-serif;
  /* Body: Inter — neutra, legível, transmite confiança clínica */
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Escala fluida (clamp) */
  --fs-eyebrow: 0.78rem;
  --fs-xs:   clamp(0.75rem, 0.72rem + 0.1vw, 0.8125rem);
  --fs-sm:   clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --fs-base: clamp(1rem, 0.97rem + 0.18vw, 1.0625rem);
  --fs-lg:   clamp(1.125rem, 1.06rem + 0.32vw, 1.3125rem);
  --fs-xl:   clamp(1.375rem, 1.25rem + 0.6vw, 1.75rem);
  --fs-2xl:  clamp(1.75rem, 1.45rem + 1.4vw, 2.75rem);
  --fs-3xl:  clamp(2.25rem, 1.7rem + 2.6vw, 3.75rem);
  --fs-4xl:  clamp(2.75rem, 1.9rem + 4vw, 5.5rem);
  --fs-display: clamp(3.25rem, 2rem + 6vw, 7rem);

  --lh-tight: 1.04;
  --lh-snug:  1.18;
  --lh-base:  1.65;
  --lh-relaxed: 1.8;

  --tracking-display: -0.01em;
  --tracking-tight: -0.015em;
  --tracking-wide:  0.04em;
  --tracking-brand: 0.22em;   /* tracking de luxo (logo / eyebrows) */
  --tracking-button: 0.16em;

  /* --- Espaçamento (escala 4pt) ----------------------------------- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;
  --section-y: clamp(4rem, 2.5rem + 7vw, 9rem);
  --container:  1200px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, 0.8rem + 3vw, 3rem);

  /* --- Raio / Bordas (editorial: quase reto) ---------------------- */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  /* --- Sombras (suaves, premium) --------------------------------- */
  --shadow-xs: 0 1px 2px rgba(26,26,26,.04);
  --shadow-sm: 0 4px 14px rgba(26,26,26,.06);
  --shadow-md: 0 14px 40px -12px rgba(26,26,26,.14);
  --shadow-lg: 0 30px 70px -24px rgba(26,26,26,.22);
  --shadow-gold: 0 18px 44px -16px rgba(168,148,106,.55);

  /* --- Movimento ------------------------------------------------- */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur-fast: .18s;
  --dur: .32s;
  --dur-slow: .6s;
}

/* Inversão de tokens para superfícies escuras */
.is-dark,
[data-theme="dark"] {
  --bg: var(--ink-900);
  --bg-alt: var(--ink-850);
  --surface: var(--ink-850);
  --surface-2: #2b2926;
  --text: var(--text-onDark);
  --text-soft: rgba(243,238,227,.8);
  --text-muted: var(--text-onDark-muted);
  --border: rgba(243,238,227,.14);
  --border-strong: rgba(243,238,227,.26);
  --hairline: rgba(243,238,227,.1);
  color: var(--text);
}

/* ------------------------------------------------------------------ *
 * 2. RESET / BASE
 * ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--gold-300); color: var(--ink-900); }

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

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

/* ------------------------------------------------------------------ *
 * 3. TIPOGRAFIA
 * ------------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-display);
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: var(--fs-4xl); font-weight: 500; }
h2 { font-size: var(--fs-3xl); font-weight: 500; }
h3 { font-size: var(--fs-2xl); font-weight: 500; }
h4 { font-size: var(--fs-xl); font-weight: 500; }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-display);
}

/* Itálico de luxo para realces dentro de títulos */
.accent-italic { font-style: italic; font-weight: 400; color: var(--accent-strong); }

p { max-width: 62ch; }
.lead {
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  color: var(--text-soft);
  font-weight: 350;
}

/* Eyebrow / kicker — sans fino, caixa-alta, tracking de luxo */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-brand);
  font-size: var(--fs-eyebrow);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--tracking-brand);
  color: var(--accent-strong);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--center::after {
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

.muted { color: var(--text-muted); }
.soft  { color: var(--text-soft); }
.text-gold { color: var(--accent-strong); }
.font-brand { font-family: var(--font-brand); }
.uppercase { text-transform: uppercase; letter-spacing: var(--tracking-wide); }

.overline {
  font-family: var(--font-brand);
  text-transform: uppercase;
  letter-spacing: var(--tracking-brand);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ------------------------------------------------------------------ *
 * 4. LOGO / WORDMARK
 * ------------------------------------------------------------------ */
.wordmark {
  font-family: var(--font-brand);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: var(--tracking-brand);
  line-height: 1;
  color: var(--accent);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .35em;
}
.wordmark__name { font-size: 1.5rem; }
.wordmark__sub {
  font-size: .58em;
  letter-spacing: .42em;
  color: currentColor;
  opacity: .85;
  padding-left: .42em;
}
.logo-img { height: 34px; width: auto; }

/* ------------------------------------------------------------------ *
 * 5. LAYOUT
 * ------------------------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-6); }

.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.cluster { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.center { text-align: center; }
.center .eyebrow, .center .lead, .center p { margin-inline: auto; }

/* Divisor hairline com nó dourado central */
.rule { height: 1px; background: var(--border); border: 0; }
.rule--gold { background: var(--gold-300); }
.divider-dot {
  display: flex; align-items: center; gap: var(--space-4);
  color: var(--accent);
}
.divider-dot::before, .divider-dot::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}
.divider-dot span { width: 6px; height: 6px; transform: rotate(45deg); background: var(--accent); }

/* ------------------------------------------------------------------ *
 * 6. BOTÕES
 * ------------------------------------------------------------------ */
.btn {
  --btn-bg: var(--gold-500);
  --btn-fg: var(--on-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  font-family: var(--font-brand);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tracking-button);
  line-height: 1;
  padding: 1.1em 2em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform var(--dur) var(--ease); }
.btn:hover .icon { transform: translateX(4px); }

/* Brilho diagonal no hover (sheen) */
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform var(--dur-slow) var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

.btn--primary { --btn-bg: var(--gold-500); --btn-fg: var(--ink-900); }
.btn--primary:hover { --btn-bg: var(--gold-600); }

.btn--dark { --btn-bg: var(--ink-900); --btn-fg: var(--gold-300); }
.btn--dark:hover { --btn-bg: #000; }

.btn--outline {
  background: transparent;
  color: var(--accent-strong);
  border-color: var(--border-gold);
}
.btn--outline:hover { background: var(--accent); color: var(--ink-900); border-color: var(--accent); box-shadow: var(--shadow-sm); }

.btn--ghost { background: transparent; color: var(--text); border-color: transparent; padding-inline: .6em; }
.btn--ghost:hover { color: var(--accent-strong); box-shadow: none; transform: none; }
.btn--ghost::after { display: none; }

.btn--lg { padding: 1.3em 2.6em; font-size: var(--fs-base); }
.btn--sm { padding: .85em 1.5em; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.is-dark .btn--outline { color: var(--gold-300); border-color: rgba(218,201,148,.4); }
.is-dark .btn--outline:hover { color: var(--ink-900); }

/* Link com seta animada */
.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-brand);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  font-size: var(--fs-xs);
  color: var(--accent-strong);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--dur) var(--ease);
}
.link-arrow:hover { border-color: currentColor; }
.link-arrow .icon { transition: transform var(--dur) var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ------------------------------------------------------------------ *
 * 7. BADGES / PILLS / SELOS
 * ------------------------------------------------------------------ */
.badge {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-brand);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  padding: .5em 1em;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--gold-800);
  border: 1px solid var(--border-gold);
}
.badge--dot::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--accent-strong); }
.badge--solid { background: var(--gold-500); color: var(--ink-900); border-color: transparent; }
.badge--ghost { background: transparent; }

/* Selo "avaliação gratuita" */
.seal {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 116px; height: 116px; border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: var(--surface-2);
  text-align: center;
  font-family: var(--font-brand);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  line-height: 1.3;
  color: var(--gold-800);
}
.seal strong { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0; text-transform: none; color: var(--accent-strong); }

/* ------------------------------------------------------------------ *
 * 8. CARDS
 * ------------------------------------------------------------------ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-gold); }

/* Card de pilar (numerado, com regra dourada no topo) */
.pillar {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-7) var(--space-6) var(--space-6);
  overflow: hidden;
}
.pillar::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold-foil);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-slow) var(--ease);
}
.pillar:hover::before { transform: scaleX(1); }
.pillar__num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 300; font-style: italic;
  color: var(--gold-400);
  line-height: 1;
}
.pillar h3 { font-size: var(--fs-xl); margin-block: var(--space-4) var(--space-3); }
.pillar p { color: var(--text-soft); font-size: var(--fs-base); }

/* Ícone-moldura */
.icon-frame {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  color: var(--accent-strong);
  background: var(--surface-2);
}

/* ------------------------------------------------------------------ *
 * 9. ANTES / DEPOIS
 * ------------------------------------------------------------------ */
.beforeafter {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--border);
  background: var(--ink-200);
}
.beforeafter figure { position: relative; margin: 0; aspect-ratio: 1/1; overflow: hidden; }
.beforeafter img { width: 100%; height: 100%; object-fit: cover; }
.beforeafter figcaption {
  position: absolute; top: var(--space-3); left: var(--space-3);
  font-family: var(--font-brand);
  font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: var(--tracking-wide);
  padding: .4em .9em; border-radius: var(--radius-pill);
  background: rgba(26,26,26,.7); color: var(--gold-300);
  backdrop-filter: blur(6px);
}
.beforeafter figure:last-child figcaption { background: var(--gold-500); color: var(--ink-900); }

/* ------------------------------------------------------------------ *
 * 10. DEPOIMENTO
 * ------------------------------------------------------------------ */
.quote {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 400;
  font-style: italic;
  line-height: var(--lh-snug);
  color: var(--text);
  position: relative;
}
.quote::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 4em; line-height: 0; color: var(--gold-300);
  position: absolute; left: -.1em; top: .35em;
  z-index: -1;
}
.testimonial__author { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-5); }
.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-300); }
.testimonial__name { font-family: var(--font-brand); letter-spacing: var(--tracking-wide); font-size: var(--fs-sm); }

.stars { display: inline-flex; gap: 2px; color: var(--gold-500); }

/* ------------------------------------------------------------------ *
 * 11. FORMULÁRIO (avaliação gratuita)
 * ------------------------------------------------------------------ */
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.label {
  font-family: var(--font-brand);
  font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: var(--tracking-wide);
  color: var(--text-soft);
}
.input, .textarea, .select {
  width: 100%;
  padding: .9em 1.1em;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--text-muted); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(187,168,125,.22);
}
.textarea { min-height: 120px; resize: vertical; }

/* ------------------------------------------------------------------ *
 * 12. HEADER / NAV
 * ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-4) var(--gutter);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav a {
  font-family: var(--font-brand);
  font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: var(--tracking-wide);
  color: var(--text-soft);
  position: relative; transition: color var(--dur) var(--ease);
}
.nav a::after { content:""; position:absolute; left:0; bottom:-6px; height:1px; width:0; background: var(--accent); transition: width var(--dur) var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }
@media (max-width: 760px) { .nav--links { display: none; } }

/* ------------------------------------------------------------------ *
 * 13. HERO
 * ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 88vh;
  display: grid; align-items: center;
  overflow: hidden;
  color: var(--text-onDark);
  background: var(--ink-900);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 90% at 20% 30%, rgba(26,26,26,.4), transparent 60%),
    linear-gradient(180deg, rgba(26,26,26,.55) 0%, rgba(26,26,26,.35) 40%, rgba(26,26,26,.85) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: var(--white); }
.hero .lead { color: rgba(243,238,227,.82); }
.hero .eyebrow { color: var(--gold-300); }
.hero .eyebrow::before { background: var(--gold-300); }

/* ------------------------------------------------------------------ *
 * 14. UTILITÁRIOS
 * ------------------------------------------------------------------ */
.bg-dark   { background: var(--ink-900); }
.bg-cream  { background: var(--cream); }
.bg-white  { background: var(--white); }
.bg-soft   { background: var(--gold-50); }
.maxw-narrow { max-width: var(--container-narrow); }
.mx-auto { margin-inline: auto; }
.mt-0{margin-top:0} .mt-3{margin-top:var(--space-3)} .mt-4{margin-top:var(--space-4)} .mt-5{margin-top:var(--space-5)} .mt-6{margin-top:var(--space-6)}
.gold-line { width: 56px; height: 2px; background: var(--gold-foil); border: 0; border-radius: 2px; }

/* Reveal on scroll (acionar com JS: add .is-visible) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
