/* =============================================
   GRUPO ODIN — Design System 2026
   Bebas Neue (display) + Nunito (body)
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Nunito:wght@300;400;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { background: var(--ink); color: var(--text); font-family: var(--S); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--or); color: #fff; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--or); border-radius: 2px; }
::-webkit-scrollbar-track { background: transparent; }

:root {
  --ink:    #090807;
  --ink-2:  #111009;
  --ink-3:  #1a1815;
  --text:   #edeae2;
  --muted:  rgba(237,234,226,.50);
  --faint:  rgba(237,234,226,.16);
  --edge:   rgba(237,234,226,.07);
  --edge-2: rgba(237,234,226,.13);
  --edge-3: rgba(237,234,226,.22);
  --or:     #fb3602;
  --or-dk:  #c92c01;
  --or-bg:  rgba(251,54,2,.09);
  --or-bd:  rgba(251,54,2,.25);
  --or-glo: rgba(251,54,2,.20);
  --D: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --S: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
  --rc: 12px; --rl: 16px; --rs: 7px;
}

/* Grain */
body::after {
  content:''; position:fixed; inset:0; pointer-events:none; z-index:9999;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity:.022;
}

/* Layout */
.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.section-pad { padding: 120px 0; }
.section-sep { border: none; border-top: 1px solid var(--edge); margin: 0; }

/* Eyebrow */
.eyebrow {
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--D); font-size:.72rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--or); margin-bottom:18px;
}
.eyebrow::before { display:none; }

/* Section headers */
.sec-title { font-family:var(--D); font-size:clamp(2.6rem,5.5vw,5rem); line-height:.96; letter-spacing:.01em; text-wrap:balance; }
.sec-title em { font-style:normal; color:var(--or); }
.sec-sub { margin-top:14px; font-size:.96rem; color:var(--muted); max-width:480px; line-height:1.72; }
.sec-hd { margin-bottom:56px; }

