/* ==========================================================================
   LUMIÈRE STUDIO — landing page demonstrativa (clínica fictícia)
   Identidade própria, independente da MAEXTRO. Sem recursos externos:
   fontes WOFF2 locais (SIL OFL 1.1, ver assets/fonts/OFL-*.txt).

   Índice
     1. Fontes            6. Hero               11. Filosofia
     2. Variáveis         7. Clínica (intro)    12. Conversão (CTA)
     3. Base              8. Tratamentos        13. Rodapé
     4. Componentes       9. Experiência        14. Janela demonstrativa
     5. Faixa demo e cabeçalho                  15. Responsivo
                                                16. Movimento reduzido
   ========================================================================== */

/* 1. Fontes ------------------------------------------------------------- */
@font-face {
  font-family: 'EB Garamond';
  src: url('../fonts/eb-garamond-latin.woff2') format('woff2');
  font-weight: 400 800;
  size-adjust: 103.6%;      /* mesma largura de título da composição aprovada */
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'EB Garamond';
  src: url('../fonts/eb-garamond-italic-latin.woff2') format('woff2');
  font-weight: 400 800;
  size-adjust: 103.6%;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* 2. Variáveis ---------------------------------------------------------- */
:root {
  /* paleta aprovada */
  --linho: #F4EAE3;
  --rose: #B77F72;          /* linhas, detalhes e superfícies; não usar em texto pequeno */
  --cacau: #382822;
  --areia: #DCC4B9;

  /* tons derivados (contraste e composição) */
  --linho-claro: #FAF5F1;
  --linho-fundo: #EFE3DA;   /* seção de tratamentos */
  --rose-titulo: #A26B5E;   /* itálicos dos títulos grandes: ≥ 3:1 nos fundos claros */
  --rose-texto: #86544A;    /* rótulos e textos pequenos: ≥ 4,5:1 nos fundos claros */
  --rose-botao: #8E5A4D;    /* fundo de botão com texto branco: 5,6:1 */
  --rose-botao-hover: #7A4A3E;
  --cacau-suave: #5F4C46;   /* texto corrido */
  --vinho: #5A382F;         /* fundo escuro da conversão */
  --rose-claro: #F2D3C6;    /* texto sobre fundos escuros */
  --linha: rgba(56, 40, 34, .16);

  --display: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --page-max: 1440px;
  --barra: 36px;            /* faixa "projeto demonstrativo" */
  --cabecalho: 84px;
}

/* 3. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--cabecalho) + 8px); }
body {
  margin: 0;
  color: var(--cacau);
  background: var(--linho-claro);
  font-family: var(--body);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button, a { touch-action: manipulation; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
:focus-visible { outline: 2px solid var(--rose-botao-hover); outline-offset: 4px; }

.wrap { width: min(calc(100% - 10vw), var(--page-max)); margin-inline: auto; }
.section { padding-block: clamp(90px, 10vw, 155px); }
.skip { position: fixed; top: -150px; left: 16px; z-index: 99; padding: 12px 18px; background: #fff; color: var(--cacau); }
.skip:focus { top: 12px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .85s ease, transform .85s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* 4. Componentes -------------------------------------------------------- */
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.018em; }
h1 em, h2 em { font-weight: 400; font-style: italic; color: var(--rose-titulo); }

.eyebrow, .overline { font-size: 11px; letter-spacing: .22em; font-weight: 700; color: var(--rose-texto); text-transform: uppercase; }
.eyebrow { margin: 0 0 30px; }
.short-rule { display: inline-block; width: 34px; height: 1px; vertical-align: middle; margin-left: 14px; background: currentColor; opacity: .65; }

