/* --- ESTILOS GERAIS E BOX-SIZING --- */
* {
    box-sizing: border-box;
}

body {
    background: #dae4f0;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Garante que não haja rolagem horizontal */
}

#fraseVermelho{
    color: red;
    font-weight: bold;
}

/* --- Seção Hero (Inicial) --- */
.hero-section {
    position: relative;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    background-image: url("fotos/fundo2.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 20px;
}

.hero-logo {
    margin-bottom: 25px;
}

.hero-logo img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    object-fit: cover;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* --- Seção Nosso Escritório --- */
.escritorio-section {
    background-color: #dae4f0;
    padding: 80px 20px;
}

.escritorio-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.escritorio-imagem {
    flex: 1 1 45%;
}

.escritorio-imagem img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: block;
}

.escritorio-texto {
    flex: 1 1 55%;
}

.escritorio-texto h2 {
    font-size: 42px;
    color: #113e62;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 25px;
}

.escritorio-texto p {
    font-size: 17px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* --- Seção Área de Atuação --- */
.area-atuacao {
    padding: 60px 20px;
    background: #dae4f0;
    text-align: center;
}

.area-atuacao h2 {
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 40px;
}

.cards-atuacao {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.card-atuacao {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 32px 22px 24px 22px;
    max-width: 260px;
    min-width: 220px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon-balance {
    margin-bottom: 20px;
}

.icon-balance i {
    font-size: 35px;
    color: #113e62;
}

.card-atuacao ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #222;
    font-size: 17px;
    text-align: left;
}

.card-atuacao ul li {
    margin-bottom: 12px;
    line-height: 1.5;
}

/* --- Seção de Atendimento --- */
.atendimento-section {
    background-color: #dae4f0; 
    padding: 80px 20px;
}

.atendimento-container {
    max-width: 1250px;
    margin: 0 auto;
    text-align: center;
}

.atendimento-header p {
    font-size: 18px;
    color: #113e62;
    margin: 0;
}

.atendimento-header h2 {
    font-size: 42px;
    color: #113e62;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 50px;
}

.atendimento-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.atendimento-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 35px 25px;
    max-width: 270px;
    flex: 1;
    min-width: 240px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s, box-shadow 0.3s;
}

.atendimento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 45px;
    color: #1d3a54;
}

.atendimento-card h3 {
    font-size: 22px;
    color: #1d3a54;
    font-weight: 700;
    margin-bottom: 15px;
}

.atendimento-card p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin: 0;
}


/* --- Botão CTA WhatsApp e Seção --- */
.cta-section {
    background-color: #dae4f0; 
    padding: 50px 20px;
    text-align: center;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    padding: 14px 38px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.2s;
    border: none;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
}

.whatsapp-btn i,
.whatsapp-icon {
    width: 28px;
    height: 28px;
    margin-right: 12px;
}

/* --- Footer --- */
.site-footer {
    background-color: #113e62; 
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.site-footer h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-divider {
    width: 120px;
    border: 1px solid #ffffff;
    margin: 0 auto 40px auto; 
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    text-align: left;
    flex-wrap: wrap; 
}

.footer-logo img {
    max-width: 150px; 
    height: auto;
}

.footer-info p {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.6;
}

.footer-info p:last-child {
    margin-bottom: 0;
}


/* ==========================================================================
   --- MEDIA QUERIES PARA RESPONSIVIDADE ---
   ========================================================================== */

/* Telas de tablet e menores (até 900px) */
@media (max-width: 900px) {
    /* --- Escritório --- */
    .escritorio-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .escritorio-texto {
        margin-left: 0;
    }
    .escritorio-imagem {
        max-width: 450px;
        width: 90%;
    }   
}

/* Telas de celular e tablet na vertical (até 768px) */
@media (max-width: 768px) {
    /* --- Hero --- */
    .hero-section {
        height: auto;
        min-height: 0;
        /* MUDANÇA AQUI: Aumentamos o valor inferior (de 60px para 100px) */
        padding: 60px 20px 600px 20px; 

        /* 2. Troca a imagem de fundo para a versão mobile */
        background-image: url("fotos/lastmobile.png") !important;
        
        /* 3. Garante que a imagem comece do topo e cubra o espaço */
        background-position: top center !important;
    }
    .hero-content h1 {
        font-size: 38px;
    }
    .hero-content h2 {
        font-size: 22px;
    }
    .hero-content p {
        font-size: 17px;
    }
    .hero-logo img {
        width: 110px;
        height: 110px;
    }
    .whatsapp-btn {
        font-size: 18px;
        padding: 14px 28px;
        margin: 0; /* Remove margem que causa overflow */
    }

    /* --- Área de Atuação --- */
    .area-atuacao {
        padding-top: 30px; 
    }
    .area-atuacao h2 {
        font-size: 36px;
        padding: 0;
        margin-bottom: 40px;
    }
    .cards-atuacao {
        flex-direction: column;
        align-items: center;
    }
    .card-atuacao {
        max-width: 100%;
        width: 100%;
    }

    /* --- Escritório --- */
    .escritorio-section {
        padding-bottom: 40px; /* <<< MUDANÇA: Reduz o espaço inferior */
    }
    
    /* --- Atendimento --- */
    .atendimento-section {
        padding-top: 40px; /* <<< MUDANÇA: Reduz o espaço superior */
    }
    .atendimento-header h2 {
        font-size: 34px;
    }
    .atendimento-cards {
        flex-direction: column;
        align-items: center;
    }
    .atendimento-card {
        max-width: 100%;
        width: 100%;
    }
    
    /* --- Footer --- */
    .site-footer h2 {
        font-size: 32px;
    }
    .footer-divider {
        display: none;
    }
    .footer-content {
        flex-direction: column; 
        text-align: center;
        gap: 30px;
    }
    .footer-logo img {
        max-width: 130px;
    }
}

/* Telas pequenas de celular (até 480px) */
@media (max-width: 480px) {
    /* --- Hero --- */
    .hero-section {
        min-height: 90vh;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content h2 {
        font-size: 18px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .hero-logo img {
        width: 100px;
        height: 100px;
    }
    .whatsapp-btn {
        font-size: 16px;
        padding: 12px 24px;
        width: 90%; /* Faz o botão ocupar a largura */
        justify-content: center;
    }

    /* --- Outras seções --- */
    .escritorio-texto h2,
    .area-atuacao h2,
    .atendimento-header h2 {
        font-size: 30px;
    }
}

