/* ==========================================================================
   LXO Nimotop — main.css
   Tokens extraits de Figma (fichier ewP4P1GqYFAY9GwNIc7HPC, node 3:1854)
   ========================================================================== */

@import url("./responsive-mobile.css");

/* --- Variables CSS (tokens Figma ewP4P1GqYFAY9GwNIc7HPC — node 3:1854 01-Home) --- */
:root {
    /* ---- Police ---- */
    --font-inter: 'Inter', sans-serif;

    /* ---- Graisses (Figma : 300 / 400 / 500 / 700 / 900) ---- */
    --fw-light:   300;  /* TOP OF MIND label, footnotes          */
    --fw-regular: 400;  /* Texte courant, nav, boutons           */
    --fw-medium:  500;  /* Chapeau, H2, H3                       */
    --fw-bold:    700;  /* Nav active, labels forts, H4/H5       */
    --fw-black:   900;  /* Titres display (H1 hero)              */

    /* ---- Tailles (pixel → rem, base 16px) ---- */
    --fs-legal:   0.625rem;   /* 10px — copyright / job code           */
    --fs-caption: 0.75rem;    /* 12px — footnotes (lh 120%)            */
    --fs-sm:      0.875rem;   /* 14px — bandeau légal / nav bold        */
    --fs-body:    1rem;       /* 16px — Texte courant Regular 400       */
    --fs-lg:      1.125rem;   /* 18px — corps large / bouton texte      */
    --fs-chapeau: 1.25rem;    /* 20px — Texte chapeau Medium 500        */
    --fs-xl:      1.5rem;     /* 24px — nav section / Clinical Resources*/
    --fs-label:   1.875rem;   /* 30px — label uppercase tracké (Light)  */
    --fs-h2:      2.5rem;     /* 40px — H2 title Medium 500 lh 1.5      */
    --fs-display: 6.25rem;    /* 100px — Hero title Black 900           */
    --fs-h1:      3.125rem;   /* 50px — H1 title Black 900 lh 1        */

    /* ---- Interlignes (Figma) ---- */
    --lh-tight:   1;     /* 100% — Texte courant, chapeau               */
    --lh-caption: 1.2;   /* 120% — Footnotes 12px                        */
    --lh-legal:   1.8;   /* ~180% — Copyright 10px                       */
    --lh-h2:      1.5;   /* 150% — H2 title                              */
    --lh-body:    1.3;   /* confort lecture corps de texte               */

    /* ---- Lettre-espacement ---- */
    --ls-none:    0;     /* Standard                                     */
    --ls-label:   1em;   /* 100% fs — style label 30px Light uppercase   */

    /* ---- Couleurs (Figma) ---- */
    --color-dark-blue:        #020721;         /* fond très foncé / texte principal  */
    --color-blue:             #05072f;         /* fond nav, sections sombres         */
    --color-blue-muted:       rgba(5,7,47,.65);/* texte secondaire atténué (65%)     */
    --color-blue-subtle:      rgba(5,7,47,.05);/* fond subtil (5%)                   */
    --color-blue-submenu:      #1f2143;        /* fond submenu (90%)                   */
    --color-shiny-green:      #00ea7c;         /* accent principal / CTA / icônes    */
    --color-green:            #018e4c;         /* vert foncé (hover, variante)        */
    --color-red:              #f15b47;         /* erreur / alerte                    */
    --color-white:            #ffffff;         /* fond page / texte inverse          */
    --color-black:            #000000;         /* usage ponctuel                     */
    --color-sand:             #CECDC3;         /* couleur sable, utilisée par subnav nimotop */

    /* ---- Alias sémantiques ---- */
    --color-bg:     var(--color-white);
    --color-text:   var(--color-blue);
    --color-accent: var(--color-shiny-green);
    --color-link:   var(--color-shiny-green);
    --color-error:  var(--color-red);
    --color-muted:  var(--color-blue-muted);
    --color-bg-header: var(--color-blue);
    --color-header-text: var(--color-white);
    --color-header-menu-active: var(--color-shiny-green);
    --color-header-action-bg: var(--color-white);
    --color-header-action-text: var(--color-blue);
    --color-header-submenu-bg: var(--color-blue-submenu);
    --color-h1: var(--color-dark-blue);
    /* ---- Mise en page ---- */
    --container-max-width: 1280px;
    --container-padding:   clamp(1rem, 5vw, 2rem);
}

/* --- Reset minimal --- */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-inter);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-body);
    letter-spacing: var(--ls-none);
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

/* --- Typographie — styles Figma (01-Home) --- */

/* H1 display — Inter Black 900, 100px, lh 1 */
h1 {
    font-size: var(--fs-h1);
    font-weight: var(--fw-bold);
    line-height: var(--lh-h2);
    color: var(--color-h1);
}

h1 small {
    display: block;
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
}

/* H2 — Inter Medium 500, 40px, lh 1.5 */
h2 {
    font-size: var(--fs-h2);
    font-weight: var(--fw-medium);
    line-height: var(--lh-h2);
}

/* H3 — Inter Medium 500, 24px */
h3 {
    font-size: var(--fs-xl);
    font-weight: var(--fw-medium);
}

/* H4/H5 — Inter Bold 700, 18px */
h4, h5 {
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
}

p {
    margin-top: 0;
    margin-bottom: 0;
    strong {
        font-weight: var(--fw-bold);
    }
}
li {
    strong {
        font-weight: var(--fw-bold);
    }
}
:root :where(.is-layout-flow) > p + p,
:root :where(.is-layout-flow) > .wp-block-paragraph + .wp-block-paragraph {
    margin-block-start: var(--wp--preset--spacing--2);
}
:root .entry-content > [class^="wp-block-"] {
    margin-block-start: var(--wp--preset--spacing--10);
    /* padding-top: var(--wp--preset--spacing--8);
    padding-bottom: var(--wp--preset--spacing--8); */
    
}
:root .entry-content > [class^="wp-block-"]:first-child {
    margin-block-start: 0;
    /* padding-top: var(--wp--preset--spacing--8);
    padding-bottom: var(--wp--preset--spacing--8); */
    
}
.page-featured-image {
    width: 100%;
    margin: 0;
    /* height: clamp(220px, 31.25vw, 450px); */
    max-height:450px;
    overflow:hidden;
}

.page-featured-image img {
    width: 100%;
    height:auto;
    object-fit: contain;
    object-position: center;
}

.page-content.has-post-thumbnail > .entry-content > :first-child {
    padding-top: 5rem;
    margin-top:0;
}

.page-content > .entry-content > :first-child {
    padding-top: 5rem;
}
/* ==========================================================================
   Fil d'ariane
   ========================================================================== */

.lxo-breadcrumb {
    padding: 10px 0;
    color: var(--wp--preset--color--blue);
    font-family: var(--wp--preset--font-family--inter);
    font-size: var(--wp--preset--font-size--sm);
    line-height: 1.215;
}

.lxo-breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

.lxo-breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lxo-breadcrumb__item + .lxo-breadcrumb__item::before {
    content: ">";
    font-weight: var(--wp--custom--font-weight--normal);
}

.lxo-breadcrumb__link,
.lxo-breadcrumb__current {
    color: inherit;
    text-decoration: none;
}

.lxo-breadcrumb__current {
    font-weight: var(--wp--custom--font-weight--bold);
}

.justify-content-center {
    justify-content: center;
}

span.is-small {
    font-size: 50%;
    vertical-align:middle;
}
/* ==========================================================================
   core/paragraph — variante label / tag
   ========================================================================== */

p.is-style-lxo-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 0.25em 0.5em;
    border-radius: 4px;
    font-weight: var(--wp--custom--font-weight--bold);
    line-height: 1.2;
    white-space: normal;
}

p.is-style-lxo-label:not(.has-background) {
    background-color: var(--wp--preset--color--shiny-green);
}

p.is-style-lxo-label:not(.has-text-color) {
    color: var(--wp--preset--color--blue);
}

/* Texte chapeau — Inter Medium 500, 20px, lh 1 */
.text-chapeau {
    font-size: var(--fs-chapeau);
    font-weight: var(--fw-medium);
    line-height: var(--lh-tight);
}

/* Label tracké — Inter Light 300, 30px, ls 1em (TOP OF MIND style) */
.text-label {
    font-size: var(--fs-label);
    font-weight: var(--fw-light);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-label); /* Vérifier rendu — 100% fs en Figma */
    text-transform: uppercase;
}

/* Texte courant — Inter Regular 400, 16px */
/* (appliqué sur body, pas besoin d'une classe dédiée) */

