/*
 * Theme chaleureux.
 * Couche d'habillage chargee uniquement par le theme Sylius unmfr/chaleureux.
 */

:root {
    --roll-green: #537f1b;
    --roll-green-dark: #365813;
    --roll-blue: #006f9d;
    --roll-blue-dark: #004e70;
    --roll-red: #b33c2b;
    --roll-red-dark: #84291e;
    --roll-orange: #a85b13;
    --roll-orange-dark: #75400c;
    --roll-yellow: #8f6500;
    --roll-yellow-dark: #604304;
    --roll-brown: #8a5b2b;
    --roll-purple: #7560a8;
    /* ===================================================================== */
    /* Systeme de design                                                     */
    /*                                                                       */
    /* Parti pris : l'alternance. Le fait qui definit une MFR est un rythme   */
    /* de deux, quinze jours au centre et quinze jours en entreprise. Les     */
    /* reperes structurants du theme l'encodent : un filet en deux segments   */
    /* de longueurs et d'epaisseurs differentes sous chaque titre, une voix   */
    /* typographique a deux registres, des titres cales a gauche sur une      */
    /* gouttiere plutot que centres.                                         */
    /* ===================================================================== */

    /* --- Sols et encres ------------------------------------------------- */
    /* Gris tres clair a pointe d'olive (b - r = -5) : il appartient a la
       gamme des verts du reseau au lieu du gris bleute par defaut. */
    --sol: #f1f1ec;
    --sol-creux: #e8e8e0;
    --sol-plaque: #ffffff;
    /* Noirs casses de vert, jamais un gris pur */
    --encre: #20241a;
    --encre-douce: #565a4c;
    /* Filets : neutre pour la structure, ocre pour l'accent */
    --trait: #d8d8cd;
    --trait-fort: #b9b9a8;
    /* Variante lisible du rouge secondaire pour les petits textes (4.8:1) */
    --accent-encre: #cc2419;

    /* --- Echelle typographique (raison 1.25) ---------------------------- */
    --pas-legende: 0.82rem;
    --pas-label: 0.86rem;
    --pas-corps: 1.075rem;
    --pas-intro: clamp(1.12rem, 1.02rem + 0.5vw, 1.3rem);
    --pas-t4: 1.22rem;
    --pas-t3: clamp(1.3rem, 1.15rem + 0.7vw, 1.56rem);
    --pas-t2: clamp(1.55rem, 1.25rem + 1.4vw, 1.95rem);
    --pas-t1: clamp(1.95rem, 1.4rem + 2.6vw, 3rem);

    /* --- Echelle d'espacement (base 4px) -------------------------------- */
    --esp-1: 4px;
    --esp-2: 8px;
    --esp-3: 12px;
    --esp-4: 16px;
    --esp-5: 24px;
    --esp-6: 32px;
    --esp-7: 48px;
    --esp-8: 64px;
    --esp-9: 96px;

    /* --- Mesure de lecture ---------------------------------------------- */
    --mesure: 68ch;

    /* --- Voix typographiques -------------------------------------------- */
    /* Roboto Slab et Roboto sont auto-heberges par font.css (400 et 700). */
    --warm-title: 'Roboto Slab', Georgia, 'Times New Roman', serif;
    --voix-corps: 'Roboto', 'Helvetica Neue', Arial, sans-serif;

    /* --- Jetons historiques, rediriges vers les roles ------------------- */
    --warm-page: var(--sol);
    --warm-surface: #fff8e6;
    --warm-surface-strong: var(--sol-creux);
    --warm-surface-pop: #f6e5b7;
    --warm-highlight: #ecc747;
    --warm-border: #e1c775;
    --warm-text: var(--encre);
    --warm-muted: var(--encre-douce);
    --warm-shadow: 0 12px 26px rgba(32, 36, 26, 0.13);
    --warm-shadow-strong: 0 18px 44px rgba(32, 36, 26, 0.17);
}

html,
body.theme-chaleureux {
    max-width: 100%;
    overflow-x: hidden;
}

body.theme-chaleureux {
    color: var(--warm-text);
    background: var(--warm-page);
}

.theme-chaleureux a {
    color: var(--roll-green-dark);
}

/* Survol des liens (revu le 2026-11-26).
   1. La couleur de survol, imposée (!important), ne vaut que pour Chaleureux lui-même. Les thèmes qui en héritent (Verger,
      Bocage, Foyer, Institutionnel, Terrain) ont leur propre classe wm-theme-… : chez eux, cette couleur imposée à tous
      les liens donnait au texte des boutons et des cartes une couleur choisie sans connaître leur fond (texte noir sur
      un bouton devenu noir dans Verger). Le :where() garde le poids de la règle d'origine.
   2. La couleur est la couleur secondaire du site rendue lisible sur fond clair (--theme-secondary-sur-clair, calculée
      par GlobalConfigController) : une couleur secondaire claire donnait un lien à peine lisible au survol (contraste 2,1).
   3. Sur un fond sombre, un lien garde sa couleur : la règle ne s'applique ni dans un composant sombre (liste ci-dessous,
      ou toute classe contenant « -dark » ou « sombre », portée par un ancêtre du lien ou par le lien lui-même), ni à un
      lien clair (classe contenant « light », .text-white). La même liste est écrite dans les feuilles des thèmes fils :
      tests/Unitaire/FeuillesSurvolsTest.php vérifie qu'elles restent identiques. */
.theme-chaleureux:where(.wm-theme-chaleureux, :not([class*="wm-theme-"])) a:where(:not(:is(.sg-page-head, .sg-hero, .sg-infos, .sg-cta, .sg-contact-bar, .sg-aside-contact, .sg-section--ardoise, .sg-encart--ardoise, [class*="-dark"]:not(.text-dark), [class*="sombre"], .bg-dark, .bg-gradient-dark, .bg-primary, .bg-gradient-primary, .footer) *, :is(.sg-page-head, .sg-hero, .sg-infos, .sg-cta, .sg-contact-bar, .sg-aside-contact, .sg-section--ardoise, .sg-encart--ardoise, [class*="-dark"]:not(.text-dark), [class*="sombre"], .bg-dark, .bg-gradient-dark, .bg-primary, .bg-gradient-primary, .footer), [class*="light"], .text-white)):hover {
    color: var(--wm-lien-survol, var(--theme-secondary-sur-clair, var(--theme-secondary-color, var(--roll-red)))) !important;
}

/* Un cran plus foncé que la couleur calculée par le serveur : elle l'est pour un fond blanc, la page est crème. Posé dans
   une variable et sous @supports : une déclaration « color: color-mix(…var()…) » est acceptée à la lecture par un
   navigateur qui ne connaît pas color-mix, puis rejetée au calcul, et le lien prendrait la couleur de son parent. */
@supports (color: color-mix(in srgb, red 90%, #000)) {
    .theme-chaleureux {
        --wm-lien-survol: color-mix(in srgb, var(--theme-secondary-sur-clair, var(--theme-secondary-color, var(--roll-red))) 90%, #000);
    }
}

.theme-chaleureux .text-primary {
    color: var(--theme-secondary-color, var(--roll-red)) !important;
}

.theme-chaleureux .bg-primary,
.theme-chaleureux .bg-gradient-primary,
.theme-chaleureux .badge-primary,
.theme-chaleureux .badge-info,
.theme-chaleureux .btn-primary,
.theme-chaleureux .btn.bg-gradient-primary {
    color: #fff !important;
    border-color: var(--theme-secondary-color, var(--roll-red)) !important;
    background: var(--theme-secondary-color, var(--roll-red)) !important;
    box-shadow: 0 8px 18px rgba(191, 63, 47, 0.22) !important;
}

.theme-chaleureux .bg-dark {
    color: #fff !important;
    border-color: var(--theme-primary-color, var(--roll-green-dark)) !important;
    background: var(--theme-primary-color, var(--roll-green-dark)) !important;
}

.theme-chaleureux .btn.bg-dark {
    color: #fff !important;
    border-color: var(--theme-secondary-color, var(--roll-green-dark)) !important;
    background: var(--theme-secondary-color, var(--roll-green-dark)) !important;
}

.theme-chaleureux .btn,
.theme-chaleureux button,
.theme-chaleureux .nav-link,
.theme-chaleureux .dropdown-item {
    touch-action: manipulation;
}

.theme-chaleureux .btn,
.theme-chaleureux .contact.btn,
.theme-chaleureux #search-btn-header {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
}

.theme-chaleureux .btn:hover,
.theme-chaleureux .cta-link:hover,
.theme-chaleureux .hover-button:hover {
    transform: translateY(-1px);
}

.theme-chaleureux .navbar-custom {
    position: relative;
    background: #ffffff;
    border-bottom: 0;
    padding-top: 0;
}

.theme-chaleureux .navbar-custom,
.theme-chaleureux #nav-menu-links {
    box-shadow: none !important;
}

.theme-chaleureux #nav-menu-links {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #ffffff !important;
    border-bottom: 0;
    padding: 0 !important;
}

.theme-chaleureux #nav-menu-links.is-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1040;
}

.theme-chaleureux .navbar-custom .logo-line {
    display: none !important;
}

.theme-chaleureux #nav-menu-links > .container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.theme-chaleureux #navigation,
.theme-chaleureux #navigation .nav-inner,
.theme-chaleureux #nav-menu-links .navbar-nav-hover {
    width: 100%;
}

.theme-chaleureux #navigation .nav-inner {
    display: block !important;
    padding-top: 0;
    padding-bottom: 0;
}

.theme-chaleureux #nav-menu-links .navbar-nav-hover {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0;
    padding-right: 0;
}

/* --menu-on et --menu-fleche : posées par le gabarit du menu quand la couleur réglée pour la rubrique est claire */
.theme-chaleureux #nav-menu-links .navbar-nav-hover > .nav-item > .nav-link {
    color: var(--menu-on, #fff) !important;
    height: 100%;
    min-height: 62px;
    border-top: 0;
    background: var(--menu-bg, var(--roll-green)) !important;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.theme-chaleureux #nav-menu-links .navbar-nav-hover > .nav-item {
    flex: 1 1 0;
    min-width: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.theme-chaleureux #nav-menu-links .navbar-nav-hover > .nav-item > .nav-link {
    border-radius: 0 !important;
    padding-top: 1.15rem !important;
    padding-bottom: 1.15rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    justify-content: center !important;
    white-space: normal;
    overflow-wrap: anywhere;
}

.theme-chaleureux #nav-menu-links .navbar-nav-hover > .nav-item > .nav-link .arrow {
    filter: var(--menu-fleche, brightness(0) invert(1));
}

