/* =================================================================================

/* ===============================
   0. VARIÁVEIS GLOBAIS
   =============================== */
:root {
  --brand-color: #154C4D;
  --accent-color: #C4751E;
  --primary-color: #004d40;
  --secondary-color: #C4751E;
  --background-color: #f4f6f7;
  --text-color: #333;
  --light-text-color: #fff;
  --border-radius: 8px;
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
}


/* ===============================
   1. NAVBAR / HEADER
   =============================== */
/* Navbar padrão: transparente */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  z-index: 1000;
  background-color: transparent;
}

/* Quando a rolagem acontecer, a cor sólida aparece */
.navbar.navbar-scrolled {
  background-color: #154C4D;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Link nav */
.navbar-nav .nav-link {
  color: #fff !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .dropdown-item:hover {
  color: #FFC107 !important; /* Exemplo de cor de destaque */
}

.dropdown-menu {
  background-color: #154C4D;
  border: none;
  transition: all 0.3s ease;
}

.dropdown-item {
  color: #fff;
}

/* Navbar responsiva */
@media (max-width: 992px) {
  .navbar-collapse {
    background-color: #154C4D;
    padding: 1rem;
  }

  .navbar-nav {
    text-align: left;
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    color: #fff !important;
  }

  .dropdown-menu {
    position: static;
    float: none;
    background-color: #154C4D;
    box-shadow: none;
    padding: 0;
  }

  .dropdown-item {
    padding: 0.5rem 1rem;
  }

  .contactosElocalizacao {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1rem;
  }

  .contactosElocalizacao li {
    margin-bottom: 0.5rem;
  }

  .contactosElocalizacao li a {
    padding: 0.5rem 0;
    display: inline-block;
  }
}

   /* ===============================
   2. HERO SECTION
   =============================== */
.hero-section {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light-text-color);
  background: url(../_images/Bossj.jpg) no-repeat center center / cover;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50.5vh;
  background-color: rgba(0, 0, 0, 0.714);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 1.5rem;
  font-weight: 300;
  margin-top: 10px;
}

/* Logos dos parceiros */
.hero-partners-bar {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1000px;
  background-color: var(--light-text-color);
  padding: 20px 40px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  z-index: 3;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-partners-bar img {
  height: 40px;
  filter: grayscale(100%) opacity(0.6);
  transition: all var(--transition-speed) ease;
}

.hero-partners-bar img:hover {
  filter: grayscale(0%) opacity(1);
}
/* Responsividade */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .hero-partners-bar img {
    height: 30px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.05rem;
  }

  .hero-partners-bar img {
    height: 25px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-partners-bar img {
    height: 22px;
  }
}

/* ===============================
   3. ABOUT US
   =============================== */
.about-us-section {
  padding: 40px 20px;
  overflow: hidden;
  background-color: #fff;
}


.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-color);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.about-content p {
  font-size: 1rem;
  color: var(--text-color);
  text-align: justify;
}
.about-content .about-text{
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border-left: 3px solid var(--primary-color);
  padding: 30px;

  
}
.about-content .about-text p{
  color: #C4751E;
}

.about-mission-vision {
  background-color: var(--light-text-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border-left: 5px solid var(--primary-color);
}

.about-mission-vision h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0;
}

/* ===============================
   4. TABS DINÂMICAS
   =============================== */
.dynamic-tabs-container {
  margin-top: 30px;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  border-bottom: 2px solid #ddd;
}

.tab-button {
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: #777;
  position: relative;
  transition: color var(--transition-speed) ease;
}

.tab-button::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
  transform: scaleX(0);
  transition: transform var(--transition-speed) ease;
}

.tab-button:hover,
.tab-button:focus {
  color: var(--primary-color);
}

.tab-button[aria-selected="true"] {
  color: var(--primary-color);
}

.tab-button[aria-selected="true"]::after {
  transform: scaleX(1);
}

