/* ============================
   Página Contato - Novo Design
   ============================ */

/* Reset para footer */
footer {
    color: #fff;
    text-align: center;
    padding: 0.3em 0 0.2em 0;
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.12);
    overflow: hidden;
}

footer.footer {
    flex-shrink: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

footer::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: linear-gradient(135deg, rgba(192, 31, 37, 0.95), rgba(139, 20, 32, 0.95));
    z-index: 0;
}

/* Hero Section */
.contato-hero {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.contato-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.contato-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.contato-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(192, 31, 37, 0.8), rgba(139, 20, 32, 0.8));
}

.contato-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    animation: fadeInUp 0.8s ease-out;
}

.contato-hero-title {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.contato-hero-subtitle {
    font-size: 1.3em;
    font-weight: 300;
    max-width: 600px;
    color: #FFD700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Seção de Contato Principal */
.contato-principal {
    padding: 80px 20px;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #C01F25;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #C01F25, #FFD700);
    margin: 15px auto 0;
    border-radius: 2px;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Cards de Informação */
.contato-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(192, 31, 37, 0.1);
    transition: all 0.35s ease;
    border-top: 4px solid #C01F25;
    display: flex;
    flex-direction: column;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(192, 31, 37, 0.2);
}

.info-icon {
    font-size: 2.5em;
    color: #C01F25;
    margin-bottom: 20px;
    display: inline-block;
}

.info-card h3 {
    font-size: 1.3em;
    font-weight: 700;
    color: #000;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #FFD700;
    border-radius: 2px;
}

.info-content {
    font-size: 0.95em;
    line-height: 1.8;
    color: #000;
}

.info-content p {
    margin-bottom: 10px;
    color: #000 !important;
}

.info-content p strong {
    color: #000 !important;
    font-weight: 700;
}

.info-content a {
    color: #C01F25;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.info-content a:hover {
    color: #FFD700;
}

.text-small {
    font-size: 0.85em;
    color: #000;
}

/* Formulário */
.contato-form-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row.full {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95em;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f9f9f9;
    color: #000;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C01F25;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(192, 31, 37, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-enviar {
    background: linear-gradient(135deg, #C01F25 0%, #8B1420 100%);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1.05em;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.35s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-enviar:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(192, 31, 37, 0.3);
}

.btn-enviar:active {
    transform: translateY(-1px);
}

.btn-enviar:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mensagens de Feedback */
.form-feedback {
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}

.form-feedback.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-feedback.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Seção de Mapa */
.contato-mapa {
    padding: 80px 20px;
    background: #fff;
}

.contato-mapa .section-title {
    margin-bottom: 50px;
}

.contato-mapa iframe {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    display: block;
}

/* Force cores pretas para info-content em todos os browsers */
.info-card,
.info-content,
.info-content p,
.info-content strong,
.info-content small {
    color: #000 !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .contato-hero-title {
        font-size: 2.2em;
    }

    .contato-hero-subtitle {
        font-size: 1em;
    }

    .section-title {
        font-size: 2em;
    }

    .contato-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contato-info {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contato-form-wrapper {
        padding: 25px;
    }

    .contato-mapa iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contato-hero {
        height: 350px;
        margin-top: 70px;
    }

    .contato-hero-title {
        font-size: 1.8em;
    }

    .contato-hero-subtitle {
        font-size: 0.9em;
    }

    .section-title {
        font-size: 1.5em;
    }

    .info-card {
        padding: 20px;
    }

    .info-icon {
        font-size: 2em;
    }

    .contato-form-wrapper {
        padding: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 16px;
    }

    .btn-enviar {
        padding: 12px 20px;
        font-size: 0.9em;
    }

    .contato-mapa iframe {
        height: 250px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
