.fms-page-hero {
    background: url('/wp-content/uploads/2025/05/vocation-bg.jpg') center/cover no-repeat;
    position: relative;
    padding: 35px 20px;
    margin-top: 5px;
}

.fms-page-hero-overlay {
    background: rgba(22, 50, 79, 0.82);
    padding: 35px 20px;
    border-radius: 14px;
    max-width: 1300px;
    margin: auto;
}

.fms-page-hero-content {
    text-align: center;
    color: white;
}

.fms-breadcrumb {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.fms-breadcrumb a {
    color: white;
    text-decoration: none;
}

.fms-page-hero h1 {
    margin: 0;
    font-size: 2.1rem;
    font-weight: 700;
}

.fms-page-content {
    padding: 80px 20px;
    background: #ffffff;
}

.fms-page-container {
    max-width: 900px;
    margin: auto;
    font-size: 1.08rem;
    line-height: 1.9;
    color: #334e68;
}

/* Gutenberg */
.fms-page-container h2,
.fms-page-container h3,
.fms-page-container h4 {
    color: #16324f;
    margin-top: 40px;
}

.fms-page-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.fms-page-container blockquote {
    border-left: 4px solid #16324f;
    padding-left: 20px;
    color: #4a6572;
    font-style: italic;
}

.fms-page-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.fms-page-container table td,
.fms-page-container table th {
    border: 1px solid #d9e2ec;
    padding: 12px;
}

@media (max-width: 768px) {

    .fms-page-hero {
        padding: 20px 12px;
        min-height: 42vh;
        display: flex;
        align-items: center;
    }

    .fms-page-hero-overlay {
        padding: 35px 24px;
        border-radius: 12px;
    }

    .fms-page-hero-content {
        text-align: left;
    }

    .fms-breadcrumb {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 14px;
        opacity: 0.95;
    }

    .fms-page-hero h1 {
        font-size: 2.8rem;
        line-height: 1.08;
        font-weight: 700;
        margin-bottom: 12px;
        letter-spacing: -0.5px;
    }

    .fms-page-hero-content p {
        font-size: 1.05rem;
        line-height: 1.7;
        max-width: 100%;
    }

    .fms-page-content {
        padding: 50px 20px;
    }

    .fms-page-container {
        font-size: 1rem;
        line-height: 1.8;
    }

}


/* ============================
   PAGE CONTACT – INSTITUTIONNEL
   ============================ */

.contact-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px 40px;
    color: #1d3557;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: 2.6rem;
    color: #16324f;
    margin-bottom: 15px;
}

.contact-header p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: #4a6572;
    font-style: italic;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* Bloc informations institutionnelles */
.contact-infos {
    background: #f8fafc;
    border-left: 4px solid #234e70;
    padding: 35px 30px;
}

.contact-infos h2 {
    font-size: 1.6rem;
    color: #16324f;
    margin-bottom: 20px;
}

.contact-infos p {
    margin-bottom: 14px;
    line-height: 1.7;
}

.contact-infos strong {
    color: #16324f;
}

/* Bloc formulaire */
.contact-form {
    background: #ffffff;
    padding: 35px 30px;
    border: 1px solid rgba(22, 50, 79, 0.15);
}

.contact-form h2 {
    font-size: 1.6rem;
    color: #16324f;
    margin-bottom: 20px;
}

/* Formulaire (générique – compatible CF7, WPForms, etc.) */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 16px;
    border: 1px solid rgba(22, 50, 79, 0.25);
    font-size: 15px;
    font-family: Arial, sans-serif;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #234e70;
}