.btn {
  min-height: 52px; padding: 0 26px;
  display: inline-flex; gap: 30px; justify-content: space-between; align-items: center;
  border: 1px solid transparent;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  cursor: pointer;
  transition: transform .22s, background-color .22s, border-color .22s;
}
.btn:hover { transform: translateY(-3px); }
.btn span { font-size: 18px; font-weight: 400; }
.btn-solid { background: var(--rose-botao); color: #fff; }
.btn-solid:hover { background: var(--rose-botao-hover); }
.btn-outline { background: transparent; border-color: rgba(56, 40, 34, .5); color: var(--cacau); }
.btn-outline:hover { border-color: var(--cacau); background: rgba(255, 255, 255, .25); }

.text-link {
  font-size: 12px; letter-spacing: .1em; font-weight: 700; text-transform: uppercase;
  align-self: start; display: flex; gap: 35px; align-items: center;
  border-bottom: 1px solid var(--rose); margin-top: 30px; padding-bottom: 13px; min-height: 44px;
  transition: gap .25s;
}
.text-link:hover { gap: 50px; }
.text-link span { font-size: 20px; font-weight: 400; }

/* 5. Faixa demo e cabeçalho -------------------------------------------- */
.site-header {
  position: fixed; z-index: 80; inset: 0 0 auto 0;
  transition: transform .3s ease, background-color .25s, box-shadow .25s;
}
.demo-bar { height: var(--barra); background: rgba(244, 234, 227, .94); border-bottom: 1px solid var(--linha); }
.demo-bar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.demo-bar p { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--cacau-suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-bar__dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }
.demo-bar__curto { display: none; }
.demo-bar a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-size: 12px; font-weight: 700; color: var(--rose-texto); border-bottom: 1px solid transparent; }
.demo-bar a:hover { border-bottom-color: currentColor; }
/* área de toque de 44px sem mudar a aparência da faixa (36px): estende-se só sobre espaço vazio */
.demo-bar a { position: relative; }
.demo-bar a::after { content: ''; position: absolute; left: -6px; right: -6px; top: 0; height: 44px; }
.demo-bar a:focus-visible { outline-offset: -2px; }

/* ao rolar, a faixa sobe e o cabeçalho fica fixo; com foco dentro dela, volta */
.site-header.scrolled { transform: translateY(calc(-1 * var(--barra))); }
.site-header.scrolled:has(.demo-bar :focus-visible) { transform: none; }
.site-header.scrolled .header-bg,
.site-header.menu-open .header-bg { background: rgba(248, 240, 234, .96); box-shadow: 0 6px 30px rgba(50, 28, 21, .06); backdrop-filter: blur(14px); }
.header-bg { background: linear-gradient(180deg, rgba(244, 234, 227, .7), rgba(244, 234, 227, .35)); border-bottom: 1px solid rgba(95, 67, 54, .12); transition: background-color .25s, box-shadow .25s; }

.header-inner { height: var(--cabecalho); display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.wordmark { display: inline-flex; flex-direction: column; text-align: center; line-height: 1; white-space: nowrap; flex-shrink: 0; padding-block: 6px; }
.wordmark-name { font-family: var(--display); font-size: 31px; letter-spacing: .16em; font-weight: 400; }
.wordmark-sub { font-size: 9px; letter-spacing: .6em; margin-top: 6px; margin-left: 7px; font-weight: 600; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 48px); padding-left: 30px; }
.desktop-nav a, .mobile-nav a { font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; font-weight: 650; transition: color .2s; }
.desktop-nav a { padding-block: 16px; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--rose-texto); }
.header-cta {
  background: var(--rose-botao); color: #fff; padding: 0 20px; min-height: 48px;
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
  display: flex; align-items: center; gap: 22px; transition: background .25s;
}
.header-cta:hover { background: var(--rose-botao-hover); }
.header-cta span { font-size: 15px; }
.menu-toggle, .mobile-nav { display: none; }

