/* =========================================================================
   Juliana Izahias — Personal Trainer
   Paleta do cliente: tinta #2E2A3A, violeta #5B4E7A, lilás #9A8FB5,
   névoa #C9CAD3, papel #F4F4F6. Cada objetivo tem um tom fixo:
   lilás = emagrecimento, violeta = força, névoa = saúde 50+.
   Tipografia: Fraunces (títulos, suave) + Instrument Sans (texto).
   Motivo: o círculo — o ciclo avaliar, treinar, reavaliar — em discos e anéis.
   ========================================================================= */
@font-face { font-family: "Fraunces"; font-weight: 300 700; font-display: swap; src: url("../fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Instrument"; font-weight: 400 700; font-display: swap; src: url("../fonts/instrument.woff2") format("woff2"); }

:root {
  --paper: #f4f4f6;
  --ink: #2e2a3a;
  --violeta: #5b4e7a;
  --lilas: #9a8fb5;
  --nevoa: #c9cad3;
  --white: #ffffff;
  --muted: #4a4458;          /* texto secundário: 5,7:1 sobre o cinza do fundo */
  --line: #dcdce3;
  --bg: var(--nevoa);       /* cinza: fundo do site; branco: áreas de respiro (cartões, objetivos) */

  --display: "Fraunces", Georgia, serif;
  --body: "Instrument", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-sm: .9375rem; --t-base: 1.0625rem; --t-lg: 1.1875rem;
  --t-xl: clamp(1.45rem, 1.2rem + .9vw, 1.9rem);
  --t-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --t-3xl: clamp(2.4rem, 1.4rem + 3.6vw, 4.5rem);
  --t-hero: clamp(2.75rem, 1.5rem + 4.6vw, 5.75rem);

  --shell: min(1240px, calc(100% - 3rem));
  --section: clamp(4rem, 8vw, 7rem);
  --r: 20px; --r-sm: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: var(--t-base); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 420; line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; overflow-wrap: break-word; font-variation-settings: "opsz" 144; }
h3 { font-weight: 480; letter-spacing: -.015em; line-height: 1.12; font-variation-settings: "opsz" 48; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--lilas); color: var(--ink); }
:focus-visible { outline: 3px solid var(--violeta); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shell { width: var(--shell); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; }
.skip:focus { top: 1rem; }
.pendente { display: inline-flex; font-family: var(--body); font-size: .85rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; color: #6b3a07; background: #ffe9d6; border: 1.5px dashed #d06a1f; border-radius: 4px; padding: .15rem .5rem; }
.dot { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .45rem; vertical-align: .05em; }
.dot-lilas { background: var(--lilas); } .dot-violeta { background: var(--violeta); } .dot-nevoa { background: var(--nevoa); box-shadow: inset 0 0 0 1px #a9aab6; }
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--violeta); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .3em; }
.link:hover { color: var(--ink); text-decoration-thickness: 2.5px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, transform .45s var(--ease); view-transition-name: header; }
.site-header.is-scrolled { border-bottom-color: rgba(46,42,58,.12); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; min-height: 44px; }
.brand strong { font-family: var(--display); font-weight: 500; font-size: 1.4rem; letter-spacing: -.02em; font-variation-settings: "opsz" 48; }
.mark { width: 1.8rem; height: 1.8rem; transform: rotate(-90deg); }
.mark circle { fill: none; stroke-width: 4.5; stroke-dasharray: .92 2.08; }
.mark .m1 { stroke: var(--lilas); stroke-dashoffset: 0; }
.mark .m2 { stroke: var(--violeta); stroke-dashoffset: -1; }
.mark .m3 { stroke: var(--nevoa); stroke-dashoffset: -2; }
.nav { display: flex; align-items: center; gap: .1rem; }
.nav a { position: relative; text-decoration: none; padding: .6rem .75rem; min-height: 44px; display: inline-flex; align-items: center; font-size: .97rem; font-weight: 500; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav-ind { position: absolute; left: 50%; bottom: .45rem; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--violeta); view-transition-name: nav-ind; }
.nav .nav-cta { margin-left: .6rem; background: var(--violeta); color: var(--white); padding-inline: 1.25rem; border-radius: 999px; font-weight: 600; }
.nav .nav-cta:hover { background: var(--ink); color: var(--white); }
.menu-btn { display: none; min-height: 44px; padding: .5rem 1.1rem; border: 1.5px solid var(--ink); background: transparent; border-radius: 999px; font-weight: 600; cursor: pointer; }
@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; background: var(--bg); padding: .5rem 1.5rem 1.5rem; border-bottom: 1px solid var(--line); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .45s var(--ease), visibility 0s .45s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s, transform .45s var(--ease); }
  .nav a { font-family: var(--display); font-size: 1.7rem; font-weight: 420; padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav-ind { display: none; }
  .nav .nav-cta { margin: 1rem 0 0; justify-content: center; font-family: var(--body); font-size: 1.05rem; font-weight: 600; border-bottom: 0; color: var(--white); }
}