/* Buttons */
.btn { display:inline-flex; align-items:center; gap:8px; font-family:var(--S); font-size:.875rem; font-weight:700; padding:12px 24px; border-radius:var(--rs); border:none; cursor:pointer; transition:all .18s ease; white-space:nowrap; }
.btn-primary { background:var(--or); color:#fff; }
.btn-primary:hover { background:var(--or-dk); box-shadow:0 6px 28px var(--or-glo); transform:translateY(-1px); }
.btn-ghost { background:transparent; color:var(--text); border:1px solid var(--edge-3); }
.btn-ghost:hover { border-color:var(--or); color:var(--or); transform:translateY(-1px); }
.btn-portal { background:transparent; color:var(--or); border:1px solid var(--or-bd); font-size:.78rem; padding:9px 18px; }
.btn-portal:hover { background:var(--or-bg); transform:translateY(-1px); }

/* ── NAVBAR ── */
#navbar { position:fixed; top:0; left:0; right:0; z-index:100; transition:background .25s, border-color .25s; border-bottom:1px solid transparent; }
#navbar.scrolled { background:rgba(9,8,7,.97); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); border-bottom-color:var(--edge); }
.nav-inner { display:flex; align-items:center; justify-content:space-between; height:68px; }
.nav-logo { display:flex; align-items:center; }
.nav-links { display:flex; align-items:center; gap:2px; list-style:none; }
.nav-links a { font-family:var(--S); font-size:.84rem; font-weight:600; color:var(--muted); padding:7px 13px; border-radius:var(--rs); transition:color .15s, background .15s; }
.nav-links a:hover, .nav-links a.active { color:var(--text); background:var(--edge); }
.nav-right { display:flex; align-items:center; gap:10px; }
.hamburger { display:none; flex-direction:column; gap:4px; background:none; border:none; padding:8px; cursor:pointer; }
.hamburger span { display:block; width:22px; height:1.5px; background:var(--text); transition:all .2s; }

/* Mobile menu — drawer lateral */
.mobile-overlay { display:none; position:fixed; inset:0; background:rgba(9,8,7,.7); backdrop-filter:blur(4px); z-index:98; opacity:0; transition:opacity .25s; }
.mobile-overlay.open { display:block; opacity:1; }
.mobile-menu {
  position:fixed; top:0; right:0; bottom:0; width:min(300px, 85vw);
  background:var(--ink-2); border-left:1px solid var(--edge-2);
  z-index:99; flex-direction:column; padding:0;
  transform:translateX(100%); transition:transform .28s cubic-bezier(.4,0,.2,1);
  display:flex;
}
.mobile-menu.open { transform:translateX(0); }
.mobile-menu-hd {
  display:flex; align-items:center; justify-content:flex-end;
  padding:16px 18px 8px; height:68px; /* alinha com navbar */
}
.mobile-menu-logo { display:flex; align-items:center; gap:10px; }
.mobile-menu-brand { font-family:var(--D); font-size:1rem; letter-spacing:.05em; color:var(--text); }
.mobile-close { background:var(--ink-3); border:1px solid var(--edge-2); color:var(--muted); cursor:pointer; padding:8px; line-height:1; border-radius:8px; transition:all .15s; display:flex; align-items:center; }
.mobile-close:hover { color:var(--text); border-color:var(--or); }
.mobile-menu-links { display:flex; flex-direction:column; padding:16px 12px; flex:1; }
.mobile-menu a {
  font-family:var(--D); font-size:1.5rem; letter-spacing:.04em;
  color:var(--muted); padding:12px 14px; border-radius:8px;
  transition:color .15s, background .15s; display:block;
}
.mobile-menu a:hover, .mobile-menu a.mm-active { color:var(--text); background:var(--edge); }
.mobile-menu-sep { height:1px; background:var(--edge); margin:10px 14px; }
.mobile-menu-footer { padding:16px 12px; border-top:1px solid var(--edge); }
.mobile-portal-btn {
  display:flex; align-items:center; justify-content:center; gap:8px;
  width:100%; padding:13px; background:var(--or); color:#fff;
  border-radius:8px; font-family:var(--D); font-size:1.1rem; letter-spacing:.06em;
  transition:background .15s; border:none; cursor:pointer; text-decoration:none;
}
.mobile-portal-btn:hover { background:var(--or-dk); }

/* Page hero (inner pages) */
.page-hero {
  padding: 140px 0 80px;
  background: radial-gradient(ellipse at 80% 0%, rgba(251,54,2,.11) 0%, transparent 50%), var(--ink);
  border-bottom: 1px solid var(--edge);
}
.page-hero-title { font-family:var(--D); font-size:clamp(3rem,7vw,6rem); line-height:.94; letter-spacing:.01em; margin-bottom:20px; }
.page-hero-title em { font-style:normal; color:var(--or); }
.page-hero-sub { font-size:1rem; color:var(--muted); max-width:560px; line-height:1.72; }

/* ── TICKER ── */
#ticker { background:var(--or); padding:11px 0; overflow:hidden; }
.ticker-wrap { display:flex; white-space:nowrap; animation:tick 42s linear infinite; }
@keyframes tick { from { transform:translateX(0); } to { transform:translateX(-50%); } }
.ti { font-family:var(--D); font-size:.76rem; letter-spacing:.18em; text-transform:uppercase; color:rgba(255,255,255,.9); padding:0 32px; }
.ts { opacity:.3; }

/* Cards */
.card { background:var(--ink-2); border:1px solid var(--edge); border-radius:var(--rc); transition:border-color .2s, box-shadow .2s; }
.card:hover { border-color:rgba(251,54,2,.22); box-shadow:0 0 0 1px rgba(251,54,2,.05), 0 12px 40px rgba(251,54,2,.07); }
.card-ico { width:40px; height:40px; background:var(--or-bg); border-radius:var(--rs); display:flex; align-items:center; justify-content:center; color:var(--or); flex-shrink:0; }

/* ── FOOTER ── */
#footer { background:var(--ink-2); border-top:1px solid var(--edge); padding:60px 0 28px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; padding-bottom:48px; border-bottom:1px solid var(--edge); margin-bottom:24px; }
.footer-logo { margin-bottom:14px; }
.footer-tag { font-size:.82rem; color:var(--muted); line-height:1.65; margin-bottom:22px; font-style:italic; }
.footer-social { display:flex; gap:8px; }
.footer-social a { width:34px; height:34px; border:1px solid var(--edge-2); border-radius:var(--rs); display:flex; align-items:center; justify-content:center; font-size:.68rem; font-weight:800; font-family:var(--S); color:var(--muted); transition:all .15s; }
.footer-social a:hover { border-color:var(--or); color:var(--or); }
.footer-col-title { font-family:var(--D); font-size:.64rem; letter-spacing:.2em; text-transform:uppercase; color:var(--or); margin-bottom:16px; }
.footer-links { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-links a { font-size:.84rem; color:var(--muted); transition:color .15s; font-weight:600; }
.footer-links a:hover { color:var(--text); }
.footer-bot { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.footer-copy { font-size:.74rem; color:var(--faint); }
.footer-reg { font-family:var(--D); font-size:.6rem; letter-spacing:.15em; text-transform:uppercase; color:var(--faint); }

/* CTA final */
.cta-section { padding:140px 0; text-align:center; background: radial-gradient(ellipse at 50% -20%, rgba(251,54,2,.18) 0%, transparent 55%), radial-gradient(ellipse at 50% 110%, rgba(251,54,2,.07) 0%, transparent 45%), var(--ink); border-top:1px solid var(--edge); }
.cta-headline { font-family:var(--D); font-size:clamp(3.5rem,7vw,7rem); line-height:.94; letter-spacing:.01em; margin:0 auto 20px; max-width:700px; text-wrap:balance; }
.cta-headline em { font-style:normal; color:var(--or); }
.cta-sub { font-size:.96rem; color:var(--muted); max-width:400px; margin:0 auto 40px; line-height:1.72; }
.cta-btns { display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; }

/* Form */
.form-group { display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
.form-group label { font-family:var(--D); font-size:.62rem; letter-spacing:.15em; text-transform:uppercase; color:var(--muted); }
.form-group input, .form-group select, .form-group textarea {
  background:var(--ink-3); border:1px solid var(--edge-2); color:var(--text);
  font-family:var(--S); font-size:.9rem; padding:12px 16px; border-radius:var(--rs);
  outline:none; transition:border-color .15s; width:100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color:var(--or); box-shadow:0 0 0 2px rgba(251,54,2,.08); }
.form-group select option { background:var(--ink-3); }
.form-group textarea { resize:vertical; min-height:120px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }

/* Animations */
@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeUpDash { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes glowPulse { 0%,100%{ opacity:1; } 50%{ opacity:.4; } }

/* Responsive */
@media (max-width: 1060px) {
  .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
}
@media (max-width: 768px) {
  .container { padding:0 20px; }
  .section-pad { padding:72px 0; }
  .nav-links, .nav-right .btn-primary, .nav-right .btn-portal { display:none; }
  .hamburger { display:flex; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .form-row { grid-template-columns:1fr; }
  .page-hero { padding:120px 0 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-wrap { animation:none; }
  *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}
