/* Raios: cartões e blocos 14px, campos 10px, botões e chips em pílula. */
:root {
  --bg: #f2f5f8;
  --surface: #fbfcfd;
  --surface-2: #e8edf3;
  --ink: #0b1a30;
  --ink-2: #2a3b54;
  --muted: #56667c;
  --line: #d6dee8;
  --accent: #b9471f;
  --on-accent: #fff8f4;
  --accent-soft: #f6e3da;
  --navy: #0c1f3d;
  --navy-2: #17335e;
  --paper: #fdfdfc;
  --paper-ink: #111a28;
  --shadow: 0 1px 2px rgb(11 26 48 / .06), 0 18px 40px -18px rgb(11 26 48 / .28);
  --r: 14px;
  --r-sm: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070f1c; --surface: #0c1728; --surface-2: #132238; --ink: #e6ecf4; --ink-2: #c2cddc;
    --muted: #8e9fb5; --line: #1d2d45; --accent: #ef8058; --on-accent: #1d0b04; --accent-soft: #2b1710;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 18px 40px -18px rgb(0 0 0 / .7); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070f1c; --surface: #0c1728; --surface-2: #132238; --ink: #e6ecf4; --ink-2: #c2cddc;
  --muted: #8e9fb5; --line: #1d2d45; --accent: #ef8058; --on-accent: #1d0b04; --accent-soft: #2b1710;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 18px 40px -18px rgb(0 0 0 / .7); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: -.025em; line-height: 1.1; font-weight: 600; }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.strong { font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 32px; }
.section { padding-block: 88px 24px; }
.section > h2 { margin-bottom: 36px; max-width: 22ch; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font-weight: 500; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s;
}
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn:disabled { opacity: .45; cursor: default; transform: none; filter: none; }
.btn i { font-size: 1.15em; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; }
.btn.sm { height: 38px; padding: 0 14px; font-size: .9rem; }
.btn.lg { height: 54px; padding: 0 26px; font-size: 1.02rem; }
.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 1.1rem;
}
.icon-btn:hover { border-color: var(--ink-2); }