/* Botões: em pílula, como o motivo do círculo */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3.35rem; padding: 0 1.6rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-dark { background: var(--violeta); color: var(--white); }
.btn-dark:hover { background: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--lilas); }

/* Capa: recorte da Juliana diante de um disco lilás e um anel fino */
.hero { padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: var(--t-hero); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; max-width: 13ch; }
.hl { background-repeat: no-repeat; background-position: 0 94%; background-size: 100% .2em; padding-inline: .06em; margin-inline: -.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl-violeta { background-image: linear-gradient(var(--violeta), var(--violeta)); }
.hl-lilas { background-image: linear-gradient(var(--lilas), var(--lilas)); }
.hl-nevoa { background-image: linear-gradient(var(--white), var(--white)); }
.lead { margin-top: 1.75rem; max-width: 34rem; font-size: var(--t-lg); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero-figure { position: relative; margin: 0; aspect-ratio: 3 / 4; width: 100%; max-width: 34rem; justify-self: center; isolation: isolate; }
.hero-disc { position: absolute; left: 6%; right: 6%; top: 16%; aspect-ratio: 1; border-radius: 50%; background: var(--lilas); z-index: -2; }
.hero-ring { position: absolute; left: -2%; right: -2%; top: 10%; width: 104%; aspect-ratio: 1; z-index: -1; overflow: visible; transform: rotate(-90deg); }
.hero-ring circle { fill: none; stroke: var(--violeta); stroke-width: .35; }
.hero-cut { position: absolute; inset: 0; display: block; }
.hero-cut img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }

/* Objetivos: imagem fixa (disco + anel de progresso) e três capítulos */
.objetivos { padding-block: var(--section); background: var(--white); }
.obj-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.stage { position: sticky; top: calc(50vh - min(19rem, 40vw) / 2 + 1rem); width: min(19rem, 40vw); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.stage-disc { position: absolute; inset: 9%; border-radius: 50%; background: var(--lilas); }
.stage-ring { position: absolute; inset: 0; transform: rotate(-90deg); overflow: visible; }
.stage-ring circle { fill: none; stroke-width: 1.6; }
.stage-ring .track { stroke: var(--line); }
.stage-ring .prog { stroke: var(--violeta); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: .667; }
.stage-icon { position: absolute; width: 34%; height: 34%; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.stage-icon-0 { opacity: 1; }
.chapters { display: grid; }
.chapter { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding-block: 3rem; border-top: 1px solid var(--line); }
.chapter:first-child { border-top: 0; }
.chapter-n { font-weight: 600; color: var(--violeta); }
.chapter h3 { font-size: var(--t-3xl); font-weight: 400; letter-spacing: -.03em; font-variation-settings: "opsz" 144; }
.chapter-lead { font-size: var(--t-lg); color: var(--muted); max-width: 32rem; }
.chapter-lead strong { color: var(--ink); }
.chapter ul { list-style: none; margin: .5rem 0 0; padding: 0; max-width: 32rem; }
.chapter li { position: relative; padding: .6rem 0 .6rem 1.6rem; border-top: 1px solid var(--line); }
.chapter li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .7rem; height: .7rem; border-radius: 50%; border: 2px solid var(--violeta); }
.chapter-lilas li::before { background: var(--lilas); } .chapter-violeta li::before { background: var(--violeta); } .chapter-nevoa li::before { background: var(--nevoa); }

/* Seções */
.section { padding-block: var(--section); }
.section-tight { padding-top: clamp(1rem, 3vw, 2rem); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { font-size: var(--t-3xl); }
.section-head p { color: var(--muted); font-size: var(--t-lg); max-width: 30rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split > h2 { font-size: var(--t-2xl); align-self: start; }
.split h2 { font-size: var(--t-2xl); margin-bottom: 1.25rem; }
.prose { max-width: 36rem; }
.prose p { font-size: var(--t-lg); color: var(--muted); }
.prose p + p { margin-top: 1rem; }
.photo { margin: 0; aspect-ratio: 4 / 5; max-width: 30rem; width: 100%; border-radius: var(--r); overflow: hidden; background: var(--nevoa); }
.photo img, .photo .photo-slot { width: 100%; height: 100%; object-fit: cover; }
.photo-cut { background: radial-gradient(circle at 50% 62%, var(--lilas) 0 44%, var(--white) 44.5%); }
.photo-cut img { object-fit: contain; object-position: 50% 100%; }

/* Método: trilho com anéis que se completam */
.steps-track { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 4.25rem; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--violeta); background: var(--white); font-family: var(--display); font-size: 1.3rem; font-weight: 500; color: var(--violeta); z-index: 1; }
.steps-line { position: absolute; left: 1.5rem; right: 0; top: 1.5rem; height: 2px; background: rgba(46,42,58,.15); }
.steps-line span { display: block; height: 100%; background: var(--violeta); transform-origin: 0 50%; }
html:not(.motion) .steps-line span { transform: none; }
.steps h3 { font-size: var(--t-xl); margin-bottom: .5rem; }
.steps p { color: var(--muted); }

/* Depoimentos: seção escura */
.section-depos { background: var(--ink); color: var(--paper); }
.section-depos .section-head p { color: var(--nevoa); }
.depos-home { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.depos-side { display: grid; gap: 2.5rem; }
.depos-side .btn { justify-self: start; }
.depos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.depo { position: relative; margin: 0; padding-top: 1.5rem; border-top: 2px solid rgba(255,255,255,.18); display: flex; flex-direction: column; gap: 1.25rem; }
.depo::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--lilas); }
.depo-violeta::before { background: var(--violeta); box-shadow: 0 0 0 2px var(--lilas); } .depo-nevoa::before { background: var(--nevoa); }
.depo blockquote { margin: 0; font-size: var(--t-lg); line-height: 1.5; }
.depo-big blockquote { font-family: var(--display); font-weight: 380; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); line-height: 1.15; letter-spacing: -.02em; font-variation-settings: "opsz" 96; }
.depo.is-model blockquote { color: var(--nevoa); }
.depo figcaption { display: flex; align-items: center; gap: .9rem; }
.depo figcaption strong { display: block; }
.depo figcaption small { color: var(--nevoa); font-size: var(--t-sm); }
.avatar { flex: none; width: 3.25rem; height: 3.25rem; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--violeta); color: var(--white); font-weight: 700; font-size: .95rem; border: 2px dashed var(--lilas); }
.depo-big .avatar { width: 4.5rem; height: 4.5rem; font-size: 1.15rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.flag { position: absolute; top: -2.1rem; right: 0; font-size: .8rem; font-weight: 600; color: #6b3a07; background: #ffe9d6; border: 1.5px dashed #d06a1f; border-radius: 4px; padding: .05rem .45rem; }
.section-depos .btn-dark { background: var(--paper); color: var(--ink); }
.section-depos .btn-dark:hover { background: var(--lilas); }
/* Resultados usa a mesma seção em fundo claro */
.section-depos .note { color: var(--nevoa); }

/* Chamada final: bloco violeta com anéis concêntricos */
.section-cta { padding-block: var(--section) 0; }
.cta-block { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; background: var(--violeta); color: var(--white); border-radius: var(--r); padding: clamp(2.5rem, 6vw, 5rem); margin-bottom: var(--section); }
.cta-block::before { content: ""; position: absolute; z-index: -1; right: -8rem; top: 50%; width: 26rem; aspect-ratio: 1; margin-top: -13rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 0 0 3rem rgba(154,143,181,.18), 0 0 0 6rem rgba(154,143,181,.1); transform: scale(var(--ring, 1)); }
.cta-block h2 { font-size: var(--t-3xl); max-width: 14ch; }
.cta-block p { margin-top: 1rem; max-width: 34rem; font-size: var(--t-lg); color: #e6e3ef; }
.cta-block .btn-dark { background: var(--paper); color: var(--ink); }
.cta-block .btn-dark:hover { background: var(--lilas); }

/* Páginas internas */
.page-head { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 3.5rem); }
.page-head::after { content: ""; position: absolute; right: max(-6rem, calc((100vw - 1240px) / 2 - 6rem)); top: 50%; width: clamp(12rem, 26vw, 20rem); aspect-ratio: 1; border-radius: 50%; background: var(--lilas); transform: translateY(-50%) scale(var(--disc, 1)); z-index: -1; opacity: .8; }
.page-head h1 { font-size: var(--t-3xl); max-width: 16ch; }
.page-head p { margin-top: 1rem; max-width: 36rem; font-size: var(--t-lg); color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.facts > div { padding: 1.75rem; border-radius: var(--r); background: var(--white); }
.fact-n { display: block; font-family: var(--display); font-size: var(--t-3xl); font-weight: 400; letter-spacing: -.03em; line-height: 1; color: var(--violeta); }
.facts p { margin-top: .6rem; color: var(--muted); }

/* Serviços: cada um com seu disco de cor */
.svc-list { display: grid; gap: 1.5rem; width: var(--shell); margin: 0 auto var(--section); }
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); scroll-margin-top: 6rem; border-radius: var(--r); overflow: hidden; background: var(--white); }
.svc-side { position: relative; overflow: hidden; isolation: isolate; padding: clamp(2rem, 4vw, 3.5rem); color: var(--ink); }
.svc-side::after { content: ""; position: absolute; z-index: -1; left: -20%; bottom: -55%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.22); }
.svc-lilas .svc-side { background: var(--lilas); } .svc-violeta .svc-side { background: var(--violeta); color: var(--white); } .svc-nevoa .svc-side { background: var(--nevoa); }
.svc h2 { font-size: var(--t-2xl); }
.svc-lead { margin-top: .75rem; font-size: var(--t-lg); font-weight: 600; }
.svc-body { padding: clamp(2rem, 4vw, 3.5rem); }
.svc-body > p { color: var(--muted); font-size: var(--t-lg); max-width: 40rem; }
.svc ul { list-style: none; margin: 1.5rem 0 2rem; padding: 0; max-width: 40rem; }
.svc li { padding: .65rem 0 .65rem 1.6rem; border-top: 1px solid var(--line); position: relative; }
.svc li::before { content: ""; position: absolute; left: 0; top: 1.1rem; width: .7rem; height: .7rem; border-radius: 50%; border: 2px solid var(--violeta); }
.svc-lilas li::before { background: var(--lilas); } .svc-violeta li::before { background: var(--violeta); } .svc-nevoa li::before { background: var(--nevoa); }

