:root {
  --primary-dark: #1a1a2e;
  --accent-red: #c41e3a;
  --text-light: #ffffff;
  --text-muted: #aab4c2;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: var(--primary-dark);
  overflow-x: hidden;
}

.conteudo {
  margin-top: 85px;
  min-height: 70vh;
  background-size: cover;
  background-position: center;
}

/* ============ HEADER CUSTOMIZATION ============ */
header {
  background-color: rgba(26, 26, 46, 0.98);
  border-bottom: 2px solid var(--accent-red);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 10px 0;
}

.navbar-brand img {
  height: 60px;
  width: auto;
}

.nav-link {
  color: white !important;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: none;
  transition: color 0.3s;
  padding: 0.5rem 1rem !important;
}

.nav-link:hover {
  color: var(--accent-red) !important;
}

/* Flags styling */
.flag-icon {
  width: 30px;
  height: auto;
  margin-left: 10px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Desktop Header Layout */
@media (min-width: 992px) {
  .header-top-desktop {
    display: flex;
    justify-content: flex-end;
    margin-bottom: -10px;
    padding-right: 15px;
  }

  .navbar-container-desktop {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
}

/* Mobile Header Layout */
@media (max-width: 991.98px) {
  .navbar-mobile-controls {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .navbar-toggler {
    border: 1px dashed var(--accent-red);
    padding: 4px 8px;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23c41e3a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }

  .offcanvas {
    background-color: var(--primary-dark);
    color: white;
    border-left: 2px solid var(--accent-red);
  }

  .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .offcanvas-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-red);
  }

  .offcanvas .nav-link {
    font-size: 1.1rem;
    padding: 15px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
  }

  header {
    padding: 5px 0;
  }
}

/* ============ HERO SECTION ============ */
.hero {
  margin-top: 80px;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

@media (max-width: 991.98px) {
  .hero {
    margin-top: 60px;
    /* Ajuste exato para mobile */
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.6) 0%, rgba(26, 26, 46, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding-left: 5%;
}

.hero-label {
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-family: 'Bebas Neue', sans-serif;
  color: var(--accent-red);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

/* ============ CARDS SECTION ============ */
.section-cards {
  padding: 80px 0;
  background-size: cover;
  background-position: center;
}

.custom-card {
  position: relative;
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
  cursor: pointer;
  border: none;
  margin-bottom: 20px;
}

.custom-card:hover {
  transform: translateY(-10px);
}

.card-img-overlay {
  background: rgba(26, 26, 46, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.custom-card:hover .card-img-overlay {
  background: rgba(26, 26, 46, 0.8);
}

.card-title-custom {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: white;
  text-transform: uppercase;
}

/* ============ PILOTS SECTION ============ */
.pilots-section {
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
}

.pilots-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.85) 0%, rgba(180, 20, 30, 0.85) 100%);
}

.pilots-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.pilots-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 3rem;
}

.btn-custom {
  padding: 12px 35px;
  font-weight: 600;
  border-radius: 5px;
  text-transform: uppercase;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}

.btn-dark-custom {
  background-color: var(--primary-dark);
  color: white;
  border: none;
}

.btn-dark-custom:hover {
  background-color: #2a2a3e;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ============ GALLERY ============ */
.gallery-section {
  padding: 80px 0;
}

.gallery-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  text-align: center;
  margin-bottom: 50px;
}

.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s;
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.03);
}

/* ============ FOOTER ============ */
footer {
  background-color: var(--primary-dark);
  color: white;
  padding: 60px 0 20px;
}

.footer-logo-svg {
  margin-bottom: 20px;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: white;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  margin-right: 20px;
  transition: transform 0.3s, color 0.3s;
  display: inline-block;
}

.social-icons a:hover {
  color: var(--accent-red);
  transform: translateY(-3px);
}

/* Mobile adjustments for footer logo */
@media (max-width: 991.98px) {
  .footer-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
  }

  .footer-links {
    text-align: center;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 10px;
  padding-top: 10px;
  text-align: center;
  font-size: 0.8rem;
  color: #7a8899;
}