.theme-chaleureux .navbar-nav-hover > .nav-item:nth-child(1) { --menu-bg: var(--roll-green); --menu-bg-dark: var(--roll-green-dark); }
.theme-chaleureux .navbar-nav-hover > .nav-item:nth-child(2) { --menu-bg: var(--roll-red); --menu-bg-dark: var(--roll-red-dark); }
.theme-chaleureux .navbar-nav-hover > .nav-item:nth-child(3) { --menu-bg: var(--roll-orange); --menu-bg-dark: var(--roll-orange-dark); }
.theme-chaleureux .navbar-nav-hover > .nav-item:nth-child(4) { --menu-bg: var(--roll-blue); --menu-bg-dark: var(--roll-blue-dark); }
.theme-chaleureux .navbar-nav-hover > .nav-item:nth-child(5) { --menu-bg: var(--roll-brown); --menu-bg-dark: #5e3b19; }
.theme-chaleureux .navbar-nav-hover > .nav-item:nth-child(6) { --menu-bg: var(--roll-purple); --menu-bg-dark: #4b3f77; }
.theme-chaleureux .navbar-nav-hover > .nav-item:nth-child(7) { --menu-bg: var(--roll-yellow); --menu-bg-dark: var(--roll-yellow-dark); }
.theme-chaleureux .navbar-nav-hover > .nav-item:nth-child(8) { --menu-bg: #159473; --menu-bg-dark: #0c634d; }
.theme-chaleureux .navbar-nav-hover > .nav-item:nth-child(9) { --menu-bg: var(--roll-green); --menu-bg-dark: var(--roll-green-dark); }
.theme-chaleureux .navbar-nav-hover > .nav-item-search-menu { --menu-bg: var(--roll-blue); --menu-bg-dark: var(--roll-blue-dark); }
.theme-chaleureux .navbar-nav-hover > .nav-item-contact-menu { --menu-bg: var(--roll-red); --menu-bg-dark: var(--roll-red-dark); }

.theme-chaleureux .responsive-links .contact-btn-desktop {
    display: none !important;
}

.theme-chaleureux #nav-menu-links .responsive-links {
    display: none !important;
}

.theme-chaleureux #nav-menu-links .navbar-nav-hover > .nav-item.dropdown:hover > .nav-link,
.theme-chaleureux #nav-menu-links .navbar-nav-hover > .nav-item:hover > .nav-link,
.theme-chaleureux #nav-menu-links .navbar-nav-hover > .nav-item.show > .nav-link {
    color: var(--menu-on, #fff) !important;
    background: var(--menu-bg-dark, var(--roll-green-dark)) !important;
    border-top: 0 !important;
}

.theme-chaleureux .dropdown-menu {
    max-height: min(70dvh, calc(100dvh - 110px), 560px);
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border: 0 !important;
    border-top: 6px solid var(--menu-bg, var(--roll-green)) !important;
    background: #fff !important;
    box-shadow: var(--warm-shadow) !important;
}

.theme-chaleureux #nav-menu-links .dropdown-menu.dropdown-menu-multi > .list-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
}

.theme-chaleureux .dropdown-menu::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 74px;
    height: 10px;
    background: var(--menu-bg, var(--theme-secondary-color, var(--roll-orange)));
}

.theme-chaleureux .dropdown-item {
    color: var(--warm-text) !important;
    min-height: 44px;
    border-left: 5px solid transparent;
    background: #fff;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.theme-chaleureux .dropdown-item:hover,
.theme-chaleureux .hover-with-left-border:hover {
    border-left-color: var(--hover-left-border-color, var(--theme-secondary-color, var(--roll-orange))) !important;
    background: var(--theme-tertiary-color, var(--warm-surface-pop)) !important;
}

.theme-chaleureux .dropdown-header,
.theme-chaleureux h1,
.theme-chaleureux h2,
.theme-chaleureux h3,
.theme-chaleureux h4,
.theme-chaleureux h5,
.theme-chaleureux h6 {
    color: var(--warm-text) !important;
}

.theme-chaleureux p,
.theme-chaleureux .text-secondary,
.theme-chaleureux .custom-page-content {
    color: var(--warm-muted) !important;
}

.theme-chaleureux section {
    position: relative;
}

.theme-chaleureux .homepage-full-width-content {
    width: 100%;
    overflow-x: hidden;
}

/*
 * Largeur de la page d'accueil, reglee dans
 * Administration > Page d'accueil > Mode d'affichage.
 * Dans les deux cas les fonds de section restent pleine largeur : seul le
 * .container interieur est contraint, pour garder les bandes colorees.
 */
.theme-chaleureux .homepage-layout-full .container {
    width: 100%;
    max-width: none !important;
    padding-left: clamp(16px, 3vw, 48px);
    padding-right: clamp(16px, 3vw, 48px);
}

.theme-chaleureux .homepage-layout-contained .container {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.theme-chaleureux .page-header {
    background-color: var(--warm-surface-strong);
}

.theme-chaleureux .homepage-results-exams-2025 {
    background-color: #ecc747 !important;
}

.theme-chaleureux .homepage-full-width-content > section.py-6:not(.homepage-results-exams-2025) {
    background-color: var(--theme-primary-color, var(--roll-green)) !important;
}

.theme-chaleureux section h2:not(.card-title),
.theme-chaleureux .custom-page-title {
    position: relative;
    padding-bottom: 0.8rem;
}

.theme-chaleureux .formation-hero h1,
.theme-chaleureux .page-header h1:not(.custom-page-title) {
    position: relative;
    z-index: 0;
    display: inline-block;
    max-width: 100%;
    padding: 0.18em 0.4em 0.26em;
    background: #fffdf8;
    box-shadow: 12px 12px 0 var(--theme-primary-color, var(--roll-green));
}

/*
 * Titre de page personnalisee : typographie seule, plus de cartouche creme a
 * ombre portee. Le filet court sous le titre suffit a le poser.
 */
/*
 * Titre centre, comme le pose le gabarit. Le filet d'alternance se centre
 * avec lui : display table pour que la boite epouse le texte, et le ::after
 * recale au milieu de cette boite.
 */
.theme-chaleureux .custom-page .custom-page-title {
    position: relative;
    display: table;
    max-width: min(34ch, 100%);
    margin: 0 auto clamp(30px, 4.5vw, 56px);
    padding: 0.2em 0.48em 0.28em;
    background: #fffdf8;
    box-shadow: 12px 12px 0 var(--theme-tertiary-color, var(--warm-surface-pop));
    font-family: var(--warm-title);
    font-size: var(--pas-t1);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.12;
    text-wrap: balance;
}

.theme-chaleureux .custom-page .custom-page-title::after {
    content: none !important;
}

/*
 * Filet d'alternance : deux segments, un court et epais, un long et fin,
 * separes d'un blanc. C'est le repere structurant du theme et il dit quelque
 * chose de vrai sur l'ecole — quinze jours ici, quinze jours en entreprise.
 * Il remplace partout le trait unique et les ornements decoratifs.
 */
.theme-chaleureux section h2:not(.card-title)::after,
.theme-chaleureux .custom-page-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 116px;
    height: 5px;
    border-radius: 0;
    z-index: 1;
    background:
        linear-gradient(var(--theme-primary-color, var(--roll-green)) 0 0) 0 0 / 34px 5px no-repeat,
        linear-gradient(var(--trait-fort) 0 0) 44px 2px / 72px 1px no-repeat;
}

.theme-chaleureux .text-center h2:not(.card-title)::after,
.theme-chaleureux h2.text-center:not(.card-title)::after,
.theme-chaleureux .container-titre h2:not(.card-title)::after,
.theme-chaleureux .custom-page-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.theme-chaleureux .formation-hero h1::after,
.theme-chaleureux .page-header h1:not(.custom-page-title)::after,
.theme-chaleureux .formation-content-card h2::after,
.theme-chaleureux .formation-content-section h2::after,
.theme-chaleureux .custom-page-content h2::after,
.theme-chaleureux .flex > section.bg-gray-100 .page-header h2::after {
    content: none !important;
}

.theme-chaleureux .navbar h2::after,
.theme-chaleureux .footer h2::after,
.theme-chaleureux .card h2::after,
.theme-chaleureux .blockHome h2::after,
.theme-chaleureux .homepage-blocks h2::after,
.theme-chaleureux .carousel-overlay h2::after,
.theme-chaleureux .carousel-caption h2::after {
    content: none !important;
}

.theme-chaleureux .navbar h2,
.theme-chaleureux .footer h2,
.theme-chaleureux .card h2,
.theme-chaleureux .blockHome h2,
.theme-chaleureux .homepage-blocks h2,
.theme-chaleureux .carousel-overlay h2,
.theme-chaleureux .carousel-caption h2 {
    padding-bottom: 0;
}

.theme-chaleureux .formation-page {
    background: var(--warm-surface-strong);
}

.theme-chaleureux .formation-page-simple {
    background: transparent;
}

.theme-chaleureux .formation-page-simple > .container {
    width: 100%;
    max-width: none !important;
    padding-left: clamp(16px, 3vw, 48px);
    padding-right: clamp(16px, 3vw, 48px);
}

.theme-chaleureux .formation-simple-title {
    display: block;
    margin: 0 0 clamp(24px, 4vw, 42px);
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.theme-chaleureux .formation-simple-title::after {
    content: none !important;
}

.theme-chaleureux .formation-simple-content,
.theme-chaleureux .formation-simple-content .custom-page-content,
.theme-chaleureux .formation-simple-content .card,
.theme-chaleureux .formation-simple-content [class*="card-"] {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.theme-chaleureux .formation-simple-content::before,
.theme-chaleureux .formation-simple-content::after,
.theme-chaleureux .formation-simple-content .custom-page-content::before,
.theme-chaleureux .formation-simple-content .custom-page-content::after,
.theme-chaleureux .formation-simple-content .card::before,
.theme-chaleureux .formation-simple-content .card::after {
    content: none !important;
}

.theme-chaleureux .formation-simple-content .rounded,
.theme-chaleureux .formation-simple-content .rounded-3,
.theme-chaleureux .formation-simple-content .border-radius-sm,
.theme-chaleureux .formation-simple-content .border-radius-md,
.theme-chaleureux .formation-simple-content .border-radius-lg,
.theme-chaleureux .formation-simple-content .border-radius-xl,
.theme-chaleureux .formation-simple-content .border-radius-2xl {
    border-radius: 0 !important;
}

.theme-chaleureux .formation-simple-content .shadow,
.theme-chaleureux .formation-simple-content .shadow-sm,
.theme-chaleureux .formation-simple-content .shadow-lg {
    box-shadow: none !important;
}

.theme-chaleureux .formation-page > .formation-hero .container,
.theme-chaleureux .formation-page > .formation-info-strip .container,
.theme-chaleureux .formation-page > .formation-detail .container,
.theme-chaleureux .formation-suggestions > .container {
    width: 100%;
    max-width: none !important;
    padding-left: clamp(16px, 3vw, 48px);
    padding-right: clamp(16px, 3vw, 48px);
}

.theme-chaleureux .formation-page .card {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.theme-chaleureux .formation-page .rounded,
.theme-chaleureux .formation-page .rounded-3,
.theme-chaleureux .formation-page .border-radius-sm,
.theme-chaleureux .formation-page .border-radius-md,
.theme-chaleureux .formation-page .border-radius-lg,
.theme-chaleureux .formation-page .border-radius-xl,
.theme-chaleureux .formation-page .border-radius-2xl {
    border-radius: 0 !important;
}

.theme-chaleureux .formation-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(42px, 7vw, 88px) 0;
    background: var(--warm-highlight);
}

.theme-chaleureux .formation-hero::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 10px;
    background: linear-gradient(90deg, var(--roll-green) 0 28%, var(--roll-red) 28% 56%, var(--roll-orange) 56% 78%, var(--roll-blue) 78% 100%);
}

.theme-chaleureux .formation-hero-copy {
    max-width: 720px;
}

.theme-chaleureux .formation-eyebrow,
.theme-chaleureux .formation-aside-label {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 0;
    color: #fff;
    background: var(--theme-primary-color, var(--roll-green));
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.theme-chaleureux .formation-hero h1 {
    max-width: 780px;
    margin: 18px 0 16px;
    font-weight: 800;
    line-height: 1.08;
}

.theme-chaleureux .formation-intro {
    max-width: 650px;
    margin-bottom: 0;
    font-size: clamp(1.05rem, 1.6vw, 1.22rem);
    line-height: 1.65;
}

.theme-chaleureux .formation-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.theme-chaleureux .formation-hero-actions .btn {
    min-width: 168px;
}

.theme-chaleureux .formation-hero-actions .btn-outline-primary {
    color: var(--theme-secondary-color, var(--roll-red)) !important;
    border: 2px solid var(--theme-secondary-color, var(--roll-red)) !important;
    background: #fffdf8 !important;
}

.theme-chaleureux .formation-hero-actions .btn-outline-primary:hover {
    color: #fff !important;
    background: var(--theme-secondary-color, var(--roll-red)) !important;
}

.theme-chaleureux .formation-hero-media,
.theme-chaleureux .formation-hero-placeholder {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #fffdf8;
    box-shadow: none;
}

.theme-chaleureux .formation-hero-media {
    border: 0;
    box-shadow: 14px 14px 0 var(--theme-secondary-color, var(--roll-orange));
}

.theme-chaleureux .formation-hero-media::before,
.theme-chaleureux .formation-hero-placeholder::before {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 0;
    pointer-events: none;
}

.theme-chaleureux .formation-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.theme-chaleureux .formation-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--roll-green);
}

.theme-chaleureux .formation-hero-placeholder i {
    font-size: clamp(4rem, 10vw, 7rem);
}

.theme-chaleureux .formation-detail {
    background: #fffdf8;
}

.theme-chaleureux .formation-info-strip {
    border-top: 8px solid var(--theme-primary-color, var(--roll-green));
    border-bottom: 8px solid var(--theme-secondary-color, var(--roll-orange));
    background: #fff;
}

.theme-chaleureux .formation-info-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 3vw, 32px);
    padding: 18px 0;
}

