/* =================================================================
   Arkema ESOP 2026 — styles publics
   Réécrit pour la refonte. Conserve les hooks fonctionnels (JS) :
   .btnSouscription, .hide, .u-hidden, .evitement, .lien-top,
   .admin-bar, #menu__toggle, .menu__btn.
   ================================================================= */

/* -- Reset minimal ---------------------------------------------- */
html, body, p, ol, ul, li, dl, dt, dd, blockquote, figure, fieldset,
legend, textarea, pre, iframe, hr, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; }
ul                     { list-style: none; }
button, input, select  { margin: 0; }
html                   { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
img, video             { max-width: 100%; height: auto; display: block; }
iframe                 { border: 0; }
table                  { border-collapse: collapse; border-spacing: 0; }
td, th                 { padding: 0; }

/* -- Webfonts (Ubuntu — police actuelle du projet, conservée comme
   fallback). Pour basculer sur Work Sans (police de la maquette),
   ajouter les fichiers dans assets/css/webfonts/ et adapter ces
   @font-face. ---------------------------------------------------- */
@font-face {
    font-family: "Ubuntu";
    src: url("webfonts/Ubuntu-Regular.ttf") format("truetype");
    font-weight: 400; font-style: normal;
}
@font-face {
    font-family: "Ubuntu";
    src: url("webfonts/Ubuntu-Bold.ttf") format("truetype");
    font-weight: 700; font-style: normal;
}
@font-face {
    font-family: "Ubuntu";
    src: url("webfonts/Ubuntu-Light.ttf") format("truetype");
    font-weight: 300; font-style: normal;
}
@font-face {
    font-family: "Ubuntu";
    src: url("webfonts/Ubuntu-Medium.ttf") format("truetype");
    font-weight: 500; font-style: normal;
}

/* -- Variables --------------------------------------------------- */
:root {
    --c-navy:           #28285E;
    --c-navy-deep:      #000E56;
    --c-navy-footer:    #2D4691;
    --c-green:          #188D6D;
    --c-green-light:    #51BF9D;
    --c-grad-start:     #252D65;
    --c-grad-end:       #55BE9B;
    --c-white:          #FFFFFF;
    --c-shadow-card:    0 0 15px rgba(0, 0, 0, 0.20);
    --c-shadow-header:  0 1px 10px rgba(0, 0, 0, 0.10);

    --gutter:           100px;
    --content-max:      1440px;
}

* {
    box-sizing: border-box;
    font-family: "Work Sans", "Ubuntu", "Arial", sans-serif;
}

html {
    font-size: 62.5%;        /* 1rem = 10px */
    scroll-behavior: smooth;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background-color: var(--c-white);
    color: var(--c-navy);
    font-size: 1.4rem;
    line-height: 1.5;
}

main {
    flex: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

img { display: block; }

/* -- Accessibilité ----------------------------------------------- */
.evitement {
    position: absolute;
    left: -9999px;
    top: -9999px;
    background: var(--c-navy);
    color: var(--c-white);
    padding: 1rem 2rem;
    z-index: 1000;
}
.evitement:focus { left: 1rem; top: 1rem; }

.hors-ecran {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hide       { display: none !important; }
.u-hidden   { display: none !important; }
.u-flex-col { display: flex; flex-direction: column; }

/* -- Bandeau admin (conservé) ------------------------------------ */
.admin-bar {
    background: #1f1f1f;
    color: #fff;
    padding: 8px var(--gutter);
    font-size: 1.2rem;
    display: flex;
    gap: 20px;
    align-items: center;
}
.admin-bar a       { color: #fff; text-decoration: underline; }
.admin-bar a:hover { color: var(--c-green-light); }

/* -- Bouton "retour en haut" (conservé) -------------------------- */
.lien-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--c-navy);
    border-radius: 50%;
    z-index: 50;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.lien-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}
.lien-top::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 12px; height: 12px;
    border-top: 2px solid var(--c-white);
    border-left: 2px solid var(--c-white);
    transform: translate(-50%, -30%) rotate(45deg);
}

/* ====================================================================
   HEADER (.site-header)
   Bande supérieure (Contact + langue) + barre principale (logo + nav).
   ==================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--c-white);
    box-shadow: var(--c-shadow-header);
}

.site-header__top {
    background: var(--c-navy);
    padding: 1rem var(--gutter);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}
.site-header__contact,
.site-header__lang {
    color: var(--c-white);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}
.site-header__lang {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.site-header__lang-caret {
    display: inline-block;
}
.site-header__contact:hover,
.site-header__lang:hover {
    text-decoration: underline;
}

/* Barre principale */
.site-header__main {
    padding: 3rem var(--gutter);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.site-header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.site-header__logo img {
    width: 200px;
    height: auto;
}

/* Navigation */
.site-header__nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.site-header__nav-list {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.site-header__nav-list > li > a {
    color: var(--c-navy);
    font-size: 1.4rem;
    font-weight: 400;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, font-weight 0.2s;
    white-space: nowrap;
}
.site-header__nav-list > li > a:hover {
    border-bottom-color: var(--c-green);
}
.site-header__nav-list > li > a.is-active,
.site-header__nav-list > li > a.active {
    font-weight: 700;
    border-bottom-color: var(--c-green);
}

/* Toggle mobile (caché desktop, conservé pour le JS) */
#menu__toggle,
.menu__btn { display: none; }

/* -- Boutons d'action header ------------------------------------ */
.site-header__actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
    line-height: 1;
}
.btn--ghost {
    color: var(--c-navy);
    border-color: var(--c-navy);
    background: transparent;
}
.btn--ghost:hover,
.btn--ghost.is-active {
    background: var(--c-navy);
    color: var(--c-white);
}
.btn--primary {
    color: var(--c-white);
    background: var(--c-green);
    border-color: var(--c-green);
}
.btn--primary:hover {
    background: #146e54;
    border-color: #146e54;
}

/* État "fermé" du bouton de souscription (logique conservée) */
.btnSouscription--closed {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ====================================================================
   HERO — Section d'introduction de la home
   ==================================================================== */
.hero {
    position: relative;
    border: 1px solid var(--c-navy);
    background: var(--c-white);
}
.hero__media {
    width: 50%;
    margin-left: 50%;          /* l'image occupe la moiti\u00e9 droite */
    display: block;
}
.hero__media img {
    width: 100%;
    height: auto;
    display: block;
}
.hero__content {
    position: absolute;
    inset: 0;                  /* couvre toute la hauteur dict\u00e9e par l'image */
    width: 50%;                /* moiti\u00e9 gauche */
    padding: 0 var(--gutter);
    display: flex;
    flex-direction: column;
    justify-content: center;   /* centrage vertical */
    gap: 1.6rem;
    color: var(--c-navy-deep);
}
.hero__edition {
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
}
.hero__edition sup {
    font-size: 0.7em;
    vertical-align: super;
}
.hero__title {
    font-size: 3.2rem;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.2;
}
.hero__period {
    font-size: 2.4rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
}
.hero__period-dates {
    color: var(--c-green);
    margin-left: 0.5em;
}
.hero__price {
    align-self: flex-start;
    background: linear-gradient(90deg, var(--c-grad-start) 0%, var(--c-grad-end) 100%);
    color: var(--c-white);
    padding: 8px 10px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.2;
}
.hero__price strong { font-weight: 700; }

/* ====================================================================
   QUICK ACCESS — 4 cartes
   ==================================================================== */
.home {
    display: flex;
    flex-direction: column;
}

.quick-access {
    padding: 6rem var(--gutter) 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6rem;
}
.quick-card {
    background: var(--c-white);
    box-shadow: var(--c-shadow-card);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    color: var(--c-navy);
    transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.quick-card:hover {
    background: var(--c-green);
    color: var(--c-white);
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.quick-card__title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
}
.quick-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
}
.quick-card__arrow {
    width: 14px;
    height: auto;
}
/* Bascule des 2 fl\u00e8ches : navy au repos, blanche au hover. */
.quick-card__arrow--white { display: none; }
.quick-card:hover .quick-card__arrow--navy  { display: none; }
.quick-card:hover .quick-card__arrow--white { display: inline; }

/* ====================================================================
   PRESIDENT — Mot du Président
   ==================================================================== */
.president {
    margin: 6rem var(--gutter);
    border: 1px solid var(--c-navy);
    overflow: hidden;
    display: flex;
    background: var(--c-white);
}
.president__media {
    flex: 0 0 491px;
    overflow: hidden;
    display: flex;
}
.president__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom-right-radius: 160px;
}
.president__content {
    flex: 1;
    padding: 3rem 6rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    color: var(--c-navy);
}
.president__title {
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.1;
}
.president__greeting {
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.2;
}
.president__body {
    column-count: 2;
    column-gap: 3rem;
    font-size: 1.4rem;
    line-height: 1.55;
}
.president__body p {
    margin-bottom: 1.4rem;
    /* Empêche un paragraphe d'être coupé entre deux colonnes,
       y compris quand il contient un <span class="editable-wrap">. */
    break-inside: avoid;
    page-break-inside: avoid;       /* fallback navigateurs anciens */
    -webkit-column-break-inside: avoid;
}
.president__body p > .editable-wrap {
    display: inline-block;          /* rend le wrap "atomique" pour le moteur */
    break-inside: avoid;
}
.president__body strong { font-weight: 700; }
.president__body em     { font-style: italic; }

.president__signature {
    font-size: 1.4rem;
    line-height: 1.4;
    /* Reste solidaire dans une colonne (pas de coupure entre les deux). */
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

.president__footnote {
    font-size: 1.2rem;
    font-style: italic;
    text-align: justify;
}

/* ====================================================================
   FOOTER (.site-footer)
   ==================================================================== */
.site-footer {
    background: var(--c-white);
    border-bottom: 1px solid var(--c-navy);
}
.site-footer__top {
    background: var(--c-navy-footer);
    padding: 2.2rem var(--gutter);
    display: flex;
    align-items: center;
    gap: 12rem;
}
.site-footer__logo img {
    width: 150px;
    height: auto;
    /* Le logo Arkema est multicolore par défaut ; ici on veut une
       version blanche : si le SVG fournit un mode "white" via une
       classe ou un fichier dédié, l'utiliser. Sinon, ce filter rend
       le logo en blanc par défaut. */
    filter: brightness(0) invert(1);
}
.site-footer__links {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.site-footer__links a {
    color: var(--c-white);
    font-size: 1.4rem;
    font-weight: 600;
}
.site-footer__links a:hover {
    text-decoration: underline;
}
.site-footer__bottom {
    background: var(--c-navy);
    padding: 0.8rem var(--gutter);
    text-align: center;
    color: var(--c-white);
    font-size: 1.4rem;
}

/* ====================================================================
   INDEX — Page de sélection du pays (standalone, sans layout public)
   Utilise body.index comme racine. Pas de menu, pas de fastNav.
   ==================================================================== */
body.index {
    background: var(--c-white);
    min-height: 100vh;
}

.index-header {
    background: var(--c-white);
    box-shadow: var(--c-shadow-header);
    padding: 3rem var(--gutter);
    display: flex;
    align-items: center;
}
.index-header__logo {
    display: flex;
    align-items: center;
}
.index-header__logo img {
    width: 200px;
    height: auto;
}

/* -- Hero (image gauche, texte droite) ------------------------- */
.index-hero {
    position: relative;
    border: 1px solid var(--c-navy);
    background: var(--c-white);
}
.index-hero__media {
    width: 50%;                /* l'image occupe la moiti\u00e9 gauche */
    display: block;
}
.index-hero__media img {
    width: 100%;
    height: auto;
    display: block;
}
.index-hero__content {
    position: absolute;
    inset: 0;
    left: 50%;                 /* moiti\u00e9 droite */
    padding: 0 var(--gutter);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
    text-align: right;
    color: var(--c-navy-deep);
}
.index-hero__edition {
    font-size: 3.4rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.1;
}
.index-hero__edition sup {
    font-size: 0.7em;
    vertical-align: super;
}
.index-hero__title {
    font-size: 3.4rem;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.1;
}

/* -- Bloc de contenu : titre + sélecteur ----------------------- */
.index-content {
    flex: 1;
    padding: 6rem var(--gutter);
    display: flex;
    flex-direction: column;
    gap: 3rem;
    overflow: hidden;
}
.index-content__title {
    color: var(--c-navy);
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.country-picker {
    background: #F1F1F1;
}
/* En-tête cliquable (élément <summary> natif) */
.country-picker__head {
    background: var(--c-white);
    border: 1px solid var(--c-navy);
    padding: 1.5rem 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--c-navy);
    font-size: 1.6rem;
    font-weight: 700;
    list-style: none;        /* retire le marqueur natif Firefox/anciens */
    cursor: pointer;
    user-select: none;
}
.country-picker__head::-webkit-details-marker {
    display: none;           /* retire le marqueur natif Chrome/Safari */
}
.country-picker__head > span:first-child {
    flex: 1;
}
.country-picker__icon {
    flex-shrink: 0;
    width: 14px;
    height: 18px;
    display: block;
    transition: transform 0.2s ease;
}
/* Inverse la flèche quand le panneau est ouvert */
.country-picker[open] .country-picker__icon {
    transform: rotate(180deg);
}

.country-picker__list {
    padding: 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}
.country-picker__list a {
    color: var(--c-navy);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.2;
    display: inline-block;
}
.country-picker__list a:hover {
    color: var(--c-green);
    text-decoration: underline;
}

/* -- Footer index (juste copyright) ---------------------------- */
.index-footer {
    background: var(--c-navy);
    color: var(--c-white);
    text-align: center;
    padding: 0.8rem var(--gutter);
    font-size: 1.4rem;
    border-bottom: 1px solid var(--c-navy);
}

/* ====================================================================
   STRATÉGIE & OBJECTIFS — Présentation du Groupe
   Hero invers\u00e9 (image \u00e0 gauche, top-right radius), 3 sections, encadr\u00e9
   gris, et 3 cartes d'acc\u00e8s rapide.
   ==================================================================== */
.strategie {
    display: flex;
    flex-direction: column;
}

/* -- Hero (image gauche, texte droite) ----------------------- */
.strategie-hero {
    position: relative;
    border: 1px solid var(--c-navy);
    background: var(--c-white);
}
.strategie-hero__media {
    width: 50%;                /* l'image occupe la moiti\u00e9 gauche */
    display: block;
}
.strategie-hero__media img {
    width: 100%;
    height: auto;
    display: block;
}
.strategie-hero__content {
    position: absolute;
    inset: 0;
    left: 50%;                 /* moiti\u00e9 droite */
    padding: 0 var(--gutter);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    color: var(--c-navy-deep);
}
.strategie-hero__edition {
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
}
.strategie-hero__edition sup {
    font-size: 0.7em;
    vertical-align: super;
}
.strategie-hero__title {
    font-size: 3.2rem;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.2;
}
.strategie-hero__period {
    font-size: 2.4rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
}
.strategie-hero__period-dates {
    color: var(--c-green);
    margin-left: 0.5em;
}
.strategie-hero__price {
    align-self: flex-start;
    background: linear-gradient(90deg, var(--c-grad-start) 0%, var(--c-grad-end) 100%);
    color: var(--c-white);
    padding: 8px 10px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.2;
}
.strategie-hero__price strong { font-weight: 700; }

/* -- Contenu principal --------------------------------------- */
.strategie-content {
    padding: 6rem var(--gutter);
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.strategie-content__title {
    color: var(--c-navy);
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.1;
}

/* Section : sous-titre vert + paragraphes */
.strategie-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.strategie-section__title {
    color: var(--c-green);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
/* Fl\u00e8che verte avant le sous-titre (icone d\u00e9pos\u00e9e dans le bucket d'assets). */
.strategie-section__icon {
    flex-shrink: 0;
    width: 21px;
    height: 15px;
    display: block;
}
.strategie-section__body {
    color: var(--c-navy);
    font-size: 1.6rem;
    line-height: 1.55;
}
.strategie-section__body p {
    margin-bottom: 1.4rem;
}
.strategie-section__body p:last-child {
    margin-bottom: 0;
}
.strategie-section__body strong { font-weight: 700; }

/* Encadr\u00e9 gris (objectifs financiers) */
.strategie-callout {
    background: #F1F1F1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.strategie-callout__title {
    color: var(--c-navy);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
}
.strategie-callout__body {
    color: var(--c-navy);
    font-size: 1.6rem;
    line-height: 1.55;
}
.strategie-callout__body p {
    margin-bottom: 1.4rem;
}
.strategie-callout__body p:last-child {
    margin-bottom: 0;
}
.strategie-callout__body strong { font-weight: 700; }

/* Variante 3 cartes pour quick-access (sur Strat\u00e9gie & Objectifs). */
.quick-access--3 {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 var(--gutter) 6rem;
}

/* Variante 2 cartes pour quick-access (FAQ : interm\u00e9diaire). */
.quick-access--2 {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 var(--gutter) 6rem;
}

/* ====================================================================
   OFFRE 2026
   M\u00eame structure de hero que la strategie. Contenu : titres "Comprendre
   l'offre en 2 min" + vid\u00e9o, blocs encadr\u00e9s avec ic\u00f4nes vertes.
   ==================================================================== */
.offre {
    display: flex;
    flex-direction: column;
}

/* -- Hero (image gauche, texte droite) ------------------------- */
.offre-hero {
    position: relative;
    border: 1px solid var(--c-navy);
    background: var(--c-white);
}
.offre-hero__media {
    width: 50%;
    display: block;
}
.offre-hero__media img {
    width: 100%;
    height: auto;
    display: block;
}
.offre-hero__content {
    position: absolute;
    inset: 0;
    left: 50%;
    padding: 0 var(--gutter);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    color: var(--c-navy-deep);
}
.offre-hero__edition {
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
}
.offre-hero__edition sup {
    font-size: 0.7em;
    vertical-align: super;
}
.offre-hero__title {
    font-size: 3.2rem;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.2;
}
.offre-hero__period {
    font-size: 2.4rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.2;
}
.offre-hero__period-dates {
    color: var(--c-green);
    margin-left: 0.5em;
}
.offre-hero__price {
    align-self: flex-start;
    background: linear-gradient(90deg, var(--c-grad-start) 0%, var(--c-grad-end) 100%);
    color: var(--c-white);
    padding: 8px 10px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.2;
}
.offre-hero__price strong { font-weight: 700; }

/* -- Contenu principal --------------------------------------- */
.offre-content {
    padding: 6rem var(--gutter);
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Titre principal "Offre 2026" */
.offre-content__title {
    color: var(--c-navy);
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.1;
}

/* -- Bloc vid\u00e9o ------------------------------------------- */
.offre-block {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    /* Marge \u00e0 l'ancre #comprendre pour ne pas masquer le titre derri\u00e8re le header sticky */
    scroll-margin-top: 12rem;
}
.offre-block__heading {
    color: var(--c-navy);
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.1;
}
.offre-block__heading .is-green {
    color: var(--c-green);
}
.offre-video {
    max-width: 884px;
    align-self: flex-start;
    width: 100%;
}
.offre-video video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* -- Carte encadr\u00e9e (cadre navy 1px, padding 30px) ----------- */
.section-card {
    border: 1px solid var(--c-navy);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Variante : image \u00e0 gauche, contenu \u00e0 droite (B\u00e9n\u00e9ficiaires) */
.section-card--side-by-side {
    flex-direction: row;
    gap: 6rem;
    align-items: stretch;
}
.section-card--side-by-side .section-card__media {
    flex: 1;
    overflow: hidden;
    display: flex;
}
.section-card--side-by-side .section-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.section-card--side-by-side .section-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Eyebrow : titre majuscule navy au-dessus d'une carte */
.section-card__eyebrow {
    color: var(--c-navy);
    font-size: 2.4rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Section : titre vert avec fl\u00e8che + corps de texte */
.section-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.section-block__title {
    color: var(--c-green);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.section-block__icon {
    flex-shrink: 0;
    width: 21px;
    height: 15px;
    display: block;
}
.section-block__body {
    color: var(--c-navy);
    font-size: 1.6rem;
    line-height: 1.55;
}
.section-block__body p {
    margin-bottom: 1.4rem;
}
.section-block__body p:last-child {
    margin-bottom: 0;
}
.section-block__body strong { font-weight: 700; }
.section-block__body em     { font-style: italic; }
.section-block__body sup    { font-size: 0.7em; vertical-align: super; }

/* Encadr\u00e9 gris (contrepartie) */
.section-callout {
    background: #F1F1F1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.section-callout__title {
    color: var(--c-navy);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
}
.section-callout__body {
    color: var(--c-navy);
    font-size: 1.6rem;
    line-height: 1.55;
}
.section-callout__body p {
    margin-bottom: 1.4rem;
}
.section-callout__body p:last-child {
    margin-bottom: 0;
}
.section-callout__body strong { font-weight: 700; }

/* Quick-access en variante "inline" (sans padding outer) — utilis\u00e9 dans une carte */
.quick-access--inline {
    padding: 0;
}

/* ====================================================================
   FAQ — Modalit\u00e9s de souscription
   R\u00e9utilise le hero de la page Offre (.offre-hero*) et les blocs
   g\u00e9n\u00e9riques (.section-card / .section-block / .section-callout).
   ==================================================================== */
.faq {
    display: flex;
    flex-direction: column;
}

/* Footnote italique en pied de carte */
.faq-footnote {
    color: var(--c-navy);
    font-size: 1.2rem;
    font-style: italic;
    text-align: justify;
    line-height: 1.5;
}

/* ====================================================================
   DOCUMENTATION
   Liste de documents : chaque ligne est un bloc gris #F1F1F1 avec titre +
   m\u00e9ta (ext / taille) \u00e0 gauche et 2 boutons (aper\u00e7u / t\u00e9l\u00e9charger) \u00e0 droite.
   Les hooks JS .btn_doc_preview_count / .btn_doc_download_count sont
   conserv\u00e9s pour le tracking c\u00f4t\u00e9 site.js.
   ==================================================================== */
.documentation {
    display: flex;
    flex-direction: column;
}

.doc-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Titre de cat\u00e9gorie (si la cat\u00e9gorie a un label) */
.doc-list__category {
    color: var(--c-navy);
    font-size: 2rem;
    font-weight: 700;
    margin-top: 1rem;
}
.doc-list__category:first-child {
    margin-top: 0;
}

/* Ligne d'un document : bloc gris clair avec layout 2 colonnes */
.doc-row {
    background: #F1F1F1;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.doc-row__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.doc-row__title {
    color: var(--c-navy);
    font-size: 2.4rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    word-break: break-word;
}
.doc-row__meta {
    color: var(--c-navy);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
}
.doc-row__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

/* Bouton Aper\u00e7u dans le bandeau gris : fond blanc forc\u00e9 (ghost transparent
   serait invisible sur le #F1F1F1). */
.doc-row__actions .btn--ghost {
    background: var(--c-white);
}
.doc-row__actions .btn--ghost:hover {
    background: var(--c-navy);
}

/* Bouton "T\u00e9l\u00e9charger" : variante en bleu plein (#2D4691) */
.btn--download {
    color: var(--c-white);
    background: var(--c-navy-footer);
    border-color: var(--c-navy-footer);
}
.btn--download:hover {
    background: #243a7a;
    border-color: #243a7a;
}

.doc-empty {
    color: var(--c-navy);
    font-size: 1.6rem;
    text-align: center;
    padding: 2rem;
}

/* ====================================================================
   CONTACT
   Carte navy 1px contenant 2 panneaux gris #F1F1F1 c\u00f4te \u00e0 c\u00f4te :
     gauche  : liste des entit\u00e9s (filiales) — s\u00e9lecteur
     droite  : contacts de l'entit\u00e9 s\u00e9lectionn\u00e9e
   La s\u00e9lection est g\u00e9r\u00e9e par site.js (script d\u00e9j\u00e0 charg\u00e9 sur tout le site).
   ==================================================================== */
.contact-card {
    flex-direction: row;
    gap: 6rem;
    align-items: stretch;
}

/* -- Panneau gauche : s\u00e9lecteur d'entit\u00e9 ---------------------- */
.contact-picker {
    flex: 1;
    background: #F1F1F1;
    display: flex;
    flex-direction: column;
}
.contact-picker__panel {
    display: flex;
    flex-direction: column;
}
.contact-picker__head {
    background: var(--c-white);
    border: 1px solid var(--c-navy);
    padding: 1.5rem 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--c-navy);
    font-size: 1.6rem;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
    user-select: none;
}
.contact-picker__head::-webkit-details-marker {
    display: none;
}
.contact-picker__head > span:first-child {
    flex: 1;
}
.contact-picker__icon {
    flex-shrink: 0;
    width: 14px;
    height: 18px;
    display: block;
    transition: transform 0.2s ease;
}
.contact-picker__panel[open] .contact-picker__icon {
    transform: rotate(180deg);
}

.contact-picker__list {
    padding: 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-picker__item {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    text-align: left;
    color: var(--c-navy);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.15s, font-weight 0.15s;
}
.contact-picker__item:hover {
    color: var(--c-green);
}
.contact-picker__item.is-active {
    color: var(--c-green);
    font-weight: 700;
}

/* -- Panneau droit : liste des contacts ------------------------ */
.contact-list {
    flex: 1;
    background: #F1F1F1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    color: var(--c-navy);
}
.contact-list__item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
/* S\u00e9parateur fin entre contacts (sauf au-dessus du premier).
   Le 'gap: 4rem' du parent g\u00e8re l'espace au-dessus du s\u00e9parateur ; on ajoute
   'padding-top' pour mettre le m\u00eame souffle sous le s\u00e9parateur. */
.contact-list__item + .contact-list__item {
    border-top: 1px solid var(--c-navy);
    padding-top: 4rem;
}
.contact-list__name {
    color: var(--c-navy);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
}
.contact-list__entity {
    font-weight: 700;
}
.contact-list__details {
    display: flex;
    flex-direction: column;
}
.contact-list__email,
.contact-list__phone {
    color: var(--c-navy);
    font-size: 1.6rem;
    font-weight: 400;
    text-decoration: none;
    line-height: 1.4;
}
.contact-list__email:hover,
.contact-list__phone:hover {
    text-decoration: underline;
}
.contact-list__empty {
    color: var(--c-navy);
    font-size: 1.4rem;
    font-style: italic;
}

/* ====================================================================
   PAGES LÉGALES (mentions, confidentialité, cookies, accessibilité, sitemap)
   Toutes utilisent le partial partials/legal_page.php : hero + titre + body.
   ==================================================================== */
.legal-page {
    display: flex;
    flex-direction: column;
}

/* Corps de texte libre (HTML édité via TinyMCE depuis l'admin) */
.legal-body {
    color: var(--c-navy);
    font-size: 1.6rem;
    line-height: 1.55;
}
.legal-body h2,
.legal-body h3 {
    color: var(--c-navy);
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.legal-body h2 { font-size: 2.4rem; }
.legal-body h3 { font-size: 2rem; color: var(--c-green); }
.legal-body h2:first-child,
.legal-body h3:first-child {
    margin-top: 0;
}
.legal-body p {
    margin-bottom: 1.5rem;
}
.legal-body p:last-child {
    margin-bottom: 0;
}
.legal-body ul,
.legal-body ol {
    margin: 0 0 1.5rem 2rem;
    padding-left: 1.5rem;
}
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body li {
    margin-bottom: 0.7rem;
}
.legal-body a {
    color: var(--c-green);
    text-decoration: underline;
}
.legal-body a:hover {
    text-decoration: none;
}
.legal-body strong { font-weight: 700; }
.legal-body em     { font-style: italic; }

/* -- Plan du site ----------------------------------------------- */
.sitemap-tree {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}
.sitemap-tree__group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.sitemap-tree__heading {
    color: var(--c-green);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}
.sitemap-tree__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.sitemap-tree__list a {
    color: var(--c-navy);
    font-size: 1.6rem;
    font-weight: 500;
    text-decoration: none;
}
.sitemap-tree__list a:hover {
    color: var(--c-green);
    text-decoration: underline;
}

/* ====================================================================
   SIMULATEUR — Page d'entrée (sélection de société)
   Réutilise .offre-hero* pour le bandeau et .offre-content__title pour
   le titre de section. Les 3 cartes sont propres à cette page.
   ==================================================================== */

.simulator-entry__intro {
    color: var(--c-navy);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 30px 0;
}

.simulator-entry__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    align-items: stretch;
}

.simulator-entry__card {
    background: var(--c-white);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.20);
    color: var(--c-navy);
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    padding: 30px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.simulator-entry__card:hover {
    background: var(--c-green);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    color: var(--c-white);
    transform: translateY(-4px);
}

/* Le titre soci\u00e9t\u00e9 et le CTA basculent en blanc au hover (h\u00e9rit\u00e9 du color
   de la carte, mais on force ici car ils ont leur propre color au repos). */
.simulator-entry__card:hover .simulator-entry__card-company,
.simulator-entry__card:hover .simulator-entry__card-cta {
    color: var(--c-white);
}

.simulator-entry__card-company {
    color: var(--c-navy);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}

.simulator-entry__card-cta {
    align-items: center;
    color: var(--c-navy);
    display: inline-flex;
    font-size: 1.4rem;
    font-weight: 700;
    gap: 7px;
    text-transform: uppercase;
}

/* Fl\u00e8ches : m\u00eame bascule navy/blanche que .quick-card. */
.simulator-entry__card .quick-card__arrow--white { display: none; }
.simulator-entry__card:hover .quick-card__arrow--navy  { display: none; }
.simulator-entry__card:hover .quick-card__arrow--white { display: inline; }

/* Bloc \u00ab simulateur \u00e0 venir \u00bb (placeholders en attendant l'impl\u00e9mentation
   des 3 simulateurs FR). */
.simulator-coming {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px 0;
}

.simulator-coming__company {
    color: var(--c-green);
    font-weight: 600;
}

.simulator-coming__message {
    color: var(--c-navy);
    font-size: 1.8rem;
    line-height: 1.5;
    margin: 0;
}

.simulator-coming__back {
    text-decoration: none;
}

/* ====================================================================
   SIMULATEUR CLASSIQUE — France FR
   Cadres navy, fonds gris #F1F1F1 pour les zones d'input, blocs blancs
   avec ombre pour les résultats, gradient navy→vert sur les pastilles
   importantes (économie, gain à échéance).
   ==================================================================== */

.sim-cls {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.sim-cls__section {
    border: 1px solid var(--c-navy);
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px;
}

.sim-cls__section-title {
    color: var(--c-navy);
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.sim-cls__intro {
    color: var(--c-navy);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

/* Lignes input/result : fond gris pour input, blanc-ombre pour result */
.sim-cls__row {
    align-items: center;
    display: flex;
    gap: 30px;
    padding: 15px;
}
.sim-cls__row--input {
    background: #F1F1F1;
}
.sim-cls__row--result {
    background: var(--c-white);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.20);
}

.sim-cls__label {
    align-items: center;
    color: var(--c-navy);
    display: inline-flex;
    flex: 1 1 0;
    font-size: 1.6rem;
    font-weight: 700;
    gap: 7px;
    line-height: 1.4;
}
.sim-cls__label--white { color: var(--c-white); }

.sim-cls__highlight  { color: var(--c-green); font-weight: 700; }

/* Pastille info "i" cliquable + tooltip via title */
.sim-cls__info {
    align-items: center;
    background: var(--c-white);
    border: 1px solid var(--c-navy);
    border-radius: 50%;
    color: var(--c-navy);
    cursor: help;
    display: inline-flex;
    flex-shrink: 0;
    font-family: serif;
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 700;
    height: 16px;
    justify-content: center;
    width: 16px;
}
.sim-cls__info[data-tip]:hover::after,
.sim-cls__info[data-tip]:focus::after {
    background: var(--c-navy);
    border-radius: 4px;
    color: var(--c-white);
    content: attr(data-tip);
    font-family: var(--ff-sans, 'Work Sans', sans-serif);
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 400;
    left: 50%;
    max-width: 280px;
    padding: 8px 12px;
    position: absolute;
    transform: translateX(-50%) translateY(20px);
    white-space: normal;
    width: max-content;
    z-index: 10;
}
.sim-cls__info { position: relative; }

/* Inputs num\u00e9riques */
.sim-cls__input {
    background: var(--c-white);
    border: 1px solid transparent;
    color: #2D4691;
    font-family: inherit;
    font-size: 1.6rem;
    font-weight: 400;
    padding: 6px 8px;
    text-align: center;
    width: 120px;
}
.sim-cls__input:focus {
    border-color: var(--c-navy);
    outline: none;
}

/* Sliders natifs : track gris uni, thumb vert avec bord navy.
   Pour faire dynamiquement la barre remplie au gauche du thumb, il faudrait
   du JS qui maintient une variable CSS \u00e0 jour ; on garde simple pour l'instant. */
.sim-cls__slider {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    min-width: 200px;
}
.sim-cls__slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: #D9D9D9;
    border-radius: 4px;
    height: 4px;
    outline: none;
    width: 100%;
}
.sim-cls__slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: var(--c-green);
    border: 2px solid var(--c-navy);
    border-radius: 50%;
    cursor: pointer;
    height: 24px;
    width: 24px;
}
.sim-cls__slider input[type="range"]::-moz-range-thumb {
    background: var(--c-green);
    border: 2px solid var(--c-navy);
    border-radius: 50%;
    cursor: pointer;
    height: 24px;
    width: 24px;
}

/* Outputs (lecture seule) */
.sim-cls__output {
    background: var(--c-white);
    color: var(--c-navy);
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 700;
    min-width: 120px;
    padding: 8px;
    text-align: center;
}
.sim-cls__output--editable {
    color: #2D4691;
    cursor: text;
    font-weight: 400;
    transition: outline-color 0.15s ease;
}
.sim-cls__output--editable[contenteditable="true"]:hover {
    outline: 1px dashed var(--c-navy);
    outline-offset: -1px;
}
.sim-cls__output--editable[contenteditable="true"]:focus {
    outline: 1px solid var(--c-navy);
    outline-offset: -1px;
}
.sim-cls__output--white {
    background: transparent;
    color: var(--c-white);
}
.sim-cls__output--gradient {
    background: linear-gradient(90deg, #252D65 0%, var(--c-green) 100%);
    color: var(--c-white);
}

/* Pastille décote -25 % */
.sim-cls__discount {
    background: linear-gradient(90deg, #252D65 0%, var(--c-green) 100%);
    color: var(--c-white);
    font-size: 1.6rem;
    font-weight: 700;
    padding: 2px 8px;
}

/* Pastille performance ±X% */
.sim-cls__perf-pct {
    background: var(--c-green);
    color: var(--c-white);
    font-size: 1.6rem;
    font-weight: 700;
    padding: 2px 8px;
}

/* Triple colonne section 3 */
.sim-cls__triple {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}
.sim-cls__pillar {
    align-items: center;
    background: #F1F1F1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 15px;
    text-align: center;
}
.sim-cls__pillar-title {
    color: var(--c-navy);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}
.sim-cls__remaining {
    color: var(--c-green);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    min-height: 1.5em;
}
.sim-cls__monthly {
    color: var(--c-navy);
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 500;
    margin: 0;
    min-height: 1.5em;
}

/* Bloc r\u00e9capitulatif section 3 (3 lignes empil\u00e9es) */
.sim-cls__summary {
    background: var(--c-white);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.20);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 15px;
}
.sim-cls__summary-row {
    align-items: center;
    display: flex;
    gap: 30px;
    justify-content: space-between;
}
.sim-cls__summary-row--gradient {
    background: linear-gradient(90deg, #252D65 0%, var(--c-green) 100%);
    color: var(--c-white);
    margin-top: 8px;
    padding: 7px 16px;
}
.sim-cls__summary-row--gradient .sim-cls__label { color: var(--c-white); }

/* Bloc break-even (gradient pleine largeur) */
.sim-cls__breakeven {
    align-items: center;
    background: linear-gradient(90deg, #252D65 0%, var(--c-green) 100%);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.20);
    display: flex;
    gap: 15px;
    justify-content: space-between;
    padding: 7px 15px;
}

/* ====================================================================
   SIMULATEUR boArd — France FR
   Variant du simulateur avec layout 4 sections :
     1. Prix de l'action — pleine largeur en haut
     2. Maximum d'investissement — colonne gauche (50%)
     3. Investissement à la souscription — colonne droite (50%)
     4. Investissement à l'échéance — pleine largeur en bas
   Cadres navy, fonds gris #F1F1F1 pour les zones d'input, blocs blancs
   avec ombre pour les résultats. Labels CENTRÉS dans les zones d'input.
   ==================================================================== */

.sim-brd {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

/* Layout principal : sections 2 + 3 c\u00f4te-\u00e0-c\u00f4te (50/50) */
.sim-brd__columns {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr;
}
.sim-brd__columns > .sim-brd__section {
    margin: 0;  /* annule le margin-bottom potentiel */
}

.sim-brd__section {
    border: 1px solid var(--c-navy);
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px;
}

.sim-brd__section-title {
    color: var(--c-navy);
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.sim-brd__intro {
    color: var(--c-navy);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

/* Lignes input/result : fond gris pour input, blanc-ombre pour result */
.sim-brd__row {
    align-items: center;
    display: flex;
    gap: 15px;
    padding: 15px;
}
.sim-brd__row--input {
    background: #F1F1F1;
}
.sim-brd__row--result {
    background: var(--c-white);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.20);
}
/* Variante centr\u00e9e (sections 2/3 : labels au-dessus des inputs) */
.sim-brd__row--centered {
    align-items: center;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}
/* Variante stack (slider sur 2 lignes : label dessus, slider+output dessous) */
.sim-brd__row--stack {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
}

.sim-brd__label {
    align-items: center;
    color: var(--c-navy);
    display: inline-flex;
    flex: 1 1 0;
    font-size: 1.6rem;
    font-weight: 700;
    gap: 7px;
    line-height: 1.4;
}
.sim-brd__label--center {
    flex: 0 1 auto;
    justify-content: center;
    text-align: center;
}
.sim-brd__label--white { color: var(--c-white); }

.sim-brd__highlight  { color: var(--c-green); font-weight: 700; }

/* Pastille info "i" cliquable + tooltip */
.sim-brd__info {
    align-items: center;
    background: var(--c-white);
    border: 1px solid var(--c-navy);
    border-radius: 50%;
    color: var(--c-navy);
    cursor: help;
    display: inline-flex;
    flex-shrink: 0;
    font-family: serif;
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 700;
    height: 16px;
    justify-content: center;
    position: relative;
    width: 16px;
}
.sim-brd__info[data-tip]:hover::after,
.sim-brd__info[data-tip]:focus::after {
    background: var(--c-navy);
    border-radius: 4px;
    color: var(--c-white);
    content: attr(data-tip);
    font-family: var(--ff-sans, 'Work Sans', sans-serif);
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 400;
    left: 50%;
    max-width: 280px;
    padding: 8px 12px;
    position: absolute;
    transform: translateX(-50%) translateY(20px);
    white-space: normal;
    width: max-content;
    z-index: 10;
}

/* Inputs num\u00e9riques */
.sim-brd__input {
    background: var(--c-white);
    border: 1px solid transparent;
    color: #2D4691;
    font-family: inherit;
    font-size: 1.6rem;
    font-weight: 400;
    padding: 6px 8px;
    text-align: center;
    width: 120px;
}
.sim-brd__input:focus {
    border-color: var(--c-navy);
    outline: none;
}

/* Sliders */
.sim-brd__slider-line {
    align-items: center;
    display: flex;
    gap: 15px;
    width: 100%;
}
.sim-brd__slider {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    min-width: 200px;
}
.sim-brd__slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: #D9D9D9;
    border-radius: 4px;
    height: 4px;
    outline: none;
    width: 100%;
}
.sim-brd__slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: var(--c-green);
    border: 2px solid var(--c-navy);
    border-radius: 50%;
    cursor: pointer;
    height: 24px;
    width: 24px;
}
.sim-brd__slider input[type="range"]::-moz-range-thumb {
    background: var(--c-green);
    border: 2px solid var(--c-navy);
    border-radius: 50%;
    cursor: pointer;
    height: 24px;
    width: 24px;
}

/* Outputs (lecture seule) */
.sim-brd__output {
    background: var(--c-white);
    color: var(--c-navy);
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 700;
    min-width: 120px;
    padding: 8px;
    text-align: center;
}
.sim-brd__output--editable {
    color: #2D4691;
    cursor: text;
    font-weight: 400;
    transition: outline-color 0.15s ease;
}
.sim-brd__output--editable[contenteditable="true"]:hover {
    outline: 1px dashed var(--c-navy);
    outline-offset: -1px;
}
.sim-brd__output--editable[contenteditable="true"]:focus {
    outline: 1px solid var(--c-navy);
    outline-offset: -1px;
}
.sim-brd__output--white {
    background: transparent;
    color: var(--c-white);
}
.sim-brd__output--gradient {
    background: linear-gradient(90deg, #252D65 0%, var(--c-green) 100%);
    color: var(--c-white);
}

/* Pastille d\u00e9cote -25 % */
.sim-brd__discount {
    background: linear-gradient(90deg, #252D65 0%, var(--c-green) 100%);
    color: var(--c-white);
    font-size: 1.6rem;
    font-weight: 700;
    padding: 2px 8px;
}

/* Pastille performance ±X% */
.sim-brd__perf-pct {
    background: var(--c-green);
    color: var(--c-white);
    font-size: 1.6rem;
    font-weight: 700;
    padding: 2px 8px;
}

/* Section 3 : ligne pr\u00e9l\u00e8vement (input + pastille mensualit\u00e9) */
.sim-brd__payroll-line {
    align-items: center;
    display: flex;
    gap: 7px;
    justify-content: center;
}

/* Pastille mensualit\u00e9 boArd : gris-bleu, blanc italique */
.sim-brd__monthly-pill {
    background: #648296;
    color: var(--c-white);
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 500;
    padding: 6px 8px;
}
.sim-brd__monthly-pill:empty { display: none; }

/* "Reste : XXX €" en vert sous chaque input */
.sim-brd__remaining {
    color: var(--c-green);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    min-height: 1.5em;
    text-align: center;
}

/* Bloc r\u00e9capitulatif section 3 */
.sim-brd__summary {
    background: var(--c-white);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.20);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 15px;
}
.sim-brd__summary-row {
    align-items: center;
    display: flex;
    gap: 15px;
    justify-content: space-between;
}
.sim-brd__summary-row--gradient {
    background: linear-gradient(90deg, #252D65 0%, var(--c-green) 100%);
    color: var(--c-white);
    margin-top: 8px;
    padding: 7px 16px;
}
.sim-brd__summary-row--gradient .sim-brd__label { color: var(--c-white); }

/* Bloc break-even (gradient pleine largeur) */
.sim-brd__breakeven {
    align-items: center;
    background: linear-gradient(90deg, #252D65 0%, var(--c-green) 100%);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.20);
    display: flex;
    gap: 15px;
    justify-content: space-between;
    padding: 7px 15px;
}

/* ====================================================================
   SIMULATEUR Step BY STEP — France FR
   Variant avec stepper et navigation pas-\u00e0-pas. Wrapper externe avec
   bordure navy englobant tout (stepper + panneau actif + boutons).
   Chaque panneau (sec1 \u00e0 sec4) est masqu\u00e9 sauf l'actif.
   ==================================================================== */

.sim-sbs {
    border: 1px solid var(--c-navy);
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
    padding: 30px;
}

/* — Stepper en haut — */
.sim-sbs__stepper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.sim-sbs__step {
    background: #F1F1F1;
    border: none;
    color: var(--c-green);
    cursor: pointer;
    font-family: inherit;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 6px 12px;
    text-transform: uppercase;
    transition: background-color 0.15s ease;
}
.sim-sbs__step:hover {
    background: #E5E5E5;
}
.sim-sbs__step--done {
    /* \u00c9tape compl\u00e9t\u00e9e : reste gris+vert mais avec curseur clic indiquant
       qu'on peut y revenir */
    background: #F1F1F1;
    color: var(--c-green);
}
.sim-sbs__step--active {
    background: var(--c-green);
    color: var(--c-white);
    cursor: default;
}
.sim-sbs__step--active:hover {
    background: var(--c-green);
}

/* — Panneaux : un seul visible \u00e0 la fois — */
.sim-sbs__panel {
    display: none;
    flex-direction: column;
    gap: 15px;
}
.sim-sbs__panel--active {
    display: flex;
}

.sim-sbs__section-title {
    color: var(--c-navy);
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.sim-sbs__intro {
    color: var(--c-navy);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

/* — Lignes input/result — */
.sim-sbs__row {
    align-items: center;
    display: flex;
    gap: 30px;
    padding: 15px;
}
.sim-sbs__row--input {
    background: #F1F1F1;
}
.sim-sbs__row--result {
    background: var(--c-white);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.20);
}
.sim-sbs__row--stack {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
}

.sim-sbs__label {
    align-items: center;
    color: var(--c-navy);
    display: inline-flex;
    flex: 1 1 0;
    font-size: 1.6rem;
    font-weight: 700;
    gap: 7px;
    line-height: 1.4;
}
.sim-sbs__label--white { color: var(--c-white); }
.sim-sbs__highlight  { color: var(--c-green); font-weight: 700; }

/* — Pastille info "i" — */
.sim-sbs__info {
    align-items: center;
    background: var(--c-white);
    border: 1px solid var(--c-navy);
    border-radius: 50%;
    color: var(--c-navy);
    cursor: help;
    display: inline-flex;
    flex-shrink: 0;
    font-family: serif;
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 700;
    height: 16px;
    justify-content: center;
    position: relative;
    width: 16px;
}
.sim-sbs__info[data-tip]:hover::after,
.sim-sbs__info[data-tip]:focus::after {
    background: var(--c-navy);
    border-radius: 4px;
    color: var(--c-white);
    content: attr(data-tip);
    font-family: var(--ff-sans, 'Work Sans', sans-serif);
    font-size: 1.2rem;
    font-style: normal;
    font-weight: 400;
    left: 50%;
    max-width: 280px;
    padding: 8px 12px;
    position: absolute;
    transform: translateX(-50%) translateY(20px);
    white-space: normal;
    width: max-content;
    z-index: 10;
}

/* — Inputs num\u00e9riques — */
.sim-sbs__input {
    background: var(--c-white);
    border: 1px solid transparent;
    color: #2D4691;
    font-family: inherit;
    font-size: 1.6rem;
    font-weight: 400;
    padding: 6px 8px;
    text-align: center;
    width: 120px;
}
.sim-sbs__input:focus {
    border-color: var(--c-navy);
    outline: none;
}

/* — Sliders — */
.sim-sbs__slider-line {
    align-items: center;
    display: flex;
    gap: 15px;
    width: 100%;
}
.sim-sbs__slider {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    min-width: 200px;
}
.sim-sbs__slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: #D9D9D9;
    border-radius: 4px;
    height: 4px;
    outline: none;
    width: 100%;
}
.sim-sbs__slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: var(--c-green);
    border: 2px solid var(--c-navy);
    border-radius: 50%;
    cursor: pointer;
    height: 24px;
    width: 24px;
}
.sim-sbs__slider input[type="range"]::-moz-range-thumb {
    background: var(--c-green);
    border: 2px solid var(--c-navy);
    border-radius: 50%;
    cursor: pointer;
    height: 24px;
    width: 24px;
}

/* — Outputs — */
.sim-sbs__output {
    background: var(--c-white);
    color: var(--c-navy);
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 700;
    min-width: 120px;
    padding: 8px;
    text-align: center;
}
.sim-sbs__output--editable {
    color: #2D4691;
    cursor: text;
    font-weight: 400;
    transition: outline-color 0.15s ease;
}
.sim-sbs__output--editable[contenteditable="true"]:hover {
    outline: 1px dashed var(--c-navy);
    outline-offset: -1px;
}
.sim-sbs__output--editable[contenteditable="true"]:focus {
    outline: 1px solid var(--c-navy);
    outline-offset: -1px;
}
.sim-sbs__output--white {
    background: transparent;
    color: var(--c-white);
}
.sim-sbs__output--gradient {
    background: linear-gradient(90deg, #252D65 0%, var(--c-green) 100%);
    color: var(--c-white);
}

/* — Pastilles — */
.sim-sbs__discount {
    background: linear-gradient(90deg, #252D65 0%, var(--c-green) 100%);
    color: var(--c-white);
    font-size: 1.6rem;
    font-weight: 700;
    padding: 2px 8px;
}
.sim-sbs__perf-pct {
    background: var(--c-green);
    color: var(--c-white);
    font-size: 1.6rem;
    font-weight: 700;
    padding: 2px 8px;
}

/* — Triple colonne (\u00e9tape 3) — */
.sim-sbs__triple {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}
.sim-sbs__pillar {
    align-items: center;
    background: #F1F1F1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 15px;
    text-align: center;
}
.sim-sbs__pillar-title {
    color: var(--c-navy);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}
.sim-sbs__remaining {
    color: var(--c-green);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    min-height: 1.5em;
}
.sim-sbs__monthly {
    color: var(--c-navy);
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 500;
    margin: 0;
    min-height: 1.5em;
}

/* — R\u00e9capitulatif (\u00e9tape 3) — */
.sim-sbs__summary {
    background: var(--c-white);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.20);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 15px;
}
.sim-sbs__summary-row {
    align-items: center;
    display: flex;
    gap: 30px;
    justify-content: space-between;
}
.sim-sbs__summary-row--gradient {
    background: linear-gradient(90deg, #252D65 0%, var(--c-green) 100%);
    color: var(--c-white);
    margin-top: 8px;
    padding: 7px 16px;
}
.sim-sbs__summary-row--gradient .sim-sbs__label { color: var(--c-white); }

/* — Break-even (\u00e9tape 4) — */
.sim-sbs__breakeven {
    align-items: center;
    background: linear-gradient(90deg, #252D65 0%, var(--c-green) 100%);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.20);
    display: flex;
    gap: 15px;
    justify-content: space-between;
    padding: 7px 15px;
}

/* — Boutons navigation pr\u00e9c\u00e9dent / suivant / souscrire — */
.sim-sbs__nav {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 15px;
}
.sim-sbs__btn {
    background: var(--c-white);
    border: 1px solid var(--c-navy);
    color: var(--c-navy);
    cursor: pointer;
    font-family: inherit;
    font-size: 1.4rem;
    font-weight: 600;
    padding: 6px 12px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.sim-sbs__btn:hover {
    background: var(--c-navy);
    color: var(--c-white);
}
.sim-sbs__btn--next {
    background: var(--c-navy);
    color: var(--c-white);
}
.sim-sbs__btn--next:hover {
    background: var(--c-white);
    color: var(--c-navy);
}
.sim-sbs__btn--subscribe {
    background: var(--c-green);
    border-color: var(--c-green);
    color: var(--c-white);
}
.sim-sbs__btn--subscribe:hover {
    background: var(--c-white);
    color: var(--c-green);
}