/* Antes e depois */
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.ba { margin: 0; }
.ba > picture { display: block; border-radius: var(--r); overflow: hidden; background: var(--white); }
.ba > picture img { width: 100%; }
.ba figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 1rem; }
.note { margin-top: 2rem; color: var(--muted); max-width: 46rem; }

/* Planos */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: stretch; margin-top: 1rem; }
.plan { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 2.25rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); transition: box-shadow .35s; }
.plan.is-revealed, html:not(.motion) .plan { transition: transform .35s var(--ease), box-shadow .35s; }
.plan h2 { font-size: var(--t-2xl); }
.plan-freq { font-weight: 600; margin-top: -.6rem; }
.plan-desc { color: var(--muted); margin-top: -.5rem; }
.plan-price { font-family: var(--display); font-weight: 420; font-size: var(--t-2xl); letter-spacing: -.03em; line-height: 1; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li { display: flex; gap: .6rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.plan li::before { content: ""; flex: none; width: 1.15rem; height: 1.15rem; margin-top: .2rem; border-radius: 50%; background: var(--nevoa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e2a3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 70% no-repeat; }
.plan .btn { margin-top: auto; }
.plan.is-featured { background: var(--ink); color: var(--paper); border-color: transparent; }
.plan.is-featured .plan-desc { color: var(--nevoa); }
.plan.is-featured li { border-color: rgba(255,255,255,.14); }
.plan.is-featured li::before { background-color: var(--lilas); }
.plan-flag { position: absolute; top: -.85rem; right: 1.5rem; background: var(--lilas); color: var(--ink); font-weight: 600; font-size: var(--t-sm); padding: .3rem .9rem; border-radius: 999px; }
@media (hover: hover) { .plan:hover { transform: translateY(-8px); box-shadow: 0 22px 44px -22px rgba(46,42,58,.45); } }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 30rem; gap: 1.75rem; } }

/* Galeria */
.gallery { columns: 3 18rem; column-gap: 1.25rem; }
.gallery > button { all: unset; cursor: zoom-in; display: block; width: 100%; margin-bottom: 1.25rem; break-inside: avoid; position: relative; border-radius: var(--r-sm); overflow: hidden; background: var(--white); }
.gallery > button:focus-visible { outline: 3px solid var(--violeta); outline-offset: 3px; }
.gallery img { width: 100%; height: auto; }
.g-cap { position: absolute; left: .7rem; bottom: .7rem; background: var(--paper); font-weight: 600; font-size: .9rem; padding: .2rem .7rem; border-radius: 999px; }
.gallery > .note { column-span: all; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); }
.lightbox::backdrop { background: rgba(46, 42, 58, .92); }
.lightbox img { max-height: 82vh; width: auto; margin-inline: auto; border-radius: var(--r-sm); }
.lightbox p { color: #fff; text-align: center; margin-top: .75rem; }
.lightbox-close { position: fixed; top: 1rem; right: 1rem; min-height: 44px; padding: .6rem 1.2rem; background: var(--paper); border: 0; border-radius: 999px; font-weight: 600; cursor: pointer; }

/* Contato */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.channels { list-style: none; margin: 0; padding: 0; }
.channels li { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; align-items: center; min-height: 3.5rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.channels li > span { color: var(--muted); }
.channels strong { font-weight: 600; overflow-wrap: anywhere; }
.form { background: var(--white); padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--r); }
.form h2 { font-size: var(--t-xl); margin-bottom: 1.25rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.05rem; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper); font-size: var(--t-base); }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violeta); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lilas) 55%, transparent); }