.tab-panel {
  display: none;
  padding: 20px;
  background-color: var(--light-text-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  animation: fadeIn 0.5s ease-in-out;
}

.tab-panel.active {
  display: block;
}

.tab-panel h4 {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-top: 0;
}

/* ===================================================
  5. WHO WE ARE - LAYOUT AVANÇADO (Grid & Responsividade)
  ====================================================== */
.who-we-are-section {
    padding: 60px 0;
    background-color: var(--light-text-color);
}

/* --------------------------------------
   CSS GRID LAYOUT para Desktop (993px+)
   -------------------------------------- */
.leader-spotlight-grid {
    /* Utiliza CSS Grid para uma divisão limpa de 35% / 65% */
    display: grid;
    grid-template-columns: 0.35fr 0.65fr; /* 35% para a imagem, 65% para o conteúdo */
    gap: 60px; /* Espaçamento entre colunas */
    
    /* Estilo do container principal */
    align-items: center; 
    padding: 40px 60px;
    background-color: var(--background-color);
    border-radius: var(--border-radius-large, 12px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); /* Sombra profissional */
    max-width: 1100px;
    margin: 0 auto 80px auto;
}

/* --------------------------------------
   ESTILO DA IMAGEM: Tamanho e Proporção Controlados
   -------------------------------------- */
.spotlight-image-area {
    /* Garante que o item da grid fique centrado na sua área */
    display: flex;
    justify-content: center;
    align-items: center;
}

.leader-image-crop {
    /* Define o tamanho MÁXIMO da imagem (UI/UX) */
    width: 100%;
    max-width: 320px;
    
    /* Técnica de Aspect Ratio para garantir que a imagem não é muito grande */
    aspect-ratio: 4 / 5; /* Proporção ligeiramente vertical (4:5) */
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius, 8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
}

.leader-image-crop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Efeito de Interação (Hover) */
.leader-image-crop:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.leader-image-crop:hover img {
    transform: scale(1.03); 
}

/* --------------------------------------
   ESTILO DO CONTEÚDO (TEXTO): Tipografia e Hierarquia
   -------------------------------------- */
.leader-info h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0;
}

.leader-info .title {
    font-size: 1.15rem;
    color: var(--text-color);
    font-weight: 500;
    margin-top: 5px;
}

.separator {
    width: 80px;
    height: 4px; /* Linha de separação mais grossa */
    background-color: var(--brand-color);
    border: none;
    margin: 20px 0 30px 0;
    opacity: 0.8;
}

/* Estilo da citação (Mensagem) */
.leader-message {
    margin: 0 0 30px 0;
    padding-left: 20px;
    border-left: 5px solid var(--brand-color);
}

.leader-message .quote {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-color-dark, #333);
}

/* Estilo do Nível de Experiência */
.experience-level {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 30px;
    /* Alinhamento e espaçamento com ícone */
    display: flex; 
    align-items: center;
}

.experience-level i {
    font-size: 1.2rem;
    margin-right: 10px;
    color: var(--primary-color);
}

/* Estilo dos Links Sociais */
.social-links-new a {
    color: var(--text-color);
    font-size: 1.6rem;
    margin-right: 25px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links-new a:hover,
.social-links-new a:focus { /* Acessibilidade: Estilo no Foco */
    color: var(--brand-color);
    transform: translateY(-2px);
    outline: none; /* Remover o outline padrão se o estilo for suficiente */
}


/* ===================================================
  RESPONSIVIDADE AVANÇADA (Mobile First)
  ====================================================== */
@media (max-width: 992px) {
    /* Transição para layout de coluna em Tablets/Mobile */
    .leader-spotlight-grid {
        grid-template-columns: 1fr; /* Coluna única */
        padding: 30px 20px;
        gap: 40px;
    }

    /* Ordenar o layout (Opcional: Imagem no topo) */
    .spotlight-image-area {
        order: -1; 
    }
    
    /* Redefinir o tamanho da imagem para Mobile */
    .leader-image-crop {
        max-width: 250px; /* Tamanho máximo de 250px */
        aspect-ratio: 1 / 1; /* Proporção quadrada em mobile */
        margin: 0 auto;
    }

    /* Ajustes de Tipografia */
    .leader-info h3 {
        font-size: 2rem;
        text-align: center; /* Centraliza nome */
    }

    .leader-info .title {
        text-align: center; /* Centraliza título */
    }

    .separator {
        margin: 15px auto 25px auto; /* Centraliza o separador */
    }

    .experience-level,
    .social-links-new {
        justify-content: center; /* Centraliza informação e links */
        display: flex;
        flex-wrap: wrap; /* Permite quebrar em várias linhas se necessário */
    }
}

/* ===============================
            6. VALORES
   =============================== */
.values-container {
  padding-top: 10px;
  border-top: 1px solid #FFC107;
}

.values-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.value-card {
  background-color: var(--background-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  padding: 25px;
  text-align: center;
  transition: all 0.6s ease;
  border-color: var(--secondary-color);
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: #FFC107;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
}

.value-card i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.value-card:hover i {
  color: var(--accent-color);
}

.value-card h4 {
  font-size: 1.3rem;
  margin: 0 0 10px 0;
  color: var(--text-color);
}

.value-card p {
  font-size: 0.95rem;
  color: var(--text-color);
  margin: 0;
}

/* ===============================
   7. ANIMAÇÕES
   =============================== */
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===============================
   8. RESPONSIVO
   =============================== */
@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section-title {
    font-size: 2rem;
  }

  .tabs-nav {
    flex-direction: column;
    border-bottom: none;
  }

  .tab-button {
    width: 100%;
    border-bottom: 1px solid #ddd;
    text-align: left;
  }

  .tab-button::after {
    height: 100%;
    width: 3px;
    top: 0;
    left: -2px;
    transform: scaleY(0);
    transform-origin: center;
  }

  .tab-button[aria-selected="true"]::after {
    transform: scaleY(1);
  }
}
