/* ==========================================================================
   Luíse Ferrão — Biomedicina Estética
   Landing page · CSS único, mobile-first
   Ordem: 1 Tokens · 2 Reset · 3 Base · 4 Utilitários · 5 Componentes
          6 Seções · 7 Responsivo · 8 Preferências do usuário
   ========================================================================== */

/* ============ 1. TOKENS =================================================== */
:root {
  /* Cores — extraídas da identidade da clínica (off-white, bege, dourado, marrom) */
  /* Texto */
  --ink:          #241C17;   /* texto principal · 16,1:1 paper · 12,2:1 bege  */
  --brown:        #5A463A;   /* texto secundário ·  8,5:1 paper ·  6,4:1 bege */
  --brown-soft:   #6B5545;   /* texto terciário  ·  6,7:1 paper ·  5,1:1 bege */
  --gold-text:    #745523;   /* rótulos e links  ·  6,6:1 paper ·  5,0:1 bege */

  /* Fundos — a página inteira usa quatro tons claros */
  --paper:        #FCFAF7;   /* off-white · fundo padrão                      */
  --cream:        #F6F0E7;   /* creme · seções alternadas                     */
  --band:         #E7DACA;   /* bege · faixas de destaque                     */
  --sand:         #E7DACA;   /* bege (alias mantido)                          */
  --sand-soft:    #EFE6DA;   /* areia clara · rodapé                          */
  --white:        #FFFFFF;

  /* Ação */
  --btn:          #7E5F2A;   /* fundo do botão primário · branco 5,9:1        */
  --btn-hover:    #6A4C1E;   /* estado hover            · branco 7,9:1        */

  /* Filetes e detalhes */
  --gold:         #A8823F;   /* dourado decorativo (nunca em texto)           */
  --gold-light:   #C6A96F;
  --champagne:    #D9C09A;   /* sobreposições em foto e vídeo                 */
  --line:         #E2D6C6;
  --line-soft:    #EDE4D8;
  --line-band:    rgba(36,28,23,.14);  /* filete sobre o bege                 */

  /* Tipografia */
  --font-display: 'Cormorant Garamond', 'Lora', Garamond, Georgia, 'Times New Roman', serif;
  --font-sans: 'Jost', 'Poppins', 'Century Gothic', system-ui, -apple-system,
               'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Escala fluida */
  --fs-eyebrow: clamp(.68rem, .62rem + .25vw, .78rem);
  --fs-small:   clamp(.86rem, .82rem + .2vw, .96rem);
  --fs-body:    clamp(1.02rem, .97rem + .26vw, 1.13rem);
  --fs-lead:    clamp(1.08rem, 1.02rem + .45vw, 1.3rem);
  --fs-h3:      clamp(1.25rem, 1.13rem + .55vw, 1.55rem);
  --fs-h2:      clamp(1.85rem, 1.45rem + 1.85vw, 3.15rem);
  --fs-h1:      clamp(2.35rem, 1.75rem + 2.85vw, 4.35rem);
  --fs-quote:   clamp(1.35rem, 1.05rem + 1.5vw, 2.35rem);

  /* Ritmo */
  --sp-section: clamp(4rem, 2.6rem + 6vw, 8.5rem);
  --sp-gap:     clamp(1.5rem, 1rem + 2vw, 2.75rem);
  --wrap:       1200px;
  --wrap-narrow: 780px;
  --gutter:     clamp(1.15rem, .6rem + 2.4vw, 3rem);

  /* Forma — o arco é o motivo visual da clínica (arcos retroiluminados,
     menu em acrílico dourado, espelho da recepção) */
  --arch:       50% 50% 6px 6px / 42% 42% 4px 4px;
  --arch-soft:  46% 46% 8px 8px / 34% 34% 6px 6px;
  --r-sm: 6px;
  --r-md: 12px;
  --r-pill: 999px;

  --shadow-soft: 0 1px 2px rgba(36,28,23,.04), 0 8px 28px -14px rgba(36,28,23,.18);
  --shadow-lift: 0 2px 4px rgba(36,28,23,.05), 0 22px 48px -22px rgba(36,28,23,.28);
  --glow: radial-gradient(60% 55% at 50% 12%, rgba(198,160,92,.42), rgba(198,160,92,0) 70%);

  --ease: cubic-bezier(.22,.61,.36,1);
  --sticky-h: 0px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: var(--sticky-h);
}

