/* =========================================================
   WM Psicologia
   Mesclagem de marcas: Willian Santos (azul profundo + dourado)
   e Maria Vitória Brandão (areia + rosé).
   ========================================================= */

@font-face {
  font-family: "Aleiakids";
  src: url("../fonts/aleiakids.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Willian Santos */
  --ink: #0a272d;
  --ink-950: #031317;
  --ink-900: #071e23;
  --ink-800: #133a42;
  --ink-700: #1c4e58;
  --gold: #d1a364;
  --gold-200: #eeba73;
  --gold-50: #faefe4;
  /* Maria Vitória Brandão */
  --sand: #f6f0e8;
  --paper: #fbf8f4;
  --rose: #d9a8a0;
  --rose-soft: #f1e0db;
  --tinta: #43393a;

  --on-dark: #f6f0e8;
  --on-dark-muted: rgba(246, 240, 232, 0.74);
  --on-dark-faint: rgba(246, 240, 232, 0.14);
  --on-light: #0a272d;
  --on-light-muted: rgba(10, 39, 45, 0.74);
  --on-light-faint: rgba(10, 39, 45, 0.12);

  --serif: "Aleiakids", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 20px;
  --radius-lg: 28px;
  --pill: 999px;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(88px, 11vw, 152px);
  --header-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-y: auto; scrollbar-gutter: stable; /* reserva o espaço da barra: a página não pula quando a abertura libera a rolagem */ -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
/* barra de rolagem da marca: trilho no tom da abertura, indicador dourado */
html { background: var(--ink-950); scrollbar-color: rgba(209, 163, 100, 0.55) var(--ink-950); }
html::-webkit-scrollbar { width: 12px; background: var(--ink-950); }
html::-webkit-scrollbar-thumb { background: rgba(209, 163, 100, 0.55); border-radius: 999px; border: 3px solid var(--ink-950); }
html::-webkit-scrollbar-thumb:hover { background: var(--gold); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--on-light);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -0.005em; margin: 0; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.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: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--pill); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section-y) 0; overflow: hidden; }
.is-dark { background: var(--ink); color: var(--on-dark); }
.is-sand { background: var(--sand); }
.is-paper { background: var(--paper); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* Warm glow inspired by the references, recoloured to the brand gold and rosé */
.glow { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.glow::before, .glow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(10px); }
.glow::before {
  width: min(900px, 110vw); aspect-ratio: 1; right: -12%; top: -30%;
  background: radial-gradient(closest-side, rgba(238, 186, 115, 0.5), rgba(214, 160, 110, 0.2) 38%, rgba(209, 163, 100, 0.05) 62%, transparent 74%);
}
.glow::after {
  width: min(620px, 90vw); aspect-ratio: 1; right: 18%; top: 22%;
  background: radial-gradient(closest-side, rgba(217, 168, 160, 0.3), rgba(217, 168, 160, 0.08) 50%, transparent 72%);
}
.glow--low::before { top: auto; bottom: -55%; right: auto; left: -18%; opacity: 0.7; }
.glow--low::after { top: auto; bottom: -10%; right: auto; left: 20%; }
.glow--center::before { right: 50%; transform: translateX(50%); top: -40%; }
.glow--center::after { right: 50%; transform: translateX(50%); top: 10%; }
.section > .container, .hero > .container { position: relative; z-index: 1; }

/* Thin outline circles, echoing ref1 */
.rings { position: absolute; pointer-events: none; z-index: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rings span { width: clamp(64px, 8vw, 104px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(209, 163, 100, 0.18); }

/* ---------- Typography helpers ---------- */
.eyebrow { font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--gold); margin: 0 0 22px; }
.h-xl { font-size: clamp(2.5rem, 5.4vw, 4.5rem); }
.h-lg { font-size: clamp(2.125rem, 4.2vw, 3.5rem); }
.h-md { font-size: clamp(1.625rem, 2.6vw, 2.25rem); }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.55; }
.muted-dark { color: var(--on-dark-muted); }
.muted-light { color: var(--on-light-muted); }
.accent { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--pill);
  font-weight: 500; font-size: 1rem; letter-spacing: 0.005em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .icon { width: 1.25em; height: 1.25em; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-200); box-shadow: 0 10px 30px -12px rgba(209, 163, 100, 0.65); }