.theme-chaleureux .formation-info-inner ul {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.theme-chaleureux .formation-info-inner li {
    position: relative;
    padding-left: 18px;
    color: var(--warm-muted);
    font-weight: 800;
    line-height: 1.35;
}

.theme-chaleureux .formation-info-inner li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 8px;
    height: 8px;
    background: var(--theme-secondary-color, var(--roll-orange));
}

.theme-chaleureux .formation-layout {
    display: block;
}

.theme-chaleureux .formation-aside {
    position: static;
}

.theme-chaleureux .formation-aside-card,
.theme-chaleureux .formation-content-card,
.theme-chaleureux .formation-content-section.custom-page-content {
    position: relative;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: #fffdf8;
    box-shadow: none;
}

.theme-chaleureux .formation-aside-card::before,
.theme-chaleureux .formation-content-card::before,
.theme-chaleureux .formation-content-section.custom-page-content::before,
.theme-chaleureux .formation-content-section.custom-page-content::after {
    content: none !important;
}

.theme-chaleureux .formation-aside-card {
    padding: 0;
}

.theme-chaleureux .formation-aside-card h2,
.theme-chaleureux .formation-aside-card h2::after {
    content: none !important;
}

.theme-chaleureux .formation-aside-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 0;
    color: #fff !important;
    background: var(--theme-secondary-color, var(--roll-red));
    font-weight: 800;
    text-align: center;
}

.theme-chaleureux .formation-aside-link:hover {
    color: #fff !important;
    background: var(--theme-secondary-color, var(--roll-red-dark));
    text-decoration: none;
}

.theme-chaleureux .formation-content-card,
.theme-chaleureux .formation-content-section {
    padding: 0;
    font-size: 1rem;
    line-height: 1.72;
}

.theme-chaleureux .formation-content-card h2,
.theme-chaleureux .formation-content-section h2,
.theme-chaleureux .formation-content-section.custom-page-content h2 {
    display: block;
    padding: 0.85rem 1rem 0.85rem 1.25rem;
    border-left: 10px solid var(--theme-primary-color, var(--roll-green));
    background: var(--theme-tertiary-color, var(--warm-surface-pop));
    box-shadow: none;
}

.theme-chaleureux .formation-content-card > :first-child,
.theme-chaleureux .formation-content-section > :first-child {
    margin-top: 0 !important;
}

.theme-chaleureux .formation-content-card h2,
.theme-chaleureux .formation-content-card h3,
.theme-chaleureux .formation-content-card h4,
.theme-chaleureux .formation-content-section h2,
.theme-chaleureux .formation-content-section h3,
.theme-chaleureux .formation-content-section h4,
.theme-chaleureux .formation-content-section.custom-page-content h2,
.theme-chaleureux .formation-content-section.custom-page-content h3,
.theme-chaleureux .formation-content-section.custom-page-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.theme-chaleureux .formation-content-card h3,
.theme-chaleureux .formation-content-card h4,
.theme-chaleureux .formation-content-section h3,
.theme-chaleureux .formation-content-section h4,
.theme-chaleureux .formation-content-section.custom-page-content h3,
.theme-chaleureux .formation-content-section.custom-page-content h4 {
    display: block;
    padding-left: 14px;
    border-left: 5px solid var(--theme-primary-color, var(--roll-red));
    background: transparent;
    box-shadow: none;
}

.theme-chaleureux .formation-content-card ul,
.theme-chaleureux .formation-content-card ol,
.theme-chaleureux .formation-content-section ul,
.theme-chaleureux .formation-content-section ol {
    margin: 0 0 1.25rem;
    padding-left: 1.2rem;
}

.theme-chaleureux .formation-content-card li,
.theme-chaleureux .formation-content-section li {
    margin-bottom: 0.45rem;
}

.theme-chaleureux .formation-content-card li::marker,
.theme-chaleureux .formation-content-section li::marker {
    color: var(--theme-secondary-color, var(--roll-red));
    font-weight: 800;
}

.theme-chaleureux .formation-content-card a,
.theme-chaleureux .formation-content-section a {
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.theme-chaleureux .formation-content-card table,
.theme-chaleureux .formation-content-section table {
    width: 100%;
    margin: 1.5rem 0;
    overflow: hidden;
    border: 1px solid rgba(225, 199, 117, 0.72);
    border-radius: 0;
    background: #fff;
}

.theme-chaleureux .formation-content-card th,
.theme-chaleureux .formation-content-card td,
.theme-chaleureux .formation-content-section th,
.theme-chaleureux .formation-content-section td {
    padding: 12px 14px;
    border-color: rgba(225, 199, 117, 0.48) !important;
}

.theme-chaleureux .formation-content-card th,
.theme-chaleureux .formation-content-section th {
    color: var(--warm-text);
    background: #f7ebcc;
}

.theme-chaleureux .formation-suggestions {
    border-top: 8px solid var(--theme-primary-color, var(--roll-green));
    border-bottom: 8px solid var(--theme-secondary-color, var(--roll-orange));
    background: var(--warm-surface-pop);
}

.theme-chaleureux .formation-suggestions h2 {
    margin-top: 12px;
    margin-bottom: 10px;
}

.theme-chaleureux .formation-suggestions p {
    margin-bottom: 0;
}

.theme-chaleureux .formation-suggestion-card {
    overflow: hidden;
    border: 0;
    border-left: 10px solid var(--theme-primary-color, var(--roll-green));
    border-radius: 0 !important;
    background: #fffdf8;
    box-shadow: none !important;
}

.theme-chaleureux .formation-suggestion-body {
    padding: 18px;
}

.theme-chaleureux .formation-suggestion-card .card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: none !important;
    border-radius: 0 !important;
    object-fit: cover;
}

/* Forme signature, definie plus bas avec les autres jetons de forme */
.theme-chaleureux .card,
.theme-chaleureux .card-metier .card-metier-background,
.theme-chaleureux .card-metier.card-metier-background,
.theme-chaleureux .border-radius-lg,
.theme-chaleureux .border-radius-xl,
.theme-chaleureux .border-radius-2xl {
    border-radius: var(--warm-forme) !important;
}

.theme-chaleureux .card {
    border: 1px solid rgba(234, 216, 189, 0.78) !important;
    background: #fffdf8;
    box-shadow: 0 12px 30px rgba(65, 43, 21, 0.09) !important;
}

.theme-chaleureux .homepage-blocks {
    background: var(--theme-primary-color, var(--roll-green));
}

.theme-chaleureux .homepage-blocks .cards-row {
    gap: 24px;
}

.theme-chaleureux .homepage-blocks .card.card-pricing {
    min-height: 310px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 16px 36px rgba(62, 44, 24, 0.16) !important;
    transition: transform 180ms ease, box-shadow 180ms ease !important;
    background: var(--theme-primary-color, var(--home-block-bg, var(--roll-green))) !important;
}

.theme-chaleureux .homepage-blocks .card-item:nth-child(1) { --home-block-bg: var(--roll-green); --home-block-bg-dark: var(--roll-green-dark); }
.theme-chaleureux .homepage-blocks .card-item:nth-child(2) { --home-block-bg: var(--roll-orange); --home-block-bg-dark: var(--roll-orange-dark); }
.theme-chaleureux .homepage-blocks .card-item:nth-child(3) { --home-block-bg: var(--roll-red); --home-block-bg-dark: var(--roll-red-dark); }
.theme-chaleureux .homepage-blocks .card-item:nth-child(4) { --home-block-bg: var(--roll-blue); --home-block-bg-dark: var(--roll-blue-dark); }
.theme-chaleureux .homepage-blocks .card-item:nth-child(5) { --home-block-bg: var(--roll-purple); --home-block-bg-dark: #4b3f77; }
.theme-chaleureux .homepage-blocks .card-item:nth-child(6) { --home-block-bg: var(--roll-brown); --home-block-bg-dark: #5e3b19; }
.theme-chaleureux .homepage-blocks .card-item-results-exams {
    --home-block-bg: #f4c430;
    --home-block-bg-dark: #5f4300;
    --home-block-text: #2f2200;
}

.theme-chaleureux .homepage-blocks .card-item-results-exams .card.card-pricing {
    background: #ecc747 !important;
}

.theme-chaleureux .homepage-blocks .card-item-results-exams .card.card-pricing,
.theme-chaleureux .homepage-blocks .card-item-results-exams .card-header,
.theme-chaleureux .homepage-blocks .card-item-results-exams .card-body,
.theme-chaleureux .homepage-blocks .card-item-results-exams h6,
.theme-chaleureux .homepage-blocks .card-item-results-exams .block-icon {
    color: var(--home-block-text) !important;
}

.theme-chaleureux .homepage-blocks .card-item-results-exams .cta-link {
    color: var(--home-block-text) !important;
    border-color: var(--home-block-text) !important;
    background: rgba(255, 255, 255, 0.22);
}

.theme-chaleureux .homepage-blocks .card-item-results-exams .cta-link:hover {
    color: #fff !important;
    background: var(--home-block-text);
}

.theme-chaleureux .homepage-blocks .card.card-pricing:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 42px rgba(62, 44, 24, 0.2) !important;
}

.theme-chaleureux .homepage-blocks .card-media {
    width: 104px;
    height: 104px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.22);
}

.theme-chaleureux .homepage-blocks .cta-link {
    min-height: 46px;
    border-width: 2px;
    font-weight: 700;
    letter-spacing: 0;
    background: rgba(0, 0, 0, 0.12);
}

.theme-chaleureux .homepage-blocks .cta-link:hover {
    color: var(--home-block-bg-dark, var(--roll-green-dark)) !important;
}

.theme-chaleureux .fixed-size-image,
.theme-chaleureux .card-img,
.theme-chaleureux .img-contact,
.theme-chaleureux .custom-img,
.theme-chaleureux .metier-full-background {
    filter: saturate(1.04) contrast(1.02);
}

/*
 * Fond de lecture pleine largeur : ce n'est pas un bloc mais le sol de la
 * page. Le blanc donne le meilleur confort de lecture sur le gris tres clair
 * du site, et laisse les accents chauds porter l'identite du theme.
 */
.theme-chaleureux .custom-page {
    background: var(--sol-plaque) !important;
}

/*
 * Pleine largeur uniquement quand la page est reglee sur "plein ecran" a
 * l'edition. En "conteneur centre", on laisse le .container de Bootstrap
 * cadrer le contenu.
 */
.theme-chaleureux .custom-page-full > .container,
.theme-chaleureux .custom-page-full > .container-fluid {
    width: 100%;
    max-width: none !important;
    padding-left: clamp(16px, 3vw, 48px);
    padding-right: clamp(16px, 3vw, 48px);
}

