/* =========================
   Reset e Estilos Base
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: #1a1a1a;
  color: #e5e5ea;
  overflow-x: hidden;
}
.logo-area-link {
  text-decoration: none;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none; /* <-- ADICIONE ESTA LINHA */
}

/* =========================
   Navbar (Consistente com a Home)
========================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #1a1a1a;
  padding: 1rem 2rem;
  z-index: 10000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  transition: transform 0.4s ease;
}
.navbar.hide {
  transform: translateY(-100%);
}
.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px; /* Adicionado para consistência */
  margin: 0 auto;    /* Adicionado para consistência */
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo {
  height: 60px;
}
.brand-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: #fff;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #f7931e;
}
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #1a1a1a;
  padding: 1rem;
}
.mobile-menu a {
  padding: 1rem 0;
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid #333;
}
.mobile-menu.show {
  display: flex;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  min-height: 70vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/sobre.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.4)
    ),
    linear-gradient(to top, #232323 1%, transparent 30%);
}
.hero-content {
  text-align: center;
  color: #fff;
  padding: 1rem;
}
.hero-content h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.4rem);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* =========================
   CARD ÚNICO (Design Refinado)
========================= */
.quem-somos {
  position: relative;
  z-index: 2;
  margin-top: -120px;
  padding: 0 20px 100px;
  display: flex;
  justify-content: center;
}

.qs-card {
  background: #1f1f1f;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  max-width: 1100px;
  width: 100%;
  padding: 48px;
  color: #d7d7df;
  transform: translateY(20px);
  opacity: 0;
  animation: qsDrop 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s forwards;
}
@keyframes qsDrop {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.qs-card h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
}

.qs-card p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #cfcfd6;
  max-width: 75ch;
  margin: 0 auto 1.5rem auto;
  text-align: left;
}

/* =========================
   Grid para os pilares (MVV)
========================= */
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid #2a2a2a;
}

.pilar-card {
  background-color: #232323;
  padding: 1.8rem;
  border-radius: 8px;
  border: 1px solid #2f2f2f;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pilar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.pilar-card h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #f7931e;
  margin-bottom: 1rem;
}

.pilar-card p,
.pilar-card ul {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #ccc;
}

.pilar-card--valores ul {
  list-style: none;
  padding-left: 0;
}

.pilar-card--valores li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 0.5rem;
}

.pilar-card--valores li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f7931e;
  font-weight: bold;
}

/* =========================
   Animações dos elementos internos
========================= */
.animate-internal {
  opacity: 0;
  transform: translateY(15px);
}

/* =========================
   Footer (Consistente com a Home)
========================= */
.footer {
  background-color: #1a1a1a;
  color: #ccc;
  padding: 4rem 2rem 2rem;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-info,
.footer-mapa {
  flex: 1 1 300px;
}

.footer h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #f7931e;
}

.footer-mapa p {
  margin-bottom: 0.5rem;
  color: #ccc;
}

.mapa-embed iframe {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  border: 0;
  margin-top: 0.5rem;
}

.footer-copy {
  border-top: 1px solid #333;
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: #777;
}
.footer-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.footer-line img {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social img {
  width: 22px;
  height: 22px;
  opacity: 0.7;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-social img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* =========================
   Responsivo
========================= */
/* =========================
   Responsivo
========================= */

/* =========================
   Responsivo
========================= */

/* Regras para Telas Maiores (Tablet em modo paisagem, etc) */
@media (min-width: 768px) {
  .hero {
    min-height: 74vh;
  }
  .quem-somos {
    margin-top: -110px;
    padding-bottom: 110px;
  }
  .qs-card {
    padding: 44px 32px;
    max-width: 1020px;
  }
}

/* Regras para Telas Menores (Tablet em modo retrato e Celulares) */
@media (max-width: 768px) {
  /* --- Navbar e Menu Mobile (Mantido do seu original) --- */
  .nav-links {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .mobile-menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border-top: 1px solid #2a2a2a;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    padding: 0 1rem;
    transition: max-height 320ms cubic-bezier(0.22, 0.61, 0.36, 1),
      opacity 220ms ease, transform 320ms cubic-bezier(0.22, 0.61, 0.36, 1),
      padding 200ms ease;
  }
  .mobile-menu.show {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
    padding: 0.75rem 1rem;
  }
  .brand-name {
    font-size: 1.2rem;
  }

  /* --- Hero (Mantido do seu original) --- */
  .hero {
    min-height: 64vh;
  }
  .hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  /* --- ESTILOS ATUALIZADOS PARA O NOVO CARD --- */
  .quem-somos {
    margin-top: -80px; /* Sobreposição ajustada */
    padding: 0 1rem 4rem;
  }

  .qs-card {
    padding: 2rem 1.5rem; /* Padding interno ajustado */
    border-radius: 14px;
  }

  .qs-card h2 {
    font-size: 1.8rem;
  }

  .qs-card p {
    font-size: 1rem;
    line-height: 1.8;
  }

  /* --- NOVO: Grid de Pilares em coluna única --- */
  .pilares-grid {
    grid-template-columns: 1fr; /* Transforma o grid em uma única coluna */
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .pilar-card h3 {
    font-size: 1.2rem;
  }

  .pilar-card p,
  .pilar-card ul {
    font-size: 0.9rem;
  }
}

/* Ajustes finos para celulares muito pequenos */
@media (max-width: 480px) {
  .qs-card {
    padding: 1.5rem 1rem;
  }
}