/* Rodapé */
.site-footer { background: var(--ink); color: var(--nevoa); padding-block: 3.5rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
.footer-brand { display: inline-flex; min-height: 44px; align-items: center; color: #fff; font-family: var(--display); font-weight: 420; font-size: 1.6rem; letter-spacing: -.02em; text-decoration: none; }
.footer-text { margin-top: .5rem; max-width: 24rem; }
.site-footer h2 { font-family: var(--body); font-size: var(--t-base); font-weight: 700; letter-spacing: 0; color: #fff; margin-bottom: .4rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.site-footer li a:hover { color: var(--lilas); }
.footer-bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); font-size: var(--t-sm); }

.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40; display: inline-flex; align-items: center; gap: .5rem; min-height: 52px; padding: .85rem 1.2rem; border-radius: 999px; background: #22c55e; color: #052e16; font-weight: 600; text-decoration: none; box-shadow: 0 10px 24px -12px rgba(46,42,58,.6); transition: transform .7s var(--ease), opacity .5s, background-color .2s; }
.wa-float:hover { background: #4ade80; }
.js .wa-float:not(.is-on) { transform: translateY(140%); opacity: 0; pointer-events: none; }
.wa-float svg { width: 1.35rem; height: 1.35rem; }
.notfound { min-height: 50vh; display: grid; align-content: center; gap: 1.25rem; }
.notfound h1 { font-size: var(--t-3xl); }

.photo-slot { display: grid; place-items: center; text-align: center; padding: 1.5rem; min-height: 10rem; color: var(--ink); font-weight: 600; background: repeating-linear-gradient(135deg, #e7e7ec 0 16px, #dfdfe6 16px 32px); }
.photo-slot small { display: block; font-weight: 400; color: var(--muted); }

/* Transições entre páginas */
@view-transition { navigation: auto; }
main { view-transition-name: main; }
::view-transition-old(main) { animation: vt-out .3s ease both; }
::view-transition-new(main) { animation: vt-in .7s var(--ease) both; }
::view-transition-group(nav-ind) { animation-duration: .7s; animation-timing-function: var(--ease); }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(28px); } }

/* Movimento: estados iniciais (só com JavaScript e movimento permitido) */
.btn[data-magnetic] { will-change: transform; }
.js.motion [data-split] { visibility: hidden; }
.js.motion .hero .hl { background-size: 0% .2em; }
.js.motion .hero-disc { transform: scale(0); }
.js.motion .hero-ring circle { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js.motion .hero-cut { clip-path: inset(100% 0 0 0); }
.js.motion .steps-line span { transform: scaleX(0); }

/* Responsivo */
@media (max-width: 1000px) {
  .hero-grid, .split, .section-head, .contact-grid, .footer-grid, .cta-block, .svc, .depos-home, .obj-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 24rem; justify-self: start; }
  .stage { display: none; }
  .chapter { min-height: 0; padding-block: 2rem; }
  .chapter-n::before { content: ""; display: inline-block; width: .8rem; height: .8rem; border-radius: 50%; margin-right: .5rem; vertical-align: -.05em; background: var(--lilas); }
  .chapter-violeta .chapter-n::before { background: var(--violeta); } .chapter-nevoa .chapter-n::before { background: var(--nevoa); box-shadow: inset 0 0 0 1px #a9aab6; }
  .steps, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-line { display: none; }
  .depos, .ba-grid { grid-template-columns: 1fr; max-width: 36rem; }
  .split .photo { order: -1; }
}
@media (max-width: 640px) {
  :root { --shell: calc(100% - 2.5rem); }
  .steps, .facts { grid-template-columns: 1fr; }
  .channels li { grid-template-columns: 1fr; gap: .1rem; }
  .wa-float span { display: none; }
  .wa-float { padding: .9rem; }
  .page-head::after { width: 9rem; right: -3rem; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* CTA permanente no celular */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; align-items: center; justify-content: center; position: fixed; left: 1rem; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 45; min-height: 52px; background: var(--violeta); color: var(--white); font-weight: 600; text-decoration: none; border-radius: 999px; box-shadow: 0 12px 28px -12px rgba(46,42,58,.6); transform: translateY(150%); transition: transform .5s var(--ease); }
  .sticky-cta.is-on { transform: none; }
  body { padding-bottom: 5rem; }
  .wa-float { bottom: 5.25rem; }
}
