﻿/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;

}

body {
    background: #fff;
    color: #fff;
    padding-top: 90px;
}

html {
    scroll-behavior: smooth;
}

:target {
    scroll-margin-top: 90px;
}

.container {
    max-width: 1200px;
    /* ou o mesmo que você usa na hero */
    margin: 0 auto;
    color: #000;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    height: 100px;
    display: flex;
    align-items: center;
}

/* Colocar o conteúdo do header dentro do container */
.header .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo img {
    height: 3rem;
    /* controla o tamanho da logo */
    display: block;
}


.menu {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.menu a {
    position: relative;
    color: #005085;
    /* pode trocar pra branco se quiser destacar no fundo azul */
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #005085;
    /* mesma cor do texto */
    transition: width 0.3s ease;
}

.menu a:hover::after {
    width: 100%;
}


/* Hero */
.hero {
    display: flex;
    justify-content: center;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-box {
    position: relative;
    width: 100%;
    min-height: 400px;
    background: url("assets/Heros/Hero1.png") no-repeat center/cover;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 40px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.hero-content h1 {
    margin-bottom: 20px;
    line-height: 2;
}

.hero-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ddd;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid #fff;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #fff;
    color: #000;
}

/* SEGMENTOS ATENDIDOS*/
.segmentos {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    color: #000;
}

.segmentos h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: 262626;
}

/* CARDS */
.card {
    flex: 0 0 350px;
    /* largura */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f8f8;
    border-radius: 15px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 20px;
    gap: 15px;
}

.card-text {
    flex: 1;
}

.card-text h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #000;
}

.card-text p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #444;
}

.btn-card {
    padding: 6px 12px;
    border: 1px solid #000;
    border-radius: 6px;
    text-decoration: none;
    color: #000;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-card:hover {
    background: #adadad;
    color: #fff;
}

.card-img {
    flex: 0 0 120px;
    /* largura fixa para a imagem */
    height: 100px;
    /* altura fixa */
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* imagem preenche certinho */
    border-radius: 10px;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* impede scroll no fundo */
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn .3s ease;
}

/* Caixa do modal */
.modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 30px 25px;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    position: relative;

    /* ALINHAMENTO CENTRAL */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* alinha no meio vertical */
    align-items: center;
    /* alinha no meio horizontal */
    text-align: center;
}

/* Scroll estilizado (Chrome, Edge, Safari) */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Botão fechar (X) */
.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #999;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: .2s;
}

.close:hover {
    color: #000;
}

#modal-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #000;
}

#modal-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    white-space: pre-line;
}



/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Principais Soluções  */

.solucoes {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    color: #000;
}

.solucoes h2 {
    font-size: 1.8rem;

    color: #000;
}

/* Container em grid flexível */
.solucoes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;

}

