/* GERADO por _sync_chrome.ps1 -ExtractChromeCss a partir de paginas/home.html. NAO editar a mao. */
/* ===== HEADER ===== */
.topbar {
      background: var(--navy2); padding: 0 48px; height: 44px;
      display: flex; align-items: center; justify-content: space-between;
      border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .topbar-left { display: flex; align-items: center; gap: 36px; }
    .topbar-item {
      display: flex; align-items: center; gap: 10px;
      font-size: 0.82rem; color: var(--white); font-weight: 400;
      text-decoration: none; transition: color 0.2s;
    }
    .topbar-item .topbar-icon {
      color: var(--gold); display: flex; align-items: center;
    }
    .topbar-item:hover { color: var(--gold2); }

    .topbar-right { display: flex; align-items: center; gap: 18px; }
    .topbar-social {
      display: flex; align-items: center; justify-content: center;
      text-decoration: none; color: var(--gold);
      transition: all 0.2s;
    }
    .topbar-social:hover { color: var(--gold2); transform: translateY(-1px); }
    .topbar-divider {
      width: 1px; height: 18px; background: rgba(255,255,255,0.14);
    }
    .lang-dropdown { position: relative; padding-bottom: 12px; margin-bottom: -12px; }
    .lang-trigger {
      display: flex; align-items: center; gap: 8px;
      color: var(--white); font-size: 0.82rem; font-weight: 500;
      cursor: pointer; background: none; border: none; font-family: inherit;
      padding: 4px 2px; transition: color 0.2s;
    }
    .lang-trigger:hover { color: var(--gold); }
    .lang-trigger .caret { opacity: 0.6; transition: transform 0.2s; }
    .lang-dropdown:hover .lang-trigger .caret { transform: rotate(180deg); }
    .lang-flag {
      width: 22px; height: 16px; border-radius: 3px; overflow: hidden;
      display: inline-block; flex-shrink: 0;
      box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
    }
    .lang-flag svg { display: block; width: 100%; height: 100%; }
    .lang-menu {
      position: absolute; top: 100%; right: 0;
      background: var(--navy); border: 1px solid rgba(255,255,255,0.08);
      border-radius: 12px; padding: 6px; min-width: 180px;
      box-shadow: 0 16px 40px rgba(0,0,0,0.45);
      opacity: 0; pointer-events: none; transform: translateY(6px);
      transition: all 0.2s; z-index: 250;
      list-style: none;
    }
    .lang-dropdown:hover .lang-menu,
    .lang-dropdown:focus-within .lang-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
    .lang-menu li { list-style: none; }
    .lang-menu a {
      display: flex; align-items: center; gap: 10px;
      padding: 9px 12px; border-radius: 9px;
      color: rgba(255,255,255,0.78); text-decoration: none;
      font-size: 0.82rem; font-weight: 500; transition: all 0.15s;
    }
    .lang-menu a:hover { background: rgba(255,255,255,0.07); color: var(--gold); }
    .lang-menu a.active { color: var(--gold); background: rgba(245,166,35,0.08); }
    .lang-menu .lang-flag { width: 20px; height: 14px; }

    /* ── NAV ── */
    nav {
      position: sticky; top: 0; z-index: 100;
      display: grid; grid-template-columns: auto 1fr auto;
      align-items: center; gap: 32px;
      padding: 0 48px; height: 78px;
      background: rgba(2,44,65,0.95);
      backdrop-filter: saturate(180%) blur(20px);
      -webkit-backdrop-filter: saturate(180%) blur(20px);
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .nav-logo {
      display: flex; align-items: center; flex-shrink: 0;
    }
    .nav-logo img {
      height: 80px; width: auto; display: block;
    }
    .nav-links {
      display: flex; gap: 8px; list-style: none;
      justify-content: center; align-items: center;
    }
    .nav-links > li { position: relative; }
    .nav-links > li > a {
      display: flex; align-items: center; gap: 6px; padding: 10px 18px;
      color: rgba(255,255,255,0.92); text-decoration: none;
      font-size: 0.95rem; font-weight: 500; border-radius: 10px;
      transition: all 0.2s; white-space: nowrap;
    }
    .nav-links > li > a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
    .nav-links > li > a.active { color: var(--gold); }
    nav .dropdown > a::after {
      content: '';
      width: 0; height: 0;
      border-left: 4px solid transparent;
      border-right: 4px solid transparent;
      border-top: 5px solid currentColor;
      opacity: 0.7; margin-left: 6px;
      transition: transform 0.2s;
    }
    nav .dropdown:hover > a::after { transform: rotate(180deg); }
    .dropdown-menu {
      position: absolute; top: 100%; margin-top: 8px; left: 0;
      background: var(--navy); border: 1px solid rgba(255,255,255,0.08);
      border-radius: 14px; padding: 6px; min-width: 220px;
      box-shadow: 0 16px 48px rgba(0,0,0,0.35);
      opacity: 0; pointer-events: none; transform: translateY(6px);
      transition: all 0.2s; z-index: 200;
    }
    .dropdown-menu::before { content: ''; position: absolute; top: -16px; left: -8px; right: -8px; height: 16px; }
    .dropdown:hover .dropdown-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
    .dropdown-menu li { list-style: none; }
    .dropdown-menu a {
      display: flex; align-items: center; gap: 10px; padding: 9px 12px;
      border-radius: 9px; color: rgba(255,255,255,0.7); text-decoration: none;
      font-size: 0.85rem; font-weight: 500; transition: all 0.15s; white-space: nowrap;
    }
    .dropdown-menu a:hover { background: rgba(255,255,255,0.07); color: var(--gold); }
    .dropdown-menu a.dm-active { color: var(--gold); }
    .dropdown-menu .dm-icon {
      width: 28px; height: 28px; border-radius: 8px;
      background: rgba(245,166,35,0.15);
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .dropdown-menu .dm-icon svg { width: 13px; height: 13px; }
    /* Dropdown com 7+ itens vira 2 colunas (Setores) */
    .dropdown-menu:has(li:nth-child(7)) {
      display: grid;
      grid-template-columns: 1fr 1fr;
      min-width: 460px;
      column-gap: 4px;
      left: 50%;
      transform: translateX(-50%) translateY(6px);
    }
    .dropdown:hover .dropdown-menu:has(li:nth-child(7)) {
      transform: translateX(-50%) translateY(0);
    }
    .dropdown-menu:has(li:nth-child(7)) li { list-style: none; }
    .nav-cta {
      background: var(--gold); color: var(--navy); padding: 13px 28px;
      border-radius: 6px; font-size: 0.92rem; font-weight: 700;
      text-decoration: none; white-space: nowrap; transition: all 0.2s;
      box-shadow: 0 6px 18px rgba(245,166,35,0.25);
    }
    .nav-cta:hover { background: var(--gold2); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(245,166,35,0.35); }

    /* ── MENU MOBILE (hamburguer) ── */
    .mnav-toggle { display: none; }
    .mnav-btn { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; justify-self: end; }
    .mnav-btn span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
    .mnav { position: fixed; top: 0; right: 0; bottom: 0; width: min(82vw, 340px); background: var(--navy); z-index: 300; padding: 78px 28px 36px; display: flex; flex-direction: column; gap: 2px; transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto; box-shadow: -20px 0 50px rgba(0,0,0,0.4); }
    .mnav a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 1rem; font-weight: 600; padding: 11px 2px; border-bottom: 1px solid rgba(255,255,255,0.07); transition: color 0.2s; }
    .mnav a:hover { color: var(--gold); }
    .mnav-h { color: var(--gold); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-top: 18px; padding-bottom: 2px; }
    .mnav .mnav-cta { margin-top: 22px; background: var(--gold); color: var(--navy); text-align: center; border-radius: 40px; padding: 13px 20px; font-weight: 700; border-bottom: none; }
    .mnav-close { position: absolute; top: 18px; right: 22px; font-size: 2rem; line-height: 1; color: rgba(255,255,255,0.6); cursor: pointer; }
    .mnav-backdrop { position: fixed; inset: 0; background: rgba(2,12,20,0.55); z-index: 290; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
    .mnav-toggle:checked ~ .mnav { transform: translateX(0); }
    .mnav-toggle:checked ~ .mnav-backdrop { opacity: 1; pointer-events: auto; }
    .mnav-toggle:checked ~ .mnav-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mnav-toggle:checked ~ .mnav-btn span:nth-child(2) { opacity: 0; }
    .mnav-toggle:checked ~ .mnav-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== FOOTER ===== */
footer { background: var(--navy); padding: 64px 40px 0; margin-top: 100px; }

    .footer-top {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr 1.6fr;
      gap: 40px; max-width: 1100px; margin: 0 auto;
      padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.07);
    }

    .footer-brand p {
      font-size: 0.845rem; color: rgba(255,255,255,0.4);
      line-height: 1.7; margin-top: -12px; max-width: 240px;
    }
    .footer-socials { display: flex; gap: 8px; margin-top: 20px; }
    .footer-social-btn {
      width: 32px; height: 32px; border-radius: 9px;
      background: rgba(255,255,255,0.07);
      display: flex; align-items: center; justify-content: center;
      text-decoration: none; font-size: 0.68rem; font-weight: 700;
      color: rgba(255,255,255,0.55); transition: all 0.2s;
    }
    .footer-social-btn:hover { background: var(--gold); color: var(--navy); }

    .footer-col h5 {
      font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
      text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 16px;
    }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-col ul a {
      font-size: 0.845rem; color: rgba(255,255,255,0.58);
      text-decoration: none; transition: color 0.2s;
    }
    .footer-col ul a:hover { color: var(--gold); }

    /* Newsletter column */
    .footer-newsletter p {
      font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 1.6; margin-bottom: 16px;
    }
    .newsletter-input-wrap { display: flex; gap: 8px; }
    .newsletter-input-wrap input {
      flex: 1; background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
      padding: 10px 14px; font-size: 0.82rem; font-family: inherit;
      color: var(--white); outline: none; transition: border-color 0.2s;
    }
    .newsletter-input-wrap input::placeholder { color: rgba(255,255,255,0.3); }
    .newsletter-input-wrap input:focus { border-color: rgba(245,166,35,0.4); }
    .newsletter-input-wrap button {
      background: var(--gold); color: var(--navy);
      border: none; padding: 10px 16px; border-radius: 10px;
      font-size: 0.8rem; font-weight: 700; font-family: inherit;
      cursor: pointer; transition: background 0.2s; white-space: nowrap;
    }
    .newsletter-input-wrap button:hover { background: var(--gold2); }

    .footer-bottom {
      max-width: 1100px; margin: 0 auto;
      padding: 24px 0 32px;
      display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
    }
    .footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.25); }
    .footer-bottom .dev-credit { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; }
    .footer-bottom .dev-credit:hover {
      background: linear-gradient(90deg, #2a3fd6, #4f6bff, #8a6cff, #b69bff, #4f6bff, #2a3fd6);
      background-size: 220% auto; -webkit-background-clip: text; background-clip: text;
      -webkit-text-fill-color: transparent; color: transparent;
      animation: dev-rainbow 3.5s linear infinite;
    }
    @keyframes dev-rainbow { from { background-position: 0% center; } to { background-position: 220% center; } }
    .footer-bottom .dev-credit img { height: 14px; width: auto; display: block; }
    .footer-bottom-links { display: flex; gap: 20px; }
    .footer-bottom-links a { font-size: 0.75rem; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
    .footer-bottom-links a:hover { color: var(--gold); }

    /* ── IMAGEM PROTEGIDA (anti-roubo: fundo limpo + <img> _wm transparente) ── */
    .protected-img { position: relative; display: block; line-height: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
    .protected-img > img { display: block; width: 100%; height: auto; opacity: 0; }

    /* ═══════════════════════════════════════
       REVEAL
    ══════════════════════════════════════ */
    .reveal { opacity:0; transform:translateY(28px); transition:opacity 0.7s ease, transform 0.7s ease; }
    .reveal.visible { opacity:1; transform:translateY(0); }

/* ===== RESPONSIVE (chrome) ===== */
@media (max-width:1024px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-newsletter { grid-column: span 3; }
}
@media (max-width:768px) {
  .topbar { padding:0 16px; }
  .topbar-left .topbar-item:last-child { display:none; }
  nav { padding:0 16px; }
  .nav-links { display:none; }
  nav .mnav-btn { display:flex; }
  .nav-cta { display:none; }
  .footer-top { grid-template-columns:1fr 1fr; gap:32px; }
  .footer-newsletter { grid-column:span 2; }
}
@media (max-width:480px) {
  .footer-top { grid-template-columns:1fr; }
  .footer-newsletter { grid-column:1; }
}