/*
 * Le .container de Bootstrap monte a 1320px : sur un grand ecran il serait a
 * peine plus etroit que le plein ecran. On le ramene un peu, sans etrangler la
 * colonne de texte : le contenu empile souvent .col-lg-11 > .card-body >
 * .col-md-7, ce qui divise deja la largeur par deux.
 */
.theme-chaleureux .custom-page-contained > .container {
    max-width: 1240px;
}

.theme-chaleureux section.bg-gray-200 {
    background: var(--warm-surface-strong) !important;
}

/*
 * Pages personnalisees : mise en page editoriale, sans cadre.
 *
 * Le contenu saisi dans l'editeur apporte deja sa propre structure
 * (section > row > col > card). L'ancien habillage ajoutait par-dessus une
 * carte creme a coins arrondis, bordure verte et onglet orange : un bloc
 * dans un bloc. On le retire et on ne garde que la typographie, le rythme
 * vertical et la largeur de lecture.
 */
.theme-chaleureux .custom-page {
    border-top: 0;
    padding-top: clamp(28px, 5vw, 64px);
    padding-bottom: clamp(36px, 6vw, 84px);
}

.theme-chaleureux .custom-page-content {
    position: static;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/*
 * now-design-system-pro.css impose "p { font-size: 1rem }" : la taille posee
 * sur le conteneur n'atteignait donc jamais les paragraphes. On cible le texte
 * directement pour obtenir un corps de lecture confortable.
 */
.theme-chaleureux .custom-page-content,
.theme-chaleureux .custom-page-content p,
.theme-chaleureux .custom-page-content li,
.theme-chaleureux .custom-page-content td {
    font-size: var(--pas-corps);
    line-height: 1.75;
}

.theme-chaleureux .custom-page-content::after,
.theme-chaleureux .custom-page-content::before {
    content: none !important;
}

/*
 * Largeur de lecture : uniquement sur les enfants directs, pour ne pas
 * contraindre les grilles Bootstrap que le contenu peut definir lui-meme.
 */
.theme-chaleureux .custom-page-full .custom-page-content > p,
.theme-chaleureux .custom-page-full .custom-page-content > ul,
.theme-chaleureux .custom-page-full .custom-page-content > ol,
.theme-chaleureux .custom-page-full .custom-page-content > blockquote,
.theme-chaleureux .custom-page-full .custom-page-content > h2,
.theme-chaleureux .custom-page-full .custom-page-content > h3,
.theme-chaleureux .custom-page-full .custom-page-content > h4 {
    max-width: var(--mesure);
    margin-left: auto;
    margin-right: auto;
}

/*
 * Intertitres : hierarchie par la typographie, l'espace et un filet, plus par
 * un aplat de couleur. La couleur reste volontairement libre : les redacteurs
 * posent leurs classes (.text-primary, .text-uppercase...) depuis l'editeur et
 * le theme ne doit pas les ecraser.
 */
.theme-chaleureux .custom-page .custom-page-content h2 {
    display: block;
    margin: clamp(2.2rem, 4vw, 3.2rem) 0 1.1rem;
    padding: 0 0 0.6rem;
    border: 0;
    border-bottom: 2px solid var(--warm-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-family: var(--warm-title);
    font-size: var(--pas-t2);
    font-weight: 700;
    line-height: 1.25;
}

.theme-chaleureux .custom-page .custom-page-content h3 {
    display: block;
    margin: clamp(1.8rem, 3vw, 2.4rem) 0 0.7rem;
    padding: 0;
    background: transparent;
    font-family: var(--warm-title);
    font-size: var(--pas-t3);
    font-weight: 700;
    line-height: 1.3;
}

/*
 * h4 a h6 servent d'intertitres courts. Ils prennent la troisieme voix du
 * theme : Roboto et non Roboto Slab, capitales, interlettrage large. C'est
 * cette voix utilitaire qui distingue un repere d'un titre.
 */
.theme-chaleureux .custom-page .custom-page-content h4,
.theme-chaleureux .custom-page .custom-page-content h5,
.theme-chaleureux .custom-page .custom-page-content h6 {
    display: block;
    margin: var(--esp-6) 0 var(--esp-3);
    padding: 0;
    background: transparent;
    font-family: var(--voix-corps);
    font-size: var(--pas-label);
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.theme-chaleureux .custom-page-content > :first-child {
    margin-top: 0 !important;
}

/* Chapeau : le premier paragraphe et les .lead donnent le ton */
.theme-chaleureux .custom-page-content .lead {
    color: var(--warm-muted) !important;
    font-family: var(--warm-title);
    font-size: var(--pas-intro);
    font-weight: 400;
    line-height: 1.6;
}

/*
 * Beaucoup de paragraphes sont justifies en style en ligne par les redacteurs.
 * On ne touche pas a leur choix, mais on active la cesure pour eviter les
 * lezardes blanches entre les mots (la page est en lang="fr").
 */
.theme-chaleureux .custom-page-content p {
    margin-bottom: 1.25rem;
    hyphens: auto;
}

.theme-chaleureux .custom-page-content ul,
.theme-chaleureux .custom-page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.35rem;
}

.theme-chaleureux .custom-page-content li {
    margin-bottom: var(--esp-2);
}

/* Puce dans le rouge lisible du systeme, pas dans le rouge vif d'affichage */
.theme-chaleureux .custom-page-content li::marker {
    color: var(--accent-encre);
    font-weight: 700;
}

/*
 * Tableaux du contenu : filets neutres et pas de cadre. Un tableau se lit par
 * ses lignes, il n'a pas besoin d'etre enferme dans une boite.
 */
.theme-chaleureux .custom-page-content table {
    width: 100%;
    margin: var(--esp-6) 0;
    border: 0;
    border-collapse: collapse;
    background: transparent;
}

.theme-chaleureux .custom-page-content th,
.theme-chaleureux .custom-page-content td {
    padding: var(--esp-3) var(--esp-4) var(--esp-3) 0;
    border: 0;
    border-bottom: 1px solid var(--trait);
    text-align: left;
    vertical-align: top;
}

.theme-chaleureux .custom-page-content thead th {
    border-bottom: 2px solid var(--trait-fort);
    font-family: var(--voix-corps);
    font-size: var(--pas-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/*
 * Les cartes explicitement demandees sans bordure par le redacteur
 * (.card.border-0) ne doivent pas recuperer l'habillage des cartes du theme.
 */
.theme-chaleureux .custom-page-content .card.border-0,
.theme-chaleureux .custom-page-content .card-plain {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.theme-chaleureux .custom-page-content .card.border-0 > .card-body {
    padding-left: 0;
    padding-right: 0;
}

/* Citation : filet et italique, sans aplat de couleur */
.theme-chaleureux .custom-page-content blockquote {
    position: relative;
    margin: clamp(1.8rem, 3vw, 2.6rem) 0;
    padding: 0.2rem 0 0.2rem clamp(20px, 3vw, 34px);
    border: 0;
    border-left: 3px solid var(--theme-secondary-color, var(--roll-orange));
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--warm-text) !important;
    font-family: var(--warm-title);
    font-size: var(--pas-intro);
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
}

.theme-chaleureux .custom-page-content blockquote p {
    margin-bottom: 0;
    color: var(--warm-text) !important;
    font-size: inherit;
}

/* Media : respiration autour des images et legendes discretes */
.theme-chaleureux .custom-page-content img {
    height: auto;
}

.theme-chaleureux .custom-page-content figure {
    margin: clamp(1.8rem, 3vw, 2.6rem) 0;
}

.theme-chaleureux .custom-page-content figcaption {
    margin-top: 0.7rem;
    color: var(--warm-muted);
    font-size: var(--pas-legende);
    line-height: 1.5;
}

.theme-chaleureux .custom-page-content a {
    color: var(--theme-primary-color, var(--roll-green-dark));
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Separateur : filet pointille discret plutot qu'un trait plein */
.theme-chaleureux .custom-page-content hr {
    max-width: var(--mesure);
    height: 0;
    margin: clamp(2.2rem, 4vw, 3.2rem) auto;
    border: 0;
    border-top: 2px dotted var(--warm-border);
    background: none;
    opacity: 1;
}

.theme-chaleureux .faq-categories,
.theme-chaleureux .faq-question-reponse,
.theme-chaleureux .map.container {
    padding-top: 34px;
    padding-bottom: 34px;
}

.theme-chaleureux .faq-categories .container-card {
    gap: 18px;
}

.theme-chaleureux .card-faq {
    overflow: hidden;
    border: 2px solid var(--warm-border);
    border-bottom: 8px solid var(--theme-secondary-color, var(--roll-orange));
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: var(--warm-shadow);
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.theme-chaleureux .card-faq:hover,
.theme-chaleureux .card-faq.active {
    transform: translateY(-3px);
    border-color: var(--theme-primary-color, var(--roll-green));
    border-bottom-color: var(--theme-primary-color, var(--roll-green));
    background: var(--warm-highlight);
}

.theme-chaleureux .card-faq .title {
    color: var(--warm-text) !important;
    font-weight: 800;
}

.theme-chaleureux .container-search {
    padding: 18px;
    border: 2px solid var(--warm-border);
    border-radius: 8px;
    background: var(--warm-surface-pop);
    box-shadow: 8px 8px 0 rgba(39, 32, 25, 0.08);
}

.theme-chaleureux .container-search input,
.theme-chaleureux .container-search .form-control {
    min-height: 44px;
    border: 2px solid var(--warm-text);
    border-radius: 8px;
    background: #fffdf8;
}

.theme-chaleureux .accordion-item {
    overflow: hidden;
    border: 1px solid var(--warm-border) !important;
    border-left: 8px solid var(--theme-primary-color, var(--roll-green)) !important;
    border-radius: 8px !important;
    background: #fffdf8;
    box-shadow: var(--warm-shadow);
}

.theme-chaleureux .accordion-button {
    background: #fffdf8;
}

.theme-chaleureux .accordion-button:not(.collapsed) {
    color: var(--warm-text) !important;
    background: var(--warm-highlight);
}

.theme-chaleureux .map__title,
.theme-chaleureux .results-list > .-desktop,
.theme-chaleureux section.bg-gray-200 > h1,
.theme-chaleureux h1.text-center.my-8 {
    position: relative;
    width: min(960px, calc(100% - 32px));
    margin-left: auto !important;
    margin-right: auto !important;
    padding: clamp(22px, 4vw, 34px);
    border: 2px solid var(--warm-border);
    border-bottom: 10px solid var(--theme-primary-color, var(--roll-green));
    border-radius: 8px;
    background: var(--warm-surface);
    box-shadow: var(--warm-shadow);
}

.theme-chaleureux .map_filters,
.theme-chaleureux .map__results,
.theme-chaleureux .homepage-map,
.theme-chaleureux section.bg-gray-200 .container {
    border: 2px solid var(--warm-border);
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: var(--warm-shadow);
}

.theme-chaleureux .map_filters,
.theme-chaleureux .map__results {
    padding: clamp(18px, 3vw, 28px);
}

.theme-chaleureux .results-list .card {
    border-left: 8px solid var(--theme-secondary-color, var(--roll-orange)) !important;
}

.theme-chaleureux .flex > section.bg-gray-100 {
    background: var(--theme-tertiary-color, var(--warm-surface-strong)) !important;
}

.theme-chaleureux .flex > section.bg-gray-100 .page-header {
    overflow: hidden;
    border-bottom: 10px solid var(--theme-primary-color, var(--roll-green));
}

.theme-chaleureux .flex > section.bg-gray-100 .page-header h2 {
    display: inline-block;
    padding: 0.18em 0.44em 0.26em;
    color: var(--warm-text) !important;
    background: #fffdf8;
    box-shadow: 10px 10px 0 var(--theme-secondary-color, var(--roll-orange));
    text-shadow: none !important;
}

.theme-chaleureux .flex > section.bg-gray-100 .page-header .lead {
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding: 0.35em 0.7em;
    color: #fffdf8 !important;
    background: var(--theme-primary-color, var(--roll-green));
    border-radius: 8px;
}

.theme-chaleureux .contact-info {
    overflow: hidden;
    border: 0 !important;
    border-bottom: 10px solid var(--theme-secondary-color, var(--roll-orange)) !important;
    background: #fffdf8 !important;
    box-shadow: var(--warm-shadow-strong) !important;
}

.theme-chaleureux .contact-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: var(--theme-primary-color, var(--roll-green));
}

.theme-chaleureux .contact-info .icon-shape {
    width: 52px;
    height: 52px;
    border-radius: 8px !important;
    box-shadow: 7px 7px 0 rgba(39, 32, 25, 0.12) !important;
}

.theme-chaleureux .contact-info :is(h3, h5) {
    letter-spacing: normal; /* le h3 (ancien h5) ne prend pas l'interlettrage des titres h3 du thème */
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding: 0.1em 0.35em;
    background: var(--warm-surface-pop);
}

.theme-chaleureux .contact-info #map {
    margin-top: 16px;
    border-top: 0;
}

.theme-chaleureux #form-contact {
    position: relative;
}

.theme-chaleureux #form-contact .uptitle {
    display: table;
    margin: 0 auto 22px;
    padding: 0.24em 0.7em;
    color: #fff !important;
    background: var(--theme-primary-color, var(--roll-green));
    border-radius: 8px;
    font-weight: 800;
}

.theme-chaleureux #form-contact label {
    color: var(--warm-text);
    font-weight: 800;
}

.theme-chaleureux #form-contact .form-control,
.theme-chaleureux #form-contact .ts-control {
    min-height: 46px;
    border: 2px solid var(--warm-border);
    border-radius: 8px;
    background: #fffdf8;
}