/* Texte large — Inter Regular 400, 18px */
.text-lg {
    font-size: var(--fs-lg);
    font-weight: var(--fw-regular);
}

/* Texte SM bold — Inter Bold 700, 14px (navigation) */
.text-sm-bold {
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
}

/* Caption / footnote — Inter Light 300, 12px, lh 1.2 */
.text-caption {
    font-size: var(--fs-caption);
    font-weight: var(--fw-light);
    line-height: var(--lh-caption);
}

/* Légal / copyright — Inter Regular 400, 10px, lh 1.8 */
.text-legal {
    font-size: var(--fs-legal);
    font-weight: var(--fw-regular);
    line-height: var(--lh-legal);
}

/* Italique light — utilisé pour placeholder search */
.text-placeholder {
    font-size: var(--fs-body);
    font-weight: var(--fw-light);
    font-style: italic;
}

img, video { max-width: 100%; height: auto; display: block; }

/* ==========================================================================
   core/separator — variantes LXO avec triangle
   ========================================================================== */

.wp-block-separator.is-style-lxo-shiny-green-arrow,
.wp-block-separator.is-style-lxo-blue-muted-arrow,
.wp-block-separator.is-style-lxo-blue-transparent-arrow {
    position: relative;
    width: 100% !important;
    max-width: none;
    margin-inline: 0;
    border: 0;
    height:3px ;
    background-color: var(--lxo-separator-color);
    line-height:0;
    opacity: 1;
    overflow: visible;
}

.wp-block-separator.is-style-lxo-shiny-green-arrow {
    --lxo-separator-color: var(--wp--preset--color--shiny-green);
}

.wp-block-separator.is-style-lxo-blue-muted-arrow {
    --lxo-separator-color: var(--wp--preset--color--dark-blue-muted);
}

.wp-block-separator.is-style-lxo-blue-transparent-arrow {
    --lxo-separator-color: var(--wp--preset--color--dark-blue-transparent);
}

.wp-block-separator.is-style-lxo-shiny-green-arrow::after,
.wp-block-separator.is-style-lxo-blue-muted-arrow::after,
.wp-block-separator.is-style-lxo-blue-transparent-arrow::after {
    content: "";
    position: absolute;
    top: calc(100% );
    left: 50%;
    width: clamp(4.5rem, 7vw, 6.125rem);
    height: clamp(15px, 2vw, 25px);
    transform: translateX(-50%);
    background-color: var(--lxo-separator-color);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.wp-block-separator.m-lr-1 {
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 3rem) !important;
    
}
.wp-block.top-inside-triangle-blanc, 
.wp-block-group.top-inside-triangle-blanc{
    padding-top: 0 !important;

}
.wp-block.top-inside-triangle-blanc::before,
.wp-block-group.top-inside-triangle-blanc::before {
    content: "";
    position: relative;
    display:block;
    top: -1px;
    left: 50%;
    width: clamp(4.5rem, 7vw, 6.125rem);
    height: clamp(15px, 2vw, 25px);
    transform: translateX(-50%);
    background-color: var(--color-white);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    margin-bottom:24px;
}

.bloc-media-text-product {
    .wp-block-media-text__content {
        padding: 0 8% 0 4%;
    }
}
/* ==========================================================================
   core/table — variante LXO shiny green
   ========================================================================== */

.wp-block-table.is-style-lxo-shiny-green table {
    width: 100%;
    border-collapse: collapse;
    border-style: hidden;
    table-layout: fixed;
}

.wp-block-table.is-style-lxo-shiny-green th,
.wp-block-table.is-style-lxo-shiny-green td {
    border: 1px solid var(--wp--preset--color--shiny-green);
}

.wp-block-table.is-style-lxo-shiny-green :where(thead, tbody, tfoot) tr > :nth-child(1) { width: var(--lxo-col-1-width, var(--lxo-first-column-width, auto)); }
.wp-block-table.is-style-lxo-shiny-green :where(thead, tbody, tfoot) tr > :nth-child(2) { width: var(--lxo-col-2-width, auto); }
.wp-block-table.is-style-lxo-shiny-green :where(thead, tbody, tfoot) tr > :nth-child(3) { width: var(--lxo-col-3-width, auto); }
.wp-block-table.is-style-lxo-shiny-green :where(thead, tbody, tfoot) tr > :nth-child(4) { width: var(--lxo-col-4-width, auto); }
.wp-block-table.is-style-lxo-shiny-green :where(thead, tbody, tfoot) tr > :nth-child(5) { width: var(--lxo-col-5-width, auto); }
.wp-block-table.is-style-lxo-shiny-green :where(thead, tbody, tfoot) tr > :nth-child(6) { width: var(--lxo-col-6-width, auto); }
.wp-block-table.is-style-lxo-shiny-green :where(thead, tbody, tfoot) tr > :nth-child(7) { width: var(--lxo-col-7-width, auto); }
.wp-block-table.is-style-lxo-shiny-green :where(thead, tbody, tfoot) tr > :nth-child(8) { width: var(--lxo-col-8-width, auto); }

.wp-block-table.is-style-lxo-shiny-green td.bg-shiny-green {
    background-color: var(--wp--preset--color--shiny-green);
}

.wp-block-table.is-style-lxo-shiny-green td.bg-blue-grey,
.wp-block-table.is-style-nimotop-red td.bg-blue-grey {
    background-color: var(--wp--preset--color--blue-grey);
    color: var(--wp--preset--color--white);
    border-left-color: var(--wp--preset--color--white);
    border-right-color: var(--wp--preset--color--white);
    
    
}

/* ── core/table — Nimotop rouge ────────────────────────────────────────── */
.wp-block-table.is-style-nimotop-red table {
    width: 100%;
    border-collapse: collapse;
    border-style: hidden;
    table-layout: fixed;
}

.wp-block-table.is-style-nimotop-red th,
.wp-block-table.is-style-nimotop-red td {
    border: 1px solid var(--wp--preset--color--red);
}

.wp-block-table.is-style-nimotop-red :where(thead, tbody, tfoot) tr > :nth-child(1) { width: var(--lxo-col-1-width, var(--lxo-first-column-width, auto)); }
.wp-block-table.is-style-nimotop-red :where(thead, tbody, tfoot) tr > :nth-child(2) { width: var(--lxo-col-2-width, auto); }
.wp-block-table.is-style-nimotop-red :where(thead, tbody, tfoot) tr > :nth-child(3) { width: var(--lxo-col-3-width, auto); }
.wp-block-table.is-style-nimotop-red :where(thead, tbody, tfoot) tr > :nth-child(4) { width: var(--lxo-col-4-width, auto); }
.wp-block-table.is-style-nimotop-red :where(thead, tbody, tfoot) tr > :nth-child(5) { width: var(--lxo-col-5-width, auto); }
.wp-block-table.is-style-nimotop-red :where(thead, tbody, tfoot) tr > :nth-child(6) { width: var(--lxo-col-6-width, auto); }
.wp-block-table.is-style-nimotop-red :where(thead, tbody, tfoot) tr > :nth-child(7) { width: var(--lxo-col-7-width, auto); }
.wp-block-table.is-style-nimotop-red :where(thead, tbody, tfoot) tr > :nth-child(8) { width: var(--lxo-col-8-width, auto); }

.wp-block-table.is-style-nimotop-red td.bg-red {
    background-color: var(--wp--preset--color--red);
    color: var(--wp--preset--color--white);
}
/* --- Utilitaires ---*/
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ==========================================================================
   Bouton CTA — composant partagé (.lxo-cta)
   Utilisé par le bloc acf/cta-button et acf/home-illustration.
   ========================================================================== */

.lxo-cta-wrapper {
    display: block;
}

.lxo-cta-wrapper--center { text-align: center; }
.lxo-cta-wrapper--left   { text-align: left; }
.lxo-cta-wrapper--right  { text-align: right; }

