/* ==========================================================================
   ESTRUTURA GLOBAL, FONTES E VARIÁVEIS (Do 2º Código)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400&display=swap');

:root {
  /* Cores baseadas no PDF e no global.css */
  --primary-blue: #3b82f6; 
  --secondary-blue: #1e3a8a; 
  --dark-blue: #00236f;
  --primary-orange: #f97316;
  --primary-yellow: #facc15;
  
  --bg-light: #f9f9f9;
  --text-dark: #334155;
  --text-light: #ffffff;
  
  --font-main: 'Poppins', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 10px rgba(0,0,0,0.15);
  --border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* CARD COLORFULL */
.bg-yellow { background-color: var(--primary-yellow); color: var(--secondary-blue); }
.bg-darkblue { background-color: var(--secondary-blue); }
.bg-orange { background-color: var(--primary-orange); }
.bg-lightblue { background-color: var(--primary-blue); }
.bg-blue { background-color: var(--primary-blue); }

.card-mission { background-color: var(--primary-blue); }
.card-values { background-color: var(--primary-orange); }
.card-vision { background-color: var(--dark-blue); color: var(--primary-orange); }
.card-vision p { color: white; } /* Keep paragraph white */

 /* HEADER & NAVEGAÇÃO */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--primary-blue);
}

.logo-img {
  width: 60px;
  height: 60px; 
  border-radius: 50%;
  overflow: hidden;
}

.nav-links {
  display: flex;
  gap: 30px;
  font-weight: 500;
  align-items: center;
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon-profile {
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--primary-blue);
  cursor: pointer;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.logo-area-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-white);
  }

  .logo-img {
    width: 60px;
    height: 60px; 
    border-radius: 50%;
    overflow: hidden;
  }

.social-icons {
    display: flex;
    gap: 10px;
}
.social-icons div {
    width: 20px; height: 20px;
}

