/* ============================================
   THÈME ALMAVIVA SANTÉ — Design premium
   ============================================ */

/* V6.5-fix-48 : couleurs identitaires (--almaviva-bleu, --almaviva-orange,
   --almaviva-gris-clair, --almaviva-noir, --almaviva-fond-doux) déplacées
   dans assets/css/variables.css comme alias vers la palette canonique
   --alm-*. Les vars typo/dimensions restent ici (hors scope palette). */
:root {
    --almaviva-bleu-clair: #A1C0E5;
    --almaviva-blanc: #FFFFFF;
    --almaviva-bordure: #E5E7EB;
    --almaviva-font-titre: 'Jost', 'Century Gothic', sans-serif;
    --almaviva-font-corps: 'Barlow', 'DIN', sans-serif;
    --almaviva-max-width: 1280px;
    --header-h: 90px;
    --header-h-sticky: 64px;
}

* { box-sizing: border-box; }

body {
    font-family: var(--almaviva-font-corps);
    color: var(--almaviva-noir);
    margin: 0;
    padding: 0;
    padding-top: calc(var(--header-h) + 40px); /* compense le header fixe */
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--almaviva-font-titre);
    color: var(--almaviva-bleu);
    font-weight: 600;
}

a { color: var(--almaviva-bleu); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--almaviva-orange); }

.almaviva-container {
    max-width: var(--alm-container);
    margin: 0 auto;
    padding: 0;
}

/* ============================================
   WRAPPER HEADER (sticky + transition)
   ============================================ */
.almaviva-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--almaviva-blanc);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

/* Confort admin : décaler le header fixe sous la barre d'admin WP (logged-in only).
   Sinon html{margin-top:32px} (admin bar) descend le contenu sous le header resté à
   top:0 → ~26px de blanc header→hero. Aucun impact client : déconnecté = pas de
   .admin-bar → top:0 conservé (règle de base ci-dessus, specificity 0,1,0). */
body.admin-bar .almaviva-wrapper { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar .almaviva-wrapper { top: 46px; }
}

/* ============================================
   TOP BAR (s'efface au scroll)
   ============================================ */
.almaviva-topbar {
    background: var(--almaviva-fond-doux);
    border-bottom: 1px solid var(--almaviva-bordure);
    font-size: 12.5px;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    max-height: 50px;
}

.almaviva-topbar .almaviva-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 12px;
}

.almaviva-topbar-left, .almaviva-topbar-right {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
}

.almaviva-topbar-left { flex: 0 1 auto; min-width: 0; }
.almaviva-topbar-right { flex: 0 0 auto; }
.almaviva-topbar-left > *, .almaviva-topbar-right > * { flex-shrink: 0; white-space: nowrap; }

.almaviva-topbar-addr {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.almaviva-topbar a { color: var(--almaviva-noir); }
.almaviva-topbar a:hover { color: var(--almaviva-orange); }
.almaviva-topbar-phone { font-weight: 600; color: var(--almaviva-bleu); }
.almaviva-topbar-sep { color: var(--almaviva-bordure); }

@media (min-width: 961px) and (max-width: 1200px) {
    .almaviva-topbar-email, .almaviva-topbar-sep--email { display: none; }
}

@media (min-width: 961px) and (max-width: 1080px) {
    .almaviva-topbar-addr, .almaviva-topbar-sep--addr { display: none; }
}

/* Cache top-bar quand sticky */
.almaviva-wrapper.is-sticky .almaviva-topbar {
    max-height: 0;
    padding: 0;
    border-bottom: none;
}

/* ============================================
   HEADER (logo + menu côte à côte, premium)
   ============================================ */
.almaviva-header {
    background: var(--almaviva-blanc);
    transition: padding 0.3s ease;
}

.almaviva-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    transition: padding 0.3s ease;
    gap: 32px;
}

.almaviva-wrapper.is-sticky .almaviva-header-inner {
    padding: 8px 0;
}

.almaviva-logo-link { display: block; line-height: 0; flex-shrink: 0; }

.almaviva-logo {
    height: 64px;
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

.almaviva-wrapper.is-sticky .almaviva-logo {
    height: 44px;
}

/* ============================================
   MENU (intégré dans le header, transparent)
   ============================================ */
.almaviva-nav { flex: 1; }

.almaviva-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
}

.almaviva-menu > li { position: relative; }

.almaviva-menu > li > a {
    display: block;
    padding: 10px 16px;
    color: var(--almaviva-noir);
    font-family: var(--almaviva-font-titre);
    font-weight: 500;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.2s;
}

.almaviva-menu > li > a:hover {
    color: var(--almaviva-bleu);
    background: var(--almaviva-fond-doux);
}

/* Menu header à ≥8 entrées (ex. Clinique de l'Alma = 9 rubriques) : compacter gap/padding/
   taille + white-space:nowrap pour tenir sur 1 SEULE ligne (à 1440px) au lieu de casser les
   libellés longs (« La Clinique de l'Alma », « Prestations hôtelières », « Annuaire praticiens »)
   sur 2 lignes. Quantity query :has() → ne s'applique QUE si le menu a un 8e item top-level :
   les sites à menu court (5-6 entrées, ex. Beauregard/Saint-Jean) sont STRICTEMENT inchangés.
   Scoping desktop (burger < 961px non touché → responsive mobile préservé). */
@media (min-width: 961px) {
    /* Respiration nette entre le bloc logo (gauche) et la nav — le 1er item
       « La Clinique de l'Alma » ne colle plus le logo. Le menu étant en
       justify-content:flex-end (items ancrés à droite près de la loupe), l'écart
       logo↔1er item est ouvert en RÉDUISANT la largeur des items (padding), pas
       par le margin ; le margin-left garde une détache minimale garantie.
       Desktop only → le burger ≤960px (nav en drawer position:fixed) est intact. */
    .almaviva-nav { margin-left: 12px; }
    /* Menu ≥8 entrées : padding horizontal 10→9 → ~+18px d'écart logo↔item tout
       en tenant sur 1 SEULE ligne sans wrap/débordement à 1280px (largeur nav
       plafonnée par le conteneur, identique à 1440px). */
    .almaviva-menu:has(> li:nth-child(8)) { gap: 2px; }
    .almaviva-menu:has(> li:nth-child(8)) > li > a { padding: 8px 9px; font-size: 13px; white-space: nowrap; }
}

.almaviva-menu .has-submenu > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.2s;
}

.almaviva-menu .has-submenu:hover > a::after {
    transform: rotate(225deg) translate(-2px, -2px);
}

/* Sous-menus premium */
.almaviva-menu .submenu {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--almaviva-blanc);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    border-radius: 10px;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
}

.almaviva-menu .submenu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 24px;
    width: 12px;
    height: 12px;
    background: var(--almaviva-blanc);
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0,0,0,0.04);
}

.almaviva-menu li.has-submenu:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.almaviva-menu .submenu a {
    display: block;
    padding: 10px 22px;
    color: var(--almaviva-noir);
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: all 0.18s;
}

.almaviva-menu .submenu a:hover,
.almaviva-menu .submenu a:focus-visible {
    color: var(--almaviva-bleu);
    background-color: var(--almaviva-fond-doux);
    background-image: linear-gradient(to right, var(--almaviva-orange) 0, var(--almaviva-orange) 3px, transparent 3px);
    background-origin: border-box;
    background-repeat: no-repeat;
}

/* CTA Espace Pro (bouton orange premium) */
.almaviva-menu .almaviva-cta {
    background: var(--almaviva-orange);
    color: var(--almaviva-blanc) !important;
    padding: 10px 22px;
    margin-left: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(238, 114, 3, 0.25);
}

.almaviva-menu .almaviva-cta:hover {
    background: var(--alm-orange);
    color: var(--almaviva-blanc) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(238, 114, 3, 0.35);
}

/* Menu 1-ligne DÉFINITIF (tous les menus, pas seulement ≥8 items).
   Cause du wrap résiduel : les libellés top-level n'avaient pas white-space:nowrap
   (sauf la règle :has(nth-child(8))). Sans nowrap, le flex comprimait les libellés
   longs (« Praticiens & spécialités », « Prestations Hôtelières », « Notre
   établissement », « Sécurité des soins ») sous leur largeur intrinsèque → wrap sur
   2-3 lignes, alors que la rangée tient sur UNE ligne. nowrap + flex-shrink:0 → chaque
   libellé (chevron ⌄ inline compris) reste sur 1 seule ligne. Mesuré au rendu réel :
   rangée ≤ largeur du nav à 1440px ET 1280px, jusqu'à 9 items (Clinique de l'Alma),
   sans débordement ni collision logo. Scoping ≥961px → le burger ≤960px (nav en drawer,
   items empilés pleine largeur) n'est PAS concerné. */
@media (min-width: 961px) {
    .almaviva-menu > li { flex-shrink: 0; }
    .almaviva-menu > li > a { white-space: nowrap; }
}

/* ============================================
   BURGER (mobile uniquement)
   ============================================ */
.almaviva-burger {
    display: none;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    padding: 10px;
    flex-shrink: 0;
}

.almaviva-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--almaviva-bleu);
    margin: 5px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.almaviva-burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.almaviva-burger.is-open span:nth-child(2) {
    opacity: 0;
}
.almaviva-burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.almaviva-nav .almaviva-nav-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--almaviva-bleu);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .almaviva-menu > li > a {
        padding: 10px 10px;
        font-size: 13px;
    }
}

@media (max-width: 960px) {
    body { padding-top: var(--header-h-sticky); }
    
    .almaviva-topbar { display: none; }
    
    .almaviva-burger { display: block; }
    
    .almaviva-header-inner { padding: 10px 0; }
    
    .almaviva-logo { height: 44px; }
    
    /* Menu en panneau slide latéral */
    .almaviva-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(360px, 85vw);
        height: 100vh;
        background: var(--almaviva-blanc);
        box-shadow: -8px 0 32px rgba(0,0,0,0.15);
        transition: right 0.35s ease, visibility 0.35s ease;
        visibility: hidden;
        overflow-y: auto;
        padding: 80px 0 40px;
        z-index: 999;
    }

    .almaviva-nav.is-open { right: 0; visibility: visible; }

    .almaviva-nav.is-open .almaviva-nav-close { display: inline-flex; }

    .almaviva-nav .almaviva-nav-close:hover {
        background-color: rgba(0, 72, 153, 0.08);
        color: var(--almaviva-bleu);
    }

    .almaviva-nav .almaviva-nav-close:focus,
    .almaviva-nav .almaviva-nav-close:focus-visible {
        background-color: transparent;
        color: var(--almaviva-bleu);
        outline: 2px solid var(--almaviva-orange);
        outline-offset: 2px;
    }

    .almaviva-nav .almaviva-nav-close svg { flex: 0 0 auto; }
    
    /* Overlay sombre quand menu ouvert */
    .almaviva-nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        z-index: 998;
    }
    
    .almaviva-nav-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }
    
    .almaviva-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0 20px;
    }
    
    .almaviva-menu > li {
        border-bottom: 1px solid var(--almaviva-bordure);
    }
    
    .almaviva-menu > li:last-child { border-bottom: none; }
    
    .almaviva-menu > li > a {
        padding: 16px 8px;
        font-size: 15px;
        border-radius: 0;
    }
    
    .almaviva-menu > li > a:hover { background: transparent; }
    
    .almaviva-menu .has-submenu > a::after {
        float: right;
        margin-top: 8px;
    }
    
    /* Sous-menus en accordéon mobile */
    .almaviva-menu .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 12px;
        background: var(--almaviva-fond-doux);
        min-width: 0;
        margin: 0 -20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .almaviva-menu .submenu::before { display: none; }
    
    .almaviva-menu li.has-submenu.is-open > .submenu {
        max-height: 600px;
        padding: 8px 0 16px;
    }
    
    .almaviva-menu .submenu a { padding: 10px 28px; }
    
    .almaviva-menu .almaviva-cta {
        margin: 16px 20px 0;
        text-align: center;
    }
}

/* ============================================
   FOOTER ALMAVIVA — Design pro santé
   ============================================ */