img, picture, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }
ul, ol { list-style: none; padding: 0; }

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

/* ============ 3. BASE ==================================================== */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.012em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 400; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
p  { text-wrap: pretty; }

.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-text);
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: currentColor; opacity: .5;
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 28px; height: 1px;
  background: currentColor; opacity: .5;
  flex: none;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--brown);
  font-weight: 400;
}
.muted { color: var(--brown-soft); }
.fine  { font-size: var(--fs-small); color: var(--brown-soft); line-height: 1.6; }

/* ============ 4. UTILITÁRIOS ============================================= */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding-block: var(--sp-section); position: relative; }
.section--cream { background: var(--cream); }
.section--sand  { background: linear-gradient(180deg, var(--cream), var(--sand-soft)); }
/* Faixa de destaque: bege, no lugar do antigo fundo escuro.
   Herda as cores de texto padrão — só o fundo e os filetes mudam. */
.section--band {
  background: var(--band);
  border-block: 1px solid var(--line-band);
}

.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .5; flex: none; }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); }
.section-head.center { margin-inline: auto; }
.section-head > * + * { margin-top: 1rem; }

.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: 50%; top: 0; transform: translate(-50%, -120%);
  background: var(--btn); color: var(--white);
  padding: .7rem 1.2rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
  z-index: 200; font-size: var(--fs-small); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* Revelação suave ao rolar */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ 5. COMPONENTES ============================================= */

/* --- Botões --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .9rem 1.6rem;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: .085em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--r-pill);
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Primário — dourado sólido. Branco sobre #7E5F2A = 5,9:1 (AA). */
.btn--primary {
  background: var(--btn);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover { background: var(--btn-hover); box-shadow: var(--shadow-lift); }
.btn--primary svg { color: currentColor; }

/* Secundário — contorno, sobre qualquer um dos quatro fundos claros. */
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--gold-text);
}
.btn--ghost:hover { background: rgba(116,85,35,.08); }

/* Sobre a faixa bege, o contorno precisa de um fundo próprio para não sumir. */
.section--band .btn--ghost { background: rgba(255,255,255,.5); }
.section--band .btn--ghost:hover { background: rgba(255,255,255,.85); }

.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row--center { justify-content: center; }

/* Link discreto com seta */
.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: var(--fs-small); font-weight: 500; letter-spacing: .05em;
  color: var(--gold-text); text-decoration: none;
  min-height: 44px;                 /* alvo de toque confortável */
  box-shadow: inset 0 -1px 0 rgba(168,130,63,.35);
  transition: gap .25s var(--ease), box-shadow .25s var(--ease);
}
.link-arrow:hover { gap: .75rem; box-shadow: inset 0 -1px 0 var(--gold); }

