/* ===================================================== */
/* ===== RESET ===== */
/* ===================================================== */
body {
    margin: 0;
    padding: 0;
}

/* remove limites do Quarto */
#quarto-content,
main.content {
    max-width: 100% !important;
    padding: 0 !important;
}

/* remove colunas automáticas */
#quarto-content * {
    column-count: unset !important;
    column-gap: unset !important;
}

/* ===================================================== */
/* ===== NAVBAR ===== */
/* ===================================================== */

/* Remove qualquer espaço acima */
body {
    margin: 0 !important;
    padding: 0 !important;
}

/* Header fixo sem espaçamento */
#quarto-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    margin: 0 !important;
    padding: 0 !important;
}

/* Navbar limpa e compacta */
.navbar {
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Garante que o header inteiro fique fixo */
#quarto-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.hero {
    position: relative;
    background-image: url("https://picsum.photos/1920/1080");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    width: 100vw;
    height: 75vh;
    margin-left: calc(-50vw + 50%);

    display: flex;
    align-items: center;     /* centraliza vertical */
    justify-content: flex-start; /* joga pra esquerda */

    text-align: left;        /* texto alinhado à esquerda */
    color: white;
    overflow: hidden;

    padding-left: 10%;       /* espaçamento da esquerda */
}

/* overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

/* conteúdo acima do overlay */
.hero > * {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

/* ===================================================== */
/* ===== QUEM SOMOS (CORRIGIDO E LIMPO) ===== */
/* ===================================================== */

.quem-somos {
    display: flex;
    align-items: center;
    gap: 80px;
    /* 🔥 espaço mais equilibrado */
}

/* imagem */
.quem-somos .qs-img {
    flex: 0 0 320px;
}

.quem-somos .qs-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* texto */
.quem-somos .qs-texto {
    flex: 1;
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    text-align: left;
}

/* ===================================================== */
/* ===== RESPONSIVO ===== */
/* ===================================================== */

@media (max-width: 768px) {
    .quem-somos {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .quem-somos .qs-img {
        width: 100%;
        max-width: 300px;
    }

    .quem-somos .qs-texto {
        text-align: center;
    }
}

/* ===================================================== */
/* ===== CARDS (GLOBAL) ===== */
/* ===================================================== */
.cards-section {
    text-align: center;
    padding: 60px 40px;
}

.cards-section h1 {
    color: #2c3e50;
    font-size: 36px;
    margin-bottom: 10px;
}

.subtitle {
    max-width: 700px;
    margin: 0 auto 30px;
    color: #555;
}

/* ===================================================== */
/* ===== CARDS CONTATO ===== */
/* ===================================================== */
.page-contato .cards-section {
    padding: 30px 20px;
}

.page-contato .cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;

    max-width: 1000px;
    margin: 0 auto;
}

/* cards */
.page-contato .card {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;

    background: #e9f0ec;
    padding: 20px;
    border-radius: 20px;

    transition: 0.3s;
}

/* imagem */
.page-contato .card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
}

/* título */
.page-contato .card h3 {
    color: #2c3e50;
    margin: 15px 0 10px;
}

/* texto */
.page-contato .card p {
    font-size: 14px;
    color: #555;
}

/* remove botão */
.page-contato .card button {
    display: none;
}

/* hover */
.page-contato .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* ===================================================== */
/* ===== HERO CONTATO ===== */
/* ===================================================== */
.page-contato .contato-hero {
    position: relative;

    background-image: url("https://picsum.photos/1920/1080");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    width: 100vw;
    height: 400px;
    margin-left: calc(-50vw + 50%);

    overflow: hidden;
}

.page-contato .contato-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

/* caixa transparente */
.page-contato .hero-box {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);

    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);

    padding: 30px;
    border-radius: 15px;

    max-width: 500px;
    /* 👈 ajuste aqui */
    width: 40%;
    /* opcional: controla proporcionalmente */
}

/* ===================================================== */
/* ===== RESPONSIVO ===== */
/* ===================================================== */
@media (max-width: 768px) {

    .page-contato .cards-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-contato .hero-box {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
    }
}

/* ===================================================== */
/* ===== FORMULÁRIO (COMPACTO) ===== */
/* ===================================================== */

