/* Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   Bloco 1: Hero Section (Layout 2 Colunas)
   ========================================= */
.hero-section {
    position: relative;
    background: #2a2a2a; 
    padding-top: 80px;
    padding-bottom: 200px; /* Espaço para a margem negativa dos cards */
    min-height: 70vh; /* Garante que a foto cubra um bom espaço da tela */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Ajusta conforme o foco principal da foto */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente escuro para dar leitura ao texto mas sumir para a direita */
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0) 80%);
    z-index: 2;
}

.hero-container {
    width: 100%;
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
}

.hero-text {
    flex: 0 0 60%;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-text h1 {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 25px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); /* Sombra extra pra ajudar na leitura se a foto for clara */
}

.btn-primary {
    display: inline-block;
    background-color: #F8B133; /* Amarelo da imagem */
    color: #1a1a1a;
    font-weight: 800;
    padding: 16px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #e09e25;
    transform: scale(1.02);
}

/* =========================================
   Bloco 2: Cards Info (Sobrepostos ao Banner)
   ========================================= */
.cards-section {
    position: relative;
    z-index: 3;
    margin-top: -120px; /* Sobreposição no Elementor: Margem Top Negativa */
    padding-bottom: 50px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0; /* No layout os cards são coladinhos */
    box-shadow: 0 15px 30px rgba(0,0,0,0.15); /* Sombra suave para destacar da foto vazada embaixo */
    border-radius: 8px;
    overflow: hidden; /* Mantém os cantos arredondados na junção */
}

.card {
    padding: 50px 30px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Cores específicas de cada área */
.card-education { background-color: #1a8f4c; /* Verde */ }
.card-health { background-color: #1562ae; /* Azul */ }
.card-culture { background-color: #dea62a; /* Amarelo escuro/Mostarda */ }

.card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.card h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card p {
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 30px;
    flex-grow: 1; /* Faz os botões alinharem por igual caso o texto seja de tamanhos diferentes */
}

.btn-card {
    display: inline-block;
    background-color: #ffffff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 800;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

    .btn-card:hover {
        opacity: 0.9;
    }

    /* Cores dos textos dos botões combinando com o fundo do respectivo card */
    .text-education { color: #1a8f4c; }
    .text-health { color: #1562ae; }
    .text-culture { color: #dea62a; }

    /* =========================================
       Bloco 3: Sobre Mim
       ========================================= */
    .about-section {
        padding: 80px 0;
        background-color: #ffffff;
    }

    .about-container {
        display: flex;
        align-items: center;
        gap: 60px;
    }

    .about-image {
        flex: 1;
    }

    .about-text {
        flex: 1.2;
    }

    .about-text h2 {
        font-size: 2.5rem;
        font-weight: 800;
        color: #1a1a1a;
        margin-bottom: 20px;
        text-transform: uppercase;
    }

    .about-text p {
        font-size: 1.1rem;
        line-height: 1.6;
        color: #555;
        margin-bottom: 20px;
    }

    .btn-secondary {
        display: inline-block;
        background-color: #1a1a1a;
        color: #ffffff;
        font-weight: 800;
        padding: 14px 30px;
        border-radius: 8px;
        text-decoration: none;
        font-size: 1.05rem;
        transition: background-color 0.3s ease, transform 0.2s ease;
        margin-top: 10px;
    }

    .btn-secondary:hover {
        background-color: #333;
        transform: scale(1.02);
    }

    /* =========================================
       Bloco 4: Rodapé
       ========================================= */
    .footer-section {
        background-color: #111;
        padding: 40px 0;
        color: #fff;
    }

    .footer-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .social-links a {
        color: #fff;
        font-size: 1.5rem;
        margin-left: 20px;
        transition: color 0.3s ease;
    }

    .social-links a:hover {
        color: #F8B133;
    }

    /* =========================================
       Responsividade (Tablets e Celulares)
       ========================================= */
@media (max-width: 991px) {
    .cards-container {
        grid-template-columns: 1fr;
        gap: 10px;
        background: transparent;
        box-shadow: none;
    }
    .card {
        border-radius: 8px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 50px;
        padding-bottom: 120px;
        min-height: auto;
    }
    .hero-overlay {
        background: rgba(0,0,0,0.75); 
    }
    .hero-text {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        align-items: center;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text h1 br {
        display: none; 
    }
    .cards-section {
        margin-top: -60px;
    }
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
