/* ==========================================================================
   Débora Dahas — portfólio (v3 "Orbital", com tema claro e escuro)
   Marca: índigo #270063 · violeta #5126AF · azul #1963E8 · turquesa #40CDDC
          lavanda #F4F3FA · cinza #EDEDED · fonte Inter
   Padrão: fundo branco. As cores da marca entram como acento (títulos, destaques,
   botões, números, ilustrações) e não como grandes áreas saturadas.
   Modo escuro: azul bem escuro (#0A0A2C). Alternância pelo botão no topo, à direita.
   Cenas fixas que se transformam ao rolar, vidro, brilhos e órbitas.
   Mobile first. Acessibilidade: contraste AA+, foco visível, alvos de toque,
   movimento reduzido respeitado, animações com botão de pausa.
   ========================================================================== */

/* ---------- Fontes (Inter, da pasta da marca) ---------- */
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.ttf") format("truetype");   font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.ttf") format("truetype");    font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.ttf") format("truetype");  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Bold.ttf") format("truetype");      font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-ExtraBold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }

/* ---------- Tokens fixos (marca e medidas) ---------- */
:root {
  --indigo: #270063;
  --violet: #5126AF;
  --blue: #1963E8;
  --cyan: #40CDDC;
  --lavender: #F4F3FA;
  --gray: #EDEDED;
  --white: #FFFFFF;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5.5vw, 72px);
  --maxw: 1200px;
  --header-h: 70px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (min-width: 900px) { :root { --header-h: 84px; } }

/* ---------- Tema CLARO (padrão) ---------- */
:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --bg-alt: #F4F3FA;
  --card: #FFFFFF;
  --surface: #FFFFFF;
  --heading: #270063;           /* 16,6:1 sobre branco */
  --text: #34285F;              /* 13:1 — um tom mais suave que o título, descansa a leitura */
  --text-soft: #54456F;         /* 8,5:1 */
  --accent-text: #5126AF;       /* 9,3:1 */
  --link: #1963E8;              /* 5,3:1 */
  --focus: #1963E8;
  --line: rgba(39, 0, 99, .14);
  --line-strong: rgba(39, 0, 99, .32);
  --hover: rgba(39, 0, 99, .07);

  --btn-bg: #270063;
  --btn-text: #F4F3FA;
  --btn-bg-hover: #5126AF;
  --btn-halo: rgba(81, 38, 175, .16);
  --pressed-bg: #270063;
  --pressed-text: #F4F3FA;

  --header-bg: rgba(255, 255, 255, .82);
  --header-text: #270063;

  --dots: rgba(39, 0, 99, .16);
  --grid: rgba(39, 0, 99, .08);
  --glow-c: rgba(81, 38, 175, .14);
  --spot: rgba(25, 99, 232, .12);
  --hero-wash:
    radial-gradient(52% 58% at 78% 46%, rgba(64, 205, 220, .22), transparent 64%),
    radial-gradient(48% 60% at 6% 4%, rgba(25, 99, 232, .13), transparent 62%),
    radial-gradient(40% 40% at 60% 100%, rgba(81, 38, 175, .10), transparent 70%);

  --hw-dim: rgba(39, 0, 99, .55);
  --hw-grad: linear-gradient(95deg, #270063 8%, #1963E8 100%);
  --stat-grad: linear-gradient(95deg, #270063 10%, #1963E8 100%);
  --hero-tag: #1963E8;
  --ring-1: rgba(39, 0, 99, .30);
  --ring-2: rgba(25, 99, 232, .55);
  --ring-3: rgba(39, 0, 99, .18);
  --sat: #1963E8;
  --art-shadow: drop-shadow(0 26px 50px rgba(25, 99, 232, .22));
  --card-shadow: 0 1px 2px rgba(39, 0, 99, .06), 0 18px 40px -22px rgba(39, 0, 99, .30);
  --scrim: linear-gradient(to top, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .72) 55%, rgba(255, 255, 255, 0) 100%);
  --portrait-fallback: radial-gradient(70% 60% at 50% 38%, #ECE8FA 0%, #F4F3FA 100%);
  --logo: #3B2D63;
}

/* ---------- Tema ESCURO (azul mais fundo) ---------- */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0A0A2C;
  --bg-alt: #0F0F3A;
  --card: #12124A;
  --surface: linear-gradient(160deg, rgba(244, 243, 250, .09), rgba(244, 243, 250, .035));
  --heading: #FFFFFF;
  --text: #E6E4F4;
  --text-soft: #B3B0D3;
  --accent-text: #40CDDC;
  --link: #7AA2FF;
  --focus: #40CDDC;
  --line: rgba(244, 243, 250, .20);
  --line-strong: rgba(244, 243, 250, .38);
  --hover: rgba(244, 243, 250, .10);

  --btn-bg: #40CDDC;
  --btn-text: #0A0A2C;
  --btn-bg-hover: #7FE0EA;
  --btn-halo: rgba(64, 205, 220, .20);
  --pressed-bg: #F4F3FA;
  --pressed-text: #0A0A2C;

  --header-bg: rgba(10, 10, 44, .78);
  --header-text: #F4F3FA;

  --dots: rgba(244, 243, 250, .16);
  --grid: rgba(244, 243, 250, .07);
  --glow-c: rgba(81, 38, 175, .55);
  --spot: rgba(64, 205, 220, .20);
  --hero-wash: none;

  --hw-dim: rgba(244, 243, 250, .58);
  --hw-grad: linear-gradient(95deg, #FFFFFF 10%, #40CDDC 100%);
  --stat-grad: linear-gradient(95deg, #FFFFFF 20%, #40CDDC 100%);
  --hero-tag: #40CDDC;
  --ring-1: rgba(244, 243, 250, .42);
  --ring-2: rgba(64, 205, 220, .65);
  --ring-3: rgba(244, 243, 250, .30);
  --sat: #40CDDC;
  --art-shadow: drop-shadow(0 30px 70px rgba(25, 99, 232, .45));
  --card-shadow: none;
  --scrim: linear-gradient(to top, rgba(10, 10, 44, .95) 0%, rgba(10, 10, 44, .62) 55%, rgba(10, 10, 44, 0) 100%);
  --portrait-fallback: radial-gradient(70% 60% at 50% 38%, #1A1A63 0%, #0A0A2C 100%);
  --logo: #C9C6E6;
}

/* Áreas "de marca" (cartão de contato, sobre fundo colorido): paleta escura local, qualquer que seja o tema */
.on-brand {
  --heading: #FFFFFF; --text: #F4F3FA; --text-soft: #D3CCE3;
  --accent-text: #40CDDC; --link: #7FE0EA; --focus: #40CDDC;
  --line: rgba(244, 243, 250, .30); --line-strong: rgba(244, 243, 250, .62); --hover: rgba(244, 243, 250, .14);
  --btn-bg: #40CDDC; --btn-text: #270063; --btn-bg-hover: #7FE0EA; --btn-halo: rgba(64, 205, 220, .22);
  color: var(--text);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
p { max-width: 65ch; }
section[tabindex="-1"]:focus, main[tabindex="-1"]:focus { outline: none; }

/* Troca de tema suave (desligada com movimento reduzido) */
html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, fill .35s ease !important;
}

/* Idioma: mostra só o texto do idioma ativo */
html[data-lang="pt"] .en { display: none !important; }
html[data-lang="en"] .pt { display: none !important; }
/* Tema: imagens que mudam conforme o tema */
html[data-theme="dark"] .only-light { display: none !important; }
html:not([data-theme="dark"]) .only-dark { display: none !important; }

.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;
}

/* Foco visível em todos os controles */
:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed; left: 16px; top: -120px; z-index: 300;
  background: var(--cyan); color: var(--indigo);
  padding: 12px 22px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; outline: 3px solid var(--indigo); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Barra de progresso da página */
.progress {
  position: fixed; left: 0; top: 0; z-index: 120; height: 3px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(var(--sp, 0));
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
  pointer-events: none;
}

/* ---------- Seções ---------- */
.section { position: relative; padding-block: clamp(64px, 11vw, 160px); background: var(--bg); }
.section.alt { background: var(--bg-alt); }

/* Textura de pontos (tecnologia, discreta) */
.dotted { position: relative; isolation: isolate; }
.dotted::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--dots) 1px, transparent 1.4px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 0%, transparent 85%);
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 0%, transparent 85%);
}