.almaviva-footer {
    background: var(--almaviva-bleu);
    color: var(--almaviva-blanc);
    padding: 70px 0 0;
    margin-top: 0;
    font-family: var(--almaviva-font-corps);
    font-size: 14px;
    line-height: 1.6;
    position: relative;
}
.almaviva-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--almaviva-orange); }
/* Liens footer : blanc strict ; hover = blanc SOULIGNÉ, jamais orange (règle #27) */
.almaviva-footer a { color: #fff; text-decoration: none; transition: color .2s, text-decoration-color .2s; border-bottom: 0; }
.almaviva-footer a:hover, .almaviva-footer a:focus-visible { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
/* Titres colonnes : blanc + filet orange court (décor seulement) */
.almaviva-footer h4 { color: #fff; font-family: var(--almaviva-font-titre); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; margin: 0 0 20px; padding-bottom: 12px; position: relative; }
.almaviva-footer h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--almaviva-orange); }
.almaviva-footer-logo { max-width: 180px; height: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 18px; }
/* Structure : identité (gauche) + 5 colonnes menu */
.almaviva-footer-main { display: grid; grid-template-columns: 1.3fr 3.2fr; gap: 56px; padding-bottom: 44px; }
.almaviva-footer-name { font-family: var(--almaviva-font-titre); font-size: 16px; font-weight: 600; color: #fff; margin: 0 0 16px; }
.almaviva-footer-coords p { margin: 0 0 10px; color: rgba(255,255,255,.9); }
.almaviva-footer-coords a { color: #fff; }
.almaviva-footer-coords a:hover { color: #fff; }
.almaviva-footer-fax { color: rgba(255,255,255,.85); font-size: 13px; }
.almaviva-footer-hours { white-space: pre-line; color: rgba(255,255,255,.85); font-size: 13px; }
/* Icônes sociales cerclées (fond translucide, icône blanche) */
.almaviva-footer-social { display: flex; gap: 12px; margin-top: 18px; }
.almaviva-footer-social-ic { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff !important; transition: background .2s, border-color .2s; }
.almaviva-footer-social-ic:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.55); text-decoration: none; }
.almaviva-footer-social-ic svg { width: 18px; height: 18px; display: block; }
/* Colonnes menu miroir : les rubriques sont réparties par un algo de balance PHP (greedy LPT)
   dans --footer-cols colonnes (≤3), chacune empilant 1..n groupes de hauteur ~équivalente.
   minmax(0,1fr) garantit le partage strict de la largeur → jamais de scroll horizontal. */
.almaviva-footer-menus { display: grid; grid-template-columns: repeat(var(--footer-cols, 3), minmax(0, 1fr)); gap: 28px 32px; align-items: start; }
.almaviva-footer-menu-col { min-width: 0; }
/* Groupes empilés dans une même colonne : espacement vertical entre deux rubriques. */
.almaviva-footer-menu-group { margin-bottom: 30px; }
.almaviva-footer-menu-group:last-child { margin-bottom: 0; }
.almaviva-footer-menu-group ul { list-style: none; margin: 0; padding: 0; }
.almaviva-footer-menu-group li { margin: 0 0 9px; }
.almaviva-footer-menu-group a { color: #fff; font-size: 13.5px; overflow-wrap: break-word; }
.almaviva-footer-menu-group a:hover { color: #fff; }
/* Nos établissements */
.almaviva-footer-reseau { border-top: 1px solid rgba(255,255,255,.15); padding: 28px 0; }
.almaviva-footer-reseau h4 { margin-bottom: 16px; }
.almaviva-footer-reseau-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.almaviva-footer-reseau-list a { color: #fff; font-size: 13px; }
.almaviva-footer-reseau-list a:hover { color: #fff; }
/* LOT3 site-pilote Alma : section établissements groupée en accordéons régionaux
   (<details> natif, tous repliés au chargement, SEO-safe : les <a> restent dans le DOM). */
.almaviva-footer-reseau--grouped .almaviva-footer-region-acc { border-top: 1px solid rgba(255,255,255,.10); }
.almaviva-footer-reseau--grouped .almaviva-footer-region-acc:first-of-type { border-top: 0; }
.almaviva-footer-region { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; padding: 12px 0; color: #fff; font-size: 13.5px; font-weight: 600; }
.almaviva-footer-region::-webkit-details-marker { display: none; }
.almaviva-footer-region:hover { color: var(--almaviva-orange-light, #f6a96b); }
.almaviva-footer-region:focus-visible { outline: 2px solid var(--almaviva-orange); outline-offset: 2px; border-radius: 3px; }
.almaviva-footer-region-count { opacity: .6; font-weight: 400; }
.almaviva-footer-region-chevron { flex: 0 0 auto; transition: transform .2s ease; }
.almaviva-footer-region-acc[open] > .almaviva-footer-region .almaviva-footer-region-chevron { transform: rotate(180deg); }
.almaviva-footer-region-body { padding: 4px 0 14px; }
.almaviva-footer-region-body .almaviva-footer-reseau-list { gap: 8px 22px; }
/* ===== Footer dédié Clinique de l'Alma (blog 28, site pilote) — refonte 3 colonnes.
   Réutilise la charte de base .almaviva-footer (fond #004899, accents #EE7203, texte
   blanc, h4 filet orange). Ici : layout identité + 3 colonnes équilibrées. ===== */
.almaviva-footer--alma { padding: 48px 0; }
/* Identité + 3 colonnes = UNE seule grille dense (identité 1.4fr + 3×1fr, gap 30px).
   .alma-cols en display:contents → ses 3 groupes deviennent items de la grille parente. */
.almaviva-footer--alma-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; align-items: start; padding-bottom: 28px; }
.almaviva-footer--alma-cols { display: contents; }
.almaviva-footer--alma .almaviva-footer-menu-group { margin-bottom: 0; }
.alm-fa-coords { list-style: none; margin: 16px 0 18px; padding: 0; display: grid; gap: 10px; }
.alm-fa-coords li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; }
.alm-fa-ico { flex: 0 0 auto; color: var(--almaviva-orange); display: inline-flex; line-height: 0; margin-top: 1px; }
.alm-fa-ico svg { width: 18px; height: 18px; }
.alm-fa-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--almaviva-bleu, #004899) !important; font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 6px; text-decoration: none !important; margin-bottom: 4px; }
.alm-fa-btn:hover, .alm-fa-btn:focus-visible { background: #fff; color: #003674 !important; text-decoration: none !important; }
.alm-fa-btn .alm-fa-ico { color: inherit; }
/* Réseaux sociaux : cercles bordés blanc, fond transparent, hover orange léger (scopé blog 28) */
.almaviva-footer--alma .almaviva-footer-social { gap: 10px; margin-top: 14px; }
.almaviva-footer--alma .almaviva-footer-social-ic { background: transparent; border: 0.5px solid rgba(255,255,255,.4); width: 36px; height: 36px; color: #fff !important; }
.almaviva-footer--alma .almaviva-footer-social-ic:hover { background: rgba(238,114,3,.28); border-color: var(--almaviva-orange); }
/* Section réseau : 4 régions sur une ligne (grid), compact */
.almaviva-footer--alma .almaviva-footer-reseau { padding: 28px 0; }
.almaviva-footer--alma .almaviva-footer-reseau--grouped { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 20px; align-items: start; }
.almaviva-footer--alma .almaviva-footer-reseau--grouped > h4 { grid-column: 1 / -1; margin-bottom: 12px; }
.almaviva-footer--alma .almaviva-footer-reseau--grouped .almaviva-footer-region-acc { border-top: 0; }
/* Pills régions : fond clair, coins arrondis, padding généreux, hover doux 150ms.
   align-items:center (hérité) → texte sur 2 lignes reste centré vertical avec le chevron. */
.almaviva-footer--alma .almaviva-footer-region { padding: 14px 18px; background: rgba(255,255,255,.10); border-radius: 12px; transition: background .15s ease; }
.almaviva-footer--alma .almaviva-footer-region:hover { background: rgba(255,255,255,.16); }
.almaviva-footer--alma .almaviva-footer-region-body { padding: 10px 6px 12px; }
.almaviva-footer--alma .almaviva-footer-region-body .almaviva-footer-reseau-list { flex-direction: column; flex-wrap: nowrap; gap: 7px; }
.almaviva-footer--alma .almaviva-footer-bottom { padding: 24px 0 0; }
/* Responsive : identité pleine largeur + colonnes 2×2 (tablette) → tout empilé (mobile) */
@media (max-width: 900px) {
    .almaviva-footer--alma-top { grid-template-columns: 1fr 1fr; gap: 28px; }
    .almaviva-footer--alma .alm-fa-identity { grid-column: 1 / -1; }
    .almaviva-footer--alma .almaviva-footer-reseau--grouped { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .almaviva-footer--alma-top { grid-template-columns: 1fr; }
    .almaviva-footer--alma .alm-fa-identity { grid-column: auto; }
    .almaviva-footer--alma .almaviva-footer-reseau--grouped { grid-template-columns: 1fr; }
}
/* Bas de footer */
.almaviva-footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: rgba(255,255,255,.82); }
.almaviva-footer-bottom__links a { color: #fff; }
.almaviva-footer-bottom__links a:hover { color: #fff; }
/* Responsive : desktop = identité + 3 colonnes équilibrées (≈4 pistes) · ≤1024 identité empilée · tablette = 2 · mobile = 1. 0 scroll-H.
   ≤768 : on abandonne la grille 3-fixe (qui reflowait en 2 pistes asymétriques) pour un multi-colonnes CSS
   auto-équilibré (columns), qui répartit les groupes en 2 colonnes de hauteur ~égale, puis 1 en mobile. */
@media (max-width: 1024px) { .almaviva-footer-main { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 768px)  {
    .almaviva-footer-menus { display: block; columns: 2; column-gap: 32px; }
    .almaviva-footer-menu-col { display: contents; }
    .almaviva-footer-menu-group { break-inside: avoid; margin-bottom: 30px; }
}
@media (max-width: 600px)  { .almaviva-footer { padding-top: 50px; } .almaviva-footer-menus { columns: 1; } .almaviva-footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ============================================
   PAGES LÉGALES
   ============================================ */
.almaviva-legal-page {
    padding: 60px 0;
    min-height: 60vh;
}
.almaviva-legal-page h1 {
    font-family: var(--almaviva-font-titre);
    font-size: 36px;
    color: var(--almaviva-bleu);
    border-bottom: 3px solid var(--almaviva-orange);
    padding-bottom: 16px;
    margin-bottom: 40px;
    display: inline-block;
}
.almaviva-legal-page h2 {
    font-family: var(--almaviva-font-titre);
    color: var(--almaviva-bleu);
    font-size: 22px;
    margin: 36px 0 14px;
    padding-left: 12px;
    border-left: 4px solid var(--almaviva-orange);
}
.almaviva-legal-page h3 {
    color: var(--almaviva-bleu);
    font-size: 17px;
    margin: 22px 0 10px;
}
.almaviva-legal-page p { line-height: 1.7; margin-bottom: 14px; }
.almaviva-legal-page ul { margin: 0 0 18px 24px; line-height: 1.7; }
.almaviva-legal-page a { color: var(--almaviva-bleu); border-bottom: 1px solid var(--almaviva-orange); }
.almaviva-legal-page a:hover { color: var(--almaviva-orange); }
.almaviva-sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.almaviva-sitemap-section ul { list-style: none; margin-left: 0; padding: 0; }
.almaviva-sitemap-section li { padding: 6px 0; }

/* Media picker (admin) */
.alm-media { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.alm-media-preview { width:120px; height:80px; background:var(--alm-bg-soft); border:1px dashed #c5c5c5; border-radius:4px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.alm-media-preview img { max-width:100%; max-height:100%; object-fit:contain; }
.alm-media-empty { color:#999; font-size:11px; text-align:center; padding:6px; }

/* ============================================
   HOMEPAGE
   ============================================ */
.alm-home { font-family: 'Barlow', sans-serif; color: var(--alm-gray-900); }
/* V6.5-fix-23 : scopée à .alm-home (homepage sous-site) au lieu d'être
   globale. La règle non-scopée écrasait `.alm-container { max-width:
   var(--container) }` du portail (même spécificité, custom.css chargé
   après portail.css) → /actualites/ portail rétréci à 1200 au lieu de
   1400. Aucune autre page n'utilise .alm-home, donc safe. */
.alm-home .alm-container { max-width: var(--alm-container); margin: 0 auto; padding: 0; }
/* :not([class*="__"]) exclut les h2/h3 BEM des blocs alm/* qui portent leur propre
   couleur (ex. .alm-block-recruitment-banner__title { color:#fff }). Sans cette
   exclusion, la règle .alm-home h2 (spécificité 0,1,1) bat la règle de bloc
   (spécificité 0,1,0) et force le bleu, y compris sur fonds orange/bleu → violation WCAG. */
.alm-home h2:not([class*="__"]) { font-family: 'Jost', sans-serif; font-size: clamp(28px, 4vw, 42px); color: #004899; margin: 0 0 24px; font-weight: 600; }
.alm-home h3:not([class*="__"]) { font-family: 'Jost', sans-serif; color: #004899; margin: 0 0 12px; }
.alm-intro { font-size: 18px; color: #555; max-width: 720px; margin: 0 auto 40px; text-align: center; }
.alm-btn { display: inline-block; padding: 14px 32px; border-radius: 6px; font-weight: 600; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.alm-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.alm-btn-primary { background: #EE7203; color: #fff; }
.alm-btn-secondary { background: #004899; color: #fff; }

/* CHIFFRES */
.alm-stats { padding: 80px 0; background: #f7f9fc; text-align: center; }
.alm-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-top: 40px; }
.alm-stat { background: #fff; padding: 32px 20px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.alm-stat-icon { font-size: 40px; margin-bottom: 12px; }
.alm-stat-value { font-family: 'Jost', sans-serif; font-size: 42px; font-weight: 700; color: #EE7203; line-height: 1; }
.alm-stat-label { color: #555; margin-top: 8px; }

/* SERVICES */
.alm-services { padding: 80px 0; text-align: center; }
.alm-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.alm-service-card { padding: 28px 16px; border: 1px solid #e5e7eb; border-radius: 10px; transition: all .2s; }
.alm-service-card:hover { border-color: #EE7203; transform: translateY(-4px); box-shadow: 0 8px 24px rgba(238,114,3,.12); }
.alm-service-icon { font-size: 36px; margin-bottom: 12px; }

/* À PROPOS */
.alm-about { padding: 80px 0; background: #fff; }
.alm-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.alm-about-text div { font-size: 16px; line-height: 1.7; color: #444; }
.alm-about-img img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.1); }

/* DOCTORS */
.alm-doctors { padding: 80px 0; background: #004899; color: #fff; text-align: center; }
.alm-doctors h2 { color: #fff; }
.alm-doctors p { font-size: 18px; max-width: 720px; margin: 0 auto 32px; opacity: .9; }
.alm-doctors .alm-btn-secondary { background: #EE7203; }

/* TÉMOIGNAGES */
.alm-testi { padding: 80px 0; background: #f7f9fc; text-align: center; }
.alm-testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 40px; }
.alm-testi-card { background: #fff; padding: 32px 24px; border-radius: 12px; text-align: left; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.alm-testi-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.alm-testi-card blockquote { font-style: italic; color: #444; margin: 0 0 16px; padding: 0; border: 0; }
.alm-testi-name { color: #004899; }
.alm-testi-role { font-size: 14px; color: #888; }

/* CTA FINAL */
.alm-cta-final { padding: 80px 0; background: linear-gradient(135deg, #EE7203, var(--alm-orange)); color: #fff; text-align: center; }
.alm-cta-final h2 { color: #fff; }
.alm-cta-final p { font-size: 18px; max-width: 640px; margin: 0 auto 32px; opacity: .95; }
.alm-cta-final .alm-btn-primary { background: #fff; color: #EE7203; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .alm-about-grid { grid-template-columns: 1fr; gap: 32px; }
    .alm-hero { min-height: 420px; }
    .alm-stats, .alm-services, .alm-about, .alm-doctors, .alm-testi, .alm-cta-final { padding: 56px 0; }
}

/* Masquer le header par défaut de Hello Elementor (on utilise notre header custom) */
#site-header.site-header { display: none !important; }
.page-header .entry-title,
.entry-header .entry-title { display: none !important; }

/* Backup : masquer toute zone header parente (au cas où l'ID changerait dans une MAJ) */
body > header.site-header,
.site-header,
header[role="banner"]:not(.almaviva-header) { display: none !important; }

/* Masquer le footer par défaut de Hello Elementor */
#site-footer.site-footer { display: none !important; }

/* ============================================
   HOMEPAGE — HÉROS WOW
   ============================================ */
.alm-hero {
    position: relative;
    min-height: clamp(640px, 92vh, 900px);
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: 70% top;
    background-color: #004899;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.alm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(238,114,3,.25) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(0,72,153,.4) 0%, transparent 60%),
        linear-gradient(135deg, rgba(0,72,153,.92) 0%, rgba(0,72,153,.75) 50%, rgba(0,38,80,.85) 100%);
    z-index: 1;
}
.alm-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0);
    background-size: 32px 32px;
    z-index: 1;
    opacity: .4;
}
.alm-hero-overlay { display: none; }
.alm-hero-inner {
    position: relative;
    z-index: 2;
    padding: 100px 24px;
    max-width: 900px;
    animation: heroFadeUp 1s cubic-bezier(.16,1,.3,1) both;
}
.alm-hero-inner::before {
    content: '';
    display: inline-block;
    width: 60px;
    height: 4px;
    background: #EE7203;
    border-radius: 2px;
    margin-bottom: 24px;
    animation: heroLine .8s cubic-bezier(.16,1,.3,1) .2s both;
}
.alm-hero h1 {
    font-family: 'Jost', sans-serif;
    font-size: clamp(36px, 5.5vw, 64px);
    margin: 0 0 24px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,.15);
}
.alm-hero-sub {
    font-size: clamp(17px, 1.6vw, 21px);
    max-width: 640px;
    margin: 0 0 40px;
    opacity: .92;
    line-height: 1.6;
    font-weight: 400;
}
.alm-hero .alm-btn-primary {
    background: #EE7203;
    color: #fff;
    font-size: 17px;
    padding: 18px 40px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 10px 40px -10px rgba(238,114,3,.6), 0 0 0 0 rgba(238,114,3,.4);
    transition: all .35s cubic-bezier(.16,1,.3,1);
    position: relative;
    overflow: hidden;
}
.alm-hero .alm-btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .6s;
}
.alm-hero .alm-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 50px -10px rgba(238,114,3,.7), 0 0 0 4px rgba(238,114,3,.15);
}
.alm-hero .alm-btn-primary:hover::before { transform: translateX(100%); }

/* Indicateur de scroll */
.alm-hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,.5);
    border-radius: 13px;
    z-index: 2;
}
.alm-hero-scroll::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroLine {
    from { width: 0; opacity: 0; }
    to { width: 60px; opacity: 1; }
}
@keyframes scrollDot {
    0%, 100% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 14px); opacity: .3; }
}

@media (prefers-reduced-motion: reduce) {
    .alm-hero-inner, .alm-hero-inner::before, .alm-hero-scroll::before { animation: none; }
}
@media (max-width: 768px) {
    .alm-hero { min-height: 88vh; }
    .alm-hero-inner { padding: 80px 24px; }
    .alm-hero-scroll { display: none; }
}

/* ============================================
   ZÉRO ESPACE entre header et sections
   ============================================ */
body.home main.alm-home { margin: 0 !important; padding: 0 !important; }
body.home { padding-top: 0 !important; }
body { padding-top: 0 !important; }

/* Si body a un padding-top calc(--header-h), on l'annule sur la home */
body.home,
body.page-template-default { padding-top: 0 !important; }

/* Le header doit rester sticky et le hero démarre juste après */
.alm-home > section:first-child { margin-top: 0; }
.alm-home > section + section { margin-top: 0; }


/* Override Hello Elementor padding-top sur toutes les pages (on a notre propre header sticky) */
body { padding-top: 0 !important; }

/* ============================================
   HERO — Extensions (logo, type, double CTA)
   ============================================ */
.alm-hero-logo {
    display: block;
    height: 64px;
    width: auto;
    margin-bottom: 28px;
    filter: brightness(0) invert(1);
    opacity: .95;
    animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) .1s both;
}
.alm-hero-type {
    display: inline-block;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 7px 16px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 2px;
    margin-bottom: 22px;
    color: #fff;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,.05);
    animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) .15s both;
}
/* Neutralise le trait orange ::before quand on a déjà type/logo au-dessus */
.alm-hero-inner:has(.alm-hero-type, .alm-hero-logo)::before { display: none; }

.alm-hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}
.alm-hero .alm-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.alm-hero .alm-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 2px solid rgba(255,255,255,.55);
    backdrop-filter: blur(6px);
    text-decoration: none;
    transition: all .3s cubic-bezier(.16,1,.3,1);
}
.alm-hero .alm-btn-ghost:hover {
    background: #fff;
    color: #004899;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 14px 40px -10px rgba(255,255,255,.4);
}
.alm-hero .alm-btn-ghost svg { transition: transform .3s; }
.alm-hero .alm-btn-ghost:hover svg { transform: scale(1.1); }

@media (max-width: 640px) {
    .alm-hero-logo { height: 48px; margin-bottom: 20px; }
    .alm-hero-ctas { flex-direction: column; align-items: stretch; }
    .alm-hero .alm-btn-primary,
    .alm-hero .alm-btn-ghost { justify-content: center; width: 100%; }
}

/* ============================================
   HERO — Ajustements visuels v2
   ============================================ */
.alm-hero-logo {
    display: block;
    height: 56px;
    width: auto;
    margin: 0 0 24px;
    /* Force tout le logo en blanc, peu importe ses couleurs d'origine */
    filter: brightness(0) invert(1);
    opacity: .95;
    animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) .1s both;
}

.alm-hero-inner {
    padding: 90px 32px 110px;
    max-width: 1100px;
    margin: 0;
    width: 100%;
}
.alm-hero .alm-container.alm-hero-inner {
    margin-left: max(32px, calc((100vw - 1200px) / 2));
    max-width: 720px;
}

.alm-hero-type {
    font-size: 12px;
    letter-spacing: 4px;
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,.4);
    background: rgba(238,114,3,.15);
    border-color: rgba(238,114,3,.6);
    color: #fff;
    margin-bottom: 28px;
    font-weight: 500;
}

.alm-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    margin: 0 0 22px;
    max-width: 760px;
}

.alm-hero-sub {
    font-size: clamp(15px, 1.2vw, 17px);
    max-width: 640px;
    margin: 0 0 36px;
    opacity: .95;
    line-height: 1.65;
}

.alm-hero-ctas { gap: 14px; }

.alm-hero .alm-btn-primary,
.alm-hero .alm-btn-ghost {
    padding: 16px 30px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .alm-hero .alm-container.alm-hero-inner {
        margin-left: 0;
        padding: 70px 24px 90px;
    }
}

/* Hero : chiffres clés inline */
.alm-hero-stats {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}
.alm-hero-stats li {
    display: flex;
    flex-direction: column;
    padding-left: 16px;
    border-left: 2px solid rgba(238,114,3,.8);
}
.alm-hero-stats strong {
    font-family: 'Jost', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.alm-hero-stats span {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,.85);
    margin-top: 6px;
}
@media (max-width: 640px) {
    .alm-hero-stats { gap: 20px; }
    .alm-hero-stats strong { font-size: 22px; }
    .alm-hero-stats span { font-size: 11px; }
}

/* ============================================
   HERO B — Split 50/50 (texte gauche, image droite)
   ============================================ */
.alm-hero--b {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: clamp(640px, 88vh, 880px);
    background: #004899;
    color: #fff;
    overflow: hidden;
    position: relative;
}
.alm-hero-b__content {
    display: flex;
    align-items: center;
    padding: 80px clamp(32px, 5vw, 80px);
    background:
        radial-gradient(circle at 20% 20%, rgba(238,114,3,.12) 0%, transparent 60%),
        linear-gradient(135deg, #004899 0%, #003674 100%);
    position: relative;
    z-index: 2;
}
.alm-hero-b__inner {
    max-width: 560px;
    width: 100%;
    animation: heroFadeUp 1s cubic-bezier(.16,1,.3,1) both;
}
.alm-hero-b__inner h1 {
    font-family: 'Jost', sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 20px;
    color: #fff;
    letter-spacing: -.02em;
}
.alm-hero-b__inner .alm-hero-sub {
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.65;
    opacity: .92;
    margin: 0 0 32px;
}
.alm-hero-b__inner .alm-hero-logo {
    height: 52px;
    width: auto;
    margin: 0 0 24px;
    filter: brightness(0) invert(1);
    opacity: .95;
}
.alm-hero-b__inner .alm-hero-type {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 6px 14px;
    border: 1px solid rgba(238,114,3,.6);
    background: rgba(238,114,3,.15);
    border-radius: 2px;
    margin-bottom: 22px;
    font-weight: 500;
}
.alm-hero-b__stats {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.alm-hero-b__stats li {
    display: flex;
    flex-direction: column;
    padding-left: 14px;
    border-left: 2px solid #EE7203;
}
.alm-hero-b__stats strong {
    font-family: 'Jost', sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}
.alm-hero-b__stats span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,.8);
    margin-top: 6px;
}
.alm-hero-b__image {
    background-size: cover;
    background-position: center;
    position: relative;
}
.alm-hero-b__image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,72,153,.35) 0%, transparent 30%);
    z-index: 1;
}

@media (max-width: 900px) {
    .alm-hero--b {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .alm-hero-b__image { min-height: 320px; order: -1; }
    .alm-hero-b__content { padding: 56px 24px; }
}

/* ============================================
   fix-69s — Pages légales en prose (mentions, confidentialité, cookies, plan)
   ============================================
   Classe utilisable sur core/group className="alm-legal-content" pour wrapper
   le contenu éditorial des pages légales étab (saint-jean + 22 autres).
   Mirror des styles .alm-legal__content existants (page-legal.php portail) mais
   réutilisable hors template dédié. Max-width 760px = lecture confortable. */
.alm-legal-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}
.alm-legal-content h2 {
    font-family: var(--font-title, 'Jost', sans-serif);
    color: var(--alm-blue, #004899);
    font-size: clamp(1.375rem, 2.2vw, 1.75rem);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.alm-legal-content h2:first-child { margin-top: 0; }
.alm-legal-content h3 {
    font-family: var(--font-title, 'Jost', sans-serif);
    color: var(--alm-blue, #004899);
    font-size: 1.15rem;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.alm-legal-content p { margin-bottom: 1rem; }
.alm-legal-content ul,
.alm-legal-content ol { margin: 1rem 0 1.5rem 1.5rem; padding-left: 0.5rem; }
.alm-legal-content li { margin-bottom: 0.5rem; }
.alm-legal-content a {
    color: var(--alm-blue, #004899);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.alm-legal-content a:hover {
    color: var(--alm-blue-dark, #003670);
    text-decoration-thickness: 2px;
}
.alm-legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}
.alm-legal-content th,
.alm-legal-content td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--alm-gray-200, #E5E5DE);
}
.alm-legal-content th {
    background: var(--alm-gray-50, #FBFAF7);
    font-weight: 600;
    color: var(--alm-blue, #004899);
}

/* ============================================
   fix-69p — Gap header (force) + contraste charte (orange sur bleu / bleu sur orange INTERDITS)
   ============================================
   1. Gap header : la règle fix-69i était sans !important et pouvait être battue par
      des règles spécifiques antérieures. Spécificité renforcée via main.alm-page-corpo
      + !important pour garantir l'application sur tous les étab.
   2. Contraste WCAG charte : tout lien sur fond bleu OU orange → blanc strict
      (hover = opacity + underline plus épais, JAMAIS changement de couleur).
      Override les rules génériques `a:hover { color: --alm-orange }` qui violaient
      la charte (orange #EE7203 sur bleu #004899 = ratio 2.51:1, FAIL WCAG AA).
   3. Liens sur fond clair (blanc/grey) : bleu Almaviva par défaut + bleu plus foncé
      en hover (PAS orange). */

/* (1) Gap header — V6.5-fix-69u : SUPPRIMÉE (remplacée par règle body universelle
       en fin de fichier qui couvre TOUS les templates étab : page.php, page-legal.php,
       page-generic.php, etc. La règle ciblée sur main.alm-page-corpo ne couvrait
       pas page-legal.php fix-69t (main.alm-legal) et autres templates futurs). */

/* (2) Contraste strict : liens TEXTE sur fond bleu/orange/cta → blanc (jamais orange sur bleu).
   IMPORTANT : `:not(.alm-btn)` exclut tous les boutons (alm-btn-primary, alm-btn-secondary,
   alm-btn-blue, alm-btn-outline, etc. — tous portent .alm-btn de base) pour préserver
   leur style propre (ex. alm-btn-primary sur CTA orange = bg blanc + texte orange).
   fix-69q : correction du fix-69p qui forçait color: #fff sur les boutons → invisibles. */
.alm-block-hero-page a:not(.alm-btn),
.alm-block-hero-page a:not(.alm-btn):link,
.alm-block-hero-page a:not(.alm-btn):visited,
.alm-block-hero-page a:not(.alm-btn):hover,
.alm-block-hero-page a:not(.alm-btn):focus,
.alm-block-hero-page a:not(.alm-btn):active,
.alm-block--bg-blue a:not(.alm-btn),
.alm-block--bg-blue a:not(.alm-btn):link,
.alm-block--bg-blue a:not(.alm-btn):visited,
.alm-block--bg-blue a:not(.alm-btn):hover,
.alm-block--bg-blue a:not(.alm-btn):focus,
.alm-block--bg-blue a:not(.alm-btn):active,
.alm-block-cta a:not(.alm-btn),
.alm-block-cta a:not(.alm-btn):link,
.alm-block-cta a:not(.alm-btn):visited,
.alm-block-cta a:not(.alm-btn):hover,
.alm-block-cta a:not(.alm-btn):focus,
.alm-block-cta a:not(.alm-btn):active,
.alm-block--bg-orange a:not(.alm-btn),
.alm-block--bg-orange a:not(.alm-btn):link,
.alm-block--bg-orange a:not(.alm-btn):visited,
.alm-block--bg-orange a:not(.alm-btn):hover,
.alm-block--bg-orange a:not(.alm-btn):focus,
.alm-block--bg-orange a:not(.alm-btn):active {
    color: #fff !important;
}
/* Transition : opacity + underline (pas de changement de couleur) — liens texte uniquement */
.alm-block-hero-page a:not(.alm-btn),
.alm-block--bg-blue a:not(.alm-btn),
.alm-block-cta a:not(.alm-btn),
.alm-block--bg-orange a:not(.alm-btn) {
    opacity: 0.92;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: opacity 0.15s ease, text-decoration-thickness 0.15s ease;
}
.alm-block-hero-page a:not(.alm-btn):hover,
.alm-block--bg-blue a:not(.alm-btn):hover,
.alm-block-cta a:not(.alm-btn):hover,
.alm-block--bg-orange a:not(.alm-btn):hover {
    opacity: 1;
    text-decoration-thickness: 2px;
}

/* (3) Liens sur fond clair : bleu Almaviva (déjà fix-69k v2) + hover bleu foncé (PAS orange)
   ============================================
   IMPORTANT — convention d'exclusion pour les boutons de bloc :
   Cette règle force `color: var(--alm-blue)` sur tous les <a> du contenu
   corpo (spécificité 0,6,1+). Sans exclusion, elle écrase la couleur d'un
   bouton stylé en bloc et rend son texte invisible (bleu sur bleu) — bug
   récurrent au scrape & sur tous les nouveaux blocs.

   Patterns d'exclusion :
   - Classes utilitaires DA standards : .alm-btn, .alm-btn-primary,
     .alm-btn-secondary, .alm-card__link
   - Sélecteurs nommés explicites : .alm-block-anchor-nav__link,
     [class*="alm-block-cta"]
   - **Convention BEM `__verb`** (la plus durable) : tout bouton de bloc
     dont la classe finit par `__cta`, `__rdv`, `__doctolib`, `__phone`,
     `__submit`, `__link` est automatiquement immunisé via
     [class*="__verb"]. Pour ajouter un futur bouton de bloc sans risque,
     suivre cette convention de nommage (ex. .alm-block-foo__cta).
   ============================================ */
.alm-page-corpo .alm-block--bg-white a:not(.alm-btn):not(.alm-btn-primary):not(.alm-btn-secondary):not(.alm-card__link):not([class*="alm-block-cta"]):not(.alm-block-anchor-nav__link):not([class*="__cta"]):not([class*="__rdv"]):not([class*="__doctolib"]):not([class*="__phone"]):not([class*="__submit"]):not([class*="__link"]),
.alm-page-corpo .alm-block--bg-grey a:not(.alm-btn):not(.alm-btn-primary):not(.alm-btn-secondary):not(.alm-card__link):not([class*="alm-block-cta"]):not(.alm-block-anchor-nav__link):not([class*="__cta"]):not([class*="__rdv"]):not([class*="__doctolib"]):not([class*="__phone"]):not([class*="__submit"]):not([class*="__link"]) {
    color: var(--alm-blue, #004899);
}
.alm-page-corpo .alm-block--bg-white a:not(.alm-btn):not(.alm-btn-primary):not(.alm-btn-secondary):not(.alm-card__link):not([class*="alm-block-cta"]):not(.alm-block-anchor-nav__link):not([class*="__cta"]):not([class*="__rdv"]):not([class*="__doctolib"]):not([class*="__phone"]):not([class*="__submit"]):not([class*="__link"]):hover,
.alm-page-corpo .alm-block--bg-grey a:not(.alm-btn):not(.alm-btn-primary):not(.alm-btn-secondary):not(.alm-card__link):not([class*="alm-block-cta"]):not(.alm-block-anchor-nav__link):not([class*="__cta"]):not([class*="__rdv"]):not([class*="__doctolib"]):not([class*="__phone"]):not([class*="__submit"]):not([class*="__link"]):hover {
    color: var(--alm-blue-dark, #003670) !important;
    text-decoration-thickness: 2px;
}
/* (4) Cards : .alm-card__link hover → bleu foncé sur fond clair, blanc sur fond bleu */
.alm-block--bg-white .alm-card__link:hover,
.alm-block--bg-grey .alm-card__link:hover {
    color: var(--alm-blue-dark, #003670) !important;
}
/* (5) Accordion : summary hover et liens content sur fond clair → bleu foncé */
.alm-block--bg-white .alm-accordion-item summary:hover,
.alm-block--bg-grey .alm-accordion-item summary:hover {
    color: var(--alm-blue-dark, #003670) !important;
}
.alm-block--bg-white .alm-accordion-content a:hover,
.alm-block--bg-grey .alm-accordion-content a:hover {
    color: var(--alm-blue-dark, #003670) !important;
}

/* ============================================
   fix-69k v2 — Finition : hero responsive + liens Almaviva
   ============================================
   1. Hero titre : clamp() élargi pour gérer titres longs sans débordement
      (cas espace-pro 63 chars). overflow-wrap pour casser les mots si besoin.
   2. Liens dans pages corpo : couleur bleu Almaviva (override du mauve par défaut
      de certains renderers WP/Hello Elementor sur les <a> inline).
   3. Scope strict : ciblé sur .alm-page-corpo pour ne pas impacter portail ni
      autres composants Almaviva. */
.alm-block-hero-page__title {
    font-size: clamp(1.5rem, 4vw, 3.25rem);
    line-height: 1.15;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    max-width: 26ch;
}
@media (max-width: 600px) {
    .alm-block-hero-page__title {
        font-size: clamp(1.4rem, 6vw, 2rem);
        max-width: none;
    }
}
/* Liens dans le contenu des pages corpo étab : bleu Almaviva (pas mauve par défaut). */
.alm-page-corpo a:not(.alm-btn):not(.alm-btn-primary):not(.alm-btn-secondary):not([class*="alm-block-cta"]):not(.alm-block-anchor-nav__link):not([class*="__cta"]):not([class*="__rdv"]):not([class*="__doctolib"]):not([class*="__phone"]):not([class*="__submit"]):not([class*="__link"]) {
    color: var(--alm-blue, #004899);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.alm-page-corpo a:not(.alm-btn):not(.alm-btn-primary):not(.alm-btn-secondary):not([class*="alm-block-cta"]):not(.alm-block-anchor-nav__link):not([class*="__cta"]):not([class*="__rdv"]):not([class*="__doctolib"]):not([class*="__phone"]):not([class*="__submit"]):not([class*="__link"]):hover {
    color: var(--alm-orange, #EE7203);
    text-decoration-color: var(--alm-orange, #EE7203);
}

/* ============================================
   fix-69j — Placeholder cohérent DA (icône Lucide centrée)
   ============================================
   Utilisé par alm/split (et alm/hero-page) quand imageId=0 ET placeholderIcon défini.
   Backward-compat : placeholder neutre sans modifier (.alm-block-split__media-placeholder
   sans suffixe --icon) conserve son ancien rendu (aspect-ratio + dashed border vu
   dans portail-blocks.css). On ne sur-écrit que la variante --icon. */
.alm-block-split__media-placeholder--icon {
    aspect-ratio: 4/3;
    background: #F4F4F0;
    border-radius: var(--r-lg, 12px);
    border: 1px solid var(--alm-gray-200, #E5E5DE);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 32px;
    color: #004899;
}
.alm-block-split__media-placeholder--icon svg {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    opacity: 0.85;
}
/* Le libellé du placeholder est VU PAR LE PUBLIC dès qu'un split n'a pas
   d'image — c'est le cas de la plupart des accueils du lot de septembre, dont
   la médiathèque est vide. À #8A8A82 sur le fond #F4F4F0 du cadre, il rendait
   3,15:1, sous le seuil de 4,5:1 du texte courant, mesuré au rendu et non
   supposé. #6F6F68 garde la teinte de la palette et rend 4,80:1. */
.alm-block-split__media-placeholder__label {
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 13px;
    font-style: italic;
    color: #6F6F68;
    letter-spacing: 0.02em;
}
.alm-block-split--no-frame .alm-block-split__media-placeholder--icon {
    background: transparent;
    border: 0;
    border-radius: 0;
}

/* ============================================
   fix-69u — Compensation header universelle (remplace fix-69i + fix-69p ciblé)
   ============================================
   Le wrapper Almaviva étab `.almaviva-wrapper` est position:fixed top:0 → chevauche
   tout le contenu suivant si pas de padding-top compensateur.

   Règle universelle ciblant le BODY plutôt que chaque wrapper main.* :
   - couvre TOUS les templates étab existants (page.php fix-69h → .alm-page-corpo,
     page-legal.php fix-69t → .alm-legal, page-generic.php → main générique, etc.)
   - couvre AUTOMATIQUEMENT les templates futurs
   - exclut le portail (body.almaviva-portail-body — header sticky pas besoin de
     compensation)
   - exclut la home étab (body.home — front-page.php a son propre wrapper alm-home
     avec hero collé top intentionnellement, override body { padding-top: 0 !important }
     ligne 800 préservé)
   - tilde `!important` requis pour battre les overrides historiques `body { padding-top: 0
     !important }` (lignes 800/804/812) qui ciblent body sans discriminer le template.
   - Valeurs : 130px desktop (--header-h 90 + buffer 40), 64px mobile (--header-h-sticky)
     où la topbar est masquée via @media. */
body:not(.almaviva-portail-body):not(.home) {
    padding-top: calc(var(--header-h) + 40px) !important;
}
@media (max-width: 960px) {
    body:not(.almaviva-portail-body):not(.home) {
        padding-top: var(--header-h-sticky) !important;
    }
}

/* ============================================
   fix Instances — sommaire par ancres (alm/anchor-nav)
   ============================================
   1. Le sommaire héritait du padding-block .alm-block (clamp 48-80px) → barre sticky
      de ~230px qui masquait la section cible au clic. On rétablit le padding compact
      voulu par le bloc (16px). Specificity 0,2,0 > .alm-block (0,1,0).
   2. Sticky calé sous le header replié (--header-h-sticky) au lieu de --header-h (90px),
      pour supprimer la bande vide entre header et sommaire.
   3. scroll-margin-top sur les sections cibles = header replié + hauteur du sommaire,
      pour que le titre de la section ne passe pas sous la barre sticky. */
.alm-block.alm-block-anchor-nav { padding-block: 16px; }
.alm-block-anchor-nav.is-sticky { top: var(--header-h-sticky, 64px); }
.alm-block-anchor-nav ~ .alm-block[id] {
    scroll-margin-top: calc(var(--header-h-sticky, 64px) + 116px);
}

/* ============================================
   ANNUAIRE MÉDICAL — polish DA (bloc alm/practitioner-directory)
   ============================================
   - Barre filtres sur UNE ligne (input flex-grow + select 280px côte à côte,
     wrap mobile, compteur aligné droite). Override de la version existante
     qui empilait verticalement en wrap.
   - Avatar : fond #A1C0E5 (bleu clair charte) + initiales #004899 au lieu
     du gris #DDDDD5 par défaut.
   - Carte : ombre douce constante + hover renforcé, transition lisse.
   - Spécialité : 14px regular (poids 400) au lieu de 700 — le NOM reste
     dominant.
   - Tél : flex centré, icône alignée baseline.
   - Select : focus bleu charte (pas l'orange UA par défaut).
   - Grille : 3 cols ≥1024px, 2 cols 640-1023px, 1 col <640px (override
     des variantes 4cols qui étaient incohérentes en mobile).
   - WCAG : couleur orange spécialité = var(--alm-orange) (--cta-bg) pour passer le
     contraste 4.5:1 sur fond blanc.
*/
.alm-block-practitioner-directory__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
}
.alm-block-practitioner-directory__search {
    flex: 1 1 240px;
    min-width: 0;
}
.alm-block-practitioner-directory__select {
    flex: 0 0 auto;
    width: 280px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23004899' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    padding-right: 40px;
    cursor: pointer;
}
.alm-block-practitioner-directory__select:focus {
    outline: 2px solid #004899;
    outline-offset: 1px;
    border-color: #004899;
}
.alm-block-practitioner-directory__count {
    flex: 0 0 auto;
    margin-left: auto;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
}
@media (max-width: 640px) {
    .alm-block-practitioner-directory__filters {
        flex-direction: column;
        align-items: stretch;
    }
    .alm-block-practitioner-directory__search,
    .alm-block-practitioner-directory__select {
        width: 100%;
        flex: none;
    }
    .alm-block-practitioner-directory__count {
        margin-left: 0;
        text-align: right;
    }
}

/* --- Avatar --- */
.alm-block-practitioner-directory__photo {
    background: #A1C0E5;
}
.alm-block-practitioner-directory__initials {
    color: #004899;
}

/* --- Carte --- */
.alm-block-practitioner-directory__card {
    box-shadow: 0 1px 3px rgba(0, 72, 153, 0.05);
    border: 1px solid #EAE8E0;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.alm-block-practitioner-directory__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 72, 153, 0.12);
    border-color: #D6E2F0;
}

/* --- Specialite : 14px regular, teinte --alm-orange (contraste : cf. lot 2) --- */
.alm-block-practitioner-directory__specialty {
    color: var(--alm-orange);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
}

/* --- Tél : flex centré --- */
.alm-block-practitioner-directory__contact a {
    align-items: baseline;
}
.alm-block-practitioner-directory__contact svg {
    transform: translateY(2px);
}

/* --- Grille uniforme 3/2/1 (force, override des variants 4cols) --- */
.alm-block-practitioner-directory__grid {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
    .alm-block-practitioner-directory__grid,
    .alm-block-practitioner-directory__grid--3cols,
    .alm-block-practitioner-directory__grid--4cols {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .alm-block-practitioner-directory__grid,
    .alm-block-practitioner-directory__grid--2cols,
    .alm-block-practitioner-directory__grid--3cols,
    .alm-block-practitioner-directory__grid--4cols {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   bgIcon — filigrane métier PAR CARTE (attribut bgIcon des items de alm/cards,
   fond clair uniquement — Option A). Grande icône en bas-droite, coupée par le
   coin arrondi de la card (overflow:hidden), opacité 8% → décoratif discret.
   Contenu (titre/texte) en position:relative z-index 1 → 100% lisible, WCAG OK.
   Réduite en mobile pour ne pas déborder.
   ============================================ */
.alm-card--has-filigrane { position: relative; overflow: hidden; }
.alm-card--has-filigrane > *:not(.alm-card__filigrane) { position: relative; z-index: 1; }
.alm-card__filigrane {
    position: absolute;
    right: -18px;
    bottom: -24px;
    width: 150px;
    color: #004899;
    opacity: .08;
    z-index: 0;
    pointer-events: none;
}
.alm-card__filigrane svg { width: 100%; height: auto; display: block; }
@media (max-width: 600px) { .alm-card__filigrane { width: 100px; right: -12px; bottom: -16px; } }

/* ============================================
   alm/split — extensions opt-in : colonne média étroite (33/67), 2 boutons CTA
   côte à côte, boutons bleus (charte #004899) plein + contour, icône de bouton.
   Rétro-compatible : sans ces attributs, rendu inchangé.
   ============================================ */
@media (min-width: 768px) {
    .alm-block-split--media-narrow .alm-block-split__grid { grid-template-columns: 1fr 2fr; }
}
.alm-block-split__ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.alm-btn__ico { display: inline-flex; vertical-align: middle; margin-right: 8px; }
.alm-btn__ico svg { width: 18px; height: 18px; display: block; }
.alm-btn-blue { background: #004899; color: #fff; border: 2px solid #004899; display: inline-flex; align-items: center; }
.alm-btn-blue:hover, .alm-btn-blue:focus-visible { background: #003a7a; border-color: #003a7a; color: #fff; }
.alm-btn-blue-outline { background: transparent; color: #004899; border: 2px solid #004899; display: inline-flex; align-items: center; }
.alm-btn-blue-outline:hover, .alm-btn-blue-outline:focus-visible { background: #004899; color: #fff; }
/* Variante orange plein - OPT-IN (ctaStyle="orange"). Teinte --alm-orange
   (contraste AA avec texte blanc, WCAG) réservé aux boutons ; #EE7203 reste
   dédié aux accents/eyebrows. N'altère aucun bouton existant. */
.alm-btn-orange { background: var(--alm-orange); color: #fff; border: 2px solid var(--alm-orange); display: inline-flex; align-items: center; }
.alm-btn-orange:hover, .alm-btn-orange:focus-visible { background: var(--alm-orange); border-color: var(--alm-orange); color: #fff; opacity: .85; }

/* ============================================
   Site pilote Alma (blog 28) — DA KPI en tuiles (scopé body.alm-b28, 55 autres intacts).
   Tuiles blanches arrondies, ombre douce, icône Lucide bleue, chiffre orange. Grille 3→2→1.
   ============================================ */
body.alm-b28 .alm-block-kpi__grid { grid-template-columns: 1fr; gap: 20px; align-items: stretch; }
@media (min-width: 600px) { body.alm-b28 .alm-block-kpi__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { body.alm-b28 .alm-block-kpi__grid { grid-template-columns: repeat(3, 1fr); } }
/* 9 KPI sur b28 : le bloc annule l'étirement de la dernière carte dès 768 px,
   en supposant y passer à 3 colonnes. Mais la règle ci-dessus impose au blog 28
   ses propres seuils — 2 colonnes de 600 à 959 — et l'emporte en (0,2,1) contre
   (0,2,0). Entre 768 et 959, la 9e carte se retrouvait donc seule à mi-largeur.
   On y rétablit l'étirement. Portée : b28 ET cols-9, soit la seule page 18. */
@media (min-width: 768px) and (max-width: 959px) {
    body.alm-b28 .alm-block-kpi--cols-9 .alm-block-kpi__grid > .alm-kpi:last-child { grid-column: 1 / -1; }
}
.alm-b28 .alm-kpi { background: #fff; border: 1px solid #eef1f6; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,72,153,.07); padding: 28px 22px; max-width: none; width: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.alm-b28 .alm-kpi:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,72,153,.13); }
.alm-b28 .alm-kpi__icon { color: var(--alm-blue, #004899); margin-bottom: 14px; display: flex; justify-content: center; }
.alm-b28 .alm-kpi__icon svg { width: 34px; height: 34px; }
.alm-b28 .alm-kpi__value { color: var(--alm-orange-dark, var(--alm-orange)); font-size: clamp(2rem, 4vw, 2.75rem); }
.alm-b28 .alm-kpi__label { opacity: 1; color: #4b5563; }
.alm-home .alm-vhero-a__inner {
  padding-bottom: clamp(90px, 11vw, 180px);
}
.alm-home {
  --alm-home-kpi-overlap: 48px;
}
.alm-home .alm-vhero-a + .alm-block-kpi {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * (var(--alm-home-kpi-overlap) + var(--alm-block-pad-block)));
}
.alm-home .alm-vhero-a + .alm-block-kpi:has(.alm-block-kpi__header) {
  margin-top: 0;
}
@supports not (selector(:has(*))) {
  .alm-home .alm-vhero-a + .alm-block-kpi { margin-top: 0; }
}
@media (max-width: 600px) {
  .alm-home .alm-vhero-a__inner { padding-bottom: clamp(48px, 7vw, 60px); }
  .alm-home .alm-vhero-a + .alm-block-kpi { margin-top: 0; }
}
.alm-home .alm-vhero-a {
  min-height: max(480px, calc(100svh - 256px));
}
.alm-home .alm-vhero-a__title {
  font-size: clamp(36px, 5.2vw, 72px);
  margin-bottom: clamp(14px, 2vw, 28px);
}
.alm-home .alm-vhero-a__sub {
  margin-bottom: clamp(18px, 2.4vw, 36px);
}
.alm-home .alm-vhero-a__stats {
  margin-bottom: clamp(20px, 2.6vw, 40px);
}
@media (max-width: 1023px) {
  .alm-home .alm-vhero-a {
    min-height: max(420px, calc(100svh - 396px));
  }
}
@media (max-width: 767px) {
  .alm-home .alm-block-kpi .alm-block-kpi__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .alm-home .alm-vhero-a {
    min-height: max(380px, calc(100svh - 470px));
  }
}

/* ============================================
   Site pilote Alma (blog 28) — galerie photos : grille propre, coins arrondis
   légers, ombre douce (le bloc gallery-grid est déjà border:none + hover-zoom +
   lightbox). Scopé body.alm-b28. Aucune image modifiée.
   ============================================ */
.alm-b28 .alm-block-gallery-grid__item { border: 0; border-radius: 14px; box-shadow: 0 4px 16px rgba(0,72,153,.08); background: #fff; }
.alm-b28 .alm-block-gallery-grid__item:hover, .alm-b28 .alm-block-gallery-grid__item:focus-visible { box-shadow: 0 12px 30px rgba(0,72,153,.16); }

/* Partners-grid : carte partenaire sans logo (fallback texte) — icône métier. */
.alm-block-partners-grid__logo--icon { display: flex; align-items: center; justify-content: center; color: var(--alm-blue, #004899); min-height: 56px; }

/* ============================================
   alm/todo-list — liste de préparation cochable (checkbox natives = état session
   en mémoire, sans storage) + impression propre (@media print). Utilisé blog 28.
   ============================================ */
.alm-block-todo { padding-block: clamp(40px, 7vw, 72px); }
/* Barre « Télécharger + Imprimer » partagée (todo-list + document-checklist printable). */
.alm-printlist__toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin-bottom: 24px; }
.alm-printlist__btn { min-height: 48px; justify-content: center; }
.alm-printlist__brand { display: none; } /* visible à l'impression uniquement */
/* DA boutons impression — spécificité `.alm-printlist__toolbar .alm-btn-*` (0,2,0)
   pour battre le reset thème `body button { color: inherit }` qui rendait le texte
   #333 (noir sur bleu). Imprimer = primaire bleu plein (texte+icône blancs) ;
   Télécharger = secondaire contour bleu (texte+icône #004899, fond blanc). WCAG AA. */
.alm-printlist__toolbar .alm-btn-blue { color: #fff; background: #004899; border-color: #004899; }
.alm-printlist__toolbar .alm-btn-blue:hover,
.alm-printlist__toolbar .alm-btn-blue:focus-visible { color: #fff; background: #003670; border-color: #003670; }
.alm-printlist__toolbar .alm-btn-blue-outline { color: #004899; background: #fff; border-color: #004899; }
.alm-printlist__toolbar .alm-btn-blue-outline:hover,
.alm-printlist__toolbar .alm-btn-blue-outline:focus-visible { color: #004899; background: #eef3fa; border-color: #004899; }
.alm-printlist__toolbar .alm-btn__ico svg { stroke: currentColor; } /* icônes en currentColor */
.alm-todo__group { margin-bottom: 26px; }
.alm-todo__heading { color: var(--alm-blue, #004899); font-size: 1.1rem; margin: 0 0 12px; }
.alm-todo__note { margin: 0 0 12px; }
.alm-todo__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.alm-todo__item { display: flex; align-items: flex-start; gap: 12px; background: #fff; border: 1px solid #eef1f6; border-radius: 10px; padding: 12px 14px; box-shadow: 0 2px 8px rgba(0,72,153,.05); transition: box-shadow .2s ease; }
.alm-todo__item:hover { box-shadow: 0 4px 14px rgba(0,72,153,.10); }
.alm-todo__cb { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--alm-orange, #EE7203); cursor: pointer; }
.alm-todo__label { cursor: pointer; line-height: 1.4; }
.alm-todo__cb:checked + .alm-todo__label { color: #6b7280; text-decoration: line-through; }
.alm-todo__cb:focus-visible { outline: 3px solid var(--alm-orange, #EE7203); outline-offset: 2px; }
/* ============================================
   Sortie brandée 1 page (todo-list + document-checklist). Déclenchée UNIQUEMENT
   par les boutons Télécharger/Imprimer : le JS clone la liste ciblée dans
   #alm-print-root et pose html.alm-printing. Un Ctrl+P classique sur n'importe
   quelle page reste 100% inchangé (aucune règle ci-dessous ne s'applique sans
   la classe .alm-printing). Titre imprimé = en-tête brandé (logo + titre),
   dynamique par page — plus de titre codé en dur.
   ============================================ */
#alm-print-root { display: none; }
@media print {
  html.alm-printing body > *:not(#alm-print-root) { display: none !important; }
  html.alm-printing #alm-print-root { display: block !important; }
  html.alm-printing #alm-print-root .alm-block { padding: 0 !important; background: #fff !important; }
  html.alm-printing #alm-print-root .alm-container { max-width: none !important; padding: 0 !important; margin: 0 !important; }
  /* Masque le chrome interactif dans la zone imprimée */
  html.alm-printing #alm-print-root .alm-printlist__toolbar,
  html.alm-printing #alm-print-root .alm-block__header,
  html.alm-printing #alm-print-root .alm-block-document-checklist__footer { display: none !important; }
  /* En-tête brandé : logo établissement + titre */
  html.alm-printing #alm-print-root .alm-printlist__brand {
    display: flex !important; align-items: center; gap: 14px;
    border-bottom: 2px solid #004899; padding-bottom: 10px; margin-bottom: 14px;
  }
  html.alm-printing #alm-print-root .alm-printlist__brandlogo { height: 40px; width: auto; }
  html.alm-printing #alm-print-root .alm-printlist__brandtitle { font-size: 15pt; font-weight: 700; color: #000; }
  /* Compaction : tenir sur 1 page A4 */
  html.alm-printing #alm-print-root .alm-todo__group,
  html.alm-printing #alm-print-root .alm-block-document-checklist__category { break-inside: avoid; margin-bottom: 8px; }
  html.alm-printing #alm-print-root .alm-todo__heading,
  html.alm-printing #alm-print-root .alm-block-document-checklist__category-name { font-size: 10.5pt; margin: 8px 0 4px; color: #000; }
  html.alm-printing #alm-print-root .alm-todo__list,
  html.alm-printing #alm-print-root .alm-block-document-checklist__items { gap: 3px; }
  html.alm-printing #alm-print-root .alm-todo__item,
  html.alm-printing #alm-print-root .alm-block-document-checklist__item {
    box-shadow: none !important; border: 0 !important; background: transparent !important;
    padding: 2px 0 !important; margin: 0 !important; break-inside: avoid;
    font-size: 10pt; line-height: 1.3;
  }
  html.alm-printing #alm-print-root .alm-todo__note { font-size: 9.5pt; margin: 2px 0 6px; }
  html.alm-printing #alm-print-root input[type="checkbox"] {
    width: 12px; height: 12px; margin-top: 2px;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  html.alm-printing #alm-print-root .alm-todo__cb:checked + .alm-todo__label { text-decoration: none !important; }
  html.alm-printing #alm-print-root .alm-block-document-checklist__checkbox:checked ~ label .alm-block-document-checklist__label-text { text-decoration: none !important; }
}

/* ============================================
   Site pilote Alma (blog 28) — cartes chambres (alm/room-cards + alm/room-card) :
   RETRAIT des images + liseré couleur par gamme, Prestige mis en avant, coches
   var(--alm-orange), grille responsive stricte 4→2→1. Scopé .alm-b28 → CSS FRONT ONLY :
   render, données (imageId, name…) et écran d'édition chambres-site-menu.php
   inchangés. 55 autres étabs intacts (aucune règle ne fuit hors .alm-b28).
   Ordre des cartes = Solo · Confort · Sérénité · Prestige (maquette validée).
   ============================================ */
/* 1) Retrait de l'image (donnée imageId conservée, image masquée à l'affichage). */
.alm-b28 .alm-room-card__media { display: none !important; }

/* Grille : gap régulier + responsive strict 4 (≥1024) / 2 (768–1023) / 1 (<768). */
.alm-b28 .alm-room-cards__grid,
.alm-b28 .alm-room-cards__grid--cols-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 1023px) {
  .alm-b28 .alm-room-cards__grid,
  .alm-b28 .alm-room-cards__grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .alm-b28 .alm-room-cards__grid,
  .alm-b28 .alm-room-cards__grid--cols-4 { grid-template-columns: 1fr; }
}

/* Carte : coins nets + liseré 5px en haut (défaut = Solo). overflow:hidden clippe
   proprement le liseré aux coins arrondis. */
.alm-b28 .alm-room-card {
  border-top: 5px solid #A1C0E5;
  border-radius: 12px;
  overflow: hidden;
}
/* 2) Liseré par gamme (ordre fixe des cartes dans la grille). */
.alm-b28 .alm-room-cards__grid > .alm-room-card:nth-child(1) { border-top-color: #A1C0E5; } /* Solo */
.alm-b28 .alm-room-cards__grid > .alm-room-card:nth-child(2) { border-top-color: #004899; } /* Confort */
.alm-b28 .alm-room-cards__grid > .alm-room-card:nth-child(3) { border-top-color: #0F6E56; } /* Sérénité */
.alm-b28 .alm-room-cards__grid > .alm-room-card:nth-child(4) { border-top-color: var(--alm-orange); } /* Prestige */

/* Espacements internes cohérents. */
.alm-b28 .alm-room-card__body { padding: 18px; gap: 12px; }

/* 3) Prestige mis en avant (featured=true en donnee) : bordure 1.5px --alm-orange,
   liseré 5px en haut, ombre douce orange, badge ★ orange coin haut-droit. */
.alm-b28 .alm-room-card.alm-room-card--featured {
  border: 1.5px solid var(--alm-orange);
  border-top-width: 5px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(238, 114, 3, 0.16);
}
.alm-b28 .alm-room-card__badge {
  top: 10px; right: 10px;
  width: 30px; height: 30px; font-size: 16px;
  background: var(--alm-orange);
}
/* Sans image, le prix (aligné à droite) doit laisser la place au badge ★. */
.alm-b28 .alm-room-card--featured .alm-room-card__head { padding-right: 40px; }

/* 4) Coches equipements en orange --alm-orange (contraste : cf. lot 2). */
.alm-b28 .alm-room-card__features li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c95e02' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* Badge « + N équipements » : contour orange (cartes standard) / plein orange (Prestige).
   Poussé en bas de la zone contenu (aligné entre cartes de hauteurs différentes). */
.alm-b28 .alm-room-card__more { border-color: var(--alm-orange); color: var(--alm-orange); margin-top: auto; }
.alm-b28 .alm-room-card__more:hover,
.alm-b28 .alm-room-card__more:focus-visible { background: var(--alm-orange); color: #fff; }
.alm-b28 .alm-room-card--featured .alm-room-card__more { background: var(--alm-orange); color: #fff; border-color: var(--alm-orange); }

/* ============================================
   alm/room-cards — disposition « lignes » (attribut layout=rows, opt-in). Gated
   par les classes .alm-room-line* : n'affecte QUE les conteneurs en rows (blog 28) ;
   0 impact sur les 55 étabs restés en grille. 1 chambre = 1 ligne, sans image :
   liseré gauche par gamme + pastille roomIcon + nom + prix orange + tous les
   équipements en tags (equipIcon). Prestige featured. Responsive → empilé mobile.
   ============================================ */
.alm-block-room-cards--rows .alm-room-cards__rows { display: flex; flex-direction: column; gap: 14px; }
.alm-room-line {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 250px) 1fr;
  gap: 14px 26px;
  align-items: center;
  background: #fff;
  border: 1px solid #eef1f6;
  border-left: 4px solid #004899;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 3px 14px rgba(0, 72, 153, .06);
}
.alm-room-line__head { display: flex; align-items: center; gap: 13px; min-width: 0; }
.alm-room-line__ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: #f1f6fc; color: #004899; display: flex; align-items: center; justify-content: center; }
.alm-room-line__ico svg { width: 23px; height: 23px; }
.alm-room-line__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.alm-room-line__name { font-family: var(--font-title); font-weight: 700; font-size: 1.15rem; color: #004899; line-height: 1.15; }
.alm-room-line__price { font-family: var(--font-title); font-weight: 800; font-size: 1.35rem; color: var(--alm-orange); white-space: nowrap; }
.alm-room-line__price sup { font-size: .5em; font-weight: 700; vertical-align: super; }
.alm-room-line__price small { font-size: .5em; font-weight: 600; color: #6b7280; }
.alm-room-line__feats { display: flex; flex-wrap: wrap; gap: 8px; }
.alm-room-line__tag { display: inline-flex; align-items: center; gap: 6px; background: #f6f8fb; border: 1px solid #e7edf5; border-radius: 999px; padding: 5px 13px 5px 9px; font-size: .855rem; color: #374151; line-height: 1.3; }
.alm-room-line__tagico { display: inline-flex; flex: 0 0 auto; color: var(--alm-orange); }
.alm-room-line__tagico svg { width: 15px; height: 15px; }
/* Équipement PAYANT : le montant a son champ, jamais le libellé. La puce sans prix
   reste identique à l octet — seule la présence du montant change quoi que ce soit. */
.alm-room-line__tag--payant { padding-right: 9px; }
/* Renvois tarifaires sous le tableau : le texte des asterisques. Rien n est
   emis quand l onglet n en porte pas, donc aucune regle ne s applique a vide. */
.alm-room-cards__renvois { margin: 14px 0 0; display: flex; flex-direction: column; gap: 6px; }
.alm-room-cards__renvoi { display: flex; gap: 8px; align-items: baseline; }
.alm-room-cards__renvoi-marque { flex: 0 0 auto; min-width: 1.6em; color: var(--alm-orange); font-weight: 700; font-size: .8rem; line-height: 1.45; }
.alm-room-cards__renvoi-texte { margin: 0; color: #6b7280; font-size: .8125rem; line-height: 1.45; }
@media (max-width: 560px) { .alm-room-cards__renvoi-texte { font-size: .78rem; } }
.alm-room-line__tagprice { display: inline-flex; flex: 0 0 auto; margin-left: 2px; padding: 1px 8px; border-radius: 999px; background: rgba(238, 114, 3, .1); color: var(--alm-orange); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.alm-room-line--featured { border: 1.5px solid var(--alm-orange); border-left-width: 4px; box-shadow: 0 8px 24px rgba(238, 114, 3, .14); }
.alm-room-line__badge { position: absolute; top: -11px; right: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--alm-orange); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; line-height: 1; box-shadow: 0 3px 10px rgba(0, 0, 0, .16); }
@media (max-width: 860px) {
  .alm-room-line { grid-template-columns: 1fr; gap: 12px; padding: 15px 16px; }
  .alm-room-line__badge { top: -10px; right: 12px; }
}
/* ============================================
   alm/room-cards — barre d'onglets « groupes de chambres » (2+ onglets, front
   only, additif). Gated par .alm-room-tabs* → aucun effet sans onglets (55 étabs
   et Alma à 1 groupe = pas de barre). Alignée GAUCHE, max 6, scroll horizontal
   mobile. Actif = bleu plein #004899 blanc ; inactifs = contour bleu cliquable.
   ============================================ */
.alm-room-tabs__list { display: flex; justify-content: flex-start; flex-wrap: nowrap; gap: 8px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
/* Spécificité `.alm-room-tabs__list .alm-room-tabs__tab` (0,2,0) pour battre le
   reset thème `body button { color: inherit }` (sinon inactif en #333). */
.alm-room-tabs__list .alm-room-tabs__tab { flex: 0 0 auto; cursor: pointer; font-family: var(--font-title); font-weight: 600; font-size: .95rem; line-height: 1.2; padding: 10px 20px; border-radius: 999px; border: 1.5px solid #004899; background: #fff; color: #004899; white-space: nowrap; transition: background-color .15s, color .15s; }
.alm-room-tabs__list .alm-room-tabs__tab:hover { background: #eef4fc; color: #004899; }
.alm-room-tabs__list .alm-room-tabs__tab.is-active,
.alm-room-tabs__list .alm-room-tabs__tab[aria-selected="true"] { background: #004899; color: #fff; }
.alm-room-tabs__list .alm-room-tabs__tab.is-active:hover { background: #003670; color: #fff; }
.alm-room-tabs__list .alm-room-tabs__tab:focus-visible { outline: 3px solid var(--alm-orange, #EE7203); outline-offset: 2px; }
.alm-room-tabs__panel[hidden] { display: none; }
.alm-room-tabs__panel:focus { outline: none; }

/* Blog 28 — tableau « Chambres doubles à la carte » (services à la carte, hors
   onglets, sous les 2 onglets) : prix orange var(--alm-orange) (Option B). Scopé .alm-b28 —
   page 14 n'a plus que ce tableau ; page 32 (check-table) a déjà ses valeurs
   tarif en orange (pas de changement visible). */
.alm-b28 .alm-block-comparison-table__value { color: var(--alm-orange); font-weight: 700; }

/* ============================================
   Prestations hôtelières (blog 28) — partie BASSE refondue (.alm-presta-lower,
   bloc core/html). Formes/fonds variés pour créer du rythme. Scopé par la classe
   unique .alm-presta-lower → 0 impact ailleurs. Charte : bleu #004899, orange
   var(--alm-orange) (prix/chiffres), bleu clair #E6F1FB, surface #f6f8fb. WCAG (pas d'orange
   sur bleu). Responsive 375/768/1440.
   ============================================ */
.alm-presta-lower { max-width: var(--alm-container-lecture); margin: 0 auto; padding: clamp(24px,4vw,48px) 0; display: flex; flex-direction: column; gap: clamp(22px,3.5vw,38px); }
.alm-presta-lower h2, .alm-presta-lower h3, .alm-presta-lower p, .alm-presta-lower ul { margin: 0; }
.alm-presta-lower .alm-pl-eyebrow { display:inline-block; font-family:var(--font-title); font-weight:700; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--alm-orange); margin-bottom:8px; }
.alm-presta-lower .alm-pl-h2 { font-family:var(--font-title); font-weight:700; font-size:clamp(1.3rem,2.5vw,1.7rem); color:#004899; line-height:1.2; margin-bottom:20px; }
.alm-presta-lower .alm-pl-card { background:#fff; border:1px solid #e7ecf3; border-radius:16px; padding:clamp(20px,3vw,32px); box-shadow:0 3px 16px rgba(0,72,153,.05); }
.alm-presta-lower .alm-pl-card--surface { background:#f6f8fb; }

/* 1 — tuiles doubles */
.alm-presta-lower .alm-pl-tiles { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.alm-presta-lower .alm-pl-tile { display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; background:#f6f8fb; border:1px solid #eef1f6; border-radius:12px; padding:18px 12px; }
.alm-presta-lower .alm-pl-tile-ico { color:#004899; line-height:0; }
.alm-presta-lower .alm-pl-tile-ico svg { width:26px; height:26px; }
.alm-presta-lower .alm-pl-tile-price { font-family:var(--font-title); font-weight:800; font-size:1.4rem; color:var(--alm-orange); line-height:1; }
.alm-presta-lower .alm-pl-tile-price small { font-size:.5em; font-weight:600; color:#6b7280; }
.alm-presta-lower .alm-pl-tile-label { font-size:.85rem; color:#374151; font-weight:600; }

/* 2 — encadré + cta côte à côte */
.alm-presta-lower .alm-pl-duo { display:grid; grid-template-columns:1.3fr 1fr; gap:20px; align-items:stretch; }
.alm-presta-lower .alm-pl-info { display:flex; gap:16px; background:#E6F1FB; border-radius:16px; padding:clamp(20px,3vw,28px); }
.alm-presta-lower .alm-pl-info-ico { flex:0 0 auto; color:#004899; line-height:0; }
.alm-presta-lower .alm-pl-info-ico svg { width:28px; height:28px; }
.alm-presta-lower .alm-pl-info-title { font-family:var(--font-title); font-weight:700; font-size:1.15rem; color:#004899; margin-bottom:8px; }
.alm-presta-lower .alm-pl-info p { color:#334155; line-height:1.6; }
.alm-presta-lower .alm-pl-info a { color:#004899; font-weight:600; text-decoration:underline; }
.alm-presta-lower .alm-pl-ctacard { display:flex; flex-direction:column; justify-content:center; gap:16px; background:#004899; border-radius:16px; padding:clamp(20px,3vw,28px); }
.alm-presta-lower .alm-pl-ctacard-title { font-family:var(--font-title); font-weight:700; font-size:1.25rem; color:#fff; }
.alm-presta-lower .alm-pl-ctacard-btns { display:flex; flex-wrap:wrap; gap:10px; }

/* boutons — !important sur color : le thème force la couleur des <a> de contenu
   en bleu (.alm-page-corpo a / .alm-block--bg-blue a), rendant le texte blanc des
   boutons invisible (bleu sur bleu). */
.alm-presta-lower .alm-pl-btn { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 20px; border-radius:8px; font-weight:600; font-size:.95rem; text-decoration:none; border:2px solid transparent; transition:background-color .15s,color .15s; }
.alm-presta-lower .alm-pl-btn--white { background:#fff; color:#004899 !important; border-color:#fff; }
.alm-presta-lower .alm-pl-btn--white:hover { background:#eef3fa; color:#004899 !important; }
.alm-presta-lower .alm-pl-btn--wout { background:transparent; color:#fff !important; border-color:#fff; }
.alm-presta-lower .alm-pl-btn--wout:hover { background:rgba(255,255,255,.14); color:#fff !important; }
.alm-presta-lower .alm-pl-btn--blue { background:#004899; color:#fff !important; border-color:#004899; }
.alm-presta-lower .alm-pl-btn--blue:hover { background:#003670; border-color:#003670; color:#fff !important; }
.alm-presta-lower .alm-pl-btn--bout { background:#fff; color:#004899 !important; border-color:#004899; }
.alm-presta-lower .alm-pl-btn--bout:hover { background:#eef3fa; color:#004899 !important; }

/* 3 — infos pratiques */
.alm-presta-lower .alm-pl-infos { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:22px; }
.alm-presta-lower .alm-pl-infoitem-ico { display:inline-flex; color:#004899; background:#E6F1FB; border-radius:50%; width:46px; height:46px; align-items:center; justify-content:center; margin-bottom:12px; }
.alm-presta-lower .alm-pl-infoitem-ico svg { width:24px; height:24px; }
.alm-presta-lower .alm-pl-infoitem h3 { font-family:var(--font-title); font-weight:700; font-size:1.05rem; color:#004899; margin-bottom:6px; }
.alm-presta-lower .alm-pl-infoitem p { color:#475569; line-height:1.55; font-size:.95rem; }

/* 4 — prise en charge : KPI + note + détail */
.alm-presta-lower .alm-pl-kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:16px; margin-bottom:20px; }
.alm-presta-lower .alm-pl-kpi { background:#fff; border:1px solid #e7ecf3; border-radius:12px; padding:20px; text-align:center; }
.alm-presta-lower .alm-pl-kpi-value { display:block; font-family:var(--font-title); font-weight:800; font-size:clamp(1.8rem,4vw,2.4rem); color:var(--alm-orange); line-height:1; margin-bottom:8px; }
.alm-presta-lower .alm-pl-kpi-value small { font-size:.42em; font-weight:700; }
.alm-presta-lower .alm-pl-kpi-label { font-size:.85rem; color:#475569; line-height:1.35; }
.alm-presta-lower .alm-pl-note { background:#fbf3ea; border-left:3px solid var(--alm-orange); border-radius:8px; padding:12px 16px; color:#5b4636; font-size:.9rem; line-height:1.5; margin-bottom:22px; }
.alm-presta-lower .alm-pl-detail h3 { font-family:var(--font-title); font-weight:700; font-size:1.05rem; color:#004899; margin:18px 0 8px; }
.alm-presta-lower .alm-pl-detail h3:first-child { margin-top:0; }
.alm-presta-lower .alm-pl-detail p { color:#475569; line-height:1.6; margin-bottom:10px; }
.alm-presta-lower .alm-pl-detail ul { list-style:none; padding:0; display:flex; flex-direction:column; gap:10px; }
.alm-presta-lower .alm-pl-detail li { position:relative; padding-left:26px; color:#475569; line-height:1.55; }
.alm-presta-lower .alm-pl-detail li::before { content:""; position:absolute; left:0; top:8px; width:8px; height:8px; border-radius:50%; background:var(--alm-orange); }
.alm-presta-lower .alm-pl-detail strong { color:#004899; }

/* 5 — bandeau final allégé */
.alm-presta-lower .alm-pl-final-inner { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px; background:#E6F1FB; border-radius:16px; padding:clamp(18px,2.5vw,26px) clamp(20px,3vw,32px); }
.alm-presta-lower .alm-pl-final-title { font-family:var(--font-title); font-weight:700; font-size:1.2rem; color:#004899; margin-bottom:4px; }
.alm-presta-lower .alm-pl-final-txt p { color:#334155; }
.alm-presta-lower .alm-pl-final-btns { display:flex; flex-wrap:wrap; gap:10px; }

@media (max-width:900px){
  .alm-presta-lower .alm-pl-tiles { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:860px){
  .alm-presta-lower .alm-pl-duo { grid-template-columns:1fr; }
  .alm-presta-lower .alm-pl-kpis { grid-template-columns:1fr; }
}
@media (max-width:520px){
  .alm-presta-lower .alm-pl-tiles { grid-template-columns:repeat(2,1fr); }
  .alm-presta-lower .alm-pl-final-inner { flex-direction:column; align-items:flex-start; }
}

/* ============================================
   Préparer votre intervention (blog 28, page 25) — UNIFORMISATION largeur + rythme
   vertical. Même échelle que Prestations hôtelières (cohérence inter-pages Alma).
   CSS ONLY, scopé body.alm-b28.page-id-25. Ne change NI contenu NI design interne
   (timeline / KPI / cartes / to-do list). Responsive : gouttière + rythme réduits.
   ============================================ */
body.alm-b28.page-id-25 { --pl-rhythm: clamp(24px, 4vw, 32px); }

/* 1 — LARGEUR DE LECTURE : les blocs texte / checklist ne s'étalent PAS pleine
   largeur (fatigant, lignes trop longues, checkboxes démesurées). Colonne de
   lecture confortable, centrée. Les timelines/cartes ont déjà un header 760px
   centré (intros OK) ; KPI/cartes/timeline gardent leur largeur (conteneur). */
body.alm-b28.page-id-25 .alm-block-legal-section .alm-container--narrow { max-width: 760px; } /* paragraphes ~70 car./ligne */
body.alm-b28.page-id-25 .alm-block-todo .alm-container--narrow { max-width: 680px; }          /* checklist compacte + boutons alignés dessus */

/* Bloc vidéo « Préparer votre intervention » (page 30) : ramené à la largeur de lecture
   de la page (= timeline 760px), centré. SCOPÉ page-id-30 uniquement — le CSS du bloc
   alm/video-block est mutualisé sur ~24 étabs du réseau, on ne touche PAS le global.
   aspect-ratio 16/9 + width:100% déjà hérités du bloc → responsive mobile OK (le wrap
   fait min(100%, 760px) dans un conteneur gouttiéré, aucun débordement horizontal). */
body.alm-b28.page-id-30 .alm-block-video-block__wrap { max-width: 760px; margin-inline: auto; }

/* KPI « Un plateau technique complet » (page 18) : le champ natif `text` du bloc alm/kpi
   rend une note SOUS la grille ; on la remonte en intro (sous le titre, au-dessus des cartes)
   via flex order. Scopé page-id-18 uniquement — le bloc kpi est mutualisé (~50 pages), pas
   de changement global. Réutilise le style .alm-block-kpi__note (centré, largeur lecture). */
body.alm-b28.page-id-18 .alm-block-kpi .alm-container { display: flex; flex-direction: column; }
body.alm-b28.page-id-18 .alm-block-kpi .alm-block-kpi__note { order: 1; margin: 0 auto 32px; }
body.alm-b28.page-id-18 .alm-block-kpi .alm-block-kpi__grid { order: 2; }

/* 2 — rythme vertical uniforme entre sections (hero exclu : garde son en-tête).
   Uniformise aussi le padding vertical interne des sections à fond (gris/bleu). */
body.alm-b28.page-id-25 .alm-block:not(.alm-block-hero-page) { padding-block: var(--pl-rhythm); }

/* ============================================
   alm/split — variante « card » (opt-in, attribut card=true, défaut off → rendu
   inchangé, rétro-compatible : 55 étabs sans card=true non impactés). Enveloppe le
   bloc dans une carte (surface #F7F6F2, arrondi 16px, padding), pour distinguer deux
   splits qui s'enchaînent. Grille 50/50 forcée, images même format 4/3.
   ============================================ */
.alm-block-split--card { padding-block: 10px; } /* gap ~20px entre 2 cartes */
.alm-block-split--card .alm-block-split__grid {
  background: #F7F6F2;
  border: 0.5px solid #ece9e1;
  border-radius: 16px;
  padding: clamp(22px, 3vw, 28px);
}
.alm-block-split--card .alm-block-split__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  height: auto;
}
@media (min-width: 768px) {
  /* 50/50 même en présence de media-narrow (spécificité pour battre --media-narrow) */
  .alm-block-split--card .alm-block-split__grid,
  .alm-block-split--media-narrow.alm-block-split--card .alm-block-split__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .alm-block-split--card .alm-block-split__grid { padding: 20px; } /* image au-dessus du texte (ordre DOM) */
}

/* ============================================
   KPI à EXACTEMENT 2 items (blog 28) → 2 COLONNES CENTRÉES. Le blog 28 force 3 col
   (.alm-b28 .alm-block-kpi__grid), donc un KPI à 2 items laissait un trou à droite.
   Générique via la classe --cols-2 posée par le render. Ne touche PAS les KPI à
   3/4/6/9 items (autres --cols-N). Scopé .alm-b28 : les 55 autres étabs gèrent déjà
   2 items en auto-fit (pas de trou) → non concernés. Responsive : 1 col mobile.
   ============================================ */
@media (min-width: 600px) {
  body.alm-b28 .alm-block-kpi--cols-2 .alm-block-kpi__grid {
    grid-template-columns: repeat(2, minmax(220px, 420px));
    justify-content: center;
  }
}

/* ============================================
   alm/key-message — variant A « feature » (opt-in : variant=feature). Image OU picto
   à gauche (~40%) + eyebrow orange #EE7203 + titre #04264d + corps GRIS lisible (fin du
   pavé tout-bleu). Carte arrondie 16px. Gated par --feature → 0 impact sur les autres
   variants / étabs. Responsive : image au-dessus du texte en mobile.
   ============================================ */
.alm-block-key-message--feature .alm-block-key-message__feature {
  display: grid;
  grid-template-columns: 40% 1fr;
  align-items: stretch;
  background: #fff;
  border: 1px solid #e7ecf3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(4, 38, 77, .05);
}
.alm-block-key-message--feature .alm-block-key-message__media { position: relative; min-height: 220px; }
.alm-block-key-message--feature .alm-block-key-message__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.alm-block-key-message--feature .alm-block-key-message__media--icon { display: flex; align-items: center; justify-content: center; background: #E6F1FB; border-right: 4px solid #004899; }
.alm-block-key-message--feature .alm-block-key-message__bigicon { color: #004899; line-height: 0; }
.alm-block-key-message--feature .alm-block-key-message__bigicon svg { width: 56px; height: 56px; }
.alm-block-key-message--feature .alm-block-key-message__content { padding: clamp(22px, 3vw, 38px); }
.alm-block-key-message--feature .alm-block-key-message__eyebrow { color: #EE7203; display: inline-block; margin-bottom: 6px; }
.alm-block-key-message--feature .alm-block-key-message__title { font-family: var(--font-title); color: #04264d; font-size: clamp(1.3rem, 2.4vw, 1.65rem); font-weight: 700; line-height: 1.2; margin: 0 0 14px; }
.alm-block-key-message--feature .alm-block-key-message__body { color: var(--text-secondary, #4b5563); line-height: 1.65; }
.alm-block-key-message--feature .alm-block-key-message__body p { margin: 0 0 1em; }
.alm-block-key-message--feature .alm-block-key-message__body p:last-child { margin-bottom: 0; }
.alm-block-key-message--feature .alm-block-key-message__body strong { color: #04264d; }
.alm-block-key-message--feature .alm-block-key-message__body a { color: #004899; font-weight: 600; text-decoration: underline; }
.alm-block-key-message--feature .alm-block-key-message__body a:hover,
.alm-block-key-message--feature .alm-block-key-message__body a:focus-visible { color: #003670; text-decoration: underline; }
.alm-block-key-message--feature .alm-block-key-message__body ul { margin: 0; padding-left: 1.3em; }
@media (max-width: 767px) {
  .alm-block-key-message--feature .alm-block-key-message__feature { grid-template-columns: 1fr; }
  .alm-block-key-message--feature .alm-block-key-message__media { min-height: 190px; max-height: 240px; }
  .alm-block-key-message--feature .alm-block-key-message__media--icon { min-height: 120px; border-right: 0; border-bottom: 4px solid #004899; }
}

/* ============================================================
   Variant OPT-IN alm/cards « list-accent » : liste verticale à filet orange latéral.
   N'affecte QUE les blocs cards en variant="list-accent" (opt-in) — standard/numbered/
   icon/minimal du réseau intacts. Utilisé sur Présentation (blog 28) pour distinguer
   NOS VALEURS des engagements.
   2026-09-14 — LA GRILLE N'EST PLUS FORCÉE ICI. Elle l'était en 0,3,0
   (`display:flex; flex-direction:column`) et battait .alm-block-cards--cols-N
   (0,2,0) : l'attribut « columns » était donc inopérant sur cette variante, sur
   les 6 pages du réseau qui la portent — y compris `columns:1`, que trois d'entre
   elles demandaient explicitement et que le clamp de render.php écrasait en 2.
   Seul le gap resserré subsiste. Il est en 0,2,0, à égalité avec
   `.alm-block-cards .alm-cards-grid{gap:24px}` de la feuille du bloc : il gagne
   par l'ORDRE, custom.css étant lié (ligne ~96 du document) après la feuille du
   bloc, inlinée (~ligne 61). Ne pas déplacer l'un ou l'autre sans revérifier.
   ============================================================ */
.alm-block-cards--list-accent .alm-cards-grid { gap: 14px; }
.alm-block-cards--list-accent .alm-card {
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start;
  background: #fff; border: 1px solid #e4eaf1; border-left: 3px solid #EE7203;
  border-radius: 0 12px 12px 0; /* filet single-side gauche : pas de radius à gauche, arrondi à droite */
  padding: 18px 22px; box-shadow: none;
}
.alm-block-cards--list-accent .alm-card:hover { border-color: #d7e0ec; border-left-color: #EE7203; box-shadow: 0 2px 12px rgba(4, 38, 77, .06); }
.alm-block-cards--list-accent .alm-card__icon--accent { grid-column: 1; grid-row: 1 / 3; align-self: start; color: #004899; line-height: 0; }
.alm-block-cards--list-accent .alm-card__icon--accent svg { width: 24px; height: 24px; display: block; }
.alm-block-cards--list-accent .alm-card__title { grid-column: 2; grid-row: 1; margin: 0 0 4px; color: #042C53; font-size: 1.05rem; line-height: 1.3; }
.alm-block-cards--list-accent .alm-card__text { grid-column: 2; grid-row: 2; margin: 0; color: #5F5E5A; line-height: 1.55; }
.alm-block-cards--list-accent-stacked .alm-card { grid-template-columns: auto minmax(0, 1fr); row-gap: 10px; padding: 20px 24px; }
.alm-block-cards--list-accent-stacked .alm-card__icon--accent { grid-column: 1; grid-row: 1; align-self: center; }
.alm-block-cards--list-accent-stacked .alm-card__title { grid-column: 1 / -1; grid-row: 1; align-self: center; margin: 0; }
.alm-block-cards--list-accent-stacked .alm-card__icon--accent + .alm-card__title { grid-column: 2; }
.alm-block-cards--list-accent-stacked .alm-card__text { grid-column: 1 / -1; grid-row: 2; margin: 0; }
.alm-block-cards--list-accent-stacked .alm-card__text ul { margin: 0; padding-left: 1.25em; }
.alm-block-cards--list-accent-stacked .alm-card__text li { margin: 0 0 4px; }
.alm-block-cards--list-accent-stacked .alm-card__text li:last-child { margin-bottom: 0; }
.alm-block-cards--list-accent-stacked .alm-card__tagline { grid-column: 1 / -1; grid-row: 3; margin: 0; padding-top: 12px; border-top: 1px solid #e4eaf1; font-size: 0.875rem; }
@media (max-width: 767px) {
  .alm-block-cards--list-accent-stacked .alm-card { padding: 16px 18px; column-gap: 12px; }
}

/* ============================================================
   Variant OPT-IN alm/kpi « score-hero » : héros de score (fond bleu #004899 + anneau de
   progression orange #EE7203 + mention publication). Scopé au seul variant — les bandeaux
   kpi standards du réseau intacts. Utilisé sur Index égalité H-F (blog 28).
   ============================================================ */
.alm-block-kpi.alm-block-kpi--score-hero { background: #004899; }
.alm-block-kpi--score-hero .alm-block-kpi__header { text-align: center; }
.alm-block-kpi--score-hero .alm-eyebrow { color: #fff; font-size: 1rem; letter-spacing: .14em; }
.alm-block-kpi--score-hero .alm-block-kpi__header h2 { color: #fff; }
.alm-kpi-score { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: clamp(20px, 3vw, 32px) 0; }
.alm-kpi-score__ring { width: clamp(160px, 26vw, 200px); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#EE7203 var(--pct, 0%), rgba(255, 255, 255, .18) 0); display: grid; place-items: center; }
.alm-kpi-score__inner { width: 78%; aspect-ratio: 1; border-radius: 50%; background: #004899; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.alm-kpi-score__num { color: #fff; font-family: var(--font-title, inherit); font-size: clamp(2.6rem, 6vw, 3.4rem); font-weight: 700; white-space: nowrap; }
.alm-kpi-score__max { color: rgba(255, 255, 255, .75); font-size: 1rem; font-weight: 600; margin-top: 4px; white-space: nowrap; }
.alm-kpi-score__label { color: #fff; max-width: 640px; margin: 0; font-size: 1.05rem; line-height: 1.5; }
.alm-kpi-score__pub { color: rgba(255, 255, 255, .8); margin: 0; font-size: .9rem; font-style: italic; }

/* Page « Demande de dossier médical » (id 23) : carte « Après votre hospitalisation »
   (2e carte) = filet orange latéral, pour la distinguer + la relier au CTA formulaire.
   Scopé page-id-23 (custom.css chargé partout mais ne matche que cette page). */
.page-id-23 .alm-block-cards .alm-card:nth-child(2) { border-left: 3px solid #EE7203; }

/* Page « Index égalité H-F » (id 22) : 4e KPI de la grille = « Augmentation au retour de congé
   maternité » (Non noté) → filet gris #DDDDD5 pour le marquer « non noté / hors barème ».
   Scopé page-id-22. */
.page-id-22 .alm-block-kpi__grid .alm-kpi:nth-child(3) { border-left: 3px solid #DDDDD5; padding: 4px 14px; }
/* Grille des 4 sous-indicateurs (page 22) : 2×2 régulier — le grid kpi mutualisé retombait en
   auto-fit (3+1 orphelin). Forcé 1 col mobile / 2 col ≥700px (scopé page-id-22, !important
   justifié car le grid mutualisé est non fiable ici). */
.page-id-22 .alm-block-kpi__grid { grid-template-columns: 1fr !important; }
@media (min-width: 700px) { .page-id-22 .alm-block-kpi__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
/* Fond gris réel sur la grille (le variant kpi --grey n'applique aucun fond) → alternance
   bg-flow correcte (héros bleu → grille grise → « Pour en savoir plus » blanc). Scopé page 22. */
.page-id-22 .alm-block-kpi--grey { background-color: #f4f4f0; }

/* ============================================================
   Page IRM/Scanner (id 13) — 5 sections plateaux (alm/legal-section) : liste d'actes en grille
   responsive 4/2/1 col (desktop/tablette/mobile) + compteur (pill) + fond gris #f0efe9 alterné.
   Scopé page-id-13 — aucune fuite réseau.
   ============================================================ */
.page-id-13 .alm-imagerie-count { display: inline-block; background: #eef4fb; color: #004899; font-weight: 600; font-size: .85rem; letter-spacing: .03em; padding: 4px 13px; border-radius: 99px; margin: 0 0 18px; }
.page-id-13 .alm-block-legal-section__content ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 5px 28px; }
@media (min-width: 600px)  { .page-id-13 .alm-block-legal-section__content ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .page-id-13 .alm-block-legal-section__content ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.page-id-13 .alm-block-legal-section__content li { position: relative; padding: 4px 0 4px 16px; font-size: .92rem; line-height: 1.4; color: #42546B; }
.page-id-13 .alm-block-legal-section__content li::before { content: ""; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: #004899; }
/* Gris plateaux = #f0efe9 (ne touche que les legal-section grises de la page, pas le split). */
.page-id-13 .alm-block-legal-section.alm-block--bg-grey { background-color: #f0efe9; }
@media (min-width: 768px) {
  .page-id-46 .alm-block-split--media-narrow .alm-block-split__grid { align-items: stretch; }
  .page-id-46 .alm-block-split--media-narrow .alm-block-split__media { position: relative; }
  .page-id-46 .alm-block-split--media-narrow .alm-block-split__media img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none !important; object-fit: cover; }
}

.alm-block-kpi--score-detail .alm-block-kpi__grid--detail { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: stretch; justify-items: stretch; }
@media (min-width: 600px) { .alm-block-kpi--score-detail .alm-block-kpi__grid--detail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .alm-block-kpi--score-detail .alm-block-kpi__grid--detail { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.alm-block-kpi--score-detail .alm-kpi--detail { background: #fff; border-radius: 6px; padding: 28px 24px; text-align: left; box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, .08)); display: flex; flex-direction: column; gap: 8px; }
.alm-block-kpi--score-detail .alm-kpi--detail .alm-kpi__icon { color: #004899; line-height: 0; margin-bottom: 4px; }
.alm-block-kpi--score-detail .alm-kpi--detail .alm-kpi__icon svg { width: 28px; height: 28px; display: block; }
.alm-block-kpi--score-detail .alm-kpi--detail .alm-kpi__value { color: #004899; font-family: var(--font-title, inherit); font-size: clamp(2.2rem, 4.5vw, 2.9rem); font-weight: 700; line-height: 1; }
.alm-block-kpi--score-detail .alm-kpi--detail .alm-kpi__value .suffix { color: #5F5E5A; font-size: 1rem; font-weight: 600; margin-left: 2px; }
.alm-block-kpi--score-detail .alm-kpi--detail .alm-kpi__label { color: #042C53; font-family: var(--font-title, inherit); font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.alm-block-kpi--score-detail .alm-kpi--detail .alm-kpi__desc { color: #5F5E5A; margin: 0; font-size: .95rem; line-height: 1.55; }
.alm-block-kpi--score-detail .alm-kpi--detail .alm-kpi__label + .alm-kpi__desc { border-top: 1px solid #DDDDD5; padding-top: 10px; margin-top: 2px; }

.alm-block-kpi--score-detail .alm-kpi__subs { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid #DDDDD5; display: flex; flex-direction: column; gap: 12px; }
.alm-block-kpi--score-detail .alm-kpi__sub { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; row-gap: 6px; align-items: baseline; }
.alm-block-kpi--score-detail .alm-kpi__sub-label { grid-column: 1; grid-row: 1; color: #042C53; font-size: .92rem; line-height: 1.4; }
.alm-block-kpi--score-detail .alm-kpi__sub-value { grid-column: 2; grid-row: 1; color: #004899; font-family: var(--font-title, inherit); font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.alm-block-kpi--score-detail .alm-kpi__sub-suffix { color: #5F5E5A; font-size: .8rem; font-weight: 600; margin-left: 1px; }
.alm-block-kpi--score-detail .alm-kpi__sub-bar { grid-column: 1 / -1; grid-row: 2; display: block; height: 4px; border-radius: 2px; background: #DDDDD5; overflow: hidden; }
.alm-block-kpi--score-detail .alm-kpi__sub-bar > span { display: block; height: 100%; border-radius: 2px; background: #004899; }

body.alm-b28.page-id-18 .alm-block-kpi__grid { align-items: stretch; }
body.alm-b28.page-id-18 .alm-block-kpi__grid .alm-kpi { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
@media (max-width: 479px) { body.alm-b28.page-id-18 .alm-block-kpi__grid { grid-template-columns: 1fr; } }

.alm-legal-centralized .alm-block-hero-page{margin-bottom:0}
.alm-legal-centralized .alm-block--bg-white{padding:32px 0 76px}
.alm-legal-centralized .alm-legal-centralized__content{max-width:74ch;margin-inline:auto;padding-inline:clamp(16px,4vw,28px);color:#042C53;font-size:1.0625rem;line-height:1.75;overflow-wrap:break-word}
.alm-legal-centralized .alm-legal-centralized__content h2{color:#042C53;font-size:clamp(1.375rem,2.4vw,1.75rem);line-height:1.3;margin:0 0 22px;padding-bottom:12px;border-bottom:3px solid #EE7203}
.alm-legal-centralized .alm-legal-centralized__content h3{color:#004899;font-size:1rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin:40px 0 16px}
.alm-legal-centralized .alm-legal-centralized__content p{margin:0 0 18px}
.alm-legal-centralized .alm-legal-centralized__content ul{margin:0 0 24px;padding-left:0;list-style:none}
.alm-legal-centralized .alm-legal-centralized__content li{position:relative;margin:0 0 12px;padding-left:1.5rem;line-height:1.7}
.alm-legal-centralized .alm-legal-centralized__content li::before{content:"";position:absolute;left:.25rem;top:.62em;width:7px;height:7px;border-radius:50%;background:#EE7203}
.alm-legal-centralized .alm-legal-centralized__content a{color:#004899;text-decoration:underline;text-underline-offset:3px;background:none!important}
.alm-legal-centralized .alm-legal-centralized__content a:hover{color:#003670;text-decoration-thickness:2px}
.alm-legal-centralized .alm-legal-centralized__content a:focus-visible{color:#003670;outline:3px solid #004899;outline-offset:2px}
.alm-legal-centralized .alm-legal-centralized__content span{color:inherit!important;font-size:inherit!important;letter-spacing:inherit!important}
.alm-legal-centralized .alm-legal-centralized__content blockquote{margin:0;padding:0;border:0;background:none;font-style:normal;color:inherit}
.alm-legal-centralized .alm-legal-centralized__content details{background:#fff;border-top:1px solid #DCE3ED;border-left:3px solid transparent;transition:background .18s ease}
.alm-legal-centralized .alm-legal-centralized__content details:last-of-type{border-bottom:1px solid #DCE3ED}
.alm-legal-centralized .alm-legal-centralized__content details[open]{background:#F4F6F9;border-left-color:#EE7203}
.alm-legal-centralized .alm-legal-centralized__content summary{display:flex;align-items:flex-start;gap:14px;margin:0;padding:20px 14px;cursor:pointer;list-style:none;color:#004899;font-weight:600;font-size:1.0625rem;line-height:1.45}
.alm-legal-centralized .alm-legal-centralized__content summary::-webkit-details-marker{display:none}
.alm-legal-centralized .alm-legal-centralized__content summary::marker{content:"";font-size:0}
.alm-legal-centralized .alm-legal-centralized__content summary::before{content:"";flex:0 0 auto;width:9px;height:9px;margin-top:.45em;border-right:2px solid #EE7203;border-bottom:2px solid #EE7203;transform:rotate(-45deg);transition:transform .18s ease}
.alm-legal-centralized .alm-legal-centralized__content details[open]>summary{font-weight:700}
.alm-legal-centralized .alm-legal-centralized__content details[open]>summary::before{transform:rotate(45deg)}
.alm-legal-centralized .alm-legal-centralized__content summary:hover{color:#003670}
.alm-legal-centralized .alm-legal-centralized__content summary:focus-visible{outline:3px solid #004899;outline-offset:-3px}
.alm-legal-centralized .alm-legal-centralized__content details>*:not(summary){padding:0 14px 10px 37px}
.alm-legal-centralized .alm-legal-centralized__content details h4{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
@media (prefers-reduced-motion:reduce){.alm-legal-centralized .alm-legal-centralized__content details,.alm-legal-centralized .alm-legal-centralized__content summary::before{transition:none}}
@media (max-width:768px){.alm-legal-centralized .alm-block--bg-white{padding:24px 0 60px}.alm-legal-centralized .alm-legal-centralized__content{font-size:1rem}}
@media (max-width:479px){.alm-legal-centralized .alm-block--bg-white{padding:18px 0 48px}.alm-legal-centralized .alm-legal-centralized__content{padding-inline:16px;line-height:1.7}.alm-legal-centralized .alm-legal-centralized__content summary{gap:10px;padding:16px 10px;font-size:1rem}.alm-legal-centralized .alm-legal-centralized__content details>*:not(summary){padding:0 10px 8px 29px}.alm-legal-centralized .alm-legal-centralized__content li{padding-left:1.35rem}}


.alm-page-prestations .alm-block-card-section,
.alm-page-prestations .alm-block-duo,
.alm-page-prestations .alm-block-duo__grid > .alm-block { padding-block: 0; }
.alm-page-prestations .alm-block-duo__grid > .alm-block > .alm-container,
.alm-page-prestations .alm-card-section .alm-container,
.alm-page-prestations .alm-card-section .alm-container--narrow {
  max-width: none; padding-inline: 0; margin-inline: 0; width: 100%;
}
.alm-page-prestations { --pl-rhythm: clamp(24px, 4vw, 32px); --pl-h3-gap: 18px; }
.alm-page-prestations .alm-block-card-section + .alm-block-card-section,
.alm-page-prestations .alm-block-card-section + .alm-block-duo,
.alm-page-prestations .alm-block-duo + .alm-block-card-section { margin-top: calc(var(--pl-rhythm) * 2); }
.alm-page-prestations .alm-block-room-cards + .alm-block-card-section { margin-top: var(--pl-rhythm); }
.alm-page-prestations .alm-block-card-section:last-of-type { margin-bottom: calc(var(--pl-rhythm) * 2); }

.alm-page-prestations .alm-card-section h2,
.alm-page-prestations .alm-card-section h3,
.alm-page-prestations .alm-card-section p,
.alm-page-prestations .alm-card-section ul,
.alm-page-prestations .alm-block-duo__grid h2,
.alm-page-prestations .alm-block-duo__grid h3,
.alm-page-prestations .alm-block-duo__grid p { margin: 0; }

.alm-page-prestations .alm-card-section .alm-block__header,
.alm-page-prestations .alm-card-section .alm-block-kpi__header { max-width: none; margin: 0; text-align: left; }
.alm-page-prestations .alm-card-section .alm-eyebrow {
  display: inline-block; font-family: var(--font-title); font-weight: 700; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--alm-orange); margin-bottom: 8px;
}
.alm-page-prestations .alm-card-section .alm-block__header h2,
.alm-page-prestations .alm-card-section .alm-block-kpi__header h2 {
  font-family: var(--font-title); font-weight: 700; font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: #004899; line-height: 1.2; margin-bottom: 20px;
}

.alm-page-prestations .alm-block-comparison-table__tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.alm-page-prestations .alm-block-comparison-table__tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  background: #f6f8fb; border: 1px solid #eef1f6; border-radius: 12px; padding: 18px 12px;
}
.alm-page-prestations .alm-block-comparison-table__tile-ico { color: #004899; line-height: 0; }
.alm-page-prestations .alm-block-comparison-table__tile-ico svg { width: 26px; height: 26px; }
.alm-page-prestations .alm-block-comparison-table__tile-price {
  font-family: var(--font-title); font-weight: 800; font-size: 1.4rem; color: var(--alm-orange); line-height: 1;
}
.alm-page-prestations .alm-block-comparison-table__tile-price small { font-size: .5em; font-weight: 600; color: #6b7280; }
.alm-page-prestations .alm-block-comparison-table__tile-label { font-size: .85rem; color: #374151; font-weight: 600; }

.alm-page-prestations .alm-block-duo__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: stretch; }
.alm-page-prestations .alm-block-key-message--info-card .alm-block-key-message__feature {
  display: flex; gap: 16px; align-items: flex-start; background: #E6F1FB;
  border: 0; box-shadow: none; border-radius: 16px; padding: clamp(20px, 3vw, 28px); height: 100%;
}
.alm-page-prestations .alm-block-key-message--info-card .alm-block-key-message__media,
.alm-page-prestations .alm-block-key-message--info-card .alm-block-key-message__media--icon {
  flex: 0 0 auto; width: auto; max-width: none; height: auto; min-height: 0;
  background: none; border: 0; padding: 0; margin: 0; align-self: flex-start;
}
.alm-page-prestations .alm-block-key-message--info-card .alm-block-key-message__bigicon { display: block; color: #004899; line-height: 0; }
.alm-page-prestations .alm-block-key-message--info-card .alm-block-key-message__bigicon svg { width: 28px; height: 28px; }
.alm-page-prestations .alm-block-key-message--info-card .alm-block-key-message__content { flex: 1 1 auto; min-width: 0; text-align: left; }
.alm-page-prestations .alm-block-key-message--info-card .alm-block-key-message__title {
  font-family: var(--font-title); font-weight: 700; font-size: 1.15rem; color: #004899; margin-bottom: 8px;
}
.alm-page-prestations .alm-block-key-message--info-card .alm-block-key-message__body { color: #334155; line-height: 1.6; }
.alm-page-prestations .alm-block-key-message--info-card .alm-block-key-message__body a { color: #004899; font-weight: 600; text-decoration: underline; }

.alm-page-prestations .alm-block-cta--solid-card .alm-block-cta__inner {
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
  background: #004899; border-radius: 16px; padding: clamp(20px, 3vw, 28px);
  max-width: none; margin: 0; height: 100%; text-align: left; align-items: flex-start;
}
.alm-page-prestations .alm-block-cta--solid-card .alm-block-cta__title {
  font-family: var(--font-title); font-weight: 700; font-size: 1.25rem; color: #fff; margin: 0;
}
.alm-page-prestations .alm-block-cta--solid-card .alm-block-cta__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; justify-content: flex-start; }

.alm-page-prestations .alm-block-feature-trio__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.alm-page-prestations .alm-block-feature-trio__card { border: 0; padding: 0; background: none; }
.alm-page-prestations .alm-block-feature-trio__icon {
  display: inline-flex; color: #004899; background: #E6F1FB; border-radius: 50%;
  width: 46px; height: 46px; align-items: center; justify-content: center; margin-bottom: 12px;
}
.alm-page-prestations .alm-block-feature-trio__icon svg { width: 24px; height: 24px; }
.alm-page-prestations .alm-block-feature-trio__title {
  font-family: var(--font-title); font-weight: 700; font-size: 1.05rem; color: #004899; margin-bottom: 6px;
}
.alm-page-prestations .alm-block-feature-trio__content { color: #475569; line-height: 1.55; font-size: .95rem; }

.alm-page-prestations .alm-block-kpi__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px;
  margin-bottom: 20px; justify-items: stretch; align-items: stretch;
}
.alm-page-prestations .alm-block-kpi__grid > .alm-kpi {
  width: 100%; background: #fff; border: 1px solid #e7ecf3; border-radius: 12px;
  padding: 20px; text-align: center; display: block; height: auto; grid-column: auto;
}
.alm-page-prestations .alm-block-kpi__value {
  display: block; font-family: var(--font-title); font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--alm-orange); line-height: 1; margin-bottom: 8px;
}
.alm-page-prestations .alm-block-kpi__value .suffix { font-size: .42em; font-weight: 700; }
.alm-page-prestations .alm-kpi__label {
  font-size: .85rem; color: #475569; line-height: 1.35; letter-spacing: normal; text-transform: none; opacity: 1;
}
.alm-page-prestations .alm-block-kpi__note {
  background: #fbf3ea; border-left: 3px solid var(--alm-orange); border-radius: 8px;
  padding: 12px 16px; color: #5b4636; font-size: .9rem; line-height: 1.5;
  margin: 0 0 22px; max-width: none; text-align: left;
}
.alm-page-prestations .alm-card-section .alm-block-legal-section { background: transparent; }
.alm-page-prestations .alm-block-legal-section__content h3 {
  font-family: var(--font-title); font-weight: 700; font-size: 1.05rem; color: #004899; margin: var(--pl-h3-gap) 0 8px;
}
.alm-page-prestations .alm-block-legal-section__content h3:first-child { margin-top: 0; }
.alm-page-prestations .alm-card-section .alm-block-legal-section__content h3:first-child { margin-top: var(--pl-h3-gap); }
.alm-page-prestations .alm-block-legal-section__content p { color: #475569; line-height: 1.6; margin-bottom: 10px; }
.alm-page-prestations .alm-block-legal-section__content ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.alm-page-prestations .alm-block-legal-section__content li { position: relative; padding-left: 26px; color: #475569; line-height: 1.55; }
.alm-page-prestations .alm-block-legal-section__content li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--alm-orange);
}
.alm-page-prestations .alm-block-legal-section__content strong { color: #004899; }

.alm-page-prestations .alm-card-section--bg-lightblue .alm-block-cta__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px; max-width: none; margin: 0; padding: 0; text-align: left;
}
.alm-page-prestations .alm-card-section--bg-lightblue .alm-block-cta__title {
  font-family: var(--font-title); font-weight: 700; font-size: 1.2rem; color: #004899; margin-bottom: 4px;
}
.alm-page-prestations .alm-card-section--bg-lightblue .alm-block-cta__text { color: #334155; margin: 0; }
.alm-page-prestations .alm-card-section--bg-lightblue .alm-block-cta__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; flex: 0 0 auto; }

.alm-page-prestations .alm-block-duo__grid .alm-btn,
.alm-page-prestations .alm-card-section--bg-lightblue .alm-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 2px solid transparent;
}
.alm-page-prestations .alm-block-duo__grid .alm-btn-primary { background: #fff; color: #004899; border-color: #fff; }
.alm-page-prestations .alm-block-duo__grid .alm-btn-secondary { background: transparent; color: #fff; border-color: #fff; }
.alm-page-prestations .alm-card-section--bg-lightblue .alm-btn-primary { background: #004899; color: #fff; border-color: #004899; }
.alm-page-prestations .alm-card-section--bg-lightblue .alm-btn-secondary { background: #fff; color: #004899; border-color: #004899; }

@media (max-width: 900px) {
  .alm-page-prestations .alm-block-comparison-table__tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .alm-page-prestations .alm-block-duo__grid { grid-template-columns: 1fr; }
  .alm-page-prestations .alm-block-kpi__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .alm-page-prestations .alm-block-comparison-table__tiles { grid-template-columns: repeat(2, 1fr); }
  .alm-page-prestations .alm-card-section--bg-lightblue .alm-block-cta__inner { flex-direction: column; align-items: flex-start; }
}

.alm-page-prestations .alm-card-section--bg-lightblue .alm-block-cta,
.alm-page-prestations .alm-card-section--bg-lightblue .alm-block-cta--blue {
  background: transparent; color: inherit; padding: 0;
}
.alm-page-prestations .alm-card-section--bg-lightblue .alm-block-cta__inner {
  background: transparent; border-radius: 0;
  padding: clamp(18px, 2.5vw, 26px) clamp(20px, 3vw, 32px);
}
.alm-page-prestations .alm-card-section--bg-lightblue .alm-block-cta__title { color: #004899; }
.alm-page-prestations .alm-card-section--bg-lightblue .alm-block-cta__text { color: #334155; }
.alm-page-prestations .alm-card-section--bg-lightblue.alm-card-section--p-tight { padding: 0; }

.alm-page-prestations .alm-block-duo__grid > .alm-block,
.alm-page-prestations .alm-block-duo__grid > .alm-block > .alm-container {
  display: flex; flex-direction: column; height: 100%; align-self: stretch;
}
.alm-page-prestations .alm-block-duo__grid > .alm-block > .alm-container > .alm-block-key-message__feature,
.alm-page-prestations .alm-block-duo__grid > .alm-block > .alm-container > .alm-block-cta__inner {
  flex: 1 1 auto; height: auto;
}

.alm-page-prestations .alm-card-section .alm-block-kpi__grid { justify-items: stretch; }
.alm-page-prestations .alm-card-section .alm-block-kpi__grid > .alm-kpi {
  width: 100%; max-width: none; justify-self: stretch;
}

.almaviva-menu .almaviva-submenu--grouped {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    padding: 18px 20px;
    width: max-content;
    min-width: 0;
    max-width: min(560px, calc(100vw - 32px));
}

.almaviva-menu .almaviva-submenu__group { margin: 0; padding: 0; }

.almaviva-menu .almaviva-submenu__group--full {
    grid-column: 1 / -1;
    border-top: 0.5px solid var(--almaviva-bordure);
    padding-top: 12px;
}

.almaviva-menu .almaviva-submenu__title {
    display: table;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: #004899;
    border-bottom: 2px solid #EE7203;
    padding: 0 0 4px;
    margin: 0 0 8px;
}

.almaviva-menu .almaviva-submenu__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.almaviva-menu .almaviva-submenu--grouped a {
    display: block;
    padding: 7px 10px;
    font-size: 14px;
    line-height: 1.35;
    color: #004899;
    border-left: 0;
    border-radius: 6px;
    text-decoration: none;
    white-space: normal;
}

@media (max-width: 960px) {
    .almaviva-menu .almaviva-submenu--grouped {
        display: block;
        width: auto;
        max-width: none;
        gap: 0;
        padding: 0 0 12px;
    }
    .almaviva-menu li.has-submenu.is-open > .almaviva-submenu--grouped {
        max-height: 1600px;
        padding: 8px 0 16px;
    }
    .almaviva-menu .almaviva-submenu__group--full {
        border-top: 0.5px solid var(--almaviva-bordure);
        margin: 8px 20px 0;
        padding-top: 8px;
    }
    .almaviva-menu .almaviva-submenu__title { margin: 12px 0 2px 28px; }
    .almaviva-menu .almaviva-submenu--grouped a { padding: 10px 28px; border-radius: 0; }
    .almaviva-menu .almaviva-submenu__group--full .almaviva-submenu__list a { padding-left: 8px; }
}

.almaviva-menu .almaviva-submenu__icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    color: #EE7203;
    line-height: 0;
    margin-top: 1px;
}

.almaviva-menu .almaviva-submenu--grouped a:has(.almaviva-submenu__icon) {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.almaviva-menu .submenu a:has(.almaviva-submenu__icon) {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

@media (max-width: 1023px) {
    .almaviva-footer-social-ic,
    .almaviva-cta,
    .alm-topbar-social a,
    .alm-lang__btn,
    .alm-btn-primary,
    .alm-fa-btn,
    .alm-card__link,
    .alm-annuaire-card__link,
    .alm-carriere-btn--primary,
    .alm-block-specialties-grouped__link,
    .alm-block-feature-trio__link,
    .alm-block-annuaire__reset,
    .alm-block-document-grid__cta,
    .alm-block-document-checklist__reset {
        min-block-size: 44px;
        min-inline-size: 44px;
    }
}

@media (max-width: 1199px) {
    .almaviva-footer { padding-bottom: 58px; }
    .almaviva-footer.almaviva-footer--alma { padding-bottom: 80px; }
}

/* ============================================
   fix-rythme-accueil — dégagement du hero d'accueil sous l'en-tête fixe
   ============================================
   OPT-IN PAR LA DONNÉE. La classe `alm-vhero-a--degage` n'est posée par
   template-parts/sections/hero/a.php que si le site porte l'option
   `almaviva_home_hero_rythme`. Un site qui ne la porte pas ne porte pas la
   classe : balisage et rendu strictement inchangés. Le pilote b28 et les 44
   autres sites ne portent pas l'option.

   LE DÉFAUT, MESURÉ AU RENDU LE 2026-08-12 (57 accueils, 1440/782/375, 2 passes)
   `.almaviva-wrapper` est position:fixed et survole le contenu : il occupe
   140 px à 1440 (topbar 40 + header 100) et 64 px à 782 comme à 375. Le seul
   dégagement dont dispose l'accueil est le padding-top de
   `.alm-vhero-a__inner`, soit clamp(60px, 9vw, 140px) = 129,6 / 70,4 / 60 px.
   À 1440 et à 375 il est PLUS PETIT que l'en-tête. Tant que le contenu du hero
   tient sous min-height, `align-items:flex-end` le descend et le défaut reste
   invisible ; dès qu'il déborde, le premier élément peint passe sous l'en-tête
   (−10,4 px à 1440 sur 17 accueils, −4 px à 375 sur 42). C'est un défaut du
   composant, pas des 13 sites : le pilote le porte aussi et ne le manifeste
   pas, son contenu de hero étant trop court pour déborder.

   LA VALEUR N'EST PAS INVENTÉE. C'est celle que le thème applique déjà à tout
   gabarit HORS accueil, additionnée du padding-block du bloc hero de ces
   gabarits — l'accueil reçoit donc le dégagement d'une page intérieure du même
   site, ce qui est exactement le rythme auquel on le compare :
     - compensation du header fixe : calc(var(--header-h) + 40px), et
       var(--header-h-sticky) sous 960 px (fix-69u, lignes 1471-1477) ;
     - padding-block du bloc alm/hero-page : clamp(56px, 8vw, 96px)
       (build/blocks/hero-page/style-index.css).
   Dégagement obtenu : +86 px à 1440, +62,6 px à 782, +56 px à 375, contre
   +70 / +54,7 / +48 px mesurés sur les pages intérieures des mêmes sites.

   `max()` avec le clamp d'origine garantit que la règle ne RÉDUIT jamais le
   padding, y compris au-delà de 1600 px où 9vw dépasse la compensation.

   ⚠️ --header-h vaut 90px alors que l'en-tête rend 100px : l'écart de 10px est
   la cause exacte du −10,4 px mesuré. La variable n'est PAS corrigée ici, la
   redresser déplacerait le body des 58 sites ; c'est signalé au rapport. */
.alm-home .alm-vhero-a--degage .alm-vhero-a__inner {
    padding-top: max(clamp(60px, 9vw, 140px),
                     calc(var(--header-h) + 40px + clamp(56px, 8vw, 96px)));
}
@media (max-width: 960px) {
    .alm-home .alm-vhero-a--degage .alm-vhero-a__inner {
        padding-top: max(clamp(60px, 9vw, 140px),
                         calc(var(--header-h-sticky) + clamp(56px, 8vw, 96px)));
    }
}

.alm-home .alm-vhero-a{align-items:center}
.alm-home .alm-vhero-a .alm-vhero-a__inner{display:flex;flex-direction:column;justify-content:center;padding-top:clamp(90px,11vw,180px);padding-bottom:clamp(90px,11vw,180px)}
.alm-home .alm-vhero-a.alm-vhero-a--degage .alm-vhero-a__inner{padding-top:max(clamp(90px,11vw,180px),calc(var(--header-h) + 40px + clamp(56px,8vw,96px)));padding-bottom:max(clamp(90px,11vw,180px),calc(var(--header-h) + 40px + clamp(56px,8vw,96px)))}
@media (max-width:960px){.alm-home .alm-vhero-a.alm-vhero-a--degage .alm-vhero-a__inner{padding-top:max(clamp(90px,11vw,180px),calc(var(--header-h-sticky) + clamp(56px,8vw,96px)));padding-bottom:max(clamp(90px,11vw,180px),calc(var(--header-h-sticky) + clamp(56px,8vw,96px)))}}

.home .alm-home .alm-vhero-a__inner{row-gap:clamp(18px,2.4vw,36px)}
.home .alm-home .alm-vhero-a__kicker,.home .alm-home .alm-vhero-a__title,.home .alm-home .alm-vhero-a__signature,.home .alm-home .alm-vhero-a__sub,.home .alm-home .alm-vhero-a__stats,.home .alm-home .alm-vhero-a__ctas{margin-block:0}

:root{--alm-cookie-banner-h:0px}
.alm-a11y-toolbar{transform:translateY(calc(-1 * var(--alm-cookie-banner-h,0px)))}
@media (max-width:1024px){body .almv-widgets{transform:translateY(calc(-1 * var(--alm-cookie-banner-h,0px)))}}

.alm-page-formalites section.alm-block:not(.alm-block-cta) h2{position:relative;padding-bottom:14px}
.alm-page-formalites section.alm-block:not(.alm-block-cta) h2::after{content:"";position:absolute;left:0;bottom:0;width:48px;height:2px;background:#EE7203}

.alm-btn-inscription{display:inline-block;padding:12px 20px;background-color:var(--alm-orange);color:#fff;text-decoration:none;font-size:15px;font-weight:700;border-radius:6px;box-shadow:0 3px 5px rgba(0,0,0,.1);transition:opacity .3s ease;white-space:nowrap}
.alm-btn-inscription:hover,.alm-btn-inscription:focus-visible{opacity:.85;color:#fff}

.alm-block.alm-block-room-cards--rows{padding-block:clamp(24px,4vw,32px)}
.alm-block-room-cards--rows .alm-room-line__feats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));justify-items:start;gap:8px}
@media (max-width:900px){.alm-block-room-cards--rows .alm-room-line__feats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.alm-block-room-cards--rows .alm-room-line__feats{grid-template-columns:1fr}}
.alm-page-corpo__content:has(>.alm-presta-lower){--pl-rhythm:clamp(24px,4vw,32px)}
.alm-page-corpo__content>.alm-presta-lower{max-width:var(--container,1400px);margin-inline:auto;padding-inline:var(--gutter,clamp(16px,4vw,32px));padding-block:var(--pl-rhythm);gap:calc(var(--pl-rhythm)*2)}
.alm-page-corpo__content>.alm-presta-lower .alm-pl-card,.alm-page-corpo__content>.alm-presta-lower .alm-pl-info,.alm-page-corpo__content>.alm-presta-lower .alm-pl-ctacard,.alm-page-corpo__content>.alm-presta-lower .alm-pl-final-inner{padding:clamp(20px,3vw,28px)}

.alm-block.alm-block--prestations{padding-block:0;background:transparent;margin-top:calc(2*clamp(24px,4vw,32px))}
.alm-block-room-cards--rows+.alm-block.alm-block--prestations{margin-top:clamp(24px,4vw,32px)}
.alm-page-corpo__content>.alm-block.alm-block--prestations:last-child{margin-bottom:clamp(24px,4vw,32px)}
.alm-block.alm-block--prestations>.alm-container{max-width:calc(min(1400px,100%) - 2*clamp(16px,4vw,32px));padding-inline:0;margin-inline:auto}
.alm-block.alm-block--prestations .alm-card-section{padding:clamp(20px,3vw,28px)}
.alm-block.alm-block--prestations .alm-block{padding-block:0;margin:0;background:transparent}
.alm-block.alm-block--prestations .alm-block>.alm-container,.alm-block.alm-block--prestations .alm-block>.alm-container--narrow{max-width:none;padding-inline:0;margin-inline:0;width:100%}
.alm-block.alm-block--prestations h2,.alm-block.alm-block--prestations h3,.alm-block.alm-block--prestations p,.alm-block.alm-block--prestations ul{margin:0}
.alm-block.alm-block--prestations .alm-block__header,.alm-block.alm-block--prestations .alm-block-kpi__header{max-width:none;margin:0;text-align:left}
.alm-block.alm-block--prestations .alm-eyebrow{display:inline-block;font-family:var(--font-title);font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--alm-orange);margin:0 0 8px}
.alm-block.alm-block--prestations .alm-block__header h2,.alm-block.alm-block--prestations .alm-block-kpi__header h2{font-family:var(--font-title);font-weight:700;font-size:clamp(1.3rem,2.5vw,1.7rem);color:#004899;line-height:1.2;margin:0 0 20px}

.alm-block.alm-block--prestations .alm-block-comparison-table__tiles{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.alm-block.alm-block--prestations .alm-block-comparison-table__tile{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;background:#f6f8fb;border:1px solid #eef1f6;border-radius:12px;padding:18px 12px}
.alm-block.alm-block--prestations .alm-block-comparison-table__tile-ico{color:#004899;line-height:0}
.alm-block.alm-block--prestations .alm-block-comparison-table__tile-ico svg{width:26px;height:26px}
.alm-block.alm-block--prestations .alm-block-comparison-table__tile-price{font-family:var(--font-title);font-weight:800;font-size:1.4rem;color:var(--alm-orange);line-height:1}
.alm-block.alm-block--prestations .alm-block-comparison-table__tile-price small{font-size:.5em;font-weight:600;color:#6b7280}
.alm-block.alm-block--prestations .alm-block-comparison-table__tile-label{font-size:.85rem;color:#374151;font-weight:600}

.alm-block.alm-block-duo--prestations .alm-block-duo__grid{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;align-items:stretch}
.alm-block.alm-block-key-message--prestations .alm-block-key-message__feature{display:flex;gap:16px;align-items:flex-start;background:#E6F1FB;border:0;border-radius:16px;box-shadow:none;padding:clamp(20px,3vw,28px);height:100%;overflow:visible}
.alm-block.alm-block-key-message--prestations .alm-block-key-message__media,.alm-block.alm-block-key-message--prestations .alm-block-key-message__media--icon{flex:0 0 auto;min-height:0;max-height:none;background:none;border:0;padding:0;margin:0;color:#004899;line-height:0}
.alm-block.alm-block-key-message--prestations .alm-block-key-message__bigicon{display:block;color:#004899;line-height:0}
.alm-block.alm-block-key-message--prestations .alm-block-key-message__bigicon svg{width:28px;height:28px}
.alm-block.alm-block-key-message--prestations .alm-block-key-message__content{flex:1 1 auto;min-width:0;padding:0}
.alm-block.alm-block-key-message--prestations .alm-block-key-message__title{font-family:var(--font-title);font-weight:700;font-size:1.15rem;color:#004899;line-height:1.2;margin:0 0 8px}
.alm-block.alm-block-key-message--prestations .alm-block-key-message__body{color:#334155;line-height:1.6}
.alm-block.alm-block-key-message--prestations .alm-block-key-message__body a{color:#004899;font-weight:600;text-decoration:underline}
.alm-block.alm-block-cta--prestations.alm-block-cta--solid-card,.alm-block.alm-block-cta--prestations.alm-block-cta--solid-card>.alm-container{height:100%}
.alm-block.alm-block-cta--prestations.alm-block-cta--solid-card .alm-block-cta__inner{display:flex;flex-direction:column;justify-content:center;gap:16px;background:#004899;border-radius:16px;padding:clamp(20px,3vw,28px);max-width:none;margin:0;height:100%;text-align:left;align-items:stretch}
.alm-block.alm-block-cta--prestations.alm-block-cta--solid-card .alm-block-cta__title{font-family:var(--font-title);font-weight:700;font-size:1.25rem;color:#fff;line-height:1.2;margin:0}
.alm-block.alm-block-cta--prestations .alm-block-cta__buttons{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px;margin:0;justify-content:flex-start}
.alm-block.alm-block-cta--prestations .alm-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;border-radius:8px;font-family:inherit;font-weight:600;font-size:.95rem;line-height:1.5;text-decoration:underline;border:2px solid transparent;width:auto;transform:none}
.alm-block.alm-block-cta--prestations.alm-block-cta--solid-card .alm-btn-primary{background:#fff;color:#004899!important;border-color:#fff}
.alm-block.alm-block-cta--prestations.alm-block-cta--solid-card .alm-btn-secondary{background:transparent;color:#fff!important;border-color:#fff}
.alm-card-section--bg-lightblue .alm-block.alm-block-cta--prestations .alm-block-cta__inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px;max-width:none;margin:0;padding:0;text-align:left}
.alm-card-section--bg-lightblue .alm-block.alm-block-cta--prestations .alm-block-cta__title{font-family:var(--font-title);font-weight:700;font-size:1.2rem;color:#004899;line-height:1.2;margin:0 0 4px}
.alm-card-section--bg-lightblue .alm-block.alm-block-cta--prestations .alm-block-cta__text{color:#334155;margin:0;font-size:1rem;line-height:1.5;max-width:none;opacity:1}
.alm-card-section--bg-lightblue .alm-block.alm-block-cta--prestations .alm-btn-primary{background:#004899;color:#fff!important;border-color:#004899}
.alm-card-section--bg-lightblue .alm-block.alm-block-cta--prestations .alm-btn-secondary{background:#fff;color:#004899!important;border-color:#004899}

.alm-block.alm-block--prestations .alm-block-feature-trio__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px;margin:0}
.alm-block.alm-block--prestations .alm-block-feature-trio__card{border:0;padding:0;background:none;box-shadow:none;text-align:left}
.alm-block.alm-block--prestations .alm-block-feature-trio__icon{display:inline-flex;color:#004899;background:#E6F1FB;border-radius:50%;width:46px;height:46px;align-items:center;justify-content:center;margin:0 0 12px}
.alm-block.alm-block--prestations .alm-block-feature-trio__icon svg{width:24px;height:24px}
.alm-block.alm-block--prestations .alm-block-feature-trio__title{font-family:var(--font-title);font-weight:700;font-size:1.05rem;color:#004899;line-height:1.2;margin:0 0 6px}
.alm-block.alm-block--prestations .alm-block-feature-trio__content{color:#475569;line-height:1.55;font-size:.95rem}

.alm-block.alm-block--prestations .alm-block-kpi__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:0 0 20px;justify-items:stretch;align-items:stretch}
.alm-block.alm-block--prestations .alm-block-kpi__grid>.alm-kpi{width:100%;max-width:none;background:#fff;border:1px solid #e7ecf3;border-radius:12px;padding:20px;text-align:center;display:block;height:auto;grid-column:auto;box-shadow:none;transform:none}
.alm-block.alm-block--prestations .alm-kpi__value{display:block;font-family:var(--font-title);font-weight:800;font-size:clamp(1.8rem,4vw,2.4rem);color:var(--alm-orange);line-height:1;margin:0 0 8px}
.alm-block.alm-block--prestations .alm-kpi__value .suffix{font-size:.42em;font-weight:700;color:inherit;margin:0}
.alm-block.alm-block--prestations .alm-kpi__label{display:inline;font-size:.85rem;color:#475569;line-height:1.35;letter-spacing:normal;text-transform:none;opacity:1;font-weight:400;margin:0}
.alm-block.alm-block--prestations .alm-block-kpi__note{background:#fbf3ea;border-left:3px solid var(--alm-orange);border-radius:8px;padding:12px 16px;color:#5b4636;font-size:.9rem;line-height:1.5;margin:0 0 22px;max-width:none;text-align:left}
.alm-block.alm-block--prestations .alm-block-legal-section__content{font-size:1rem;line-height:1.5;color:#475569}
.alm-block.alm-block--prestations .alm-block-legal-section__content h3{font-family:var(--font-title);font-weight:700;font-size:1.05rem;color:#004899;line-height:1.2;margin:18px 0 8px}
.alm-block.alm-block--prestations .alm-block-legal-section__content h3:first-child{margin-top:0}
.alm-block.alm-block--prestations .alm-block-legal-section__content p{color:#475569;line-height:1.6;margin:0 0 10px;font-size:1rem}
.alm-block.alm-block--prestations .alm-block-legal-section__content ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.alm-block.alm-block--prestations .alm-block-legal-section__content li{position:relative;padding-left:26px;color:#475569;line-height:1.55;font-size:1rem;margin:0}
.alm-block.alm-block--prestations .alm-block-legal-section__content li::before{content:"";position:absolute;left:0;top:8px;width:8px;height:8px;border-radius:50%;background:var(--alm-orange)}
.alm-block.alm-block--prestations .alm-block-legal-section__content strong{color:#004899}

@media (max-width:900px){.alm-block.alm-block--prestations .alm-block-comparison-table__tiles{grid-template-columns:repeat(3,1fr)}}
@media (max-width:860px){.alm-block.alm-block-duo--prestations .alm-block-duo__grid{grid-template-columns:1fr}.alm-block.alm-block--prestations .alm-block-kpi__grid{grid-template-columns:1fr}}
@media (max-width:520px){.alm-block.alm-block--prestations .alm-block-comparison-table__tiles{grid-template-columns:repeat(2,1fr)}.alm-card-section--bg-lightblue .alm-block.alm-block-cta--prestations .alm-block-cta__inner{flex-direction:column;align-items:flex-start}}
.alm-block.alm-block--prestations .alm-block-comparison-table__tile-price--attente,.alm-block-room-cards--rows .alm-room-line__price--attente{color:#5f6570;font-family:inherit;font-weight:600;font-size:.95rem;white-space:normal}

/* ==========================================================================
   ALM_IMAGES_SANS_FILET_v1 (2026-09-29) — filet sombre autour des images.
   CAUSE, mesurée (getComputedStyle, 375 et 1440) : la vignette de alm/gallery-grid est un
   bouton type=button. Le reset du thème parent pose « [type=button]{border:1px solid} »,
   de même spécificité (0,1,0) que le « border:none » de la feuille du bloc mais chargé
   APRÈS elle ; accessibility.css recolore ensuite la bordure en currentColor. Résultat :
   1px #1A1A1A autour de chaque photo. La règle ci-dessous passe devant (0,1,1).
   Coins arrondis et contour de focus clavier conservés.
   ========================================================================== */
body .alm-block-gallery-grid__item,
body .alm-block-gallery-grid__item:hover,
body .alm-block-gallery-grid__item:focus { border: 0; }
body .alm-block-gallery-grid__img,
body .alm-block-split__media img,
body .alm-block-duo img,
body .alm-block-latest-news img,
body .alm-block-key-message img,
body .alm-actu-card img { border: 0; outline: 0; }

/* ==========================================================================
   ALM_COMPOSITION_V1_BOUTONS (2026-09-29) — sites recomposés : tout appel à l'action en
   bouton primaire orange (#EE7203, texte blanc). Scope : body.alm-composition-v1, classe
   émise seulement si l'option par blog « almaviva_composition_v1 » vaut 1. Sans elle,
   aucune de ces règles ne s'applique. La classe est répétée trois fois dans le sélecteur
   pour passer devant les règles !important de quatre classes (cta « prestations », annuaire).
   ========================================================================== */
body.alm-composition-v1.alm-composition-v1.alm-composition-v1 main a.alm-btn,
body.alm-composition-v1.alm-composition-v1.alm-composition-v1 main .alm-block a.alm-btn,
body.alm-composition-v1.alm-composition-v1.alm-composition-v1 main a.alm-btn-primary,
body.alm-composition-v1.alm-composition-v1.alm-composition-v1 main a.alm-btn-secondary,
body.alm-composition-v1.alm-composition-v1.alm-composition-v1 main .alm-block a.alm-btn-primary,
body.alm-composition-v1.alm-composition-v1.alm-composition-v1 main .alm-block a.alm-btn-secondary,
body.alm-composition-v1.alm-composition-v1.alm-composition-v1 main a.alm-b-cta-carte__bouton,
body.alm-composition-v1.alm-composition-v1.alm-composition-v1 main a.alm-card__link,
body.alm-composition-v1.alm-composition-v1.alm-composition-v1 main a.alm-block-feature-trio__link {
  background: #EE7203 !important;
  border: 2px solid #EE7203 !important;
  color: #fff !important;
  box-shadow: none;
  text-decoration: none !important;
}
body.alm-composition-v1.alm-composition-v1.alm-composition-v1 main a.alm-card__link,
body.alm-composition-v1.alm-composition-v1.alm-composition-v1 main a.alm-block-feature-trio__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.625rem 1.25rem;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
}
body.alm-composition-v1.alm-composition-v1.alm-composition-v1 main a.alm-b-cta-carte__bouton { border-radius: var(--r-md); }
body.alm-composition-v1.alm-composition-v1.alm-composition-v1 main a.alm-btn:hover,
body.alm-composition-v1.alm-composition-v1.alm-composition-v1 main a.alm-btn:focus-visible,
body.alm-composition-v1.alm-composition-v1.alm-composition-v1 main .alm-block a.alm-btn-primary:hover,
body.alm-composition-v1.alm-composition-v1.alm-composition-v1 main .alm-block a.alm-btn-secondary:hover,
body.alm-composition-v1.alm-composition-v1.alm-composition-v1 main a.alm-b-cta-carte__bouton:hover,
body.alm-composition-v1.alm-composition-v1.alm-composition-v1 main a.alm-card__link:hover,
body.alm-composition-v1.alm-composition-v1.alm-composition-v1 main a.alm-block-feature-trio__link:hover {
  background: #EE7203 !important;
  border-color: #EE7203 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(238, 114, 3, .28);
}
/* Chiffres clés des sites recomposés : le libellé est une phrase du site d'origine, mot pour
   mot — lisible en bas de casse, sans interlettrage ; valeur sous le libellé quand il la précède. */
body.alm-composition-v1 .alm-kpi { max-width: 300px; }
body.alm-composition-v1 .alm-kpi__label { text-transform: none; letter-spacing: 0; font-size: .9375rem; opacity: 1; }
body.alm-composition-v1 .alm-kpi--label-first .alm-kpi__label { margin-bottom: 10px; }
body.alm-composition-v1 .alm-kpi--label-first .alm-kpi__value { margin-bottom: 0; }

/* ALM_COMPOSITION_V1_DOCUMENTS (2026-09-29) — sites recomposés : une vignette de document n'est
   jamais agrandie au-delà de sa taille réelle (elle devenait floue) ; elle est centrée dans son cadre. */
body.alm-composition-v1 .alm-block-document-grid__thumb { display: flex; align-items: center; justify-content: center; }
body.alm-composition-v1 .alm-block-document-grid__thumb img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }

/* ALM_KPI_COLUMNS_v1 (2026-09-29) — alm/kpi, attribut `columns` (2 à 6, opt-in) : la classe
   alm-block-kpi--colonnes-N n'existe que si l'attribut est posé. 2 colonnes ≤ 782 px, 1 ≤ 480 px. */
.alm-block.alm-block-kpi.alm-block-kpi--colonnes-2 .alm-block-kpi__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.alm-block.alm-block-kpi.alm-block-kpi--colonnes-3 .alm-block-kpi__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.alm-block.alm-block-kpi.alm-block-kpi--colonnes-4 .alm-block-kpi__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.alm-block.alm-block-kpi.alm-block-kpi--colonnes-5 .alm-block-kpi__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.alm-block.alm-block-kpi.alm-block-kpi--colonnes-6 .alm-block-kpi__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.alm-block.alm-block-kpi[class*="alm-block-kpi--colonnes-"] .alm-block-kpi__grid > .alm-kpi { grid-column: auto; }
@media (max-width: 782px) {
  .alm-block.alm-block-kpi[class*="alm-block-kpi--colonnes-"] .alm-block-kpi__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .alm-block.alm-block-kpi[class*="alm-block-kpi--colonnes-"] .alm-block-kpi__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ALM_COMPOSITION_V1_DOCGRID_COMPACT (2026-09-29) — sites recomposés, alm/document-grid variante
   « compact » : vignette à la taille du cadre (jamais agrandie), hauteur réduite, bouton orange. */
body.alm-composition-v1 .alm-block-document-grid--compact .alm-block-document-grid__thumb { aspect-ratio: auto; height: 200px; background: #f4f4f0; }
body.alm-composition-v1 .alm-block-document-grid--compact .alm-block-document-grid__title { margin-top: 16px; }
body.alm-composition-v1.alm-composition-v1 main .alm-block-document-grid--compact a.alm-block-document-grid__cta {
  align-self: flex-start; background: #EE7203; border: 2px solid #EE7203; border-radius: var(--r-md);
  color: #fff; min-height: 44px; padding: 8px 18px; text-decoration: none;
}
body.alm-composition-v1.alm-composition-v1 main .alm-block-document-grid--compact a.alm-block-document-grid__cta:hover { background: #EE7203; color: #fff; transform: translateY(-2px); }
