/* =============================================
   CONTACT PAGE — contact.css
   ============================================= */


/* =============================================
   HERO — centré (pas de colonne droite)
   ============================================= */

.services-hero--centered {
    justify-content: center;
    text-align: center;
}

/* =============================================
   HERO — carte coordonnées (colonne droite)
   ============================================= */

.contact-hero-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem 2.5rem;
    backdrop-filter: blur(10px);
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-hero-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.contact-hero-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-hero-item-icon svg {
    fill: white;
}

.contact-hero-item-body p {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin: 0 0 0.2rem;
}

.contact-hero-item-body a,
.contact-hero-item-body span {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
}

.contact-hero-item-body a:hover {
    text-decoration: underline;
}


/* =============================================
   SECTION PRINCIPALE
   ============================================= */

.contact-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 0 5rem;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}


/* =============================================
   COLONNE INFOS (gauche)
   ============================================= */

.contact-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-heading {
    font-family: 'PT Serif', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}

.contact-info-lead {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.contact-info-card {
    background: white;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: box-shadow 0.2s, transform 0.2s;
}

.contact-info-card:hover {
    box-shadow: 0 6px 24px rgba(253, 114, 0, 0.1);
    transform: translateY(-2px);
}

.contact-info-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #fff3e6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    fill: #fd7200;
}

.contact-info-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
}

.contact-info-value {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #1a1a2e;
    font-weight: 500;
}

.contact-info-value a {
    color: #1a1a2e;
    text-decoration: none;
}

.contact-info-value a:hover {
    color: #fd7200;
}

/* Fallback sans JS */
.js-protected-fallback {
    color: #999;
    font-style: italic;
    font-size: 0.85rem;
}


/* =============================================
   FORMULAIRE (colonne droite)
   ============================================= */

.contact-form-col {
    flex: 1.5;
}

.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    border: 1px solid #f3f4f6;
}

.contact-form-title {
    font-family: 'PT Serif', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1.75rem;
}

.contact-field {
    margin-bottom: 1.25rem;
}

.contact-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.4rem;
}

.contact-input,
.contact-textarea {
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #1a1a2e;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    outline: none;
}

.contact-input:focus,
.contact-textarea:focus {
    border-color: #fd7200;
    background: white;
    box-shadow: 0 0 0 3px rgba(253, 114, 0, 0.1);
}

.contact-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.contact-form-row {
    display: flex;
    gap: 1rem;
}

.contact-form-row .contact-field {
    flex: 1;
}

.contact-submit {
    width: 100%;
    margin-top: 0.5rem;
    padding: 14px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* Flash messages */
.contact-flash-success,
.contact-flash-error {
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-flash-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.contact-flash-error {
    background: #fff8f0;
    border: 1px solid #fed7aa;
    color: #c2410c;
}

.contact-flash-success svg { fill: #16a34a; flex-shrink: 0; }
.contact-flash-error svg   { fill: #ea580c; flex-shrink: 0; }


/* =============================================
   CARTE GOOGLE MAPS
   ============================================= */

.contact-map-wrapper {
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 20px;
    margin: 0 0 5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.contact-map-wrapper .container {
    padding: 0;
}

.contact-map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .contact-map-wrapper {
        height: 280px;
        border-radius: 12px;
        margin-bottom: 3rem;
    }
}


/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .contact-main {
        flex-direction: column;
        gap: 2.5rem;
        padding: 3rem 0 4rem;
    }

    .contact-info-col,
    .contact-form-col {
        width: 100%;
    }

    .contact-hero-card {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-main {
        padding: 2rem 0 3rem;
    }

    .contact-form-card {
        padding: 1.75rem 1.25rem;
    }

    .contact-form-row {
        flex-direction: column;
        gap: 0;
    }
}
