/* ========================= CONTACT PAGE ========================= */

/* Conteneur principal */
.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Carte du territoire (Placeholder) */
.map-placeholder {
    background-color: #d9d9d9;
    width: 100%;
    height: 500px; /* Ajustable selon besoin */
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    color: #000;
    font-family: 'Causten', sans-serif;
    font-size: 1.2rem;
}

/* Grille des informations */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Colonne */
.contact-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Élément de contact */
.contact-item {
    font-family: 'Causten', sans-serif;
    color: #000;
    line-height: 1.5;
}

.contact-item h2 {
    font-family: 'More Sugar', cursive !important;
    font-size: 1.5rem;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
    margin-bottom: 0.5rem;
    color: #000;
}

.contact-item p {
    margin: 0;
    font-size: .95rem;
    line-height: 1.3;
}

.contact-item .contact-details {
    margin-bottom: 1rem;
}

.contact-item .contact-hours {
    margin-top: 1rem;
}

.contact-item strong {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .map-placeholder {
        height: 300px;
    }
}

/* Formulaire de contact */
.contact-form {
    background: #d3d3d3;
    padding: 40px 45px;
    border-radius: 20px;
    margin: 60px auto 0 auto;
    max-width: 800px;
}

.contact-form h2 {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
    font-family: 'Causten', sans-serif;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    font-size: 14px;
    font-family: 'Causten', sans-serif;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 200px;
    border-radius: 20px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #000;
}

.contact-hint {
    margin: -8px 0 12px;
    font-size: 0.9rem;
    font-style: italic;
    color: #333;
}

/* Checklist dynamique des critères à remplir */
.contact-requirements {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 1rem;
    font-size: 0.9rem;
    font-family: 'Causten', sans-serif;
}
.contact-requirements li {
    padding: 0.25rem 0 0.25rem 1.6rem;
    position: relative;
    color: #9a1b1b;
    transition: color 0.2s;
}
.contact-requirements li::before {
    content: '\f00d'; /* fa-xmark */
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', sans-serif;
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.3rem;
    color: #E84C3D;
    font-size: 0.85rem;
}
.contact-requirements li.is-ok {
    color: #1b6c2f;
}
.contact-requirements li.is-ok::before {
    content: '\f00c'; /* fa-check */
    color: #2e9648;
}

/* Bouton Envoyer désactivé */
.contact-actions button[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(0.3);
}
.contact-actions button[disabled]:hover {
    transform: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}
