/* =========================================
   PÁGINA CONTATO - CSS ATUALIZADO
   ========================================= */

/* HERO ESPECÍFICO (Padronizado igual ao Sobre) */
.page-hero-contato {
    position: relative;
    min-height: 450px; /* Aumentado para 450px para igualar */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('../img/background-toro.png');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(5, 40, 37, 0.9) 0%, rgba(31, 167, 80, 0.8) 100%);
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; color: white; }
.hero-content h1 { font-size: 3rem; margin-bottom: 10px; }
.hero-content p { font-size: 1.2rem; opacity: 0.9; }

/* CAIXA DE CONTATO (FORMULÁRIO MAIOR) */
.contato-section {
    padding-top: 80px;
    padding-bottom: 40px; /* Reduzi espaço em baixo para aproximar do mapa */
}

.contato-box {
    background: white;
    border-radius: 30px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    display: flex;
    overflow: hidden;
    /* TAMANHO GRANDE PARA O FORMULÁRIO */
    max-width: 1200px; 
    width: 100%;
    margin: 0 auto;
}

/* Lado Esquerdo (Verde com Infos) */
.contato-info {
    width: 40%;
    background-image: url('../img/background-toro.png');
    background-size: cover;
    background-color: var(--color-primary);
    padding: 60px 40px;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contato-info::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 40, 37, 0.85);
    z-index: 1;
}

.contato-info > * { position: relative; z-index: 2; }

.contato-info h3 { font-size: 2rem; margin-bottom: 15px; }
.contato-info p { margin-bottom: 40px; opacity: 0.9; }

.info-item {
    display: flex; align-items: center; margin-bottom: 25px; font-size: 1.1rem;
}
.info-item i {
    width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin-right: 15px; font-size: 1.2rem;
}

.social-icons-contato { margin-top: 40px; }
.social-icons-contato a {
    display: inline-flex; width: 40px; height: 40px;
    border: 1px solid rgba(255,255,255,0.3); border-radius: 50%;
    align-items: center; justify-content: center; color: white; margin-right: 10px; transition: 0.3s;
}
.social-icons-contato a:hover { background: white; color: var(--color-primary); }

/* Lado Direito (Formulário) */
.contato-form { width: 60%; padding: 60px; background: white; }
.form-group { margin-bottom: 25px; }
.form-row { display: flex; gap: 20px; }
.form-row .form-group { width: 50%; }
.contato-form label { display: block; margin-bottom: 8px; font-weight: 600; color: #333; }
.contato-form input, .contato-form textarea {
    width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 8px;
    font-family: var(--font-primary); font-size: 1rem; outline: none; transition: 0.3s;
}
.contato-form input:focus, .contato-form textarea:focus {
    border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(31, 167, 80, 0.1);
}
.btn-enviar {
    background-color: var(--color-primary); color: white; border: none; padding: 15px 40px;
    border-radius: 50px; font-size: 1rem; font-weight: 700; cursor: pointer; transition: 0.3s;
    display: inline-flex; align-items: center; gap: 10px;
}
.btn-enviar:hover { background-color: var(--color-accent); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(31, 167, 80, 0.3); }

/* MAPA (AJUSTADO: FUNDO BRANCO E MENOR QUE O FORM) */
.mapa-section { 
    padding: 0 0 80px; /* Sem padding em cima para aproximar */
    background-color: #ffffff; /* Fundo Branco (antes era cinza) */
}

.mapa-section .section-title { 
    margin-bottom: 40px; 
    text-align: center;
}

/* Títulos Gigantes */
.mapa-section h3 {
    color: var(--color-primary);
    font-size: 1.5rem; /* Aumentado */
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.mapa-section h2 {
    font-size: 3.5rem; /* Bem grande */
    color: #333;
    font-weight: 800;
    line-height: 1.1;
}

/* Container do Iframe (MENOR QUE O FORMULÁRIO) */
.mapa-container {
    max-width: 1000px; /* Menor que os 1200px do formulário */
    width: 90%;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border: 5px solid white;
}

.mapa-section iframe { 
    display: block; 
    width: 100%;
    height: 450px;
}

/* RESPONSIVO */
@media (max-width: 991px) {
    .contato-box { flex-direction: column; }
    .contato-info, .contato-form { width: 100%; padding: 40px 20px; }
    .form-row { flex-direction: column; gap: 0; }
    .form-row .form-group { width: 100%; }
    .mapa-section h2 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    /* Ajuste para o texto não colar na borda */
    .hero-content p {
        font-size: 1.1rem;
        padding: 0 25px; /* Margem lateral de segurança */
        line-height: 1.5;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        padding: 0 10px;
    }
}