/* --- CONTACT PAGE STYLES --- */

/* Hero Contact */
.hero--contact {
    background-image: url('../assets/img/image_accueil.png');
    background-size: cover;
    background-position: center;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero--contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

.hero--contact .container {
    position: relative;
    z-index: 2;
}

.hero--contact .hero__text h1 {
    font-size: 3.5rem;
    color: #1e2a5a;
    margin-bottom: 1.5rem;
}

.hero--contact .hero__subtitle {
    font-size: 1.25rem;
    color: #1e2a5a;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Section Layout */
.section--contact-page {
    background-color: #ffffff;
    padding: 4rem 0 6rem;
}

.contact-page {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    /* Form (left) takes more space, Info (right) less */
    gap: 4rem;
    align-items: start;
}

/* Contact Info Column */
.contact-page__info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #f8fafc;
    /* Unified background for the info column */
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.contact-page__info h2 {
    font-size: 1.75rem;
    color: #1e2a5a;
    margin-bottom: 1rem;
    text-align: center;
    /* Center title as requested */
}

/* Remove underline from h2 since we are boxing the content */
.contact-page__info h2::after {
    display: none;
}

.contact-page__item {
    display: flex;
    align-items: center;
    /* Vertically center items */
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    border: 1px solid #f1f5f9;
}

.contact-page__item:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.contact-page__icon {
    font-size: 1.5rem;
    background: #eff6ff;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Circle icon */
    color: #2563eb;
    flex-shrink: 0;
}

.contact-page__item h3 {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.contact-page__item p {
    margin: 0;
    font-weight: 500;
    color: #0f172a;
}

.contact-page__notice {
    margin-top: 1rem;
    padding: 1rem;
    background: #fff1f2;
    /* Light red/alert or keep blue? User image had blue/white. Let's stick to blue/white but integrated. */
    background: #eff6ff;
    border-radius: 12px;
    border: 1px dashed #2563eb;
    /* Dashed border to make it distinct but related */
    font-size: 0.9rem;
    text-align: center;
}

.contact-page__notice h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #1e40af;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Form Column */
.contact-page__form {
    background: #ffffff;
    padding: 3rem;
    border-radius: 16px;
    /* Reduced from 24px */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    /* Softer shadow */
    border: 1px solid #f1f5f9;
}

.contact-page__form h2 {
    font-size: 2rem;
    color: #1e2a5a;
    margin-bottom: 2rem;
}

.form--contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form--contact .form__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form--contact label {
    font-weight: 600;
    color: #334155;
    font-size: 0.95rem;
}

.form--contact input,
.form--contact select,
.form--contact textarea {
    padding: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    /* Slightly more rounded */
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8fafc;
    /* Light background for inputs */
}

.form--contact input:focus,
.form--contact select:focus,
.form--contact textarea:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form--contact button {
    margin-top: 1rem;
    background: #1e2a5a;
    /* Matching the dark blue requested previously */
    color: white;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    /* Consistent radius */
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    font-weight: 600;
}

.form--contact button:hover {
    background: #162041;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(30, 42, 90, 0.2);
}

.form__legal {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 1rem;
    text-align: center;
}

/* Extra Info Section */
.contact-extra {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

.contact-extra__item {
    text-align: left;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.contact-extra__item h3 {
    font-size: 1.25rem;
    color: #1e2a5a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-extra__item p {
    color: #64748b;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 968px) {
    .contact-page {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-page__form {
        padding: 2rem;
    }

    .contact-extra {
        grid-template-columns: 1fr;
    }
}