/* dezentizacao.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* VARIÁVEIS DE CORES */
:root {
   
  --verde-bandeira: #006400; /* verde bandeira típico */
  --verde-escuro: #14424b;
  --verde-primario: #2e8b57;
  --verde-secundario: #3cb371;
  --laranja: #ff7c37;
  --amarelo: #ffc107;
  --branco: #ffffff;
  --cinza-escuro: #343a40;
  --cinza-medio: #495057;
  --cinza-claro: #f8f9fa;
  --texto-cinza: #6c757d;
  --degrade-btn: linear-gradient(to right, #fe9611, #ff5c00);
  --sombra: 0 5px 15px rgba(0, 0, 0, 0.1);
  
}
body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    padding: 0 5%;
    margin: 0 auto;
}

section {
    padding: 4rem 0;
}



/* RESET E ESTILOS GERAIS */


@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
/* BOTÕES */
.btn-gradiente {
    padding: 12px 30px;
    color: var(--branco);
    border: none;
    cursor: pointer;
    background-image: var(--degrade-btn);
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-gradiente:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
/* HEADER E NAVEGAÇÃO */
.background-verde {
    background-image: url('../imag/copianao.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 80vh;
    position: relative;
    color: var(--branco);
}

.background-verde::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

header, main {
    position: relative;
    z-index: 2;
}
/* No seu CSS - Adicione estas regras: */

/* Container do logo (ajuste se necessário) */
.logo-container {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

/* Imagem do logo - ESTILO PRINCIPAL */
.logo-img {
    height: 120px !important; /* Força o tamanho */
    width: auto;
    max-width: 350px !important; /* Evita que fique muito largo */
    transition: transform 0.3s ease;
}
 /* Tablet (992px pra baixo) */
 @media (max-width: 992px) {
    .logo-img {
        height: 100px !important; /* Quase do mesmo tamanho que desktop */
    }
  }
  
  /* Celular (768px pra baixo) - DEIXEI BEM GRANDE */
  @media (max-width: 768px) {
    .logo-img {
        height: 90px !important; /* Muito maior que antes (era 50px) */
        max-width: 280px !important; /* Evita que ultrapasse a tela */
    }
  }
  
  /* Celular pequeno (576px pra baixo) - Ajuste extra */
  @media (max-width: 576px) {
    .logo-img {
        height: 80px !important; /* Grande mesmo em telas pequenas */
        max-width: 250px !important;
    }
  }



/* Caso esteja usando Bootstrap 5, adicione isso para sobrescrever */
.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 1rem;
}

header {
  position: relative;
  z-index: 2;
}

.navbar {
  padding: 15px 0;
}

.navbar-brand img {
  height: 50px;
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  padding: 8px 15px;
  position: relative;
  color: var(--branco) !important;
}

.nav-link:hover {
  color: var(--amarelo) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--amarelo);
  bottom: 0;
  left: 15px;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: calc(100% - 30px);
}

.dropdown-menu {
  border: none;
  box-shadow: var(--sombra);
}

.dropdown-item {
  padding: 8px 20px;
}

.dropdown-item:hover {
  background-color: var(--verde-primario);
  color: var(--branco);
}

/* ===== RESULTADOS ===== */
.resultados {
    background: #d34507;
}

.resultados .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}

.resultados .resultados-text {
    color: white;
    font-size: 1.6rem;
    font-weight: 600;
    width: 100%;
    text-align: center;
}

.resultados .resultados-numeros {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    color: white;
    margin-top: 30px;
}

.resultados .resultados-numeros p {
    text-align: center;
    font-size: 30px;
    margin: 20px;
}

.resultados .resultados-numeros p span {
    font-size: 30px;
    font-weight: 600;
    display: block;
}

@media (max-width: 440px) {
    .resultados .resultados-numeros {
        flex-direction: column;
    }
}

/* ===== SOBRE ===== */
.txt-sobre {
    flex: 1;
}