.theme-chaleureux #form-contact textarea.form-control {
    min-height: 150px;
}

.theme-chaleureux #form-contact .form-control:focus,
.theme-chaleureux #form-contact .ts-control:focus,
.theme-chaleureux #form-contact .ts-wrapper.focus .ts-control {
    border-color: var(--theme-secondary-color, var(--roll-orange));
    box-shadow: 0 0 0 0.18rem rgba(236, 199, 71, 0.34);
}

.theme-chaleureux #form-contact .form-check {
    margin-top: 18px;
    padding: 14px 14px 14px 42px;
    border: 1px solid var(--warm-border);
    border-left: 6px solid var(--theme-primary-color, var(--roll-green));
    border-radius: 8px;
    background: var(--warm-surface);
}

.theme-chaleureux #form-contact .container-contact {
    margin-top: 22px;
    padding: 16px 18px;
    border-left: 6px solid var(--theme-secondary-color, var(--roll-orange));
    background: var(--warm-surface-pop);
}

.theme-chaleureux #form-contact .container-contact p {
    margin-bottom: 0;
    color: var(--warm-text) !important;
}

.theme-chaleureux #form-contact .btn[type="submit"] {
    min-width: 160px;
    border: 2px solid var(--warm-text) !important;
    box-shadow: 7px 7px 0 rgba(39, 32, 25, 0.16) !important;
}

.theme-chaleureux .img-contact {
    height: 100%;
    min-height: 420px;
    border-right: 10px solid var(--theme-primary-color, var(--roll-green));
    object-fit: cover;
}

.theme-chaleureux .image-container {
    height: 100%;
    background: var(--warm-highlight);
}

.theme-chaleureux .carousel-overlay,
.theme-chaleureux .carousel-caption {
    max-width: min(720px, calc(100% - 32px));
    background: rgba(20, 20, 20, 0.9) !important;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    padding: 18px 20px;
}

.theme-chaleureux .carousel-overlay *,
.theme-chaleureux .carousel-caption * {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
}

.theme-chaleureux .carousel-overlay h4,
.theme-chaleureux .carousel-caption h4 {
    font-weight: 800;
    font-size: clamp(1.35rem, 2.3vw, 2rem);
    line-height: 1.15;
}

.theme-chaleureux .carousel-overlay p,
.theme-chaleureux .carousel-caption p {
    font-weight: 600;
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    line-height: 1.45;
}

.theme-chaleureux .carousel-overlay .btn-plus {
    color: #1d1d1d !important;
    background: #fff !important;
    border-color: #fff !important;
}

.theme-chaleureux .carousel-overlay .btn-plus i {
    color: #1d1d1d !important;
    text-shadow: none;
}

.theme-chaleureux .metier-thumb-img.active,
.theme-chaleureux .metier-custom-tabs .nav-link-metier.active::after,
.theme-chaleureux .metier-custom-tabs .nav-link-metier:hover::after,
.theme-chaleureux .dot.active {
    border-color: var(--theme-primary-color, var(--roll-green)) !important;
    background-color: var(--theme-primary-color, var(--roll-green)) !important;
}

.theme-chaleureux .metier-custom-tabs .nav-link-metier.active,
.theme-chaleureux .metier-custom-tabs .nav-link-metier:hover,
.theme-chaleureux .bg-gold {
    color: var(--theme-primary-color, var(--roll-green-dark)) !important;
}

.theme-chaleureux .bg-gold,
.theme-chaleureux .ckeditor-visible-only {
    background-color: var(--theme-secondary-color, var(--roll-orange)) !important;
}

.theme-chaleureux .footer {
    color: #f8f0e3;
    border-top: 10px solid var(--theme-secondary-color, var(--roll-orange));
    background: var(--theme-primary-color, var(--roll-green-dark)) !important;
}

.theme-chaleureux .footer h6,
.theme-chaleureux .footer .wm-pied-titre,
.theme-chaleureux .footer .logo-text,
.theme-chaleureux .footer p,
.theme-chaleureux .footer a,
.theme-chaleureux .footer .nav-link,
.theme-chaleureux .footer .text-secondary {
    color: #fff7e8 !important;
}

.theme-chaleureux .footer a:not([class*="btn"]):hover,
.theme-chaleureux .footer .nav-link:hover {
    /* sur le fond foncé du pied de page, la couleur secondaire était illisible (contraste 1,4 à 2,1) :
       le lien reste clair et se souligne */
    color: #fff !important;
    text-decoration: underline;
    text-decoration-color: var(--theme-tertiary-color, var(--warm-surface-pop));
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.theme-chaleureux .social-link:hover {
    background-color: var(--theme-secondary-color, var(--roll-orange));
}

.theme-chaleureux .logo-line-footer {
    background-color: var(--theme-secondary-color, var(--roll-orange)) !important;
}

.theme-chaleureux .descr-pdp {
    padding-left: clamp(24px, 8vw, 140px);
}

.theme-chaleureux img,
.theme-chaleureux iframe,
.theme-chaleureux table {
    max-width: 100%;
}

/* ------------------------------------------------------------------------- */
/* Reglages transverses du systeme                                           */
/* ------------------------------------------------------------------------- */

/* Les titres se coupent sur un equilibre de lignes, pas au hasard */
.theme-chaleureux h1,
.theme-chaleureux h2,
.theme-chaleureux h3,
.theme-chaleureux .custom-page-title,
.theme-chaleureux .card-title {
    text-wrap: balance;
}

/* La voix d'affichage se resserre, la voix utilitaire s'ecarte */
.theme-chaleureux h1,
.theme-chaleureux h2 {
    letter-spacing: -0.015em;
}

/*
 * Chiffres a chasse fixe partout ou ils s'alignent ou se comparent : taux de
 * reussite, tableaux, dates. Sans cela les colonnes de pourcentages dansent.
 */
.theme-chaleureux table,
.theme-chaleureux .pourcentage,
.theme-chaleureux .chiffres-cles,
.theme-chaleureux .homepage-results-exams-2025,
.theme-chaleureux .formation-info-inner {
    font-variant-numeric: tabular-nums;
}

/* Voix utilitaire, disponible pour les surtitres et les etiquettes */
.theme-chaleureux .uptitle,
.theme-chaleureux .formation-eyebrow,
.theme-chaleureux .homepage-blocks h6,
.theme-chaleureux .footer h6,
.theme-chaleureux .footer .wm-pied-titre {
    font-family: var(--voix-corps);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* --- Etats d'interaction, unifies --------------------------------------- */

/*
 * Un seul anneau de focus pour tout le site, visible sur fond clair comme sur
 * fond fonce grace au double contour.
 */
.theme-chaleureux a:focus-visible,
.theme-chaleureux button:focus-visible,
.theme-chaleureux .btn:focus-visible,
.theme-chaleureux .nav-link:focus-visible,
.theme-chaleureux .dropdown-item:focus-visible,
.theme-chaleureux input:focus-visible,
.theme-chaleureux select:focus-visible,
.theme-chaleureux textarea:focus-visible,
.theme-chaleureux [tabindex]:focus-visible {
    outline: 3px solid var(--warm-highlight);
    outline-offset: 2px;
    box-shadow: 0 0 0 5px rgba(32, 36, 26, 0.35);
}

/* ------------------------------------------------------------------------- */
/* Petites choses chaleureuses                                               */
/*                                                                           */
/* Des details discrets et un peu de mouvement, jamais decoratifs pour eux-   */
/* memes : chacun accompagne un geste de lecture ou de navigation. Tout est   */
/* neutralise par prefers-reduced-motion plus bas.                           */
/* ------------------------------------------------------------------------- */

/* Le trait du lien se dessine de gauche a droite, comme trace a la main */
.theme-chaleureux .custom-page-content a:not([class*="btn"]):not(:has(img)),
.theme-chaleureux .formation-content-section a:not([class*="btn"]):not(:has(img)) {
    background-image: linear-gradient(var(--accent-encre) 0 0);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 2px;
    padding-bottom: 2px;
    text-decoration: none;
    transition: background-size 260ms ease, color 200ms ease;
}

.theme-chaleureux .custom-page-content a:not([class*="btn"]):not(:has(img)):hover,
.theme-chaleureux .formation-content-section a:not([class*="btn"]):not(:has(img)):hover {
    background-size: 100% 2px;
}

/* La couleur du lien survolé (2026-11-26) : imposée pour Chaleureux seulement, et sur les fonds clairs seulement.
   - Les thèmes qui héritent de Chaleureux ont leur propre couleur de survol (leur feuille) : imposée ici, elle rendait
     noir sur noir un lien posé dans un composant sombre.
   - Dans un composant sombre (en-tête de page, bandeau, encart ardoise…), le rouge imposé était illisible (contraste 1,7
     sur le fil d'Ariane) : le lien y garde sa couleur et son trait se dessine dans cette couleur. Même liste que
     « Survol des liens » en haut du fichier. */
.theme-chaleureux:where(.wm-theme-chaleureux, :not([class*="wm-theme-"])) .custom-page-content a:not([class*="btn"]):not(:has(img)):where(:not(:is(.sg-page-head, .sg-hero, .sg-infos, .sg-cta, .sg-contact-bar, .sg-aside-contact, .sg-section--ardoise, .sg-encart--ardoise, [class*="-dark"]:not(.text-dark), [class*="sombre"], .bg-dark, .bg-gradient-dark, .bg-primary, .bg-gradient-primary, .footer) *, :is(.sg-page-head, .sg-hero, .sg-infos, .sg-cta, .sg-contact-bar, .sg-aside-contact, .sg-section--ardoise, .sg-encart--ardoise, [class*="-dark"]:not(.text-dark), [class*="sombre"], .bg-dark, .bg-gradient-dark, .bg-primary, .bg-gradient-primary, .footer), [class*="light"], .text-white)):hover,
.theme-chaleureux:where(.wm-theme-chaleureux, :not([class*="wm-theme-"])) .formation-content-section a:not([class*="btn"]):not(:has(img)):where(:not(:is(.sg-page-head, .sg-hero, .sg-infos, .sg-cta, .sg-contact-bar, .sg-aside-contact, .sg-section--ardoise, .sg-encart--ardoise, [class*="-dark"]:not(.text-dark), [class*="sombre"], .bg-dark, .bg-gradient-dark, .bg-primary, .bg-gradient-primary, .footer) *, :is(.sg-page-head, .sg-hero, .sg-infos, .sg-cta, .sg-contact-bar, .sg-aside-contact, .sg-section--ardoise, .sg-encart--ardoise, [class*="-dark"]:not(.text-dark), [class*="sombre"], .bg-dark, .bg-gradient-dark, .bg-primary, .bg-gradient-primary, .footer), [class*="light"], .text-white)):hover {
    color: var(--accent-encre) !important;
}

.theme-chaleureux :is(.custom-page-content, .formation-content-section) :is(.sg-page-head, .sg-hero, .sg-infos, .sg-cta, .sg-contact-bar, .sg-aside-contact, .sg-section--ardoise, .sg-encart--ardoise, [class*="-dark"]:not(.text-dark), [class*="sombre"], .bg-dark, .bg-gradient-dark, .bg-primary, .bg-gradient-primary, .footer) a:not([class*="btn"]):not(:has(img)),
.theme-chaleureux :is(.custom-page-content, .formation-content-section) a:is([class*="light"], .text-white, .sg-page-head, .sg-hero, .sg-infos, .sg-cta, .sg-contact-bar, .sg-aside-contact, .sg-section--ardoise, .sg-encart--ardoise, [class*="-dark"]:not(.text-dark), [class*="sombre"], .bg-dark, .bg-gradient-dark, .bg-primary, .bg-gradient-primary, .footer):not([class*="btn"]):not(:has(img)) {
    background-image: linear-gradient(currentColor 0 0);
}

/* Le lien garde son soulignement visible quand la souris n'est pas passee */
.theme-chaleureux .custom-page-content a:not([class*="btn"]):not(:has(img)):not(:hover),
.theme-chaleureux .formation-content-section a:not([class*="btn"]):not(:has(img)):not(:hover) {
    text-decoration: underline;
    text-decoration-color: var(--trait-fort);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* Le segment court du filet d'alternance s'etire au survol de son titre */
.theme-chaleureux .custom-page-title::after,
.theme-chaleureux section h2:not(.card-title)::after {
    transition: background-size 320ms ease;
}

.theme-chaleureux .custom-page-title:hover::after,
.theme-chaleureux section h2:not(.card-title):hover::after {
    background-size: 48px 5px, 72px 1px;
}

/* Les visuels du contenu se soulevent legerement et se rechauffent */
.theme-chaleureux .custom-page-content img {
    transition: transform 300ms ease, box-shadow 300ms ease, filter 300ms ease;
}

.theme-chaleureux .custom-page-content img:hover {
    transform: translateY(-3px);
    box-shadow: var(--warm-shadow);
    filter: saturate(1.07);
}

/* Les cartes se soulevent d'un cran et prennent une ombre teintee bois */
.theme-chaleureux .card-blog:hover,
.theme-chaleureux .hover-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--warm-shadow) !important;
}

/* Halo chaud sous les boutons, plutot qu'une ombre grise */
.theme-chaleureux .btn:hover,
.theme-chaleureux .cta-link:hover {
    box-shadow: 0 8px 22px rgba(32, 36, 26, 0.16), 0 0 0 4px rgba(236, 199, 71, 0.28) !important;
}

/* La selection de texte reprend le ble du theme */
.theme-chaleureux ::selection {
    color: var(--encre);
    background: var(--warm-highlight);
}

/* Curseur de saisie dans la couleur du site */
.theme-chaleureux input,
.theme-chaleureux textarea,
.theme-chaleureux select {
    caret-color: var(--theme-primary-color, var(--roll-green));
}

/*
 * Puces en tiret cadratin plutot qu'en rond : un rythme de liste plus proche
 * d'une note ecrite que d'une specification technique.
 */
.theme-chaleureux .custom-page-content ul:not([class]) {
    list-style: none;
    padding-left: 0;
}

.theme-chaleureux .custom-page-content ul:not([class]) > li {
    position: relative;
    padding-left: 1.5rem;
}

.theme-chaleureux .custom-page-content ul:not([class]) > li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent-encre);
    font-weight: 700;
}