.btn--rose { background: var(--rose); color: var(--ink); }
.btn--rose:hover { background: #e4b9b2; box-shadow: 0 10px 30px -12px rgba(217, 168, 160, 0.7); }
.btn--ghost-dark { color: var(--on-dark); border-color: rgba(246, 240, 232, 0.32); }
.btn--ghost-dark:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost-light { color: var(--ink); border-color: rgba(10, 39, 45, 0.28); }
.btn--ghost-light:hover { border-color: var(--ink); background: var(--ink); color: var(--on-dark); }
.btn--ink { background: var(--ink); color: var(--on-dark); }
.btn--ink:hover { background: var(--ink-800); }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: gap 0.3s var(--ease), color 0.3s var(--ease); }
.text-link:hover { gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; color: var(--on-dark);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-solid { background: rgba(7, 30, 35, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--on-dark-faint); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; }
.brand__wm { font-family: var(--serif); font-size: 1.75rem; color: var(--gold); letter-spacing: 0.02em; }
.brand__sub { font-size: 0.625rem; letter-spacing: 0.34em; text-transform: uppercase; margin-top: 4px; color: var(--on-dark); }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); }
.nav a:not(.btn) { font-size: 0.9375rem; text-decoration: none; color: var(--on-dark-muted); transition: color 0.3s; }
.nav a:not(.btn):hover { color: var(--gold); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 0.9375rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 72px; background: var(--ink); color: var(--on-dark); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero h1 { max-width: 13ch; }
.hero__sub { margin: 28px 0 40px; max-width: 34ch; color: var(--on-dark-muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 36px 56px; }
.hero__actions .text-link { color: var(--on-dark); }
.hero__media { position: relative; justify-self: end; width: min(100%, 470px); }
.arch { position: relative; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 770 / 940; background: var(--ink-800); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-outline { position: absolute; left: 36px; top: -18px; width: calc(100% - 18px); height: calc(100% - 18px); overflow: visible; pointer-events: none; z-index: -1; }
.arch-outline path { fill: none; stroke: rgba(209, 163, 100, 0.55); stroke-width: 1; }
.hero .rings { left: -56px; bottom: -64px; }

/* ---------- Empathy ---------- */
.statement { font-size: clamp(2rem, 4.6vw, 3.875rem); line-height: 1.12; max-width: 20ch; }
.statement .soft { color: #84663d; }
.empathy__body { margin: clamp(48px, 6vw, 80px) 0 0 auto; width: min(100%, 560px); color: var(--on-light-muted); }
.empathy__body p:first-child { color: var(--on-light); font-size: 1.1875rem; }
.flow-line { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 160px; pointer-events: none; }
.flow-line path { fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: 0.55; }

/* ---------- When to seek ---------- */
.when__head { max-width: 640px; }
.when__head p { margin-top: 18px; }
.when__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 3.5vw, 56px); margin-top: clamp(48px, 6vw, 80px); counter-reset: when; }
.when__grid li { counter-increment: when; padding: 26px 0 34px; border-top: 1px solid var(--on-dark-faint); font-size: 1.0625rem; line-height: 1.55; color: var(--on-dark); }
.when__grid li::before { content: counter(when, decimal-leading-zero); display: block; font-family: var(--serif); color: var(--gold); font-size: 1.375rem; margin-bottom: 10px; }
.when__close { margin-top: clamp(48px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px; padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid rgba(209, 163, 100, 0.35); }
.when__close p { font-family: var(--serif); font-size: clamp(1.75rem, 3.2vw, 2.625rem); line-height: 1.15; color: var(--gold); margin: 0; max-width: 22ch; }

/* ---------- Approach ---------- */
.approach__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(48px, 7vw, 120px); align-items: start; }
.approach__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.approach__intro .h-lg { margin-bottom: 24px; }
.approach__lines { margin-top: 36px; display: grid; gap: 18px; }
.approach__lines div { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.approach__lines img { width: 44px; height: auto; margin-top: 4px; }
.approach__lines p { margin: 0; color: var(--on-light-muted); font-size: 0.98rem; }
.approach__lines strong { color: var(--on-light); font-weight: 600; }
.path { position: relative; padding-left: 56px; }
.path__rail { position: absolute; left: 11px; top: 20px; bottom: 20px; width: 2px; background: rgba(209, 163, 100, 0.22); border-radius: 2px; overflow: hidden; }
.path__fill { position: absolute; inset: 0; background: var(--gold); transform-origin: top; }
.path__step { position: relative; padding-bottom: clamp(40px, 5vw, 64px); }
.path__step:last-child { padding-bottom: 0; }
.path__step::before { content: ""; position: absolute; z-index: 1; left: -56px; top: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); border: 2px solid var(--gold); box-shadow: 0 0 0 0 rgba(209, 163, 100, 0.45); transition: background-color 0.5s var(--ease), box-shadow 0.8s var(--ease); }
.motion .path__step::before { background: var(--sand); }
.motion .path__step.is-active::before { background: var(--gold); box-shadow: 0 0 0 8px rgba(209, 163, 100, 0.16); }
.path__step h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-bottom: 14px; }
.path__step p { color: var(--on-light-muted); margin: 0; max-width: 52ch; }

/* ---------- Professionals ---------- */
.pros__head { max-width: 680px; margin-bottom: clamp(48px, 6vw, 80px); }
.pros__head p { margin-top: 18px; }
.pros__grid { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 3vw, 40px); }
.pro { border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
.pro--will { background: var(--ink); color: var(--on-dark); }
.pro--mavi { background: var(--rose-soft); color: var(--tinta); grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }
.pro--mavi .pro__photo { order: 2; }
.pro__photo { position: relative; min-height: 520px; overflow: hidden; }
.pro__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pro--will .pro__photo img { object-position: 50% 30%; }
.pro--mavi .pro__photo img { object-position: 50% 22%; }
.pro:hover .pro__photo img { transform: scale(1.03); }
.pro__body { padding: clamp(32px, 4.4vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.pro__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.pro__name { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.pro__crp { margin-top: 8px; font-size: 0.875rem; letter-spacing: 0.04em; }
.pro--will .pro__crp { color: var(--gold); }
.pro--mavi .pro__crp { color: #8a5a52; }
.pro__symbol { width: 56px; height: auto; flex: none; opacity: 0.95; }
.pro__bio { margin: 0; font-size: 1.0625rem; }
.pro--will .pro__bio { color: var(--on-dark-muted); }
.pro__facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.pro__facts div { display: grid; gap: 4px; padding: 14px 0; font-size: 0.96rem; border-top: 1px solid; }
.pro__facts div:has(.plans), .pro--mavi .pro__facts div:first-child { grid-column: 1 / -1; }
.pro--will .pro__facts div { border-color: var(--on-dark-faint); }
.pro--mavi .pro__facts div { border-color: rgba(67, 57, 58, 0.14); }
.pro__facts dt { opacity: 0.7; font-size: 0.8125rem; letter-spacing: 0.02em; }
.pro__facts dd { margin: 0; }
.plans { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.plans li { font-size: 0.8125rem; padding: 4px 11px; border-radius: var(--pill); background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(67, 57, 58, 0.12); }
.pro .btn { align-self: stretch; width: 100%; margin-top: 6px; }
@media (hover: hover) { .pro .btn--aura:hover .aura { transform: scale(1.015); } }
.pro--mavi .btn--rose { background: var(--tinta); color: var(--sand); }
.pro--mavi .btn--rose:hover { background: #564a4b; box-shadow: 0 10px 30px -14px rgba(67, 57, 58, 0.6); }

/* ---------- First contact ---------- */
.steps__head { max-width: 640px; }
.steps-wrap { position: relative; margin-top: clamp(56px, 7vw, 96px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); position: relative; }
.steps__line { position: absolute; top: 34px; left: 0; right: 0; height: 1px; background: rgba(209, 163, 100, 0.18); }
.steps__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--gold), var(--rose)); transform-origin: left; }
.steps__dot { position: absolute; left: 0; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--gold-50); box-shadow: 0 0 0 4px rgba(209, 163, 100, 0.25), 0 0 24px 6px rgba(238, 186, 115, 0.55); opacity: 0; }
.step__num { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--ink); border: 1px solid var(--gold); font-family: var(--serif); font-size: 1.75rem; color: var(--gold); margin-bottom: 28px; }
.step h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); margin-bottom: 12px; }
.step p { color: var(--on-dark-muted); margin: 0; max-width: 34ch; }
.steps__cta { margin-top: clamp(48px, 6vw, 72px); }