/* Card Solução*/
.solucao-card {
    flex: 0 0 220px;
    /* largura fixa */
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.solucao-card:hover {
    transform: translateY(-5px);
}

.solucao-card img {
    border-radius: 16px;
    width: 100%;
    height: 150px;
    object-fit: contain;
    /* mantém proporção da imagem */
}

.solucao-card h3 {
    font-size: 0.95rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

.solucao-card p {
    font-size: 0.85rem;
    color: #444;
    line-height: 1.4;
}




/* Hero 2 - Segunda Imagem */
.hero-2 {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.hero-box-2 {
    display: flex;
    align-items: stretch;
    /* garante alturas iguais */
    border-radius: 20px;
    overflow: hidden;
    /* cantos arredondados valem pros dois lados */
    min-height: 320px;
}


/* Lado do texto (fundo azul) */
.hero-text-2 {
    flex: 1;
    background: #dcec67;
    /* azul claro */
    padding: 40px;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text-2 h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #000;
    /* azul escuro */
}

.hero-text-2 p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-2 {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid #000;
    border-radius: 30px;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.btn-2:hover {
    background-color: #b0bc52;
    color: #fff;
}

/* Lado da imagem “complementando” */
.hero-img-2 {
    flex: 1;
    position: relative;
    min-height: 320px;
    /* garante área pra imagem mesmo se o texto for curto */
}

.hero-img-2 img {
    position: absolute;
    inset: 0;
    /* top/right/bottom/left = 0 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* cobre toda a metade, sem deformar */
    display: block;
    /* elimina espaços fantasmas */
}

/* Hero 2 - Cards */

.solucoes-consultoria {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    color: #000;
}

.solucoes-consultoria h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #000;
    text-align: left;
}



/* Lado do texto (fundo azul) */
.hero-text-3 {
    flex: 1;
    background: #ba5f10;
    padding: 40px;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text-3 h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #fff;
    /* azul escuro */
}

.hero-text-3 p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #fff;
}

.btn-3 {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid #fff;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.btn-3:hover {
    background-color: #944c0c;
    color: #fff;
}

/* Lado da imagem “complementando” */
.hero-img-3 {
    flex: 1;
    position: relative;
    min-height: 320px;
    /* garante área pra imagem mesmo se o texto for curto */
}

.hero-img-3 img {
    position: absolute;
    inset: 0;
    /* top/right/bottom/left = 0 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* cobre toda a metade, sem deformar */
    display: block;
    /* elimina espaços fantasmas */
}

/* Lado do texto (fundo azul) */
.hero-text-4 {
    flex: 1;
    background: #ac9583;
    padding: 40px;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text-4 h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #000;
    /* azul escuro */
}

.hero-text-4 p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-4 {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid #000;
    border-radius: 30px;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.btn-4:hover {
    background: #897768;
    color: #fff;
}

/* Lado da imagem “complementando” */
.hero-img-4 {
    flex: 1;
    position: relative;
    min-height: 320px;
    /* garante área pra imagem mesmo se o texto for curto */
}

.hero-img-4 img {
    position: absolute;
    inset: 0;
    /* top/right/bottom/left = 0 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* cobre toda a metade, sem deformar */
    display: block;
    /* elimina espaços fantasmas */
}



/* Lado do texto (fundo azul) */
.hero-text-5 {
    flex: 1;
    background: #BBBBBB;
    padding: 40px;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text-5 h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #727485;
    /* azul escuro */
}

.hero-text-5 p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-5 {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid #727485;
    border-radius: 30px;
    color: #727485;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.btn-5:hover {
    background: #959595;
    color: #fff;
}

/* Lado da imagem “complementando” */
.hero-img-5 {
    flex: 1;
    position: relative;
    min-height: 320px;
    /* garante área pra imagem mesmo se o texto for curto */
}

.hero-img-5 img {
    position: absolute;
    inset: 0;
    /* top/right/bottom/left = 0 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* cobre toda a metade, sem deformar */
    display: block;
    /* elimina espaços fantasmas */
}

#especialista {
    display: flex;
    justify-content: center;
    /* centraliza horizontal */
    align-items: center;
    /* centraliza vertical */
    background: #fff;
    /* fundo branco, pode trocar */
    text-align: center;
    color: #000;
}

/* Container do formulário */
form {
    background: #fff;
    padding: 20px 0;
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
    font-family: "Arial", sans-serif;
}

/* Labels */
form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #333;
}

/* Inputs, selects e textarea */
form input,
form select,
form textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: none;
    border-bottom: 2px solid #ccc;
    background: #f9fafc;
    border-radius: 4px 4px 0 0;
    transition: border-color 0.3s ease;
}

/* Placeholder cinza */
form input::placeholder,
form textarea::placeholder {
    color: #999;
    font-size: 14px;
}

/* Foco azul */
form input:focus,
form select:focus,
form textarea:focus {
    border-color: #0077cc;
    outline: none;
}



/* Layout em duas colunas */
.row {
    display: flex;
    gap: 20px;
}

.row .col {
    flex: 1;
}


/* Botão */
form button {
    background: #111;
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s ease;
}

/* ===== Footer ===== */
.footer {
    background: #fff;
    color: #000;
    font-size: 14px;
    width: 100%;
    border-top: 1px solid #eee;
    display: flex;
    /* centraliza o conteúdo */
    justify-content: center;
    /* horizontal */
    align-items: center;
    /* vertical (no caso de alturas pequenas) */
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 2rem 28px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* centraliza internamente */
    align-items: center;
    /* centraliza colunas no centro */
}