/* 6. Hero --------------------------------------------------------------- */
/* altura da tela como antes, mas cresce quando o conteúdo não cabe (telas baixas): botões nunca sobre a faixa inferior */
.hero { position: relative; min-height: max(800px, min(960px, 100svh)); height: auto; background: var(--linho); overflow: hidden; isolation: isolate; }
/* a foto se dissolve no fundo por máscara (sem faixa de cor sobreposta, sem emenda) */
.hero-photo {
  position: absolute; inset: 0 0 0 36%; z-index: -2; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%);
          mask-image: linear-gradient(90deg, transparent 0, #000 40%);
}
.hero-photo picture { display: block; width: 100%; height: 100%; }
/* desktop (> 960 px): rosto à direita, título livre */
.hero-photo img { object-position: 48% 42%; filter: saturate(.92); }
/* elipse: arco fino sobre o ombro, abaixo do queixo; só no desktop, onde não cruza rosto, texto nem botões */
.hero::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  bottom: -40%; right: -12%; width: 34%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255, 248, 242, .6);
  transform: rotate(-24deg) scaleX(1.3);
}
.hero-content { position: relative; z-index: 2; padding-top: calc(var(--barra) + clamp(190px, 22vh, 250px)); padding-bottom: 100px; }
.overline { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; white-space: nowrap; }
.overline .hairline { width: 42px; height: 1px; background: var(--rose); }
.hero h1 { font-size: clamp(68px, 6.9vw, 118px); line-height: 1.04;   /* 1.04: a cauda do "f" (refinada) não encosta no acento de "técnica" */ max-width: 820px; margin: 0 0 30px; }
.hero-content > p { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.75; max-width: 430px; color: var(--cacau-suave); margin-bottom: 34px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-bottom {
  position: absolute; z-index: 3; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 48px;
  font-size: 11px; letter-spacing: .2em; font-weight: 700; text-transform: uppercase; color: var(--cacau-suave);
}
.hero-scroll { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; }
.hero-scroll:hover { color: var(--rose-texto); }
.scroll-line { width: 40px; height: 1px; background: var(--rose); }

/* 7. Clínica (intro) ---------------------------------------------------- */
.intro { background: var(--linho-claro); }
.intro-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(55px, 8.5vw, 155px); align-items: center; }
.intro-visual { position: relative; padding-left: 35px; }
.intro-visual::before { content: ''; position: absolute; z-index: 0; left: 0; top: 40px; bottom: 50px; width: calc(100% - 50px); background: var(--areia); opacity: .7; }
.intro-image { position: relative; z-index: 1; aspect-ratio: 1.29; overflow: hidden; box-shadow: 0 18px 35px rgba(67, 39, 28, .075); }
.visual-caption { font-size: 11px; letter-spacing: .16em; font-weight: 600; text-transform: uppercase; color: var(--cacau-suave); margin: 22px 0 0; display: flex; gap: 24px; }
.visual-caption span { color: var(--rose-texto); }
.intro-copy { padding-block: 15px; }
.intro-copy h2 { font-size: clamp(52px, 4.7vw, 82px); line-height: 1.02; margin-bottom: 32px; }
.intro-copy .lead { font-family: var(--display); font-size: clamp(23px, 1.9vw, 30px); font-weight: 400; line-height: 1.3; max-width: 560px; margin-bottom: 20px; }
.intro-copy > p:not(.eyebrow):not(.lead) { color: var(--cacau-suave); font-size: 15px; line-height: 1.85; max-width: 500px; }
.intro-signature { display: flex; align-items: center; gap: 22px; margin-top: 48px; font-size: 11px; letter-spacing: .14em; font-weight: 700; color: var(--rose-texto); }
.intro-signature-line { background: var(--rose); width: 52px; height: 1px; }

/* 8. Tratamentos -------------------------------------------------------- */
.treatments { background: var(--linho-fundo); padding-block: clamp(80px, 8vw, 125px); }
.treatments-grid { display: grid; grid-template-columns: minmax(230px, .86fr) minmax(0, 3.1fr); gap: clamp(30px, 4vw, 65px); align-items: stretch; }
.treatments-heading { display: flex; flex-direction: column; }
.treatments-heading h2 { font-size: clamp(50px, 4vw, 74px); line-height: 1; margin: 10px 0 28px; }
.treatments-heading > p:not(.eyebrow) { font-size: 15px; line-height: 1.75; max-width: 260px; color: var(--cacau-suave); }
.treatments-index { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--rose-texto); margin-top: auto; padding-top: 40px; }
.treatments-index span { font-size: 21px; vertical-align: -2px; margin-left: 12px; }