/* Bouton */
.contact-form button,
.contact-form input[type="submit"] {
    background: #16324f;
    color: #ffffff;
    border: none;
    padding: 14px 26px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.contact-form button:hover,
.contact-form input[type="submit"]:hover {
    background: #234e70;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

.contact-room-rental {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-top: 3px solid #b38c47;
    margin-top: 26px;
    padding: 22px;
}

.contact-room-rental h3 {
    color: #16324f;
    font-size: 1.18rem;
    margin: 0 0 10px;
}

.contact-room-rental p {
    color: #3e5367;
    margin: 0 0 14px;
}

.contact-room-rental ul {
    color: #334e68;
    line-height: 1.7;
    margin: 0;
    padding-left: 18px;
}

/* ============================
   PAGE LOCATION DE SALLES
   ============================ */

.fms-room-page {
    background: #ffffff;
    color: #16324f;
}

.fms-room-page-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.fms-room-page-hero .fms-room-page-inner {
    align-items: center;
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
}

.fms-room-page-hero {
    background: linear-gradient(135deg, #eef5f8 0%, #ffffff 58%, #f7efe2 100%);
    border-bottom: 1px solid #d9e2ec;
    padding: 64px 0 58px;
}

.fms-room-page-breadcrumb {
    color: #234e70;
    display: inline-block;
    margin-bottom: 22px;
    text-decoration: none;
    font-weight: 600;
}

.fms-room-page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.08;
    margin: 8px 0 20px;
    max-width: 860px;
}

.fms-room-page-hero p:not(.fms-section-kicker) {
    color: #4a6572;
    font-size: 1.12rem;
    line-height: 1.75;
    max-width: 820px;
}

.fms-room-page-hero-media,
.fms-room-card-media {
    margin: 0;
    overflow: hidden;
}

.fms-room-page-hero-media {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    box-shadow: 0 24px 55px rgba(22, 50, 79, 0.18);
}

.fms-room-page-hero-media img,
.fms-room-card-media img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.fms-room-page-content {
    padding: 58px 0 76px;
}

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

.fms-room-card {
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.fms-room-card-media {
    aspect-ratio: 16 / 10;
    background: #eef5f8;
}

.fms-room-card-header {
    background: #f8fafc;
    border-bottom: 1px solid #d9e2ec;
    padding: 28px;
}

.fms-room-card-header span {
    color: #8a6a2f;
    display: block;
    font-weight: 700;
    margin-bottom: 12px;
}

.fms-room-card h2,
.fms-room-info-band h2 {
    font-size: 1.55rem;
    line-height: 1.25;
    margin: 0 0 14px;
}

.fms-room-card p,
.fms-room-card dd,
.fms-room-info-band p,
.fms-room-info-band li {
    color: #4a6572;
    line-height: 1.7;
}

.fms-room-facts {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    background: #d9e2ec;
}

.fms-room-facts div {
    background: #ffffff;
    padding: 22px 24px;
}

.fms-room-facts dt,
.fms-room-card h3 {
    color: #16324f;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.fms-room-facts dd {
    margin: 0;
}

.fms-room-columns {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 26px 28px;
}

.fms-room-card ul,
.fms-room-info-band ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fms-room-card li,
.fms-room-info-band li {
    border-top: 1px solid #edf2f7;
    padding: 10px 0;
}

.fms-room-card li:first-child,
.fms-room-info-band li:first-child {
    border-top: 0;
}

.fms-room-rate {
    background: #fbf7ef;
    border-top: 1px solid #eadcc3;
    margin-top: auto;
    padding: 24px 28px;
}

.fms-room-rate p {
    margin: 6px 0 0;
}

.fms-room-info-band {
    align-items: stretch;
    background: #16324f;
    display: grid;
    gap: 1px;
    grid-template-columns: 1.35fr 0.65fr;
    margin-top: 34px;
}

.fms-room-info-band section,
.fms-room-info-band aside {
    background: #16324f;
    padding: 34px;
}

.fms-room-info-band h2,
.fms-room-info-band p,
.fms-room-info-band li {
    color: #ffffff;
}

.fms-room-info-band li {
    border-top-color: rgba(255, 255, 255, 0.18);
}

.fms-room-page-button {
    background: #ffffff;
    border-radius: 4px;
    color: #16324f;
    display: inline-flex;
    font-weight: 800;
    margin-top: 12px;
    padding: 13px 18px;
    text-decoration: none;
}

.fms-room-page-button:hover {
    background: #f7efe2;
}

@media (max-width: 900px) {
    .fms-room-page-hero {
        padding: 46px 0 42px;
    }

    .fms-room-page-hero .fms-room-page-inner,
    .fms-room-grid,
    .fms-room-info-band {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .fms-room-page-inner {
        padding: 0 16px;
    }

    .fms-room-page-content {
        padding: 36px 0 52px;
    }

    .fms-room-card-header,
    .fms-room-columns,
    .fms-room-rate,
    .fms-room-info-band section,
    .fms-room-info-band aside {
        padding: 22px;
    }

    .fms-room-facts,
    .fms-room-columns {
        grid-template-columns: 1fr;
    }
}