/* ---------- Tipografia ---------- */
.eyebrow {
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text);
}
h1, h2, h3, h4 { color: var(--heading); }
h1 { font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
h2 { font-weight: 800; letter-spacing: -.03em; line-height: 1.06; font-size: clamp(2.1rem, 5.6vw, 3.75rem); }
h3 { font-weight: 700; letter-spacing: -.015em; line-height: 1.25; font-size: clamp(1.25rem, 2.4vw, 1.625rem); }
h4 { font-weight: 700; font-size: 1.125rem; line-height: 1.35; }
.lead { font-size: clamp(1.1875rem, 2.3vw, 1.5rem); line-height: 1.5; color: var(--text-soft); }

.link { text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .22em; }
.link:hover { text-decoration-thickness: .14em; }

/* Aviso de conteúdo a confirmar (remover quando preenchido) */
.todo {
  display: inline-block; padding: 1px 10px; border-radius: 6px;
  background: #FFE9A8; color: #5A3D00; font-size: .8125rem; font-weight: 600; line-height: 1.6;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 44px; padding: 0 1.35rem;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-size: .9375rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-text); }
.btn-primary:hover { background: var(--btn-bg-hover); box-shadow: 0 0 0 6px var(--btn-halo); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--heading); }
.btn-ghost:hover { background: var(--hover); border-color: var(--heading); }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--header-text);
  transition: background-color .35s, box-shadow .35s;
}
.site-header.is-scrolled {
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(170%) blur(20px);
  backdrop-filter: saturate(170%) blur(20px);
  box-shadow: 0 1px 0 var(--line);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled { background: var(--bg); }
}
/* O menu em tela cheia é filho do cabeçalho. Com menu aberto, o cabeçalho fica sem filtro de
   desfoque (backdrop-filter prenderia o "position: fixed" do menu dentro da altura do cabeçalho). */
.site-header.menu-open { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 0 var(--line); }
.header-inner {
  height: 100%; display: flex; align-items: center; gap: 12px;
  max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: inherit; margin-right: auto; }
.brand img { width: 48px; height: auto; }
.brand .wordmark { height: 40px; width: auto; aspect-ratio: 170 / 63.5; fill: currentColor; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang button {
  min-width: 44px; min-height: 38px; padding: 0 8px; border: 0; border-radius: 999px;
  background: transparent; color: var(--text-soft);
  font: inherit; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.lang button:hover { color: var(--heading); }
.lang button[aria-pressed="true"] { background: var(--pressed-bg); color: var(--pressed-text); }

.header-cta { min-height: 44px; padding: 0 1.3rem; font-size: .9375rem; }

/* Botão claro / escuro (canto superior direito) */
.theme-toggle {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--header-text); cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .3s var(--ease);
}
.theme-toggle:hover { background: var(--hover); border-color: var(--line-strong); }
.theme-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease), opacity .3s; }
.theme-toggle .i-moon { position: absolute; opacity: 0; transform: rotate(-60deg) scale(.6); }
html[data-theme="dark"] .theme-toggle .i-sun { opacity: 0; transform: rotate(60deg) scale(.6); }
html[data-theme="dark"] .theme-toggle .i-moon { opacity: 1; transform: none; }
@media (hover: hover) { .theme-toggle:hover svg { transform: rotate(20deg); } html[data-theme="dark"] .theme-toggle:hover .i-sun { transform: rotate(60deg) scale(.6); } }

.menu-button {
  position: relative; display: none; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer;
}
.menu-button .bar {
  position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-button .bar:nth-child(1) { top: 16px; }
.menu-button .bar:nth-child(2) { top: 26px; }
.menu-button[aria-expanded="true"] .bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .bar:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* Navegação — desktop */
.site-nav ul { display: flex; gap: 2px; }
.site-nav li:not(.nav-contact) a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font-size: .9375rem; font-weight: 500; text-decoration: none; color: var(--text-soft);
  transition: color .2s, background-color .2s;
}
.site-nav li:not(.nav-contact) a:hover { color: var(--heading); background: var(--hover); }
.site-nav li:not(.nav-contact) a[aria-current="true"] { color: var(--accent-text); }
.nav-contact { display: none; }