/* Grid das colunas */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 8rem;
    align-items: start;
    justify-content: center;
    width: 100%;
}

/* Colunas */
.footer-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    /* centraliza o texto e a logo */
    text-align: center;
    color: #000;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-text {
    line-height: 1.6;
    max-width: 320px;
}

/* Logo */
.footer-logo-inline {
    display: block;
    width: clamp(120px, 12vw, 150px);
    height: auto;
    margin-bottom: 12px;
}

/* Links */
.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-list li {
    margin: 5px 0;
}

.footer a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #0a66c2;
}

/* Redes sociais */
.footer-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.footer-socials .social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: solid transparent;
    transition: transform .3s, opacity .3s, border-color .2s;
}

.footer-socials .social-icon:hover {
    transform: scale(1.05);
    opacity: 1;
    border-color: #0a66c2;
}

#linhafooter {
    border-top: 1px solid #eee;
    width: 100%;
    background: #0f1850;
}

/* ============= Footer final =========== */
.footer-bottom {
    background: #fff;
    padding: 18px 40px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer-bottom-inner {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    /* separa texto e logos */
    align-items: center;
}

/* Texto à esquerda */
.footer-bottom-inner p {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    color: #000;
    flex-shrink: 0;
    /* impede de encolher */
}

/* ===== Imagens à direita ===== */
.footer-images {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;

}

.footer-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-img:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* Remove setas de inputs numéricos (só por segurança) */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}



/* CAROUSEL */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari e Edge moderno */
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px;
}

/* BOTÃO MOVIMENTO CARD */
.btn-card {
    padding: 8px 18px;
    border: 2px solid #000;
    border-radius: 30px;
    /* arredondado estilo pill */
    text-decoration: none;
    color: #000;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-card:hover {
    transform: translateY(-5px);
}