/* Variante solid (défaut) */
.lxo-cta {
    display: inline-block;
    padding: 0.85em 2.25em;
    border: 2px solid var(--wp--preset--color--blue);
    border-radius: 50px;
    background-color: var(--wp--preset--color--blue);
    color: var(--wp--preset--color--teal);
    font-family: var(--wp--preset--font-family--inter);
    font-size: var(--wp--preset--font-size--base);
    font-weight: var(--wp--custom--font-weight--semibold);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.lxo-cta:hover,
.lxo-cta:focus-visible {
    background-color: transparent;
    color: var(--wp--preset--color--blue);
}

/* Variante outline */
.lxo-cta--outline {
    background-color: transparent;
    color: var(--wp--preset--color--blue);
}

.lxo-cta--outline:hover,
.lxo-cta--outline:focus-visible {
    background-color: var(--wp--preset--color--blue);
    color: var(--wp--preset--color--teal);
}

/* Variante green — à utiliser sur fond sombre */
.lxo-cta--green {
    border-color: var(--wp--preset--color--shiny-green);
    background-color: var(--wp--preset--color--shiny-green);
    color: var(--wp--preset--color--blue);
}


.lxo-cta--green:hover,
.lxo-cta--green:focus-visible {
    background-color: transparent;
    color: var(--wp--preset--color--shiny-green);
}

/* Icône cadenas (icomoon) dans le bouton */
.lxo-cta__lock-icon {
    font-size: 0.9em;
    vertical-align: middle;
    margin-inline-end: 0.4em;
    line-height: 1;
}

.white-space-nowrap {
    white-space: nowrap;
}
/* ==========================================================================
   Image responsive — composant partagé (.lxo-image)
   Utilisé par le bloc acf/image-block et acf/home-illustration.
   ========================================================================== */

.lxo-image {
    display: block;
    margin: 0;
}

.lxo-image__img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Bloc standalone : figure reset */
.lxo-image-block {
    margin: 0;
}

.lxo-image-block.alignfull .lxo-image__img,
.lxo-image-block.alignwide .lxo-image__img {
    width: 100%;
    object-fit: cover;
}
.lxo-image-block.aligncenter .lxo-image__img{
    margin: 0 auto;
}
/* Dans home-illustration : image circulaire */
.home-illustration__image-wrapper .lxo-image {
    width: clamp(180px, 22vw, 300px);
    aspect-ratio: 1;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
}

.home-illustration__image-wrapper .lxo-image__img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

/* ==========================================================================
   Background : --color-blue (#05072f), 2-row right panel (utility + nav)
   Figma node 3:1856 — 1920×280px
   ========================================================================== */

/* Outer wrapper */
.site-header {
    background-color: var(--color-bg-header);
    /* position: sticky; */
    top: 0;
    z-index: 100;
    width: 100%;
}

.site-header__alert {
    background-color: var(--header-alert-bg, var(--color-dark-blue));
    color: var(--color-white);
    text-align: center;
    padding: 12px 16px;
    font-family: var(--font-inter);
    font-size: var(--fs-sm);
    font-weight: var(--fw-regular);
}

/* Inner layout: logo left, right panel flex-1 */
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(40px, 8vw, 220px);
    min-height: 280px;
    padding: 75px clamp(32px, 12.5vw, 240px) 75px;
}

/* ── Logo ────────────────────────────────────────────────────────── */
.site-branding {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* Scale custom logo to design dimensions */
.site-branding .custom-logo-link,
.site-branding a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-branding .custom-logo {
    width: clamp(220px, 15.9vw, 305px);
    height: 90px;
    object-fit: contain;
}

/* Text fallback logo when no image is set */
.site-title-link {
    text-decoration: none;
    font-size: 2.5rem;
    font-weight: var(--fw-black);
    line-height: 1;
    letter-spacing: -0.02em;
}

.site-title__neuro { color: var(--color-shiny-green); }
.site-title__xo    { color: var(--color-white); }

/* ── Right panel ─────────────────────────────────────────────────── */
.site-header__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 36px;
    min-width: 0;
}

/* ── Row 1: utility bar ──────────────────────────────────────────── */
.site-header__utility {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 52px;
}

.site-header__utility #utility-menu{
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    li {
        a {
            color: var(--color-header-text);
            opacity: 0.5;
            text-decoration: none;
            transition: opacity 0.2s ease, color 0.2s ease;
        }
    }
}
.site-header__utility #utility-menu a:hover {
    
    opacity: 1;
}
.hover-highlight:hover {
    color: var(--color-header-menu-active);
    .site-header__action-icon {
        background-color: var(--color-header-menu-active);
        color: var(--color-bg-header);
    }
}
/* Search form pill */
.site-header__search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 300px;
    min-height: 52px;
    border: 1px solid var(--header-search-form-border, rgba(255, 255, 255, 0.5));
    border-radius: 72px;
    padding: 8px 8px 8px 16px;
    opacity: 0.5;
}

.site-header__search-field {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-header-text);
    font-family: var(--font-inter);
    font-size: var(--fs-body);
    font-weight: var(--fw-light);
    font-style: italic;
    width: 100%;
    min-width: 0;
}

.site-header__search-field::placeholder {
    color: var(--color-header-text);
}

.site-header__search-btn {
    background-color: var(--color-white);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-blue);
    padding: 8px;
    font-size: 20px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-header__search-btn:hover {
    background-color: var(--color-shiny-green);
    color: var(--color-blue);
}

/* Utility nav: Contact / Log In / Language */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-header__action,
.language-switcher__toggle {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 52px;
    padding: 8px 8px 8px 16px;
    border: 0;
    border-radius: 72px;
    background: transparent;
    text-decoration: none;
    color: var(--header-action-text-color, var(--color-white));
    font-family: var(--font-inter);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: 1;
    white-space: nowrap;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s ease, color 0.2s ease;
    
    
}

.site-header__action:hover,
.site-header__action:focus-visible,
.language-switcher__toggle:hover,
.language-switcher__toggle:focus-visible {
    opacity: 1;
}

.site-header__action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: var(--color-header-action-bg);
    color: var(--color-header-action-text);
    font-size: 21px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-header__action--auth {
    opacity:0.5;
}
.logged-in .site-header__action--auth {
    opacity:1;
}
.language-switcher {
    position: relative;
}

.language-switcher__toggle {
    opacity: 1;
}

.language-switcher--static .language-switcher__toggle {
    cursor: default;
}

.language-switcher__label {
    opacity: 0.5;
}

.language-switcher__flag {
    display: inline-block;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
    /* border: 1px solid rgba(255, 255, 255, 0.35); */
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.language-switcher__flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*
.language-switcher__flag--uk {
    background:
        linear-gradient(27deg, transparent 44%, #fff 44% 50%, #c8102e 50% 56%, #fff 56% 62%, transparent 62%),
        linear-gradient(153deg, transparent 44%, #fff 44% 50%, #c8102e 50% 56%, #fff 56% 62%, transparent 62%),
        linear-gradient(90deg, transparent 42%, #fff 42% 46%, #c8102e 46% 54%, #fff 54% 58%, transparent 58%),
        linear-gradient(0deg, transparent 39%, #fff 39% 44%, #c8102e 44% 56%, #fff 56% 61%, transparent 61%),
        #012169;
}

.language-switcher__flag--canada {
    background:
        linear-gradient(90deg, #d80621 0 25%, #fff 25% 75%, #d80621 75%),
        #fff;
    position: relative;
}

.language-switcher__flag--canada::before {
    content: '';
    position: absolute;
    inset: 11px 15px 9px;
    background: #d80621;
    clip-path: polygon(50% 0, 61% 28%, 86% 17%, 75% 43%, 100% 50%, 72% 59%, 83% 86%, 58% 73%, 50% 100%, 42% 73%, 17% 86%, 28% 59%, 0 50%, 25% 43%, 14% 17%, 39% 28%);
}

.language-switcher__flag--italy {
    background: linear-gradient(90deg, #008c45 0 33.33%, #f4f5f0 33.33% 66.66%, #cd212a 66.66%);
}
*/
.language-switcher__arrow {
    color: var(--color-white);
    font-size: 14px;
    opacity: 0.5;
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.language-switcher.is-open .language-switcher__arrow {
    transform: rotate(0deg);
}

.language-switcher__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 220;
    min-width: 190px;
    margin: 0;
    padding: 8px;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background-color: var(--color-blue);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.language-switcher__menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 10px;
    color: var(--color-white);
    text-decoration: none;
    font-size: var(--fs-sm);
}

.language-switcher__menu a:hover,
.language-switcher__menu a:focus-visible {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-shiny-green);
}

/* ── Row 2: primary navigation ───────────────────────────────────── */
.main-navigation #primary-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation #primary-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    text-decoration: none;
    color: var(--color-header-text);
    font-family: var(--font-inter);
    font-size: var(--fs-lg);
    font-weight: var(--fw-regular);
    line-height: normal;
    transition: color 0.2s ease;
}

.main-navigation #primary-menu > li.current-menu-item > a,
.main-navigation #primary-menu > li.current-page-ancestor > a,
.main-navigation #primary-menu > li.current-page-parent > a,
.main-navigation #primary-menu > li.current-menu-ancestor > a{
    color: var(--color-header-menu-active);
    font-weight: var(--fw-bold);
}

.main-navigation #primary-menu > li > a:hover {
    color: var(--color-header-menu-active);
}

.main-navigation__lock {
    flex-shrink: 0;
    font-size: 16px;
}

/* Dropdown indicator arrow */
.main-navigation #primary-menu > li.menu-item-has-children > a::after {
    content: "\e906";
    display: inline-block;
    font-family: 'icomoon';
    font-size: 12px;
    line-height: 1;
    /* transform: rotate(180deg); */
}

/* Sub-menus */
.main-navigation #primary-menu li {
    position: relative;
}

.main-navigation #primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-header-submenu-bg);
    /* border-top: 2px solid var(--color-shiny-green); */
    min-width: 250px;
    list-style: none;
    margin: 0;
    padding: 5px 10px;
    z-index: 200;
    border-radius:1rem;
}