.txt-sobre h2 {
    font-size: 2.5rem;
    color: var(--verde-escuro);
    margin-bottom: 20px;
}

.txt-sobre h2 span {
    color: var(--verde);
}

.txt-sobre p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* ===== TÍTULO PERSONALIZADO ===== */
.titulo-personalizado {
    font-size: 1.5em;
    text-align: center;
    position: relative;
    margin: 40px 0;
    padding: 20px 0;
    color: white;
}

.titulo-personalizado::before,
.titulo-personalizado::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background-color: #d43b15;
}

.titulo-personalizado::before {
    top: 0;
}

.titulo-personalizado::after {
    bottom: 0;
}


/* ===== SEPARADOR ===== */
.section-divider {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 40px 0;
}

.btn-gradiente {
    padding: 12px 30px;
    color: var(--branco);
    border: none;
    cursor: pointer;
    background-image: var(--degrade-btn);
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-gradiente:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== BOTÕES SOCIAIS ===== */
.btn-social {
    display: flex;
    gap: 15px;
}

.btn-social button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background-color: var(--verde);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-social button:hover {
    background-color: var(--verde-escuro);
    transform: translateY(-5px);
}

.btn-social button svg {
    width: 24px;
    height: 24px;
}
.main-text h1 {
    font-size: 4.5rem;
    margin: 50px 0 20px 0; /* Ajuste o primeiro valor (top) conforme necessário */
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 1s ease-out forwards;
}

.main-text div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

.main-text button {
    padding: 10px 20px;
    font-size: 1rem;
    color: white;
    background-color: var(--verde);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.main-text button:hover {
    background-color: var(--verde-escuro);
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== FORMULÁRIO ===== */
.formulario {
    padding: 80px 0;
    background-color: #fff;
}

.formulario .titulo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.formulario .titulo span {
    color: var(--verde);
}

form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input, form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

form input:focus, form textarea:focus {
    border-color: var(--verde);
}

form textarea {
    resize: none;
    max-height: 200px;
}

form .btn-enviar input {
    width: 128px;
    padding: 10px;
    background-color: var(--verde);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form .btn-enviar input:hover {
    background-color: var(--verde-escuro);
}

/* ===== FOOTER ===== */
footer {
        background-color: var(--verde-bandeira);
        padding: 40px 0;
        color: white;
        text-align: center;
    }
    


footer .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

footer p, footer a {
    font-size: 14px;
    color: #ccc;
}
.menu-icon {
    display: none;
    position: relative;
    z-index: 10;
}
/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .nav-ul {
        position: fixed;
        background: var(--verde-escuro);
        top: 0;
        width: 100%;
        height: 100%;
        left: 100%;
        transition: 0.3s;
        flex-direction: column;
        justify-content: center;
    }

    .nav-ul.ativo {
        left: 0;
    }
    .main .container{
        flex-direction: column;
    }
    .main .container .main-img{
        width: 100%;
    }

    .btn-social {
        justify-content: center;
    }

    .formulario .titulo {
        font-size: 1.5rem;
    }

    footer .container {
        flex-direction: column;
        align-items: center;
    }

    .valores-lista li {
        flex-direction: column;
        max-width: 100%;
    }

    .imagem-container, .texto-container {
        width: 100%;
    }

    .imagem-container {
        height: auto;
    }
}

/* Estilo do ícone do menu */
.menu-icon {
    display: none; /* Esconde o ícone em telas maiores */
    cursor: pointer;
}

/* Estilo da lista de navegação */
.nav-ul {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Estilo do menu mobile */
@media (max-width: 768px) {
    .menu-icon {
        display: block; /* Mostra o ícone em telas menores */
    }

    .nav-ul {
        position: fixed;
        top: 0;
        right: -100%; /* Esconde o menu fora da tela */
        width: 80%;
        height: 100vh;
        background-color: var(--verde-escuro);
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease;
    }

    .nav-ul.ativo {
        right: 0; /* Mostra o menu */
    }
}

/* ===== EFEITO PARA <h2> ===== */
h2 {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--orange);
    transition: width 0.3s ease;
}

h2:active::after {
    width: 100%;
}
.galeria-slider {
    position: relative;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
    border-top: 3px solid #ccc; /* Linha grossa acima - aumentei para 3px */
    border-bottom: 3px solid #ccc; /* Linha grossa abaixo - aumentei para 3px */
}

/* O restante do seu CSS permanece exatamente igual */
.slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    position: relative;
    height: 500px;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.slide.active .slide-caption {
    transform: translateY(0);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}
.pilares {
    background: #f4f4f4;
    padding: 50px 0;
}

.pilares h2 {
    color: var(--verde-escuro);
    text-align: center;
    margin-bottom: 20px;
}

.pilares-lista {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    list-style: none;
}

.pilares-lista li {
    display: flex;
    flex-direction: row-reverse; /* Inverte a ordem para imagem à direita */
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    width: 100%;
    max-width: 1000px; /* Ajuste conforme necessário */
    transition: transform 0.3s ease;
}

.pilares-lista li:hover {
    transform: scale(1.02);
}

.imagem-container {
    width: 45%;
    height: 300px; /* Altura fixa para a imagem */
    overflow: hidden;
}

.imagem-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pilares-lista li:hover .imagem-container img {
    transform: scale(1.1);
}

.texto-container {
    width: 55%;
    padding: 30px;
    display: flex;
    align-items: center;
}

.logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pilares-lista li:hover .logo-overlay {
    opacity: 1;
}

.pilares-lista p {
    color: var(--color-p);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}
.pilares-lista p span {
    color: var(--verde);
    font-weight: bold;
}

/* Responsivo para tablets */
@media (max-width: 768px) {
    .pilares-lista li {
        flex-direction: column;
    }
    .imagem-container, .texto-container {
        width: 100%;
    }
    .imagem-container {
        height: 200px;
    }
}

/* Responsivo para mobile */
@media (max-width: 480px) {
    .texto-container {
        padding: 20px;
    }
    .pilares-lista p {
        font-size: 1rem;
    }
    
    .pilares-lista li {
        overflow: visible; /* Permite que a imagem se mova para fora */
    }
    
    .imagem-container {
        will-change: transform; /* Otimização para animações */
        z-index: 1; /* Garante que a imagem fique acima de outros elementos */
    }
    .imagem-media {
        width: 200px; /* Largura desejada */
        height: auto; /* Mantém a proporção da imagem */
      }
      .imagem-media {
        width: 200px;
        height: 200px;
        object-fit: cover; /* Garante que a imagem cubra o espaço sem distorcer */
      }
      .imagem-media {
        width: 300px;
        height: auto; /* Mantém a proporção da imagem */
        display: block; /* Transforma a imagem em um elemento de bloco */
        margin: 0 auto; /* Centraliza horizontalmente */
      }
       /* Título principal */
       .main-text h1 {
        font-size: 4.5rem;
        margin: 50px 0 20px 0;
        white-space: normal; /* Permite quebrar linha */
        opacity: 0;
        transform: translateY(-20px);
        animation: fadeInDown 1s ease-out forwards;
        text-align: center; /* Opcional: centralizar o texto */
        color: var(--branco); /* Garante legibilidade sobre fundo escuro */
    }
    
  
  /* Ajuste do overlay do header */
  .background-verde::before {
    background: rgba(255, 255, 255, 0.85); /* Fundo branco mais sólido */
  }
  
  /* Se precisar ajustar o contraste do restante do texto */
  .main-text h2,
  .main-text p {
    color: #ed0808; /* Texto escuro para contraste */
  }
  
  /* Responsividade */
  @media (max-width: 768px) {
    .main-text h1 {
      font-size: 2rem;
      margin: 5px 0 10px 0;
    }
  }
  
  @media (max-width: 480px) {
    .main-text h1 {
      font-size: 1.7rem;
    }
    @keyframes fadeInDown {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    

  }
  
    
}