/* --- Cabeçalho --- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252,250,247,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); background: rgba(252,250,247,.97); box-shadow: 0 6px 20px -18px rgba(36,28,23,.5); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}
.header__logo { display: flex; align-items: center; flex: none; min-height: 46px; }
.header__logo img { height: 30px; width: auto; }
@media (min-width: 380px) { .header__logo img { height: 34px; } }
.header__nav { display: none; }
.header__cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; margin-right: -12px; align-items: center;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.drawer {
  position: fixed; inset: 68px 0 auto 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  padding: 1.25rem var(--gutter) 1.75rem;
  transform: translateY(-115%);
  transition: transform .38s var(--ease), visibility .38s;
  visibility: hidden;
  z-index: 99;
  max-height: calc(100dvh - 68px);
  overflow-y: auto;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer a[data-nav] {
  display: block; padding: .8rem 0;
  font-size: 1.05rem; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.drawer .btn { margin-top: 1.25rem; }

/* --- Barra fixa mobile --- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(252,250,247,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(105%);
  transition: transform .35s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { min-height: 50px; }

/* --- Cartões --- */
.card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: clamp(1.4rem, 1rem + 1.4vw, 2.1rem);
  display: flex; flex-direction: column; gap: .8rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover { border-color: var(--sand); box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.card__num {
  font-family: var(--font-display);
  font-size: 1.5rem; color: var(--gold-text); line-height: 1;
}
.card__title { font-size: var(--fs-h3); }
.card__text { color: var(--brown); font-size: 1rem; line-height: 1.62; }
.card__for {
  font-size: var(--fs-small); color: var(--brown); line-height: 1.6;
  padding-top: .85rem; border-top: 1px solid var(--line);
}
.card__for b { color: var(--ink); font-weight: 500; }
.card .link-arrow { margin-top: auto; align-self: flex-start; }

.grid { display: grid; gap: var(--sp-gap); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

/* --- Imagem em arco (motivo da marca) --- */
.arch {
  position: relative;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--sand-soft);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--soft { border-radius: var(--arch-soft); }

/* Halo dourado retroiluminado, como os arcos da clínica */
.backlit { position: relative; isolation: isolate; }
.backlit::before {
  content: "";
  position: absolute; inset: -14% -10% -4%;
  background: var(--glow);
  z-index: -1;
  filter: blur(6px);
  opacity: .85;
  pointer-events: none;
}

/* ============ 6. SEÇÕES ================================================== */

/* --- 6.1 Hero --- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(3rem, 2rem + 4vw, 5.5rem);
  background:
    radial-gradient(120% 70% at 78% 4%, rgba(214,178,110,.16), rgba(214,178,110,0) 58%),
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
  overflow: hidden;
}
.hero__grid { display: grid; gap: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); align-items: center; }
.hero__content > * + * { margin-top: clamp(1rem, .8rem + .8vw, 1.5rem); }
.hero h1 { max-width: 15ch; }
.hero__sub { max-width: 46ch; }

.hero__proof {
  display: flex; flex-wrap: wrap; gap: .5rem;
  padding-top: .35rem;
}
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: var(--fs-eyebrow);
  letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
  color: var(--brown);
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  padding: .45rem .85rem;
}
.chip svg { width: 13px; height: 13px; color: var(--gold); flex: none; }

.hero__media { position: relative; }
.hero__media .arch { max-width: 460px; margin-inline: auto; aspect-ratio: 3 / 4; }
.hero__badge {
  position: absolute; right: max(2%, calc(50% - 250px)); bottom: -14px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: .75rem 1rem;
  box-shadow: var(--shadow-soft);
  display: flex; align-items: center; gap: .65rem;
  max-width: 250px;
}
.hero__badge img { width: 34px; height: 34px; flex: none; }
.hero__badge span { font-size: var(--fs-eyebrow); letter-spacing: .08em; text-transform: uppercase; color: var(--brown); line-height: 1.45; }
.hero__badge b { display: block; color: var(--ink); font-weight: 500; letter-spacing: .12em; }

/* --- 6.2 Faixa de credenciais --- */
.credentials { background: var(--band); border-block: 1px solid var(--line-band); }
.credentials__list {
  display: grid; gap: 1px;
  grid-template-columns: 1fr;
  background: var(--line-band);
}
.credentials__item {
  background: var(--band);
  padding: 1.45rem var(--gutter);
  display: flex; flex-direction: column; gap: .25rem;
}
.credentials__item dt {
  font-size: var(--fs-eyebrow); letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-text); font-weight: 500;
}
.credentials__item dd { font-size: 1rem; color: var(--ink); line-height: 1.55; }

/* --- 6.3 Filosofia --- */
.philosophy__grid { display: grid; gap: clamp(2rem, 1.4rem + 2.5vw, 3.5rem); align-items: center; }
.philosophy__media .arch { max-width: 400px; margin-inline: auto; aspect-ratio: 4 / 5; }
blockquote.quote {
  font-family: var(--font-display);
  font-size: var(--fs-quote);
  line-height: 1.28;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -.01em;
}
blockquote.quote p + p { margin-top: .7em; }
.quote__mark {
  font-family: var(--font-display);
  font-size: 3.5rem; line-height: .6; color: var(--gold);
  display: block; margin-bottom: .35rem;
}
.quote__by {
  margin-top: 1.5rem; font-size: var(--fs-small);
  letter-spacing: .16em; text-transform: uppercase; color: var(--brown-soft);
}
.quote__by b { color: var(--ink); font-weight: 500; }

/* --- 6.4 Procedimentos --- */
.proc-note {
  margin-top: var(--sp-gap);
  padding: 1.1rem 1.25rem;
  border-left: 2px solid var(--gold);
  background: rgba(255,255,255,.6);
  font-size: var(--fs-small);
  color: var(--brown);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

/* --- 6.5 Resultados --- */
.results__grid {
  display: grid; gap: clamp(.9rem, .6rem + 1vw, 1.4rem);
  grid-template-columns: repeat(2, 1fr);
}
.result {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--sand-soft);
  border: 1px solid var(--line-soft);
}
.result img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.result__caption {
  position: absolute; inset: auto 0 0 0;
  padding: 2.1rem .8rem .7rem;
  /* overlay forte o bastante para garantir contraste sobre qualquer foto */
  background: linear-gradient(180deg, rgba(20,15,12,0) 0%, rgba(20,15,12,.6) 45%, rgba(20,15,12,.92) 100%);
  color: var(--cream);
  font-size: var(--fs-eyebrow);
  letter-spacing: .1em; text-transform: uppercase;
  display: grid; gap: 1px;
}
.result__caption b { font-weight: 500; color: var(--champagne); }
.result__caption span { font-size: .92em; letter-spacing: .06em; color: #CBBBA4; text-transform: none; }
/* Aviso legal das imagens: discreto, mas sempre presente e legível.
   #6B5545 sobre off-white = 6,7:1 (AA com folga). */
.results__legal {
  margin: clamp(1.1rem, .8rem + 1vw, 1.6rem) auto 0;
  max-width: 78ch;
  text-align: center;
  font-size: var(--fs-small);
  color: var(--brown-soft);
  line-height: 1.6;
}

/* --- 6.6 Experiência --- */
.exp__grid { display: grid; gap: clamp(2rem, 1.4rem + 2.5vw, 3.25rem); align-items: center; }
.exp__list { display: grid; gap: 1.5rem; }
.exp__item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.exp__ico {
  width: 44px; height: 44px; flex: none;
  border: 1px solid var(--line-band);
  background: rgba(255,255,255,.45);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-text);
}
.exp__ico svg { width: 19px; height: 19px; }
.exp__item h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.exp__item p { font-size: 1rem; color: var(--brown); line-height: 1.6; }
.exp__menu {
  margin-top: .55rem; display: flex; flex-wrap: wrap; gap: .4rem;
}
.exp__menu li {
  font-size: var(--fs-eyebrow); letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-text); font-weight: 500;
  background: rgba(255,255,255,.5);
  border: 1px solid var(--line-band);
  border-radius: var(--r-pill);
  padding: .34rem .75rem;
}