.main-navigation #primary-menu li:hover > .sub-menu,
.main-navigation #primary-menu li:focus-within > .sub-menu {
    display: block;
}


.main-navigation #primary-menu .sub-menu li a {
    display: block;
    padding: 15px 10px;
    color: var(--color-white);
    font-size: var(--fs-fg);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease;
    [class^="icon-"] {
        
        margin-right:0.5rem;
    }
}

.main-navigation #primary-menu .sub-menu li a:hover {
    color: var(--color-shiny-green);
    /* background-color: rgba(255, 255, 255, 0.05); */
}
.main-navigation #primary-menu .sub-menu li.current-menu-item > a,
.main-navigation #primary-menu .sub-menu li.current-page-ancestor > a,
.main-navigation #primary-menu .sub-menu li.current-page-parent > a,
.main-navigation #primary-menu .sub-menu li.current-menu-ancestor > a{
    color: var(--color-header-menu-active);
    font-weight: var(--fw-bold);
}
/* ── Mobile hamburger ────────────────────────────────────────────── */
.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--color-white);
    border-radius: 8px;
    color: var(--color-white);
    padding: 10px 12px;
    cursor: pointer;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    position: relative;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.menu-toggle__icon::before { top: -7px; }
.menu-toggle__icon::after  { top:  7px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
    background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

.home .bloc-3col-illus img,
.wp-block-image.bb-green img {
    border-bottom: 1px solid var(--color-shiny-green);
}

.font20 {
    font-size: var(--fs-chapeau);
}
/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1440px) {
    .site-header__inner {
        min-height: 160px;
        padding: 32px clamp(1.5rem, 4vw, 60px);
        gap: clamp(20px, 3vw, 60px);
    }
    .main-navigation #primary-menu > li > a {
        font-size: 0.875rem;
        padding: 4px 10px;
    }
    .site-header__search { width: 200px; }
}
/* ── Padding contenu — plage intermédiaire 1280px–1500px ─────────────────── */
@media (min-width: 1281px) and (max-width: 1500px) {
    :root {
        --wp--style--root--padding-left:  clamp(2rem, 5vw, 4rem);
        --wp--style--root--padding-right: clamp(2rem, 5vw, 4rem);
    }

    body :where(.entry-content, .editor-styles-wrapper) > :where(
        .wp-block-group,
        .wp-block-columns,
        .wp-block-cover,
        .wp-block-media-text
    ):not(.alignfull) {
        padding-inline: clamp(2rem, 5vw, 4rem);
    }

    body .entry-content > .wp-block-heading,
    body .entry-content > .wp-block-paragraph,
    body .entry-content > .wp-block-group,
    body .entry-content > .wp-block-image,
    body .lxo-breadcrumb__wrapper,
    body .entry-content > p {
        padding-inline: clamp(2rem, 5vw, 4rem);
    }

    body .site-footer__inner {
        padding-inline: clamp(2rem, 5vw, 4rem);
    }
}
@media (max-width: 1200px) {
    .site-header__inner {
        min-height: 220px;
        padding: 56px clamp(1rem, 5vw, 80px) 64px;
    }

    .site-header__utility,
    .site-header__actions {
        gap: 14px;
    }

    .site-header__search {
        width: 260px;
    }

    .site-header__action,
    .language-switcher__toggle {
        gap: 10px;
    }
}

@media (max-width: 1100px) {
    .site-header__inner {
        flex-wrap: wrap;
        align-items: center;
        padding: 16px var(--container-padding);
        gap: 12px;
        min-height: auto;
    }

    .site-branding .custom-logo {
        width: 220px;
        height: 65px;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .site-header__right {
        flex-basis: 100%;
        display: none;
        align-items: flex-start;
    }

    .site-header__right.is-open {
        display: flex;
        gap: 20px;
        padding-top: 12px;
    }

    .site-header__utility {
        flex-wrap: wrap;
        height: auto;
        width: 100%;
        justify-content: flex-start;
    }

    .site-header__actions {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .site-header__search {
        width: min(100%, 320px);
    }

    .site-header__search-field {
        width: 100%;
    }

    .main-navigation,
    .main-navigation #primary-menu {
        width: 100%;
    }

    .main-navigation #primary-menu {
        flex-wrap: wrap;
        gap: 4px;
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .site-header__action,
    .language-switcher,
    .language-switcher__toggle {
        width: 100%;
    }

    .site-header__action,
    .language-switcher__toggle {
        justify-content: space-between;
    }

    .language-switcher__menu {
        left: 0;
        right: auto;
    }
}

/* ==========================================================================
   Footer
   Figma node 4:606 — 1920×405px
   ========================================================================== */

.site-footer {
    background-color: var(--color-site-footer-bg, var(--color-dark-blue));
    color: var(--color-white);
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 120px clamp(32px, 12.5vw, 240px);
}
.site-footer__message {
    color: var(--color-white);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: 1.4;
    border: 1px solid var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    a {
        color: var(--color-white);
        text-decoration: none;
        text-underline-offset: 3px;
    }

}
.site-footer__top {
    display: flex;
    align-items: center;
    gap: 36px;
    width: min(100%, 1115px);
}

.site-footer__brand {
    display: inline-flex;
    flex-shrink: 0;
}

.site-footer__brand img {
    width: 204px;
    height: 63px;
}

.footer-primary-navigation {
    flex: 1;
    min-width: 0;
}

.footer-primary-navigation #footer-primary-menu,
.footer-navigation #footer-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-primary-navigation #footer-primary-menu {
    justify-content: flex-end;
    gap: 40px;
}

.footer-primary-navigation #footer-primary-menu a {
    color: var(--color-white);
    font-family: var(--font-inter);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.footer-primary-navigation #footer-primary-menu a:hover,
.footer-primary-navigation #footer-primary-menu a:focus-visible,
.footer-navigation #footer-menu a:hover,
.footer-navigation #footer-menu a:focus-visible {
    color: var(--color-shiny-green);
}

.site-footer__bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.site-footer__legal {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 20px;
}

.site-footer__credits,
.site-footer__mention p {
    margin: 0;
}
.footer-navigation {
        display: flex;
        flex-direction: row;
    }
.site-footer__credits,
.footer-navigation #footer-menu a,
.site-footer__mention {
    color: var(--color-white);
    font-family: var(--font-inter);
    font-size: var(--fs-legal);
    font-weight: var(--fw-regular);
}

.site-footer__credits,
.footer-navigation #footer-menu a {
    line-height: var(--lh-legal);
    white-space: nowrap;
}
.site-footer__credits {
    margin-right: 20px;
}
.footer-navigation #footer-menu {
    gap: 20px;
}

.footer-navigation #footer-menu li {
    display: inline-flex;
    align-items: center;
    gap: 20px;
}

.footer-navigation #footer-menu li::before {
    content: '';
    width: 1px;
    height: 8px;
    background-color: currentColor;
}

.footer-navigation #footer-menu a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer__mention {
    flex-shrink: 0;
    line-height: 1;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 960px) {
    .site-footer__inner {
        gap: 48px;
        padding-block: 72px;
    }

    .site-footer__top,
    .site-footer__bottom,
    .site-footer__legal {
        align-items: flex-start;
        flex-direction: column;
    }
    .footer-navigation {
        display: flex;
        flex-direction: row;
    }
    .footer-navigation #footer-menu {
        gap: 10px;
        flex-direction: row;
    }
    .footer-primary-navigation #footer-primary-menu,
    .footer-navigation #footer-menu {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .footer-primary-navigation #footer-primary-menu {
        gap: 18px 28px;
    }

    .site-footer__mention {
        text-align: left;
        white-space: normal;
    }
}