.form-box {
    background: linear-gradient(135deg, #0f1f2e, #162c3f);
    padding: 18px;
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    max-width: 480px;
    width: 100%;

    margin: 80px auto 0;
    /* ✅ agora funciona */

    border-radius: 15px;
}

/* títulos */
.form-box h2 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 5px;
}

.form-box h1 {
    color: #7bed9f;
    margin-bottom: 10px;
    /* 🔥 menor */
    font-size: 22px;
}

/* campos */
.form-box label {
    margin-top: 6px;
    /* 🔥 menor */
    font-size: 12px;
}

.form-box input,
.form-box textarea {
    width: 100%;
    padding: 5px;
    /* 🔥 menor */
    margin-top: 2px;

    border-radius: 5px;
    border: none;

    background: #dcdcdc;
}

/* textarea menor */
.form-box textarea {
    height: 70px;
    /* 🔥 controla altura direto */
}

/* botão */
.form-box button {
    margin-top: 12px;
    /* 🔥 menor */

    background: #6fcf97;
    color: #1f2c3a;

    border: none;
    padding: 10px;
    /* 🔥 menor */

    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
}

/* responsivo (mantido só o essencial) */
@media (max-width: 768px) {
    .contato-container {
        height: auto;
    }
}

/* container geral */
.contato-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 120px;
    /* 🔥 espaço entre mapa e formulário */
}

/* mapa largo */
.mapa {
    width: 95%;
    /* 🔥 quase tela toda */
    max-width: 1400px;
    height: 300px;

    margin: 0 auto;

    border-radius: 15px;
    overflow: hidden;
}

/* iframe ocupa tudo */
.mapa iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* formulário já está ok, só garante centralização */
.form-box {
    max-width: 480px;
    width: 100%;
}

#mensagem-sucesso {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background: #2ecc71;
    color: white;
    border-radius: 8px;
}

/* ===================================================== */
/* ===== NAVBAR COM IMAGEM (NOVO) ===== */
/* ===================================================== */

/* navbar com imagem de fundo */
.navbar {
    background-image: url("https://picsum.photos/1920/400");
    /* 🔥 troque pela sua imagem */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    height: 100px;
    /* 🔥 aumenta altura */
    display: flex;
    align-items: center;
    /* centraliza verticalmente */
}

/* deixa o texto branco para contraste */
.navbar a,
.navbar-brand {
    color: white !important;
}

/* overlay escuro igual hero (opcional, mas recomendado) */
.navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

/* garante que conteúdo fique acima do overlay */
.navbar * {
    position: relative;
    z-index: 1;
}

.navbar * {
    position: relative;
    z-index: 1;
}

/* ======================================= */
/* ===== CORRIGE ÍCONES DA NAVBAR ===== */
/* ======================================= */

/* força todos os ícones a ficarem brancos */
.navbar i,
.navbar svg {
    color: white !important;
    fill: white !important;
    stroke: white !important;
    opacity: 1 !important;
}

/* garante que botões e links não fiquem apagados */
.navbar a,
.navbar button {
    opacity: 1 !important;
}

.quem-somos {
    display: flex !important;
    align-items: center;
    gap: 80px !important;
    /* força o espaço */
}

.quem-somos .qs-img {
    margin-right: 0 !important;
    /* evita conflito */
}

.quem-somos .qs-texto {
    padding-left: 40px;
    /* 🔥 garante afastamento */
}

/* ===================================================== */
/* ===== ÁREA DE ATUAÇÃO CENTRALIZADA ===== */
/* ===================================================== */

.area-atuacao {
    width: 100%;
    display: flex;
    justify-content: center;
    /* centraliza horizontal */
    margin-top: 40px;
}

.area-overlay {
    max-width: 800px;
    /* controla largura do texto */
    text-align: center;
    /* centraliza texto */
}

/* título */
.area-overlay h1 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* parágrafo */
.area-overlay p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.navbar-nav .nav-link {
    font-size: 1.3rem;
    font-weight: 600;
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: bold;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-nav .nav-link {
    position: relative;
    transition: color 0.3s ease;
}

/* .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #0e0f09;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #0e0f09 !important;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
} */

