/* Este CSS lida especificamente com a apresentação e layout da página de Contato */

/* --- Estilo da Navegação Ativa --- */
/* Marca o link do contato como ativo na navegação (usando vermelho) */
.active-contact a {
    background-color: #CD212A; 
    color: #FFFFFF !important;
    border-radius: 5px;
}

/* --- Layout da Página de Contato --- */
.page-header {
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
    padding: 50px 20px;
    border-bottom: 3px solid #008C45; /* Borda verde */
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    margin-bottom: 5px;
}

.page-header h2 {
    font-weight: 400;
    font-size: 1.2em;
    color: #666;
    margin-top: 0;
}

.contato-content {
    padding: 60px 10%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Contact Grid (Formulário e Info) --- */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2/3 para o formulário, 1/3 para a info */
    gap: 40px;
    margin-bottom: 60px;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.form-title, .info-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 5px;
    border-bottom: 2px solid;
}

.info-title {
    border-bottom-color: #008C45;
}

/* --- Formulário --- */
.contact-form label {
    display: block;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Inclui padding e borda na largura total */
    font-size: 1em;
}

.contact-form textarea {
    resize: vertical;
}

/* Reutiliza o estilo do botão CTA do style.css, mas aplica o display: block */
.contact-form .cta-button {
    display: block;
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

/* --- Informações de Contato --- */
.info-block {
    margin-bottom: 30px;
    padding: 15px;
    border-left: 5px solid #CD212A;
    background-color: #fafafa;
    border-radius: 5px;
}

.info-block h4 {
    margin-top: 0;
    color: #CD212A;
    font-family: 'Playfair Display', serif;
    font-size: 1.3em;
}

.info-block p {
    margin: 0;
    line-height: 1.5;
}

/* --- Seção de Mapa --- */
.map-section {
    text-align: center;
}

.map-title {
    font-family: 'Playfair Display', serif;
    font-size: 2em;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #CD212A;
    display: inline-block;
}

.google-map-placeholder {
    width: 100%;
    height: 400px; /* Altura do mapa */
    background-color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.google-map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Media Query para Responsividade --- */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Colunas em pilha em telas menores */
    }
    
    .contact-info {
        order: -1; /* Move as informações de contato para cima do formulário */
    }

    .contato-content {
        padding: 40px 5%;
    }

    .page-header h1 {
        font-size: 2.5em;
    }
}