/* ---------- barra ---------- */
.bar {
  position: sticky; top: 0; z-index: 20; height: 64px; display: grid;
  grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-inline: 24px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px;
  background: var(--navy); color: #f3f6fa; font-size: .8rem; font-weight: 700; letter-spacing: .02em;
}
.switch {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px;
  border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line);
}
.switch button {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 7px 18px;
  border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--muted); transition: color .25s;
}
.switch button[aria-selected="true"] { color: var(--ink); }
.switch-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px;
  background: var(--surface); box-shadow: 0 1px 3px rgb(11 26 48 / .14); transition: transform .45s var(--ease);
}
[data-mode="emp"] .switch-thumb { transform: translateX(100%); }
.bar-actions { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
[data-view="cv"] .switch-thumb { opacity: .5; }

/* ---------- topo ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px;
  min-height: calc(100dvh - 64px); max-height: 900px; padding-block: 48px;
}
.eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; max-width: 13ch; }
.lead { margin-top: 22px; font-size: 1.15rem; color: var(--ink-2); max-width: 44ch; line-height: 1.55; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-copy > * { animation: rise .8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- cartão ---------- */
.hero-card { display: grid; justify-items: center; perspective: 1400px; animation: rise 1s .1s var(--ease) both; }
.card3d {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; width: min(440px, 100%); aspect-ratio: 1.586; cursor: pointer;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .5s var(--ease);
}
.card-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s var(--ease); }
.card3d.flipped .card-inner { transform: rotateY(180deg); }
.face {
  position: absolute; inset: 0; border-radius: 18px; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: 0 2px 4px rgb(8 20 40 / .18), 0 30px 60px -24px rgb(8 20 40 / .55);
}
.front {
  padding: 24px 26px; display: flex; flex-direction: column; justify-content: space-between; color: #eef3f9;
  background:
    radial-gradient(120% 90% at 100% 0%, var(--navy-2), transparent 60%),
    repeating-linear-gradient(90deg, rgb(255 255 255 / .035) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(0deg, rgb(255 255 255 / .035) 0 1px, transparent 1px 22px),
    var(--navy);
}
.front::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), inset 0 0 0 1px rgb(255 255 255 / .06);
}
.front.swap { animation: swap .36s var(--ease); }
@keyframes swap { 50% { opacity: 0; transform: translateY(6px); } }
.back {
  transform: rotateY(180deg); background: var(--paper); color: var(--paper-ink);
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 22px;
}
.glare {
  position: absolute; inset: 0; border-radius: 18px; pointer-events: none; transform: translateZ(1px);
  background: radial-gradient(circle at var(--mx) var(--my), rgb(255 255 255 / .16), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.card3d:hover .glare { opacity: 1; }
.card3d.flipped .glare { display: none; }
.cf-top { display: flex; justify-content: space-between; align-items: flex-start; }
.avatar {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; overflow: hidden;
  background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); font-weight: 700; letter-spacing: .02em;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.cf-chip { font-size: .72rem; padding: 5px 10px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .22); color: #d6e0ee; }
.cf-id strong { display: block; font-size: 1.3rem; letter-spacing: -.02em; font-weight: 600; }
.cf-id span { display: block; font-size: .84rem; color: #b9c7da; margin-top: 2px; max-width: 34ch; }
.cf-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.cf-lines { font-family: var(--mono); font-size: .76rem; color: #d3dcea; display: grid; gap: 3px; min-width: 0; }
.cf-lines li { display: flex; align-items: center; gap: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-lines li span { overflow: hidden; text-overflow: ellipsis; }
.flip-btn {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; cursor: pointer;
  border: 1px solid rgb(255 255 255 / .28); background: rgb(255 255 255 / .08); color: #f3f6fa;
  border-radius: 999px; padding: 6px 12px; font-size: .8rem;
}
.flip-btn.on-light { border-color: #cfd6df; background: transparent; color: var(--paper-ink); }
.qr { width: 132px; aspect-ratio: 1; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr svg path, .qr svg rect[fill="black"] { fill: var(--navy); }
.back-side { display: grid; gap: 8px; justify-items: start; }
.back-title { font-weight: 600; font-size: .95rem; line-height: 1.3; margin-bottom: 2px; }
.back .btn { background: #fff; border-color: #cfd6df; color: var(--paper-ink); }

/* ---------- O que eu faço ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cell {
  position: relative; overflow: hidden; padding: 26px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px;
  transition: transform .4s var(--ease), border-color .3s;
}
.cell:hover { transform: translateY(-3px); border-color: var(--ink-2); }
.cell p { color: var(--muted); font-size: .95rem; max-width: 52ch; }
.cell-icon { font-size: 1.6rem; color: var(--accent); margin-bottom: 18px; }
.c1 { grid-column: span 4; min-height: 260px; justify-content: flex-end; background: var(--navy); border-color: var(--navy); color: #eef3f9; }
.c1 h3 { font-size: 1.6rem; letter-spacing: -.025em; }
.c1 p { color: #b9c7da; font-size: 1.05rem; }
.c1 .cell-icon { color: #f39a76; font-size: 2.2rem; margin-bottom: auto; }
.c2 { grid-column: span 2; }
.c3, .c4, .c5 { grid-column: span 2; }
.c3 { background: var(--surface-2); }
.c3 > :not(.hash-bg) { position: relative; }
.hash-bg {
  position: absolute; inset: -6px; font-family: var(--mono); font-size: .7rem; line-height: 1.5;
  word-break: break-all; color: var(--ink); opacity: .07; user-select: none; pointer-events: none;
}
.c5 { background: var(--accent-soft); border-color: transparent; }
[data-theme="dark"] :is(.c1, .svc-group:first-child, .contato-box) { border: 1px solid rgb(255 255 255 / .1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.c1, .svc-group:first-child, .contato-box) { border: 1px solid rgb(255 255 255 / .1); } }
.c6 { grid-column: span 6; display: grid; grid-template-columns: auto 1fr 1.4fr; align-items: center; gap: 24px; }
.c6 .cell-icon { margin: 0; }
.base { margin-top: 56px; }
.base > h3 { margin-bottom: 18px; color: var(--muted); font-weight: 500; font-size: .95rem; }
.base-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.base-group p { font-weight: 600; margin-bottom: 10px; font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .82rem; padding: 4px 11px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }

/* ---------- Trajetória ---------- */
.traj { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: start; }
.timeline { position: relative; display: grid; gap: 34px; }
.timeline::before { content: ""; position: absolute; left: 146px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline > li { display: grid; grid-template-columns: 132px 1fr; gap: 30px; position: relative; }
.timeline > li::before {
  content: ""; position: absolute; left: 142px; top: 7px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
}
.when { font-family: var(--mono); font-size: .8rem; color: var(--muted); padding-top: 2px; text-align: right; }
.where { color: var(--muted); font-size: .92rem; margin: 2px 0 8px; }
.timeline ul li { font-size: .93rem; color: var(--ink-2); padding-left: 14px; position: relative; }
.timeline ul li::before { content: "-"; position: absolute; left: 0; color: var(--muted); }
.study { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: grid; gap: 20px; }
.study-h { display: flex; align-items: center; gap: 8px; }
.study-h i { color: var(--accent); font-size: 1.3rem; }
.study-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; }
.year { font-family: var(--mono); font-size: .85rem; color: var(--accent); padding-top: 1px; }
.study-item .muted { font-size: .88rem; }
.study-extra { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; font-size: .92rem; }
.study-extra span { display: block; font-size: .8rem; }

/* ---------- Certificações ---------- */
.cert-tools { display: grid; gap: 18px; margin-bottom: 18px; }
.field { display: grid; gap: 8px; max-width: 460px; }
.field label { font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.input-wrap { position: relative; }
.input-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-wrap input {
  width: 100%; height: 46px; padding: 0 14px 0 40px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: inherit; font-size: .95rem;
}
.input-wrap input::placeholder { color: var(--muted); }
.input-wrap input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chip-btn {
  flex-shrink: 0; border: 1px solid var(--line); background: transparent; border-radius: 999px;
  padding: 7px 14px; font-size: .86rem; cursor: pointer; color: var(--ink-2); transition: background .2s, color .2s;
}
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cert-count { font-family: var(--mono); font-size: .8rem; margin-bottom: 28px; }
#cert-list { columns: 2 420px; column-gap: 40px; }
.cert-group { break-inside: avoid; margin-bottom: 40px; }
.cert-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); margin-bottom: 6px; }
.cert-head .muted { font-family: var(--mono); font-size: .78rem; white-space: nowrap; }
.cert-items li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: .92rem; color: var(--ink-2); }
.cert-items .h { font-family: var(--mono); font-size: .78rem; color: var(--muted); white-space: nowrap; padding-top: 2px; }
.more { margin-top: 6px; border: 0; background: none; color: var(--accent); cursor: pointer; padding: 6px 0; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.cert-note { font-size: .86rem; margin-top: 10px; }
.empty { display: grid; justify-items: start; gap: 12px; padding: 32px; border: 1px dashed var(--line); border-radius: var(--r); }
.empty i { font-size: 1.6rem; color: var(--muted); }

/* ---------- Empresarial ---------- */
.company { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; padding-top: 72px; }
.co-mark {
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 26px;
  background: var(--navy); color: #f3f6fa; font-weight: 700; font-size: 1.2rem; letter-spacing: .02em;
}
.co-seg { color: var(--accent); font-weight: 500; margin-top: 10px; }
.co-promise { font-size: 1.25rem; line-height: 1.45; margin-top: 22px; max-width: 30ch; color: var(--ink-2); }
.co-clients { margin-top: 28px; display: grid; gap: 10px; }
.co-clients .muted { font-size: .85rem; }
.co-contact { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.co-contact a, .co-contact span {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); text-decoration: none; font-size: .9rem;
}
.co-contact a:hover { border-color: var(--ink-2); }
.co-services { display: grid; gap: 14px; }
.svc-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.svc-group:first-child { background: var(--navy); border-color: var(--navy); color: #eef3f9; }
.svc-group h3 { margin-bottom: 14px; }
.svc-group ul { columns: 2 200px; column-gap: 24px; }
.svc-group li { break-inside: avoid; padding: 5px 0 5px 16px; position: relative; font-size: .93rem; }
.svc-group li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 1px; background: var(--accent); }
.svc-group:first-child li { color: #c9d4e3; }
.svc-group:first-child li::before { background: #f39a76; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 1px; background: var(--line); }
.steps li { position: relative; padding-top: 34px; }
.step-dot { position: absolute; top: 0; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--bg); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .94rem; }
.principles h2 { max-width: 16ch; }
.pr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.pr { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.pr i { grid-row: span 2; font-size: 1.5rem; color: var(--accent); padding-top: 2px; }
.pr p { color: var(--muted); font-size: .95rem; }

/* ---------- Links e Pix ---------- */
.mod-links > h2 { margin-bottom: 24px; }
.link-stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 880px; }
.link-btn {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface);
  text-decoration: none; font-weight: 500; text-align: left; cursor: pointer; font-size: 1rem;
  transition: transform .3s var(--ease), border-color .2s;
}
.link-btn:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.link-btn:active { transform: scale(.99); }
.link-btn > i:first-child { font-size: 1.35rem; color: var(--accent); }
.link-btn > i:last-child { color: var(--muted); }
.pix-box { margin-top: 14px; max-width: 880px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; justify-items: start; }
.pix-box .field { width: min(260px, 100%); }
.prefix { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .95rem; }
.pix-out { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.pix-qr { width: 168px; padding: 12px; background: var(--paper); border-radius: var(--r-sm); }
.pix-qr svg { display: block; width: 100%; height: auto; }
.pix-qr svg path, .pix-qr svg rect[fill="black"] { fill: var(--navy); }
.pix-side { display: grid; gap: 10px; justify-items: start; }

/* ---------- Formulários ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .field { max-width: none; }
.form-grid input, .form-grid textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: inherit; font-size: .95rem;
}
.form-grid input { height: 46px; }
.form-grid textarea { resize: vertical; min-height: 92px; }
.form-grid input::placeholder, .form-grid textarea::placeholder { color: var(--muted); }
.form-grid input:focus, .form-grid textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.form-erro { color: var(--accent); font-size: .9rem; font-weight: 500; min-height: 0; }
.form-erro:empty { display: none; }
.form-actions { display: flex; gap: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.done { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 24px; border-radius: var(--r); background: var(--accent-soft); }
.done > i { font-size: 2rem; color: var(--accent); }
.done > div { flex: 1 1 240px; }

/* ---------- Agenda ---------- */
.ag-head { max-width: 60ch; margin-bottom: 28px; display: grid; gap: 10px; }
.ag-body { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.ag-slots { display: grid; gap: 18px; }
.ag-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.ag-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.time-btn {
  height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface);
  font-family: var(--mono); font-size: .9rem; cursor: pointer; transition: border-color .2s, background .2s;
}
.time-btn:hover { border-color: var(--ink-2); }
.time-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.ag-form { grid-template-columns: 1fr; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.ag-body > .done { grid-column: 1 / -1; }
.skeleton { height: 44px; border-radius: var(--r-sm); background: linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Troca de contato ---------- */
.troca-box { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; padding-top: 32px; border-top: 1px solid var(--line); }
.troca-box > div:first-child { display: grid; gap: 12px; }

/* ---------- Contato ---------- */
.contato { padding-block: 96px 48px; }
.contato-box {
  border-radius: 22px; padding: 56px; display: grid; grid-template-columns: 1.2fr auto; gap: 28px 48px; align-items: center;
  background:
    radial-gradient(80% 120% at 100% 100%, var(--navy-2), transparent 60%),
    var(--navy);
  color: #eef3f9;
}
.contato-box h2 { max-width: 18ch; }
.contato-box p { color: #b9c7da; margin-top: 14px; max-width: 46ch; font-size: 1.05rem; }
.contato-actions { display: grid; gap: 10px; }
.contato-box .btn:not(.primary) { background: transparent; border-color: rgb(255 255 255 / .28); color: #eef3f9; }
.contato-box .btn.primary { background: #ef8058; border-color: #ef8058; color: #1d0b04; }
.social { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 20px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .12); }
.social a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #d3dcea; font-size: .94rem; }
.social a:hover { color: #fff; }

/* ---------- Rodapé ---------- */
.foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-block: 24px 48px; }
.seal { display: flex; gap: 14px; align-items: flex-start; max-width: 560px; }
.seal > i { font-size: 1.6rem; color: var(--accent); }
.seal p { font-size: .9rem; }
.hash {
  margin: 6px 0; font-family: var(--mono); font-size: .85rem; border: 1px solid var(--line); background: var(--surface);
  border-radius: 999px; padding: 5px 12px; cursor: pointer; color: var(--ink);
}
.hash:hover { border-color: var(--ink-2); }

/* ---------- Currículo sob medida ---------- */
#cv { display: grid; grid-template-columns: 320px 1fr; gap: 40px; max-width: 1240px; margin-inline: auto; padding: 40px 32px 80px; align-items: start; }
.cv-panel { position: sticky; top: 88px; display: grid; gap: 16px; justify-items: start; }
.cv-panel h2 { font-size: 1.7rem; margin-top: 8px; }
.cv-panel > p { font-size: .94rem; }
.cv-opts { border: 0; margin: 0; padding: 0; display: grid; gap: 4px; width: 100%; }
.check { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r-sm); cursor: pointer; }
.check:hover { background: var(--surface-2); }
.check.sub { padding-left: 38px; font-size: .9rem; color: var(--ink-2); }
.check input { width: 17px; height: 17px; accent-color: var(--accent); }
.check input:disabled + span { color: var(--muted); }
.cv-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.paper {
  background: var(--paper); color: var(--paper-ink); border-radius: 6px; box-shadow: var(--shadow);
  padding: 56px 60px; font-size: 13.5px; line-height: 1.5; min-height: 70vh; max-width: 820px; width: 100%;
  animation: rise .5s var(--ease) both;
}
.p-head { border-bottom: 2px solid var(--navy); padding-bottom: 16px; margin-bottom: 8px; }
.p-head h1 { font-size: 26px; letter-spacing: -.02em; color: var(--navy); }
.p-role { font-weight: 500; margin-top: 2px; }
.p-contact { font-size: 12px; color: #4a5568; margin-top: 2px; }
.paper section { margin-top: 18px; }
.paper h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #a43f1c; margin-bottom: 8px; font-weight: 600; }
.p-item { margin-bottom: 10px; }
.p-row { display: flex; justify-content: space-between; gap: 16px; }
.p-row > span:last-child { white-space: nowrap; color: #4a5568; font-size: 12px; }
.p-where { color: #4a5568; font-size: 12.5px; }
.paper ul { padding-left: 16px; list-style: disc; }
.p-comp, .p-cert { margin-bottom: 5px; }
.p-note { font-size: 12px; color: #4a5568; margin: -2px 0 6px; }
.p-gap { margin-top: 6px; }
.p-foot { margin-top: 24px; font-size: 11px; color: #6b7686; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 30; transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: 999px; font-size: .9rem;
  transition: opacity .3s, transform .4s var(--ease); pointer-events: none; max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
#emp:not([hidden]) > *, #pro:not([hidden]) > * { animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .c1, .c6 { grid-column: span 2; }
  .c2, .c3, .c4, .c5 { grid-column: span 1; }
  .base-grid { grid-template-columns: repeat(2, 1fr); }
  .traj, .company { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .contato-box { grid-template-columns: 1fr; }
  .contato-actions { grid-template-columns: repeat(2, max-content); }
  .ag-body, .troca-box { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .bar-actions .btn span { display: none; }
  .bar-actions .btn { width: 38px; padding: 0; justify-content: center; }
  .brand-name { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; max-height: none; gap: 40px; padding-block: 36px 24px; }
  #cv { grid-template-columns: 1fr; }
  .cv-panel { position: static; }
}
@media (max-width: 767px) {
  .wrap { padding-inline: 16px; }
  .bar { padding-inline: 12px; gap: 8px; grid-template-columns: auto 1fr auto; }
  .switch { justify-self: center; }
  .switch button { padding: 7px 11px; font-size: .84rem; }
  .section { padding-block: 64px 8px; }
  .bento, .base-grid, .pr-grid, .steps, .link-stack, .form-grid { grid-template-columns: 1fr; }
  .c1, .c2, .c3, .c4, .c5, .c6 { grid-column: span 1; }
  .c1 { min-height: 220px; }
  .c6 { grid-template-columns: 1fr; gap: 10px; }
  .timeline::before { left: 5px; }
  .timeline > li { grid-template-columns: 1fr; gap: 4px; padding-left: 26px; }
  .timeline > li::before { left: 1px; }
  .when { text-align: left; }
  .ctas .btn { flex: 1 1 auto; justify-content: center; }
  .contato-box { padding: 32px 22px; border-radius: 18px; }
  .contato-actions { grid-template-columns: 1fr; }
  .contato-actions .btn { justify-content: center; }
  .card3d { aspect-ratio: 1.4; }
  .front { padding: 18px 20px; }
  .cf-id strong { font-size: 1.1rem; }
  .cf-id span { font-size: .78rem; }
  .cf-lines { font-size: .7rem; }
  .back { gap: 14px; padding: 16px; }
  .qr { width: 104px; }
  .back-title { font-size: .84rem; }
  .back .btn.sm { height: 32px; padding: 0 10px; font-size: .8rem; }
  #cv { padding: 20px 16px 48px; gap: 24px; }
  .paper { padding: 28px 20px; font-size: 13px; }
  .p-row { flex-direction: column; gap: 0; }
}

/* ---------- Impressão (currículo) ---------- */
@media print {
  @page { margin: 14mm; size: A4; }
  body { background: #fff; }
  .bar, .foot, .toast, .cv-panel, #site { display: none !important; }
  #cv { display: block; padding: 0; margin: 0; max-width: none; }
  .paper { box-shadow: none; padding: 0; max-width: none; min-height: 0; animation: none; border-radius: 0; }
  .paper section { break-inside: auto; }
  .p-item, .p-cert { break-inside: avoid; }
  body[data-view="site"] #site { display: block !important; }
  body[data-view="site"] #cv { display: none !important; }
}