@media (max-width: 560px) {
    .site-footer__inner {
        padding-block: 56px;
    }

    .site-footer__brand img {
        width: 180px;
        height: auto;
    }

    .footer-primary-navigation #footer-primary-menu,
    .footer-navigation #footer-menu {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    .footer-navigation #footer-menu {
        flex-direction: row;
        gap: 20px;
        
        align-items: center;
        li:first-child::before {
            display: none;
        }
    }
    /* .footer-navigation #footer-menu li::before {
        display: none;
    } */
}

/* ==========================================================================
   core/heading — variantes Headings
   ========================================================================== */
.wp-block-heading.is-style-lxo-h2-fs20 {
    font-size: var(--wp--preset--font-size--chapeau);
    font-weight: var(--wp--custom--font-weight--bold);
    line-height: 1.2;
}

/* ==========================================================================
   core/button — CTA Figma
   Variantes : Nimotop, Nimotop alt, LXO, large/small, état ON et icône Icomoon.
   ========================================================================== */

.wp-block-button {
    --lxo-button-border: var(--wp--preset--color--shiny-green);
    --lxo-button-bg: var(--wp--preset--color--blue);
    --lxo-button-color: var(--wp--preset--color--shiny-green);
    --lxo-button-active-bg: var(--wp--preset--color--shiny-green);
    --lxo-button-active-color: var(--wp--preset--color--blue);
    --lxo-button-font-size: var(--wp--preset--font-size--label);
    --lxo-button-font-weight: var(--wp--custom--font-weight--normal);
    --lxo-button-padding: 16px 32px 16px 40px;
    --lxo-button-gap: 24px;
    --lxo-button-icon-size: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border: 1px solid var(--lxo-button-border);
    border-radius: 120px;
    transition: box-shadow 0.2s ease;
}

.wp-block-button .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--lxo-button-gap);
    padding: var(--lxo-button-padding);
    border: 0;
    border-radius: 110px;
    background-color: var(--lxo-button-bg);
    color: var(--lxo-button-color);
    font-family: var(--wp--preset--font-family--inter);
    font-size: var(--lxo-button-font-size);
    font-weight: var(--lxo-button-font-weight);
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, font-weight 0.2s ease;
    cursor: pointer;
}

.wp-block-button:hover,
.wp-block-button:focus-within {
    box-shadow: 0 0 0 4px var(--lxo-button-border);
}

.wp-block-button.is-lxo-button-active .wp-block-button__link,
.wp-block-button .wp-block-button__link[aria-current="page"] {
    background-color: var(--lxo-button-active-bg);
    color: var(--lxo-button-active-color);
    font-weight: var(--wp--custom--font-weight--bold);
}

.wp-block-button.is-style-cta-nimotop,
.wp-block-button.is-style-cta-nimotop-small {
    --lxo-button-border: var(--wp--preset--color--red);
    --lxo-button-bg: var(--wp--preset--color--blue-grey);
    --lxo-button-color: var(--wp--preset--color--white);
    --lxo-button-active-bg: var(--wp--preset--color--red);
    --lxo-button-active-color: var(--wp--preset--color--white);
}

.wp-block-button.is-style-cta-nimotop-alt,
.wp-block-button.is-style-cta-nimotop-alt-small {
    --lxo-button-border: var(--wp--preset--color--white);
    --lxo-button-bg: var(--wp--preset--color--red);
    --lxo-button-color: var(--wp--preset--color--white);
    --lxo-button-active-bg: var(--wp--preset--color--red);
    --lxo-button-active-color: var(--wp--preset--color--white);
}

.wp-block-button.is-style-cta-lxo,
.wp-block-button.is-style-cta-lxo-small,
.wp-block-button.is-style-green {
    --lxo-button-border: var(--wp--preset--color--shiny-green);
    --lxo-button-bg: var(--wp--preset--color--blue);
    --lxo-button-color: var(--wp--preset--color--shiny-green);
    --lxo-button-active-bg: var(--wp--preset--color--shiny-green);
    --lxo-button-active-color: var(--wp--preset--color--blue);
}

.wp-block-button.is-style-cta-nimotop-small,
.wp-block-button.is-style-cta-nimotop-alt-small,
.wp-block-button.is-style-cta-lxo-small {
    --lxo-button-font-size: var(--wp--preset--font-size--lg);
    --lxo-button-padding: 8px 16px 8px 20px;
    --lxo-button-icon-size: 30px;
}

.wp-block-button.is-style-cta-nimotop-small,
.wp-block-button.is-style-cta-nimotop-alt-small {
    --lxo-button-icon-size: 36px;
}

.wp-block-button[class*="lxo-button-icon-"] .wp-block-button__link::after {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--lxo-button-icon-size);
    height: var(--lxo-button-icon-size);
    flex: 0 0 var(--lxo-button-icon-size);
    padding: 8px;
    border-radius: 96px;
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--blue);
    font-family: 'icomoon';
    font-size: calc(var(--lxo-button-icon-size) - 16px);
    font-weight: 400;
    line-height: 1;
    speak: never;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wp-block-button.lxo-button-icon-chercher .wp-block-button__link::after { content: "\e900"; }
.wp-block-button.lxo-button-icon-info .wp-block-button__link::after { content: "\e901"; }
.wp-block-button.lxo-button-icon-lock .wp-block-button__link::after { content: "\e902"; }
.wp-block-button.lxo-button-icon-user .wp-block-button__link::after { content: "\e903"; }
.wp-block-button.lxo-button-icon-cadenas-off .wp-block-button__link::after { content: "\e904"; }
.wp-block-button.lxo-button-icon-cadenas-on .wp-block-button__link::after { content: "\e905"; }
.wp-block-button.lxo-button-icon-triangle .wp-block-button__link::after { content: "\e906"; }
.wp-block-button.lxo-button-icon-download .wp-block-button__link::after { content: "\e907"; }
.wp-block-button.lxo-button-icon-lien .wp-block-button__link::after { content: "\e908"; }
.wp-block-button.lxo-button-icon-video .wp-block-button__link::after { content: "\e909"; }

@media (max-width: 560px) {
    .wp-block-button {
        --lxo-button-font-size: var(--wp--preset--font-size--lg);
        --lxo-button-padding: 8px 16px 8px 20px;
        --lxo-button-icon-size: 30px;
    }
}
sup {
    font-size: 70%;
    vertical-align: super;
    line-height: 0.8;
    font-weight:lighter;
}
/* page Global Insights */
.gi-sah-patients-cartouche {
    width: auto;
    display: table;
    padding-left: 2em;
    padding-right: 2em;
    transform:translate(0 , -25%);
    border-radius: 80px;
}
.strongs40-w900 {
    strong{
        font-weight: 900;
        font-size: 40px;
    }
}

.colonnes-hauteur-egales {
    align-items: stretch !important;
}
.wp-block-columns.colonnes-hauteur-egales > .wp-block-column {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.wp-block-columns .wp-block-column .button-to-bottom {
    margin-top: auto;
}

.wp-block-columns.margin-tb-auto {
    margin-top: auto !important;
    margin-bottom: auto !important;
}
/* ==========================================================================
   core/group — variante LXO groupe cliquable
   ========================================================================== */

.wp-block-group.is-style-lxo-clickable-group {
    position: relative;
    cursor: pointer;
}

.lxo-group-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    text-decoration: none;
}

/* Les éléments interactifs restent cliquables au-dessus de l'overlay */
.wp-block-group.is-style-lxo-clickable-group a:not(.lxo-group-overlay),
.wp-block-group.is-style-lxo-clickable-group button,
.wp-block-group.is-style-lxo-clickable-group input,
.wp-block-group.is-style-lxo-clickable-group select,
.wp-block-group.is-style-lxo-clickable-group textarea {
    position: relative;
    z-index: 1;
}

/* Les liens texte héritent du style du paragraphe */
.wp-block-group.is-style-lxo-clickable-group a:not(.lxo-group-overlay):not(.wp-block-button__link) {
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
    font-size: inherit;
}

.fw-light {
    font-weight: var(--fw-light);
}
.fw-regular {
    font-weight: var(--fw-regular);
}
.fw-medium {
    font-weight: var(--fw-medium);
}
.fw-semibold {
    font-weight: var(--fw-semibold);
}
.fw-black {
    font-weight: var(--fw-black);
}

/* ==========================================================================
   Thème Nimotop — surcharges couleurs + composants spécifiques
   ========================================================================== */

