
    :root {
      --accent: #C9A227;
      --accent-hover: #dfb635;
      --accent-muted: rgba(201, 162, 39, 0.14);
      --accent-contrast: #0b1220;
      --bg: #070d17;
      --surface: #0b1424;
      --surface-elevated: #111e36;
      --surface-card: #0d182b;
      --border: rgba(201, 162, 39, 0.22);
      --border-subtle: rgba(255, 255, 255, 0.08);
      --text: #e8ecf4;
      --text-muted: #95a3b8;
      --olive: #4f6345;
      --font-display: 'Sora', system-ui, sans-serif;
      --font-mono: 'JetBrains Mono', monospace;
    }

    * {
      box-sizing: border-box;
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      background-color: var(--bg);
      color: var(--text);
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
      line-height: 1.6;
      background-image: 
        radial-gradient(circle at 50% 0%, rgba(201, 162, 39, 0.06), transparent 45%),
        linear-gradient(rgba(201, 162, 39, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201, 162, 39, 0.03) 1px, transparent 1px);
      background-size: 100% 100%, 48px 48px, 48px 48px;
      overflow-x: hidden;
    }

    /* Utilitários tipográficos */
    h1, h2, h3, h4, .font-display {
      font-family: var(--font-display);
      letter-spacing: -0.025em;
      color: #ffffff;
      font-weight: 700;
    }

    .mono {
      font-family: var(--font-mono);
      letter-spacing: 0.06em;
    }

    .accent-gold {
      color: #E5BE42;
    }

    /* HEADER FIXO */
    header.bid-header {
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      background: rgba(7, 13, 23, 0.85);
      border-bottom: 1px solid var(--border-subtle);
      transition: all 0.25s ease;
    }
    header.bid-header.scrolled {
      background: rgba(7, 13, 23, 0.98);
      border-bottom-color: var(--border);
      box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    .header-inner {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0.9rem 1.25rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
    .brand-link {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      text-decoration: none;
      color: #fff;
    }
    .brand-symbol {
      width: 40px;
      height: 40px;
      border-radius: 6px;
      background: linear-gradient(135deg, #182844 0%, #0b1424 100%);
      border: 1px solid var(--accent);
      display: grid;
      place-items: center;
      box-shadow: 0 0 12px rgba(201, 162, 39, 0.25);
    }
    .brand-text {
      display: flex;
      flex-direction: column;
    }
    .brand-title {
      font-family: var(--font-display);
      font-size: 1.15rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      line-height: 1.1;
      color: #ffffff;
    }
    .brand-subtitle {
      font-size: 0.65rem;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #C9A227;
      font-weight: 600;
    }

    nav.nav-links {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }
    nav.nav-links a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 500;
      transition: color 0.2s ease;
      position: relative;
    }
    nav.nav-links a:hover, nav.nav-links a:focus-visible {
      color: #ffffff;
    }
    nav.nav-links a.active {
      color: #E5BE42;
    }

    /* NOVA SEÇÃO: ALIANÇA BID (DOSSIÊ TÁTICO) */
    .alianca-wrapper {
      position: relative;
      background: radial-gradient(circle at 50% 15%, rgba(201, 162, 39, 0.08) 0%, rgba(7, 13, 23, 0.98) 55%, #050912 100%);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      overflow: hidden;
    }

    /* Radar / Sonar Decorativo de Fundo */
    .radar-background {
      position: absolute;
      top: 60px;
      right: 5%;
      width: 420px;
      height: 420px;
      pointer-events: none;
      opacity: 0.18;
      z-index: 0;
    }
    .radar-circle {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      border-radius: 50%;
      border: 1px solid #C9A227;
      animation: sonar-pulse 4s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
    }
    .radar-circle:nth-child(1) { width: 100px; height: 100px; animation-delay: 0s; }
    .radar-circle:nth-child(2) { width: 220px; height: 220px; animation-delay: 1.3s; }
    .radar-circle:nth-child(3) { width: 340px; height: 340px; animation-delay: 2.6s; }
    .radar-axis-x, .radar-axis-y {
      position: absolute;
      background: rgba(201, 162, 39, 0.35);
    }
    .radar-axis-x { top: 50%; left: 0; width: 100%; height: 1px; }
    .radar-axis-y { left: 50%; top: 0; height: 100%; width: 1px; }
    .radar-sweep {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: conic-gradient(from 0deg, rgba(201, 162, 39, 0.3) 0deg, transparent 55deg, transparent 360deg);
      animation: sonar-sweep 6s linear infinite;
    }
    @keyframes sonar-pulse {
      0% { transform: translate(-50%, -50%) scale(0.65); opacity: 0.8; }
      100% { transform: translate(-50%, -50%) scale(1.35); opacity: 0; }
    }
    @keyframes sonar-sweep {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    .alianca-hero {
      text-align: center;
      max-width: 900px;
      margin: 0 auto 3.5rem;
      position: relative;
      z-index: 1;
    }
    .alianca-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.35rem 1rem;
      background: rgba(201, 162, 39, 0.1);
      border: 1px solid var(--border);
      border-radius: 4px;
      font-size: 0.72rem;
      font-family: var(--font-mono);
      color: #E5BE42;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      margin-bottom: 1.25rem;
      box-shadow: 0 0 16px rgba(201, 162, 39, 0.15);
    }
    .alianca-hero h2 {
      font-size: clamp(2.2rem, 4.5vw, 3.4rem);
      line-height: 1.15;
      margin-bottom: 1.2rem;
      color: #ffffff;
    }
    .alianca-manifesto {
      color: #cbd5e1;
      font-size: 1.12rem;
      line-height: 1.7;
      margin: 0 auto;
      max-width: 820px;
    }

    /* Seletor de Patentes (Dossiê Tático) */
    .patentes-selector {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.75rem;
      max-width: 920px;
      margin: 0 auto 2rem;
      background: rgba(11, 20, 36, 0.85);
      padding: 0.5rem;
      border-radius: 8px;
      border: 1px solid var(--border-subtle);
      position: relative;
      z-index: 1;
    }
    .patente-tab-btn {
      background: transparent;
      border: 1px solid transparent;
      padding: 1rem 0.75rem;
      border-radius: 6px;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      transition: all 0.25s ease;
      color: var(--text-muted);
    }
    .patente-tab-btn:hover {
      background: rgba(201, 162, 39, 0.05);
      border-color: rgba(201, 162, 39, 0.25);
      color: #ffffff;
    }
    .patente-tab-btn.active {
      background: linear-gradient(180deg, rgba(201, 162, 39, 0.16) 0%, rgba(13, 24, 43, 0.95) 100%);
      border-color: var(--accent);
      color: #ffffff;
      box-shadow: 0 4px 18px rgba(201, 162, 39, 0.15);
    }
    .patente-tab-name {
      font-family: var(--font-display);
      font-size: 0.95rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #ffffff;
    }
    .patente-tab-sub {
      font-size: 0.75rem;
      font-family: var(--font-mono);
      color: #C9A227;
      letter-spacing: 0.04em;
    }

    /* Insígnias SVG */
    .insignia-box {
      width: 58px;
      height: 58px;
      display: grid;
      place-items: center;
      transition: transform 0.25s ease, filter 0.25s ease;
      filter: drop-shadow(0 0 4px rgba(201, 162, 39, 0.3));
    }
    .patente-tab-btn:hover .insignia-box,
    .patente-tab-btn.active .insignia-box {
      transform: scale(1.08);
      filter: drop-shadow(0 0 12px rgba(201, 162, 39, 0.75));
    }

    /* Painel do Dossiê */
    .dossie-panel-wrap {
      max-width: 920px;
      margin: 0 auto 3rem;
      position: relative;
      z-index: 1;
    }
    .dossie-card {
      display: none;
      background: linear-gradient(135deg, rgba(13, 24, 43, 0.95) 0%, rgba(9, 16, 28, 0.95) 100%);
      border: 1px solid var(--border);
      border-radius: 10px;
      box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5);
      position: relative;
      overflow: hidden;
      animation: dossieFade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .dossie-card.active {
      display: block;
    }
    @keyframes dossieFade {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .dossie-topbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.85rem 1.75rem;
      background: rgba(7, 13, 23, 0.7);
      border-bottom: 1px solid var(--border-subtle);
      font-family: var(--font-mono);
      font-size: 0.72rem;
      color: #94a3b8;
      letter-spacing: 0.08em;
    }
    .dossie-topbar .status-tag {
      color: #E5BE42;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }
    .status-tag .live-dot {
      width: 6px;
      height: 6px;
      background: #a3e635;
      border-radius: 50%;
      box-shadow: 0 0 6px #a3e635;
    }
    .dossie-content {
      padding: 2.25rem 2.25rem 2rem;
    }
    .dossie-header-row {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      margin-bottom: 1.75rem;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid var(--border-subtle);
    }
    .dossie-header-info h3 {
      font-size: 1.6rem;
      margin: 0 0 0.3rem 0;
      color: #ffffff;
    }
    .dossie-header-info .sub {
      font-family: var(--font-mono);
      font-size: 0.85rem;
      color: #E5BE42;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }
    .capacidades-label {
      font-family: var(--font-mono);
      font-size: 0.75rem;
      color: #94a3b8;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .capacidades-label::after {
      content: "";
      flex: 1;
      height: 1px;
      background: var(--border-subtle);
    }
    .capacidades-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1rem;
      margin-bottom: 2rem;
    }
    .capacidade-item {
      background: rgba(17, 30, 54, 0.55);
      border: 1px solid var(--border-subtle);
      border-radius: 6px;
      padding: 1rem;
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
      transition: border-color 0.2s, background 0.2s;
    }
    .capacidade-item:hover {
      border-color: rgba(201, 162, 39, 0.4);
      background: rgba(17, 30, 54, 0.85);
    }
    .cap-icon {
      color: #E5BE42;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .cap-text {
      font-size: 0.88rem;
      color: #e2e8f0;
      line-height: 1.5;
    }
    .cap-text strong {
      color: #ffffff;
      font-weight: 600;
    }

    /* GRID DOS CALLOUTS: SALA DE SITUAÇÃO & SELO ALIANÇA */
    .alianca-callouts-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 1.5rem;
      max-width: 920px;
      margin: 0 auto 3rem;
      position: relative;
      z-index: 1;
    }
    .callout-situacao {
      background: linear-gradient(135deg, rgba(20, 36, 62, 0.8) 0%, rgba(11, 20, 36, 0.95) 100%);
      border: 1px solid rgba(201, 162, 39, 0.4);
      border-radius: 8px;
      padding: 1.75rem;
      position: relative;
      overflow: hidden;
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    }
    .callout-situacao::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 100%;
      background: #C9A227;
      box-shadow: 0 0 12px #C9A227;
    }
    .callout-head {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      margin-bottom: 0.85rem;
    }
    .callout-icon-radar {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: rgba(201, 162, 39, 0.15);
      border: 1px solid var(--accent);
      display: grid;
      place-items: center;
      color: #E5BE42;
      box-shadow: 0 0 14px rgba(201, 162, 39, 0.3);
      position: relative;
    }
    .callout-head h4 {
      font-size: 1.15rem;
      margin: 0;
      color: #ffffff;
      letter-spacing: 0.02em;
    }
    .callout-head .badge-conf {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      color: #E5BE42;
      background: rgba(201, 162, 39, 0.12);
      border: 1px solid rgba(201, 162, 39, 0.3);
      padding: 0.15rem 0.45rem;
      border-radius: 3px;
      text-transform: uppercase;
      margin-left: auto;
    }
    .callout-situacao p {
      font-size: 0.9rem;
      color: #cbd5e1;
      line-height: 1.6;
      margin: 0;
    }

    .callout-selo {
      background: linear-gradient(135deg, rgba(13, 24, 43, 0.85) 0%, rgba(9, 16, 28, 0.95) 100%);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 1.75rem;
      display: flex;
      align-items: center;
      gap: 1.5rem;
      position: relative;
    }
    .selo-badge-visual {
      flex-shrink: 0;
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: radial-gradient(circle, #1a2c4e 0%, #091220 100%);
      border: 2px solid #C9A227;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 0.3rem;
      box-shadow: 0 0 18px rgba(201, 162, 39, 0.3);
      position: relative;
    }
    .selo-badge-visual svg {
      color: #E5BE42;
      margin-bottom: 2px;
    }
    .selo-badge-visual span {
      font-family: var(--font-mono);
      font-size: 0.52rem;
      font-weight: 800;
      color: #ffffff;
      line-height: 1.1;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .selo-text h4 {
      font-size: 1.15rem;
      margin: 0 0 0.4rem 0;
      color: #ffffff;
    }
    .selo-text p {
      font-size: 0.88rem;
      color: #cbd5e1;
      line-height: 1.55;
      margin: 0;
    }

    /* CTA FINAL DA ALIANÇA */
    .alianca-cta-box {
      text-align: center;
      max-width: 650px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.85rem;
    }
    .alianca-cta-box .disclaimer {
      font-family: var(--font-mono);
      font-size: 0.8rem;
      color: #94a3b8;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .btn-gold {
      background: linear-gradient(135deg, #dfb635 0%, #C9A227 100%);
      color: #0b1220 !important;
      font-weight: 700;
      padding: 0.55rem 1.15rem;
      border-radius: 4px;
      text-decoration: none;
      font-size: 0.85rem;
      letter-spacing: 0.02em;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      border: 1px solid rgba(255,255,255,0.25);
      cursor: pointer;
      box-shadow: 0 4px 14px rgba(201, 162, 39, 0.25);
      transition: transform 0.18s ease, box-shadow 0.18s ease;
    }
    .btn-gold:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4);
      background: linear-gradient(135deg, #f0c543 0%, #d8ae2f 100%);
    }

    .btn-outline-tech {
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(201, 162, 39, 0.4);
      color: #f1f5f9;
      padding: 0.55rem 1.15rem;
      border-radius: 4px;
      text-decoration: none;
      font-size: 0.85rem;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: all 0.2s ease;
    }
    .btn-outline-tech:hover {
      background: rgba(201, 162, 39, 0.12);
      border-color: #C9A227;
      color: #ffffff;
    }

    .icon-social {
      width: 36px;
      height: 36px;
      display: grid;
      place-items: center;
      color: var(--text-muted);
      border-radius: 4px;
      border: 1px solid var(--border-subtle);
      transition: all 0.2s ease;
      text-decoration: none;
    }
    .icon-social:hover {
      color: #C9A227;
      border-color: var(--accent);
      background: rgba(201, 162, 39, 0.08);
    }

    /* Mobile toggle */
    .mobile-btn {
      display: none;
      background: transparent;
      border: 1px solid var(--border-subtle);
      color: var(--text);
      padding: 0.5rem;
      border-radius: 4px;
      cursor: pointer;
    }

    /* HERO */
    .hero-section {
      position: relative;
      padding: 5.5rem 1.25rem 4rem;
      max-width: 1240px;
      margin: 0 auto;
      overflow: hidden;
    }
    .coord-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.35rem 0.85rem;
      background: rgba(201, 162, 39, 0.08);
      border: 1px solid var(--border);
      border-radius: 100px;
      font-size: 0.75rem;
      color: #E5BE42;
      margin-bottom: 1.5rem;
      text-transform: uppercase;
      font-weight: 600;
    }
    .coord-tag .dot {
      width: 7px;
      height: 7px;
      background: #E5BE42;
      border-radius: 50%;
      box-shadow: 0 0 8px #E5BE42;
      animation: pulse 2s infinite ease-in-out;
    }
    @keyframes pulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(0.85); }
    }

    .hero-title {
      font-size: clamp(2.4rem, 5.5vw, 4.2rem);
      line-height: 1.08;
      margin-bottom: 1.25rem;
      max-width: 950px;
      text-shadow: 0 2px 18px rgba(0,0,0,0.4);
    }
    .hero-subtitle {
      font-size: clamp(1.05rem, 2vw, 1.3rem);
      color: #c3cfde;
      max-width: 780px;
      margin-bottom: 2.25rem;
      font-weight: 400;
      line-height: 1.6;
    }
    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-bottom: 3.5rem;
    }

    /* GRID TÉCNICO DE STATS */
    .kpi-strip {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
      border-top: 1px solid var(--border-subtle);
      border-bottom: 1px solid var(--border-subtle);
      padding: 2rem 0;
      background: linear-gradient(90deg, rgba(201,162,39,0.03) 0%, transparent 100%);
    }
    .kpi-card {
      padding: 1rem 1.25rem;
      border-left: 2px solid var(--accent);
      background: rgba(13, 24, 43, 0.4);
      backdrop-filter: blur(6px);
      border-radius: 0 6px 6px 0;
      transition: background 0.2s ease, transform 0.2s ease;
    }
    .kpi-card:hover {
      background: rgba(13, 24, 43, 0.85);
      transform: translateY(-2px);
    }
    .kpi-num {
      font-family: var(--font-display);
      font-size: 2.1rem;
      font-weight: 800;
      color: #ffffff;
      line-height: 1.1;
      margin-bottom: 0.25rem;
    }
    .kpi-num span.accent {
      color: #E5BE42;
    }
    .kpi-desc {
      font-size: 0.82rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      font-weight: 500;
    }

    /* SEÇÕES COMUNS */
    section.section-wrap {
      max-width: 1240px;
      margin: 0 auto;
      padding: 5rem 1.25rem;
      position: relative;
    }
    .section-header {
      margin-bottom: 3rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    .section-eyebrow {
      font-family: var(--font-mono);
      font-size: 0.78rem;
      color: #C9A227;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .section-eyebrow::before {
      content: "";
      width: 18px;
      height: 2px;
      background: #C9A227;
      display: inline-block;
    }
    .section-title {
      font-size: clamp(1.8rem, 3.5vw, 2.6rem);
      margin: 0;
      color: #ffffff;
    }
    .section-desc {
      font-size: 1rem;
      color: var(--text-muted);
      max-width: 680px;
      margin-top: 0.25rem;
    }

    /* FILTROS EDIÇÕES */
    .filter-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 2.5rem;
      background: rgba(11, 20, 36, 0.7);
      padding: 0.4rem;
      border-radius: 8px;
      border: 1px solid var(--border-subtle);
      width: fit-content;
    }
    .filter-btn {
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-size: 0.85rem;
      font-weight: 600;
      padding: 0.5rem 1.1rem;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .filter-btn:hover {
      color: #fff;
    }
    .filter-btn.active {
      background: #C9A227;
      color: #0b1220;
    }

    /* GRID EDIÇÕES */
    .editions-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
      gap: 1.75rem;
    }
    .edition-card {
      background: var(--surface-card);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
      position: relative;
    }
    .edition-card:hover {
      transform: translateY(-5px);
      border-color: rgba(201, 162, 39, 0.5);
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    }
    .card-cover {
      height: 220px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      background: linear-gradient(135deg, #091322 0%, #152238 100%);
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .cover-graphic {
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0.4;
      pointer-events: none;
    }
    .card-badge {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: rgba(79, 99, 69, 0.85);
      color: #e3fbd8;
      border: 1px solid #6b865d;
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 0.25rem 0.65rem;
      border-radius: 4px;
      backdrop-filter: blur(4px);
      z-index: 2;
    }
    .card-year {
      position: absolute;
      bottom: 1rem;
      left: 1rem;
      font-family: var(--font-mono);
      font-size: 0.75rem;
      color: #E5BE42;
      background: rgba(7, 13, 23, 0.8);
      padding: 0.2rem 0.5rem;
      border-radius: 3px;
      border: 1px solid var(--border);
    }
    .card-content {
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }
    .card-category {
      font-size: 0.72rem;
      font-family: var(--font-mono);
      color: #C9A227;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 0.4rem;
    }
    .card-title {
      font-size: 1.25rem;
      margin: 0 0 0.65rem 0;
      line-height: 1.3;
      color: #ffffff;
    }
    .card-summary {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.55;
      margin-bottom: 1.25rem;
      flex-grow: 1;
    }
    .card-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 1px solid var(--border-subtle);
      padding-top: 1rem;
      margin-top: auto;
    }
    .btn-read {
      background: transparent;
      color: #ffffff;
      border: 1px solid var(--border);
      padding: 0.45rem 1rem;
      border-radius: 4px;
      font-size: 0.82rem;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      transition: all 0.2s ease;
    }
    .btn-read:hover {
      background: #C9A227;
      color: #0b1220;
      border-color: #C9A227;
    }

    /* NOTÍCIAS */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 1.5rem;
    }
    .news-card {
      background: var(--surface-card);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      transition: transform 0.2s ease, border-color 0.2s ease;
      cursor: pointer;
    }
    .news-card:hover {
      transform: translateY(-3px);
      border-color: rgba(201, 162, 39, 0.4);
      background: var(--surface-elevated);
    }
    .news-meta {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 0.75rem;
    }
    .tag-badge {
      font-size: 0.68rem;
      text-transform: uppercase;
      font-family: var(--font-mono);
      font-weight: 600;
      padding: 0.2rem 0.6rem;
      border-radius: 3px;
      background: rgba(201, 162, 39, 0.12);
      color: #E5BE42;
      border: 1px solid rgba(201, 162, 39, 0.3);
    }
    .news-date {
      font-size: 0.75rem;
      color: var(--text-muted);
    }
    .news-title {
      font-size: 1.15rem;
      line-height: 1.35;
      margin: 0 0 0.75rem 0;
      color: #ffffff;
    }
    .news-snippet {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-bottom: 1rem;
      line-height: 1.5;
    }
    .news-link {
      margin-top: auto;
      font-size: 0.82rem;
      color: #E5BE42;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      text-decoration: none;
    }
    .news-link:hover {
      text-decoration: underline;
    }

    /* SEÇÃO ANUNCIE (DESTAQUE DOURADO) */
    .anuncie-wrapper {
      background: linear-gradient(180deg, rgba(201,162,39,0.06) 0%, rgba(11,20,36,0.95) 40%, #070d17 100%);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      position: relative;
    }
    .anuncie-hero {
      text-align: center;
      max-width: 860px;
      margin: 0 auto 3.5rem;
    }
    .anuncie-hero h2 {
      font-size: clamp(2rem, 4vw, 3rem);
      margin-bottom: 1rem;
    }
    .anuncie-pills {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
      margin-top: 2rem;
    }
    .pillar-card {
      flex: 1 1 240px;
      background: rgba(13, 24, 43, 0.7);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 1.25rem;
      text-align: left;
    }
    .pillar-icon {
      color: #E5BE42;
      margin-bottom: 0.75rem;
    }
    .pillar-title {
      font-size: 1rem;
      color: #fff;
      font-weight: 700;
      margin-bottom: 0.35rem;
    }
    .pillar-text {
      font-size: 0.82rem;
      color: var(--text-muted);
      line-height: 1.5;
      margin: 0;
    }

    /* FORMATOS DE DIVULGAÇÃO */
    .formats-title {
      text-align: center;
      margin-bottom: 2rem;
      font-size: 1.35rem;
      color: #ffffff;
    }
    .formats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 1rem;
      margin-bottom: 4rem;
    }
    .format-item {
      background: rgba(17, 30, 54, 0.6);
      border: 1px solid var(--border-subtle);
      border-radius: 6px;
      padding: 1.2rem 1rem;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.6rem;
      transition: all 0.2s ease;
    }
    .format-item:hover {
      border-color: var(--accent);
      background: rgba(201, 162, 39, 0.08);
      transform: translateY(-2px);
    }
    .format-icon {
      color: #E5BE42;
      width: 32px;
      height: 32px;
    }
    .format-name {
      font-size: 0.85rem;
      font-weight: 600;
      color: #ffffff;
    }

    /* TABELA COMPARATIVA DE PLANOS */
    .plans-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
      gap: 1.75rem;
      margin-bottom: 3.5rem;
    }
    .plan-card {
      background: var(--surface-card);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 2rem 1.75rem;
      display: flex;
      flex-direction: column;
      position: relative;
      transition: all 0.25s ease;
    }
    .plan-card.featured {
      border-color: #C9A227;
      background: linear-gradient(180deg, rgba(201,162,39,0.12) 0%, rgba(13,24,43,0.95) 45%);
      box-shadow: 0 10px 30px rgba(201, 162, 39, 0.15);
      transform: scale(1.02);
    }
    .plan-tag {
      position: absolute;
      top: -12px;
      left: 50%;
      transform: translateX(-50%);
      background: #C9A227;
      color: #0b1220;
      font-size: 0.7rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      padding: 0.25rem 0.8rem;
      border-radius: 100px;
    }
    .plan-name {
      font-size: 1.4rem;
      margin: 0 0 0.5rem 0;
      color: #ffffff;
    }
    .plan-price {
      font-family: var(--font-mono);
      font-size: 0.95rem;
      color: #E5BE42;
      margin-bottom: 1.5rem;
      font-weight: 600;
      padding-bottom: 1rem;
      border-bottom: 1px solid var(--border-subtle);
    }
    .plan-features {
      list-style: none;
      padding: 0;
      margin: 0 0 2rem 0;
      flex-grow: 1;
    }
    .plan-features li {
      font-size: 0.86rem;
      color: #cbd5e1;
      padding: 0.45rem 0;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }
    .plan-features li svg {
      color: #E5BE42;
      flex-shrink: 0;
    }

    /* ECOSSISTEMA DIGITAL */
    .eco-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.5rem;
    }
    .eco-card {
      background: var(--surface-card);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 2rem;
      display: flex;
      flex-direction: column;
      position: relative;
      overflow: hidden;
    }
    .eco-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, #C9A227, transparent);
    }
    .eco-head {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.25rem;
    }
    .eco-avatar {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: rgba(201, 162, 39, 0.15);
      border: 1px solid var(--accent);
      display: grid;
      place-items: center;
      color: #E5BE42;
    }
    .eco-info h3 {
      font-size: 1.15rem;
      margin: 0;
      color: #ffffff;
    }
    .eco-info span {
      font-size: 0.78rem;
      color: #E5BE42;
      font-family: var(--font-mono);
    }
    .eco-body {
      font-size: 0.88rem;
      color: var(--text-muted);
      margin-bottom: 1.5rem;
      line-height: 1.55;
      flex-grow: 1;
    }
    .eco-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      margin-bottom: 1.5rem;
    }
    .eco-chip {
      font-size: 0.7rem;
      background: rgba(255,255,255,0.05);
      padding: 0.2rem 0.5rem;
      border-radius: 3px;
      color: #cbd5e1;
    }

    /* SOBRE E EDITORIAL */
    .about-box {
      background: var(--surface-card);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 2.5rem;
      margin-bottom: 3rem;
      position: relative;
    }
    .about-quote {
      font-size: 1.2rem;
      line-height: 1.6;
      color: #f1f5f9;
      font-style: italic;
      border-left: 3px solid #C9A227;
      padding-left: 1.5rem;
      margin: 1.5rem 0;
    }
    .team-strip {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.5rem;
      margin-top: 2rem;
    }
    .team-badge {
      background: var(--surface-elevated);
      border: 1px solid var(--border-subtle);
      padding: 1.25rem;
      border-radius: 6px;
    }
    .team-badge .role {
      font-size: 0.75rem;
      color: #C9A227;
      text-transform: uppercase;
      font-family: var(--font-mono);
    }
    .team-badge .name {
      font-size: 1.05rem;
      font-weight: 700;
      color: #ffffff;
      margin: 0.25rem 0 0.5rem;
    }
    .team-badge .desc {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin: 0;
    }

    /* PARCEIROS ESTRATÉGICOS */
    .partners-section {
      text-align: center;
      margin-top: 3rem;
      padding-top: 2rem;
      border-top: 1px solid var(--border-subtle);
    }
    .partners-title {
      font-size: 0.8rem;
      font-family: var(--font-mono);
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.12em;
      margin-bottom: 1.5rem;
    }
    .partners-list {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2rem;
      align-items: center;
    }
    .partner-item {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.05rem;
      color: #64748b;
      letter-spacing: 0.05em;
      transition: color 0.2s ease;
      cursor: default;
    }
    .partner-item:hover {
      color: #E5BE42;
    }

    /* NEWSLETTER STRIP */
    .newsletter-banner {
      background: linear-gradient(135deg, #101c31 0%, #080f1b 100%);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 3rem 2rem;
      margin: 4rem auto 0;
      max-width: 1240px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.4);
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    .newsletter-form {
      display: flex;
      width: 100%;
      max-width: 520px;
      gap: 0.5rem;
      margin-top: 1.5rem;
    }
    .newsletter-input {
      flex: 1;
      background: rgba(7, 13, 23, 0.9);
      border: 1px solid var(--border-subtle);
      border-radius: 4px;
      padding: 0.8rem 1rem;
      color: #ffffff;
      font-size: 0.9rem;
      outline: none;
      transition: border-color 0.2s ease;
    }
    .newsletter-input:focus {
      border-color: #C9A227;
      box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.2);
    }
    .alert-success {
      display: none;
      background: rgba(79, 99, 69, 0.3);
      border: 1px solid #4f6345;
      color: #a3e635;
      padding: 0.75rem 1.25rem;
      border-radius: 4px;
      font-size: 0.85rem;
      margin-top: 1rem;
    }

    /* FOOTER */
    footer.bid-footer {
      background: #040810;
      border-top: 1px solid var(--border-subtle);
      padding: 4rem 1.25rem 2rem;
      margin-top: 5rem;
      font-size: 0.88rem;
    }
    .footer-inner {
      max-width: 1240px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 3rem;
      margin-bottom: 3rem;
    }
    .footer-col h4 {
      font-size: 0.9rem;
      font-family: var(--font-mono);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: #E5BE42;
      margin-bottom: 1.25rem;
    }
    .footer-col ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-col ul li {
      margin-bottom: 0.65rem;
    }
    .footer-col ul li a {
      color: var(--text-muted);
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-col ul li a:hover {
      color: #ffffff;
    }
    .footer-bottom {
      max-width: 1240px;
      margin: 0 auto;
      padding-top: 2rem;
      border-top: 1px solid rgba(255,255,255,0.06);
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      color: var(--text-muted);
      font-size: 0.8rem;
    }

    /* MODAL */
    .modal-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(8px);
      z-index: 1000;
      display: none;
      place-items: center;
      padding: 1rem;
    }
    .modal-box {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 8px;
      max-width: 580px;
      width: 100%;
      padding: 2.25rem;
      position: relative;
      box-shadow: 0 20px 60px rgba(0,0,0,0.7);
      animation: modalIn 0.25s ease-out;
    }
    @keyframes modalIn {
      from { opacity: 0; transform: scale(0.96) translateY(10px); }
      to { opacity: 1; transform: scale(1) translateY(0); }
    }
    .modal-close {
      position: absolute;
      top: 1.25rem;
      right: 1.25rem;
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-size: 1.5rem;
      cursor: pointer;
      line-height: 1;
      padding: 0.2rem;
    }
    .modal-close:hover {
      color: #ffffff;
    }

    /* RESPONSIVIDADE */
    @media (max-width: 960px) {
      .footer-inner {
        grid-template-columns: 1fr 1fr;
      }
      nav.nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: #070d17;
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border);
        display: none;
        gap: 1.2rem;
      }
      nav.nav-links.open {
        display: flex;
      }
      .mobile-btn {
        display: inline-flex;
      }
      .hero-actions {
        flex-direction: column;
      }
    }
    @media (max-width: 600px) {
      .footer-inner {
        grid-template-columns: 1fr;
      }
      .newsletter-form {
        flex-direction: column;
      }
      .plans-grid {
        grid-template-columns: 1fr;
      }
      .plan-card.featured {
        transform: none;
      }
    }
  