/* ---------- Location ---------- */
.place__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.place__text .h-lg { margin-bottom: 24px; }
.place__text > p { color: var(--on-light-muted); max-width: 46ch; }
.address { display: flex; gap: 16px; align-items: flex-start; margin: 36px 0; padding: 24px 0; border-top: 1px solid var(--on-light-faint); border-bottom: 1px solid var(--on-light-faint); }
.address .icon { width: 28px; height: 28px; color: var(--gold); margin-top: 2px; }
.address strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.address span { color: var(--on-light-muted); font-size: 0.96rem; }
.place__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.place__photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1000 / 801; }
.place__photo img { width: 100%; height: 100%; object-fit: cover; }
.map { margin-top: clamp(48px, 6vw, 80px); border-radius: var(--radius-lg); overflow: hidden; height: clamp(300px, 36vw, 440px); background: #e9e1d5; border: 1px solid var(--on-light-faint); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(0.75) sepia(0.12); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.faq__intro p { margin-top: 20px; color: var(--on-light-muted); }
.faq__intro .text-link { color: var(--ink); margin-top: 8px; }
.faq details { border-top: 1px solid var(--on-light-faint); }
.faq details:last-child { border-bottom: 1px solid var(--on-light-faint); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 1.125rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; color: var(--gold); transition: transform 0.4s var(--ease); }
.faq details[open] summary .icon, .faq details.is-open summary .icon { transform: rotate(45deg); }
.motion .faq details[open]:not(.is-open) summary .icon { transform: none; }
.faq__answer { overflow: hidden; }
.faq summary:hover { color: var(--ink-700); }
.faq__answer { padding: 0 48px 26px 0; color: var(--on-light-muted); }
.faq__answer p { margin: 0; }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
/* âncoras das seções: param no topo exato da seção, cobrindo a tela com a cor dela */
main section[id] { scroll-margin-top: calc(-1 * (var(--header-h) + 16px)); }
.final .h-xl { max-width: 18ch; margin: 0 auto; }
.final__sub { margin: 24px auto 0; color: var(--on-dark-muted); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: clamp(48px, 6vw, 72px) auto 0; text-align: left; }
.choice { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: var(--radius-lg); background: rgba(246, 240, 232, 0.04); border: 1px solid var(--on-dark-faint); transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease); }
.choice:hover { border-color: rgba(209, 163, 100, 0.5); background: rgba(246, 240, 232, 0.07); }
.choice__head { display: flex; align-items: center; gap: 16px; }
.choice__head img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; }
.choice h3 { font-size: 1.625rem; }
.choice p { margin: 0; color: var(--on-dark-muted); font-size: 0.98rem; }
.choice .btn { width: 100%; margin-top: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); color: var(--on-dark-muted); padding: 72px 0 40px; font-size: 0.9375rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer .brand__sub { color: var(--on-dark-muted); }
.footer__tag { margin-top: 20px; max-width: 32ch; }
.site-footer h4 { font-family: var(--sans); font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--on-dark); margin: 0 0 16px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { text-decoration: none; transition: color 0.3s; }
.site-footer a:hover { color: var(--gold); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--on-dark-faint); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 0.8125rem; }
.footer__credit { display: inline-flex; }
.footer__credit img { height: 40px; width: auto; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .when__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav a:not(.btn) { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 28px); padding-bottom: 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__media { justify-self: center; width: min(100%, 380px); }
  .hero .rings { display: none; }
  .approach__grid, .place__grid, .faq__grid { grid-template-columns: 1fr; }
  .approach__intro, .faq__intro { position: static; }
  .pros__grid { max-width: 560px; margin: 0 auto; }
  .pro, .pro--mavi { grid-template-columns: 1fr; }
  .pro--mavi .pro__photo { order: 0; }
  .pro__photo { min-height: 0; aspect-ratio: 1 / 1; }
  .pro .pro__photo img { object-position: 50% 0%; }
  .pro--will .pro__photo img { object-position: 50% 30%; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps__line { top: 0; bottom: 0; left: 34px; right: auto; width: 1px; height: auto; }
  .steps__fill { background: linear-gradient(180deg, var(--gold), var(--rose)); transform-origin: top; }
  .steps__dot { left: 50%; top: 0; }
  .step { display: grid; grid-template-columns: 68px 1fr; gap: 0 22px; }
  .step__num { margin-bottom: 0; grid-row: span 2; }
  .choices { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .nav .btn { min-height: 38px; padding: 0 14px; font-size: 0.8125rem; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .text-link { display: none; } /* hero mais direto no celular: só o agendamento */
  .when__grid { grid-template-columns: 1fr; }
  .when__grid li { padding: 20px 0 24px; }
  .empathy__body { margin-top: 40px; }
  .pro__facts { grid-template-columns: 1fr; }
  .place__actions .btn { flex: 1 1 100%; }
  .faq__answer { padding-right: 0; }
  .choice { padding: 26px; }
  .footer__grid { grid-template-columns: 1fr; }
}


/* =========================================================
   MOTION
   ========================================================= */

/* Estados iniciais: só escondidos quando o motion está ativo.
   Se o script falhar, o head remove .motion em 4s e tudo aparece. */
.motion .reveal { visibility: hidden; }
.motion .site-header .brand, .motion .nav > * { visibility: hidden; }

/* ---------- Ponte (traço) ---------- */
.bridge { display: block; overflow: visible; }
.bridge path { fill: none; stroke: var(--gold); stroke-linecap: round; stroke-linejoin: round; }
.bridge__towers path { stroke-width: 26; }
.bridge__deck path { stroke-width: 16; }
.bridge__cables path { stroke-width: 13; }
.bridge__hangers path { stroke-width: 10; }
.bridge__river { stroke-width: 22; stroke: var(--gold-200) !important; }

/* ---------- Tela de abertura ---------- */
.intro-screen { display: none; }
.motion.intro .intro-screen {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 200;
  background: var(--ink-950); color: var(--on-dark);
  clip-path: inset(0 0 0 0);
}
.intro-screen::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 55%, rgba(209, 163, 100, 0.16), transparent 70%);
}
.intro-screen__inner { position: relative; display: grid; justify-items: center; gap: 28px; }
.bridge--intro { width: min(300px, 62vw); height: auto; }
.intro-screen__word { margin: 0; display: grid; justify-items: center; line-height: 1; }
.intro-screen__wm { font-family: var(--serif); font-size: 3rem; color: var(--gold); letter-spacing: 0.04em; }
.intro-screen__sub { margin-top: 10px; font-size: 0.75rem; letter-spacing: 0.5em; text-transform: uppercase; padding-left: 0.5em; }
html.motion.intro { overflow: hidden; } /* trava a rolagem durante a abertura, mantendo o espaço da barra */

/* ---------- Rio ---------- */
.river {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 48%;
  pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 42%, #000 82%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 42%, #000 82%, transparent 100%);
}
.river--final { height: 62%; }
.hero .glow { z-index: 0; }

/* ---------- Header: progresso e esconder ao rolar ---------- */
.site-header { transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.6s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }
.scroll-progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: linear-gradient(90deg, var(--gold), var(--rose)); transform-origin: left; transform: scaleX(0); opacity: 0; transition: opacity 0.4s; }
.site-header.is-solid .scroll-progress { opacity: 1; }

