/* ===== PAGE WRAPPER ===== */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
    padding: 48px 20px 80px;
}

/* ===== FORM CONTAINER ===== */
.form-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== PAGE TITLE ===== */
.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-title h1 {
    font-size: 40px;
    font-weight: 900;
    color: #25465F;
    text-align: center;
    line-height: 1.25;
    margin: 0;
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
    border: none;
    border-top: 1px solid rgba(37, 70, 95, 0.30);
    margin: 0 auto 36px;
    max-width: 1100px;
}

/* ===== CONTACT TITLE ===== */
.contact-title {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    color: #25465F;
    margin: 0 0 20px;
    text-transform: none;
}

/* ===== INTRO TEXT ===== */
.intro-text {
    text-align: center;
    color: #25465F;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 32px;
}

.intro-text b,
.intro-text strong {
    font-weight: 700;
}

/* ===== FORM ===== */
#form_contact {
    width: 100%;
    margin: 0 auto;
}

/* ===== CONTACT FORM (inner width) ===== */
.contact_form {
    width: 62%;
    margin: 0 auto;
}

/* ===== FORM ROW (2 columns) ===== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

/* ===== FORM GROUP ===== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* ===== LABELS ===== */
.form-group label {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 2px;
}

.required-star {
    color: #1a1a2e;
}

/* ===== INPUTS ===== */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #b0b0b0;
    border-radius: 6px;
    font-size: 15px;
    color: #1a1a2e;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    font-family: 'Arial', sans-serif;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #25465F;
    box-shadow: 0 0 0 3px rgba(37, 70, 95, 0.10);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9a9a9a;
    font-weight: 400;
    font-size: 14px;
}

/* ===== SELECT ===== */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a1a2e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
    color: #9a9a9a;
    padding-right: 40px;
}

.form-group select.selected,
.form-group select:not([value=""]) {
    color: #1a1a2e;
}

/* ===== TEXTAREA ===== */
.form-group textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.5;
}

/* ===== ERROR MESSAGES ===== */
.univError {
    display: none;
}

.univError p {
    color: #e00000;
    font-size: 12px;
    margin: 2px 0 0;
}

.has-error .univError {
    display: block;
}

.has-error input,
.has-error select,
.has-error textarea {
    border-color: #e00000 !important;
}

/* ===== RECAPTCHA ===== */
#recaptcha {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 8px;
}

/* ===== SUBMIT BUTTON ===== */
.bouton {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.bouton a {
    display: inline-block;
    background: #CC4E0A;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    letter-spacing: 0.3px;
    padding: 12px 64px;
    margin: 0;
}

.bouton a:hover {
    background: #b8440a;
    box-shadow: 0 4px 14px rgba(204, 78, 10, 0.35);
    transform: translateY(-1px);
}

.bouton a:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ===== MENTIONS LÉGALES ===== */
.mentions {
    padding: 24px 0 0;
}

.mentions p {
    text-align: justify;
    font-size: 11px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 8px;
}

.mentions-bloc {
    font-size: 11px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
    margin-top: 8px;
}

.mentions-bloc p {
    margin-bottom: 8px;
}

/* ===== CHAMPS OBLIGATOIRES NOTE ===== */
.required-note {
    font-size: 12px;
    color: #555;
    margin: 0 0 16px;
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .contact_form {
        width: 80%;
    }
}

@media (max-width: 1194px) {
    .main-content {
        padding: 32px 16px 60px;
    }

    .page-title h1 {
        font-size: 26px;
    }

    .contact-title {
        font-size: 26px;
    }

    .intro-text {
        font-size: 14px;
    }

    .section-divider {
        margin: 0 auto 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }

    .form-group.full-width {
        grid-column: auto;
    }

    .contact_form {
        width: 100%;
    }

    .bouton a {
        padding: 12px 40px;
        font-size: 15px;
    }

    .mentions {
        padding: 20px 0 0;
    }
}
