/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

/* CORES BASE */
:root {
  --preto: #000000;
  --amarelo: #FFDD40;
  --branco: #ffffff;
  --cinza: #1a1a1a;
  --cinza-claro: #2a2a2a;
}

/* BODY */
body {
  background-color: var(--preto);
  color: var(--branco);
}

/* ==================== CONTAINER PRINCIPAL ==================== */

/* CONTAINER PRINCIPAL */
.brands-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 200px 20px;
}

/* SEÇÃO DA MARCA */
.brand-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 100px;
}

/* INVERTE LAYOUT */
.brand-section.reverse {
  flex-direction: row-reverse;
}

/* TEXTO */
.brand-text {
  flex: 1;
}

.brand-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--amarelo);
}

/* Prominent title styling for brand content */
.brand-content h2, .brand-text h2 {
  color: var(--amarelo);
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.05;
}

.brand-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 16px;
}

.brand-location {
  font-size: 0.9rem;
  color: #bdbdbd;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.brand-location:hover {
  color: var(--amarelo);
  background-color: rgba(255, 221, 64, 0.1);
}

/* REDES SOCIAIS DA MARCA */
.brand-social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 221, 64, 0.3);
}

.social-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background-color: rgba(255, 221, 64, 0.1);
  border: 1px solid rgba(255, 221, 64, 0.3);
  border-radius: 6px;
  color: var(--amarelo);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.social-brand:hover {
  background-color: var(--amarelo);
  color: var(--preto);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 221, 64, 0.3);
}

.social-brand i {
  font-size: 1rem;
}

/* MÍDIA */
.brand-media {
  flex: 1;
  background-color: var(--cinza);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.brand-media img,
.brand-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Logo separate from media */
.brand-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 12px 0 18px;
}
.brand-logo img {
  max-width: 160px;
  width: 100%;
  height: auto;
  display: block;
}

.brand-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.brand-actions .social-brand {
  flex: 1 1 50%;
  justify-content: center;
}

/* ==================== FOOTER ==================== */
.footer {
  background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
  padding: 60px 40px 30px;
  border-top: 2px solid #ffcc00;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-section h4 {
  color: #ffcc00;
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-section p {
  font-size: 13px;
  color: #999;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffcc00;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 204, 0, 0.1);
  border: 1px solid #ffcc00;
  border-radius: 50%;
  color: #ffcc00;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: #ffcc00;
  color: #000;
  transform: scale(1.1);
}

/* ==================== RESPONSIVIDADE MOBILE ==================== */
@media (max-width: 768px) {
  /* Navbar mobile */
  .navbar {
    padding: 12px 15px !important;
    flex-wrap: wrap !important;
  }

  .navbar-links {
    display: none !important;
  }

  .hamburger {
    display: block !important;
    cursor: pointer !important;
    padding: 8px !important;
    border-radius: 4px !important;
    transition: background-color 0.3s ease !important;
  }

  .hamburger:hover {
    background-color: rgba(255, 204, 0, 0.1) !important;
  }

  .hamburger span {
    display: block !important;
    width: 25px !important;
    height: 3px !important;
    background-color: #fff !important;
    margin: 5px 0 !important;
    transition: 0.3s !important;
    border-radius: 2px !important;
  }

  /* Mobile menu */
  .mobile-menu {
    position: fixed !important;
    top: 80px !important;
    left: 0 !important;
    width: 100% !important;
    background: #000 !important;
    padding: 20px !important;
    z-index: 999 !important;
    border-top: 2px solid #ffcc00 !important;
    display: none !important;
  }

  .mobile-menu.open {
    display: block !important;
  }

  .mobile-menu a {
    display: block !important;
    padding: 12px 0 !important;
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255, 204, 0, 0.1) !important;
    transition: color 0.3s ease !important;
  }

  .mobile-menu a:hover {
    color: #ffcc00 !important;
  }

  /* Container responsivo */
  .brands-container {
    padding: 20px !important;
  }

  /* Brand sections responsivo */
  .brand-section {
    margin-bottom: 40px !important;
    padding: 20px !important;
  }

  .brand-content {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .brand-text {
    text-align: center !important;
  }

  .brand-text h2 {
    font-size: 2rem !important;
    margin-bottom: 15px !important;
  }

  .brand-text p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  .brand-image img {
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
    margin: 0 auto !important;
  }

  /* Mobile: enforce requested order and layout */
  .brand-section {
    display: block !important;
  }

  .brand-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .brand-content h2 {
    order: 1 !important;
    text-align: left !important;
    font-size: 2.2rem !important;
    color: var(--amarelo) !important;
    font-weight: 800 !important;
    margin-bottom: 8px !important;
  }

  .brand-logo { order: 2 !important; }
  .brand-media { order: 3 !important; }
  .brand-subtitulo, .brand-desc { order: 4 !important; }
  .brand-location { order: 5 !important; }
  .brand-actions { order: 6 !important; display:flex !important; gap:10px !important; }

  /* Keep Instagram and Whatsapp side-by-side on mobile */
  .brand-actions .social-brand {
    flex: 1 1 48% !important;
    margin: 0 !important;
  }

  /* Social brands responsivo */
  .brand-social {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  .social-brand {
    margin: 5px !important;
  }

  /* Footer responsivo */
  .footer {
    padding: 30px 15px !important;
  }

  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .footer-section {
    text-align: center !important;
  }

  /* Imagens responsivas */
  img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Botões responsivos */
  .btn, button, .brand-location, .social-brand {
    width: 100% !important;
    margin: 10px 0 !important;
    text-align: center !important;
  }

  /* Grid responsivo geral */
  .grid, .grid-cols-2, .grid-cols-3, .grid-cols-4 {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  /* Flex responsivo */
  .flex {
    flex-direction: column !important;
  }

  /* Espaçamentos responsivos */
  .p-4, .px-4, .py-4 {
    padding: 15px !important;
  }

  .m-4, .mx-4, .my-4 {
    margin: 15px !important;
  }

  /* Textos grandes */
  .text-5xl, .text-4xl, .text-3xl {
    font-size: 2rem !important;
  }

  .text-2xl, .text-xl {
    font-size: 1.5rem !important;
  }
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333;
}

.footer-bottom p {
  font-size: 13px;
  color: #999;
  margin: 8px 0;
}

.footer-bottom p strong {
  color: #ffcc00;
}