/* ---------- Texto dividido ---------- */
.split-line { padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero h1 .split-line, .final .split-line { padding-bottom: 0.12em; margin-bottom: -0.12em; }

/* ---------- Linha que corre (empatia) ---------- */
.flow-line .flow-line__current { stroke: var(--gold-200); stroke-width: 2; opacity: 0.9; stroke-dasharray: 46 460; }

/* ---------- Quando procurar: linha que acende ---------- */
.when__grid li { position: relative; transition: color 0.4s var(--ease); }
.when__grid li .when__bar { position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform 0.9s var(--ease); }
.when__grid li:hover .when__bar { transform: scaleX(1); }
.when__grid li > .when__text { display: block; transition: transform 0.6s var(--ease); }
.when__grid li:hover > .when__text { transform: translateX(6px); }

/* ---------- Cards dos profissionais: inclinação e brilho ---------- */
.pros__grid { perspective: 1400px; }
.pro { position: relative; transform-style: preserve-3d; will-change: transform; }
.pro::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 244, 228, 0.16), transparent 60%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.pro:hover::after { opacity: 1; }
.pro--mavi::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, 0.35), transparent 60%); }
.pro__photo { position: relative; }
.pro__photo img { transform-origin: 50% 40%; }
.pro:hover .pro__photo img { transform: none; }