/* Integration with the BID theme and real publication covers. */
body > .min-h-screen { background: transparent; color: var(--text); }
a { text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
svg { flex-shrink: 0; }
section[id], #alianca { scroll-margin-top: 100px; }
.edition-card[hidden], .dossie-card[hidden] { display: none !important; }
.card-cover { height: 270px; padding: 0; }
.card-cover img { width: 100%; height: 100%; object-fit: contain; background: #080e19; }
.card-year { background: rgba(7,13,23,.9); padding: .25rem .5rem; }
.news-cover { width: 100%; height: 185px; object-fit: cover; border-radius: 4px; margin-bottom: 1rem; }
.news-card > a { display:flex; flex-direction:column; height:100%; color:inherit; }
.news-card .news-link { margin-top:auto; padding-top:1rem; }
.empty-state { padding: 2rem; color: var(--text-muted); border: 1px solid var(--border-subtle); border-radius: 8px; }
.bid-header-normal { position: sticky; top: 0; z-index: 100; background: rgba(7,13,23,.97); }
.bid-header-normal nav { gap: 1.2rem; }
.bid-header-normal ul { gap: 1.6rem; }
.bid-menu-toggle { display: none; min-width:44px; min-height:44px; border:1px solid currentColor; background:transparent; color:inherit; }
.btn-read { min-height:44px; }
:focus-visible { outline: 2px solid #E5BE42; outline-offset: 4px; }
.modal-backdrop { overflow-y:auto; padding:1rem; }
.modal-box { max-height:90dvh; overflow-y:auto; }
.newsletter-help { font-size:.8rem; color:var(--text-muted); margin-top:.75rem; }
@media(max-width:1000px) {
 .bid-header-normal nav { flex-wrap:wrap; }
 .bid-header-normal ul { order:3; width:100%; justify-content:center; }
}
@media(max-width:767px) {
 .bid-menu-toggle { display:inline-grid; place-items:center; }
 .bid-header-normal nav { padding: .8rem 1rem; gap:.6rem; }
 .bid-header-normal .site-brand-logo { width:110px; height:auto; }
 .bid-header-normal ul { display:none; }
 .bid-header-normal ul.bid-menu-open { display:flex; flex-direction:column; align-items:stretch; gap:0; }
 .bid-header-normal ul a { display:block; padding:.8rem; }
 .bid-header-normal .bid-language-picker { display:none; }
 .bid-header-normal nav > div { margin-left:auto; gap:.5rem; }
 .bid-header-normal nav > div > a { padding:.6rem; font-size:10px; }
 .alianca-callouts-grid, .capacidades-grid { grid-template-columns:minmax(0,1fr); }
 .callout-head { flex-wrap:wrap; }
 .callout-selo { flex-wrap:wrap; }
 .patentes-selector { grid-template-columns:1fr; }
 .kpi-num { font-size:1.6rem; }
 .footer-inner { gap:2rem; }
 .newsletter-form { min-width:0; width:100%; }
 .newsletter-input { min-width:0; }
 .dossie-header { flex-wrap:wrap; }
 .dossie-card { padding:1.25rem; }
}
@media(prefers-reduced-motion:reduce) {
 *, *::before, *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

.editions-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.bid-alliance-banner { margin: .5rem 0 1.75rem; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: #070d17; }
.bid-alliance-banner-frame { position:relative; aspect-ratio:3 / 1; overflow:hidden; }
.bid-alliance-banner-slide { position:absolute; inset:0; opacity:0; visibility:hidden; transition:opacity .9s ease,visibility .9s; }
.bid-alliance-banner-slide.is-active { opacity:1; visibility:visible; }
.bid-alliance-banner-slide picture,.bid-alliance-banner-slide img { display:block; width:100%; height:100%; }
.bid-alliance-banner-slide img { object-fit:cover; }
.bid-alliance-banner-slide.is-active img { animation:bid-banner-pan 6s ease-out both; }
@keyframes bid-banner-pan { from { transform:scale(1.025); } to { transform:scale(1); } }
.bid-alliance-banner-controls { display:flex; justify-content:center; align-items:center; gap:.5rem; padding:.35rem; }
.bid-alliance-banner-controls > button { min-height:44px; min-width:44px; color:var(--text); background:transparent; border:1px solid var(--border-subtle); border-radius:4px; padding:.3rem .6rem; font-size:.8rem; }
.bid-alliance-banner-dots { display:flex; align-items:center; }
.bid-alliance-banner-dots button { width:32px; height:44px; background:transparent; border:0; position:relative; }
.bid-alliance-banner-dots button::after { content:''; position:absolute; width:7px; height:7px; border-radius:50%; background:#687589; left:50%; top:50%; transform:translate(-50%,-50%); }
.bid-alliance-banner-dots button[aria-pressed=true]::after { width:18px; border-radius:4px; background:#E5BE42; }
@media(max-width:600px) { .bid-alliance-banner-frame { aspect-ratio:2 / 1; } .bid-alliance-banner-dots button { width:24px; } }
@media(max-width:1023px) { .editions-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:767px) { .editions-grid,.news-grid,.eco-grid { grid-template-columns:minmax(0,1fr); } }

.bid-alliance-section { max-width:1240px; margin:0 auto; padding:3rem 1.25rem; }
.bid-alliance-section .bid-alliance-banner { margin:0; }

/* Admin-managed responsive image or MP4. Fill the banner with a centered video crop. */
.bid-slide-media { width:100%; height:100%; }
.bid-slide-media--mobile { display:none; }
.bid-slide-media img,.bid-slide-media video { display:block; width:100%; height:100%; }
.bid-slide-media video { object-fit:cover; object-position:center; background:#000; }
@media(max-width:600px) {
  .bid-slide-media--desktop { display:none; }
  .bid-slide-media--mobile { display:block; }
}

/* Match the active video's native proportion, preserving the full frame. */
.bid-alliance-banner-frame:has(.is-active video) { aspect-ratio:var(--bid-video-ratio, 7 / 4); }

/* Compact desktop banner while preserving the complete native video frame. */
@media(min-width:1024px) {
  .bid-alliance-section .bid-alliance-banner:has(video) { max-width:var(--bid-banner-desktop-width,840px); margin-inline:auto; }
}

@media(max-width:1023px) {
  .bid-alliance-section .bid-alliance-banner:has(video) { max-width:var(--bid-banner-mobile-width,768px); margin-inline:auto; }
}