/* Celulares estreitos: cabeçalho mais compacto para caber marca, idioma, tema e menu */
@media (max-width: 400px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 4px; }
  .brand { gap: 8px; }
  .brand img { width: 38px; }
  .brand .wordmark { height: 30px; }
  .lang button { min-width: 38px; padding: 0 6px; }
  .theme-toggle, .menu-button { width: 40px; height: 40px; }
  .menu-button .bar { left: 9px; right: 9px; }
  .menu-button .bar:nth-child(1) { top: 14px; }
  .menu-button .bar:nth-child(2) { top: 24px; }
  .menu-button[aria-expanded="true"] .bar:nth-child(1), .menu-button[aria-expanded="true"] .bar:nth-child(2) { top: 19px; }
}

/* Navegação — celular e tablet */
@media (max-width: 899.98px) {
  .menu-button { display: inline-block; }
  .header-cta { display: none; }
  .site-nav {
    position: fixed; inset: 0; z-index: -1;
    padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
    background: var(--bg);
    overflow-y: auto;
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility 0s linear .3s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:not(.nav-contact) a {
    display: flex; width: 100%; min-height: 68px; padding: 0; border-radius: 0;
    font-size: clamp(1.625rem, 7vw, 2.25rem); font-weight: 700; letter-spacing: -.02em; color: var(--heading);
  }
  .site-nav li:not(.nav-contact) a:hover { background: transparent; }
  .nav-contact { display: block; border-bottom: 0 !important; padding-top: 28px; }
  .nav-contact .btn { width: 100%; }
}

/* ==========================================================================
   Cenas fixas ("stage"): a página rola, a cena fica presa e se transforma.
   --p = progresso 0→1 (definido pelo JavaScript)
   ========================================================================== */
.stage { position: relative; height: 260vh; height: 260svh; --p: 0; --e: 0; }
.stage-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
/* Sem fixar: telas baixas, zoom grande de texto ou movimento reduzido */
.stage.no-pin { height: auto; }
.stage.no-pin .stage-sticky { position: relative; height: auto; min-height: 100vh; min-height: 100svh; overflow: hidden; }

/* ---------- Hero ---------- */
.stage-hero { background: var(--bg); }
.stage-hero .stage-sticky { padding-top: var(--header-h); }
.hero-bg {
  position: absolute; inset: -8% 0; z-index: 0;
  background: var(--hero-wash);
  transform: translate3d(0, calc(var(--p) * -70px), 0) scale(calc(1 + var(--p) * .1));
  will-change: transform;
}
/* No escuro, o fundo da marca (degradê com partículas douradas), bem escurecido */
html[data-theme="dark"] .hero-bg {
  background:
    linear-gradient(rgba(10, 10, 44, .66), rgba(10, 10, 44, .66)),
    url("../img/textura-m.jpg") 50% 50% / cover no-repeat;
  background-color: var(--bg);
}
@media (min-width: 800px) {
  html[data-theme="dark"] .hero-bg {
    background:
      linear-gradient(rgba(10, 10, 44, .58), rgba(10, 10, 44, .58)),
      url("../img/textura.jpg") 50% 42% / cover no-repeat;
    background-color: var(--bg);
  }
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .9;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(65% 60% at 72% 50%, #000 0%, transparent 78%);
  mask-image: radial-gradient(65% 60% at 72% 50%, #000 0%, transparent 78%);
  transform: translate3d(0, calc(var(--p) * 90px), 0);
}
.orb { position: absolute; z-index: 0; border-radius: 50%; filter: blur(70px); pointer-events: none; will-change: transform; opacity: 0; }
html[data-theme="dark"] .orb { opacity: 1; }
.orb.o1 { width: 52vw; height: 52vw; left: -16vw; top: -14vw; background: radial-gradient(circle, rgba(25, 99, 232, .7), transparent 65%); transform: translate3d(calc(var(--mx, 0) * 30px), calc(var(--my, 0) * 30px), 0); }
.orb.o2 { width: 46vw; height: 46vw; right: -14vw; bottom: -18vw; background: radial-gradient(circle, rgba(64, 205, 220, .45), transparent 65%); transform: translate3d(calc(var(--mx, 0) * -40px), calc(var(--my, 0) * -40px), 0); }

/* Celular: o logo fica numa faixa própria, acima do texto (nunca por baixo das letras) */
.stage-hero .stage-sticky { flex-direction: column; justify-content: center; align-items: stretch; }
.hero-art {
  position: relative; z-index: 1; pointer-events: none; flex: none;
  width: min(58vw, 250px, 27svh); aspect-ratio: 1; margin: 12px var(--gutter) 0 auto;
  display: grid; place-items: center;
}
.hero-art .ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ring-1); stroke-width: .22; }
.hero-art .ring.r1 { stroke-dasharray: 0.6 1.8; transform: rotate(calc(var(--p) * -220deg)); }
.hero-art .ring.r2 { inset: 9%; width: 82%; height: 82%; stroke: var(--ring-2); stroke-dasharray: 18 6; transform: rotate(calc(var(--p) * 190deg)); }
.hero-art .ring.r3 { inset: 20%; width: 60%; height: 60%; stroke: var(--ring-3); stroke-width: .3; transform: rotate(calc(var(--p) * -120deg)); }
.hero-art .ring .sat { fill: var(--sat); stroke: none; }
.hero-art .hero-spiral {
  width: 72%; height: auto; aspect-ratio: 60.4 / 70.4;
  transform: rotate(calc(var(--p) * 360deg)) scale(calc(.92 + var(--p) * .22));
  filter: var(--art-shadow);
  will-change: transform;
}
/* Telas maiores: duas colunas, texto à esquerda e logo à direita, sem se tocarem */
@media (min-width: 760px) {
  .stage-hero .stage-sticky { flex-direction: row; align-items: center; justify-content: flex-start; }
  .hero-art { position: absolute; right: -9vw; top: 50%; width: min(58vw, 860px); margin: calc(min(58vw, 860px) / -2) 0 0 0; }
  .hero-art .hero-spiral { width: 58%; }
}

.hero-inner { position: relative; z-index: 2; width: 100%; padding-block: 24px 56px; padding-block: clamp(8px, 2svh, 24px) clamp(16px, 4svh, 56px); }
.hero-copy { display: grid; gap: 20px; gap: clamp(12px, 2.6svh, 20px); }
.hero-title { font-size: clamp(2.6rem, 7.6vw, 7rem); font-size: clamp(2.6rem, min(7.6vw, 11.5svh), 7rem); line-height: .96; letter-spacing: -.045em; }
.hw { display: block; color: var(--hw-dim); padding-bottom: .18em; margin-bottom: -.18em; transition: color .5s var(--ease); }
.hw.is-on { color: var(--heading); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hw.is-on { background: var(--hw-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
.hero-tag { font-size: clamp(1.25rem, 3vw, 1.875rem); font-weight: 600; letter-spacing: -.02em; color: var(--hero-tag); }
.hero-lead { font-size: clamp(1.0625rem, 2vw, 1.3125rem); color: var(--text); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
@media (min-width: 760px) { .hero-copy { max-width: 56%; } }

.scroll-hint {
  position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 8px;
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft);
  opacity: clamp(0, calc(1 - var(--p) * 8), 1); pointer-events: none;
}
.scroll-hint i { display: block; width: 1px; height: 38px; background: linear-gradient(var(--accent-text), transparent); animation: hint 2s var(--ease) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (min-width: 760px) and (min-height: 641px) { .scroll-hint { display: flex; } }

/* ---------- Faixa de logos ---------- */
.logos { background: var(--bg); padding-block: 40px 34px; border-block: 1px solid var(--line); }
.logos-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.logos-title { font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1.4; color: var(--text-soft); }
.marquee-toggle {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--text-soft);
  font: inherit; font-size: .8125rem; font-weight: 600; cursor: pointer; transition: color .2s, background-color .2s;
}
.marquee-toggle:hover { color: var(--heading); background: var(--hover); }
.marquee {
  position: relative; overflow: hidden; margin-top: 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-list { display: flex; align-items: center; gap: clamp(48px, 8vw, 112px); padding-right: clamp(48px, 8vw, 112px); }
.logo-list li { flex: none; }
.logo { display: flex; align-items: center; height: 44px; color: var(--logo); }
.logo-word { font-weight: 800; letter-spacing: -.02em; font-size: 1.5rem; white-space: nowrap; }
/* Logo como máscara: assume a cor do tema (cinza-índigo no claro, lavanda no escuro) */
.logo-img {
  --h: 44px; display: block; flex: none;
  width: min(calc(var(--h) * var(--ar, 3)), 170px); aspect-ratio: var(--ar, 3); height: auto;
  background-color: currentColor;
  /* a imagem da máscara (mask-image) vem no estilo inline de cada logo, relativa à página */
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.logo-img.is-color { background: none; -webkit-mask: none; mask: none; }

/* ---------- Manifesto (texto que acende ao rolar) ---------- */
.statement { padding-block: clamp(110px, 18vw, 240px); background: var(--bg); position: relative; overflow: hidden; isolation: isolate; }
.statement::before {
  content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -30vw; top: 50%; transform: translateY(-50%);
  background: radial-gradient(circle, var(--glow-c), transparent 62%); filter: blur(40px);
}
.scrub {
  max-width: 17em; font-weight: 800; letter-spacing: -.035em; line-height: 1.06;
  font-size: clamp(2.1rem, 6.8vw, 5.5rem); color: var(--heading);
}
.js .scrub .w { opacity: .55; transition: opacity .2s linear; }

/* ---------- Cena do retrato: foto menor, com o nome e etiquetas sobrepostos ---------- */
.stage-portrait { height: 230vh; height: 230svh; background: var(--bg-alt); }
.stage-portrait .stage-sticky { justify-content: center; }
.portrait-stack {
  position: relative; display: grid; justify-items: center; margin: 0; padding: calc(var(--header-h) + 8px) var(--gutter) 24px; width: 100%;
}
.portrait-visual {
  position: relative;
  width: min(80vw, 340px, calc(56svh * .8)); aspect-ratio: 4 / 5;
}
@media (min-width: 800px) { .portrait-visual { width: min(34vw, 470px, calc(63svh * .8)); } }
.portrait-card {
  position: absolute; inset: 0; overflow: hidden; border-radius: clamp(24px, 3vw, 36px);
  background: var(--portrait-fallback); box-shadow: var(--card-shadow);
  transform: scale(calc(.78 + var(--e) * .22));
  will-change: transform;
}
.portrait-img {
  position: absolute; inset: 0;
  background:
    url("../img/debora-1.jpg") 50% 30% / cover no-repeat,
    url("../logo/spiral.svg") 50% 46% / 40% auto no-repeat;
  transform: scale(calc(1.14 - var(--e) * .14));
  will-change: transform;
}
/* frase digitada sobre a foto (clicar pausa) */
.portrait-type {
  position: absolute; z-index: 3; left: 50%; bottom: -8%; transform: translateX(-50%);
  max-width: none; width: min(94vw, 380px); padding: 13px 20px; text-align: left; border: 1px solid var(--line); border-radius: 22px;
  background: var(--bg); color: var(--heading); box-shadow: var(--card-shadow);
  font: inherit; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; white-space: normal; cursor: pointer;
  opacity: clamp(0, calc((var(--e) - .45) * 2.4), 1);
}
.type-box { position: relative; display: inline-block; }
.type-ghost { visibility: hidden; }
.type-box { display: block; }
.type-live { position: absolute; left: 0; top: 0; right: 0; }
.type-live::after {
  content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.14em;
  background: var(--accent-text); animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
@media (min-width: 800px) { .portrait-type { font-size: 1.25rem; width: min(92vw, 480px); padding: 16px 26px; } }

/* etiquetas sobre as bordas da foto, com entrada em ritmos diferentes */
.portrait-pills li { list-style: none; }
.pill {
  position: absolute; z-index: 2; max-width: none; white-space: nowrap;
  padding: 9px 16px; border-radius: 999px; background: var(--bg); color: var(--heading);
  border: 1px solid var(--line); box-shadow: var(--card-shadow);
  font-size: .9375rem; font-weight: 600; line-height: 1.3;
  opacity: clamp(0, calc((var(--e) - .35) * 2.6), 1);
  transform: translate3d(calc((1 - var(--e)) * var(--dx, 0px)), calc((1 - var(--e)) * var(--dy, 40px)), 0);
}
/* no celular as etiquetas ficam sobre o cabelo e as bordas, nunca sobre o rosto */
.pill-a { left: -7%; top: 3%; --dx: -40px; --dy: 30px; }
.pill-b { right: -7%; top: 17%; --dx: 40px; --dy: 60px; }
.pill-c { left: -5%; top: 49%; --dx: -50px; --dy: 80px; white-space: normal; width: max-content; max-width: min(64%, 210px); text-align: left; border-radius: 20px; }
@media (min-width: 800px) {
  .pill { font-size: 1.125rem; padding: 11px 22px; }
  .pill-a { left: -26%; } .pill-b { right: -30%; } .pill-c { left: -22%; max-width: 250px; top: 52%; }
}

/* ---------- Revelar ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Sobre ---------- */
.about-grid { display: grid; gap: clamp(36px, 6vw, 96px); }
.about-head { display: grid; gap: 14px; align-content: start; }
.about-body { display: grid; gap: 1.25rem; font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .about-head { position: sticky; top: calc(var(--header-h) + 36px); align-self: start; }
}
.subsection { margin-top: clamp(72px, 10vw, 128px); }
.subsection > h3 { margin-bottom: clamp(24px, 3vw, 40px); }

.edu { max-width: 48rem; }
.edu li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.edu li:first-child { border-top: 1px solid var(--line); }
.edu strong { color: var(--heading); }
.edu .edu-where { color: var(--text-soft); font-size: .9375rem; }

.edu .edu-note { margin-top: 4px; font-size: .875rem; font-weight: 600; color: var(--accent-text); }

/* ---------- Lista de livros ---------- */
.books-list { margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); }
.books-list li { display: grid; gap: 6px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.book-year { font-size: .9375rem; font-weight: 700; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.book-title { font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.3; }
.book-meta { color: var(--text-soft); font-size: .9375rem; margin-top: 2px; }
.book-desc { margin-top: 8px; color: var(--text-soft); font-size: 1rem; }
.where-title { margin: clamp(8px, 2vw, 20px) 0 18px; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(8px, 2vw, 20px); }
.book-link { display: inline-block; margin-top: 10px; padding-block: 4px; font-weight: 600; font-size: .9375rem; color: var(--link); text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .22em; }
.book-link:hover { text-decoration-thickness: .14em; }
@media (min-width: 760px) { .books-list li { grid-template-columns: 140px minmax(0, 1fr); } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 4px 16px; border-radius: 999px;
  border: 1px solid var(--line); font-size: .9375rem; font-weight: 500; line-height: 1.3; color: var(--text);
}

/* ---------- Atuação e resultados (cartões) ---------- */
.section-head { display: grid; gap: 16px; max-width: 46rem; margin-bottom: clamp(40px, 6vw, 72px); }
.glass {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 38px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
}
html[data-theme="dark"] .glass { -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--spot), transparent 62%);
  opacity: var(--spotlight, 0); transition: opacity .35s;
}
@media (hover: hover) and (pointer: fine) { .glass:hover { --spotlight: 1; } }

.bento { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bento > .glass { align-content: start; }
.b-card { grid-column: 1 / -1; display: grid; gap: 14px; }
.b-card .idx { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; color: var(--accent-text); }
.b-card h4 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; }
.b-card p { color: var(--text-soft); }
.bento-label { grid-column: 1 / -1; margin-top: 16px; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.stat { display: grid; gap: 10px; align-content: start; }
.stat.wide { grid-column: 1 / -1; }
.stat-num {
  display: block; font-size: clamp(2.5rem, 6.4vw, 4.5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1;
  color: var(--heading); font-variant-numeric: tabular-nums; white-space: nowrap; padding-bottom: .16em; margin-bottom: -.16em;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .stat-num { background: var(--stat-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
.stat-num .unit { font-size: .5em; font-weight: 700; letter-spacing: -.01em; margin-left: .14em; }
.stat-num.is-text { font-size: clamp(1.875rem, 4.6vw, 3.25rem); letter-spacing: -.035em; white-space: normal; }
.stat-label { color: var(--text-soft); font-size: .9375rem; line-height: 1.45; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
  .b-a { grid-column: span 3; grid-row: span 2; }
  .b-b, .b-c { grid-column: span 3; }
  .bento-label { margin-top: 28px; }
  .stat { grid-column: span 2; }
  .stat.wide { grid-column: 1 / -1; grid-template-columns: minmax(0, auto) minmax(0, 1fr); align-items: center; gap: 12px 40px; }
  .b-a h4 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
}
@media (max-width: 899.98px) { .stat:not(.wide) { grid-column: span 1; } .stat.s3 { grid-column: 1 / -1; } }

/* Linha do tempo com logos */
.tl { display: grid; gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
.tl-item { display: grid; gap: 18px 36px; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-md); }
.tl-side { display: grid; gap: 14px; align-content: start; }
.tl-when { font-size: .9375rem; font-weight: 600; color: var(--accent-text); }
.tl-logo { display: flex; align-items: center; height: 40px; color: var(--logo); }
.tl-logo .logo-word { font-size: 1.25rem; }
.tl-logo .logo-img { --h: 36px; }
.tl-role { color: var(--text-soft); font-weight: 500; margin-top: 2px; }
.tl-desc { margin-top: 12px; color: var(--text-soft); font-size: 1rem; }
.tl h4 { font-size: 1.25rem; }
@media (min-width: 760px) { .tl-item { grid-template-columns: 200px minmax(0, 1fr); } }

/* ---------- Processo: stepper (uma etapa por vez, sem mudar a altura nem a navegação) ---------- */
.stepper { display: grid; gap: clamp(24px, 4vw, 40px); }
.stepper-nav, .stepper-ctrl { display: none; }
.stepper-panels { display: grid; }
.step { display: grid; gap: 22px clamp(32px, 6vw, 80px); align-content: start; }
.step + .step { margin-top: clamp(40px, 6vw, 64px); padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
.step:focus-visible { outline-offset: 8px; }
.step-label { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.step-word { font-size: clamp(2.75rem, 10vw, 7rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 8px 0 -.2em; padding: .04em 0 .2em; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .step-word { background: var(--hw-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
.step-body { display: grid; gap: 18px; align-content: start; }
.step-body p { color: var(--text); font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); }
.step-body .chips { margin-top: 6px; }
@media (min-width: 900px) { .step { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
/* Com JavaScript pronto: abas + um painel por vez (todos ocupam a mesma célula, então a altura não pula) */
.stepper-ready .stepper-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; border-bottom: 1px solid var(--line); }
.stepper-ready .stepper-ctrl { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stepper-ready .step { grid-area: 1 / 1; margin: 0; padding: 0; border: 0; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; }
.stepper-ready .step.is-active { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.step-tab {
  appearance: none; -webkit-appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px;
  padding: 14px 4px 12px; min-height: 44px; display: grid; gap: 2px; justify-items: start; text-align: left;
  font: inherit; color: var(--text-soft); cursor: pointer; transition: color .2s, border-color .2s;
}
.step-tab .step-n { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; }
.step-tab .step-t { font-size: clamp(1rem, 2.6vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.step-tab:hover { color: var(--heading); }
.step-tab[aria-selected="true"] { color: var(--heading); border-bottom-color: var(--accent-text); }
.step-tab[aria-selected="true"] .step-n { color: var(--accent-text); }
.stepper-ctrl .btn[disabled] { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Portfólio ---------- */

/* ---------- Mentorias: cabeçalho, pilares, abas e seletor de pacotes ---------- */
.mentoring-head { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .mentoring-head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.mentoring .lead { color: var(--text); }
.pillar-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(32px, 5vw, 52px); }
.pillar-chips li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; color: var(--heading); }
.pc-n { font-size: .75rem; letter-spacing: .12em; color: var(--accent-text); }
.mtabs { margin-top: clamp(40px, 6vw, 64px); display: grid; gap: clamp(24px, 3.5vw, 36px); }
.mtab-nav { display: none; }
.mtabs-ready .mtab-nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; width: fit-content; max-width: 100%; border: 1px solid var(--line); border-radius: 28px; background: var(--bg-alt); }
.mtab {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--text-soft);
  font: inherit; font-size: .9375rem; font-weight: 600; padding: 10px 20px; min-height: 44px; border-radius: 999px; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.mtab:hover { color: var(--heading); }
.mtab[aria-selected="true"] { background: var(--pressed-bg); color: var(--pressed-text); }
.mpanel { display: grid; gap: 20px; max-width: 54rem; align-content: start; }
.mpanel[hidden] { display: none; }
.mpanel + .mpanel { margin-top: clamp(36px, 5vw, 56px); }
.mtabs-ready .mpanel + .mpanel { margin-top: 0; }
.mtabs-ready .mp-title { display: none; }
.mtabs-ready .mpanel.is-active { animation: panelin .4s var(--ease); }
@keyframes panelin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mpanel p { color: var(--text); font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); }
.m-sub { font-size: .8125rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text) !important; margin-top: 4px; }
.checks { display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); }
.checks li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-text); }
@media (min-width: 760px) { .checks.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; } }
/* seletor de pacotes (botões de opção; funciona só com CSS e com o teclado) */
.pkg { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 22px; }
.pkg-options { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.pkg-options input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pkg-options label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .9375rem; font-weight: 600; color: var(--text); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.pkg-options label:hover { border-color: var(--line-strong); }
.pkg-options input:checked + label { background: var(--pressed-bg); color: var(--pressed-text); border-color: transparent; }
.pkg-options input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 3px; }
.pkg-card { display: grid; gap: 6px; max-width: 36rem; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-alt); }
.pkg-card .pk-title { font-weight: 700; color: var(--heading); font-size: 1.0625rem !important; }
.pkg-card .pk-price { font-size: clamp(2.5rem, 8vw, 4rem) !important; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; color: var(--heading) !important; }
.pkg-card .pk-price small { font-size: .35em; font-weight: 600; letter-spacing: 0; color: var(--text-soft); }
.pkg-card .pk-sub { color: var(--text-soft) !important; font-size: 1rem !important; }
@supports selector(:has(*)) {
  .pkg-card { display: none; }
  .pkg:has(#pkg-1:checked) [data-for="pkg-1"], .pkg:has(#pkg-2:checked) [data-for="pkg-2"], .pkg:has(#pkg-3:checked) [data-for="pkg-3"],
  .pkg:has(#pkg-4:checked) [data-for="pkg-4"], .pkg:has(#pkg-5:checked) [data-for="pkg-5"] { display: grid; animation: panelin .35s var(--ease); }
}
.m-notes { display: grid; gap: 6px; color: var(--text-soft); font-size: .9375rem; }
.m-notes li::before { content: "• "; color: var(--accent-text); }
.mentoring-cta { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 18px; justify-items: start; }
.mentoring-cta p { color: var(--text); font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; }

/* ---------- Livros ---------- */
.books .section-head { margin-bottom: 0; }

/* ---------- Contato (cartão de marca sobre a página) ---------- */
.contact { padding-block: clamp(48px, 8vw, 112px); }
.contact-card {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: clamp(28px, 4vw, 44px); padding: clamp(32px, 7vw, 96px);
  background:
    linear-gradient(rgba(26, 0, 73, .30), rgba(26, 0, 73, .30)),
    url("../img/textura-m.jpg") 50% 72% / cover no-repeat;
  background-color: var(--indigo);
}
@media (min-width: 800px) {
  .contact-card {
    background:
      linear-gradient(rgba(26, 0, 73, .24), rgba(26, 0, 73, .24)),
      url("../img/textura.jpg") 50% 80% / cover no-repeat;
    background-color: var(--indigo);
  }
}
html[data-theme="dark"] .contact-card {
  background:
    linear-gradient(rgba(10, 10, 44, .52), rgba(10, 10, 44, .52)),
    url("../img/textura-m.jpg") 50% 72% / cover no-repeat;
  background-color: var(--bg-alt);
  box-shadow: inset 0 0 0 1px var(--line);
}
@media (min-width: 800px) {
  html[data-theme="dark"] .contact-card {
    background:
      linear-gradient(rgba(10, 10, 44, .48), rgba(10, 10, 44, .48)),
      url("../img/textura.jpg") 50% 80% / cover no-repeat;
    background-color: var(--bg-alt);
  }
}
.contact-grid { display: grid; gap: 28px; }
.contact h2 { font-size: clamp(2.4rem, 8vw, 6rem); letter-spacing: -.045em; }
.contact-lead { color: var(--text); font-size: clamp(1.0625rem, 1.8vw, 1.3125rem); max-width: 36em; }
.email-big {
  display: inline-block; font-size: clamp(1.1875rem, 5.4vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
  color: var(--heading); overflow-wrap: anywhere;
  text-decoration: underline; text-decoration-thickness: .07em; text-underline-offset: .18em; text-decoration-color: var(--cyan);
}
.email-big:hover { text-decoration-thickness: .12em; }
.email-wrap { max-width: none; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.copy-status { color: var(--accent-text); font-weight: 600; font-size: .9375rem; min-height: 1.5em; }
.social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--bg-alt); color: var(--text-soft); padding-block: 48px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 16px; color: var(--heading); }
.footer-brand img { width: 64px; height: auto; }
.footer-top { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--heading); }
/* Nota de rodapé discreta (métodos, ferramentas e idiomas) */
.fineprint { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 72ch; font-size: .8125rem; line-height: 1.65; color: var(--text-soft); }

/* ---------- Modo de alto contraste ---------- */
@media (forced-colors: active) {
  .btn, .chip, .lang, .glass, .marquee-toggle, .theme-toggle { border: 2px solid ButtonText; }
  .lang button[aria-pressed="true"] { outline: 2px solid Highlight; }
  .hw.is-on, .stat-num, .step-word { background: none; color: CanvasText; -webkit-text-fill-color: currentColor; }
  .logo-img { background-color: CanvasText; }
}

/* ---------- Movimento reduzido: sem cenas fixas, sem animações, tudo visível ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .stage { height: auto !important; --p: 1; --e: 1; }
  .stage .stage-sticky { position: relative !important; height: auto !important; min-height: 100svh; }
  .js .reveal { opacity: 1; transform: none; }
  .js .scrub .w { opacity: 1; }
  .hero-bg, .hero-grid, .orb { transform: none !important; }
  .hero-art .hero-spiral { transform: none !important; }
  .hero-art .ring { transform: none !important; }
  .hw { color: var(--heading); }
  .scroll-hint, .marquee-toggle, .progress { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .logo-list { flex-wrap: wrap; justify-content: center; padding-right: 0; row-gap: 28px; }
  .logo-list[aria-hidden="true"] { display: none; }
  .portrait-caption { opacity: 1; transform: none; }
}

/* Sobre mim: destaques */
.about-body strong { color: var(--heading); font-weight: 700; }
.about-note { color: var(--text-soft); font-size: .9375rem; }


/* ---------- Livros: números grandes e lista recolhida ---------- */
.book-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); }
.book-stats .stat-num { font-size: clamp(2.5rem, 8vw, 4.5rem); }
@media (min-width: 760px) { .book-stats { max-width: 40rem; } }
.books-more { margin-top: clamp(28px, 4vw, 44px); }
.books-more summary {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 24px; list-style: none; cursor: pointer;
  border: 2px solid var(--line-strong); border-radius: 999px; font-weight: 600; color: var(--heading);
  transition: background-color .2s, border-color .2s;
}
.books-more summary::-webkit-details-marker { display: none; }
.books-more summary:hover { background: var(--hover); border-color: var(--heading); }
.books-more summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.books-more .chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--ease); }
.books-more[open] .chev { transform: rotate(225deg) translate(-2px, -2px); }
.books-more:not([open]) .lbl-open, .books-more[open] .lbl-closed { display: none; }
.books-more .books-list { margin-top: 24px; }


/* ==========================================================================
   Mais vida: cor e sombra nos textos
   ========================================================================== */
:root {
  --shadow-text: 3px 3px 0 rgba(64, 205, 220, .34), 6px 6px 0 rgba(81, 38, 175, .10);
  --glow-text: drop-shadow(0 8px 20px rgba(25, 99, 232, .28));
  --mark: rgba(64, 205, 220, .38);
  --btn-grad: linear-gradient(135deg, #270063, #5126AF);
  --btn-grad-hover: linear-gradient(135deg, #5126AF, #1963E8);
  --grad-big: linear-gradient(95deg, #270063 0%, #5126AF 38%, #1963E8 78%, #1597BA 100%);
}
html[data-theme="dark"] {
  --shadow-text: 0 0 26px rgba(64, 205, 220, .38), 0 0 64px rgba(81, 38, 175, .55);
  --glow-text: drop-shadow(0 0 18px rgba(64, 205, 220, .5));
  --mark: rgba(81, 38, 175, .65);
  --btn-grad: linear-gradient(135deg, #40CDDC, #7AA2FF);
  --btn-grad-hover: linear-gradient(135deg, #7FE0EA, #A9C2FF);
  --grad-big: linear-gradient(95deg, #FFFFFF 0%, #A9C2FF 45%, #40CDDC 100%);
}
.on-brand {
  --btn-grad: linear-gradient(135deg, #40CDDC, #7FE0EA);
  --btn-grad-hover: linear-gradient(135deg, #7FE0EA, #B6F0F6);
  --shadow-text: 0 0 26px rgba(64, 205, 220, .45);
}
h2 { text-shadow: var(--shadow-text); }
.btn-primary { background-image: var(--btn-grad); }
.btn-primary:hover { background-image: var(--btn-grad-hover); }
/* ponto colorido antes dos rótulos */
.eyebrow::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; vertical-align: .08em; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 12px rgba(64, 205, 220, .8);
}
/* grifos coloridos nas palavras-chave do "Sobre mim" */
.about-body strong { background: linear-gradient(transparent 58%, var(--mark) 58%); padding: 0 .14em; margin: 0 -.06em; border-radius: 3px; }
/* etiquetas com tons alternados da marca */
.chip:nth-child(3n+1) { background: rgba(64, 205, 220, .13); }
.chip:nth-child(3n+2) { background: rgba(81, 38, 175, .10); }
.chip:nth-child(3n) { background: rgba(25, 99, 232, .10); }
.chip { transition: transform .25s var(--ease), border-color .25s; }
@media (hover: hover) { .chip:hover { transform: translateY(-2px); border-color: var(--accent-text); } }
.pillar-chips li { background: linear-gradient(135deg, rgba(64, 205, 220, .14), rgba(81, 38, 175, .12)); }
/* texto com degradê e brilho colorido */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .step-word { background-image: var(--grad-big); filter: var(--glow-text); }
  .hw.is-on { filter: var(--glow-text); }
  .stat-num { filter: var(--glow-text); }
  .pkg-card .pk-price { background-image: var(--grad-big); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent !important; }
}
.pk-price, .portrait-type { transition: color .3s; }
@media (forced-colors: active) { h2, .book-title { text-shadow: none; } .btn-primary { background-image: none; } }


/* ---------- Números do Santander, dentro do bloco do Santander ---------- */
.tl-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.tl-stat { display: grid; gap: 6px; align-content: start; }
.tl-stat.wide { grid-column: 1 / -1; }
.tl-stat .stat-num { font-size: clamp(2.25rem, 6vw, 3.5rem); }
.tl-stat .stat-num.is-text { font-size: clamp(1.625rem, 4vw, 2.5rem); }
.tl-stat .stat-label { max-width: 40ch; }
@media (min-width: 760px) { .tl-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* celulares muito estreitos: logo do cabeçalho um pouco menor para caber tudo */
@media (max-width: 360px) { .brand img { width: 30px; } .brand .wordmark { height: 23px; } }

/* a caixa da frase digitada fica pendurada na borda de baixo da foto; reserva o espaço para ela */

/* ---------- Foto: etiquetas em fileira sobre a borda de cima e frase embaixo; o rosto fica livre ---------- */
.portrait-visual { margin-top: clamp(84px, 13svh, 108px); margin-bottom: clamp(100px, 15svh, 128px); }
.portrait-pills {
  position: absolute; z-index: 3; left: 50%; bottom: calc(100% - 14px); transform: translateX(-50%);
  width: max-content; max-width: min(96vw, 540px); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; pointer-events: none;
}
.pill, .pill-a, .pill-b, .pill-c { position: relative; left: auto; right: auto; top: auto; width: auto; max-width: none; white-space: nowrap; border-radius: 999px; }
@media (max-width: 799.98px) { .pill { font-size: .8125rem; padding: 7px 13px; } }
.portrait-type { bottom: auto; top: calc(100% - 14px); }


/* ---------- Sobre mim: três blocos lado a lado ---------- */
.about-top { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }
.about-cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .about-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.a-card {
  position: relative; display: grid; gap: 14px; align-content: start; overflow: hidden;
  padding: clamp(24px, 2.6vw, 34px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-alt);
}
.a-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
}
.a-n { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; color: var(--accent-text); }
.a-card h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); letter-spacing: -.02em; }
.a-lead { font-size: clamp(1.125rem, 1.8vw, 1.3125rem); line-height: 1.35; color: var(--heading); font-weight: 600; }
.a-card strong { color: var(--heading); font-weight: 700; background: linear-gradient(transparent 58%, var(--mark) 58%); padding: 0 .12em; margin: 0 -.05em; border-radius: 3px; }
.a-list { display: grid; gap: 10px; }
.a-list li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--text); font-size: 1rem; line-height: 1.5; }
.a-pairs { display: grid; gap: 0; }
.a-pairs li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--text); font-size: 1.0625rem; font-weight: 500; }
.a-pairs b { color: var(--accent-text); margin: 0 .35em; font-weight: 800; }
.a-card .chips { margin: 2px 0; }
.a-foot { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--text-soft); font-size: .9375rem; line-height: 1.55; }
.about-note { margin-top: 22px; color: var(--text-soft); font-size: .9375rem; }


/* ---------- Projetos em destaque dentro do bloco do Santander ---------- */
.tl-projs { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.tl-projs-title { font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 6px; }
.tl-projs-list { display: grid; gap: 0; }
.tl-proj { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.tl-proj:first-child { border-top: 0; }
.tl-proj-n { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; color: var(--accent-text); padding-top: 4px; }
.tl-proj h5 { font-size: 1.125rem; letter-spacing: -.01em; color: var(--heading); }
.tl-proj p { margin-top: 6px; color: var(--text-soft); font-size: 1rem; line-height: 1.55; max-width: 62ch; }
.tl-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; min-height: 44px; font-weight: 600; font-size: .9375rem; color: var(--accent-text); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.tl-link:hover { text-decoration-thickness: 2px; }

.tl-links { display: flex; flex-wrap: wrap; gap: 0 22px; }


/* ---------- Cases sob consulta ---------- */
.cases-band { padding-block: clamp(40px, 6vw, 72px); }
.cases-card {
  display: grid; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-alt);
  position: relative; overflow: hidden;
}
.cases-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet)); }
.cases-text { display: grid; gap: 12px; max-width: 46rem; }
.cases-text .lead { font-size: clamp(1.0625rem, 1.8vw, 1.25rem); }
@media (min-width: 900px) { .cases-card { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }

.btn-lg { min-height: 50px; padding: 0 1.8rem; font-size: 1rem; }
.contact-actions { margin-top: 8px; }

.tl-more .tl { margin-top: 24px; }
.tl-more { margin-top: 20px; }


/* ---------- Atuação enxuta ---------- */
.b-card .b-line { font-size: clamp(1.125rem, 1.8vw, 1.3125rem); font-weight: 600; line-height: 1.35; color: var(--heading); }
.b-card .chips { margin-top: 12px; }
.tl-desc strong { color: var(--heading); font-weight: 700; }


/* ---------- Podcast em destaque ---------- */
.podcast-band { padding-block: clamp(32px, 5vw, 56px); }
.podcast-card {
  position: relative; overflow: hidden; display: grid; gap: 20px; align-items: center;
  padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius-lg);
  background: var(--bg-alt); border: 1px solid var(--line);
}
.podcast-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(180deg, var(--cyan), var(--blue), var(--violet)); }
.podcast-play { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: var(--white); background: linear-gradient(135deg, var(--blue), var(--violet)); box-shadow: 0 10px 24px -10px rgba(25, 99, 232, .6); }
.podcast-play svg { margin-left: 3px; }
.podcast-text { display: grid; gap: 8px; }
.podcast-text h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.podcast-sub { color: var(--text-soft); font-size: clamp(1rem, 1.6vw, 1.1875rem); max-width: 52ch; }
@media (min-width: 820px) { .podcast-card { grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; } }
@media (forced-colors: active) { .podcast-play { forced-color-adjust: none; } }


/* ---------- Revisão de espaçamento e áreas de toque ---------- */
.marquee-toggle { min-height: 44px; }
.book-link { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
@media (min-width: 361px) and (max-width: 400px) {
  .theme-toggle, .menu-button { width: 44px; height: 44px; }
  .menu-button .bar { left: 11px; right: 11px; }
  .menu-button .bar:nth-child(1) { top: 16px; }
  .menu-button .bar:nth-child(2) { top: 26px; }
  .menu-button[aria-expanded="true"] .bar:nth-child(1), .menu-button[aria-expanded="true"] .bar:nth-child(2) { top: 21px; }
}

.book-stats .stat { grid-column: auto; }
.book-stats .stat { padding: clamp(18px, 2.4vw, 26px); }

/* Atuação: três cards de mesma altura em telas largas (textos curtos) */
@media (min-width: 900px) {
  .b-a, .b-b, .b-c { grid-column: span 2; grid-row: auto; }
  .b-a h4 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
}

/* Etiquetas e caixa de digitação: sobreposição menor sobre a foto */
.portrait-pills { bottom: calc(100% - 6px); }
.portrait-type { top: calc(100% - 8px); }
