/* ── Page Contact — Cerises Academy ─────────────────────────────── */
.cerises-contact-main {
    background: linear-gradient(180deg, #f7f5fb 0%, #fdfdfe 100%);
    padding-top: 0;
}

.cerises-contact-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 140px 24px 64px;
    text-align: center;
}
.cerises-contact-hero-inner { max-width: 760px; margin: 0 auto; }
.cerises-contact-hero h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    margin: 0 0 12px;
    letter-spacing: .5px;
}
.cerises-contact-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.82);
    margin: 0;
}

.cerises-contact-section { padding: 56px 24px 80px; }
.cerises-contact-grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 40px;
    align-items: start;
}

/* Colonne gauche : infos + carte */
.cerises-contact-aside { display: flex; flex-direction: column; gap: 24px; }

.cerises-info-card,
.cerises-map-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 26px;
    box-shadow: 0 10px 30px rgba(22, 33, 62, 0.08);
    border: 1px solid rgba(22, 33, 62, 0.05);
}
.cerises-info-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.5rem;
    color: #16213e;
    margin: 0 0 18px;
}
.cerises-info-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.cerises-info-list li { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon {
    flex: 0 0 auto;
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(192, 57, 43, 0.10);
    color: #c0392b;
    font-size: 1.15rem;
    line-height: 1;
}
.ci-label {
    display: block;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8a8fa3;
    margin-bottom: 2px;
}
.ci-value { display: block; color: #c0392b; font-weight: 600; font-size: 1rem; line-height: 1.45; }
.ci-value a { color: #c0392b; text-decoration: none; font-weight: 600; }
.ci-value a:hover { text-decoration: underline; }

.cerises-map-title {
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8a8fa3;
    margin: 0 0 14px;
}
.cerises-map-frame {
    position: relative;
    width: 100%;
    height: 280px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(22, 33, 62, 0.08);
}
.cerises-map-frame iframe { display: block; width: 100%; height: 100%; }

/* Colonne droite : formulaire */
.cerises-contact-card {
    background: #fff;
    border-radius: 22px;
    padding: 40px 38px;
    box-shadow: 0 16px 44px rgba(22, 33, 62, 0.10);
    border: 1px solid rgba(22, 33, 62, 0.05);
}
.cerises-contact-form { display: flex; flex-direction: column; gap: 18px; }
.cf-field { display: flex; flex-direction: column; gap: 7px; }
.cf-field label {
    font-weight: 600;
    color: #16213e;
    font-size: .95rem;
}
.cf-req { color: #c0392b; }
.cf-field input,
.cf-field textarea {
    font-family: inherit;
    font-size: 1rem;
    color: #16213e;
    padding: 13px 15px;
    border: 1px solid #e2e4ec;
    border-radius: 12px;
    background: #fafbfd;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.cf-field input:focus,
.cf-field textarea:focus {
    outline: none;
    border-color: #c0392b;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.12);
}
.cf-field textarea { resize: vertical; min-height: 130px; }

.cf-submit {
    margin-top: 6px;
    align-self: flex-start;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    padding: 14px 34px;
    border-radius: 999px;
    background: linear-gradient(135deg, #c0392b 0%, #96281b 100%);
    box-shadow: 0 8px 22px rgba(150, 40, 27, 0.30);
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.cf-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(150, 40, 27, 0.38); }
.cf-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.cerises-contact-success {
    display: none;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    color: #1e8a55;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 22px;
    text-align: center;
    font-weight: 600;
}
.cerises-contact-error {
    display: none;
    background: rgba(192, 57, 43, 0.1);
    border: 1px solid rgba(192, 57, 43, 0.3);
    color: #c0392b;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 22px;
    text-align: center;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
    .cerises-contact-grid { grid-template-columns: 1fr; gap: 28px; }
    .cerises-contact-card { padding: 32px 24px; }
    .cerises-contact-section { padding: 40px 18px 60px; }
}
@media (max-width: 600px) {
    .cerises-contact-hero { padding: 120px 20px 48px; }
    .cerises-map-frame { height: 240px; }
}