.treatment-panels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; height: clamp(440px, 40vw, 580px); }
.treatment-panel {
  position: relative; overflow: hidden; isolation: isolate; container-type: inline-size;
  display: block; padding: 0; border: 0; text-align: left; color: #fff; cursor: pointer; background: var(--rose);
}
.treatment-panel img { position: absolute; inset: 0; object-fit: cover; filter: saturate(.85); transition: transform .7s ease, filter .5s ease; }
.panel-facial img { object-position: 90% 30%; }   /* rosto à direita na foto: mantém rosto e mão no quadro */
.panel-corporal img { object-position: 45% 38%; }
.panel-harmonia img { object-position: 60% 28%; }   /* perfil voltado à direita: mantém a ponta do nariz dentro do quadro em 768 px */
.panel-laser img { object-position: 45% 40%; }
/* degradê da base: garante ≥ 4,5:1 para número, título e descrição sem escurecer a metade de cima da foto */
.treatment-panel::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to bottom, transparent 30%, rgba(56, 40, 34, .36) 52%, rgba(52, 35, 29, .6) 66%, rgba(48, 32, 27, .88) 100%); }
.treatment-panel:hover img, .treatment-panel:focus-visible img { transform: scale(1.05); filter: saturate(1); }
.treatment-panel:focus-visible { outline: 2px solid #fff; outline-offset: -8px; }
.panel-content { position: absolute; z-index: 1; inset: auto 8cqi 24px 8cqi; display: flex; flex-direction: column; align-items: start; }
.panel-number { font-size: 11px; letter-spacing: .18em; font-weight: 700; color: var(--rose-claro); margin-bottom: 12px; }
/* o nome acompanha a largura do painel: "Harmonização" cabe em qualquer tela */
.panel-name { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 14cqi, 42px); letter-spacing: -.01em; line-height: 1; margin-bottom: 12px; }
.panel-description { font-size: 13px; line-height: 1.5; min-height: 39px; color: #fff6f0; }
.panel-arrow { display: grid; place-items: center; width: 40px; margin-top: 12px; padding-top: 5px; border-top: 1px solid rgba(255, 255, 255, .6); font-size: 20px; font-weight: 400; }

/* 9. Experiência -------------------------------------------------------- */
.experience { display: grid; grid-template-columns: 1.25fr .75fr; background: var(--linho-claro); min-height: 660px; }
.experience-photo { position: relative; overflow: hidden; min-height: 600px; }
.experience-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(34, 22, 19, .42), transparent 35%); }
.image-tag { position: absolute; z-index: 2; bottom: 26px; left: 35px; color: #fff; letter-spacing: .16em; font-size: 11px; font-weight: 700; }
.experience-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(60px, 7vw, 120px) clamp(45px, 6vw, 110px); max-width: 680px; }
.experience-copy h2 { font-size: clamp(52px, 4.4vw, 84px); line-height: 1.1;   /* 1.1: o "p" de "espaço" não encosta no "d" de "pensado" */ margin-bottom: 26px; }
.experience-copy > p:not(.eyebrow) { font-size: 15px; line-height: 1.85; color: var(--cacau-suave); max-width: 440px; }