/* ---------- Convite final: ponte e spotlight ---------- */
.bridge--final { width: 128px; height: auto; margin: 0 auto 36px; }
.choice { position: relative; }
.choice::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(209, 163, 100, 0.18), transparent 65%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.choice:hover::before { opacity: 1; }
.choice > * { position: relative; }

/* ---------- Botões: brilho que atravessa ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn--gold::after, .btn--rose::after, .btn--ink::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg) translateX(0); transition: transform 0s;
}
.btn--gold:hover::after, .btn--rose:hover::after, .btn--ink:hover::after { transform: skewX(-18deg) translateX(420%); transition: transform 0.9s var(--ease); }
.btn .icon { transition: transform 0.5s var(--ease); }
.btn:hover .icon { transform: rotate(-10deg) scale(1.1); }

/* ---------- Mapa (pino) ---------- */
.address .icon { transform-origin: 50% 100%; }

@media (prefers-reduced-motion: reduce) {
  .river { display: none; }
  .btn::after { display: none; }
}
@media (max-width: 900px) {
  .river { height: 38%; }
}


/* =========================================================
   Botão aura (agendamento)
   Corpo em pílula com bordas desfocadas, degradê interno e
   bolhas de luz que orbitam devagar formando um halo.
   ========================================================= */
.aura--gold {
  --aura-edge: #d1a364; --aura-mid: #eeba73; --aura-core: #f5dabf;
  --aura-top: #faefe4; --aura-bottom: #d9a8a0;
  --aura-b1: #d1a364; --aura-b2: #eeba73; --aura-b3: #d9a8a0;
  --aura-glow: rgba(209, 163, 100, 0.55);
}
.aura--rose {
  --aura-edge: #d9a8a0; --aura-mid: #e6c0b8; --aura-core: #f4e2dc;
  --aura-top: #faefe4; --aura-bottom: #aec4ca;
  --aura-b1: #d9a8a0; --aura-b2: #aec4ca; --aura-b3: #e6c0b8;
  --aura-glow: rgba(217, 168, 160, 0.55);
}
.btn.btn--aura, .btn.btn--aura:hover {
  background: transparent; color: var(--ink); box-shadow: none;
  overflow: visible; font-weight: 600; padding: 0 30px;
  text-shadow: 0 1px 0 rgba(255, 250, 240, 0.35);
}
.btn.btn--aura::after { display: none; }
.aura {
  position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  transition: transform 0.9s var(--ease);
}
/* corpo */
.aura::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--aura-edge) 0%, var(--aura-mid) 20%, var(--aura-core) 50%, var(--aura-mid) 80%, var(--aura-edge) 100%);
  box-shadow: 0 0 22px 3px var(--aura-glow);
  filter: blur(2.5px);
}
/* luz interna: claro no topo, tom frio embaixo */
.aura::after {
  content: ""; position: absolute; inset: 4% 8%; border-radius: inherit;
  background:
    radial-gradient(50% 62% at 46% 16%, var(--aura-top) 0%, transparent 72%),
    radial-gradient(38% 60% at 56% 100%, var(--aura-bottom) 0%, transparent 72%);
  filter: blur(3px);
  animation: aura-sheen 7s ease-in-out infinite alternate;
  will-change: transform;
}
/* bolhas do halo */
.aura i {
  position: absolute; z-index: -1; left: 24%; top: -12%; width: 52%; height: 124%;
  border-radius: 50%; background: var(--aura-b1); filter: blur(12px); opacity: 0.85;
  animation: aura-a 9s ease-in-out infinite; will-change: transform;
  transition: opacity 0.9s var(--ease);
}
.aura i:nth-child(2) { background: var(--aura-b2); width: 44%; animation-name: aura-b; animation-duration: 11s; animation-delay: -3s; }
.aura i:nth-child(3) { background: var(--aura-b3); width: 40%; opacity: 0.7; animation-name: aura-c; animation-duration: 13s; animation-delay: -6s; }