.carousel-container button {
    background-color: unset;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-container .prev {
    left: -20px;
}

.carousel-container .next {
    right: -20px;
}


/* PÁGINA SOBRE */

/* ===== PARCERIA ===== */
.parceria {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 30px 10%;
    flex-wrap: wrap;
    /* permite quebrar em telas menores */
}

/* Grid: mesma estrutura em 3 colunas no desktop */
.parceria-grid {
    display: grid;
    grid-template-columns: 0.8fr 0.8fr;
    /* descrição maior */
    gap: 3rem;
    align-items: start;
    /* alinha topo das colunas (logo e “Contato” ficam na mesma linha) */
    width: 100%;
}

.parceria-img img {
    width: 80%;
    max-width: 500px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.parceria-texto {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.parceria-texto h2 {
    font-size: clamp(20px, 2.5vw, 32px);
    /* responsivo automático */
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.4;
    color: #111;
}

/* ===== SOBRE ===== */
.sobre {
    padding: 80px 8%;
    background: #fafafa;
}

.sobre .container {
    max-width: 1000px;
    margin: 0 auto;
}

.sobre h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    margin-bottom: 24px;
    color: #111;
    text-align: center;
}

.sobre p {
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.7;
    color: #333;
    margin-bottom: 18px;
    text-align: justify;
}

/* ≤ 575px — Mobile pequeno */
@media (max-width: 575.98px) {
    .parceria {
        padding: 40px 5%;
        gap: 20px;
    }

    .parceria-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .parceria-img img {
        width: 100%;
        max-width: 340px;
    }

    .parceria-texto {
        text-align: center;
    }

    .parceria-texto h2 {
        font-size: 22px;
    }

    .sobre {
        padding: 50px 5%;
    }

    .sobre h2 {
        font-size: 24px;
    }

    .sobre p {
        font-size: 15px;
        line-height: 1.6;
    }
}

/*termos de uso*/

.termos {
    padding: 80px 10%;
    background: #fff;
    color: #333;
    line-height: 1.6;
}

.termos .container {
    max-width: 1000px;
    margin: 0 auto;
}

.termos h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.termos hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 20px 0;
}

.termos h2 {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.termos h3 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 8px;
}

.termos p {
    margin-bottom: 15px;
    text-align: justify;
}

/* 1) Correção de cor faltando '#' (override sem alterar sua regra original) */
.segmentos h2 {
    color: #262626;
}

/* 2) Acessibilidade: foco visível consistente */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.btn-card:focus-visible,
.close:focus-visible,
.menu:focus-visible,
.carousel-container .prev:focus-visible,
.carousel-container .next:focus-visible {
    outline: 2px solid #0a66c2;
    outline-offset: 2px;
    border-radius: 6px;
}

/* 3) Suaviza fontes em vários SOs */
html {
    -webkit-text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 4) Carrossel mais “touch-friendly” */
.carousel-container button {
    padding: 12px;
    user-select: none;
    touch-action: manipulation;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    inset: auto 0 0 0;
    background: #0b1220;
    color: #e5e7eb;
    border-top: 1px solid rgba(255, 255, 255, .12);
    z-index: 9999;
    padding: 14px 0;
}

.cookie-content {
    max-width: var(--container, 1160px);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5
}

.cookie-link {
    color: #c7d2fe;
    text-decoration: underline
}

.cookie-accept {
    background: linear-gradient(135deg, var(--primary, #3b82f6), var(--accent, #8b5cf6));
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.cookie-accept:hover {
    filter: saturate(1.1)
}

/* =========================================
   ≥ 1400px — Wide Desktop
========================================= */
@media (min-width: 1400px) {

    /* HEADER */
    .menu-overlay {
        right: 0;
        transform: translateX(100%);
        will-change: transform;
    }

    .menu-overlay.active {
        transform: translateX(0);
    }

    /* FOOTER */
    .footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
    }

    .footer-bottom-inner {
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-images {
        flex-wrap: wrap;
        min-width: 0;
    }
}

/* =========================================
   1200px–1399px — Desktop compacto
========================================= */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .menu-overlay {
        right: 0;
        transform: translateX(100%);
    }

    .menu-overlay.active {
        transform: translateX(0);
    }

    .footer-bottom-inner {
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer-images {
        flex-wrap: wrap;
        min-width: 0;
    }
}

/* =========================================
   992px–1199px — Laptop grande
========================================= */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .menu-overlay {
        right: 0;
        transform: translateX(100%);
    }

    .menu-overlay.active {
        transform: translateX(0);
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 3.5rem;
    }

    .footer-bottom-inner {
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer-images {
        flex-wrap: wrap;
        min-width: 0;
    }
}

/* =========================================
   768px–991px — Tablet
========================================= */
@media (min-width: 768px) and (max-width: 991.98px) {
    .menu-overlay {
        right: 0;
        transform: translateX(100%);
    }

    .menu-overlay.active {
        transform: translateX(0);
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 3rem;
    }

    .footer-bottom-inner {
        flex-wrap: wrap;
        gap: 14px;
    }

    .footer-images {
        flex-wrap: wrap;
        min-width: 0;
    }
}

/* =========================================
   576px–767px — Mobile médio
========================================= */
@media (min-width: 576px) and (max-width: 767.98px) {
    .menu-overlay {
        width: 100vw;
        right: 0;
        transform: translateX(100%);
        padding: 64px 20px 24px;
    }

    .menu-overlay.active {
        transform: translateX(0);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-images {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
        min-width: 0;
    }
}

/* =========================================
   ≤ 575px — Mobile pequeno
========================================= */
@media (max-width: 575.98px) {
    .header .container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;

        /* === espaçamento lateral para afastar do canto === */
        padding: 0 1rem;
        /* pode ajustar o valor — 2.5rem ou 4rem também funcionam bem */
    }

    .menu-overlay {
        width: 100vw;
        right: 0;
        transform: translateX(100%);
        padding: 60px 20px 20px;
    }

    .menu-overlay.active {
        transform: translateX(0);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-images {
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
        min-width: 0;
    }
}