@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 95%;
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    background-color: #F3F3F3;
}

.logo-logros {
    max-height: 45px;
    overflow: hidden;
}

.flag-logros {
    max-height: 60px;
    overflow: hidden;
}

/* Ajustes para Tablets (até 992px) */
@media screen and (max-width: 992px) {
  .header-content {
    justify-content: space-between; /* Mantém alinhamento lateral */
  }

  .flag-logros img {
    max-height: 50px;
    overflow: hidden;
  }

  .logo-logros img {
    max-height: 38px;
    overflow: hidden;
  }
}

/* Ajustes para Celulares (até 768px) */
@media screen and (max-width: 768px) {
  .header-content {
    justify-content: space-between; /* Mantém alinhamento lateral */
  }

  .flag-logros img {
    max-height: 40px;
    overflow: hidden;
  }

  .logo-logros img {
    max-height: 30px;
    overflow: hidden;
  }
}

/* Para telas muito pequenas (smartphones verticais) */
@media screen and (max-width: 480px) {
  .header-content {
    justify-content: space-between; /* Mantém alinhamento lateral */
  }

  .flag-logros img,
  .logo-logros img {
    max-height: 25px;
    overflow: hidden;
  }
}

img {
    width: 100%;
    height: auto;
    display: block;

}

h1 {
    font-size: 40px;
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    display: block;
    margin: 0;
    padding: 0;
}

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

header {
    background-color: #FFF;
    padding: 20px 40px;
    /* height: 100px; */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 10px 0; */
    /* gap: 40px; */
}

.header-content img {
    height: auto;
    width: auto;
    object-fit: contain;
    margin: 0 5px;
}

/* main {
    background-image: url(../images/Imagen-fondo.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
} */

main {
    position: relative;
    min-height: 65vh; /* Altura mínima, mas ajusta conforme conteúdo */
    z-index: 0;
    overflow: hidden;
}

main::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../images/Imagen-fondo.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.08;
    /* Ajusta la opacidad */
    z-index: -1;
}

.mensaje {
    padding: 40px 60px;
    text-align: left;
}

.mensaje h2 {
    margin-bottom: 15px;
}

.mensaje p {
    font-size: 22px;
}

.monto-preaprobado {
    text-align: center;
    font-size: 22px;
    margin-bottom: 15px;
}

.monto-destaque {
    color: #00B81D; 
    font-weight: bold; 
    font-size: 45px;
}

.contacto {
    text-align: center;
    font-size: 22px;
    padding: 40px 60px;
}

.contacto > p {
    color: #5E5E5E;
    font-weight: bold;
}

.info-ejecutivo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    flex-wrap: wrap; /* Permite que os itens quebrem linha */
}

.btn-contacto {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 25px;
    font-size: 30px;
    transition: all 0.3s ease;
}

/* Estilos responsivos para tablets e celulares */
@media screen and (max-width: 992px) {
    .info-ejecutivo {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .btn-contacto {
        padding: 7px 15px;
        font-size: 24px;
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .contacto {
        padding: 15px 10px;
        font-size: 18px;
    }

    .btn-contacto {
        font-size: 20px;
        padding: 6px 10px;
    }
}

footer {
    background-color: rgba(0, 0, 0, 0.1);
    width: 100%;
    padding-top: 1.8rem;
    padding-bottom: 1rem;
    box-sizing: border-box;
    clear: both;
    height: auto;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-section {
    font-size: 14px;
}

.cert-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 1rem;
}

.cert-logos img {
    height: 40px;
    object-fit: contain;
    justify-self: center;
}

.social {
    display: flex;
    gap: 12px;
}

.social img {
    height: 28px;
    width: 28px;
}

.social a image {
    transition: transform .3s ease;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #007BFF;
    font-weight: 500;
    transition: color .3s ease;
    padding: 10px 0;
}

.map-link img {
    width: 16px;
    height: 16px;
    transition: transform .3s ease;
}

.map-link:hover {
    color: #0056B3;
}

.map-link:hover img,
.social a:hover img {
    transform: translateY(-2px) translateX(2px);
}

@media screen and (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .social {
        justify-content: flex-start;
    }

    .cert-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}