.player {
  position: relative;
  border-radius: var(--arch-soft);
  overflow: hidden;
  background: #000;
  max-width: 340px; margin-inline: auto;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--line-band);
}
.player video, .player img { width: 100%; height: 100%; object-fit: cover; }
.player__btn {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(27,21,17,.12), rgba(27,21,17,.42));
  transition: background-color .3s var(--ease);
}
.player__btn:hover { background: rgba(27,21,17,.28); }
.player__btn span {
  width: 66px; height: 66px; border-radius: 50%;
  background: rgba(252,250,247,.92);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.6);
  transition: transform .3s var(--ease);
}
.player__btn:hover span { transform: scale(1.06); }
.player__btn svg { width: 22px; height: 22px; color: var(--ink); margin-left: 3px; }
.player.is-playing .player__btn { display: none; }

.pull {
  margin-top: clamp(2.5rem, 1.8rem + 2.5vw, 4rem);
  padding-top: clamp(2.5rem, 1.8rem + 2.5vw, 4rem);
  border-top: 1px solid var(--line-band);
  text-align: center;
}
.pull p {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.2rem + 2.4vw, 3rem);
  line-height: 1.15; color: var(--ink); font-weight: 400;
}
.pull small {
  display: block; margin-top: 1rem;
  font-size: var(--fs-eyebrow); letter-spacing: .18em; text-transform: uppercase; color: var(--brown-soft);
}