/* Defilement adouci pour les ancres internes */
.theme-chaleureux {
    scroll-behavior: smooth;
}

.theme-chaleureux .card-blog,
.theme-chaleureux .hover-card,
.theme-chaleureux .card-faq {
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.theme-chaleureux .btn:active,
.theme-chaleureux .cta-link:active {
    transform: translateY(1px);
}

@media (prefers-reduced-motion: reduce) {
    .theme-chaleureux *,
    .theme-chaleureux *::before,
    .theme-chaleureux *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }

    .theme-chaleureux,
    .theme-chaleureux * {
        scroll-behavior: auto !important;
    }

    .theme-chaleureux .btn:hover,
    .theme-chaleureux .btn:active,
    .theme-chaleureux .card-blog:hover,
    .theme-chaleureux .hover-card:hover,
    .theme-chaleureux .card-faq:hover,
    .theme-chaleureux .custom-page-content img:hover,
    .theme-chaleureux .footer .social-link:hover {
        transform: none !important;
    }

    /* Le soulignement des liens reste visible sans etre anime */
    .theme-chaleureux .custom-page-content a:hover,
    .theme-chaleureux .formation-content-section a:hover {
        background-size: 100% 2px !important;
    }
}

/* ------------------------------------------------------------------------- */
/* Elements graphiques decoratifs                                            */
/*                                                                           */
/* Tout est en CSS et SVG integre : aucun fichier a telecharger, rien qui     */
/* parte vers un service externe. Ces motifs sont purement decoratifs, poses  */
/* en pseudo-elements ou en fond, donc invisibles pour les lecteurs d'ecran.  */
/* ------------------------------------------------------------------------- */

:root {
    /*
     * Semis de feuilles creme, texture du pied de page. L'opacite est portee
     * par le SVG (stroke-opacity) et non par un calque : le motif reste une
     * texture et ne touche jamais au contraste du texte.
     */
    --warm-motif-feuilles-clair: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2272%22 height=%2272%22 viewBox=%220 0 72 72%22%3E%3Cg fill=%22none%22 stroke=%22%23f6e7c5%22 stroke-opacity=%220.16%22 stroke-width=%221.4%22 stroke-linecap=%22round%22%3E%3Cpath d=%22M14 8c5 4 5 12 0 16-5-4-5-12 0-16z%22/%3E%3Cpath d=%22M14 9v14%22/%3E%3Cpath d=%22M50 30c5 4 5 12 0 16-5-4-5-12 0-16z%22/%3E%3Cpath d=%22M50 31v14%22/%3E%3Cpath d=%22M30 52c5 4 5 12 0 16-5-4-5-12 0-16z%22/%3E%3Cpath d=%22M30 53v14%22/%3E%3C/g%3E%3C/svg%3E");
    /* Branche feuillue, ornement d'angle des pages editoriales */
    --warm-motif-branche: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22240%22 height=%22200%22 viewBox=%220 0 240 200%22%3E%3Cg fill=%22none%22 stroke=%22%23a8863a%22 stroke-opacity=%220.34%22 stroke-width=%222.1%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M230 10 C190 60 168 116 112 168%22/%3E%3Cg transform=%22translate(212.0 34.4) rotate(176.5) scale(0.78)%22%3E%3Cpath d=%22M0 0c10-9 24-9 34 0-10 9-24 9-34 0z%22/%3E%3Cpath d=%22M2 0h30%22/%3E%3C/g%3E%3Cg transform=%22translate(193.4 62.7) rotate(70.5) scale(0.88)%22%3E%3Cpath d=%22M0 0c10-9 24-9 34 0-10 9-24 9-34 0z%22/%3E%3Cpath d=%22M2 0h30%22/%3E%3C/g%3E%3Cg transform=%22translate(174.9 91.5) rotate(175.4) scale(0.98)%22%3E%3Cpath d=%22M0 0c10-9 24-9 34 0-10 9-24 9-34 0z%22/%3E%3Cpath d=%22M2 0h30%22/%3E%3C/g%3E%3Cg transform=%22translate(154.6 120.4) rotate(75.0) scale(1.08)%22%3E%3Cpath d=%22M0 0c10-9 24-9 34 0-10 9-24 9-34 0z%22/%3E%3Cpath d=%22M2 0h30%22/%3E%3C/g%3E%3Cg transform=%22translate(130.8 149.1) rotate(184.6) scale(1.18)%22%3E%3Cpath d=%22M0 0c10-9 24-9 34 0-10 9-24 9-34 0z%22/%3E%3Cpath d=%22M2 0h30%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    /*
     * Forme signature : deux angles largement adoucis, deux presque vifs. Le
     * meme rapport est repris sur les cartes, les visuels et les media, ce qui
     * donne une silhouette reconnaissable au lieu d'un arrondi uniforme.
     */
    --warm-forme: 26px 6px 26px 6px;
    --warm-forme-large: 38px 8px 38px 8px;
}

/* --- En-tete : pas d'aplat, des lavis decentres -------------------------- */

/*
 * Aucun fond uniforme et aucun motif repete : le bandeau reste blanc et recoit
 * trois couches decentrees (un lavis chaud vers le logo, un lavis froid en
 * haut a droite, un biais ocre en travers). Aucune ne couvre la surface, donc
 * la couleur n'est jamais la meme d'un bord a l'autre.
 */
.theme-chaleureux .navbar-custom {
    background-color: #ffffff;
    background-image:
        radial-gradient(58% 135% at 10% 118%, rgba(236, 199, 71, 0.32) 0%, rgba(236, 199, 71, 0) 68%),
        radial-gradient(44% 120% at 88% -22%, rgba(124, 167, 185, 0.26) 0%, rgba(124, 167, 185, 0) 70%),
        linear-gradient(104deg, rgba(201, 162, 39, 0) 44%, rgba(201, 162, 39, 0.14) 44.5%, rgba(201, 162, 39, 0.02) 100%);
    background-repeat: no-repeat;
    border-bottom: 0;
}

/* Filet de separation degrade : il s'efface sur les cotes */
.theme-chaleureux .navbar-custom::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(201, 162, 39, 0) 0%,
        rgba(201, 162, 39, 0.7) 16%,
        rgba(201, 162, 39, 0.7) 84%,
        rgba(201, 162, 39, 0) 100%);
    pointer-events: none;
}

.theme-chaleureux .navbar-custom .logo-description,
.theme-chaleureux .navbar-custom .desc-container {
    color: var(--warm-muted);
}

/* --- Pied de page : barre de separation rétablie ------------------------- */

.theme-chaleureux .footer {
    position: relative;
    border-top: 10px solid var(--theme-secondary-color, var(--roll-orange));
    background-color: var(--theme-primary-color, var(--roll-green-dark)) !important;
    background-image: var(--warm-motif-feuilles-clair);
    background-repeat: repeat;
    background-size: 72px 72px;
}

/*
 * Soulignement en ble et non dans la couleur secondaire : sur le vert du pied
 * de page, un rouge vif jurerait alors que l'or reste dans la gamme chaude.
 */
.theme-chaleureux .footer h6,
.theme-chaleureux .footer .wm-pied-titre {
    display: inline-block;
    padding-bottom: 0.45rem;
    border-bottom: 2px solid var(--warm-highlight);
}