.footer-brand h3 { color: white; margin-bottom: 10px;}
.footer-brand p { font-size: 0.85rem; color: #ccc; margin-bottom: 20px; }
.footer-brand-logo { width: 50px; height: 50px; margin-bottom: 10px; border-radius: 8px;}

.footer-links h4 { color: var(--primary-yellow); margin-bottom: 15px; }
.footer-links ul li { margin-bottom: 8px; font-size: 0.9rem; color: #ccc; cursor: pointer; }
.footer-links ul li:hover { color: white; }

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


/* ==========================================================================
   COMPONENTES ESPECÍFICOS E SEÇÕES (Do 1º Código)
   ========================================================================== */

/* =========================================
BOTÕES (Componentes)
========================================= */

.btn {
display: inline-block;
padding: 12px 28px;
border-radius: 12px;
font-weight: 600;
font-size: 16px;
border: none;
cursor: pointer;
transition: all 0.3s ease;
text-align: center;
}

.btn-orange {
background-color: var(--primary-orange);
color: var(--text-light);
box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
}
.btn-orange:hover { background-color: #e05900; }

.btn-blue {
background-color: var(--primary-blue);
color: var(--text-light);
box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}
.btn-blue:hover { background-color: #2563eb; }

.btn-yellow {
background-color: var(--primary-yellow);
color: var(--secondary-blue);
box-shadow: 0 4px 10px rgba(250, 204, 21, 0.3);
}
.btn-yellow:hover { background-color: #eab308; }

.btn-dark {
background-color: var(--dark-blue);
color: var(--text-light);
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
border-radius: 12px;
padding: 10px 20px;
width: 100%;
}
.btn-dark:hover { background-color: #00174f; }

/* === HERO SECTION === */
.hero-section {
    text-align: center;
    padding: 80px 20px 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.hero-section h1 {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-section h1 span { color: var(--dark-blue); }

.hero-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.4rem;
    color: #555;
}

.hero-image {
    width: 100vw;
    margin-left: calc(-50vw + 50%); /* Força o elemento a quebrar o limite do .container */
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    display: block;
    object-fit: cover;
}

.elion-image {
    max-width: 300px; /* Aumentado o tamanho do mascote (elion) */
    width: 100%;
    margin: 0 auto 30px auto;
}

/* === INFO CARDS (MISSÃO, VALORES, VISÃO) === */
.info-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

.info-card {
    padding: 30px;
    border-radius: 12px;
    color: white;
    box-shadow: var(--shadow-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.info-card p { font-size: 1.2rem; font-weight: 490;}
.info-card h3 { font-size: 1.9rem; font-weight: bold; }
.missao{ color: #FACC15;}
.valores{color: #F97316;}
.info-card .icon-placeholder { width: 100px; height: 100px; border-radius: 50%; }

/* === INOVAÇÃO & HORIZONTES === */
.innovation-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.innovation-box, .horizon-box {
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.innovation-box { background-color: var(--primary-yellow); color: var(--text-dark); }
.innovation-box h2 { color: var(--primary-orange); font-size: 2rem; }
.innovation-box h3 { color: var(--dark-blue); margin-bottom: 15px; }

.horizon-box { background-color: var(--primary-blue); color: white; }
.horizon-box h2 { font-size: 1.9rem; margin-bottom: 15px; color: #FACC15; font-weight: 900}
.horizon-box p { font-size: 1.2rem;}

/* === ODS SECTION === */
.ods-section {
    position: relative;
    display: flex;
    flex-direction: column;
    
    /* Centraliza o conteúdo verticalmente e horizontalmente */
    justify-content: center; 
    align-items: center; 
    
    overflow: hidden;
    width: 100%;
    
    /* Define que a seção vai ocupar pelo menos 100% da altura da tela do usuário */
    min-height: 100vh; 
    
    /* Se preferir uma altura fixa em pixels em vez da tela cheia, use por exemplo: */
    /* height: 800px; */
}

      /* Cidade fica por trás de tudo (z-index: 0) */
      .ods-city-bg {
          position: absolute;
          bottom: 0;
          left: 0;
          width: 100%;
          height: 100%; /* Altura para mostrar apenas os prédios aparecendo no final */
          object-fit: cover;
          object-position: bottom;
          z-index: 0;
          filter: brightness(50%)
      }

      /* Onda azul fica por cima da cidade cobrindo toda a seção de texto (z-index: 1) */
      /* .ods-wave-bg {
          position: absolute;
          padding-bottom: 30rem;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%; 
          object-fit: cover; 
          object-position: center bottom; 
          z-index: 1;
      } */

      /* Conteúdo textual fica no nível mais alto, sobre a onda (z-index: 2) */
      .ods-content {
          position: relative;
          z-index: 2;
          width: 100%;
      }

      .ods-header {
          text-align: center;
          margin-bottom: 50px;
      }

      .ods-header h2 { font-size: 2.2rem; color: var(--primary-yellow); margin-bottom: 10px; font-weight: bold; }
      .ods-header p { color: #ffffff; max-width: 700px; margin: 0 auto; font-size: 1.1rem; font-weight: 490;}

      .ods-grid {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
          gap: 40px;
          width: 100%;
          padding-top: 60px;
      }

      .ods-item {
          display: flex;
          align-items: flex-start;
          flex-direction: column;
          gap: 20px;
          align-items: center;
          justify-content: center;
          text-align: center;
          padding: 0 30px;
      }

      .ods-image-placeholder {
          width: 100px; /* Aumentado um pouco o tamanho dos ícones ODS */
          height: 100px;
          flex-shrink: 0;
          background: transparent;
      }

      .ods-image-placeholder img {
          width: 100%;
          height: 100%;
          object-fit: contain;
          }

      .ods-text h4 { color: var(--primary-yellow); font-size: 1.2rem; margin-bottom: 8px; font-weight: 700; }
      .ods-text p { color: #ffffff; font-size: 1rem; }
      
/* =========================================
    TEAM SECTION
    ========================================= */
.team-section {
padding: 60px 20px 100px; /* AJUSTE: Padding horizontal adicionado para responsividade */
}

.team-title {
text-align: center;
font-size: 2.5rem;
color: var(--dark-blue);
margin-bottom: 50px;
}
.team-title span { color: var(--primary-orange); }

.team-layout {
display: flex;
flex-direction: column;
align-items: center;
gap: 30px;
max-width: 1000px;
margin: 0 auto;
}

.team-row {
display: flex;
justify-content: center;
gap: 30px;
flex-wrap: wrap;
width: 100%;
}

.team-card {
display: flex;
align-items: center;
width: 450px;
max-width: 100%;
}

.team-photo {
width: 110px;
height: 110px;
background-color: #fff;
border-radius: 12px;
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
z-index: 2; 
flex-shrink: 0;
overflow: hidden; /* AJUSTE: Adicionado para cortar a borda da imagem se necessário */
}

.team-photo-img {
width: 100%;
height: 100%;
object-fit: cover;
}

.team-info {
flex: 1;
padding: 15px 20px 15px 30px; 
margin-left: -15px; 
border-radius: 8px;
color: white;
z-index: 1;
box-shadow: var(--shadow-sm);
}

.team-info h3 { font-size: 1.2rem; margin-bottom: 2px; }
.team-info p { font-size: 0.85rem; opacity: 0.9; margin-bottom: 10px; line-height: 1.2;}

/* AJUSTE: Estilização da grid das redes sociais nos cards de equipe para igualar o PDF */
.team-info .social-icons {
display: flex;
gap: 12px;
margin-top: 8px;
}
.team-info .social-icons img {
width: 20px;
height: 20px;
cursor: pointer;
}

/* ==========================================================================
   CARROSSEL VANILLA (Substituição do Bootstrap)
   ========================================================================== */
#carouselExampleDark {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#carouselExampleDark .carousel-inner {
    position: relative;
    width: 100%;
    display: block;
}

#carouselExampleDark .carousel-item {
    position: relative;
    display: none; /* Esconde por padrão */
    width: 100%;
    transition: opacity 0.6s ease-in-out;
    opacity: 0;
}

/* Quando o item estiver ativo, ele aparece com transição suave */
#carouselExampleDark .carousel-item.active {
    display: block;
    opacity: 1;
}

/* Estilização básica dos indicadores (bolinhas) */
#carouselExampleDark .carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    z-index: 15;
    display: flex;
    justify-content: center;
    padding-left: 0;
    margin-right: 15%;
    margin-left: 15%;
    list-style: none;
    gap: 8px;
}

#carouselExampleDark .carousel-indicators button {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 30px;
    height: 3px;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #000; /* Dark version */
    background-clip: padding-box;
    border: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: .5;
    transition: opacity .6s ease;
}

#carouselExampleDark .carousel-indicators button.active {
    opacity: 1;
}

#carouselExampleDark .d-block {
    display: block;
}

#carouselExampleDark .w-100 {
    width: 100%;
}

 /* =========================================
MEDIA QUERIES (Responsividade Integrada)
========================================= */
@media (max-width: 992px) {
.innovation-section { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
.innovation-box h2, .horizon-box h2 { font-size: 1.6rem; }
.innovation-box h3 { font-size: 1.1rem; }
.innovation-box p, .horizon-box p { font-size: 0.95rem; }
.ods-content{ padding: 80px 50px;}

.hero-section{ grid-template-columns: 1fr;}
.elion-image {order: 1;}
.text-elion{ order: 2;}
}

@media (max-width: 600px) {
.footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
}
.footer-brand .logo-area-footer {
    justify-content: center;
}

.team-card {
    flex-direction: column;
    width: 100%;
}

.team-photo {
    margin: 0 auto; 
    z-index: 2;
}

.team-info {
    margin-left: 0; 
    margin-top: -20px; 
    padding: 30px 20px 20px; 
    text-align: center;
    border-radius: 8px;
}

.team-info .social-icons {
    justify-content: center; 
}

/* AJUSTE: Redução extra de texto para telas muito pequenas (celulares em pé) */
.team-info h3 { font-size: 1.1rem; }
.team-info p { font-size: 0.8rem; }
.footer-brand p { font-size: 0.8rem; }
}


