/* ============================================================
   BCO Global — shared design tokens & components
   Used by insights.html and artigo.html (index.html keeps its
   own inline copy of these same values so it stays self-contained).
   ============================================================ */
:root{
  --black:#090c14;
  --black-soft:#0f1420;
  --black-softer:#161c2c;
  --paper:#f3f3ef;
  --paper-alt:#e9e9e3;
  --ink:#f5f5f2;
  --ink-dim:rgba(245,245,242,.64);
  --ink-faint:rgba(245,245,242,.34);
  --dark:#0e0e10;
  --dark-dim:rgba(14,14,16,.64);
  --dark-faint:rgba(14,14,16,.36);
  --accent:#3D72F5;
  --accent-ink:#f5f5f2;
  --accent-onlight:#1b45c9;
  --line-on-dark:rgba(245,245,242,.14);
  --line-on-light:rgba(14,14,16,.13);
  --maxw:1240px;
  --disp:"Space Grotesk", ui-sans-serif, sans-serif;
  --body:"Manrope", ui-sans-serif, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}
body{
  margin:0;
  background:var(--black);
  color:var(--ink);
  font-family:var(--body);
  font-size:16px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-family:var(--disp); font-weight:700; letter-spacing:-.01em; }
p{ margin:0; }
section{ position:relative; }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 32px; }
@media (max-width:640px){ .wrap{ padding:0 20px; } }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--body); font-weight:700; font-size:12.5px;
  letter-spacing:.16em; text-transform:uppercase;
  color:var(--accent);
}
.eyebrow::before{ content:""; width:22px; height:1px; background:currentColor; display:inline-block; }
section.on-light .eyebrow{ color:var(--accent-onlight); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--body); font-weight:700; font-size:14.5px;
  padding:15px 26px; border-radius:999px; border:1px solid transparent;
  cursor:pointer; transition:transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space:nowrap;
}
.btn:active{ transform:scale(.97); }
.btn-solid{ background:var(--accent); color:var(--accent-ink); }
.btn-solid:hover{ transform:translateY(-2px); }
.btn-outline-dark{ border-color:rgba(245,245,242,.3); color:var(--ink); }
.btn-outline-dark:hover{ border-color:var(--ink); background:rgba(245,245,242,.06); }
.btn-outline-light{ border-color:rgba(14,14,16,.25); color:var(--dark); }
.btn-outline-light:hover{ border-color:var(--dark); background:rgba(14,14,16,.05); }

.reveal{ opacity:1; transform:none; transition:opacity .7s ease, transform .7s ease; }
.reveal.reveal-armed{ opacity:0; transform:translateY(22px); }
.reveal.reveal-armed.is-visible{ opacity:1; transform:none; }

/* ---------- NAV ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 32px;
  background:rgba(10,10,12,.55);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .3s ease, background .3s ease;
}
.nav.scrolled{ border-color:var(--line-on-dark); background:rgba(10,10,12,.86); }
.nav-logo{ display:flex; align-items:center; gap:10px; }
.nav-logo img{ height:32px; width:auto; display:block; }
.nav-logo .logo-compact{ display:none; }
.footer-logo img{ height:42px; width:auto; display:block; }
@media (max-width:900px){
  .nav-logo .logo-full{ display:none; }
  .nav-logo .logo-compact{ display:block; height:30px; width:auto; }
}
.nav-links{ display:flex; align-items:center; gap:30px; }
.nav-links a{ font-size:14px; font-weight:600; color:var(--ink-dim); transition:color .2s ease; }
.nav-links a:hover, .nav-links a.is-active{ color:var(--ink); }
.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-cta .btn{ padding:11px 20px; font-size:13.5px; }
.lang-toggle{
  display:inline-flex; align-items:center; justify-content:center;
  height:38px; padding:0 15px; border-radius:999px;
  border:1px solid var(--line-on-dark); color:var(--ink-dim);
  font-family:var(--body); font-weight:700; font-size:12.5px; letter-spacing:.03em;
  transition:border-color .2s ease, color .2s ease, background .2s ease;
}
.lang-toggle:hover{ border-color:var(--ink); color:var(--ink); background:rgba(245,245,242,.06); }
.mobile-menu .lang-toggle{ font-family:var(--body); font-size:14px; height:auto; padding:10px 18px; }
.burger{
  display:none; width:40px; height:40px; border-radius:50%;
  border:1px solid var(--line-on-dark); background:none;
  color:var(--ink); cursor:pointer; align-items:center; justify-content:center;
}
.burger span, .burger span::before, .burger span::after{
  content:""; display:block; width:16px; height:1.5px; background:var(--ink); position:relative; transition:.25s;
}
.burger span::before{ position:absolute; top:-5px; }
.burger span::after{ position:absolute; top:5px; }
body.menu-open .burger span{ background:transparent; }
body.menu-open .burger span::before{ top:0; transform:rotate(45deg); }
body.menu-open .burger span::after{ top:0; transform:rotate(-45deg); }

.mobile-menu{
  position:fixed; inset:0; z-index:99;
  background:var(--black);
  display:flex; flex-direction:column; justify-content:center; gap:28px;
  padding:32px;
  transform:translateY(-100%);
  transition:transform .4s ease;
}
body.menu-open .mobile-menu{ transform:translateY(0); }
.mobile-menu a:not(.btn){ font-family:var(--disp); font-size:30px; font-weight:600; }
.mobile-menu .btn{ margin-top:12px; width:max-content; max-width:100%; }

@media (max-width:900px){
  .nav-links{ display:none; }
  .nav-cta .btn:first-child{ display:none; }
  .burger{ display:flex; }
}

/* ---------- FOOTER ---------- */
footer{ background:var(--black); padding:56px 0 34px; border-top:1px solid var(--line-on-dark); }
.footer-top{ display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:36px; }
.footer-nav{ display:flex; flex-wrap:wrap; gap:24px 30px; }
.footer-nav a{ font-size:13.5px; color:var(--ink-dim); }
.footer-nav a:hover{ color:var(--ink); }
.footer-contact{ font-size:13.5px; color:var(--ink-dim); text-align:right; }
.footer-contact a{ color:var(--accent); font-weight:700; }
.footer-bottom{
  margin-top:44px; padding-top:24px; border-top:1px solid var(--line-on-dark);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:12.5px; color:var(--ink-faint);
}
@media (max-width:700px){ .footer-contact{ text-align:left; } }

section h2{ display:block; }
