/* Same navigation and footer, independent of page layout. */
.site-header .container,footer .container { width:min(var(--max),calc(100% - var(--gutter)*2)); }
.site-header { position:fixed; inset:0 0 auto; z-index:100; border-bottom:1px solid var(--border); background:var(--bg); }
.site-header::after { display:none; }
.site-header .nav { display:flex; align-items:center; min-height:78px; gap:1.5rem; }
.brand { text-decoration:none; white-space:nowrap; font:700 1.3rem var(--font-body); letter-spacing:-.05em; }
.brand em { color:var(--accent); font-style:normal; }
.nav-links { display:flex; align-items:center; gap:1.2rem; list-style:none; margin:0 0 0 auto; padding:0; }
.nav-links a { color:var(--muted); font:500 .78rem var(--font-body); text-decoration:none; }
.nav-links a:hover { color:var(--fg); }
.nav-cta { display:inline-flex; align-items:center; justify-content:center; gap:.65rem; min-height:44px; padding:.7rem 1rem; border:1px solid var(--accent); border-radius:999px; font:600 .78rem var(--font-body); text-decoration:none; white-space:nowrap; }
.nav-toggle { display:none; }
.mobile-nav-cta { display:none; }
footer { padding:3rem 0; border-top:1px solid var(--border); }
.footer-main { display:grid; grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr); gap:2rem; align-items:end; }
.footer-copy { max-width:40ch; margin:1rem 0 0; color:var(--muted); font-size:.8rem; line-height:1.7; }
.footer-links { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:.6rem 1.3rem; }
.footer-links a { display:inline-flex; align-items:center; gap:.65rem; min-height:44px; font-size:.78rem; text-decoration:none; color:var(--muted); }
.footer-links a:hover { color:var(--fg); }
.footer-bottom { display:flex; justify-content:space-between; flex-wrap:wrap; gap:1rem; margin-top:2rem; padding-top:1.5rem; border-top:1px solid var(--border); font:.65rem/1.6 var(--font-mono); color:var(--muted); }
@media(max-width:1100px) {
 .site-header .nav-links { position:absolute; top:78px; right:0; left:0; display:grid; gap:0; padding:1rem var(--gutter); background:var(--bg); border-bottom:1px solid var(--border); max-height:calc(100dvh - 78px); overflow-y:auto; visibility:hidden; opacity:0; pointer-events:none; transform:translateY(-6px); }
 .site-header.open .nav-links { visibility:visible; opacity:1; pointer-events:auto; transform:none; }
 .nav-links a { display:flex; align-items:center; min-height:46px; font-size:.9rem; }
 .site-header .nav > .nav-cta { display:none; }
 .mobile-nav-cta { display:block; }
 .nav-toggle { display:block; margin-left:auto; width:44px; height:44px; padding:0; border:1px solid var(--border); border-radius:50%; color:var(--fg); background:var(--bg); }
 .nav-toggle span,.nav-toggle::before,.nav-toggle::after { display:block; width:17px; height:1px; margin:4px auto; background:currentColor; content:""; }
 .nav-toggle[aria-expanded="true"] span { opacity:0; }
 .nav-toggle[aria-expanded="true"]::before { transform:translateY(5px) rotate(45deg); }
 .nav-toggle[aria-expanded="true"]::after { transform:translateY(-5px) rotate(-45deg); }
 .nav-links .language-switch { display:flex; gap:1rem; }
}
@media(max-width:700px) { .footer-main { grid-template-columns:1fr; }.footer-links { justify-content:flex-start; } }
.profile .hero::before,.legal-hero::before { display:none; }
.profile .section-alt { background:none; border-top:1px solid var(--border); }
.profile .cta-box,.legal-intro,.not-found .container { background:none; box-shadow:none; border-radius:0; border-width:1px 0 0; border-color:var(--border); }
.profile .cta-box { padding-inline:0; }
.profile .profile-photo { max-width:440px; }
.profile .profile-photo img { aspect-ratio:4/5; border:0; border-radius:24px 24px 24px 0; }
.profile-role::before { display:none; }
.profile .hero h1,.profile .section-heading h2,.profile .split-copy h2,.profile .cta-box h2,.profile .story-title { font-family:var(--font-display); font-weight:400; letter-spacing:-.035em; }
.profile .capability-card h3 { font-family:var(--font-display); font-size:2rem; font-weight:400; }
.profile #trajetoria,.profile #background { padding-block:clamp(4rem,7vw,7rem); }
.profile #capacidades,.profile #capabilities { padding-block:clamp(6rem,11vw,11rem); }
.legal-toc { border-radius:0; border-width:0 0 0 1px; background:none; }
.not-found { padding-top:9rem; min-height:75svh; }
.title-reveal { display:block; }
@media(prefers-reduced-motion:no-preference) { @supports(animation-timeline:view()) { h2:has(.title-reveal) { overflow:hidden; padding-bottom:.09em; } } }
