/* === HEADER AVEC OVERLAY === */
.home {
    position: relative;
    height: 420px;
    background-image: url("../inner_HEADER.jpg");
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.home::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(25, 32, 38, 0.8);
}
.home_content {
    position: relative;
    z-index: 2;
    margin-top: 60px; 
}
.home_title {
    font-size: 40px;
    color: #D7B65D;
    font-weight: 700;
    text-transform: uppercase;
}

.home_content p {
    font-size: 1.05rem;
    margin: 0;
    color: rgba(255,255,255,.8);
}

/* === SECTION INFO SIMPLE === */
.contact-info-section .info-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact-info-section .info-block {
    padding: 0 20px;
    position: relative;
    flex: 1;
}
.info-icon {
    height: 32px;
    margin-bottom: 10px;
}
.contact-info-section .info-block:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    border-right: 1px dotted #D7B65D;
}
.contact-info-section {
    background-color: #192026;
    color: #fff;
    padding: 50px 0;
}
.info-line {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    position: relative;
}
.info-block {
    text-align: center;
}
.info-block h4 {
    color: #D7B65D;
    font-size: 20px;
    margin-bottom: 6px;
}
.info-block p {
    color: #ccc;
    font-size: 16px;
    margin: 0;
}
.info-line::after {
    content: "";
    position: absolute;
    bottom: -25px;
    left: 10%;
    width: 80%;
    border-bottom: 1.5px dashed #D7B65D;
}

/* === FORMULAIRE MINIMALISTE === */
.contact_form_section {
    background: #f8f9fa;
    padding: 80px 20px;
    text-align: center;
}
.contact_form_section h2 {
    font-size: 32px;
    color: #192026;
    font-weight: 600;
    margin-bottom: 40px;
    position: relative;
}
.contact_form_section h2::after {
    content: "";
    display: block;
    height: 3px;
    width: 60px;
    background-color: #D7B65D;
    margin: 10px auto 0 auto;
}

.contact_form {
    max-width: 720px;
    margin: 0 auto;
}

.form_row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

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

label {
    font-weight: 600;
    margin-bottom: 8px;
    text-align: left;
    color: #192026;
}

.form_input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form_input:focus {
    border-color: #D7B65D;
    outline: none;
    box-shadow: 0 0 8px rgba(215,182,93,0.3);
}

.form_textarea {
    resize: vertical;
}

.form_submit_button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    background: #D7B65D;
    color: #192026;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

.form_submit_button:hover {
    background: #caa84f;
}

/* --- Animated Gradient Button --- */
.contact-envoyer-container {
    width: 100%;
    display: flex;
    justify-content: center;
}
.contact-envoyer-container .button {
    display: inline-block !important;
    height: 53px !important;
    border-radius: 27px !important;
    overflow: hidden !important;
    position: relative !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}
.contact-envoyer-container .button_bcg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 200% !important;
    height: 100% !important;
    background: linear-gradient(to right, #D7B65D, #192026, #D7B65D) !important;
    z-index: 1 !important;
    transition: all 400ms ease !important;
}
.contact-envoyer-container .button:hover .button_bcg {
    left: -100% !important;
}
.contact-envoyer-container .button a {
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #e6dfdf !important;
    text-transform: uppercase !important;
    line-height: 53px !important;
    padding-left: 46px !important;
    padding-right: 46px !important;
    white-space: nowrap !important;
    z-index: 2 !important;
    position: relative !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    text-align: center !important;
}



/* Responsive */
@media (max-width: 768px) {
    .home {
        height: 300px;
    }
    
    .home_title {
        font-size: 30px;
    }
    
    .info-line {
        flex-direction: column;
        gap: 40px;
    }
    
    .info-line::after {
        display: none;
    }
    
    .contact-info-section .info-block:not(:last-child)::after {
        display: none;
    }
    
    .form_row {
        flex-direction: column;
    }
    
    .contact_form_section {
        padding: 50px 15px;
    }
    
    .contact_form_section h2 {
        font-size: 26px;
    }
    
    .contact-envoyer-container .button {
        height: 48px !important;
    }
    
    .contact-envoyer-container .button a {
        font-size: 12px !important;
        line-height: 48px !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

@media (max-width: 480px) {
    .home {
        height: 250px;
    }
    
    .home_title {
        font-size: 24px;
    }
    
    .home_content p {
        font-size: 0.9rem;
    }
    
    .info-block h4 {
        font-size: 18px;
    }
    
    .info-block p {
        font-size: 14px;
    }
    
    .contact_form_section h2 {
        font-size: 22px;
    }
    
    .form_input {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .contact-envoyer-container .button {
        height: 45px !important;
    }
    
    .contact-envoyer-container .button a {
        font-size: 11px !important;
        line-height: 45px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .popup-message {
        right: 10px;
        left: 10px;
        padding: 12px 15px;
        font-size: 14px;
    }
}
/* ✅ Messages de succès et d’erreur */
.popup-message {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 9999;
    border-radius: 10px;
    padding: 15px 25px;
    color: #192026;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: slideIn 0.4s ease;
}

.alert-success {
    background-color: #D7B65D; /* vert */
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.95); /* rouge */
    color: white; 
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.fade-out {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.contact_form_subtitle {
    max-width: 700px;
    margin: 16px auto 50px;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    font-weight: 500;
    letter-spacing: 0.2px;
}


@media (max-width: 768px) {
    .contact_form_subtitle {
        font-size: 14.5px;
        margin-bottom: 35px;
    }
}