/* 10–11. Filosofia ------------------------------------------------------ */
/* só tipografia e espaço: fundo liso em areia clara, sem manchas nem letras decorativas */
.manifesto { position: relative; background: linear-gradient(180deg, #EAD9CF 0%, var(--linho) 100%); padding-block: clamp(100px, 11vw, 170px); }
.manifesto-grid { display: grid; grid-template-columns: 1fr 3.2fr; gap: 35px; }
.manifesto-grid > .eyebrow { padding-top: 22px; }
.manifesto-main .quote-mark { font-family: var(--display); color: var(--rose); font-size: 84px; line-height: .55; display: block; margin-bottom: 26px; }
.manifesto h2 { font-size: clamp(52px, 5.6vw, 100px); line-height: 1.04; margin-bottom: 34px; }
.manifesto-main > p { font-size: 11px; letter-spacing: .19em; font-weight: 700; color: var(--rose-texto); margin: 0; }

/* 12. Conversão (CTA) --------------------------------------------------- */
.cta { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(110deg, var(--vinho) 0%, var(--rose-botao-hover) 100%); min-height: 440px; display: flex; align-items: center; color: #fff; }
/* foto dissolvida por máscara, sem corte reto */
.cta-photo {
  position: absolute; z-index: -1; inset: 0 50% 0 0; opacity: .85;
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 45%, transparent 100%);
}
.cta-photo picture { display: block; width: 100%; height: 100%; }
.cta-photo img { object-position: 35% center; }
.cta-content { display: grid; grid-template-columns: 1.1fr 1.25fr auto; gap: clamp(24px, 4vw, 75px); align-items: center; padding-block: 76px; }
.cta-text { grid-column: 2; }
.cta .eyebrow { color: var(--rose-claro); }
.cta h2 { font-size: clamp(48px, 4.3vw, 78px); line-height: .98; margin-bottom: 18px; }
.cta h2 em { color: var(--rose-claro); }
.cta-text > p:not(.eyebrow) { font-size: 15px; line-height: 1.7; max-width: 420px; color: #F8E6DD; margin-bottom: 0; }
.cta :focus-visible { outline-color: #fff; }
.btn-light { background: transparent; border-color: rgba(255, 246, 238, .85); color: #fff; white-space: nowrap; }
.btn-light:hover { background: rgba(255, 255, 255, .14); }

/* 13. Rodapé ------------------------------------------------------------ */
.footer { background: var(--linho-claro); padding-top: 65px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1.4fr; align-items: center; gap: 45px; padding-bottom: 56px; }
.footer-mark { justify-self: start; }
.footer-top > p { font-size: 15px; color: var(--cacau-suave); line-height: 1.65; border-left: 1px solid var(--linha); padding-left: 48px; margin: 0; }
.footer nav { display: flex; justify-content: end; column-gap: 28px; flex-wrap: wrap; }
.footer nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 11.5px; letter-spacing: .1em; font-weight: 700; text-transform: uppercase; }
.footer nav a:hover { color: var(--rose-texto); }
.footer-bottom {
  border-top: 1px solid var(--linha);
  display: flex; gap: 25px; align-items: center; justify-content: space-between;
  padding-block: 18px 30px; font-size: 12px; line-height: 1.6; color: var(--cacau-suave);
}
.footer-bottom p { margin: 0; max-width: 640px; }
.footer-bottom a { text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--rose-texto); }
.footer-site { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; color: var(--rose-texto); text-decoration: none !important; border-bottom: 1px solid var(--rose); }

/* 14. Janela demonstrativa --------------------------------------------- */
.demo-dialog { width: 100%; max-width: min(540px, calc(100% - 30px)); padding: 0; border: 0; box-shadow: 0 35px 90px rgba(39, 21, 17, .25); background: #FCF6F1; color: var(--cacau); }
.demo-dialog::backdrop { background: rgba(33, 20, 17, .62); backdrop-filter: blur(4px); }
.dialog-content { position: relative; padding: clamp(30px, 5vw, 58px); }
.dialog-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; font-size: 30px; line-height: 1; color: var(--cacau); cursor: pointer; }
.dialog-content .eyebrow { margin-bottom: 22px; padding-right: 40px; }
.dialog-content h2 { font-size: clamp(44px, 4.4vw, 70px); line-height: 1.02; margin-bottom: 18px; }
.dialog-content > p:not(.eyebrow) { font-size: 15px; line-height: 1.75; color: var(--cacau-suave); margin-bottom: 18px; }
.dialog-content .dialog-note { font-size: 13px; padding-top: 16px; border-top: 1px solid var(--linha); margin-bottom: 26px !important; }
.dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.dialog-actions .text-link { margin-top: 0; padding-bottom: 6px; gap: 14px; font-size: 11.5px; }

/* 15. Responsivo -------------------------------------------------------- */
@media (min-width: 1600px) {
  .hero h1 { font-size: 112px; }
}

@media (max-width: 1190px) {
  .desktop-nav { gap: 20px; padding-left: 0; }
  .header-cta { padding: 0 14px; }
  .treatments-grid { grid-template-columns: 230px 1fr; gap: 30px; }
  .panel-description { font-size: 12.5px; }
  .experience-copy { padding: 60px 45px; }
}

@media (max-width: 960px) {
  .wrap { width: min(calc(100% - 64px), var(--page-max)); }
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 44px; height: 44px; border: 1px solid var(--linha); background: transparent; cursor: pointer;
  }
  .menu-toggle span { display: block; width: 17px; height: 1px; background: var(--cacau); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .mobile-nav {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0; padding: 18px 32px 28px;
    background: #F9F0E9; box-shadow: 0 18px 35px rgba(49, 29, 23, .1);
    visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .mobile-nav a { display: flex; align-items: center; min-height: 48px; font-size: 13px; border-bottom: 1px solid var(--linha); }
  .mobile-nav a:last-child { border-bottom: 0; color: var(--rose-texto); }
  .site-header.menu-open .mobile-nav { visibility: visible; pointer-events: auto; opacity: 1; transform: none; }

  .hero { height: auto; min-height: 800px; }
  .hero-content { padding-top: calc(var(--barra) + 220px); padding-bottom: 130px; }
  .hero h1 { font-size: clamp(64px, 9vw, 88px); }
  .hero-photo { left: 28%; }
  .hero-photo img { object-position: 64% 40%; }      /* tablet: rosto inteiro, afastado do texto */
  .hero::after { display: none; }                      /* até 960 px a elipse cruzaria o rosto */
  .intro-grid { gap: 45px; }
  .intro-copy h2 { font-size: clamp(46px, 5.6vw, 68px); }
  .treatments-grid { display: block; }
  .treatments-heading { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px 30px; margin-bottom: 35px; }
  .treatments-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
  .treatments-heading h2 { font-size: 60px; margin: 0; }
  .treatments-heading > p:not(.eyebrow) { align-self: center; max-width: 330px; }
  .treatments-index { display: none; }
  .treatment-panels { height: 500px; }
  .experience { grid-template-columns: 1fr 1fr; }
  .experience-photo { min-height: 580px; }
  .experience-copy h2 { font-size: clamp(46px, 5.6vw, 66px); }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-grid > .eyebrow { padding-top: 0; margin-bottom: 10px; }
  .cta-content { grid-template-columns: .6fr 1fr; }
  .cta-text { grid-column: 2; }
  .cta .btn-light { grid-column: 2; justify-self: start; }
  .cta-photo { right: 45%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer nav { grid-column: 1 / -1; justify-content: start; }
  .footer-bottom { flex-direction: column; align-items: start; }
}

@media (max-width: 680px) {
  :root { --barra: 34px; --cabecalho: 68px; }
  .wrap { width: calc(100% - 40px); }
  .demo-bar__longo { display: none; }
  .demo-bar__curto { display: inline; }
  .demo-bar p, .demo-bar a { font-size: 11.5px; }
  .wordmark-name { font-size: 26px; }
  .header-cta { display: none; }
  .mobile-nav { padding: 12px 20px 22px; }

  .hero { min-height: 0; display: flex; align-items: flex-end; }
  .hero-photo { inset: calc(var(--barra) + var(--cabecalho)) 0 auto 0; height: 450px; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .hero-photo img { object-position: 52% 30%; }
  .hero-content { padding-top: 440px; padding-bottom: 104px; }
  .overline { font-size: 11px; gap: 8px 12px; flex-wrap: wrap; white-space: normal; margin-bottom: 18px; letter-spacing: .16em; }
  .overline .hairline { width: 22px; }
  .hero h1 { font-size: clamp(52px, 15vw, 80px); line-height: 1.04; margin-bottom: 20px; max-width: 520px; }
  .hero-content > p { font-size: 15px; max-width: 400px; line-height: 1.65; margin-bottom: 26px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { min-height: 50px; padding: 0 18px; gap: 16px; font-size: 13px; }
  .hero-bottom { bottom: 24px; gap: 28px; font-size: 11px; letter-spacing: .16em; }
  .hero-bottom > span:first-child { display: none; }
  .scroll-line { width: 24px; }

  .section { padding-block: 76px; }
  .eyebrow { font-size: 11px; margin-bottom: 20px; }
  .intro-grid { grid-template-columns: 1fr; gap: 52px; }
  .intro-visual { padding-left: 19px; order: 2; }
  .intro-image { aspect-ratio: 1.27; }
  .intro-copy { order: 1; padding: 0; }
  .intro-copy h2 { font-size: clamp(50px, 13vw, 76px); margin-bottom: 22px; }
  .intro-copy .lead { font-size: 24px; }
  .intro-signature { margin-top: 28px; }
  .visual-caption { font-size: 11px; }

  .treatments-heading { display: block; margin-bottom: 34px; }
  .treatments-heading h2 { font-size: clamp(52px, 13vw, 74px); margin-bottom: 20px; }
  .treatments-heading > p:not(.eyebrow) { max-width: 360px; }
  .treatment-panels { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .treatment-panel { height: 380px; }
  .panel-content { bottom: 16px; }
  .panel-name { font-size: clamp(20px, 14.5cqi, 32px); }
  .panel-description { font-size: 12.5px; min-height: 0; }
  .panel-description br { display: none; }
  .panel-number { font-size: 11px; margin-bottom: 10px; }

  .experience { display: flex; flex-direction: column; }
  .experience-photo { min-height: auto; aspect-ratio: 1.25; }
  .image-tag { left: 20px; bottom: 18px; font-size: 11px; }
  .experience-copy { padding: 68px 20px 80px; max-width: none; }
  .experience-copy h2 { font-size: clamp(52px, 13vw, 78px); }

  .manifesto { padding-block: 80px 90px; }
  .manifesto-grid > .eyebrow { margin-bottom: 36px; }
  .manifesto-main .quote-mark { font-size: 72px; }
  .manifesto h2 { font-size: clamp(46px, 11vw, 70px); line-height: 1.06; }
  .manifesto-main > p { line-height: 1.6; }

  .cta { min-height: 0; display: block; }
  .cta-photo { inset: 0 0 auto 0; height: 250px; opacity: .8; -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%); mask-image: linear-gradient(180deg, #000 40%, transparent 100%); }
  .cta-content { display: flex; flex-direction: column; align-items: start; gap: 16px; padding-top: 250px; padding-bottom: 72px; }
  .cta h2 { font-size: clamp(50px, 13vw, 76px); }
  .cta .btn-light { margin-top: 6px; }

  .footer { padding-top: 52px; }
  .footer-top { display: flex; flex-direction: column; align-items: start; gap: 24px; padding-bottom: 36px; }
  .footer-top > p { padding-left: 0; border: 0; }
  .footer nav { column-gap: 24px; }
  .footer-bottom { gap: 12px; padding-bottom: 36px; }
}

@media (max-width: 370px) {
  .wordmark-name { font-size: 23px; }
  .demo-bar p, .demo-bar a { font-size: 11px; }
  .demo-bar__inner { gap: 10px; }
  .demo-bar__demo { display: none; }
  .hero h1 { font-size: 50px; }
  .hero-content { padding-top: 405px; }
  .hero-photo { height: 415px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .treatment-panel { height: 330px; }
  .panel-description { font-size: 12px; }
}

/* 16. Movimento reduzido ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  .btn, .text-link, .treatment-panel img, .site-header, .header-bg, .mobile-nav { transition: none !important; }
  .treatment-panel:hover img, .treatment-panel:focus-visible img { transform: none; }
}