.exp__thumb {
  margin-top: .9rem;
  width: 100%; max-width: 210px;
  aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-md);
  border: 1px solid var(--line-band);
}

/* --- Galeria do espaço --- */
.space__grid {
  margin-top: clamp(2.5rem, 1.8rem + 2.5vw, 4rem);
  display: grid; gap: clamp(.75rem, .5rem + .9vw, 1.15rem);
  grid-template-columns: repeat(2, 1fr);
}
.space__item {
  position: relative;
  border-radius: var(--r-md); overflow: hidden;
  background: rgba(36,28,23,.05);
  margin: 0;
}
.space__item img, .space__item video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.space__item--video .player__btn span { width: 54px; height: 54px; }
.space__item--video .player__btn svg { width: 18px; height: 18px; }
.space__item--video.is-playing .player__btn,
.space__item--video.is-playing .space__label { display: none; }
.space__label {
  position: absolute; inset: auto 0 0 0;
  padding: 2.2rem .8rem .75rem;
  background: linear-gradient(180deg, rgba(20,15,12,0) 0%, rgba(20,15,12,.6) 45%, rgba(20,15,12,.94) 100%);
  color: var(--champagne);
  font-size: var(--fs-eyebrow); letter-spacing: .14em; text-transform: uppercase;
  text-align: center;
  pointer-events: none;
}

/* --- Imagem de apoio da seção "Como funciona" --- */
.steps__media {
  margin: 0 0 clamp(2rem, 1.4rem + 2vw, 3.25rem);
  border-radius: var(--r-md);
  overflow: hidden;
  max-width: 900px; margin-inline: auto;
  border: 1px solid var(--line-soft);
}
.steps__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* --- 6.7 Sobre --- */
.about__grid { display: grid; gap: clamp(2rem, 1.4rem + 2.5vw, 3.5rem); align-items: center; }
.about__media .arch { max-width: 400px; margin-inline: auto; aspect-ratio: 3 / 4; }
.about__list { display: grid; gap: 0; margin-top: 1.75rem; }
.about__list li {
  display: grid; gap: .2rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
}
.about__list li:last-child { border-bottom: 1px solid var(--line); }
.about__list dt, .about__list b {
  font-size: var(--fs-eyebrow); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-text); font-weight: 500;
}
.about__list span { color: var(--ink); font-size: 1.02rem; line-height: 1.55; }

/* --- 6.8 Como funciona --- */
.steps { display: grid; gap: var(--sp-gap); counter-reset: step; }
.step {
  display: grid; gap: .6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 1.45rem; color: var(--gold-text); line-height: 1;
}
.step h3 { font-size: var(--fs-h3); }
.step p { color: var(--brown); font-size: 1rem; line-height: 1.62; }

