.title-holder {
    max-width: 1180px;
    margin: 60px auto 24px;
    padding: 0 24px;
}

.horaire{
    font-size: 3rem !important;
    font-weight: 900;
    color: #becfff !important;
}

.title-holder h3 {
    color: #0f4bb7;
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.title-holder h1 {
    font-size: clamp(2.8rem, 4vw, 4.5rem);
    line-height: 1.02;
    margin: 0 0 24px;
    max-width: 780px;
}

.title-holder h1 span {
    color: #0b3f9d;
}

.title-holder p {
    max-width: 760px;
    font-size: 1rem;
    line-height: 1.8;
    color: #19212d;
    margin: 0;
}

.contact-holder {
    max-width: 1180px;
    margin: 100px auto 80px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 40px;
    min-width: 0;
}

.left-part,
.right-part {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.contact-form,
.form-row,
.form-group {
    min-width: 0;
}

.contact-form,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    box-sizing: border-box;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    max-width: 100%;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.info-card,
.summary-card {
    background: #f8fbff;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 24px 54px rgba(14, 65, 164, 0.05);
    display: flex;
    flex-direction:column;
    align-items: flex-start;
    gap: 18px;
}

.main-info-holder{
    display:flex;
    gap:25px;
}


.info-card img,
.info-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: grid;
    place-items: center;
}

.info-card img {
    width: 100%;
    height: auto;
}

.info-card h4,
.summary-card h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    color: #0d223c;
}

.info-card p,
.summary-card p {
    margin: 0;
    color: #404d64;
    font-size: 0.97rem;
    line-height: 1.8;
}

.info-card-large {
    grid-column: span 2;
}

.summary-card {
    background: linear-gradient(180deg, #0f4bb7 0%, #0b3b94 100%);
    opacity:0.8;
    color: #ffffff;
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(8, 28, 79, 0.14);
    display:flex;
    flex-direction:column
}

.summary-card h3 {
    font-size: 1.4rem;
}

.summary-card p {
    color: rgba(255,255,255,0.88);
}

.contact-form {
    background: #ffffff;
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(34, 55, 120, 0.09);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

label {
    font-weight: 700;
    font-size: 0.94rem;
    color: #0d2347;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    border: 1px solid #dce3ed;
    border-radius: 18px;
    padding: 18px 20px;
    font-size: 1rem;
    color: #16233d;
    background: #f9fbff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: #0f4bb7;
    box-shadow: 0 0 0 4px rgba(15, 75, 183, 0.12);
}

textarea {
    min-height: 200px;
    resize: vertical;
}

.submit-button {
    align-self: flex-start;
    background: #0f4bb7;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 18px 32px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.submit-button:hover {
    background: #0c3f90;
    transform: translateY(-1px);
}

@media screen and (max-width: 900px) {
    .contact-holder {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-card-large {
        grid-column: auto;
    }
}

@media screen and (max-width: 900px) {
    .title-holder {
        margin: 40px auto 18px;
    }

    .contact-form {
        padding: 26px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

@media screen and (max-width: 600px) {
    .title-holder {
        padding: 0 18px;
        margin-top: 32px;
    }

    .title-holder h1 {
        font-size: 2.4rem;
    }

    .contact-holder {
        padding: 0 18px 40px;
    }

    .info-card,
    .summary-card,
    .contact-form {
        padding: 22px;
        border-radius: 28px;
    }

    .summary-card {
        padding: 24px;
    }

    .submit-button {
        width: 100%;
        text-align: center;
    }
}




.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ── CAPTCHA MODAL STYLES ────────────────────────────────────────── */
.captcha-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    align-items: center;
    justify-content: center;
}

.captcha-modal-overlay.visible {
    display: flex;
}

.captcha-modal {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}

.captcha-modal h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: #1f2937;
}

.captcha-modal > p {
    color: #64748b;
    margin: 0 0 20px;
    font-size: 0.95rem;
}

.captcha-question {
    display: inline-block;
    background: #f1f5fd;
    border: 2px solid #0f4bb7;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f4bb7;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.captcha-modal input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1.1rem;
    text-align: center;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.captcha-modal input[type="number"]:focus {
    border-color: #0f4bb7;
}

.captcha-error {
    color: #e53e3e;
    font-size: 0.88rem;
    min-height: 20px;
    margin: 6px 0 0;
}

.captcha-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.captcha-modal-actions button {
    padding: 11px 26px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

#cancel-captcha {
    background: #e2e8f0;
    color: #1f2937;
}

#cancel-captcha:hover {
    opacity: 0.8;
}

.btn-captcha-confirm {
    background: #0f4bb7;
    color: #ffffff;
}

.btn-captcha-confirm:hover {
    opacity: 0.88;
}