body { 
    background-image: url('../images/allover-plain.jpg');
    background-size: cover;
    background-attachment: fixed; /* l'image reste fixe au scroll = continuité parfaite */
    background-position: center;
    background-color: #FFEFE6;
}

h1 {
    display: none;
}


/* CONTACT PAGE */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 2rem auto 4rem;
    padding: 0 2rem;
}

/* LEFT BLOCK (INFO) */

.contact-info {
    background: #FFD3EA;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info h3 {
    font-family: 'GillSans-UltraBold', sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    color: #2A5842;
    margin-bottom: 0.5rem;
}

/* CARDS */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-card {
    background: #FFEFE6;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-family: 'Americane-Regular', sans-serif;
    color: #2A5842;
    font-size: 1rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: relative;
    overflow: visible;
}

.card-star {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    opacity: 0;
    transform: scale(0.5) rotate(-20deg);
    transition: all 0.3s ease;
    pointer-events: none;
}

.contact-card:hover {
    background: #6EA14F;
    color: #FFEFE6;
    transform: translateX(6px);
}

.contact-card:hover .card-star {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* RIGHT BLOCK (FORM) */
.contact-form {
    background: #FFEFE6;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* GROUP */
.contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
}

/* LABEL */
.contact-form label {
    font-family: 'GillSans-UltraBold', sans-serif;
    text-transform: uppercase;
    font-size: 1.2rem;
    color: #2A5842;
    margin-bottom: 0.4rem;
}

/* INPUTS */
.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #E0E0E0;
    font-family: 'Americane-Regular', sans-serif;
    font-size: 0.95rem;
    background: #FFFFFF;
    color: #2A5842;
    transition: all 0.2s ease;
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

/* FOCUS */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #FFA3C8;
    box-shadow: 0 0 0 3px rgba(255,163,200,0.25);
}

/* CHECKBOX */
.form-group--checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-family: 'Americane-Regular', sans-serif;
    color: #2A5842;
}

/* BUTTON */

.form-actions {
    margin-top: 1.5rem;
    text-align: center;
}

.btn-add {
    background: #6EA14F;
    color: #FFEFE6;
    font-family: 'GillSans-UltraBold', sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    padding: 0.8rem 2rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.btn-add:hover {
    background: #2A5842;
    transform: translateY(-3px);
}

/* =========================
   FLASH MESSAGE
   ========================= */

.flash-success {
    background: #6EA14F;
    color: #FFEFE6;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-family: 'GillSans-UltraBold', sans-serif;
    margin: 1rem auto;
    max-width: 600px;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1023px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 2rem auto 4rem;
        padding: 0 1.5rem;
        gap: 1.5rem;
    }

    .contact-info,
    .contact-form {
        padding: 2rem;
    }
}

/* =============================
   MOBILE ≤767px
   ============================= */
@media (max-width: 767px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin: 1.5rem auto 3rem;
        padding: 0 1rem;
        gap: 1.2rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
        border-radius: 1.2rem;
    }

    .contact-info h3 {
        font-size: 1.3rem;
    }

    .contact-form label {
        font-size: 1rem;
    }

    .btn-add {
        width: 100%;
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }
}