/* ── Tokens couleur Nimotop ──────────────────────────────────────────────── */
.theme-nimotop {
    /* Surcharge : texte courant = bleu-gris Nimotop (au lieu du --color-blue par défaut) */
    --color-text:   var(--wp--preset--color--blue-grey);
    --color-bg-header: var(--color-white);
    /* Tokens propres aux composants Nimotop — tous référencent le palette theme.json */
    --nimotop-bg:              var(--wp--preset--color--blue-grey);      /* #34545a — fond hero     */
    --nimotop-bg-dark:         var(--wp--preset--color--blue-grey-dark); /* #1e3438 — fond profond  */
    --nimotop-accent:          var(--wp--preset--color--red);            /* #f15b47 — rouge Nimotop */
    --nimotop-subnav-bg:       var(--wp--preset--color--sand);          /* #ffffff — fond subnav   */
    --nimotop-subnav-text:     var(--wp--preset--color--blue-grey);           /* #05072f — texte subnav  */
    --nimotop-border:          var(--wp--preset--color--blue-grey);     /* #e5e5e5 — séparateurs   */
    --nimotop-hero-min-height: clamp(340px, 44vw, 890px);
    --nimotop-hero-child-min-height: 500px;
    --color-header-text:        var(--wp--preset--color--blue-grey);
    --color-header-menu-active: var(--nimotop-accent);
    --color-header-action-bg: var(--wp--preset--color--blue-grey-light);
    --color-header-action-text: var(--wp--preset--color--white);
    --header-action-text-color: var(--wp--preset--color--blue-grey-light);
    --header-search-form-border: #98B5B2;
    --header-alert-bg: var(--wp--preset--color--blue-grey);
    --color-site-footer-bg: var(--nimotop-bg);
    --color-h1: var(--wp--preset--color--red);
}

.theme-nimotop.theme-nimotop--hide-branding {
    .site-branding {
        svg {
            path,rect, circle {
                fill: var(--color-header-action-bg) !important;
            }
            
        }
    }
}

.theme-nimotop .site-header__action {
    opacity: 1 ;
}
.theme-nimotop .language-switcher__label {
    opacity: 1;

}
.theme-nimotop .site-header__search-btn {
    background-color: var(--header-search-form-border);
    color: var(--color-white);
}
.theme-nimotop .language-switcher__arrow {
    color: var(--header-action-text-color);
    opacity: 1;
}
.theme-nimotop .site-header__search {
    opacity: 1;
}
.theme-nimotop .site-header__search-field::placeholder {
    border-color: var(--header-search-form-border);
    opacity: 0.5;
}
.theme-nimotop #utility-menu li a {
    color: var(--header-action-text-color);
    opacity: 1;
}
.theme-nimotop .two-columns-text p {

    --wp--preset--spacing--6 : 0.825rem;
}
/* ── View Transitions — navigation parent <-> enfant ──────────────────── */

@view-transition {
    navigation: auto;
}

/* C'est le wrapper qui porte la transition : ses snapshots (ancienne et
   nouvelle page) sont morphés par le navigateur. On anime uniquement
   max-height (via la taille du groupe) et l'opacité, avec un crossfade
   long pour laisser voir le hero de la nouvelle page apparaître au
   travers de l'ancien. */