/* --- 6.9 Depoimentos --- */
/* Colunas em vez de grade: depoimentos têm comprimentos muito diferentes
   e o fluxo em coluna evita cartões com vazio no rodapé. */
.reviews { column-gap: clamp(1rem, .7rem + 1.2vw, 1.6rem); }
.review {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 clamp(1rem, .7rem + 1.2vw, 1.6rem);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: clamp(1.25rem, 1rem + .9vw, 1.7rem);
}
.review__head { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; }
.review__avatar {
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  display: grid; place-items: center;
  font-size: 1rem; font-weight: 500;
  font-family: var(--font-display);
}
.review__meta { display: grid; line-height: 1.3; min-width: 0; flex: 1; }
.review__meta b { font-weight: 500; font-size: .96rem; color: var(--ink); }
.review__meta small { font-size: .82rem; color: var(--brown-soft); }
.review__src { width: 17px; height: 17px; flex: none; }
.review__stars { color: var(--gold-text); letter-spacing: .14em; font-size: .98rem; margin-bottom: .6rem; }
.review__text { margin: 0; }
.review__text p { font-size: 1rem; line-height: 1.65; color: var(--brown); }

.google-card {
  display: grid; gap: 1.1rem; justify-items: center; text-align: center;
  padding: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--cream);
  max-width: 620px; margin-inline: auto;
}
.google-card svg { width: 34px; height: 34px; }
.google-card h3 { font-size: var(--fs-h3); }
.google-card p { color: var(--brown); font-size: 1rem; max-width: 46ch; line-height: 1.6; }

/* --- 6.10 FAQ --- */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.02rem + .4vw, 1.35rem);
  line-height: 1.3;
  color: var(--ink);
  transition: color .25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-text); }
