/* =========================================================
   Aura Clínica — site
   Desktop reproduz o layout do Illustrator (prancheta 1920px):
   todas as medidas usam --u = 1px da prancheta, escalado à tela.
   ========================================================= */

/* Fontes da marca: coloque os arquivos em /fonts para usá-las.
   Sem os arquivos, entram os substitutos do Google Fonts. */
@font-face { font-family: "RNS Sanz"; src: local("RNS Sanz"), local("RNSSanz-Normal"), url("fonts/RNSSanz-Normal.woff2") format("woff2"), url("fonts/RNSSanz-Normal.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "RNS Sanz"; src: local("RNSSanz-Medium"), url("fonts/RNSSanz-Medium.woff2") format("woff2"), url("fonts/RNSSanz-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "RNS Sanz"; src: local("RNSSanz-Bold"), url("fonts/RNSSanz-Bold.woff2") format("woff2"), url("fonts/RNSSanz-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Optika"; src: local("Optika"), local("Optika-Regular"), url("fonts/Optika-Regular.woff2") format("woff2"), url("fonts/Optika-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Optika"; src: local("Optika-SemiBold"), url("fonts/Optika-SemiBold.woff2") format("woff2"), url("fonts/Optika-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  /* --u0 = 1px da prancheta 1920 na tela; --u = o mesmo, encolhido por --k para dar respiro;
     --off = margem extra de cada lado que esse encolhimento libera */
  --u0: calc(min(100vw, 1920px) / 1920);
  --k: .84;
  --u: calc(var(--u0) * var(--k));
  --off: calc((min(100vw, 1920px) - 1920 * var(--u)) / 2);

  --taupe: #645E5A;
  --taupe-dark: #4D4741;
  --beige: #E8D8B6;
  --gold: #E2C48E;
  --blue: #325571;
  --blue-soft: #7991A3;
  --footer-text: #A39D98;
  --footer-legal: #7C7570;
  --white: #FFFFFF;

  --serif: Baskerville, "Libre Baskerville", Georgia, serif;
  --sans: "RNS Sanz", "Mulish", "Helvetica Neue", Arial, sans-serif;
  --body: "Optika", "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);       /* entradas e respostas */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);  /* movimento na tela */
  --ease: var(--ease-out);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
a, button, [role="button"], .proc { touch-action: manipulation; }
.btn, .nav__toggle, .wa-float, .nav__menu a { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
body { margin: 0; background: var(--white); color: var(--taupe); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure { margin: 0; }

section, footer { position: relative; max-width: 1920px; margin: 0 auto; }

.title {
  font-family: var(--serif); font-weight: 400; color: var(--taupe);
  font-size: calc(41.2 * var(--u)); letter-spacing: .06em; text-transform: uppercase; line-height: 1.1;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  color: var(--white); font-family: var(--sans); font-weight: 400; text-transform: uppercase;
  letter-spacing: .3em; white-space: nowrap;
  transition: scale 160ms var(--ease-out), background-color 200ms ease;
}
.btn:active { scale: .97; transition-duration: 100ms; }
@media (hover: hover) and (pointer: fine) {
  .btn--taupe:hover { background-color: var(--taupe-dark); }
  .btn--blue:hover { background-color: #284660; }
}
.btn--taupe { background: var(--taupe); }
.btn--blue { background: var(--blue); }

/* ---------- navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center;
  height: calc(116 * var(--u));
  padding-left: calc(var(--off) + 278 * var(--u));
  transition: height 300ms var(--ease-out);
}
.nav__menu { display: flex; gap: calc(64 * var(--u)); }
.nav__menu a {
  font-family: var(--sans); font-weight: 500; font-size: max(12px, calc(18 * var(--u)));
  letter-spacing: .1em; text-transform: uppercase; color: var(--taupe);
  position: relative; padding: 4px 0;
}
.nav__menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--taupe); transform: scaleX(0); transform-origin: 0 50%; transition: transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav__menu a:hover::after { transform: scaleX(1); } }
.nav__brand, .nav__toggle { display: none; }
/* o vidro fica numa camada própria: backdrop-filter no .nav prenderia o menu fixo dentro da barra */
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background-color: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); opacity: 0; transition: opacity 300ms ease; pointer-events: none; }
.nav.is-solid::before { opacity: 1; }
.nav.is-solid { height: calc(76 * var(--u)); }
/* borda de rolagem suave no lugar de uma linha dura */
.nav::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; background: linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); opacity: 0; pointer-events: none; transition: opacity 300ms ease; }
.nav.is-solid::after { opacity: 1; }

/* ---------- 1. hero ---------- */
.hero { height: calc(1131 * var(--u0)); overflow: hidden; background: #DDE4E3; }
.hero__img { position: absolute; left: -24px; top: -12px; width: calc(100% + 48px); max-width: none; height: calc(100% + 24px); object-fit: cover; }
.hero__logo { position: absolute; left: calc(var(--off) + 278 * var(--u)); top: calc(362 * var(--u0)); width: calc(181.2 * var(--u)); }
.hero__title {
  position: absolute; left: calc(var(--off) + 279.6 * var(--u)); top: calc(586 * var(--u0));
  font-family: var(--serif); font-weight: 400; color: var(--taupe-dark);
  font-size: calc(51.4 * var(--u)); line-height: calc(61.7 * var(--u)); letter-spacing: .3em; text-transform: uppercase;
}
.hero .btn {
  position: absolute; left: calc(var(--off) + 279.6 * var(--u)); top: calc(742.5 * var(--u0));
  min-width: calc(317.4 * var(--u)); padding: 0 1.8em; height: max(40px, calc(56.4 * var(--u))); font-size: max(11px, calc(14.3 * var(--u)));
}
.hero__logo, .hero__title, .hero .btn { opacity: 0; animation: rise 700ms var(--ease-out) forwards; }
.hero__title { animation-delay: 150ms; }
.hero .btn { animation-delay: 650ms; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 2. aura clínica ---------- */
.clinic { min-height: calc(1068 * var(--u)); }
.clinic__icon { position: absolute; left: calc(var(--off) + 1790 * var(--u)); top: calc(69 * var(--u)); width: calc(66 * var(--u)); }
.clinic__media { position: absolute; inset: 0 auto auto 0; }
.clinic__block { position: absolute; left: 0; top: calc(139.7 * var(--u)); width: calc(var(--off) + 712 * var(--u)); height: calc(788.5 * var(--u)); background: var(--beige); }
.clinic__photo { position: absolute; left: calc(var(--off) + 137.8 * var(--u)); top: calc(274.4 * var(--u)); width: calc(806.2 * var(--u)); height: calc(537.5 * var(--u)); max-width: none; object-fit: cover; display: block; }
.clinic__text { position: relative; margin-left: calc(var(--off) + 1058.6 * var(--u)); padding: calc(250 * var(--u)) 0 calc(120 * var(--u)); width: calc(660 * var(--u)); }
.clinic__text .title { margin-bottom: calc(30 * var(--u)); }
.clinic__text p { font-family: var(--sans); font-size: max(15px, calc(26 * var(--u))); line-height: 1.7; letter-spacing: .01em; color: var(--taupe); }
.clinic__text p + p { margin-top: .9em; }

/* ---------- 3. procedimentos ---------- */
.procs {
  height: calc(1228 * var(--u));
  background: url("assets/v2/fundo-procedimentos.jpg") center / cover no-repeat;
  display: flex; flex-direction: column; align-items: center;
}
.procs::before { content: none; }
.procs > * { position: relative; }
.procs__title { margin-top: calc(118 * var(--u)); font-size: calc(44 * var(--u)); line-height: 1.3; letter-spacing: .02em; text-align: center; }
.procs__grid { display: grid; grid-template-columns: repeat(4, calc(334.9 * var(--u))); gap: calc(29.1 * var(--u)); margin-top: calc(52 * var(--u)); }
.proc { position: relative; height: calc(608 * var(--u)); overflow: hidden; }
.proc img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.proc::after { content: ""; position: absolute; inset: 55% 0 0 0; background: linear-gradient(180deg, transparent, rgba(40, 32, 26, .35)); }
.proc h3 {
  position: absolute; z-index: 1; left: calc(20 * var(--u)); right: calc(14 * var(--u)); bottom: calc(26 * var(--u));
  font-family: var(--serif); font-weight: 400; color: var(--white);
  font-size: calc(40 * var(--u)); line-height: 1.05;
}
.procs .btn--lg { margin-top: calc(90 * var(--u)); min-width: calc(506.8 * var(--u)); padding: 0 2em; height: max(46px, calc(90 * var(--u))); font-size: max(12px, calc(22.8 * var(--u))); }

/* ---------- 4. dra. nicole ---------- */
.doctor { min-height: calc(987 * var(--u)); overflow: hidden; }
.doctor__media { position: absolute; inset: 0; }
.doctor__nb { position: absolute; left: calc(var(--off) + 223 * var(--u)); bottom: calc(12.4 * var(--u)); width: calc(667.3 * var(--u)); max-width: none; }
.doctor__photo { position: absolute; left: calc(var(--off) + 199.8 * var(--u)); bottom: calc(-200.4 * var(--u)); width: calc(674.3 * var(--u)); max-width: none; }
.doctor__text { position: relative; margin-left: calc(var(--off) + 1007 * var(--u)); padding: calc(175 * var(--u)) 0 calc(140 * var(--u)); width: calc(680 * var(--u)); }
.doctor__text .title { margin-bottom: calc(40 * var(--u)); }
.doctor__text p { font-family: var(--body); font-size: max(13px, calc(22 * var(--u))); line-height: 1.75; letter-spacing: .01em; color: var(--taupe); }
.doctor__text p + p { margin-top: 1.1em; }

/* ---------- 5. autora ---------- */
.author { height: calc(1080 * var(--u)); overflow: hidden; background: #cfe3ea; }
.author::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background:
  linear-gradient(0deg, rgba(31, 52, 74, .72) 0%, rgba(31, 52, 74, .28) 38%, rgba(31, 52, 74, 0) 70%),
  linear-gradient(90deg, rgba(31, 52, 74, .38) 0%, rgba(31, 52, 74, 0) 30%, rgba(31, 52, 74, 0) 62%, rgba(31, 52, 74, .38) 100%); }
.author > * { position: absolute; z-index: 3; }
.author > .author__bg { inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.author__label { left: calc(var(--off) + 174 * var(--u)); top: calc(522 * var(--u)); font-family: var(--body); font-weight: 600; font-size: calc(50.9 * var(--u)); letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.author > .author__photo { z-index: 1; left: calc(var(--off) + 470 * var(--u)); bottom: 0; height: calc(1020 * var(--u)); width: auto; max-width: none; }
.author__logo { left: calc(var(--off) + 1359 * var(--u)); top: calc(350 * var(--u)); width: calc(386.5 * var(--u)); max-width: none; filter: drop-shadow(calc(8 * var(--u)) calc(8 * var(--u)) calc(10 * var(--u)) rgba(0, 0, 0, .18)); }

/* ---------- 6. método exclusivo ---------- */
.method { min-height: calc(1254 * var(--u)); }
.method__text { position: relative; margin-left: calc(var(--off) + 240 * var(--u)); padding: calc(184 * var(--u)) 0 calc(140 * var(--u)); width: calc(600 * var(--u)); text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.method__ring { width: calc(144 * var(--u)); margin: 0 calc(-47 * var(--u)) calc(-4 * var(--u)) 0; }
.method__title { font-family: var(--serif); font-weight: 400; color: var(--blue); font-size: calc(44.2 * var(--u)); line-height: calc(53.1 * var(--u)); letter-spacing: .17em; text-transform: uppercase; margin-bottom: calc(52 * var(--u)); }
.method__text p { font-family: var(--body); font-size: max(13px, calc(22 * var(--u))); line-height: 1.75; letter-spacing: .01em; color: var(--taupe); }
.method__text p + p { margin-top: 1.1em; }
.clinic .btn, .method .btn { margin-top: calc(68 * var(--u)); min-width: calc(401.6 * var(--u)); padding: 0 1.8em; height: max(42px, calc(71.3 * var(--u))); font-size: max(11px, calc(18 * var(--u))); }
.method__media { position: absolute; left: calc(var(--off) + 969.5 * var(--u)); top: calc(177.5 * var(--u)); width: calc(768.8 * var(--u)); height: calc(882.3 * var(--u)); box-shadow: calc(10 * var(--u)) calc(10 * var(--u)) calc(16 * var(--u)) rgba(0, 0, 0, .25); overflow: hidden; }
.method__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 7. rodapé ---------- */
.footer { background: var(--taupe); height: calc(735 * var(--u)); }
.footer__inner { position: absolute; inset: 0; }
.footer__logo { position: absolute; left: calc(var(--off) + 232.9 * var(--u)); top: calc(259.5 * var(--u)); width: calc(404.2 * var(--u)); max-width: none; }
.footer__col { position: absolute; top: calc(126 * var(--u)); display: flex; flex-direction: column; }
.footer__col--nav { left: calc(var(--off) + 918 * var(--u)); width: calc(300 * var(--u)); }
.footer__col--contact { left: calc(var(--off) + 1273.7 * var(--u)); width: calc(470 * var(--u)); }
.footer h4 { font-family: var(--sans); font-weight: 700; font-size: max(12px, calc(20 * var(--u))); color: var(--beige); text-transform: uppercase; letter-spacing: .05em; margin-bottom: calc(36 * var(--u)); }
.footer__col a { font-family: var(--sans); font-weight: 500; font-size: max(13px, calc(21 * var(--u))); line-height: 1.5; letter-spacing: .05em; color: var(--footer-text); transition: color 150ms ease; }
.footer__col a + a { margin-top: calc(47 * var(--u)); }
@media (hover: hover) and (pointer: fine) { .footer__col a:hover { color: var(--beige); } }
.footer__legal {
  position: absolute; left: calc(var(--off) + 163 * var(--u)); right: calc(var(--off) + 140 * var(--u)); top: calc(632 * var(--u));
  border-top: 1px solid rgba(163, 157, 152, .35); padding-top: calc(36 * var(--u));
  text-align: center; font-family: var(--sans); font-weight: 500; font-size: max(11px, calc(17 * var(--u))); letter-spacing: .05em; color: var(--footer-legal);
}

/* ---------- animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; transition: opacity 200ms ease; }
  .hero__logo, .hero__title, .hero .btn { transform: none; animation: fadeOnly 200ms ease forwards; }
  @keyframes fadeOnly { from { opacity: 0; } to { opacity: 1; } }
}

/* =========================================================
   Celular e tablet: mesma linguagem, empilhada.
   ========================================================= */
@media (max-width: 820px) {
  :root { --g: 24px; }
  .clinic, .procs, .doctor, .author, .method, .footer { height: auto; }
  .reveal { transform: translateY(16px); }

  /* nav */
  .nav { height: 64px; padding: 0 var(--g); justify-content: space-between; }
  .nav.is-solid { height: 64px; }
  .nav__toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; margin-left: -8px; background: none; border: 0; cursor: pointer; position: relative; z-index: 2; }
  .nav__toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform 250ms var(--ease-out), opacity 200ms ease; }
  .nav.is-solid .nav__toggle span, .nav.is-open .nav__toggle span { background: var(--taupe); }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav.is-solid .nav__brand { display: block; position: absolute; left: 50%; transform: translateX(-50%); }
  .nav__brand img { height: 40px; width: auto; }
  .nav__menu { position: fixed; inset: 0; flex-direction: column; align-items: center; justify-content: center; gap: 32px; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); opacity: 0; visibility: hidden; transform: scale(.98); transform-origin: 32px 32px; transition: opacity 200ms ease, transform 200ms var(--ease-out), visibility 0s linear 200ms; }
  .nav__menu a { font-size: 15px; letter-spacing: .26em; }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; transition: opacity 300ms ease, transform 300ms var(--ease-out), visibility 0s; }
  .nav { padding-top: env(safe-area-inset-top); height: calc(64px + env(safe-area-inset-top)); padding-left: max(var(--g), env(safe-area-inset-left)); padding-right: max(var(--g), env(safe-area-inset-right)); }
  .nav.is-solid { height: calc(64px + env(safe-area-inset-top)); }

  /* hero */
  .hero { height: 100svh; min-height: 620px; background: #DDE3E1; }
  .hero__img { left: 0; width: 100%; height: 74%; object-position: 76% 50%; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .hero__content { position: absolute; left: var(--g); bottom: 12svh; }
  .hero__logo, .hero__title, .hero .btn { position: static; }
  .hero__logo { width: 110px; margin-bottom: 36px; }
  .hero__title { font-size: clamp(17px, 5.9vw, 24px); line-height: 1.3; letter-spacing: .26em; margin-bottom: 22px; }
  .hero .btn { width: auto; height: 42px; padding: 0 26px; font-size: 11px; border-radius: 21px; }

  .title { font-size: 22px; }
  .btn { border-radius: 22px; }

  /* clínica */
  .clinic { padding: 72px 0 80px; }
  .clinic__icon { left: auto; right: var(--g); top: 28px; width: 34px; }
  .clinic__media { position: relative; padding: 48px 0 48px 0; margin-right: var(--g); }
  .clinic__block { top: 0; width: 70%; height: 100%; }
  .clinic__photo { position: relative; left: auto; top: auto; width: calc(100% - var(--g)); height: auto; aspect-ratio: 16 / 9; margin-left: var(--g); aspect-ratio: 3 / 2; }
  .clinic__text { position: static; width: auto; padding: 44px var(--g) 0; }
  .clinic__text .title { margin-bottom: 18px; }
  .clinic__text p { font-size: 17px; line-height: 1.6; }
  .clinic__text p + p { margin-top: 14px; }

  /* procedimentos */
  .procs { padding: 64px var(--g) 64px; }
  .procs__title { margin-top: 0; font-size: clamp(16px, 5.4vw, 22px); }
  .procs__grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; width: 100%; }
  .proc { height: auto; aspect-ratio: 335 / 608; }
  .proc h3 { font-size: clamp(16px, 4.6vw, 22px); left: 10px; right: 8px; bottom: 12px; overflow-wrap: anywhere; }
    .procs .btn--lg { margin-top: 40px; width: 100%; max-width: 360px; height: 52px; font-size: 13px; }

  /* dra. nicole */
  .doctor { padding: 64px 0 0; display: flex; flex-direction: column-reverse; }
  .doctor__text { position: static; width: auto; padding: 0 var(--g); }
  .doctor__text .title { margin-bottom: 22px; }
  .doctor__text p { font-size: 15px; line-height: 1.7; }
  .doctor__text p + p { margin-top: 16px; }
  .doctor__media { position: relative; width: min(100%, 420px); margin: 40px auto 0; aspect-ratio: 667 / 883; clip-path: inset(-20% -20% 0 -20%); }
  .doctor__nb { left: 0; top: 0; width: 100%; }
  .doctor__photo { left: -3.5%; top: .4%; width: 101%; }
  .doctor__nb, .doctor__photo { bottom: auto; }
  .clinic__text, .doctor__text, .method__text { margin-left: 0; }
  .clinic, .doctor, .method { min-height: 0; }
  .hero__logo, .hero__title, .hero .btn { top: auto; }

  /* autora */
  .author { display: grid; grid-template-columns: 1fr; padding: 48px var(--g) 0; min-height: 0; }
  .author > * { position: relative; left: auto; top: auto; }
  .author > .author__bg { position: absolute; inset: 0; }
  .author__label { font-size: 22px; grid-row: 1; }
  .author__logo { grid-row: 2; width: 58%; max-width: 260px; justify-self: end; margin-top: -8px; }
  .author::after { background: linear-gradient(0deg, rgba(31, 52, 74, .6) 0%, rgba(31, 52, 74, 0) 22%); }
  .author > .author__photo { grid-row: 3; left: auto; bottom: auto; height: auto; width: 100%; max-width: 440px; justify-self: center; margin-top: 8px; }

  /* método */
  .method { padding: 72px var(--g) 80px; display: flex; flex-direction: column; gap: 44px; }
  .method__text { position: static; width: auto; padding: 0; }
  .method__ring { width: 96px; margin: 0 -14px -2px 0; }
  .method__title { font-size: 26px; line-height: 32px; margin-bottom: 26px; }
  .method__text p { font-size: 15px; line-height: 1.7; }
  .method__text p + p { margin-top: 16px; }
  .clinic .btn, .method .btn { width: auto; height: 46px; padding: 0 28px; font-size: 12px; margin-top: 30px; }
  .method__media { position: relative; left: auto; top: auto; width: 100%; height: auto; aspect-ratio: 768.8 / 882.3; box-shadow: 6px 6px 14px rgba(0, 0, 0, .2); }

  /* rodapé */
  .footer { padding: 56px var(--g) 28px; }
  .footer__inner { position: static; display: flex; flex-direction: column; gap: 40px; }
  .footer__logo, .footer__col { position: static; width: auto !important; }
  .footer__logo { width: 200px !important; }
  .footer h4 { font-size: 14px; margin-bottom: 16px; }
  .footer__col a { font-size: 15px; line-height: 1.5; }
  .footer__col a + a { margin-top: 12px; }
  .footer__legal { position: static; margin-top: 44px; padding-top: 22px; font-size: 12px; }
}

/* =========================================================
   Movimento e interação
   ========================================================= */

/* barra de progresso de leitura */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #C9A86A); transform-origin: 0 50%; transform: scaleX(0); }

/* menu: item da seção atual */
.nav__menu a.is-active::after { right: 0; }

/* hero: título letra a letra */
.hero__title[data-split] { animation: none; opacity: 1; }
.hero__title .char { display: inline-block; opacity: 0; transform: translateY(.3em); filter: blur(4px); animation: charIn 700ms var(--ease-out) forwards; animation-delay: calc(200ms + var(--i) * 24ms); }
.hero__title .space { display: inline-block; width: .3em; }
@keyframes charIn { to { opacity: 1; transform: none; filter: blur(0); } }
.hero__img { will-change: translate; }

/* indicador de rolagem */
.hero__scroll { position: absolute; left: 50%; bottom: calc(40 * var(--u)); width: 1px; height: calc(80 * var(--u)); min-height: 44px; background: rgba(77, 71, 65, .25); transform: translateX(-50%); overflow: hidden; }
.hero__scroll span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--taupe-dark); animation: scrollCue 2.2s var(--ease-in-out) 1.5s 3; }
@keyframes scrollCue { 0% { top: -40%; } 100% { top: 100%; } }

/* botões magnéticos */
.magnetic { transition: scale 160ms var(--ease-out), background-color 200ms ease, translate 500ms var(--ease-out); }
.btn { position: relative; overflow: hidden; }

/* revelação com cortina */
.reveal--wipe { opacity: 1; transform: none; }
.reveal--wipe .clinic__photo, .method__media.reveal--wipe img { clip-path: inset(0 100% 0 0); transition: clip-path 900ms var(--ease-in-out) 100ms; }
.method__media.reveal--wipe { box-shadow: none; transition: box-shadow 500ms ease 800ms; }
.method__media.reveal--wipe.is-in { box-shadow: calc(10 * var(--u)) calc(10 * var(--u)) calc(16 * var(--u)) rgba(0, 0, 0, .25); }
.reveal--wipe .clinic__block { transform: scaleX(0); transform-origin: 0 50%; transition: transform 700ms var(--ease-in-out); }
.reveal--wipe.is-in .clinic__photo, .method__media.reveal--wipe.is-in img { clip-path: inset(0 0 0 0); }
.reveal--wipe.is-in .clinic__block { transform: none; }

/* ícone gira com a rolagem */

/* procedimentos: cartões interativos */
.proc { cursor: pointer; outline: none; transition: scale 160ms var(--ease-out); }
.proc:active { scale: .985; transition-duration: 100ms; }
.proc:focus-visible { outline: 2px solid var(--white); outline-offset: -6px; }
.proc::after { inset: 0; background: linear-gradient(180deg, rgba(40, 32, 26, 0) 45%, rgba(40, 32, 26, .55) 100%); transition: background 280ms ease; }
.proc__body { position: absolute; z-index: 1; left: calc(20 * var(--u)); right: calc(18 * var(--u)); bottom: calc(26 * var(--u)); color: var(--white); }
.proc .proc__body h3 { position: static; }
.proc__body p, .proc__body a { display: block; max-height: 0; opacity: 0; overflow: hidden; transform: translateY(12px); transition: max-height 280ms var(--ease-out), opacity 200ms ease, transform 280ms var(--ease-out), margin 280ms var(--ease-out); }
.proc__body p { font-family: var(--body); font-size: max(12px, calc(17 * var(--u))); line-height: 1.55; letter-spacing: .02em; }
.proc__body a { font-family: var(--sans); font-size: calc(13 * var(--u)); letter-spacing: .26em; text-transform: uppercase; color: var(--beige); padding-bottom: 4px; width: max-content; border-bottom: 1px solid currentColor; }
.proc:focus-within::after, .proc.is-open::after { background: linear-gradient(180deg, rgba(40, 32, 26, .15) 0%, rgba(40, 32, 26, .78) 100%); }
.proc:focus-within .proc__body p, .proc.is-open .proc__body p { max-height: 8em; opacity: 1; transform: none; margin-top: calc(14 * var(--u)); }
.proc:focus-within .proc__body a, .proc.is-open .proc__body a { max-height: 3em; opacity: 1; transform: none; margin-top: calc(18 * var(--u)); transition-delay: 40ms; }
.proc:focus-within img, .proc.is-open img { transform: scale(1.03); }
@media (hover: hover) and (pointer: fine) {
  .proc:hover::after { background: linear-gradient(180deg, rgba(40, 32, 26, .15) 0%, rgba(40, 32, 26, .78) 100%); }
  .proc:hover .proc__body p { max-height: 8em; opacity: 1; transform: none; margin-top: calc(14 * var(--u)); }
  .proc:hover .proc__body a { max-height: 3em; opacity: 1; transform: none; margin-top: calc(18 * var(--u)); transition-delay: 40ms; }
  .proc:hover img { transform: scale(1.03); }
}
.procs__grid .proc.reveal { transition: opacity 600ms var(--ease-out) var(--d), transform 600ms var(--ease-out) var(--d), scale 160ms var(--ease-out); }

/* brilho dourado passando sobre os elementos de ouro */
.shine { display: block; }
.shine img { width: 100%; max-width: none; }
.shine::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 250, 235, .85) 50%, transparent 62%);
  background-size: 300% 100%; background-position: 150% 0;
  mix-blend-mode: soft-light;
}
.shine.is-lit::after { animation: shine 1.6s var(--ease-in-out) 300ms 1 both; }
.author__logo.shine::after { mix-blend-mode: normal; opacity: .55; }
@keyframes shine { from { background-position: 150% 0; } to { background-position: -50% 0; } }

/* parallax suave */
[data-parallax] { will-change: translate; }

/* anel do método flutuando */

/* faixa de frases */
.marquee { background: var(--beige); overflow: hidden; padding: calc(46 * var(--u)) 0; border-top: 1px solid rgba(100, 94, 90, .12); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee p { font-family: var(--serif); font-style: italic; font-size: calc(40 * var(--u)); color: var(--taupe); white-space: nowrap; display: flex; align-items: center; }
.marquee p::after { content: ""; width: calc(10 * var(--u)); height: calc(10 * var(--u)); min-width: 6px; min-height: 6px; margin: 0 calc(56 * var(--u)); border-radius: 50%; background: var(--taupe); opacity: .45; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 45; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--taupe); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(40, 32, 26, .5);
  opacity: 0; transform: translateY(8px) scale(.96); pointer-events: none;
  transition: opacity 250ms ease, transform 250ms var(--ease-out), scale 160ms var(--ease-out), background-color 200ms ease;
}
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--taupe); opacity: 0; }
.wa-float.is-visible::before { animation: ping 1.4s var(--ease-out) 300ms 2; }
.wa-float:active { scale: .94; transition-duration: 100ms; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { background-color: var(--taupe-dark); } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

@media (max-width: 820px) {
  .hero__scroll { display: none; }
  .proc__body { left: 10px; right: 8px; bottom: 12px; }
  .proc .proc__body h3 { font-size: clamp(16px, 4.6vw, 22px); }
  .proc__body p { font-size: 12px; }
  .proc.is-open .proc__body p { margin-top: 6px; }
  .proc__body a { font-size: 10px; letter-spacing: .16em; }
  .proc.is-open .proc__body a { margin-top: 10px; }
  .marquee { padding: 22px 0; }
  .marquee p { font-size: 20px; }
  .marquee p::after { margin: 0 24px; }
  .wa-float { right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title .char { transform: none; filter: none; animation: fadeOnly 200ms ease forwards; }
  .reveal--wipe .clinic__photo, .method__media.reveal--wipe img { clip-path: none; }
  .reveal--wipe .clinic__block { transform: none; }
  .shine.is-lit::after, .marquee__track, .wa-float.is-visible::before, .hero__scroll span { animation: none; }
  .wa-float { transform: none; }
}

/* auréola do método: se desenha ao entrar na tela */
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.method__ring {
  --sweep: 0deg; opacity: 0;
  -webkit-mask: conic-gradient(from 160deg, #000 calc(var(--sweep) - 24deg), transparent var(--sweep));
  mask: conic-gradient(from 160deg, #000 calc(var(--sweep) - 24deg), transparent var(--sweep));
}
.method__text.is-in .method__ring { animation: haloDraw 1.6s var(--ease-in-out) 300ms forwards; }
@keyframes haloDraw {
  0% { --sweep: 0deg; opacity: 1; transform: translateY(calc(6 * var(--u))) rotate(-8deg) scale(.92); filter: drop-shadow(0 0 0 rgba(226, 196, 142, 0)); }
  70% { filter: drop-shadow(0 0 calc(10 * var(--u)) rgba(226, 196, 142, .9)); }
  100% { --sweep: 400deg; opacity: 1; transform: none; filter: drop-shadow(0 0 0 rgba(226, 196, 142, 0)); }
}
@media (prefers-reduced-motion: reduce) {
  .method__ring, .method__text.is-in .method__ring { opacity: 1; animation: none; -webkit-mask: none; mask: none; }
}

/* =========================================================
   Acessibilidade de materiais e contraste
   ========================================================= */
@media (prefers-reduced-transparency: reduce) {
  .nav::before { background-color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__menu { background: #fff !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}
@media (prefers-contrast: more) {
  .nav::before { background-color: #fff; border-bottom: 1px solid var(--taupe); }
  .footer__col a { color: #E9E4DF; }
}
