:root {
  --navy: #101d4c;
  --cyan: #13bce5;
  --blue: #0789b7;
  --green: #22da59;
  --yellow: #ffe000;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--white); font-family: Montserrat, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.bb-site { overflow: hidden; }
.bb-system-messages { position: relative; z-index: 100; }
.bb-component { background: #fff; color: var(--navy); }
.bb-component:empty { display: none; }
.bb-position:empty { display: none; }
/* Header: sem transform/z-index para não criar containing block/stacking context sobre o offcanvas fixo */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; margin: 0 auto;
  width: min(1380px, calc(100% - 64px)); height: 112px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.site-header.is-solid { position: relative; width: 100%; padding: 0 max(32px, calc((100vw - 1380px) / 2)); background: var(--navy); }
.navbar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.navbar-brand, .navbar-toggler { position: relative; z-index: 20; }
.brand img { width: 118px; height: 92px; object-fit: contain; }
.brand-text { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.navbar-toggler { display: none; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.navbar-toggler-icon { position: relative; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }

/* Menu (mod_menu) */
.mod-menu { display: flex; align-items: center; gap: 34px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; }
.mod-menu a:not(.nav-cta) { opacity: .86; }
.mod-menu a:hover, .mod-menu .current > a { opacity: 1; }
.nav-cta { padding: 14px 20px; border-radius: 999px; background: var(--yellow); color: var(--navy); }

/* Offcanvas — subconjunto das regras do Bootstrap 5.3 (o JS vem de bootstrap.offcanvas do Joomla) */
.offcanvas { position: fixed; bottom: 0; z-index: 1045; display: flex; flex-direction: column; max-width: 100%; visibility: hidden; background: #091336; color: #fff; outline: 0; transition: transform .3s ease-in-out; }
.offcanvas-end { top: 0; right: 0; width: min(360px, 100vw); border-left: 1px solid rgba(255,255,255,.12); transform: translateX(100%); }
.offcanvas.showing, .offcanvas.show:not(.hiding) { transform: none; }
.offcanvas.showing, .offcanvas.hiding, .offcanvas.show { visibility: visible; }
.offcanvas-header { display: flex; align-items: center; justify-content: space-between; padding: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.offcanvas-title { margin: 0; font-size: 18px; font-weight: 700; }
.offcanvas-body { flex-grow: 1; padding: 24px; overflow-y: auto; }
.offcanvas-backdrop { position: fixed; top: 0; left: 0; z-index: 1040; width: 100vw; height: 100vh; background: #000; }
.offcanvas-backdrop.fade { opacity: 0; transition: opacity .15s linear; }
.offcanvas-backdrop.show { opacity: .5; }
.btn-close { position: relative; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.btn-close::before, .btn-close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.btn-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* navbar-expand-lg: a partir de 992px o offcanvas vira menu inline */
@media (min-width: 992px) {
  .navbar-expand-lg .offcanvas { position: relative; z-index: 20; flex-direction: row; visibility: visible; background: transparent; border: 0; transform: none; transition: none; width: auto; }
  .navbar-expand-lg .offcanvas-header { display: none; }
  .navbar-expand-lg .offcanvas-body { display: flex; padding: 0; overflow-y: visible; }
}
@media (max-width: 991.98px) {
  .navbar-expand-lg .navbar-toggler { display: inline-flex; }
  .offcanvas .mod-menu { flex-direction: column; align-items: stretch; gap: 4px; font-size: 16px; }
  .offcanvas .mod-menu a { display: block; padding: 12px 8px; }
  .offcanvas .mod-menu .nav-cta { margin-top: 16px; padding: 14px 20px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .offcanvas, .offcanvas-backdrop.fade { transition: none; } }

.hero { position: relative; min-height: 800px; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,18,61,.97) 0%, rgba(8,18,61,.88) 39%, rgba(8,18,61,.35) 72%, rgba(8,18,61,.25) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(0deg, rgba(8,18,61,.78), transparent); }
.hero-orbit { position: absolute; border: 2px solid rgba(19,188,229,.65); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 560px; height: 560px; right: -250px; top: 120px; }
.orbit-two { width: 180px; height: 180px; right: 110px; top: 210px; border-color: rgba(255,224,0,.75); }
.hero-content { position: relative; z-index: 3; width: min(1380px, calc(100% - 64px)); margin: 64px auto 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--cyan); text-transform: uppercase; letter-spacing: .2em; font-size: 13px; font-weight: 700; }
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 2px; background: var(--yellow); }
h1 { max-width: 850px; margin: 24px 0; font-size: clamp(54px, 6.4vw, 94px); line-height: .98; letter-spacing: -.055em; font-weight: 750; }
h1 em { display: block; color: var(--yellow); font-style: normal; }
.hero-content > p { max-width: 690px; margin: 0 0 32px; color: rgba(255,255,255,.82); font-size: 20px; line-height: 1.6; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { min-height: 54px; padding: 0 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.button-primary { background: var(--green); color: #071b2b; }
.button-secondary { border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.06); backdrop-filter: blur(10px); }
.hero-facts { position: absolute; top: calc(100% + 78px); left: 0; display: flex; gap: 42px; color: rgba(255,255,255,.68); font-size: 13px; }
.hero-facts span { display: grid; gap: 5px; padding-left: 15px; border-left: 2px solid var(--cyan); }
.hero-facts strong { color: white; font-size: 15px; }

@media (max-width: 900px) {
  .site-header { width: calc(100% - 36px); height: 88px; }
  .brand img { width: 88px; height: 70px; }
  .hero { min-height: 760px; height: 100svh; }
  .hero-content { width: calc(100% - 36px); margin-top: 70px; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,18,61,.95), rgba(8,18,61,.65)); }
  h1 { font-size: clamp(46px, 14vw, 72px); }
  .hero-content > p { font-size: 17px; }
  .hero-facts { position: static; margin-top: 44px; flex-direction: column; gap: 16px; }
}

@media (max-width: 560px) {
  .hero-actions .button { width: 100%; }
  .orbit-one { right: -420px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