/*
 * Titres des rubriques du pied de page : h2 pour une hiérarchie sans saut (RGAA 9.1), avec l'aspect
 * d'un petit surtitre. Ils échappent aux réglages des h2 du contenu (grande taille sur mobile, équilibrage).
 */
.theme-chaleureux .footer .wm-pied-titre {
    font-size: 0.875rem !important;
    line-height: 1.5;
    text-wrap: wrap;
}

.theme-chaleureux .footer .social-link {
    border-radius: 50%;
    transition: background-color 180ms ease, transform 180ms ease;
}

.theme-chaleureux .footer .social-link:hover {
    transform: translateY(-2px);
}

/* --- Forme des contenus ------------------------------------------------- */

/*
 * Visuels et vignettes reprennent la forme signature des cartes. C'est ce qui
 * change le plus la silhouette du site, sans ajouter le moindre aplat.
 */
.theme-chaleureux .card-img,
.theme-chaleureux .fixed-size-image,
.theme-chaleureux .custom-img,
.theme-chaleureux .carousel-img,
.theme-chaleureux .img-fluid.shadow {
    border-radius: var(--warm-forme) !important;
}

/* Le visuel d'une carte suit le coin de la carte, pas un rayon a lui */
.theme-chaleureux .card > .position-relative > .fixed-size-image,
.theme-chaleureux .card > .position-relative > a > .fixed-size-image {
    border-radius: var(--warm-forme) !important;
}

/* --- Pages personnalisees : forme, disposition et ornements -------------- */

/*
 * Bord bas en biais : le sol blanc de la page ne se termine plus par une
 * horizontale, il repart en diagonale vers le gris du site.
 */
.theme-chaleureux .custom-page {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 0 100%);
    padding-bottom: calc(clamp(36px, 6vw, 84px) + 36px) !important;
}

/*
 * Visuels du contenu : forme signature. Le !important est necessaire pour
 * passer devant la classe .rounded de Bootstrap, que les redacteurs posent
 * depuis l'editeur.
 */
.theme-chaleureux .custom-page-content img {
    border-radius: var(--warm-forme) !important;
}

/* Une image posee directement dans le contenu deborde la colonne de texte */
.theme-chaleureux .custom-page-content > img,
.theme-chaleureux .custom-page-content > figure,
.theme-chaleureux .custom-page-content > figure > img {
    width: 100%;
    max-width: min(96ch, 100%);
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--warm-forme-large) !important;
}

/*
 * Separateur de contenu : le filet d'alternance, centre et double, plutot
 * qu'un ornement decoratif sans rapport avec le sujet.
 */
.theme-chaleureux .custom-page-content hr {
    width: 116px;
    max-width: 116px;
    height: 5px;
    margin-left: auto;
    margin-right: auto;
    border: 0;
    background:
        linear-gradient(var(--theme-primary-color, var(--roll-green)) 0 0) 0 0 / 34px 5px no-repeat,
        linear-gradient(var(--trait-fort) 0 0) 44px 2px / 72px 1px no-repeat;
    opacity: 1;
}

/* Guillemet ouvrant en ornement sur les citations */
.theme-chaleureux .custom-page-content blockquote {
    padding-left: clamp(46px, 5vw, 66px);
}

.theme-chaleureux .custom-page-content blockquote::before {
    content: "\201C";
    position: absolute;
    top: -0.18em;
    left: clamp(14px, 1.8vw, 24px);
    color: var(--theme-secondary-color, var(--warm-highlight));
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3.4em;
    font-style: normal;
    line-height: 1;
    pointer-events: none;
}

/* Branche feuillue en haut a droite de la page, en vis-a-vis du titre */
.theme-chaleureux .custom-page::before {
    content: "";
    position: absolute;
    top: clamp(6px, 1vw, 18px);
    right: clamp(6px, 2vw, 40px);
    width: clamp(150px, 18vw, 240px);
    aspect-ratio: 240 / 200;
    z-index: 0;
    background: var(--warm-motif-branche) center / contain no-repeat;
    pointer-events: none;
}

/* Sur mobile la branche passerait derriere le titre : on la retire */
@media (max-width: 767.98px) {
    .theme-chaleureux .custom-page::before {
        content: none;
    }
}

.theme-chaleureux .custom-page > .container,
.theme-chaleureux .custom-page > .container-fluid {
    position: relative;
    z-index: 1;
}

/* Pages personnalisees : contenu libre, centre, sans organisation en blocs. */
.theme-chaleureux .custom-page-content {
    width: 100%;
    max-width: min(1120px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.theme-chaleureux .custom-page-full .custom-page-content {
    max-width: none;
}

.theme-chaleureux .custom-page-contained.custom-page-text .custom-page-content:not(:has(> section)):not(:has(> .row)) {
    max-width: min(var(--mesure), 100%);
}

.theme-chaleureux .custom-page-content > section {
    width: 100%;
    max-width: min(1180px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.theme-chaleureux .custom-page-content > section::before,
.theme-chaleureux .custom-page-content > section::after {
    content: none !important;
}

.theme-chaleureux .custom-page-content > section > .container,
.theme-chaleureux .custom-page-content > section > .container-fluid {
    width: 100%;
    max-width: 1120px;
    padding-left: clamp(16px, 3vw, 34px);
    padding-right: clamp(16px, 3vw, 34px);
}

.theme-chaleureux .custom-page-content > .row {
    max-width: min(1120px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.theme-chaleureux .custom-page-content .row + .row {
    margin-top: clamp(20px, 3vw, 36px);
}

.theme-chaleureux .custom-page-full .custom-page-content > p,
.theme-chaleureux .custom-page-full .custom-page-content > ul,
.theme-chaleureux .custom-page-full .custom-page-content > ol,
.theme-chaleureux .custom-page-full .custom-page-content > blockquote,
.theme-chaleureux .custom-page-full .custom-page-content > h2,
.theme-chaleureux .custom-page-full .custom-page-content > h3,
.theme-chaleureux .custom-page-full .custom-page-content > h4,
.theme-chaleureux .custom-page-full .custom-page-content > section,
.theme-chaleureux .custom-page-full .custom-page-content > .row,
.theme-chaleureux .custom-page-full .custom-page-content > section > .container,
.theme-chaleureux .custom-page-full .custom-page-content > section > .container-fluid {
    max-width: none;
}

.theme-chaleureux .custom-page-content h6.text-primary,
.theme-chaleureux .custom-page-content .text-primary.text-uppercase {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--theme-secondary-color, var(--roll-orange)) !important;
}

.theme-chaleureux .custom-page-content h6.text-primary::before,
.theme-chaleureux .custom-page-content .text-primary.text-uppercase::before {
    content: "";
    width: 22px;
    height: 3px;
    flex: 0 0 22px;
    background: var(--theme-primary-color, var(--roll-green));
}

.theme-chaleureux .custom-page-content ul:not([class]) > li::before {
    content: "";
    top: 0.62em;
    width: 0.55rem;
    height: 0.55rem;
    background: var(--theme-primary-color, var(--roll-green));
    box-shadow: 4px 4px 0 var(--theme-secondary-color, var(--roll-orange));
    transform: rotate(-8deg);
}

.theme-chaleureux .custom-page-content blockquote {
    max-width: min(820px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.theme-chaleureux .custom-page-content img {
    border-bottom: 6px solid var(--theme-secondary-color, var(--roll-orange));
}

@media (max-width: 767.98px) {
    .theme-chaleureux .custom-page .custom-page-title {
        box-shadow: 8px 8px 0 var(--theme-tertiary-color, var(--warm-surface-pop));
    }

    .theme-chaleureux .custom-page-content > section > .container,
    .theme-chaleureux .custom-page-content > section > .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .theme-chaleureux *,
    .theme-chaleureux *::before,
    .theme-chaleureux *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (max-width: 1199.98px) {
    .theme-chaleureux .navbar-custom {
        gap: 16px;
        padding: 14px 16px;
    }

    .theme-chaleureux .navbar-custom .desc-container {
        min-width: 0 !important;
        white-space: normal !important;
    }
}

@media (max-width: 991.98px) {
    .theme-chaleureux .navbar-custom {
        justify-content: center !important;
    }

    .theme-chaleureux .logo-container,
    .theme-chaleureux .image-brand-container,
    .theme-chaleureux .desc-container,
    .theme-chaleureux .header-links-container {
        width: auto !important;
        min-width: 0;
        flex: 1 1 180px;
    }

    .theme-chaleureux #navigation,
    .theme-chaleureux #navigation.show,
    .theme-chaleureux #navigation.collapsing {
        max-height: calc(100dvh - 68px);
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        overscroll-behavior: contain;
        background: #fff !important;
    }

    .theme-chaleureux #navigation .nav-inner {
        padding: 0;
    }

    .theme-chaleureux .navbar-nav-hover {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .theme-chaleureux #nav-menu-links .navbar-nav-hover > .nav-item {
        width: 100%;
        flex: 0 0 auto;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .theme-chaleureux #nav-menu-links .navbar-nav-hover > .nav-item-header-action-menu {
        display: none;
    }

    .theme-chaleureux #nav-menu-links .navbar-nav-hover > .nav-item > .nav-link {
        width: 100%;
        height: auto;
        min-height: 48px;
        padding: 0.7rem 1rem !important;
        border-top: 0;
        border-left: 0 !important;
        font-size: 0.95rem;
        line-height: 1.2;
        white-space: normal;
    }

    .theme-chaleureux #nav-menu-links .navbar-nav-hover > .nav-item.dropdown:hover > .nav-link,
    .theme-chaleureux #nav-menu-links .navbar-nav-hover > .nav-item:hover > .nav-link {
        border-top: 0;
        border-left-color: transparent !important;
    }

    .theme-chaleureux .dropdown-responsive {
        width: calc(100% - 1.5rem) !important;
        max-height: min(54dvh, 420px);
        margin: 0.25rem 0.75rem 0.85rem !important;
        padding: 0.35rem !important;
        border-top-width: 0 !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        box-shadow: inset 0 -14px 18px -18px rgba(0, 0, 0, 0.55) !important;
    }

    .theme-chaleureux .dropdown-responsive::after {
        content: none !important;
    }

    .theme-chaleureux .dropdown-responsive .list-group {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2px;
        margin: 0;
        padding: 0;
    }

    .theme-chaleureux .dropdown-responsive .list-group-item {
        width: 100%;
        margin: 0;
        background: transparent;
    }

    .theme-chaleureux .dropdown-responsive .dropdown-item {
        min-height: 42px;
        padding: 0.55rem 0.65rem !important;
        border-left-width: 0 !important;
        border-radius: 6px !important;
        transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
    }

    .theme-chaleureux #nav-menu-links .dropdown-responsive .dropdown-item:hover,
    .theme-chaleureux #nav-menu-links .dropdown-responsive .dropdown-item:focus,
    .theme-chaleureux #nav-menu-links .dropdown-responsive .hover-with-left-border:hover,
    .theme-chaleureux #nav-menu-links .dropdown-responsive .hover-with-left-border:focus {
        color: var(--warm-text) !important;
        background: var(--theme-tertiary-color, var(--warm-surface-pop)) !important;
        box-shadow: inset 0 0 0 2px var(--theme-secondary-color, var(--roll-orange));
        transform: translateX(4px);
    }

    .theme-chaleureux #nav-menu-links .dropdown-responsive .dropdown-item:hover .dropdown-header,
    .theme-chaleureux #nav-menu-links .dropdown-responsive .dropdown-item:focus .dropdown-header {
        color: var(--warm-text) !important;
    }

    .theme-chaleureux .dropdown-responsive .dropdown-item .d-flex {
        align-items: center;
    }

    .theme-chaleureux .dropdown-responsive .icon {
        width: 28px;
        min-width: 28px;
        height: 28px;
        margin-top: 0 !important;
        margin-right: 0.55rem !important;
        align-items: center;
        justify-content: center;
    }

    .theme-chaleureux .dropdown-responsive .icon:empty {
        display: none !important;
    }

    .theme-chaleureux .dropdown-responsive .icon-menu {
        max-width: 24px;
        max-height: 24px;
    }

    .theme-chaleureux .dropdown-responsive .dropdown-header {
        justify-content: flex-start !important;
        text-align: left !important;
        white-space: normal;
        font-size: 0.86rem;
        line-height: 1.25;
    }

    .theme-chaleureux #nav-menu-links .navbar-nav-hover > .nav-item.mobile-submenu-open > .nav-link {
        background: var(--menu-bg-dark, var(--roll-green-dark)) !important;
        border-left-color: transparent !important;
    }

    .theme-chaleureux #nav-menu-links .navbar-nav-hover > .nav-item.mobile-submenu-open > .nav-link .arrow {
        transform: rotate(180deg);
    }

    .theme-chaleureux #nav-menu-links .navbar-nav-hover > .nav-item:not(.mobile-submenu-open) > .dropdown-menu.show {
        display: none !important;
    }

    .theme-chaleureux .responsive-links {
        display: flex !important;
        width: 100%;
        flex-direction: column;
        gap: 12px;
        padding: 0 1rem;
    }

    .theme-chaleureux .responsive-links .header-link-list,
    .theme-chaleureux .responsive-links .contact-header {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .theme-chaleureux .responsive-menu.logo-hidden {
        width: 44px;
        height: 44px;
        object-fit: contain;
    }

    .theme-chaleureux .homepage-blocks .cards-row {
        gap: 18px;
    }

    .theme-chaleureux .footer .container,
    .theme-chaleureux .pied-page {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .theme-chaleureux h1 {
        font-size: clamp(2rem, 9vw, 2.65rem) !important;
        line-height: 1.12;
    }

    .theme-chaleureux h2,
    .theme-chaleureux .custom-page-title {
        font-size: clamp(1.65rem, 7vw, 2.1rem) !important;
        line-height: 1.18;
    }

    .theme-chaleureux .formation-hero h1,
    .theme-chaleureux .page-header h1:not(.custom-page-title) {
        padding: 0.16em 0.3em 0.24em;
        box-shadow: 8px 8px 0 var(--theme-primary-color, var(--roll-green));
    }

    .theme-chaleureux .custom-page-title {
        padding-bottom: 0.7rem;
    }

    .theme-chaleureux .map__title,
    .theme-chaleureux .results-list > .-desktop,
    .theme-chaleureux section.bg-gray-200 > h1,
    .theme-chaleureux h1.text-center.my-8 {
        width: calc(100% - 24px);
        padding: 20px 16px;
    }

    .theme-chaleureux .flex > section.bg-gray-100 .page-header h2 {
        box-shadow: 7px 7px 0 var(--theme-secondary-color, var(--roll-orange));
    }

    .theme-chaleureux .contact-info {
        margin-left: 0;
        margin-right: 0;
    }

    .theme-chaleureux .img-contact {
        min-height: 240px;
        border-right: 0;
        border-bottom: 8px solid var(--theme-primary-color, var(--roll-green));
    }

    .theme-chaleureux #form-contact .form-check {
        padding-left: 36px;
    }

    .theme-chaleureux p,
    .theme-chaleureux .custom-page-content {
        font-size: 1rem !important;
        line-height: 1.65;
    }

    .theme-chaleureux .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .theme-chaleureux .formation-hero {
        padding: 34px 0 42px;
    }

    .theme-chaleureux .formation-hero-actions {
        flex-direction: column;
    }

    .theme-chaleureux .formation-hero-actions .btn {
        width: 100%;
    }

    .theme-chaleureux .formation-info-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .theme-chaleureux .formation-info-inner ul {
        flex-direction: column;
    }

    .theme-chaleureux .carousel-overlay,
    .theme-chaleureux .carousel-caption {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        max-width: none;
        padding: 12px;
    }

    .theme-chaleureux .carousel-overlay h4,
    .theme-chaleureux .carousel-overlay p {
        font-size: 1rem;
        line-height: 1.35;
    }

    .theme-chaleureux .row.flex-nowrap {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .theme-chaleureux .row.flex-nowrap > div {
        flex: 0 0 86%;
        max-width: 86%;
    }

    .theme-chaleureux .homepage-blocks .card.card-pricing {
        min-height: 260px;
    }

    .theme-chaleureux .contact-text,
    .theme-chaleureux .call-text {
        width: auto;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .theme-chaleureux .dropdown-responsive .list-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 6px;
    }
}

@media (max-width: 575.98px) {
    .theme-chaleureux .navbar > .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .theme-chaleureux #nav-menu-links > .container {
        padding-left: 0;
        padding-right: 0;
    }

    .theme-chaleureux .contact-header.responsive-menu {
        max-width: calc(100vw - 96px);
        flex-wrap: wrap;
        gap: 6px;
        justify-content: flex-end;
    }

    .theme-chaleureux #search-btn-header,
    .theme-chaleureux #contact-btn-header {
        min-width: 0;
        padding: 0.55rem 0.75rem;
        font-size: 0.78rem;
    }

    .theme-chaleureux .homepage-blocks .cards-row {
        grid-template-columns: 1fr;
    }

    .theme-chaleureux .footer {
        padding-top: 2.5rem !important;
    }
}

