@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ==========================================================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* para o responsivo não quebrar */
    font-family: "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8f9fa; /*
    color: #333;
    overflow-x: hidden;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
header {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.JA {
    color: #1c4d96;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1c4d96;
}

/* ==========================================================================
   SEÇÃO INÍCIO
   ========================================================================== */
#inicio {
    width: 100%;
}

.imagentop {
    position: relative;
    width: 100%;
    height: 70vh; 
    min-height: 400px;
    display: flex;
    align-items: center;
}

.imagenslogan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.449) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.textslogan {
    position: relative;
    z-index: 3;
    padding-left: 5%;
    color: white;
}

.texto1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.texto2 {
    font-size: 1.5rem;
    font-weight: 300;
}

/* ==========================================================================
   ESTILO Para as seções Sobre e Licenças)
   ========================================================================== */
.section {
    padding: 30px 5%; /* Espaçamento padrão para todas as seções UNIVERSAL*/
    max-width: 1400px;
    margin: 0 auto;
}

.card-padrao {
    display: flex;
    align-items: center;
    background-color: #ffffff;  */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.305); /* Sombra elegante */
    padding: 40px;
    gap: 40px;
}

.card-padrao.reverso {
    flex-direction: row; 
}

/* Imagens dentro dos cartões */
/* Textos dentro dos cartões */
.text, .text-content {
    flex: 1; /* para o texto ocupar o espaço que sobrar */
}

.image-content {
    flex: 0 0 45%; 
    max-width: 500px;
    display: flex;
}

.logo2 {
    width: 40%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.image-content img {
    width: 100%; 
    height: 100%; 
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-padrao h1 {
    color: #1c4d96;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.card-padrao p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

/* ==========================================================================
   CAIXAS (Clientes, Soluções, etc)
   ========================================================================== */
.caixamaioral {
    margin-top: 40px;
}

.desingcaixa {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.CAIXAS {
    background-color: #f4f7f6;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e1e8ed;
}

.CAIXAS:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(28, 77, 150, 0.15);
}

.ICONES {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.NUMEROS {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1c4d96;
}

.MINITEXTO {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* ==========================================================================
   DÚVIDAS FREQUENTES
   ========================================================================== */
.faq-section {
    max-width: 900px; 
}

.box {
    margin-bottom: 15px;
}

.XXX {
    background-color: #1c4d96;
    color: white;
    padding: 18px 25px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.XXX:hover {
    background-color: #153a74;
}

.arrow {
    font-size: 1.5rem;
}

.content {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 0 0 8px 8px;
    display: none;
    border: 1px solid #e1e8ed;
    border-top: none;
    color: #555;
    line-height: 1.6;
}

.content ul {
    padding-left: 20px;
    margin-top: 10px;
}

/* Bandeiras */
.states {
    text-align: center;
}

.flags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.flags img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.flags img:hover {
    transform: scale(1.2);
}

/* ==========================================================================
   MAPA E FOOTER
   ========================================================================== */
.MAP {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px 5%; 
  flex-direction: column;
}

.maps {
  margin-top: 10px;
  width: 100%;
  max-width: 900px; 
  border-radius: 15px;
  box-shadow: 0 1px 1rem rgba(0, 0, 0, 0.427);
}

.maps iframe {
  border-radius: 15px;
  width: 100%;
  height: 450px; /
  display: block;
}

footer {
    background-color: #1c4d96;
    color: #fff;
    text-align: center;
    padding-top: 40px;
}

.footer-content {
    padding: 0 5% 20px;
}

.footer-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.social-media {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-media img {
    width: 45px;
    transition: transform 0.3s;
    filter: brightness(0) invert(1);
}

.social-media img:hover {
    transform: scale(1.2);
}

.email-link {
    color: #aaccff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
}

.footer-bottom {
    background-color: #0b2246;
    padding: 15px 0;
    font-size: 0.9rem;
    color: #ccc;
}

/* BOTÃO WHATSAPP */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    transition: transform 0.3s ease;
}

.whatsapp-button img {
    width: 65px;
    height: 65px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   (MOBILE)
   ========================================================================== */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 10px;
        gap: 15px;
        text-align: center;
    }

    .logo {
        flex-direction: column;
        gap: 5px;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    .JA {
        font-size: 1.4rem;
    }

    nav {
        width: 100%;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav-links a {
        font-size: 1rem;
    }

    /* Hero Section Ajustes */
    .texto1 {
        font-size: 2.2rem;
    }
    
    .texto2 {
        font-size: 1.1rem;
    }

    .card-padrao {
        flex-direction: column !important; /* Força empilhar */
        padding: 25px 20px;
        gap: 20px;
    }

    .logo2, .image-content, .image-content img {
            width: 100%;
            max-width: 100%;
            flex: auto; 
        }

    .card-padrao h1 {
        text-align: center;
    }

    .desingcaixa {
        grid-template-columns: 1fr; 
    }

    /* Ajustes Gerais */
    .section {
        padding: 40px 5%;
    }

    .maps iframe {
        height: 300px;
    }

    .whatsapp-button {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-button img {
        width: 55px;
        height: 55px;
    }
}