* {
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* =========== STYLES GÉNÉRAUX ========== */
body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
}

/* =========== HERO SECTION ========== */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 5%;
    box-shadow: 0 24px 16px rgba(22, 18, 18, 0.137);
    background: linear-gradient(to right, #4c2570ef, #434392);
    color: white;
    border-bottom: 4px solid #a6a6a6;
    box-shadow: 0 2px 6px rgba(150, 150, 150, 0.4), 
                0 4px 10px rgba(200, 200, 200, 0.2) inset;
}

.hero-content {
    width: 100%; 
    text-align: center;
}

.hero-content h1 {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 8px;
}



/* =========== CONTACT DANS HERO ========== */
.hero-contact {
    display: inline-block;
    text-align: center;
}

.hero-contact p {
    font-size: 1.1em;
    margin-bottom: 4px;
}

.hero-contact a {
    color: #ffdd57;
    font-weight: bold;
    text-decoration: none;
}

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




/* =========== SECTION FORMULAIRE DE CONTACT ========== */
.contact-form-section {
    background: white;
    padding: 60px 10%;
    margin: 50px auto;
    max-width: 900px;
}

.contact-form-section h2 {
    font-size: 2.5em;
    margin-bottom: 25px;
    text-align: center;
    color: #4c2570;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: 0.3s;
    resize: none;
    border-radius: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #4c2570;
    outline: none;
    border-radius: 12px;
}

.form-group select option {
    background: rgba(173, 161, 172, 0.103);
    color: #000000;
}

.form-group select::-webkit-scrollbar {
    width: 8px;
}

.form-group select::-webkit-scrollbar-track {
    background: rgba(200, 200, 200, 0.3);
    border-radius: 8px;
}

.form-group select::-webkit-scrollbar-thumb {
    background: #4c2570;
    border-radius: 8px;
}

.form-group select::-webkit-scrollbar-thumb:hover {
    background: #5a2c8c;
}

.submit-btn {
    background: linear-gradient(135deg, #4c2570, #434392);
    color: white;
    font-size: 1.3em;
    font-weight: bold;
    padding: 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #5a2c8c, #5050a5);
    transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}



/* =========== FLASH ========== */
.flash-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #f39c12; /* Couleur orange */
    color: white;
    padding: 15px 20px;
    border-radius: 1px;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    font-size: 1em;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.575);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.5s ease-in-out;
    z-index: 9999;
    min-width: 300px;
    max-width: 600px;
    justify-content: space-between;
}

.flash-message.success {
    background: linear-gradient(135deg, #38a377ea, #10c03cf8);
}

.flash-message.error {
    background: linear-gradient(135deg, #691919ea, #c01010f8);
}

.flash-message button {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    animation: progressBar 5s linear forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

@keyframes progressBar {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}



/* =========== CAPTCHA ========== */
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 10px auto;
}