/* hover só em quem tem mouse */
@media (hover: hover) {
  .btn--aura:hover .aura { transform: scale(1.045); }
  .btn--aura:hover .aura i { opacity: 1; }
  /* a aceleração das bolhas no hover é feita no main.js (playbackRate), de forma gradual */
}
.btn--aura:active .aura { transform: scale(0.98); }
.btn--aura:focus-visible { outline-offset: 8px; }

@keyframes aura-a {
  0%, 100% { transform: translate(-50%, -12%) scale(1); }
  25% { transform: translate(34%, -18%) scale(1.1); }
  50% { transform: translate(56%, 8%) scale(0.92); }
  75% { transform: translate(-22%, 16%) scale(1.06); }
}
@keyframes aura-b {
  0%, 100% { transform: translate(52%, 12%) scale(1); }
  30% { transform: translate(-8%, 18%) scale(1.12); }
  60% { transform: translate(-60%, -8%) scale(0.95); }
  80% { transform: translate(12%, -17%) scale(1.08); }
}
@keyframes aura-c {
  0%, 100% { transform: translate(0%, -18%) scale(0.9); }
  35% { transform: translate(-62%, 10%) scale(1.08); }
  70% { transform: translate(60%, 14%) scale(1); }
}
@keyframes aura-sheen {
  0% { transform: translateX(-7%); }
  100% { transform: translateX(7%); }
}

@media (prefers-reduced-motion: reduce) {
  .aura::after, .aura i { animation: none !important; }
}

/* sobre o card claro da Mavi o rosé precisa de mais corpo para se destacar */
.pro--mavi .aura--rose {
  --aura-edge: #c98b82; --aura-mid: #d9a49c; --aura-core: #f1d8d1;
  --aura-b1: #c98b82; --aura-b3: #d9a49c;
  --aura-glow: rgba(170, 100, 92, 0.42);
}

.choice__head img[src*="willian"] { object-position: 50% 30%; }
