/* T250 — estilos globais (o layout de cada bloco está inline no HTML) */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #F2F0E8; }
body.dark { background: #0E2E21; }
img { max-width: 100%; }

a { color: #2B7414; }
a:hover { color: #1D5410; }
header nav a:hover { color: #F0A038 !important; }

input:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid #F0A038;
  outline-offset: 2px;
}
input:focus { border-color: #2B7414 !important; }

.faq-a[hidden] { display: none; }

/* Campo anti-spam (honeypot): invisível para pessoas */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Header & Menu Responsivo */
.site-header {
  background: #0E2E21;
  border-bottom: 1px solid rgba(242, 240, 232, 0.12);
  position: relative;
  z-index: 1000;
}
.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.header-logo {
  display: flex;
  align-items: center;
  padding: 6px 0;
  text-decoration: none;
}
.header-logo img {
  height: 42px;
  width: auto;
  max-width: 65vw;
  display: block;
}

/* Botão Hamburguer (Mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(240, 160, 56, 0.4);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.menu-toggle:hover {
  background: rgba(240, 160, 56, 0.15);
  border-color: #F0A038;
}
.menu-toggle .bar {
  width: 22px;
  height: 2.2px;
  background: #F0A038;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(7.2px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7.2px) rotate(-45deg);
}

/* Nav & CTA Wrapper */
.header-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  color: #E4E8E2;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover {
  color: #F0A038 !important;
}
.nav-links a[aria-current="page"] {
  color: #F0A038 !important;
  border-bottom-color: #F0A038;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1.5px solid #F0A038;
  color: #F0A038;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.header-cta:hover {
  background: #F0A038;
  color: #0E2E21 !important;
}

/* Responsivo para telas até 920px (Tablets e Celulares) */
@media (max-width: 920px) {
  .header-container {
    padding: 12px 20px;
  }
  .menu-toggle {
    display: flex;
  }
  .header-nav-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #091F16;
    border-top: 1px solid rgba(242, 240, 232, 0.1);
    border-bottom: 3px solid #F0A038;
    padding: 20px 24px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    animation: menuSlideDown 0.25s ease-out;
  }
  .header-nav-wrapper.is-open {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav-links a {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: none;
    background: rgba(255, 255, 255, 0.02);
  }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    background: rgba(240, 160, 56, 0.14);
    color: #F0A038 !important;
  }
  .header-cta {
    width: 100%;
    min-height: 48px;
    background: #F0A038;
    color: #0E2E21 !important;
    border-color: #F0A038;
    font-weight: 700;
    font-size: 16px;
  }
  .header-cta:hover {
    background: #ffa83d;
  }
}

@keyframes menuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