/* Ne fonctionne pas bien !!! */
/*
.nimotop-hero__wrapper {
    view-transition-name: nimotop-hero-wrapper;
    overflow: hidden;
}

::view-transition-group(nimotop-hero-wrapper) {
    animation-duration: 0.6s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}


::view-transition-old(nimotop-hero-wrapper),
::view-transition-new(nimotop-hero-wrapper) {
    object-fit: none;
    object-position: top center;
    width: 100%;
    height: 100%;
    animation-duration: 0.6s;
    animation-timing-function: ease;
    mix-blend-mode: normal;
}

::view-transition-old(nimotop-hero-wrapper) {
    animation-name: lxo-hero-fade-out;
}

::view-transition-new(nimotop-hero-wrapper) {
    animation-name: lxo-hero-fade-in;
}

@keyframes lxo-hero-fade-out {
    from { opacity: 1; }
    to   { opacity: 0; }
}

@keyframes lxo-hero-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
*/
/* ── Hero commun ─────────────────────────────────────────────────────────── */
.nimotop-hero {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* ── Hero page parente ───────────────────────────────────────────────────── */
.nimotop-hero--parent {
    min-height: var(--nimotop-hero-min-height);
    background-color: var(--nimotop-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    --video-h: clamp(340px, 44vw, 890px);
    --video-w: calc(var(--video-h) * 1150 / 535);
    --side-space: calc(((100vw - var(--video-w)) / 2));
    .nimotop-hero--parent__inner {
        position: relative;
        z-index: 1;
        width:100%;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: contain;
        /*
        &::before{
            content:'';
            position: absolute;
            width: var(--side-space);
            height:100%;
            left:0;
            top:0;
            background-image: linear-gradient(90deg,rgba(52, 84, 90, 1) 70%, rgba(52, 84, 90, 0) 100%) ;
            
            z-index: 0;
        }
        &::after{
            content:'';
            position: absolute;
            width: var(--side-space);
            height:100%;
            right:0;
            top:0;
            background-image: linear-gradient(90deg, rgba(52, 84, 90, 0) 0%, rgba(52, 84, 90, 1) 30%) ;
            
            
            z-index: 0;
        }*/
    }
}

/* Grille 2×2 couvrant tout le hero */
.nimotop-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 100%;
    min-height: var(--nimotop-hero-min-height);
    
}

/* Vidéo de fond — carrée, centrée, pleine hauteur */
.nimotop-hero__video {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: none;
}

.nimotop-hero__video video {
    display: block;
    height: 100%;
    width: auto;  /* vidéo carrée : largeur = hauteur */
    object-fit: cover;
    /* border-radius: 50%;
    aspect-ratio: 1 / 1; */
}

/* Zones cliquables — chacune aligne son contenu vers le centre du hero */
.nimotop-hero__zone {
    display: flex;
    align-items: flex-end;
    gap: clamp(1.25rem, 2.2vw, 2rem);
    padding: clamp(1.5rem, 4vw, 3.5rem);
    text-decoration: none;
    color: var(--wp--preset--color--white);
    transition: background-color 0.2s ease;
}

.nimotop-hero__zone:hover {
    background-color: rgba(0, 0, 0, 0.18);
}

/* Alignement de chaque coin vers le centre */
.nimotop-hero__zone--top-left     { 
    justify-content: flex-end; 
    padding-right: clamp(1.5rem, 10.0vw, 12vw);  
    padding-bottom: clamp(1.5rem, 10.0vw, 12vw);
    .nimotop-hero__zone-icon {
        color: rgba(45, 42, 86, 1);
    }
    
}
.nimotop-hero__zone--top-right    { 
    justify-content: flex-start; 
    padding-left: clamp(1.5rem, 10.0vw, 12vw);  
    padding-bottom: clamp(1.5rem, 10.0vw, 12vw);
    .nimotop-hero__zone-icon {
        color: rgba(0, 186, 206, 1)
    }
}
.nimotop-hero__zone--bottom-left  { 
    align-items: flex-start; 
    justify-content: flex-end;   
    padding-right: clamp(1.5rem, 10.0vw, 12vw);
    padding-top: clamp(1.5rem, 10.0vw, 12vw);
    .nimotop-hero__zone-icon {
        color: rgba(52, 84, 90, 1)
    }
}
.nimotop-hero__zone--bottom-right { 
    align-items: flex-start; 
    justify-content: flex-start; 
    padding-left: clamp(1.5rem, 10.0vw, 12vw);
    padding-top: clamp(1.5rem, 10.0vw, 12vw);
    .nimotop-hero__zone-icon {
        color: rgba(86, 81, 121, 1)
    }
}

.nimotop-hero__zone-label {
    font-family: var(--font-inter);
    font-size: clamp(1.5rem, 3.2vw, 3rem);
    font-weight: var(--fw-regular);
    line-height: 1;
    color: inherit;
    
}

.nimotop-hero__zone--top-left .nimotop-hero__zone-label,
.nimotop-hero__zone--top-right .nimotop-hero__zone-label {
    padding-bottom: clamp(3.375rem, 5.4vw, 4.875rem);
}

.nimotop-hero__zone--bottom-left .nimotop-hero__zone-label,
.nimotop-hero__zone--bottom-right .nimotop-hero__zone-label {
    padding-top: clamp(3.375rem, 5.4vw, 4.875rem);
}

/* Icône "+" dans chaque zone */
.nimotop-hero__zone-icon {
    --nimotop-zone-icon-drop-rotate: 180deg;
    --nimotop-zone-icon-line-rotate: -45deg;
    --nimotop-zone-icon-line: clamp(2rem, 5vw, 4.25rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(3.25rem, 5.2vw, 4.6875rem);
    height: clamp(3.375rem, 5.4vw, 4.875rem);
    position: relative;
    overflow: visible;
    background-color: transparent;
    /* color: var(--wp--preset--color--blue-grey); */
    /* font-size: clamp(1.5rem, 2vw, 2.25rem); */
    font-size:3.5rem;
    font-weight: var(--fw-regular);
    line-height: 1;
    flex-shrink: 0;
    z-index: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nimotop-hero__zone-icon::before,
.nimotop-hero__zone-icon::after {
    content: "";
    position: absolute;
    display: block;
}

.nimotop-hero__zone-icon::before {
    inset: 0;
    background:url('../images/goutte_nimotop.png') no-repeat center center;
    background-size: cover;
    transform: rotate(var(--nimotop-zone-icon-drop-rotate));
    z-index: 1;
}


.nimotop-hero__zone-cross {
    position: relative;
    z-index: 2;
}

.nimotop-hero__zone:hover .nimotop-hero__zone-icon {
    /* color: #00BACE; */
    transform: scale(1.1);
}


/* Ordre texte/icône selon le coin, avec la pointe orientée vers le texte */
.nimotop-hero__zone--top-left .nimotop-hero__zone-icon {
    --nimotop-zone-icon-drop-rotate: 90deg;
    --nimotop-zone-icon-line-rotate: -135deg;
    order: 1;
}

.nimotop-hero__zone--top-left    .nimotop-hero__zone-icon,
.nimotop-hero__zone--top-right   .nimotop-hero__zone-icon {
    margin-top:  0.25rem;
}

.nimotop-hero__zone--top-right .nimotop-hero__zone-icon {
    order: -1;
}

.nimotop-hero__zone--bottom-left .nimotop-hero__zone-icon {
    --nimotop-zone-icon-drop-rotate: 0deg;
    --nimotop-zone-icon-line-rotate: 135deg;
    order: 1;
}

.nimotop-hero__zone--bottom-right .nimotop-hero__zone-icon {
    --nimotop-zone-icon-drop-rotate: -90deg;
    --nimotop-zone-icon-line-rotate: 45deg;
    order: -1;
}

/* ── Hero page enfant ────────────────────────────────────────────────────── */
.nimotop-hero--child {
    background-color: var(--nimotop-bg);
    padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 5vw, 2rem);
    text-align: center;
    min-height:500px;
    display:grid;
    .nimotop-hero--child__overlay1 {
        position: absolute;
        inset: 0;
        background-color: var(--nimotop-bg);
        z-index: 0;
        opacity:0.6;
    }
    .nimotop-hero--child__overlay2 {
        position: absolute;
        inset: 0;
        background-color: var(--nimotop-bg);
        mix-blend-mode: color;
        z-index: 0;
    }
    .nimotop-hero--child__overlay3 {
        position: absolute;
        inset: 0;
        container-type: size;
        background-position:center center;
        background-repeat:no-repeat;
        z-index: 0;
    }
    .nimotop-hero--child__overlay3::before{
        content:'';
        position: absolute;
        width: max(0px, calc((100cqw - 100cqh * (1920 / 500)) / 2) + 20px);
        height:100%;
        left:0;
        top:0;
        background-image: linear-gradient(90deg,rgba(52, 84, 90, 1) 70%, rgba(52, 84, 90, 0) 100%) ;
        
        z-index: 0;
    }
    .nimotop-hero--child__overlay3::after{
        content:'';
        position: absolute;
        width: max(0px, calc((100cqw - 100cqh * (1920 / 500)) / 2) + 20px);
        height:100%;
        right:0;
        top:0;
        background-image: linear-gradient(90deg, rgba(52, 84, 90, 0) 0%, rgba(52, 84, 90, 1) 30%) ;
        
        
        z-index: 0;
    }
}

.nimotop-hero__inner {
    max-width: var(--wp--style--global--content-size);
    margin-inline: auto;
    position:relative;
}

.nimotop-hero__title {
    margin: 0 0 1rem;
    color: var(--wp--preset--color--white);
    font-family: var(--font-inter);
    font-size: clamp(2rem, 5vw, 4.0625rem);
    font-weight: var(--fw-black);
    line-height: 1.05;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.nimotop-hero__subtitle {
    margin: 0 auto 1.5rem;
    
    color: var(--wp--preset--color--white);
    font-size: clamp(var(--fs-lg), 2.5vw, 2.25rem);
    font-weight: var(--fw-black);
    line-height: 1.3;
}

.nimotop-hero__desc {
    margin: 0 auto;
    max-width: 768px;
    color: var(--wp--preset--color--white);
    font-size: var(--fs-chapeau);
    line-height: var(--lh-body);
    p {
        padding-top: var(--wp--preset--spacing--4)
    }
}

/* ── Sous-navigation Nimotop (barre d'onglets) ───────────────────────────── */
.nimotop-subnav {
    background-color: var(--nimotop-subnav-bg);
    
}

.nimotop-subnav__list {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0;
    max-width: var(--wp--style--global--content-size);
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 2rem);
    list-style: none;
}

.nimotop-subnav__link {
    display: inline-flex;
    align-items: center;
    padding: 1rem clamp(0.75rem, 1.5vw, 1.25rem) 0.625rem;
    color: var(--nimotop-subnav-text);
    font-family: var(--font-inter);
    font-size: var(--fs-lg);
    font-weight: var(--fw-regular);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
    line-height:1;
    border-bottom:6px solid transparent;
    border-right:1px solid var(--wp--preset--color--white);
    
}
.nimotop-subnav__item:last-child .nimotop-subnav__link {
    border-right:0;
}
.nimotop-subnav__link:hover,
.nimotop-subnav__link:focus-visible {
    color: var(--nimotop-accent);
}

.nimotop-subnav__item--current .nimotop-subnav__link,
.nimotop-subnav__link--current {
    /* padding-inline: clamp(0.75rem, 1.5vw, 1.25rem); */
    
    background-color: var(--nimotop-accent);
    color: var(--wp--preset--color--white);
    font-weight: var(--fw-bold);
    border-bottom: 6px solid var(--nimotop-border);
}

.nimotop-subnav__item--current .nimotop-subnav__link:hover,
.nimotop-subnav__link--current:hover {
    color: var(--wp--preset--color--white);
}

/* ── Navigation précédent/suivant ────────────────────────────────────────── */
.nimotop-prev-next {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    
    background-color: transparent;
}

/* Bouton commun */
.nimotop-prev-next__btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    background-color: var(--nimotop-accent);
    color: var(--wp--preset--color--white);
    font-family: var(--font-inter);
    font-size: var(--fs-body);
    font-weight: var(--fw-bold);
    text-decoration: none;
    line-height: 1.2;
    transition: filter 0.2s ease;
}

.nimotop-prev-next__btn:hover,
.nimotop-prev-next__btn:focus-visible {
    filter: brightness(1.1);
    color: var(--wp--preset--color--white);
}

/* Bouton "Précédent" — arête gauche + coins droits arrondis */
.nimotop-prev-next__prev {
    justify-content: flex-start;
    border-radius: 0 16px 16px 0;
    clip-path: polygon(24px 0%, 100% 0%, 100% 100%, 24px 100%, 0% 50%);
}

/* Bouton "Suivant" — arête droite + coins gauches arrondis */
.nimotop-prev-next__next {
    justify-content: flex-end;
    border-radius: 16px 0 0 16px;
    clip-path: polygon(0% 0%, calc(100% - 24px) 0%, 100% 50%, calc(100% - 24px) 100%, 0% 100%);
}

/* Placeholder vide quand un seul bouton est présent */
.nimotop-prev-next__empty {
    display: block;
}

/* ── Surcharges globales dans la section Nimotop ─────────────────────────── */
.theme-nimotop .wp-block-separator.is-style-lxo-shiny-green-arrow {
    --lxo-separator-color: var(--nimotop-accent);
}

.is-layout-constrained > .alignwide.is-align-wider {
    max-width: calc(var(--wp--style--global--wide-size) + 160px);
}

.page-template-page-ressources {
    .page-content {
        
        
        padding-bottom: clamp(1rem, 5vw, 2rem);
    }
   & .ressources-list {
        margin-top:5rem;
        padding-top:2rem;
        display: flex;
        flex-direction: column;
        gap: 3rem;
       & .ressource-item {
            display: flex;
            flex-direction: row;
            gap: 4rem;
            align-items: center;
           & .ressource-texts {
                display: flex;
                flex-direction: column;
                gap: 4px;
                font-size: var(--fs-chapeau);
                flex: 0 0 58%;
                padding:0 0;
                & .ressource-title {
                    font-family: var(--font-inter);
                    font-size: var(--fs-chapeau);
                    font-weight: var(--fw-bold);
                    line-height: normal;
                    color: var(--wp--preset--color--white);
                    background-color: var(--nimotop-accent);
                    padding: 8px 16px;
                    border-radius: 16px;
                }
                & .ressource-buttons {
                    padding-top:1rem;
                }
            }
            .ressource-image {
                
                border-radius: 32px;
                overflow: hidden;
                img {
                    width: 100%;
                    height: auto;
                    display: block;
                    object-fit: contain;
                    object-position: center;
                }
            }
        &:nth-child(even) {
            flex-direction: row-reverse;
        }
    }
}
}
.search-results {
    .page-content {
        
        padding-bottom: clamp(1rem, 5vw, 2rem);
     
    }
}
@media (max-width: 760px) {
    .page-template-page-ressources .ressources-list .ressource-item,
    .page-template-page-ressources .ressources-list .ressource-item:nth-child(even) {
        flex-direction: column;
        gap: 0.5rem;
    }

    .page-template-page-ressources .ressources-list .ressource-item .ressource-image {
        order: -1;
    }

    .page-template-page-ressources .ressources-list .ressource-item .ressource-texts {
        flex: 1 1 auto;
    }
}

@media (max-width: 960px) {
    .nimotop-subnav__list {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-inline: 1rem;
    }

    .nimotop-subnav__list::-webkit-scrollbar { display: none; }

    .nimotop-prev-next {
        gap: 12px;
        padding-inline: 1rem;
    }
}

@media (max-width: 560px) {
    .nimotop-hero--parent {
        min-height: 280px;
    }

    .nimotop-hero__zone-label {
        font-size: var(--fs-sm);
        max-width: 120px;
    }

    .nimotop-prev-next {
        grid-template-columns: 1fr;
    }

    .nimotop-prev-next__prev {
        clip-path: none;
        border-radius: 16px;
        justify-content: center;
        &::before {
            content: '\e906';
            position:relative;
            display: inline-flex;
            font-family: 'icomoon';
            transform: rotate(90deg);
        }
    }

    .nimotop-prev-next__next {
        clip-path: none;
        border-radius: 16px;
        justify-content: center;
        &::after {
            content: '\e906';
            position:relative;
            display: inline-flex;
            font-family: 'icomoon';
            transform: rotate(-90deg);
        }
    }
}


.visible-mobile {
    display: none;
}
.visible-desktop {
    display: block;
}
.hidden-desktop {
    display: none;
}
.visible-tablet {
    display: block;
}
@media (max-width: 960px) {
    .visible-mobile {
        display: block;
    }
    .visible-desktop {
        display: none;
    }
    .hidden-desktop {
        display: block;
    }
}
@media (max-width: 560px) {
    .visible-tablet {
        display: none;
    }
}

/* ==========================================================================
   Plan du site (page-sitemap.php)
   ========================================================================== */
.page-content--sitemap .entry-content {
    padding-bottom: var(--wp--preset--spacing--20);
}
.lxo-sitemap {
    margin-block: 2rem;
}

.lxo-sitemap ul {
    list-style: none;
    /* margin: 0;
    padding: 0; */
}

.lxo-sitemap__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Niveau 0 : items racine */
.lxo-sitemap__list > .lxo-sitemap__item {
    padding-block: 0.5rem;
    border-bottom: 0px solid var(--color-blue-subtle);
    &.lxo-sitemap__item--nimotop .main-navigation__lock{
        color: var(--color-red);
    }
    &.lxo-sitemap__item--protected .lxo-sitemap__link{
        margin-left:-2.25rem;
    }
}

.lxo-sitemap__list > .lxo-sitemap__item:last-child {
    border-bottom: 0;
}

/* Sous-listes (niveau 1+) */
.lxo-sitemap__sublist,
.lxo-sitemap__item .lxo-sitemap__list {
    margin-top: 0.75rem;
    margin-left: 1.5rem;
    padding-left: 1rem;
    border-left: 0px solid var(--color-blue-subtle);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* Liens — pas de soulignement, couleur sobre */
.lxo-sitemap__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.lxo-sitemap__link:hover,
.lxo-sitemap__link:focus-visible {
    color: var(--color-blue-muted);
    text-decoration: none;
}

/* Tailles selon le niveau */
.lxo-sitemap__list > .lxo-sitemap__item > .lxo-sitemap__link {
    font-size: 2rem;
    font-weight: var(--fw-medium);
    line-height: 1.2;
}

.lxo-sitemap__list .lxo-sitemap__sublist > .lxo-sitemap__item > .lxo-sitemap__link,
.lxo-sitemap__list .lxo-sitemap__list > .lxo-sitemap__item > .lxo-sitemap__link {
    font-size: 1.5rem;
    font-weight: var(--fw-regular);
}

.lxo-sitemap__list .lxo-sitemap__sublist > .lxo-sitemap__item ,
.lxo-sitemap__list .lxo-sitemap__list > .lxo-sitemap__item  {
    &.lxo-sitemap__item--protected .lxo-sitemap__link{
        margin-left:-1.75rem;
    }
}
/* Niveaux 2+ */
.lxo-sitemap__sublist .lxo-sitemap__sublist > .lxo-sitemap__item > .lxo-sitemap__link,
.lxo-sitemap__list .lxo-sitemap__list .lxo-sitemap__list > .lxo-sitemap__item > .lxo-sitemap__link {
    font-size: 1.125rem;
}

/* Cadenas */
.lxo-sitemap .main-navigation__lock {
    font-size: 0.85em;
    color: var(--color-shiny-green);
}

@media (max-width: 560px) {
    .lxo-sitemap__list > .lxo-sitemap__item > .lxo-sitemap__link {
        font-size: 1.5rem;
    }
    .lxo-sitemap__list .lxo-sitemap__sublist > .lxo-sitemap__item > .lxo-sitemap__link,
    .lxo-sitemap__list .lxo-sitemap__list > .lxo-sitemap__item > .lxo-sitemap__link {
        font-size: 1.125rem;
    }
    .lxo-sitemap__sublist,
    .lxo-sitemap__item .lxo-sitemap__list .lxo-sitemap__list {
        margin-left: 0.75rem;
        padding-left: 0.75rem;
    }
}

/* ============================================================
   Recherche — contenu protégé dans les cartes
   ============================================================ */
.post-card__lock-icon {
    display: inline-block;
    margin-left: 0.4em;
    font-size: 0.8em;
    color: var(--color-shiny-green);
    vertical-align: middle;
}

.post-card__protected {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.75rem 1rem;
    font-size: var(--fs-sm, 0.875rem);
    font-style: italic;
    color: var(--color-blue-muted);
    background-color: var(--color-blue-subtle);
    border-left: 3px solid var(--color-shiny-green);
    border-radius: 0 6px 6px 0;
}

/* ============================================================
   Pagination — résultats de recherche & archives
   ============================================================ */
.lxo-pagination {
    margin-top: clamp(2rem, 5vw, 3.5rem);
}

.lxo-pagination__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lxo-pagination__item {
    margin: 0;
}

.lxo-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.5rem;
    font-weight: var(--fw-medium, 500);
    line-height: 1;
    color: var(--color-blue);
    text-decoration: none;
    background-color: transparent;
    border: 1px solid rgba(5, 7, 47, 0.12);
    border-radius: 999px;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lxo-pagination a.page-numbers:hover,
.lxo-pagination a.page-numbers:focus-visible {
    color: var(--color-dark-blue);
    background-color: var(--color-shiny-green);
    border-color: var(--color-shiny-green);
    transform: translateY(-2px);
}

.lxo-pagination .page-numbers.current {
    color: var(--color-white);
    background-color: var(--color-dark-blue);
    border-color: var(--color-dark-blue);
}

.lxo-pagination .page-numbers.dots {
    border-color: transparent;
    background-color: transparent;
}

.lxo-pagination .prev.page-numbers,
.lxo-pagination .next.page-numbers {
    padding: 0;
    width: 2.75rem;
}

.lxo-pagination__arrow {
    display: block;
}