/* ------------------------------------------------------------------------- */
/* Survols lisibles des boutons (2026-11-05)                                  */
/* « .theme-chaleureux a:hover » et « .footer a:hover » (!important) donnaient */
/* au texte des boutons la couleur de leur propre fond.                       */
/* ------------------------------------------------------------------------- */
/* 2026-11-26 : le texte du bouton survolé est celui qui se lit sur le fond ASSOMBRI (--theme-…-survol-on, calculé par
   GlobalConfigController avec --theme-…-survol), et non celui choisi pour la couleur d'origine : sur un ocre devenu
   brun, l'encre foncée tombait à un contraste de 3, alors que le bouton au repos est écrit en blanc. */
.theme-chaleureux a.btn.bg-gradient-primary:hover,
.theme-chaleureux a.btn.btn-primary:hover,
.theme-chaleureux a.btn.bg-primary:hover {
    color: var(--theme-secondary-survol-on, #fff) !important;
    background: var(--theme-secondary-survol, color-mix(in srgb, var(--theme-secondary-color, var(--roll-red)) 84%, #000)) !important;
    border-color: var(--theme-secondary-survol, color-mix(in srgb, var(--theme-secondary-color, var(--roll-red)) 84%, #000)) !important;
}
.theme-chaleureux a.btn.bg-dark:hover {
    color: var(--theme-primary-survol-on, #fff) !important;
    background: var(--theme-primary-survol, color-mix(in srgb, var(--theme-primary-color, var(--roll-green-dark)) 84%, #000)) !important;
}
/* Bouton à contour survolé : même fond assombri et même texte que le bouton plein. Le système de design le passe aussi
   à 75 % d'opacité (.btn-outline-primary:hover) : sur un fond plein, le texte y perdait un tiers de son contraste
   (2,7 pour « Lire la suite » avec une couleur secondaire ocre). */
.theme-chaleureux a.btn.btn-outline-primary:hover {
    color: var(--theme-secondary-survol-on, var(--theme-secondary-on, #fff)) !important;
    background: var(--theme-secondary-survol, var(--theme-secondary-color, var(--roll-red))) !important;
    border-color: var(--theme-secondary-survol, var(--theme-secondary-color, var(--roll-red))) !important;
    opacity: 1;
}

/* ------------------------------------------------------------------------- */
/* Actualités : article, suggestions, liste vide (2026-11-05)                 */
/* ------------------------------------------------------------------------- */
.theme-chaleureux .news-article { padding: 36px 0 56px; }
.theme-chaleureux .news-admin-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 24px; }
.theme-chaleureux .news-article-head { max-width: 860px; margin: 0 auto; text-align: left; }
.theme-chaleureux .news-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--warm-muted); }
.theme-chaleureux .news-crumbs a { color: var(--warm-muted) !important; text-decoration: none; }
.theme-chaleureux .news-crumbs a:hover { color: var(--warm-text) !important; text-decoration: underline; }
.theme-chaleureux .news-article-date { margin: 20px 0 8px !important; font-size: .95rem; font-weight: 700; color: var(--theme-secondary-color, var(--roll-red)) !important; }
.theme-chaleureux .news-article-title { margin: 0 !important; font-family: var(--warm-title); font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem) !important; line-height: 1.12 !important; }
.theme-chaleureux .news-article-title::after { content: none !important; }
.theme-chaleureux .news-article-intro { margin: 16px 0 0 !important; font-size: 1.2rem; line-height: 1.55; }
.theme-chaleureux .news-article-media { max-width: 1040px; margin: 32px auto; }
.theme-chaleureux .news-article-media img { display: block; width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--warm-forme-large, 18px); box-shadow: var(--warm-shadow); }
.theme-chaleureux .news-article-body { max-width: 760px; margin: 0 auto; font-size: 1.08rem; line-height: 1.75; text-align: left; }
.theme-chaleureux .news-article-body > :first-child { margin-top: 0; }
.theme-chaleureux .news-article-body p, .theme-chaleureux .news-article-body ul, .theme-chaleureux .news-article-body ol { margin: 0 0 1.1em; }
.theme-chaleureux .news-article-body h2 { margin: 1.8em 0 .6em; font-size: 1.55rem; }
.theme-chaleureux .news-article-body h3 { margin: 1.5em 0 .5em; font-size: 1.25rem; }
.theme-chaleureux .news-article-body img { max-width: 100%; height: auto; border-radius: var(--warm-forme, 12px); }
.theme-chaleureux .news-suggestions { padding: 56px 0 72px; background: var(--warm-surface); }
.theme-chaleureux .news-suggestions-title { margin: 0 0 24px !important; font-family: var(--warm-title); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem) !important; }
.theme-chaleureux .news-suggestions-title::after { content: none !important; }
.theme-chaleureux .news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.theme-chaleureux .news-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: var(--warm-forme, 14px);
    box-shadow: var(--warm-shadow); transition: transform .2s ease, box-shadow .2s ease; }
.theme-chaleureux .news-card:hover { transform: translateY(-3px); box-shadow: var(--warm-shadow-strong, var(--warm-shadow)); }
.theme-chaleureux .news-card-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.theme-chaleureux .news-card-body { padding: 18px 20px 22px; }
.theme-chaleureux .news-card-date { margin: 0 0 6px !important; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.theme-chaleureux .news-card-title { margin: 0 0 8px !important; font-size: 1.15rem !important; line-height: 1.3 !important; }
.theme-chaleureux .news-card-title::after { content: none !important; }
.theme-chaleureux .news-card-title a { color: var(--warm-text) !important; text-decoration: none; }
.theme-chaleureux .news-card-title a::after { content: ""; position: absolute; inset: 0; }
.theme-chaleureux .news-card-text { margin: 0 !important; font-size: .95rem; line-height: 1.55; }
.theme-chaleureux .news-excerpt { overflow-wrap: anywhere; }
@media (max-width: 991.98px) { .theme-chaleureux .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .theme-chaleureux .news-grid { grid-template-columns: minmax(0, 1fr); }
    .theme-chaleureux .news-article { padding-top: 24px; }
    .theme-chaleureux .news-article-media { margin: 22px auto; }
    .theme-chaleureux .news-article-body { font-size: 1.02rem; }
}

/* Questions de la FAQ : titres h3 (anciens h5), sans l'interlettrage des titres h3 du thème */
.theme-chaleureux h3.accordion-header { letter-spacing: normal; }