.faq summary::after {
  content: ""; flex: none; width: 13px; height: 13px; margin-top: .42em;
  border-right: 1.5px solid var(--gold-text);
  border-bottom: 1.5px solid var(--gold-text);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq__answer { padding: 0 0 1.5rem; max-width: 68ch; }
.faq__answer p { color: var(--brown); font-size: 1.02rem; line-height: 1.65; }
.faq__answer p + p { margin-top: .7rem; }

/* --- 6.11 CTA final + localização --- */
.final { position: relative; overflow: hidden; }
/* sem brilho de fundo: numa faixa clara ele só apagava o contraste */
.final__inner { position: relative; z-index: 1; }
.final h2 { max-width: 18ch; margin-inline: auto; }

.location { display: grid; gap: clamp(1.75rem, 1.2rem + 2vw, 3rem); margin-top: clamp(2.75rem, 2rem + 3vw, 4.5rem); }
.location__info { display: grid; gap: 1.5rem; align-content: start; }
.location__block { display: grid; gap: .3rem; }
.location__block dt {
  font-size: var(--fs-eyebrow); letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-text); font-weight: 500;
}
.location__block dd { margin: 0; color: var(--ink); font-size: 1.02rem; line-height: 1.55; }
.location__block address { font-style: normal; }
.location__block a { color: var(--gold-text); font-weight: 500; text-decoration: none; box-shadow: inset 0 -1px 0 rgba(116,85,35,.45); }
.location__block a:hover { box-shadow: inset 0 -1px 0 var(--gold-text); }
.map {
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line-band);
  background: var(--sand-soft);
  min-height: 300px;
}
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* --- 6.12 Rodapé --- */
.footer { background: var(--cream); color: var(--brown); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; border-top: 1px solid var(--line-band); }
.footer__grid { display: grid; gap: 2.5rem; }
.footer__logo img { height: 40px; width: auto; }
.footer__brand p { margin-top: 1.1rem; font-size: var(--fs-small); color: var(--brown); max-width: 34ch; line-height: 1.62; }
.footer__col h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow); letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-text); font-weight: 500; margin-bottom: 1rem;
}
.footer__col li + li { margin-top: .6rem; }
.footer__col a, .footer__col span { font-size: var(--fs-small); color: var(--brown); text-decoration: none; line-height: 1.6; }
.footer__col a:hover { color: var(--ink); text-decoration: underline; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  display: grid; place-items: center; color: var(--gold-text);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.footer__social a:hover { border-color: var(--gold-text); background: var(--white); }
.footer__social svg { width: 18px; height: 18px; }
.footer__legal {
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: grid; gap: 1rem;
}
.footer__legal p { font-size: .82rem; color: var(--brown-soft); line-height: 1.7; }
.footer__legal a { color: var(--gold-text); }

/* ============ 7. RESPONSIVO ============================================== */
@media (min-width: 600px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .reviews { column-count: 2; }
  .credentials__list { grid-template-columns: repeat(2, 1fr); }
  .results__grid { grid-template-columns: repeat(3, 1fr); }
  .space__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .exp__list { gap: 1.75rem; }
}

@media (min-width: 860px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .reviews { column-count: 2; }
  .location { grid-template-columns: 1fr 1.15fr; align-items: stretch; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 1000px) {
  html { scroll-padding-top: 96px; }
  .header__inner { min-height: 84px; }
  .header__logo img { height: 38px; }
  .nav-toggle { display: none; }
  .drawer { display: none; }
  .header__nav { display: flex; align-items: center; gap: clamp(1.1rem, .4rem + 1.4vw, 2.1rem); }
  .header__nav a {
    font-size: var(--fs-eyebrow); letter-spacing: .13em; text-transform: uppercase;
    text-decoration: none; color: var(--brown); padding-block: .75rem;
    border-bottom: 1px solid transparent; transition: color .25s var(--ease), border-color .25s var(--ease);
  }
  .header__nav a:hover { color: var(--ink); border-bottom-color: var(--gold-text); }
  .header__cta { display: inline-flex; }
  .header__cta.btn { min-height: 46px; padding: .7rem 1.35rem; }

  .sticky-cta { display: none; }
  body { padding-bottom: 0; }

  .hero__grid { grid-template-columns: 1.05fr .95fr; }
  .hero__media .arch { max-width: none; }
  .philosophy__grid { grid-template-columns: .85fr 1.15fr; }
  .philosophy__media .arch { max-width: none; }
  .exp__grid { grid-template-columns: 1.05fr .95fr; }
  .about__grid { grid-template-columns: .8fr 1.2fr; }
  .about__media .arch { max-width: none; }
  .results__grid { grid-template-columns: repeat(4, 1fr); }
  .reviews { column-count: 3; }
}

@media (min-width: 1240px) {
  .credentials__list { grid-template-columns: repeat(4, 1fr); }
}

/* Telas estreitas: legendas e chips mais compactos */
@media (max-width: 599px) {
  .result__caption { letter-spacing: .04em; font-size: .66rem; padding: 1.7rem .6rem .55rem; }
  .space__label { letter-spacing: .08em; }
  .chip { padding: .4rem .7rem; }
}

/* Telas muito estreitas (320px) */
@media (max-width: 359px) {
  .btn { font-size: .76rem; padding-inline: 1.1rem; letter-spacing: .06em; }
  .chip { font-size: .64rem; padding: .38rem .65rem; }
  .hero__badge { position: static; margin: 1rem auto 0; max-width: none; }
}

/* ============ 8. PREFERÊNCIAS DO USUÁRIO ================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover { transform: none; }
}

@media (forced-colors: active) {
  .btn { border: 1px solid currentColor; }
  .arch, .card, .result { border: 1px solid currentColor; }
}

@media print {
  .header, .sticky-cta, .drawer, .player__btn, .map { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .section { padding-block: 1.5rem; break-inside: avoid; }
}
