/* Enderson Miranda: institucional, claro, contido.
   navy: âncora e faixas escuras | ink: texto (grafite) | accent: rótulos e interação | gold: credenciais acadêmicas */
:root {
  --white: #ffffff;
  --mist: #f2f4f7;
  --navy: #0b2545;
  --navy-2: #13315c;
  --ink: #1f2630;
  --muted: #5d6876;
  --line: #dde2e9;
  --accent: #2e6e8e;
  --gold: #9a7b3f;
  --bg: #ffffff;         /* fundo da página */
  --surface: #ffffff;    /* cartões e painéis */
  --heading: #0b2545;    /* títulos, linhas e destaques */
  --band: #0b2545;       /* faixas escuras (números, governança, contato) */
  --track: #e6eaf0; --span: #9fb0c6; --span-hover: #13315c; /* linha do tempo da carreira */
  --btn-bg: #0b2545;     /* botões e itens selecionados */
  --btn-fg: #ffffff;
  --bar-bg: rgba(255, 255, 255, .92);
  --on-navy: #e8eef6;
  --on-navy-muted: #a9b8cc;
  --sans: "Geist", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --w: 1400px;
}@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0a1220;
  --surface: #111c2e;
  --mist: #0d1828;
  --ink: #e2e8f0;
  --muted: #94a3b6;
  --line: #23324a;
  --heading: #eef3f9;
  --band: #14243d;
  --track: #142238; --span: #3f5a7c; --span-hover: #6f93bd;
  --btn-bg: #e8eef6;
  --btn-fg: #0b2545;
  --accent: #74b6d4;
  --gold: #cfae66;
  --bar-bg: rgba(10, 18, 32, .86);
  color-scheme: dark;
} }
:root[data-theme="dark"] {
  --bg: #0a1220;
  --surface: #111c2e;
  --mist: #0d1828;
  --ink: #e2e8f0;
  --muted: #94a3b6;
  --line: #23324a;
  --heading: #eef3f9;
  --band: #14243d;
  --track: #142238; --span: #3f5a7c; --span-hover: #6f93bd;
  --btn-bg: #e8eef6;
  --btn-fg: #0b2545;
  --accent: #74b6d4;
  --gold: #cfae66;
  --bar-bg: rgba(10, 18, 32, .86);
  color-scheme: dark;
}
html { transition: background-color .4s ease; }
body, .bar, .proof, .board-sec, .contact-sec, #expertise, .career-sec, #education, .case, .role-panel, .form, .exp h3, h2, .name { transition: background-color .4s ease, color .4s ease, border-color .4s ease; }
section[id] { scroll-margin-top: 76px; }
.theme-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--heading); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, transform .4s var(--ease-out, ease); }
.theme-btn:hover { border-color: var(--heading); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .moon, :root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .sun { display: none; } :root:not([data-theme="light"]) .theme-btn .moon { display: block; } }
.theme-btn:active { transform: rotate(40deg); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--w), 100% - 2 * clamp(24px, 4vw, 64px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn-bg); color: var(--btn-fg); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }

/* barra */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 14px clamp(16px, 4vw, 40px);
  background: var(--bar-bg); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.bar.solid { border-color: var(--line); }
.mark { font-weight: 700; text-decoration: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  background: var(--btn-bg); color: var(--btn-fg); font-size: 13px; letter-spacing: .02em; }
.nav { display: flex; gap: 24px; margin-right: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .2s; }
.nav a:hover, .nav a.on { color: var(--heading); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { background: none; border: 0; color: var(--muted); font: 500 12px var(--sans); padding: 5px 10px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-fg); }
.bar-cta { text-decoration: none; font-size: 14px; font-weight: 500; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--heading); color: var(--heading); }
.bar-cta:hover { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }

/* botões */
.btn { display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 999px; font: 500 15px var(--sans);
  text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn.solid { background: var(--btn-bg); color: var(--btn-fg); }
.btn.solid:hover { background: var(--navy-2); }
.btn.line { border-color: var(--line); color: var(--heading); background: transparent; }
.btn.line:hover { border-color: var(--heading); }

/* topo */
.hero { padding: clamp(48px, 7vw, 96px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.focus { color: var(--accent); font-size: 15px; font-weight: 500; margin-bottom: 22px; }
.name { font-weight: 600; font-size: clamp(52px, 7.4vw, 96px); line-height: .95; letter-spacing: -.04em; color: var(--heading); }
.statement { margin-top: 28px; max-width: 26ch; font: italic 400 clamp(26px, 2.8vw, 36px)/1.22 var(--serif); color: var(--ink); }
.role { margin-top: 28px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.role .loc { font-size: 15px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-portrait { position: relative; margin: 0; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; background: var(--band); display: grid; place-items: center; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.hero-portrait .mono { font-weight: 600; font-size: clamp(96px, 12vw, 170px); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.2px rgba(232, 238, 246, .7); }
.hero-portrait figcaption { position: absolute; left: 20px; right: 20px; bottom: 16px; font-size: 13px; color: var(--on-navy-muted); }
.creds { list-style: none; padding: 0; margin: clamp(48px, 6vw, 80px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.creds li { padding: 22px 0 26px; display: flex; align-items: center; gap: 16px; }
.cred-logo { flex: none; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; }
.cred-logo img { width: 100%; height: 100%; object-fit: contain; }
.cred-text { display: flex; flex-direction: column; }
.creds li + li { border-left: 1px solid var(--line); padding-left: 28px; }
.cred-text b { font-weight: 600; font-size: 20px; color: var(--heading); letter-spacing: -.01em; }
.cred-text span { color: var(--muted); font-size: 15px; }

/* prova */
.proof { background: var(--band); color: var(--on-navy); padding: 56px 0 48px; }
.thesis { font-size: clamp(17px, 1.5vw, 20px); max-width: 70ch; padding-bottom: 32px; border-bottom: 1px solid rgba(169, 184, 204, .25); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metrics-grid[hidden] { display: none; }
.proof.no-metrics { padding-bottom: 56px; }
.proof.no-metrics .thesis { padding-bottom: 0; border-bottom: 0; }
.metric { padding: 34px 24px 34px 0; }
.metric + .metric { border-left: 1px solid rgba(169, 184, 204, .25); padding-left: 24px; }
.metric strong { display: block; font-weight: 600; font-size: clamp(34px, 3.6vw, 50px); letter-spacing: -.03em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.metric span { display: block; margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--on-navy-muted); max-width: 26ch; }

/* seções */
.sec { padding: clamp(80px, 10vw, 128px) 0; }
h2 { font-weight: 600; font-size: clamp(32px, 4vw, 50px); letter-spacing: -.03em; line-height: 1.05; color: var(--heading); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 52px; }
.sec-head p { color: var(--muted); max-width: 46ch; justify-self: end; }

/* perfil */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
#about-body p { font-size: 18px; line-height: 1.7; max-width: 62ch; }
#about-body p + p { margin-top: 1.1em; }
#models { margin-top: 32px; }
.about-side { position: sticky; top: 100px; }
.about-photo { margin: 36px 0 0; aspect-ratio: 2 / 3; max-width: 480px; overflow: hidden; border-radius: 4px; background: var(--band); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; transition: transform 1.6s var(--ease-out, ease); }
.about-photo:hover img { transform: scale(1.03); }
/* computador: o texto fica centralizado na altura da foto e cresce por igual para cima e para baixo
   (o título "About" fica sozinho na linha de cima; a foto e o texto dividem a linha de baixo) */
@media (min-width: 1021px) {
  .about { grid-template-rows: auto auto; row-gap: 0; }
  .about-side { grid-row: 1 / span 2; display: grid; grid-template-rows: subgrid; }
  .about-text { grid-column: 2; grid-row: 2; align-self: center; margin-top: 36px; } /* 36px = a margem acima da foto, para o centro bater com o dela */
}

/* faixa de foto antes do contato */
.photo-band { position: relative; width: 100%; aspect-ratio: 3 / 2; max-height: 100svh; min-height: 440px; overflow: hidden; background: var(--band); } /* mesma proporção da foto: não corta a cabeça */
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 0%; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 18, 34, 0) 30%, rgba(8, 18, 34, .78) 72%, rgba(8, 18, 34, .92)), linear-gradient(0deg, rgba(8, 18, 34, .6), transparent 35%); }
.band-copy { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; text-align: right; color: #fff; }
.band-quote { max-width: 22ch; font: italic 400 clamp(28px, 3.4vw, 46px)/1.18 var(--serif); }
.band-name { margin-top: 28px; font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.band-name span { display: block; font-weight: 400; font-size: 14px; color: var(--on-navy-muted); margin-top: 2px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }

/* competências */
#expertise { background: var(--mist); }
.expertise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.exp { padding: 26px 0 34px; border-top: 2px solid var(--heading); }
.exp h3 { font-weight: 600; font-size: 21px; letter-spacing: -.015em; color: var(--heading); margin-bottom: 10px; }
.exp p { color: var(--muted); font-size: 16px; max-width: 34ch; }

/* resultados */
.cases { display: grid; gap: 20px; }
.case { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; padding: 40px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.case-org { font-size: 14px; color: var(--accent); font-weight: 500; }
.case h3 { font-weight: 600; font-size: clamp(21px, 1.9vw, 26px); letter-spacing: -.02em; line-height: 1.2; margin-top: 10px; color: var(--ink); }
.case-out { margin-top: 26px; }
.case-out strong { display: block; font-weight: 600; font-size: clamp(42px, 4.4vw, 60px); letter-spacing: -.04em; line-height: 1; color: var(--heading); }
.case-out span { display: block; color: var(--muted); font-size: 15px; margin-top: 8px; }
.car { margin: 0; display: grid; align-content: start; }
.car > div { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.car > div:first-child { border-top: 0; padding-top: 4px; }
.car dt { font-size: 14px; color: var(--muted); padding-top: 2px; }
.car dd { margin: 0; font-size: 17px; }
.car > div:last-child dd { font-weight: 500; color: var(--heading); }

/* trajetória */
.career-sec { background: var(--mist); }
.gantt { border-top: 1px solid var(--line); padding-top: 8px; }
.axis { position: relative; height: 32px; margin-left: 290px; }
.axis span { position: absolute; top: 8px; transform: translateX(-50%); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.row { display: grid; grid-template-columns: 290px 1fr; align-items: center; width: 100%; padding: 10px 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.row-label { padding-right: 20px; display: flex; align-items: center; gap: 14px; }
.logo { flex: none; width: 40px; height: 40px; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .3s, border-color .2s; }
.logo img { width: 100%; height: 100%; object-fit: contain; }
.logo.mono { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.row[aria-selected="true"] .logo { border-color: var(--heading); transform: scale(1.06); }
.row-label b { display: block; font-weight: 500; font-size: 15px; color: var(--ink); }
.row-label small { color: var(--muted); font-size: 13px; }
.track { position: relative; height: 32px; background: var(--track); border-radius: 4px; }
.span { position: absolute; top: 6px; bottom: 6px; border-radius: 3px; background: var(--span); transition: background .2s; }
.span.now::after { content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--accent); }
.row:hover .span { background: var(--span-hover); }
.row[aria-selected="true"] .span { background: var(--heading); }
.row[aria-selected="true"] .row-label b { color: var(--heading); font-weight: 600; }
.role-panel { margin-top: 36px; display: grid; grid-template-columns: 5fr 7fr; gap: 48px; padding: 40px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); }
.role-panel h3 { font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; line-height: 1.12; color: var(--heading); }
.role-panel .org { color: var(--accent); font-size: 17px; font-weight: 500; margin-top: 8px; }
.role-panel .per { color: var(--muted); font-size: 15px; margin-top: 2px; }
.role-panel .sum { margin-top: 20px; font: italic 400 22px/1.35 var(--serif); }
.role-panel ul { list-style: none; padding: 0; margin: 0; }
.role-panel li { padding: 13px 0 13px 24px; border-bottom: 1px solid var(--line); position: relative; }
.role-panel li::before { content: ""; position: absolute; left: 0; top: 24px; width: 10px; height: 1px; background: var(--heading); }
@media (prefers-reduced-motion: no-preference) {
  .role-panel.swap > * { animation: fade .35s ease both; }
}
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* governança */
.board-sec { background: var(--band); color: var(--on-navy); }
.board-sec h2 { color: #fff; }
.board { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 88px); }
.board-intro { margin-top: 24px; font: italic 400 clamp(21px, 1.9vw, 26px)/1.38 var(--serif); max-width: 36ch; }
.board-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.board-cols h3 { font-weight: 500; font-size: 14px; color: var(--on-navy-muted); margin-bottom: 12px; }
#board-seats-wrap { margin-top: 32px; }
#board-exp, #board-seats { list-style: none; padding: 0; margin: 0; }
#board-exp li { padding: 13px 0; border-top: 1px solid rgba(169, 184, 204, .25); }
.board-sec .chips li { border-color: rgba(169, 184, 204, .4); color: var(--on-navy); }

/* na mídia: filtros + grade de cartões */
.mfilter { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 36px; }
.mfilter button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--ink); font: 500 14px var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.mfilter button span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mfilter button:hover { border-color: var(--heading); }
.mfilter button[aria-pressed="true"] { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.mfilter button[aria-pressed="true"] span { color: inherit; opacity: .7; }
.mfilter button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.mcard { position: relative; display: flex; flex-direction: column; }
.mcard[hidden] { display: none; }
.mthumb { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--band); }
.mthumb > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease-out, ease); }
.mthumb.is-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 18, 34, .35), transparent 55%); }
.mplay { position: absolute; left: 16px; bottom: 16px; z-index: 1; width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .5); transition: transform .3s var(--ease-out, ease); }
.mplay svg { width: 15px; height: 15px; fill: #0b2545; margin-left: 3px; }
.mcover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: 0 28px;
  background: radial-gradient(420px 240px at 100% 0%, rgba(201, 168, 98, .16), transparent 70%), linear-gradient(150deg, #13315c, #0b2545); color: #f4efe4; }
.mcover img { width: 52px; height: 52px; object-fit: contain; padding: 7px; border-radius: 10px; background: #fff; }
.mcover b { font: italic 400 clamp(24px, 2vw, 30px)/1.1 var(--serif); max-width: 14ch; }
.mgo { position: absolute; right: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(244, 239, 228, .45); background: rgba(8, 18, 34, .45); backdrop-filter: blur(4px); color: #f4efe4; display: grid; place-items: center; transition: background .3s, color .3s; z-index: 1; }
.mgo svg { width: 14px; height: 14px; }
.mbody { padding-top: 18px; }
.mmeta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 8px; }
.mmeta .kind { margin: 0; }
.msrc { font-size: 13px; color: var(--muted); }
.mcard h3 { font-weight: 600; font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
.mlink { all: unset; cursor: pointer; color: var(--ink); transition: color .2s; }
.mlink::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 8px; }
.mlink:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 6px; }
.mdesc { margin-top: 6px; font-size: 15px; color: var(--muted); }
.mcard:hover .mthumb > img { transform: scale(1.04); }
.mcard:hover .mplay { transform: scale(1.1); }
.mcard:hover .mgo { background: #f4efe4; color: #0b2545; }
.mcard:hover .mlink { color: var(--heading); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.kind { display: inline-block; font-size: 13px; font-weight: 500; color: var(--accent); margin-bottom: 8px; }
.kind[data-k="article"], .kind[data-k="profile"] { color: var(--gold); }

/* formação */
#education { background: var(--mist); }
/* formação: lista editorial + roteiro das imersões */
.degrees { border-top: 1px solid var(--heading); }
.deg { display: grid; grid-template-columns: 150px minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--line); }
/* todas as formações no mesmo tamanho */
.deg-yr { font-size: 17px; color: var(--gold); font-variant-numeric: tabular-nums; font-weight: 500; }
.deg h3 { font-weight: 600; font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -.025em; line-height: 1.12; color: var(--heading); transition: transform .4s var(--ease-out, ease); }
.deg-title { margin-top: 8px; font: italic 400 clamp(18px, 1.5vw, 20px)/1.3 var(--serif); color: var(--ink); }
.deg-note { color: var(--muted); font-size: 15px; max-width: 46ch; }
.deg:hover h3 { transform: translateX(6px); }
.route-wrap { margin-top: 64px; }
.route-label { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.route { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.route::before { content: ""; position: absolute; left: 6px; right: calc(25% - 6px); top: 6px; height: 1px; background: var(--heading); transform-origin: 0 50%; }
.route li { position: relative; display: flex; flex-direction: column; gap: 2px; padding-right: 16px; }
.stop { width: 13px; height: 13px; border-radius: 50%; background: var(--surface); border: 2px solid var(--heading); margin-bottom: 18px; position: relative; z-index: 1; }
.route li:first-child .stop { background: var(--heading); }
.route b { font-weight: 600; font-size: 20px; letter-spacing: -.015em; color: var(--heading); }
.route span { font-size: 14px; color: var(--muted); }
.route small { margin-top: 8px; font-size: 13px; color: var(--gold); font-weight: 500; }
.route-note { margin-top: 36px; font-size: 14px; color: var(--muted); }

/* contato: faixa escura, fios dourados, formulário em vidro */
.contact-sec { position: relative; background: radial-gradient(900px 520px at 12% 0%, rgba(201, 168, 98, .10), transparent 60%), radial-gradient(800px 600px at 100% 100%, rgba(116, 182, 212, .08), transparent 60%), var(--band); color: var(--on-navy); overflow: hidden; }
.contact-sec::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 168, 98, .55), transparent); }
.contact > * { min-width: 0; }
.contact-sec.sec { padding: clamp(64px, 7vw, 88px) 0; }
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.contact h2 { color: #fff; font-size: clamp(40px, 4.4vw, 60px); letter-spacing: -.045em; line-height: .95; }
.contact-lead { margin-top: 16px; font: italic 400 clamp(18px, 1.4vw, 20px)/1.4 var(--serif); max-width: 32ch; color: var(--on-navy); }

.channels { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; max-width: 440px; }
.channels a { display: grid; grid-template-columns: 40px 1fr 32px; align-items: center; gap: 14px; padding: 11px 14px 11px 12px; border-radius: 12px; text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(169, 184, 204, .16); transition: background .3s, border-color .3s, transform .4s var(--ease-out, ease); }
.channels a:hover { background: rgba(255, 255, 255, .07); border-color: rgba(201, 168, 98, .5); transform: translateX(4px); }
.ch-icon { width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; }
.ch-icon svg { width: 22px; height: 22px; }
.ch-linkedin { background: #fff; }
.ch-bio, .ch-email, .ch-assistant { background: rgba(201, 168, 98, .12); color: #d9bd7e; border: 1px solid rgba(201, 168, 98, .35); }
.ch-text b { display: block; font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.ch-text small { display: block; margin-top: 1px; font-size: 13px; color: var(--on-navy-muted); }
.ch-go { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(169, 184, 204, .3); display: grid; place-items: center; color: var(--on-navy); transition: background .3s, color .3s, border-color .3s; }
.ch-go svg { width: 14px; height: 14px; }
.channels a:hover .ch-go { background: #f4efe4; border-color: #f4efe4; color: #0b2545; }

.contact-meta { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid rgba(169, 184, 204, .18); display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; max-width: 440px; }
.contact-meta dt { font-size: 12.5px; color: var(--on-navy-muted); }
.contact-meta dd { margin: 4px 0 0; font-size: 15px; color: #fff; font-variant-numeric: tabular-nums; }

.form { position: relative; display: grid; gap: 20px; padding: clamp(24px, 2.6vw, 34px); border-radius: 14px; color: var(--on-navy);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(201, 168, 98, .28);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(8px); }
.form-title { font: 400 clamp(26px, 2.4vw, 32px)/1.15 var(--serif); color: #fff; }
.form-sub { margin-top: 6px; font-size: 14.5px; color: var(--on-navy-muted); }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-size: 12.5px; color: var(--on-navy-muted); margin-bottom: 10px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { position: relative; display: block !important; }
.topic input { position: absolute; opacity: 0; }
.topic span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(169, 184, 204, .32); font-size: 13.5px; color: var(--on-navy); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.topic span:hover { border-color: rgba(201, 168, 98, .7); }
.topic input:checked + span { background: #f4efe4; border-color: #f4efe4; color: #0b2545; }
.topic input:focus-visible + span { outline: 2px solid #d9bd7e; outline-offset: 2px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.field { position: relative; display: block; }
.field.wide { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 15px; color: #fff; background: transparent; border: 0; border-bottom: 1px solid rgba(169, 184, 204, .35); border-radius: 0; padding: 20px 0 8px; resize: vertical; transition: border-color .3s; }
.field textarea { min-height: 76px; }
.field span { position: absolute; left: 0; top: 20px; font-size: 15px; color: var(--on-navy-muted); pointer-events: none; transform-origin: 0 0; transition: transform .3s var(--ease-out, ease), color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: #d9bd7e; }
.field input:focus + span, .field textarea:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-20px) scale(.78); color: #d9bd7e; }
.field input:-webkit-autofill { -webkit-text-fill-color: #fff; transition: background-color 9999s; }

.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.privacy { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-navy-muted); }
.privacy svg { width: 15px; height: 15px; flex: none; }
.send { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px 0 26px; border: 0; border-radius: 999px; background: #f4efe4; color: #0b2545; font: 600 15px var(--sans); cursor: pointer;
  box-shadow: 0 14px 30px -16px rgba(244, 239, 228, .5); transition: transform .3s var(--ease-out, ease), box-shadow .3s, background .3s; }
.send svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out, ease); }
.send:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 20px 36px -16px rgba(244, 239, 228, .6); }
.send:hover svg { transform: translateX(4px); }
.send:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.send:focus-visible { outline: 2px solid #d9bd7e; outline-offset: 3px; }
.form-note { font-size: 14px; color: #d9bd7e; min-height: 1.2em; margin-top: -12px; }

.foot { display: flex; justify-content: space-between; padding: 28px 0; font-size: 14px; color: var(--muted); }

/* responsivo */
@media (max-width: 1020px) {
  .nav { display: none; }
  .bar-cta { margin-left: auto; }
  .about-side { position: static; }
  .about-photo { max-width: 400px; }
  /* celular e tablet: a faixa da foto é igual à do computador (foto inteira em 3:2, ele à esquerda, texto à direita), só em escala menor */
  .photo-band { min-height: 0; }
  .band-quote { font-size: clamp(13px, 3.5vw, 30px); }
  .band-name { margin-top: clamp(8px, 2.2vw, 22px); font-size: clamp(11px, 1.9vw, 15px); }
  .band-name span { font-size: clamp(10px, 1.7vw, 13px); }
  .hero-grid, .about, .contact, .role-panel, .sec-head, .case, .board, .board-cols { grid-template-columns: 1fr; }
  .contact-meta { grid-template-columns: repeat(2, auto); }
  .hero-portrait { max-width: 380px; }
  .sec-head p { justify-self: start; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(odd) { border-left: 0; padding-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid rgba(169, 184, 204, .25); }
  .expertise { grid-template-columns: repeat(2, 1fr); }
  .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 22px; }
  .case { gap: 28px; }
}
@media (max-width: 640px) {
  .bar { gap: 12px; }
  .hero-portrait { order: -1; max-width: 100%; aspect-ratio: 1/1; }
  .creds { grid-template-columns: 1fr; }
  .creds li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .creds li { padding: 16px 0; }
  .expertise { grid-template-columns: 1fr; }
  .axis { margin-left: 0; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .deg { grid-template-columns: 1fr; gap: 6px; }
  .route { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .route::before { display: none; }
  .mgrid { grid-template-columns: 1fr; gap: 36px; }
  .mfilter { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * clamp(24px, 4vw, 64px)); padding-right: 24px; scrollbar-width: none; }
  .mfilter button { flex: none; }
  .case, .role-panel { padding: 26px 22px; }
  .car > div { grid-template-columns: 1fr; gap: 4px; }
  .foot { flex-direction: column; gap: 6px; }
  .fields { grid-template-columns: 1fr; }
  .contact-meta { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
  .channels a { grid-template-columns: 44px 1fr 32px; gap: 14px; padding: 14px; }
  .ch-icon { width: 44px; height: 44px; }
  .send { width: 100%; justify-content: center; }
}

/* ---------- animações (só com movimento permitido; ver Anim em script.js) ---------- */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 30; pointer-events: none; }
#main { transition: opacity .22s ease, filter .22s ease; }
#main.swapping { opacity: 0; filter: blur(4px); }

@media (prefers-reduced-motion: no-preference) {
  /* topo: sequência de entrada */
  .anim .name .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
  .anim .name .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out) calc(.15s + var(--i) * .12s); }
  .anim.loaded .name .w > span { transform: none; }
  .anim .hero-text > :not(.name) { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
  .anim.loaded .hero-text > .focus { opacity: 1; transform: none; transition-delay: .05s; }
  .anim.loaded .hero-text > .statement { opacity: 1; transform: none; transition-delay: .45s; }
  .anim.loaded .hero-text > .role { opacity: 1; transform: none; transition-delay: .6s; }
  .anim.loaded .hero-text > .ctas { opacity: 1; transform: none; transition-delay: .75s; }
  .anim .hero-portrait { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-out) .25s; }
  .anim .hero-portrait img { transform: scale(1.12); transition: transform 1.8s var(--ease-out) .25s; }
  .anim.loaded .hero-portrait { clip-path: inset(0 0 0 0); }
  .anim.loaded .hero-portrait img { transform: none; }

  /* entradas ao rolar */
  .anim [data-reveal] { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), clip-path .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
  .anim [data-reveal].in:hover { transition-delay: 0s; }
  .anim [data-reveal="up"]:not(.in) { opacity: 0; transform: translateY(28px); }
  .anim [data-reveal="fade"]:not(.in) { opacity: 0; }
  .anim [data-reveal="mask"]:not(.in) { opacity: 0; transform: translateY(32px); }
  .anim [data-reveal="line"] { position: relative; border-top-color: transparent; }
  .anim [data-reveal="line"]::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--heading); transform-origin: 0 50%; transition: transform 1s var(--ease-out) calc(var(--i, 0) * 90ms); }
  .anim [data-reveal="line"]:not(.in)::before { transform: scaleX(0); }
  .anim [data-reveal="line"] > * { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(.2s + var(--i, 0) * 90ms); }
  .anim [data-reveal="line"]:not(.in) > * { opacity: 0; transform: translateY(12px); }
  .anim .gantt .span { transform-origin: 0 50%; transition: transform 1.1s var(--ease-out), background .2s; }
  .anim .gantt .row:nth-child(2) .span { transition-delay: .1s; } .anim .gantt .row:nth-child(3) .span { transition-delay: .2s; }
  .anim .gantt .row:nth-child(4) .span { transition-delay: .3s; } .anim .gantt .row:nth-child(5) .span { transition-delay: .4s; }
  .anim .gantt:not(.in) .span { transform: scaleX(0); }
  /* interações */
  .case { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .2s, opacity .8s var(--ease-out); }
  .case:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(11, 37, 69, .45); }
  .btn { transition: background .2s, color .2s, border-color .2s, transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -14px rgba(11, 37, 69, .6); }
  .hero-portrait img { transition: transform 1.8s var(--ease-out); }
  .hero-portrait:hover img { transform: scale(1.03); }
  .nav a { position: relative; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--heading); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease-out); }
  .nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
  .channels a span:first-child { transition: transform .3s var(--ease-out); }
  .channels a:hover span:first-child { transform: translateX(6px); }
}

@media (prefers-reduced-motion: no-preference) {
  .anim [data-reveal="route"]::after { content: none; }
  .anim .route::before { transition: transform 1.4s var(--ease-out) .2s; }
  .anim .route li { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  .anim .route li:nth-child(2) { transition-delay: .35s; } .anim .route li:nth-child(3) { transition-delay: .6s; } .anim .route li:nth-child(4) { transition-delay: .85s; }
  .anim [data-reveal="route"]:not(.in) .route::before { transform: scaleX(0); }
  .anim [data-reveal="route"]:not(.in) .route li { opacity: 0; transform: translateY(10px); }
}

/* player em janela sobreposta */
[hidden] { display: none !important; }
.vmodal[hidden] { display: none; }
.vm-lock { overflow: hidden; }
.vmodal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.vm-backdrop { position: absolute; inset: 0; background: rgba(6, 18, 36, .82); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s ease; }
.vm-box { position: relative; width: min(1080px, 100%); background: var(--band); border-radius: 10px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7);
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .32s var(--ease-out, ease), transform .42s var(--ease-out, ease); }
.vmodal.open .vm-backdrop { opacity: 1; }
.vmodal.open .vm-box { opacity: 1; transform: none; }
.vm-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vm-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vm-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 22px; color: var(--on-navy); }
.vm-sub { font-size: 13px; color: var(--on-navy-muted); }
.vm-meta h3 { font-weight: 600; font-size: 18px; color: #fff; margin-top: 2px; }
.vm-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.vm-actions a { font-size: 14px; color: var(--on-navy); text-decoration: underline; text-underline-offset: 4px; }
.vm-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(169, 184, 204, .4); background: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.vm-close:hover { background: rgba(255, 255, 255, .1); }
@media (max-width: 640px) { .vm-meta { flex-direction: column; align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { .vm-backdrop, .vm-box { transition: none; } }

@media (prefers-reduced-motion: no-preference) {
  .anim .photo-band img { opacity: 0; transition: opacity 1.4s var(--ease-out); }
  .anim .photo-band.in img { opacity: 1; }
  .anim .photo-band .band-copy > * { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
  .anim .photo-band.in .band-quote { opacity: 1; transform: none; transition-delay: .35s; }
  .anim .photo-band.in .band-name { opacity: 1; transform: none; transition-delay: .6s; }
  .anim .about-photo:not(.in) { opacity: 0; transform: translateY(30px); }
  .anim .about-photo { transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
  .anim .about-photo:not(.in) img { transform: scale(1.08); }
}

.foot-link { color: var(--muted); text-underline-offset: 4px; }
.foot-link:hover { color: var(--heading); }
.privacy-link { color: #d9bd7e; text-underline-offset: 3px; }

.deg-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--heading); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.deg-note .deg-link { display: flex; width: fit-content; }
.deg-link svg { width: 12px; height: 12px; transition: transform .3s; }
.deg-link:hover svg { transform: translate(2px, -2px); }

/* ===== versão 2 (pedidos do vídeo do Enderson) ===== */
/* Na mídia: lista no estilo "Featured" do LinkedIn, miniatura à esquerda e texto ao lado, descendo */
.mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 1px solid var(--line); }
.mcard { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.mcard .mthumb { border-radius: 6px; }
.mbody { min-width: 0; }
.mplay { left: 12px; bottom: 12px; width: 40px; height: 40px; }
.mplay svg { width: 13px; height: 13px; }
.mgo { right: 10px; top: 10px; width: 30px; height: 30px; }
.mcover { gap: 10px; padding: 0 18px; }
.mcover img { width: 38px; height: 38px; padding: 5px; border-radius: 8px; }
.mcover b { font-size: clamp(17px, 1.4vw, 21px); }
.mcard h3 { font-size: 17px; }
.mdesc { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mlink::after { border-radius: 0; }
@media (max-width: 1020px) { .mgrid { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 640px) {
  .mcard { grid-template-columns: 132px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
  .mplay { left: 8px; bottom: 8px; width: 30px; height: 30px; }
  .mplay svg { width: 10px; height: 10px; }
  .mgo { display: none; }
  .mcover { padding: 0 10px; gap: 6px; }
  .mcover img { width: 26px; height: 26px; padding: 3px; border-radius: 6px; }
  .mcover b { font-size: 13px; }
  .mcard h3 { font-size: 15px; }
  .mdesc { font-size: 13px; }
}

/* Formação: imersões do Global Executive MBA em destaque */
.route-wrap { margin-top: 80px; }
.route-label { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.015em; color: var(--heading); margin-bottom: 36px; }
.route::before { top: 8px; left: 8px; right: calc(25% - 8px); }
.stop { width: 17px; height: 17px; margin-bottom: 22px; }
.route b { font-size: clamp(24px, 2.2vw, 30px); }
.route span { font-size: 15px; }
.route small { font-size: 15px; margin-top: 10px; }
.mbody { padding-top: 0; }
/* Trajetória agora vem antes dos Resultados: alterna os fundos para não juntar duas faixas iguais */
.career-sec { background: var(--bg); }
#track { background: var(--mist); }

/* Formação: fonte menor e uniforme (vídeo, 3:50) */
.deg { padding: 26px 0; }
.deg h3 { font-size: clamp(21px, 1.8vw, 26px); letter-spacing: -.02em; }
.deg-yr { font-size: 16px; }
.deg-title { font-size: clamp(17px, 1.35vw, 19px); margin-top: 6px; }

/* Na mídia: duas colunas só a partir de 1200px; abaixo disso, uma coluna com miniatura de largura limitada */
.mcard { grid-template-columns: minmax(0, min(44%, 300px)) minmax(0, 1fr); }
@media (max-width: 1199px) { .mgrid { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 640px) { .mcard { grid-template-columns: 132px minmax(0, 1fr); } }
@media (max-width: 640px) { .mcard { align-items: start; } }
