/* ==========================================================================
   1. ESTRUTURA E SEÇÃO HERO (AZUL)
   ========================================================================== */
.hero-section {
    background-color: #1d3557 !important;
    padding: 100px 0 250px 0 !important; /* Espaço para o card sobrepor */
    width: 100% !important;
    display: block !important;
}

.hero-section .content-wrapper {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important; /* Alinhamento fixo pelo topo */
    justify-content: space-between !important;
    padding: 0 5% !important;
}

/* --- TEXTO HERO --- */
.hero-text {
    width: 50% !important;
    padding-top: 20px !important; /* Alinhamento visual com o topo da foto */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-text h1 {
    font-size: 52px !important;
    color: white !important;
    line-height: 1.1 !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    font-weight: 700 !important;
}

.hero-text p {
    font-size: 20px !important;
    color: white !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
    max-width: 90%;
}

/* --- IMAGEM E DEGRADÊ --- */
.hero-image {
    width: 45% !important;
    position: relative;
    display: inline-block !important;
    margin-top: 0 !important;
}

.hero-image img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    position: relative;
    z-index: 1;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    /* Fusão suave com o fundo azul */
    background: linear-gradient(to right, #1d3557 0%, #1d3557 20%, rgba(29, 53, 87, 0) 100%);
    pointer-events: none;
    z-index: 2;
}

/* ==========================================================================
   2. BOTÃO VERDE (ESTILO CURTO E 3D)
   ========================================================================== */
.btn-verde {
    background-color: #4CAF50 !important;
    color: white !important;
    padding: 15px 30px !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    display: inline-block !important; /* Garante que o botão não estique */
    width: auto !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    cursor: pointer !important;
    margin-top: 20px;
}

.btn-verde:hover {
    transform: translateY(-5px) !important;
    background-color: #45a049 !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
}

/* ==========================================================================
   3. CARTÃO BRANCO FLUTUANTE (EFEITO 3D)
   ========================================================================== */
.floating-card-section {
    position: relative;
    z-index: 10;
}

.white-card {
    background: white !important;
    padding: 60px !important;
    border-radius: 20px !important;
    width: 65% !important;
    margin-top: -370px !important; /* Profundidade da sobreposição */
    margin-left: -5% !important;
    margin-bottom: 50px !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15), 0 10px 20px rgba(0,0,0,0.1) !important;
    position: relative !important;
    transition: transform 0.3s ease !important;
}

.white-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2), 0 15px 30px rgba(0,0,0,0.15) !important;
}

/* ==========================================================================
   4. SEÇÃO DE SERVIÇOS E RESPONSIVIDADE
   ========================================================================== */
.services-section { padding: 60px 0; background: #f9f9f9; }
.services-grid { display: flex; gap: 40px; margin-top: 30px; }
.services-left, .services-right { width: 50%; }

.check-item {
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    border-left: 5px solid #4CAF50;
}

/* --- AJUSTES PARA CELULAR --- */
@media (max-width: 768px) {
    .hero-section .content-wrapper {
        flex-direction: column !important;
        text-align: center !important;
        padding: 0 20px !important;
    }

    .hero-text, .hero-image, .white-card, .services-left, .services-right {
        width: 100% !important;
    }

    .hero-text h1 { font-size: 32px !important; }

    .hero-image {
        margin-top: 30px !important;
        text-align: center !important;
    }

    .hero-image::after {
        display: none; /* Remove degradê no celular para focar na foto */
    }

    .white-card {
        margin-top: -50px !important; /* Sobe menos no celular */
        margin-left: 0 !important;
        width: 90% !important;
        padding: 30px 20px !important;
    }

    .services-grid { flex-direction: column; }
}

/* Prioridade do botão flutuante do WhatsApp */
#wpp-flutuante, .joinchat, .click-to-chat-container {
    z-index: 100 !important;
}