/* ==========================================================================
   PAGE CONTACT - CHARTE ENTIÈREMENT INTÉGRÉE (EDEN ALSACE)
   ========================================================================== */

   .page-contact-global {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #fcfbfa;
    box-sizing: border-box;
}

.page-contact-global *,
.page-contact-global *::before,
.page-contact-global *::after {
    box-sizing: border-box;
}

/* BANNIÈRE DE TÊTE */
.contact-hero-banner {
    background-color: #0b0c08;
    padding: 160px 24px 80px 24px; /* Sécurité hauteur header fixed */
    text-align: center;
}

.contact-pretitle {
    display: block;
    color: #8da84e;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.contact-hero-banner h1 {
    font-family: 'Cinzel', serif;
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 500;
    margin: 0 0 20px 0;
}

.contact-hero-banner p {
    color: #cccccc;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* DEUX COLONNES PRINCIPALES */
.contact-main-container {
    padding: 80px 24px;
    background-color: #fcfbfa;
}

.contact-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* SIDEBAR GAUCHE (INFOS) */
.contact-info-sidebar {
    flex: 0 0 400px;
    background: #ffffff;
    border: 1px solid #eae8e5;
    padding: 40px 35px;
    border-radius: 8px;
    text-align: left;
}

.contact-info-sidebar h2 {
    font-family: 'Cinzel', serif;
    color: #1a1b15;
    font-size: 1.5rem;
    margin: 0 0 15px 0;
}

.sidebar-intro {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 35px;
}

.info-card-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    font-size: 24px;
    color: #8da84e;
    background: rgba(141, 168, 78, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text strong {
    font-size: 12px;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.info-text a {
    font-size: 16px;
    color: #1a1b15;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-text a:hover {
    color: #8da84e;
}

.info-text p {
    font-size: 15px;
    color: #1a1b15;
    margin: 0;
    line-height: 1.4;
}

.contact-guarantees-box {
    border-top: 1px solid #eae8e5;
    padding-top: 25px;
}

.contact-guarantees-box h3 {
    font-size: 14px;
    color: #1a1b15;
    margin: 0 0 10px 0;
}

.contact-guarantees-box p {
    font-size: 13px;
    color: #777777;
    line-height: 1.6;
    margin: 0;
}

/* CONTENEUR FORMULAIRE (DROITE) */
.contact-form-wrapper {
    flex: 1;
    background: #ffffff;
    border: 1px solid #eae8e5;
    padding: 40px;
    border-radius: 8px;
    text-align: left;
}

.contact-form-wrapper h2 {
    font-family: 'Cinzel', serif;
    color: #1a1b15;
    font-size: 1.5rem;
    margin: 0 0 30px 0;
}

/* ALERTES NOTIFICATIONS */
.form-alert {
    padding: 15px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.5;
}

.alert-success {
    background-color: #f0f5e6;
    color: #4b6122;
    border: 1px solid #d1e0b8;
}

.alert-error {
    background-color: #fdf2f2;
    color: #9b1c1c;
    border: 1px solid #fde8e8;
}

/* LE FORMULAIRE */
.form-row-twin {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.field-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-row-twin .field-group {
    margin-bottom: 0; /* Aligné par le flex parent */
}

.field-group label {
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.field-group label span {
    color: #9b1c1c;
}

.field-group input[type="text"],
.field-group input[type="email"],
.field-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: #fcfbfa;
    border: 1px solid #eae8e5;
    border-radius: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: #1a1b15;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.field-group input:focus,
.field-group textarea:focus {
    border-color: #8da84e;
    background: #ffffff;
}

/* REGLAGE DU PHONE FLEX SANS CHEVAUCHEMENT */
.field-phone-flex {
    display: flex;
    align-items: center;
    background: #fcfbfa;
    border: 1px solid #eae8e5;
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
}

.field-phone-flex:focus-within {
    border-color: #8da84e;
    background: #ffffff;
}

.prefix-box {
    background: #eae8e5;
    color: #555555;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    border-right: 1px solid #dcd9d5;
    user-select: none;
}

.field-phone-flex input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 14px 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: #1a1b15;
    outline: none;
}

.form-notice {
    font-size: 12px;
    color: #777777;
    line-height: 1.5;
    margin: 25px 0;
}

.form-notice span {
    color: #9b1c1c;
}

/* BOUTON D'ENVOI */
.btn-submit-form {
    width: 100%;
    padding: 16px;
    background: #1a1b15;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit-form:hover {
    background: #8da84e;
}

/* HIDING DE SECURITE DU HONEYPOT */
.field-group-hp {
    display: none !important;
    visibility: hidden !important;
}

/* ======================================
   RESPONSIVE
====================================== */
@media (max-width: 1024px) {
    .contact-layout {
        flex-direction: column;
        align-items: stretch;
    }
    .contact-info-sidebar {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .form-row-twin {
        flex-direction: column;
        gap: 20px;
    }
    .contact-hero-banner h1 {
        font-size: 2rem;
    }
    .contact-form-wrapper {
        padding: 25px 20px;
    }
}