    /* ============================================================
       Layout dynamique de l'accueil (rows + columns, format V2)
       ============================================================ */
    .accueil-row {
      width: 100%;
      display: block;
    }
    .accueil-row.accueil-row-multi {
      display: flex;
      flex-wrap: nowrap; /* JAMAIS d'empilement automatique → toujours côte à côte */
      align-items: center; /* CENTRÉ PAR DÉFAUT verticalement (modif possible via row.valign) */
      gap: 16px;
    }
    /* Alignement horizontal des colonnes quand leur somme < 12 */
    .accueil-row.accueil-row-multi.accueil-row-align-left   { justify-content: flex-start; }
    .accueil-row.accueil-row-multi.accueil-row-align-center { justify-content: center; }
    .accueil-row.accueil-row-multi.accueil-row-align-right  { justify-content: flex-end; }
    /* Alignement vertical des colonnes (utile quand hauteurs différentes) */
    .accueil-row.accueil-row-multi.accueil-row-valign-top    { align-items: flex-start; }
    .accueil-row.accueil-row-multi.accueil-row-valign-center { align-items: center; }
    .accueil-row.accueil-row-multi.accueil-row-valign-bottom { align-items: flex-end; }
    /* Les colonnes contenant un bloc HTML s'étirent TOUJOURS pleine hauteur de la ligne,
       quel que soit row.valign. Comme ça, l'alignement interne du bloc HTML (top/center/
       bottom du contenu) est visible même si la ligne a align-items:center. */
    .accueil-row.accueil-row-multi > .accueil-col.accueil-col-html {
      align-self: stretch !important;
    }
    /* Wrapper FLEX COLUMN → désactive le margin-collapse entre rows adjacentes.
       L'utilisateur peut alors mettre 0/0 efficacement (sinon les margins s'écrasent). */
    .accueil-rows-wrapper {
      display: flex;
      flex-direction: column;
    }
    /* IMPORTANT : annule TOUTES les margins intrinsèques des sections (reg-bar a
       7.5rem top, custom-content 5rem, etc.) pour que la ROW soit LA seule source de
       spacing vertical. Sinon mettre row.spaceTop=0 ne fait rien : la section interne
       garde son margin et crée du blanc. */
    .accueil-rows-wrapper > .accueil-row > .accueil-col > * {
      margin-top: 0 !important;
      margin-bottom: 0 !important;
    }
    /* Espace par défaut entre rows : 5rem au-dessus de chaque row (sauf la 1re).
       Pas de margin-bottom par défaut → user peut additionner avec row.spaceTop suivant.
       Override par row.spaceTop / row.spaceBottom (inline style). */
    .accueil-rows-wrapper > .accueil-row {
      margin-top: 5rem;
      margin-bottom: 0;
    }
    .accueil-rows-wrapper > .accueil-row:first-child { margin-top: 0; }
    @media (max-width: 768px) {
      .accueil-rows-wrapper > .accueil-row { margin-top: 3rem; }
    }
    /* flex-grow proportionnel à --col-w (valeur Bootstrap 1..12) → la `gap: 16px` est
       automatiquement absorbée car flex-basis = 0. Plus de wrap accidentel à cause
       du gap qui dépasse 100%. */
    .accueil-col {
      flex: var(--col-w, 12) 1 0;
      min-width: 0;
      box-sizing: border-box;
    }
    @media (max-width: 768px) {
      /* Sur mobile, toutes les colonnes passent en pleine largeur */
      .accueil-row.accueil-row-multi {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
      }
      .accueil-col {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
      }
    }

    :root{
      /* Global / page */
      --page-bg: #ffffff;
      --page-text: #0f172a;          /* slate-900 */
      --page-muted: rgba(15,23,42,.65);

      /* Floating pill (desktop + mobile top bar) */
      --pill-bg: #ffffff;
      --pill-border: rgba(15,23,42,.10);
      --pill-shadow: 0 14px 40px rgba(2,6,23,.12);

      /* Desktop mega menu */
      --mega-bg: #ffffff;
      --mega-border: rgba(15,23,42,.10);
      --mega-shadow: 0 18px 60px rgba(2,6,23,.16);

      /* Mobile drawer panel (WHITE) */
      --drawer-bg: #ffffff;
      --drawer-border: rgba(15,23,42,.12);
      --drawer-shadow: 0 30px 90px rgba(2,6,23,.18);

      /* Hovers */
      --hover: rgba(2,6,23,.06);

      /* Accents — reliés au thème */
      --accent: #6d28d9; /* violet */
      --pink: var(--primary, #db2777);
      --pink-dark: var(--primary-hover, #be185d);
      --mobile-header-bg: rgba(255, 255, 255, 0.82);

      /* Radius — reliés au thème */
      --radius-pill: var(--radius, 14px);
      --radius-btn: var(--radius, 14px);
      --radius-panel: var(--radius-lg, 18px);

      /* widths */
      --nav-max: clamp(820px, 86vw, 2000px);
      --side-pad: clamp(16px, 2.2vw, 28px);
      --content-width: min(var(--nav-max), calc(100% - (var(--side-pad) * 2)));
      --nav-space: 0px;
    }

    *{ box-sizing: border-box; }
    body{
      margin:0;
      color: var(--page-text);
      font-family: var(--font-family, system-ui, sans-serif);
      background: var(--page-bg);
      padding-top: 0;
      transition: none;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }
    main{
      flex: 1;
    }
    body.nav-scrolled{
      padding-top: var(--nav-space);
    }

    /* ===== Flash Info Banner ===== */
    .flash-banner{
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 10001;
      background: var(--flash-bg, #db2777);
      color: var(--flash-text, #ffffff);
      overflow: hidden;
      white-space: nowrap;
      padding: 0.625rem 0;
      box-shadow: 0 2px 12px rgba(0,0,0,.15);
    }
    body.has-flash-banner{
      padding-top: 2.375rem;
    }
    body.has-flash-banner .floating-nav{
      top: 2.375rem;
    }
    body.has-flash-banner.nav-scrolled .floating-nav{
      top: 3.5rem;
    }
    body.has-flash-banner .mobile-header{
      top: 2.375rem;
    }
    /* Le méga-menu et son voile flou sont en position fixe, calés sur la
       navbar sans bandeau (cf. fer-modern.css) : les décaler de la hauteur du
       bandeau, sinon ils recouvrent le bas de la navbar au survol. */
    body.has-flash-banner .mega-overlay{
      top: calc(4.375rem + 2.375rem);
    }
    body.has-flash-banner.nav-scrolled .mega-overlay{
      top: 0;
    }
    body.has-flash-banner .mega{
      top: calc(5.125rem + 2.375rem);
    }
    body.has-flash-banner.nav-scrolled .mega{
      top: calc(6.625rem + 2.375rem);
    }
    @media (max-width: 1040px){
      /* Ne décaler que de la hauteur du bandeau : la .mobile-header est fixe et
         semi-transparente (elle flotte au-dessus du hero, top: 2.375rem). Compter
         aussi sa hauteur ici la comptait deux fois → gros espace logo/vidéo. */
      body.has-flash-banner{
        padding-top: 2.375rem !important;
      }
    }
    @keyframes flash-gradient{
      0%,100%{ background-position: 0% 50%; }
      50%{ background-position: 100% 50%; }
    }
    .flash-banner-track{
      display: inline-flex;
      min-width: 200%;
      animation: flash-scroll 60s linear infinite;
    }
    .flash-banner-track:hover{
      animation-play-state: paused;
    }
    .flash-banner-group{
      display: inline-flex;
      min-width: 100vw;
    }
    @keyframes flash-scroll{
      0%{ transform: translateX(0); }
      100%{ transform: translateX(-50%); }
    }
    .flash-banner-item{
      display: inline-flex;
      align-items: center;
      gap: 0.625rem;
      padding: 0 3rem;
      font-size: 0.875rem;
      font-weight: 600;
      color: inherit;
      letter-spacing: 0.02em;
      text-transform: uppercase;
    }
    .flash-banner-item::before{
      content: '';
      display: inline-block;
      width: 0.375rem;
      height: 0.375rem;
      background: currentColor;
      opacity: .7;
      border-radius: 50%;
      flex-shrink: 0;
    }
    @media (max-width: 600px){
      .flash-banner-item{ font-size: 0.75rem; padding: 0 2rem; }
    }

    /* ===== Hero PC/Mobile toggle ===== */
    .hero-mobile{ display: none; }
    .hero-pc{ display: block; }
    @media (max-width: 1040px){
      .hero-pc{ display: none; }
      .hero-mobile{ display: block; }
    }

    /* ===== Hero logo image (mode image) ===== */
    .hero-logo-img{
      max-width: min(90%, 26.25rem);
      max-height: 10rem;
      width: auto;
      height: auto;
      object-fit: contain;
      display: block;
      filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));
      margin-bottom: 0.5rem;
    }
    @media (max-width: 600px){
      .hero-logo-img{ max-height: 6.25rem; max-width: 80%; }
    }



    /* ===== Main content ===== */
    main{
      width: var(--content-width);
      margin: 0 auto;
      padding: 1.25rem 0 0; /* padding-bottom = 0 : c'est row.spaceBottom de la dernière ligne qui contrôle l'écart avec le footer (sinon ce padding fixe écraserait le réglage utilisateur) */
      text-align:center;
    }
    h1{
      margin: 1.75rem 0 1.125rem;
      font-size: clamp(2rem, 5vw, 3.625rem);
      letter-spacing: -0.03em;
      line-height: 1.05;
    }
    p.sub{
      max-width: 60rem;
      margin: 0 auto 1.375rem;
      color: var(--page-muted);
      line-height: 1.6;
    }
    /* ===== REGISTRATION CARD - SPLIT DIAGONAL ===== */
    .reg-bar {
      margin: 7.5rem auto 2.25rem;
    }

    .reg-card {
      display: grid;
      grid-template-columns: 2fr 3fr;
      min-height: 8.75rem;
      border-radius: var(--radius-lg);
      overflow: hidden;
      position: relative;
      background: var(--primary-light, #fdf2f8);
    }

    .reg-count {
      background: var(--secondary, #0f172a);
      padding: 1.5rem;
      padding-right: 3rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
      clip-path: none;
      margin-right: -2.5rem;
      z-index: 2;
    }
    .reg-count::after {
      content: '';
      position: absolute;
      top: 0;
      right: -6.25rem;
      width: 6.25rem;
      height: 100%;
      background-color: var(--secondary, #0f172a);
      -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L65,0 C40,15 60,35 25,50 C-10,65 20,85 0,100 L0,100 Z' fill='white'/%3E%3C/svg%3E");
      mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L65,0 C40,15 60,35 25,50 C-10,65 20,85 0,100 L0,100 Z' fill='white'/%3E%3C/svg%3E");
      -webkit-mask-size: 100% 100%;
      mask-size: 100% 100%;
    }

    /* Tailles des textes de la card : baselines multipliées par --rb-scale
       (desktop) / --rb-scale-m (mobile), posées inline par l'éditeur d'accueil
       (slider de taille, 50-300 %). Sans réglage, var() retombe sur 1. */
    .reg-count .reg-kicker {
      font-size: calc(0.8125rem * var(--rb-scale, 1)); /* +2px */
      color: var(--secondary-text, #fff); opacity: .5;
      text-transform: uppercase;
      letter-spacing: .12em;
      margin-bottom: 0.5rem;
      font-weight: 600;
    }

    .reg-count .reg-value {
      font-size: calc(3.5rem * var(--rb-scale, 1));
      font-weight: 900;
      color: var(--secondary-text, #fff);
      line-height: 1;
      letter-spacing: -.03em;
    }

    /* État "Fermées" : baseline réduite, même mécanique de scale que le compteur */
    .reg-count .reg-value--closed {
      font-size: calc(1.2rem * var(--rb-scale, 1));
    }

    .reg-count .reg-note {
      display: none; /* Caché dans cette version */
    }

    /* Variantes "urgence" / "solidaire" du bloc gauche (reg_bar.display_style) :
       remplacent le compteur par un titre accrocheur + un texte court.
       Couleur en !important : le fond de .reg-count est toujours --secondary (foncé),
       on garantit le contraste quel que soit le thème / les overrides. */
    .reg-count .reg-msg-title {
      font-size: calc(1.9rem * var(--rb-scale, 1));
      font-weight: 900;
      color: var(--secondary-text, #fff) !important;
      line-height: 1.15;
      letter-spacing: -.01em;
    }
    .reg-count .reg-msg-text {
      margin-top: 0.625rem;
      font-size: calc(1.1rem * var(--rb-scale, 1));
      font-weight: 600;
      color: var(--secondary-text, #fff) !important;
      opacity: .92;
      line-height: 1.45;
    }

    .reg-search {
      background: transparent;
      padding: 1.5rem 1.5rem 1.5rem 6.875rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      position: relative;
      z-index: 3;
    }

    .reg-title {
      font-size: calc(1rem * var(--rb-scale, 1)); /* +2px */
      font-weight: 700;
      color: var(--page-text);
      margin: 0 0 0.625rem;
    }

    /* Champ "Vérifier mon inscription" : même habillage que le formulaire
       newsletter (.newsletter-input-row) — pilule blanche + bouton sombre. */
    .reg-form {
      display: flex;
      align-items: stretch;
      gap: .4rem;
      background: #ffffff;
      border-radius: var(--radius-pill, 999px);
      padding: .35rem;
      box-shadow: 0 2px 10px rgba(2, 6, 23, .08);
    }

    .reg-input {
      flex: 1 1 auto;
      min-width: 0;
      border: 0;
      background: transparent;
      padding: .6rem 1rem;
      font-size: 1rem;
      font-family: inherit;
      color: var(--page-text, #0f172a);
      outline: none;
      box-shadow: none;
    }

    .reg-input::placeholder { color: #9ca3af; }
    .reg-input:focus { outline: none; box-shadow: none; }

    /* Bouton "Vérifier" — copie de .newsletter-submit (surcharge le système
       unifié de fer-modern.css grâce à une spécificité plus forte). */
    .reg-form .reg-submit {
      flex: 0 0 auto;
      border: 0;
      cursor: pointer;
      background: var(--primary, #db2777);
      color: #ffffff;
      font-family: inherit;
      font-weight: 800;
      font-size: calc(.95rem * var(--rb-scale, 1));
      text-transform: none;
      letter-spacing: .01em;
      padding: .65rem 1.6rem;
      border-radius: var(--radius-pill, 999px);
      transition: filter .15s ease;
    }
    .reg-form .reg-submit:hover { filter: brightness(1.12); }

    .reg-hint {
      margin: 0.75rem 0 0;
      color: #6b7280;
      font-size: calc(0.75rem * var(--rb-scale, 1));
    }

    /* Message de retour : encart blanc + pastille-icône — copie exacte du
       rendu de .newsletter-feedback. */
    .reg-result {
      /* width:100% → l'encart fait exactement la même largeur que le champ
         au-dessus (.reg-form), quel que soit le contexte flex parent. */
      width: 100%;
      box-sizing: border-box;
      margin: .85rem 0 0;
      font-size: .9rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: .5rem;
      padding: .7rem 1rem;
      border-radius: 10px;
      background: #ffffff;
      border: 0;
      box-shadow: 0 6px 18px rgba(2, 6, 23, .18);
      animation: nlFeedbackIn .28s ease;
    }
    .reg-result::before {
      flex: 0 0 auto;
      width: 1.25rem;
      height: 1.25rem;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      color: #ffffff;
      font-size: .8rem;
      line-height: 1;
    }
    .reg-result.success { color: #15803d; }
    .reg-result.success::before { content: "\2713"; background: #16a34a; }
    .reg-result.warn { color: #92400e; }
    .reg-result.warn::before { content: "\0021"; background: #d97706; }
    .reg-result.danger { color: #b91c1c; }
    .reg-result.danger::before { content: "\0021"; background: #dc2626; }

    /* Responsive */
    @media (max-width: 700px) {
      .reg-card { 
        grid-template-columns: 1fr; 
      }
      
      .reg-count {
        clip-path: none;
        margin-right: 0;
        padding: 1rem 1.5rem;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
      }
      .reg-count::after {
        top: auto;
        bottom: -2.4375rem;
        right: 0;
        left: 0;
        width: 100%;
        height: 2.5rem;
        background-color: var(--secondary, #0f172a);
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L0,15 Q15,25 30,15 Q45,5 60,15 Q75,25 90,15 Q105,5 120,15 L120,0 Z' fill='white'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L0,15 Q15,25 30,15 Q45,5 60,15 Q75,25 90,15 Q105,5 120,15 L120,0 Z' fill='white'/%3E%3C/svg%3E");
        -webkit-mask-size: 100% 100%;
        mask-size: 100% 100%;
      }
      
      /* En mobile, la taille personnalisée vient de --rb-scale-m si l'admin a
         réglé une taille en vue mobile, sinon retombe sur --rb-scale (desktop). */
      .reg-count .reg-kicker {
        margin-bottom: 0;
        margin-top: 0.375rem;
        font-size: calc(0.8125rem * var(--rb-scale-m, var(--rb-scale, 1)));
      }

      .reg-count .reg-value {
        font-size: calc(2.5rem * var(--rb-scale-m, var(--rb-scale, 1)));
        margin-top: 0.375rem;
      }
      .reg-count .reg-value--closed {
        font-size: calc(1.2rem * var(--rb-scale-m, var(--rb-scale, 1)));
      }

      /* Variantes message : en mobile, .reg-count passe en row pour le compteur,
         mais un titre + paragraphe se lisent mieux empilés. */
      .reg-count--message {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
      }
      .reg-count--message .reg-msg-title {
        font-size: calc(1.5rem * var(--rb-scale-m, var(--rb-scale, 1)));
      }
      .reg-count--message .reg-msg-text {
        margin-top: 0.25rem;
        font-size: calc(1rem * var(--rb-scale-m, var(--rb-scale, 1)));
      }

      .reg-search {
        padding: 1.5rem;
        margin-top: 3px;
      }
      .reg-title{
        text-align: center;
        margin-top: 0.5rem;
        font-size: calc(1rem * var(--rb-scale-m, var(--rb-scale, 1)));
      }
      .reg-hint {
        font-size: calc(0.75rem * var(--rb-scale-m, var(--rb-scale, 1)));
      }
      
      /* Mobile : bouton SOUS le champ, tous deux pleine largeur (même taille).
         Même principe que le formulaire newsletter en version mobile. */
      .reg-form {
        flex-direction: column;
        width: 100%;
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap: .6rem;
      }

      .reg-input{
        width: 100%;
        min-width: 0;
        background: #ffffff;
        border-radius: var(--radius-pill, 999px);
        box-shadow: 0 2px 10px rgba(2, 6, 23, .08);
      }
      .reg-form .reg-submit{
        width: 100%;
        /* Même hauteur que le champ : padding vertical + font-size identiques. */
        padding: .6rem 1.6rem;
        font-size: calc(1rem * var(--rb-scale-m, var(--rb-scale, 1)));
      }
    }

    /* ===== VIDEO CARD + COUNTDOWN ===== */
    /* ===== BADGES RONDS (prix + km) ===== */
    .demo-badges{
      /* Recouvre TOUTE la .demo-card pour que les badges en position:absolute
         (après drag) soient positionnés en % de .demo-card, pas en % de la
         petite boîte des badges. Padding = offset par défaut. */
      position: absolute;
      inset: 0;
      padding: 1.125rem 0 0 1.125rem;
      pointer-events: none;
      z-index: 10;
      display: flex;
      align-items: flex-start;
      gap: 0;
    }
    .demo-badge{
      pointer-events: auto;
      width: 4rem;
      height: 4rem;
      border-radius: 50%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      line-height: 1.1;
      box-shadow: 0 4px 12px rgba(0,0,0,.25);
      border: 2px solid #fff;
    }
    .demo-badge + .demo-badge{
      margin-left: -1.25rem;
    }
    .demo-badge-value{
      font-size: 1.125rem;
      line-height: 1;
    }
    .demo-badge-label{
      font-size: 0.5rem;
      text-transform: uppercase;
      letter-spacing: .05em;
      opacity: .85;
      font-weight: 600;
    }
    .demo-badge--fee{
      background: var(--primary, #db2777);
      color: #fff;
      z-index: 2;
      cursor: pointer;
      width: 4rem;
      height: 4rem;
      border-radius: 50px;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      overflow: hidden;
      transition: width .4s cubic-bezier(.4,0,.2,1);
    }
    .demo-badge--fee .demo-badge-value{
      font-size: 1.25rem;
      flex-shrink: 0;
      min-width: 4rem;
      text-align: center;
      margin-left: -2px;
    }
    .badge-tooltip{
      width: 11.5rem;
      max-width: 11.5rem;
      flex-shrink: 0;
      overflow: hidden;
      opacity: 0;
      font-size: 0.8125rem;
      font-weight: 600;
      white-space: normal;
      line-height: 1.25;
      transition: opacity .3s ease;
    }
    @media (max-width: 1040px){
      .badge-tooltip{
        width: 10rem;
        max-width: 10rem;
        white-space: normal;
        line-height: 1.3;
        font-size: 0.75rem;
        flex-shrink: 0;
      }
    }
    .demo-badge--fee.expanded{
      width: 17rem;
      padding-right: 1.125rem;
    }
    .demo-badge--fee.expanded .badge-tooltip{
      opacity: 1;
      transition: opacity .3s ease .1s;
    }
    .demo-badge--fee .demo-badge-value{
      flex-shrink: 0;
    }
    .demo-badge--km{
      background: #fff;
      color: var(--secondary, #0f172a);
      z-index: 1;
      margin-top: 2.375rem;
    }
    @media (max-width: 1040px){
      .demo-badges{
        padding: 0.75rem 0 0 0.75rem;
      }
      .demo-badge{
        width: 3.25rem;
        height: 3.25rem;
      }
      .demo-badge-value{
        font-size: 0.9375rem;
      }
      .demo-badge-label{
        font-size: 0.4375rem;
      }
      .demo-badge + .demo-badge{
        margin-left: -1.5rem;
      }
      .demo-badge--fee .demo-badge-value{
        min-width: 3.25rem;
        font-size: 1.0625rem;
      }
      .demo-badge--fee.expanded{
        width: min(15rem, calc(100vw - 2.5rem));
      }
    }

    .demo-wrap{
      width: 100%;
      margin: 4.6875rem auto 0;
      position: relative;
    }
    /* Hero pleine largeur : casse la containment du `<main>` (qui a width:var(--content-width))
       en ramenant la card à la largeur VISIBLE de la fenêtre via une astuce
       `margin-left/right: calc(50% - 50vw)`. Le border-radius, lui, n est pas
       supprimé : il est réduit aux DEUX COINS DU BAS (règle plus bas). */
    /* ⚠️ `100vw` COMPTE LA BARRE DE DÉFILEMENT, `100%` non. Sur la vraie page
       publique (qui scrolle), la card débordait donc d une demi-largeur de
       barre (~8 px) de CHAQUE côté, débord aussitôt rogné par le
       `html,body{overflow-x:hidden}` de fer-modern.css. Les deux coins arrondis
       du bas étaient rabotés dans leur partie la plus courbe : il ne restait
       qu une courbure de ~2 px, invisible — la vidéo semblait à angles droits.
       Dans l aperçu de l éditeur, la barre de défilement est masquée
       (`body.editor-mode{scrollbar-width:none}`) : 100vw tombait pile sur la
       largeur visible et l arrondi s affichait entier. D où le fameux
       « arrondi dans l admin, pas sur le site public ».
       `--sbw` porte la largeur réelle de la barre de défilement (posée en JS
       par accueil.php, 0 px quand il n y en a pas) : on la retire de la
       largeur, et on décale de sa moitié pour rester centré. */
    .demo-wrap.fullwidth-desktop{
      width: calc(100vw - var(--sbw, 0px));
      max-width: calc(100vw - var(--sbw, 0px));
      margin-left: calc(50% - 50vw + var(--sbw, 0px) / 2);
      margin-right: calc(50% - 50vw + var(--sbw, 0px) / 2);
      /* ⚠️ ON GARDE LA MARGE HAUTE DE .demo-wrap (4.6875rem), ON NE LA MET PAS
         À ZÉRO. La barre de navigation est fixe, AU-DESSUS du
         contenu : à zéro, la vidéo passe DESSOUS et son haut — badges compris —
         disparaît derrière elle. Cette marge est exactement la hauteur occupée
         par la barre : la vidéo commence donc pile où la barre finit. */
    }
    /* ⚠️ LA MARGE DOIT SURVIVRE À LA REMISE À ZÉRO DES LIGNES.
       Plus haut, une règle annule les marges de toute section placée dans une
       ligne du layout, pour que la ligne soit seule maître de l espacement.
       Elle est légitime — sauf ici : sans cette marge, la vidéo passe sous la
       barre de navigation, qui est fixe au-dessus du contenu, et son haut
       (badges compris) disparaît. On la rétablit explicitement, avec la même
       force, et uniquement pour le héro en pleine largeur. */
    .accueil-rows-wrapper > .accueil-row > .accueil-col > .demo-wrap.fullwidth-desktop,
    .demo-wrap.fullwidth-desktop{
      margin-top: 4.6875rem !important;
    }
    /* ══ COINS DU BAS : UN CACHE PAR-DESSUS, PAS UNE DÉCOUPE DE LA VIDÉO ══

       Version précédente : `.demo-card-media{overflow:hidden;border-radius:inherit}`
       rognait la <video>. Or une vidéo qui joue vit sur sa PROPRE COUCHE GPU :
       l arrondi n est alors plus tracé par le moteur de rendu — qui lisse les
       courbes — mais appliqué par le compositeur, sans anticrénelage. D où
       l escalier bien visible sur un écran 4K, et surtout la découpe qui saute
       pendant le défilement : le compositeur lâche le rognage arrondi le temps
       du scroll (coins carrés), puis l arrondi réapparaît à l arrêt.

       On ne rogne donc plus rien du tout. La vidéo reste un rectangle plein et
       on POSE PAR-DESSUS, dans les deux coins du bas, la couleur du fond de
       page. Ce cache est un élément peint normalement : lissé par le
       rasteriseur à la densité réelle de l écran, et parfaitement immobile au
       défilement puisque plus aucune couche GPU n est rognée.

       Comment il est dessiné : UN PETIT CARRÉ PAR COIN, rempli d un dégradé
       radial dont le disque intérieur est transparent — la vidéo reste visible
       à l intérieur de l arc, la couleur du fond couvre le petit triangle
       restant. La transition transparent → opaque est étalée sur 1 px, ce qui
       lui donne son anticrénelage : le bord est lisse, sans escalier.

       ⚠️ NE PAS revenir au couple `box-shadow` + `clip-path` (première
       tentative) : l ombre externe dessinait bien les deux triangles, mais son
       bord droit du bas coïncidait pile avec le bord de découpe. Les deux sont
       lissés SÉPARÉMENT puis multipliés : sur la rangée de pixels partagée, ni
       l un ni l autre ne couvre à 100 %, et il restait un TRAIT CLAIR d un
       pixel EN TRAVERS DE TOUTE LA LARGEUR de la vidéo. Un dégradé se peint en
       une seule passe : pas de bord partagé, donc pas de trait.
       ══════════════════════════════════════════════════════════════════════ */
    .demo-wrap.fullwidth-desktop .demo-card{
      /* L arrondi RESTE déclaré ici, mais il ne découpe plus la vidéo (c était
         `.demo-card-media` qui rognait) : il ne sert plus qu à donner sa forme
         au cache de coin et au rappel d ombre. Seuls les DEUX COINS DU BAS : en haut la
         vidéo touche la barre de navigation, un arrondi y ferait une encoche. */
      border-radius: 0 0 var(--radius-lg, 24px) var(--radius-lg, 24px);
      /* L ombre portee n est PAS peinte ici. Peinte par la card, elle passe
         DERRIERE la video, donc derriere le cache de coin - lequel est opaque et
         la masquait : le petit triangle ressortait en blanc franc au milieu d un
         fond legerement grise par cette meme ombre. On la redessine donc AU-DESSUS
         du cache (`::after`), ou elle grise le triangle comme tout le pourtour. */
      box-shadow: none;
    }
    .demo-wrap.fullwidth-desktop .demo-card-media{
      /* LE point de la correction : plus aucun rognage arrondi de la couche vidéo. */
      border-radius: 0;
    }
    /* LE CACHE - une bande au ras du bas, transparente partout SAUF deux paves de
       coin, chacun rempli d un degrade radial dont le disque interieur est
       transparent : la video reste visible a l interieur de l arc. */
    .demo-wrap.fullwidth-desktop .demo-card::before{
      content: "";
      position: absolute;
      left: 0; right: 0; bottom: 0;
      height: var(--radius-lg, 24px);
      z-index: 30;            /* au-dessus de .demo-overlay (2) et .video-toggle (10) */
      pointer-events: none;   /* ne vole ni les clics de l editeur ni le play/pause */
      background:
        radial-gradient(circle at 100% 0,
          #0000 calc(var(--radius-lg, 24px) - 0.5px),
          var(--hero-corner-bg, #ffffff) calc(var(--radius-lg, 24px) + 0.5px))
          left bottom / var(--radius-lg, 24px) var(--radius-lg, 24px) no-repeat,
        radial-gradient(circle at 0 0,
          #0000 calc(var(--radius-lg, 24px) - 0.5px),
          var(--hero-corner-bg, #ffffff) calc(var(--radius-lg, 24px) + 0.5px))
          right bottom / var(--radius-lg, 24px) var(--radius-lg, 24px) no-repeat;
    }
    /* LE RAPPEL D OMBRE - au-dessus du cache. Une ombre externe ne se peint que
       HORS de la boite arrondie : elle assombrit donc exactement les deux
       triangles de coin et le pourtour de la video, jamais la video elle-meme.
       Aucun `clip-path` ici : c est un bord de decoupe qui avait cree le trait
       clair en travers de la video (cf. avertissement plus haut). */
    .demo-wrap.fullwidth-desktop .demo-card::after{
      content: "";
      position: absolute;
      inset: 0;
      z-index: 31;
      pointer-events: none;
      border-radius: 0 0 var(--radius-lg, 24px) var(--radius-lg, 24px);
      box-shadow: var(--hero-card-shadow, 0 18px 60px rgba(2,6,23,.14));
    }

    @media (max-width: 1040px){
      /* Même correction de barre de défilement que le pendant desktop. */
      .demo-wrap.fullwidth-mobile{
        width: calc(100vw - var(--sbw, 0px));
        max-width: calc(100vw - var(--sbw, 0px));
        margin-left: calc(50% - 50vw + var(--sbw, 0px) / 2);
        margin-right: calc(50% - 50vw + var(--sbw, 0px) / 2);
      }
      /* Coins du bas : même cache posé par-dessus que côté desktop — voir
         l explication complète au-dessus de `.demo-wrap.fullwidth-desktop`. */
      .demo-wrap.fullwidth-mobile .demo-card{
        border-radius: 0 0 var(--radius-lg, 24px) var(--radius-lg, 24px);
        box-shadow: none;   /* redessinee au-dessus du cache, cf. `::after` */
        height: var(--hero-card-height-mobile, var(--hero-card-height, clamp(42.5rem, 70vh, 65rem)));
      }
      .demo-wrap.fullwidth-mobile .demo-card-media{
        border-radius: 0;
      }
      /* Cache + rappel d ombre : meme montage que cote desktop, voir plus haut. */
      .demo-wrap.fullwidth-mobile .demo-card::before{
        content: "";
        position: absolute;
        left: 0; right: 0; bottom: 0;
        height: var(--radius-lg, 24px);
        z-index: 30;
        pointer-events: none;
        background:
          radial-gradient(circle at 100% 0,
            #0000 calc(var(--radius-lg, 24px) - 0.5px),
            var(--hero-corner-bg, #ffffff) calc(var(--radius-lg, 24px) + 0.5px))
            left bottom / var(--radius-lg, 24px) var(--radius-lg, 24px) no-repeat,
          radial-gradient(circle at 0 0,
            #0000 calc(var(--radius-lg, 24px) - 0.5px),
            var(--hero-corner-bg, #ffffff) calc(var(--radius-lg, 24px) + 0.5px))
            right bottom / var(--radius-lg, 24px) var(--radius-lg, 24px) no-repeat;
      }
      .demo-wrap.fullwidth-mobile .demo-card::after{
        content: "";
        position: absolute;
        inset: 0;
        z-index: 31;
        pointer-events: none;
        border-radius: 0 0 var(--radius-lg, 24px) var(--radius-lg, 24px);
        box-shadow: var(--hero-card-shadow, none);
      }
      /* Hauteur mobile spécifique : prend --hero-card-height-mobile si défini, sinon
         retombe sur la valeur desktop ou le CSS par défaut. */
      .demo-card{
        height: var(--hero-card-height-mobile, var(--hero-card-height, clamp(42.5rem, 70vh, 65rem)));
      }
    }

    /* Extra gap under fixed navbar (not floating) */
    @media (min-width: 1041px){
      body:not(.nav-scrolled) .demo-wrap{
        margin-top: 5.9375rem;
      }
    }

    /* Couleur des caches de coin du héro (cf. `.demo-card::after`) : le fond de
       page, pour que le cache se fonde dans la page. ⚠️ `--page-bg` ne suit PAS
       le thème sombre — `body.dark-theme` pose `background:#16171d` en dur sans
       toucher la variable (fer-modern.css) : on redéclare donc la valeur ici, et
       les deux doivent rester alignées. */
    .demo-card{ --hero-corner-bg: var(--page-bg, #ffffff); }
    body.dark-theme .demo-card{ --hero-corner-bg: #16171d; }

    .demo-card{
      position: relative;
      /* Largeur en VW : 100 = pleine viewport, 80 = 80 % de la viewport, etc.
         `--hero-card-mx` sort la card de son container parent (qui peut être contraint
         par le max-width du main) et la centre PILE sur la viewport. C'est l'élément
         CLÉ qui fait que "100 %" = vraiment pleine fenêtre.
         Fallback `100%` + `auto` = comportement par défaut sans réglage. */
      width: var(--hero-card-width, 100%);
      margin-left:  var(--hero-card-mx, auto);
      margin-right: var(--hero-card-mx, auto);
      /* Hauteur : par défaut adaptative (clamp). L'admin peut override en posant
         --hero-card-height sur l'élément (px) via le slider de l'éditeur. */
      height: var(--hero-card-height, clamp(42.5rem, 70vh, 65rem));
      border-radius: var(--radius-lg);
      overflow: visible;
      border: none;
      /* Ombre portee en VARIABLE : en pleine largeur elle est redessinee PAR-DESSUS
         le cache de coin (cf. `.demo-card::after`), et les deux doivent rester
         rigoureusement identiques - sinon le raccord se voit. */
      --hero-card-shadow: 0 18px 60px rgba(2,6,23,.14);
      box-shadow: var(--hero-card-shadow);
      background: #000;
      isolation: isolate;
      /* Permet d'utiliser cqw/cqh dans les descendants pour positionner les éléments
         draggables en % de .demo-card → visuel cohérent entre l'éditeur (iframe étroit)
         et la page live (pleine largeur). */
      container-type: size;
    }

    /* Anti-flash : tant que applyHeroPositionPct() n'a pas placé les éléments une
       première fois, on les masque (opacity:0). Le JS ajoute .hero-pos-ready sur
       .demo-card après le 1er pass, ce qui rend tout visible d'un coup à la bonne
       position. Évite le saut "rendu CSS naturel → reposition JS". */
    .demo-card [data-anchor-x][data-anchor-y][data-offset-x][data-offset-y],
    .demo-card [data-anchor-x-mobile][data-anchor-y-mobile][data-offset-x-mobile][data-offset-y-mobile],
    .demo-card [data-pos-top][data-pos-left],
    .demo-card [data-pos-top-mobile][data-pos-left-mobile] {
      opacity: 0;
    }
    .demo-card.hero-pos-ready [data-anchor-x][data-anchor-y][data-offset-x][data-offset-y],
    .demo-card.hero-pos-ready [data-anchor-x-mobile][data-anchor-y-mobile][data-offset-x-mobile][data-offset-y-mobile],
    .demo-card.hero-pos-ready [data-pos-top][data-pos-left],
    .demo-card.hero-pos-ready [data-pos-top-mobile][data-pos-left-mobile] {
      opacity: 1;
    }

    .demo-card-media{
      position:absolute;
      inset:0;
      overflow:hidden;
      border-radius:inherit;
      background:#000;
      z-index:0;
    }

    /* 16" laptops: reduce video height a bit. Garde `var(--hero-card-height)` comme
       override prioritaire (sinon le slider de l'éditeur n'a aucun effet entre 1041
       et 1440 px de viewport). */
    @media (max-width: 1440px) and (min-width: 1041px){
      .demo-card{
        height: var(--hero-card-height, clamp(35rem, 60vh, 56.25rem));
      }
    }

    .demo-video{
      position:absolute;
      inset:0;
      width:100%;
      height:100%;
      object-fit:cover;
      transform: scale(1.02);
      filter: saturate(1.05) contrast(1.02);
    }

    /* Bouton Play/Pause vidéo */
    .video-toggle{
      position:absolute;
      z-index:10;
      bottom:1rem; right:1rem;
      width:2.5rem; height:2.5rem;
      border-radius:50%;
      border:none;
      background:rgba(0,0,0,.35);
      backdrop-filter:blur(6px);
      color:#fff;
      cursor:pointer;
      display:flex;
      align-items:center;
      justify-content:center;
      transition:background .2s, transform .2s, opacity .2s;
      opacity:.6;
    }
    .video-toggle:hover{
      background:rgba(0,0,0,.55);
      opacity:1;
      transform:scale(1.08);
    }
    .video-toggle .vt-icon{
      width:1rem; height:1rem;
      pointer-events:none;
    }
    /* Mobile : style plus discret. La POSITION par défaut (en haut à droite) s'applique
       UNIQUEMENT si aucune position mobile n'a été sauvegardée par l'éditeur — sinon,
       les data-attrs *-mobile prennent la main (via applyHeroPositionPct). Les overrides
       cosmétiques (taille + opacité) restent toujours actifs. */
    @media (max-width:1040px){
      .video-toggle{
        width:2rem; height:2rem;
        opacity:.4;
        background:rgba(0,0,0,.25);
      }
      /* Position par défaut mobile (haut-droite) UNIQUEMENT sans position mobile sauvée.
         Sélecteur :not(...) cible les éléments sans aucun attribut mobile. Quand l'admin
         drag le toggle en mode mobile, data-anchor-x-mobile apparaît → cette règle ne
         match plus → la position sauvée s'applique via applyHeroPositionPct. */
      .video-toggle:not([data-anchor-x-mobile]):not([data-pos-top-mobile]){
        top:0.75rem; right:0.75rem;
        bottom:auto; left:auto;
      }
      .video-toggle:hover,
      .video-toggle:active{
        opacity:.8;
      }
      .video-toggle .vt-icon{
        width:0.8125rem; height:0.8125rem;
      }
    }

    /* Social card on video (right side).
       `width: max-content` est CRITIQUE pour éviter que la card s'étire sur toute la
       largeur du hero pendant les phases transitoires (au refresh de l'éditeur, avant
       qu'applyHeroPositionPct ait re-calculé). Sans ça, si applyHeroPositionPct passe
       l'élément en position:static temporairement, le flex-direction:column en fait
       un block qui prend 100% du parent. */
    .video-social-card{
      position:absolute;
      top: 50%;
      right: 1.5rem;
      transform: translateY(-50%);
      background: var(--pill-bg, #ffffff);
      border-radius: var(--radius-lg);
      padding: 0.5rem;
      display:flex;
      flex-direction:column;
      gap: 0.5rem;
      box-shadow: 0 14px 34px rgba(2,6,23,.18);
      border: 1px solid rgba(15,23,42,.10);
      z-index: 4;
      width: max-content;
      max-width: calc(100% - 3rem);
    }

    .mobile-socials{
      display:none;
      align-items:center;
      gap: 0.625rem;
    }

    .mobile-cta{
      display:none;
      justify-content:center;
      margin: 0.75rem 0 0;
    }

    .social-btn{
      display:flex;
      align-items:center;
      justify-content:center;
      gap: 0.5rem;
      height: auto;
      min-width: 0;
      padding: 0.375rem 0.5rem;
      border-radius: var(--radius);
      background: var(--pill-bg, #ffffff);
      border: 1px solid rgba(15,23,42,.10);
      text-decoration:none;
      color: var(--page-text, #0f172a);
      font-weight: 800;
      font-size: 0.75rem;
    }

    .social-btn:hover{
      background: rgba(2,6,23,.03);
    }

    .social-btn img{
      display:block;
      height: 2.125rem;
      width: auto;
      max-width: 10rem;
    }

    .social-btn.ligue img{
      height: 1.875rem;
      max-width: 11.25rem;
    }

    .demo-overlay{
      position:absolute;
      inset:0;
      display:flex;
      align-items:center;
      justify-content:center;
      padding:1.5rem;
      background: linear-gradient(to bottom, rgba(2,6,23,.45), rgba(2,6,23,.28), rgba(2,6,23,.55));
      border-radius: inherit;
      z-index: 2;
    }

    .demo-panel{
      width: min(53.75rem, 95%);
      color:#fff;
      text-align:left;
      position: relative;
      padding-left: 0.25rem;    /* ultra left, still safe for radius */
      padding-right: 1.25rem;
      padding-top: 16.25rem;
      padding-bottom: 3rem;
    }

    .demo-kicker{
      font-size:0.75rem;
      letter-spacing:.16em;
      text-transform:uppercase;
      opacity:.85;
      margin-bottom:0.5rem;
      font-weight: 800;
    }

    .demo-title{
      font-size:clamp(1.625rem,4vw,3.5rem);
      font-weight:900;
      letter-spacing:-.03em;
      line-height:1.05;
      text-align:center;
      text-shadow:0 10px 40px rgba(0,0,0,.35);
      position:absolute;
      top: 0px; /* max height */
      left: 0;
      right: 0;
      margin: 0;
      padding: 0.5rem 1.25rem 0;
      z-index: 5;
    }

    .demo-desc{
      max-width:40rem;
      line-height:1.5;
      margin:0 0 1.125rem;
      opacity:.92;
      text-shadow: 0 10px 40px rgba(0,0,0,.35);
    }

    .countdown-row{
      justify-content:flex-start;
      justify-content:flex-start;
      justify-content:flex-start;

      display:flex;
      gap:0.625rem;
      flex-wrap:wrap;
      margin: 0.625rem 0 1rem;
    }

    .timebox{
      background:rgba(255,255,255,.95);
      color: var(--page-text, #0f172a);
      border-radius: var(--radius);
      padding:0.625rem 0.875rem;
      min-width:6.875rem;
      text-align:center;
      box-shadow:0 10px 28px rgba(0,0,0,.18);
      border: 1px solid rgba(255,255,255,.22);
    }

    .timebox .num{
      font-size:1.375rem;
      font-weight:800;
      letter-spacing: -0.02em;
      line-height: 1;
    }

    .timebox .lbl{
      font-size:0.6875rem;
      letter-spacing:.14em;
      text-transform:uppercase;
      opacity:.62;
      font-weight:800;
      margin-top: 0.25rem;
    }

    .actions{
      justify-content:flex-start;
      justify-content:flex-start;
      justify-content:flex-start;

      display:flex;
      gap:0.75rem;
      flex-wrap:wrap;
      align-items:center;
    }

    /* .cta-pink — styles gérés par le système unifié dans fer-modern.css */

    .cta-outline{
      background:rgba(255,255,255,.18);
      color:#fff;
      padding:0.5625rem 0.875rem;
      border-radius:999px;
      font-weight:800;
      text-decoration:none;
      border:1px solid rgba(255,255,255,.25);
      transition: background .18s ease;
    }
    .cta-outline:hover{ background: rgba(255,255,255,.24); }

    .small-note{
      text-align:left;
      text-align:left;
      text-align:left;

      margin-top:0.625rem;
      font-size:0.8125rem;
      opacity:.85;
    }

    /* ===== Responsive: desktop vs mobile ===== */
    @media (max-width: 1040px){
      /* Navbar mobile : gérée par fer-modern.css (mobile-header + mobile-bottom-bar) */
      /* Hauteur mobile : `--hero-card-height-mobile` prioritaire (slider mobile),
         puis `--hero-card-height` (slider desktop) en fallback, puis valeur par défaut. */
      .demo-card{ height: var(--hero-card-height-mobile, var(--hero-card-height, 39.375rem)); }
      .demo-panel{
      width: min(53.75rem, 95%);
      color:#fff;
      text-align:left;
      position: relative;
      padding-left: 0.25rem;    /* ultra left, still safe for radius */
      padding-right: 1.25rem;
      padding-top: 16.25rem;
      padding-bottom: 3rem;
    }

    @media (max-width: 1040px){
      /* Mobile : on garde la card sociale en flotant à droite (CSS desktop) sauf si
         l'admin a explicitement enregistré une position mobile, auquel cas
         applyHeroPositionPct prend la main. Le seul ajustement automatique est
         visuel (transparent + row interne) — la POSITION reste absolue right pour
         éviter le bug "card stretched sur toute la largeur du hero au refresh". */
      .video-social-card{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.25rem 0.5rem;
        gap: 0.5rem;
        background: rgba(255,255,255,0.85);
        backdrop-filter: blur(4px);
        right: 0.75rem;
        top: auto;
        bottom: 0.75rem;
        transform: none;
        width: auto;
        max-width: calc(100% - 1.5rem);
      }
      .social-btn{
        min-width: 0;
        height: 2.75rem;
        padding: 0.375rem 0.625rem;
        border-radius: var(--radius);
      }
      /*.social-btn{
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0;
        height: auto;
      }*/
      .social-btn img{
        height: 1.75rem;
        max-width: 7.5rem;
      }
      .social-btn.ligue img{
        height: 1.625rem;
        max-width: 9.375rem;
      }
    }

    /* ===== Ultra-wide screens (27") ===== */
    @media (min-width: 1600px){
      :root{
        --nav-max: clamp(1100px, 90vw, 2200px);
      }
      .demo-card{
        height: var(--hero-card-height, clamp(47.5rem, 72vh, 70rem));
      }
    }
      .demo-desc{ margin-left:auto; margin-right:auto; }
      .countdown-row{
      justify-content:flex-start;
 justify-content:center; }
      .actions{
      justify-content:flex-start;
 justify-content:center; }
    }
  

        /* ===== TIMELINE (below video) ===== */
    .timeline-wrap {
      width: 100%;
      max-width: 75rem;
      margin: 2.5rem auto 0;
    }

    .timeline {
      position: relative;
      padding: 1.375rem 1rem 1.125rem;
    }

    .timeline-head {
      text-align: center;
      margin-bottom: 3.75rem;
    }

    .timeline-title {
      margin: 0;
      font-size: 2.625rem;
      font-weight: 900;
      letter-spacing: -0.02em;
    }

    .timeline-sub {
      margin: 0.75rem 0 0;
      color: var(--page-muted);
      font-size: 0.9375rem;
      line-height: 1.5;
    }

    .timeline-track {
      position: relative;
      padding: 0;
    }

    .timeline-svg {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 1;
    }

    .timeline-path {
      fill: none;
      stroke: url(#gradient-line);
      stroke-width: 4;
      stroke-linecap: round;
      stroke-dasharray: 2000;
      stroke-dashoffset: 2000;
      animation: none;
    }

    @keyframes drawPath {
      to { stroke-dashoffset: 0; }
    }

    .timeline-items {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }

    .t-item {
      display: flex;
      align-items: center;
      position: relative;
      padding: 1.25rem 0;
    }

    .t-item.left {
      justify-content: flex-start;
      padding-right: 52%;
    }

    .t-item.right {
      justify-content: flex-end;
      padding-left: 52%;
    }

    .t-dot {
      display: none;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: 1.25rem;
      height: 1.25rem;
      border-radius: 50%;
      background: #fff;
      border: 4px solid var(--pink);
      box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 15%, transparent);
      z-index: 10;
      transition: transform .3s ease, box-shadow .3s ease;
    }

    .t-item:hover .t-dot {
      transform: translate(-50%, -50%) scale(1.2);
      box-shadow: 0 0 0 10px color-mix(in srgb, var(--primary) 20%, transparent);
    }

    @media (min-width: 901px){
      .t-dot{ display: none; }
    }
    .t-card {
      width: 100%;
      max-width: 30rem;
      text-align: left;
      border-radius: var(--radius-lg);
      background: #fff;
      overflow: hidden;
      box-shadow:
        0 4px 6px rgba(0,0,0,.02),
        0 12px 40px rgba(0,0,0,.06);
      transition: transform .3s ease, box-shadow .3s ease;
      border: none;
    }

    .t-item:hover .t-card {
      transform: translateY(-4px);
      box-shadow:
        0 8px 16px rgba(0,0,0,.04),
        0 24px 60px rgba(0,0,0,.1);
    }

    .t-media {
      position: relative;
      width: 100%;
      height: 11.25rem;
      overflow: visible;
      border-radius: 0 0 var(--radius-lg) var(--radius-lg);
      background: linear-gradient(135deg, #fdf2f8, #fce7f3);
    }

    .t-media-inner {
      width: 100%;
      height: 100%;
      overflow: hidden;
      border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }

    .t-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .t-kicker {
      position: absolute;
      bottom: 0;
      left: 1rem;
      transform: translateY(50%);
      z-index: 3;
      display: inline-block;
      font-size: 0.6875rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--pink);
      font-weight: 800;
      padding: 0.375rem 0.75rem;
      background: #fce7f3;
      border-radius: 100px;
      margin: 0;
      border: 5px solid #fff;
      box-shadow: 0 0 0 1px #fff;
    }

    .t-content {
      padding: 1.25rem 1.5rem 1.5rem;
      position: relative;
      text-align: left;
      z-index: 2;
    }

    .t-amount {
      font-size: 1.625rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      margin: 0 0 0.75rem;
      color: var(--page-text);
    }

    .t-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .t-pill {
      display: inline-flex;
      align-items: center;
      padding: 0.5rem 0.875rem;
      border-radius: var(--radius);
      background: rgba(15,23,42,.05);
      border: none;
      color: var(--page-muted);
      font-weight: 600;
      font-size: 0.75rem;
      transition: all .2s ease;
    }

    .t-pill:hover {
      background: rgba(15,23,42,.09);
    }

    @media (max-width: 900px) {
      .timeline-svg{
        display: block;
        left: 0;
        transform: none;
        width: 100%;
        opacity: 0.8;
      }

      .timeline-path{
        stroke-width: 5;
      }

      .timeline-items{
        padding-left: 0;
        border-left: 0;
        gap: 0.375rem;
      }

      .t-item{
        padding: 0.75rem 0 !important;
      }

      .t-item.left,
      .t-item.right{
        padding-left: 0;
        padding-right: 0;
      }

      .t-item.left{
        justify-content: flex-start;
      }

      .t-item.right{
        justify-content: flex-end;
      }

      .t-dot{
        left: 50%;
        transform: translate(-50%, -50%);
      }

      .t-item:hover .t-dot{
        transform: translate(-50%, -50%) scale(1.2);
      }

      .t-card{
        max-width: 80%;
        width: 80%;
      }
    }

    @media (max-width: 600px) {
      .timeline-title { font-size: 2rem; }
      .t-media { height: 8.75rem; }
      .t-content { padding: 1rem 1.25rem 1.25rem; }
      .t-amount { font-size: 1.375rem; }
      .t-pill { padding: 0.375rem 0.625rem; font-size: 0.6875rem; }
    }

    /* ===== SECTION "RETROUVER LE DÉPART" (carte Google Maps) ===== */
    /* Toutes les valeurs réutilisent les variables du thème (--primary, --radius,
       --font-family, etc.) pour rester cohérent avec le reste du site. */
    .start-point-section {
      width: 100%;
      /* Transparent → suit le fond de la page (blanc en clair, sombre en thème
         sombre). Évite le rectangle blanc autour de la carte en mode sombre. */
      background: transparent;
      padding: 1rem 0;
    }

    .start-point-container {
      width: 100%;
      max-width: 75rem;
      margin: 0 auto;
      padding: 0 1rem;
    }

    .start-point-head {
      text-align: center;
      margin-bottom: 2rem;
    }

    .start-point-title {
      margin: 0;
      font-family: var(--font-family, system-ui, sans-serif);
      font-size: 2.625rem;
      font-weight: 900;
      letter-spacing: -0.02em;
      color: var(--page-text, #0f172a);
    }

    /* Dimensions pilotées par variables CSS : hauteur en px, largeur en % du
       conteneur. Les variables *-mobile prennent le relais sous 1040px.
       Valeurs par défaut si rien n'est réglé : 420px / 100% (desktop). */
    .start-point-map {
      position: relative;
      display: block;
      width: var(--sp-map-w, 100%);
      height: var(--sp-map-h, 380px);
      margin-left: auto;
      margin-right: auto;
      border-radius: var(--radius-panel, 18px);
      overflow: hidden;
      border: 1px solid var(--mega-border, rgba(15,23,42,.10));
      box-shadow: var(--mega-shadow, 0 18px 60px rgba(2,6,23,.16));
      text-decoration: none;
      cursor: pointer;
      transition: transform .2s ease, box-shadow .2s ease;
    }

    .start-point-map:hover {
      transform: translateY(-2px);
      box-shadow: 0 22px 70px rgba(2,6,23,.22);
    }

    .start-point-map-frame {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
      /* La carte sert d'aperçu : les clics sont captés par le lien parent
         (.start-point-map) qui ouvre l'itinéraire. */
      pointer-events: none;
    }

    .start-point-map-overlay {
      position: absolute;
      left: 50%;
      bottom: 1rem;
      transform: translateX(-50%);
      display: inline-flex;
      align-items: center;
      gap: .45rem;
      padding: .6rem 1.1rem;
      background: var(--primary, #db2777);
      color: var(--secondary-text, #ffffff);
      font-family: var(--font-family, system-ui, sans-serif);
      font-weight: 700;
      font-size: .95rem;
      border-radius: var(--radius-pill, 14px);
      box-shadow: 0 8px 24px rgba(2,6,23,.25);
      pointer-events: none;
      transition: background .2s ease;
    }

    .start-point-map:hover .start-point-map-overlay {
      background: var(--primary-hover, #be185d);
    }

    /* — Mode éditeur — */
    .start-point-map--editor { cursor: default; }
    .start-point-map--editor:hover { transform: none; }

    @media (max-width: 1040px) {
      .start-point-title { font-size: 2rem; }
      /* Dimensions mobiles indépendantes (vars *-mobile, défaut 320px / 100%). */
      .start-point-map {
        width: var(--sp-map-w-mobile, 100%);
        height: var(--sp-map-h-mobile, 320px);
      }
    }

    @media (max-width: 600px) {
      .start-point-title { font-size: 1.6rem; }
      .start-point-map-overlay { font-size: .85rem; padding: .5rem .9rem; }
    }

    /* ===== SECTION "RESTER INFORMÉ" (newsletter) ===== */
    /* Réutilise les variables du thème (--primary, --radius, --font-family…). */
    .newsletter-section {
      width: 100%;
      padding: 1rem 0;
    }

    .newsletter-card {
      position: relative;
      width: 100%;
      max-width: 75rem;
      margin: 0 auto;
      display: flex;
      align-items: center;
      gap: 2rem;
      padding: 3rem clamp(1.5rem, 4vw, 4rem);
      background: var(--c-newsletter, var(--primary, #db2777)); /* couleur propre à la carte */
      /* Texte recalculé sur la couleur RÉELLE du fond : un aplat clair choisi
         à la main garderait sinon du texte blanc, illisible. */
      color: var(--c-newsletter-text, #ffffff);
      border-radius: var(--radius-lg, 24px);
      overflow: hidden;
      font-family: var(--font-family, system-ui, sans-serif);
    }

    /* z-index:1 → le texte reste au-dessus du ruban (positionné en absolu).
       padding-right → réserve la zone du ruban pour que le texte ne passe pas dessous. */
    .newsletter-content {
      flex: 1 1 auto;
      min-width: 0;
      position: relative;
      z-index: 1;
      padding-right: clamp(210px, 26vw, 340px);
    }

    .newsletter-title {
      margin: 0;
      /* Taille réduite de 3px au total (-0.1875rem sur min et max) */
      font-size: clamp(1.6125rem, 3.4vw, 2.6125rem);
      font-weight: 900;
      line-height: 1.1;
      letter-spacing: -0.02em;
      color: var(--secondary-text, #ffffff);
    }

    .newsletter-subtitle {
      margin: 0 0 1.4rem;
      /* Taille réduite de 3px au total (-0.1875rem sur min et max) */
      font-size: clamp(1.2125rem, 2.6vw, 2.0125rem);
      font-weight: 800;
      line-height: 1.15;
      color: var(--secondary-text, #ffffff);
    }

    .newsletter-intro {
      margin: 0 0 1.1rem;
      /* 1rem −2px puis +1px → 0.9375rem (15px) */
      font-size: 0.9375rem;
      font-weight: 600;
      color: var(--page-text, #0f172a);
    }

    .newsletter-form { margin: 0; }

    .newsletter-input-row {
      display: flex;
      align-items: stretch;
      gap: .4rem;
      background: #ffffff;
      border-radius: var(--radius-pill, 999px);
      padding: .35rem;
      max-width: 34rem;
    }

    .newsletter-email {
      flex: 1 1 auto;
      min-width: 0;
      border: 0;
      background: transparent;
      padding: .6rem 1rem;
      font-size: 1rem;
      font-family: inherit;
      color: var(--page-text, #0f172a);
      outline: none;
    }

    .newsletter-submit {
      flex: 0 0 auto;
      border: 0;
      cursor: pointer;
      background: var(--secondary, #0f172a);
      color: var(--secondary-text, #ffffff);
      font-family: inherit;
      font-weight: 800;
      font-size: .95rem;
      text-transform: none;
      letter-spacing: .01em;
      padding: .65rem 1.6rem;
      border-radius: var(--radius-pill, 999px);
      transition: filter .15s ease, transform .15s ease;
    }
    .newsletter-submit:hover { filter: brightness(1.12); }
    .newsletter-submit:disabled { opacity: .6; cursor: default; }

    /* Champ piège anti-bot : hors écran, jamais visible */
    .newsletter-hp {
      position: absolute !important;
      left: -9999px;
      width: 1px;
      height: 1px;
      opacity: 0;
    }

    .newsletter-consent {
      display: flex;
      align-items: center;          /* case verticalement centrée sur le texte */
      gap: .6rem;
      margin-top: .9rem;
      max-width: 34rem;
      font-size: .8rem;
      font-style: italic;
      line-height: 1.5;
      color: var(--page-text, #0f172a);
      cursor: pointer;
    }
    /* Case à cocher personnalisée : carré blanc, coche rose une fois cochée. */
    .newsletter-consent input[type="checkbox"] {
      appearance: none;
      -webkit-appearance: none;
      flex: 0 0 auto;
      width: 1.15rem;
      height: 1.15rem;
      margin: 0;
      border: 2px solid var(--secondary-text, #ffffff);
      border-radius: 5px;
      background: transparent;
      cursor: pointer;
      position: relative;
      transition: background-color .15s ease;
    }
    .newsletter-consent input[type="checkbox"]:checked {
      background: var(--secondary-text, #ffffff);
    }
    .newsletter-consent input[type="checkbox"]:checked::after {
      content: "";
      position: absolute;
      left: 50%;
      top: 46%;
      width: .3rem;
      height: .56rem;
      border: solid var(--primary, #db2777);
      border-width: 0 2px 2px 0;
      transform: translate(-50%, -50%) rotate(45deg);
    }
    .newsletter-consent input[type="checkbox"]:focus-visible {
      outline: 2px solid var(--secondary-text, #ffffff);
      outline-offset: 2px;
    }

    /* Message de retour : invisible tant que vide, puis affiché en encart bien
       visible (fond blanc + icône) dès qu'il y a un message succès/erreur. */
    .newsletter-feedback {
      font-size: .9rem;
      font-weight: 700;
      font-style: normal;
    }
    .newsletter-feedback.is-success,
    .newsletter-feedback.is-error {
      display: flex;
      align-items: center;
      gap: .5rem;
      max-width: 34rem;
      margin-top: .85rem;
      padding: .7rem 1rem;
      border-radius: 10px;
      background: #ffffff;
      box-shadow: 0 6px 18px rgba(2, 6, 23, .22);
      animation: nlFeedbackIn .28s ease;
    }
    .newsletter-feedback.is-success { color: #15803d; }
    .newsletter-feedback.is-error   { color: #b91c1c; }
    /* Pastille-icône à gauche du message */
    .newsletter-feedback.is-success::before,
    .newsletter-feedback.is-error::before {
      flex: 0 0 auto;
      width: 1.25rem;
      height: 1.25rem;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      color: #ffffff;
      font-size: .8rem;
      line-height: 1;
    }
    .newsletter-feedback.is-success::before { content: "\2713"; background: #16a34a; }
    .newsletter-feedback.is-error::before   { content: "\0021"; background: #dc2626; }
    @keyframes nlFeedbackIn {
      from { opacity: 0; transform: translateY(-6px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    /* Ruban de sensibilisation — décor desktop, calé sur le bord droit de la carte.
       Positionné en absolu : le ruban peut être grand et déborder légèrement en
       haut/bas sans agrandir la carte (overflow:hidden de .newsletter-card le rogne). */
    .newsletter-deco {
      /* Le ruban est un SVG en currentColor : sa couleur se règle donc ici,
         indépendamment du texte de la carte. */
      color: var(--c-newsletter-deco, currentColor);
      position: absolute;
      top: 50%;
      right: 0;
      transform: translateY(-50%);
      z-index: 0;
      line-height: 0;
      /* Écrasait --c-newsletter-deco déclaré plus haut dans le même bloc :
         la dernière déclaration gagne. La couleur du ruban se règle ici. */
      color: var(--c-newsletter-deco, var(--c-newsletter-text, #ffffff));
      opacity: .95;
    }
    .newsletter-deco .newsletter-ribbon {
      display: block;
      width: clamp(200px, 22vw, 300px);
      height: auto;
    }

    @media (max-width: 1040px) {
      .newsletter-card { gap: 1rem; padding: 2.4rem 1.6rem; }
      /* Décor masqué hors desktop : le ruban ne s'affiche que sur grand écran.
         → on retire aussi la réserve d'espace à droite du texte. */
      .newsletter-deco { display: none; }
      .newsletter-content { padding-right: 0; }
    }

    @media (max-width: 600px) {
      .newsletter-deco { display: none; }
      .newsletter-input-row { flex-direction: column; background: transparent; padding: 0; gap: .6rem; }
      .newsletter-email { background: #ffffff; border-radius: var(--radius-pill, 999px); }
      /* Bouton à la même hauteur que le champ : mêmes padding vertical + font-size. */
      .newsletter-submit { width: 100%; padding: .6rem 1.6rem; font-size: 1rem; }
      .newsletter-consent, .newsletter-input-row { max-width: none; }
    }

    /* ===== MARQUEE / LOGO STRIP (Vimeo-like) ===== */


    /* ===== BLOC HTML/CSS/JS BRUT (kind=html) ===== */
    /* Pas de wrapper imposé — l'admin contrôle 100% du markup à l'intérieur. */
    .custom-html-section { display: block; width: 100%; }

    /* ===== CONTENU PERSONNALISE ===== */
    .custom-content-section {
      max-width: 65.625rem;
      margin: 5rem auto;
      padding: 0 1.5rem;
    }
    .custom-content-inner {
      border-left: 4px solid var(--pink, #F42182);
      padding: 1.5rem 2rem;
      border-radius: 0 12px 12px 0;
    }
    .custom-content-inner > *:first-child { margin-top: 0; }
    .custom-content-inner > *:last-child { margin-bottom: 0; }
    .custom-content-inner p { margin: 0 0 1rem; }
    .custom-content-inner img {
      max-width: 100%; height: auto; border-radius: 8px; cursor: pointer;
      transition: transform .2s ease, box-shadow .2s ease;
    }
    .custom-content-inner img:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
    .custom-content-inner table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; }
    .custom-content-inner td, .custom-content-inner th { padding: 0.5rem 0.75rem; border: 1px solid #e2e8f0; }
    .custom-content-inner a { color: var(--pink, #F42182); text-decoration: underline; }
    .custom-content-inner a:hover { opacity: .8; }
    /* Bouton PDF */
    .cc-pdf-link {
      display: inline-flex; align-items: center; gap: 0.75rem;
      padding: 0.375rem 0.875rem; background: #fff; border: 1px solid rgba(15,23,42,.12);
      border-radius: 12px; color: var(--page-text, #0f172a); font-size: 0.875rem;
      text-decoration: none !important; box-shadow: 0 1px 3px rgba(0,0,0,.04);
      transition: all .2s ease; margin: 0.5rem 0;
    }
    .cc-pdf-link:hover { border-color: var(--pink, #db2777); box-shadow: 0 4px 16px color-mix(in srgb, var(--primary) 12%, transparent); transform: translateY(-1px); }
    .cc-pdf-icon {
      display: flex; align-items: center; justify-content: center;
      width: 2.375rem; height: 2.375rem; background: color-mix(in srgb, var(--primary) 8%, transparent);
      border-radius: 10px; flex-shrink: 0;
    }
    .cc-pdf-link:hover .cc-pdf-icon { background: color-mix(in srgb, var(--primary) 14%, transparent); }
    .cc-pdf-icon svg { width: 1.25rem; height: 1.25rem; stroke: var(--pink, #db2777); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .cc-pdf-info { display: flex; flex-direction: column; gap: 2px; }
    .cc-pdf-name { font-weight: 600; line-height: 1.3; }
    .cc-pdf-hint { font-size: 0.75rem; color: rgba(15,23,42,.45); }
    /* Lightbox custom content */
    .cc-lightbox {
      display: none; position: fixed; inset: 0;
      background: rgba(0,0,0,.9); z-index: 99999;
      align-items: center; justify-content: center; padding: 1.25rem;
    }
    .cc-lightbox.active { display: flex; }
    .cc-lightbox-close {
      position: absolute; top: 1.875rem; right: 2.5rem;
      font-size: 3rem; color: #fff; cursor: pointer; user-select: none;
    }
    .cc-lightbox-close:hover { transform: scale(1.1); }
    .cc-lightbox-img { max-width: 90%; max-height: 90%; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
    .custom-content-section + .community-section { margin-top: 2rem; }
    .custom-content-section.pos-after-partners { margin-top: 5rem; margin-bottom: -1.5rem; }
    @media(max-width:768px) {
      .custom-content-section { margin: 5rem auto; padding: 0 1rem; }
      .custom-content-inner { padding: 1rem 1.25rem; }
    }

    /* ===== COMMUNITY SECTION (Vimeo style) ===== */
    .community-section{
      width: 100vw;
      position: relative;
      left: 50%;
      right: 50%;
      margin-left: -50vw;
      margin-right: -50vw;
      background: var(--c-partners, var(--secondary, #0f172a)); /* couleur propre au bandeau partenaires */
      color: var(--c-partners-text, var(--secondary-text, #ffffff));
      padding: 0;
      margin-top: 7.5rem;
      margin-bottom: 0;
      overflow: hidden;
    }
    
    .community-section::before{
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 0.375rem;
      background: var(--pink);
      /* Le trait épouse les coins de la section : sans ces rayons, il
         dépassait en angle droit dès que la section était arrondie (mode
         carte). "inherit" suit donc le rayon du thème sans le recopier. */
      border-top-left-radius: inherit;
      border-top-right-radius: inherit;
    }
    
    .community-container{
      max-width: 87.5rem;
      margin: 0 auto;
      padding: 3.125rem var(--side-pad);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
    }
    
    .community-image{
      position: relative;
    }
    
    .community-image img{
      width: 85%;
      height: auto;
      display: block;
      border-radius: 12px;
      box-shadow: 0 20px 60px rgba(0,0,0,.4);
    }
    
    .community-container.no-partner-img{
      grid-template-columns: 1fr;
      max-width: 50rem;
    }
    .community-container.no-partner-img .community-content{
      text-align: center;
    }
    .community-container.no-partner-img .community-text{
      margin-left: auto;
      margin-right: auto;
    }
    .community-container.no-partner-img .form-group{
      justify-content: center;
    }
    .community-container.no-partner-img .partner-note{
      text-align: center;
    }

    .community-content{
    }
    
    .community-title{
      font-size: clamp(1.375rem, 2.5vw, 2rem);
      font-weight: 700;
      line-height: 1.15;
      margin: 0 0 1rem 0;
      letter-spacing: -0.02em;
    }
    .community-text{
      font-size: 0.9375rem;
      line-height: 1.6;
      opacity: .85;
      margin: 0 0 1.5rem 0;
      max-width: 37.5rem;
    }
    
    .partner-form{
      margin-top: 0;
    }
    
    /* Champ partenaire : même habillage que ".reg-form" / ".newsletter-input-row"
       — pilule blanche (input transparent) + bouton rose. */
    .form-group{
      display: flex;
      align-items: stretch;
      flex-wrap: nowrap;
      gap: .4rem;
      background: #ffffff;
      border-radius: var(--radius-pill, 999px);
      padding: .35rem;
      box-shadow: 0 2px 10px rgba(2, 6, 23, .08);
    }

    .partner-email-input{
      flex: 1 1 auto;
      min-width: 0;
      border: 0;
      background: transparent;
      padding: .6rem 1rem;
      font-size: 1rem;
      font-family: inherit;
      color: var(--page-text, #0f172a);
      outline: none;
      transition: none;
    }

    .partner-email-input::placeholder{
      color: #9ca3af;
      opacity: 1;
    }

    .partner-email-input:focus{
      background: transparent;
      border: 0;
      box-shadow: none;
    }

    /* Bouton "Devenir partenaire" — copie de ".reg-form .reg-submit" (rose, pilule).
       Sélecteur fort pour surcharger le système unifié de fer-modern.css. */
    .partner-form .partner-submit{
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 0;
      cursor: pointer;
      background: var(--primary, #db2777);
      color: #ffffff;
      font-family: inherit;
      font-weight: 800;
      font-size: .95rem;
      text-transform: none;
      letter-spacing: .01em;
      padding: .65rem 1.6rem;
      border-radius: var(--radius-pill, 999px);
      transition: filter .15s ease;
    }
    .partner-form .partner-submit:hover{ filter: brightness(1.12); }
    /* Flèche SVG masquée → bouton texte seul, comme "Vérifier" / "Je m'abonne". */
    .partner-form .partner-submit svg{ display: none; }

    .form-note{
      font-size: 0.875rem;
      opacity: .6;
      margin: 0.75rem 0 0 0;
      font-style: italic;
    }
    
    
        /* ===== News Band ===== */
    .news-band{
      width: 100vw;
      position: relative;
      left: 50%;
      right: 50%;
      margin-left: -50vw;
      margin-right: -50vw;
      /* ── Surfaces des cellules d actualité ────────────────────────────────
         Elles étaient des voiles BLANCS (rgba(255,255,255,.06)) : pensés pour
         un fond sombre, invisibles sur un gris clair. Elles passent par des
         variables, redéfinies plus bas quand la section est en carte grise.
         --news-surface est la couleur RÉSULTANTE d une cellule : la pastille
         « Actualité » s en sert pour son halo de découpe, qui doit être
         exactement la couleur derrière elle. */
      --news-cellule:        rgba(255,255,255,.06);
      --news-cellule-forte:  rgba(255,255,255,.08);
      --news-cellule-douce:  rgba(255,255,255,.03);
      --news-cellule-survol: rgba(255,255,255,.12);
      --news-surface: color-mix(in srgb, var(--c-news-band, var(--secondary, #0f172a)) 92%, #ffffff 8%);
      --news-vide: linear-gradient(135deg, #1f2937, #111827);
      background: var(--c-news-band, var(--secondary, #0f172a)); /* couleur propre au bandeau */
      color: var(--c-news-band-text, var(--secondary-text, #ffffff));
      padding: 0;
      margin-top: 0;
      margin-bottom: 0;
    }

    .news-band::before{
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 0.375rem;
      background: var(--pink);
      /* Le trait épouse les coins de la section : sans ces rayons, il
         dépassait en angle droit dès que la section était arrondie (mode
         carte). "inherit" suit donc le rayon du thème sans le recopier. */
      border-top-left-radius: inherit;
      border-top-right-radius: inherit;
    }

    .news-band-container{
      max-width: 87.5rem;
      margin: 0 auto;
      padding: 2.5rem var(--side-pad) 2.75rem;
    }

    .news-band-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap: 0.75rem;
      margin-bottom: 0.875rem;
    }

    .news-band .news-band-title,
    .news-band-head .news-band-title,
    .news-band-title {
      margin: 0 0 25px 0;
      /* Réduit progressivement (le texte plus long que "Historique" donne une impression
         visuelle plus grande). Sélecteur ultra-spécifique pour battre tout override
         + 3 alternatives au cas où cache navigateur ne recharge pas */
      font-size: 1.85rem !important;
      font-weight: 900 !important;
      letter-spacing: -0.02em;
      line-height: 1.15;
      flex: 1; min-width: 0;
    }
    @media (max-width: 768px) {
      .news-band-title { font-size: 1.25rem !important; }
    }

    /* CTA "Voir toutes les actualités" sous les cards.
       Le bouton lui-même utilise .btn-action-primary (système unifié dans fer-modern.css)
       pour rester cohérent avec les autres CTA (Vérifier, Devenir partenaire, etc.) +
       suivre les couleurs --primary/--primary-hover du thème. */
    .news-band-footer {
      margin-top: 2rem;
      text-align: center; /* défaut : centré, overridable via getAccueilAlignStyle */
    }
    .news-band-footer .btn-action-primary i {
      transition: transform .2s ease;
    }
    .news-band-footer .btn-action-primary:hover i {
      transform: translateX(4px);
    }

    .news-band-link{
      color: var(--pink);
      text-decoration: none;
      font-weight: 700;
    }

    .news-band-link:hover{
      color: var(--pink-dark);
    }

    .news-grid{
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1rem;
      justify-content: center;
      max-width: 68rem;
      margin: 0 auto;
    }
    /* Variantes avec image (toggle via news.card_style).
       Responsive 3 niveaux :
         Mobile (≤768px)    : 1 col × 4 cards = 4 visibles
         Standard           : 2 cols × 2 rows = 4 visibles (2x2)
         Grand écran (≥1280): 3 cols × 2 rows = 6 visibles (3x2)
       Côté PHP on charge 6 cards, CSS cache les cards 5-6 sur petits écrans.
       grid-auto-rows:1fr → TOUTES les cards ont la même hauteur (= la plus grande). */
    .news-grid.news-grid-2x2 {
      grid-template-columns: repeat(2, minmax(280px, 1fr));
      grid-auto-rows: 1fr;
      gap: 1.5rem;
      max-width: 60rem;
      align-items: stretch;
    }
    /* Cache les cards 5-6 par défaut (2x2 = 4 visibles) */
    .news-grid.news-grid-2x2 > *:nth-child(n+5) { display: none; }
    @media (max-width: 768px) {
      .news-grid.news-grid-2x2 { grid-template-columns: 1fr; }
      /* Mobile : toujours max 4 (en colonne) */
    }
    /* Grand écran (desktop large, 27"+) : 3 colonnes × 2 lignes = 6 cards visibles */
    @media (min-width: 1280px) {
      .news-grid.news-grid-2x2 {
        grid-template-columns: repeat(3, minmax(280px, 1fr));
        max-width: 90rem;
      }
      /* Sur grand écran on AFFICHE les cards 5-6 (override le display:none) */
      .news-grid.news-grid-2x2 > *:nth-child(n+5) { display: flex; }
    }

    /* ── Variant 'with-image-side' : cards horizontales (image gauche + texte droite) ──
       Image FLUSH bord à bord avec la card (pas de padding ni gap), card overflow:hidden
       → l'image hérite des coins arrondis de la card via le clip. Plus de zone grise. */
    .news-card-h {
      display: flex;
      align-items: stretch;
      gap: 0;
      padding: 0;
      background: var(--news-cellule, rgba(255,255,255,.06));
      border-radius: var(--radius-lg);
      overflow: hidden;
      text-decoration: none;
      color: inherit;
      transition: background .18s ease, transform .18s ease;
      text-align: left;
      height: 100%;
    }
    .news-card-h:hover {
      background: var(--news-cellule-survol, rgba(255,255,255,.10));
      transform: translateY(-2px);
    }
    .news-card-h-img {
      flex: 0 0 180px;        /* desktop : 180px (mobile 130px ci-dessous) */
      align-self: stretch;
      overflow: hidden;
      background: var(--news-cellule-douce, rgba(255,255,255,.03));
      /* Coins droits arrondis (les gauches sont déjà clippés par card overflow:hidden) */
      border-radius: 0 var(--radius, 12px) var(--radius, 12px) 0;
      /* CAP la hauteur visible : sans ça, l'intrinsèque d'une image portrait
         (newspaper scan 800x1600 → ~360px de haut à 180px de large) bubble vers
         la card via height:100% + align-self:stretch → grid-auto-rows:1fr étire
         TOUTES les autres cards à 360px. Avec max-height, l'image est cappée et
         la card retombe à la hauteur naturelle du body (~170px). */
      max-height: 180px;
    }
    /* Placeholder affiché quand l'article n'a pas d'image (style identique à /news) */
    .news-card-h-placeholder,
    .news-card-img .news-card-h-placeholder {
      width: 100%; height: 100%;
      display: flex; align-items: center; justify-content: center;
      font-size: 2rem; opacity: .3;
    }
    .news-card-h-img img {
      width: 100%; height: 100%;
      max-height: 180px;        /* ceinture + bretelles : empêche le bubble intrinsèque */
      object-fit: cover; display: block;
      transition: transform .3s ease;
    }
    .news-card-h:hover .news-card-h-img img { transform: scale(1.04); }
    .news-card-h-body {
      flex: 1; min-width: 0;
      display: flex; flex-direction: column;
      gap: 0.375rem;
      padding: 0.875rem 1rem; /* padding interne uniquement sur le body */
      text-align: left;
    }
    .news-card-h-title {
      margin: 0;
      font-size: 0.9375rem;
      font-weight: 700; line-height: 1.35;
      color: #fff;
      text-align: left;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    .news-card-h-meta {
      display: flex; align-items: center; gap: 0.3125rem;
      font-size: 0.7812rem; font-weight: 500;
      color: #94a3b8 !important; /* gris slate (lisible sur fond dark, pas blanc) */
      flex-wrap: wrap;
      text-align: left;
    }
    /* Couleurs forcées avec sélecteur ULTRA-spécifique + !important + hexa littéral
       pour battre TOUT override possible (a, .news-band, color: inherit, etc.) */
    .news-band .news-card-h .news-card-h-source,
    .news-card-h .news-card-h-source { color: var(--primary, #f42182) !important; font-weight: 700; }
    .news-band .news-card-h .news-card-h-dot,
    .news-card-h .news-card-h-dot { font-size: 0.5rem; opacity: .5; color: #94a3b8 !important; }
    .news-band .news-card-h .news-card-h-date,
    .news-card-h .news-card-h-date { color: #94a3b8 !important; }
    .news-band .news-card-h .news-card-h-cta,
    .news-card-h .news-card-h-cta {
      margin-top: auto;
      font-size: 0.8125rem;
      color: var(--primary, #f42182) !important; /* rose vif (var --primary par défaut) */
      font-weight: 700;
      text-align: left;
      align-self: flex-start;
    }
    @media (max-width: 640px) {
      .news-card-h-img { flex: 0 0 130px; }
    }
    /* Bloc image en haut de la card en mode with-image. position:relative pour ancrer
       la pill .news-kicker qui chevauche le bord bas de l'image. overflow:visible pour
       laisser la pill dépasser (l'image elle-même est clippée par .news-card-img-inner). */
    .news-card-img {
      width: 100%; height: 180px;
      background: var(--news-cellule-douce, rgba(255,255,255,.03));
      position: relative;
      overflow: visible; /* pour que la pill .news-kicker dépasse */
    }
    .news-card-img img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .3s ease;
    }
    .news-card:hover .news-card-img img { transform: scale(1.04); }
    /* Pill "Actualité" chevauchant le bord bas de l'image (style timeline kicker).
       Border de 5px de la couleur SURFACE de la card (= mélange rgba(255,255,255,.08)
       + var(--secondary)) → sur l'image, halo discret de la couleur card = effet
       "découpe" propre comme la timeline. Sur la card body, halo se fond naturellement. */
    .news-card-img .news-kicker {
      position: absolute;
      bottom: 0; left: 1rem;
      transform: translateY(50%);
      z-index: 3;
      margin: 0;
      /* color-mix : reproduit exactement la couleur visible de la card (white 8% sur secondary) */
      border: 5px solid var(--news-surface, color-mix(in srgb, var(--secondary, #0f172a) 92%, #ffffff 8%)) !important;
      box-shadow: 0 0 0 1px var(--news-surface, color-mix(in srgb, var(--secondary, #0f172a) 92%, #ffffff 8%));
    }
    /* Plus d'espace en haut du news-body quand il y a une image au-dessus → laisse
       respirer la pill qui dépasse et le titre d'article qui suit. */
    .news-card-img + .news-body { padding-top: 1.75rem; }

    .news-card{
      display:flex;
      flex-direction: column;
      border-radius: var(--radius-lg);
      background: var(--news-cellule-forte, rgba(255,255,255,.08));
      text-decoration: none;
      overflow: hidden;
      min-height: 8.75rem;
      transition: transform .2s ease, background .2s ease, border-color .2s ease;
    }

    .news-card:hover{
      transform: translateY(-3px);
      background: var(--news-cellule-survol, rgba(255,255,255,.12));
      border-color: color-mix(in srgb, var(--primary) 60%, transparent);
    }

    .news-media{
      width: 100%;
      height: 11.875rem;
      background: var(--news-vide, linear-gradient(135deg, #1f2937, #111827));
      overflow: hidden;
      display: none;
    }

    .news-media img{
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .news-body{
      display:flex;
      flex-direction: column;
      gap: 0.5rem;
      padding: 1rem;
      min-height: 7.5rem;
      /* Override le text-align:center hérité de main → texte aligné à gauche dans les cards */
      text-align: left;
    }

    .news-kicker,
    .news-band .news-kicker {
      /* Pill rose (couleurs IDENTIQUES timeline .t-kicker : text rose / fond rose pâle).
         Sélecteur double + !important pour battre toute couleur héritée. */
      display: inline-block;
      align-self: flex-start; /* ne s'étire pas à toute la largeur */
      font-size: 0.6875rem;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: var(--pink, #db2777) !important;
      font-weight: 800;
      padding: 0.375rem 0.75rem;
      background: #fce7f3 !important;
      border-radius: 100px;
    }
    /* Dark theme : matche la timeline .t-kicker dark mode (fond violet dark, texte pink) */
    body.dark-theme .news-kicker {
      background: #2d1f3d !important;
      color: var(--pink, #db2777) !important;
    }

    .news-title{
      font-size: 0.875rem;
      font-weight: 700;
      line-height: 1.35;
    }

    .news-date{
      font-size: 0.75rem;
      opacity: .65;
    }

    .news-cta{
      margin-top: auto;
      font-size: 0.75rem;
      color: var(--pink);
      font-weight: 700;
    }

    .news-empty{
      padding: 1rem;
      border-radius: var(--radius-lg);
      background: rgba(128,128,128,.08);
      border: 1px dashed rgba(128,128,128,.25);
      opacity: .7;
      font-size: 0.8125rem;
    }

    @media (max-width: 700px){
      .news-grid{ grid-template-columns: 1fr; }
      .news-media{ height: 9.375rem; }
    }
@media (max-width: 1040px){
      .community-section{
        margin-top: 6.875rem;
      }
      
      .community-container{
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem var(--side-pad);
      }

      .community-image{
        text-align: center;
      }

      .community-image img{
        width: 92%;
        margin: 0 auto;
      }

      .community-title{
        font-size: 1.5rem;
      }

      .community-text{
        font-size: 0.9375rem;
      }
      
      /* Mobile : bouton SOUS le champ, tous deux pleine largeur (même taille).
         Même principe que les formulaires reg-bar / newsletter. */
      .form-group{
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        padding: 0;
        gap: .6rem;
      }

      .partner-email-input{
        min-width: 100%;
        background: #ffffff;
        border-radius: var(--radius-pill, 999px);
        box-shadow: 0 2px 10px rgba(2, 6, 23, .08);
      }

      .partner-form .partner-submit{
        width: 100%;
        padding: .6rem 1.6rem;
        font-size: 1rem;
      }

      .reg-bar{
        margin-top: 7.5rem;
      }
    }
  margin-top: 2.25rem !important;
  margin-bottom: 3.5rem !important;
}

.timeline-section{
  margin-top: 2rem !important;
}

/* ===== VIDEO FLOATING PILLS (option 3) ===== */
.demo-overlay{
  align-items:flex-end;
  justify-content:flex-start;
}

.demo-panel.video-float{
  width: auto;
  max-width: calc(100% - 10rem);
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: 0;
  color: #fff;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap: 0.25rem;
  transform: translate(35px, -35px);
}

.hero-text{
  display: contents;
}

.countdown-wrap{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap: 2px;
}

.countdown-row{
  width: max-content;
}

.demo-panel.video-float .demo-kicker{
  color: #ffffff;
  opacity: 1;
  margin-bottom: 0.375rem;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: none;
  text-shadow: 0 10px 28px rgba(0,0,0,.4);
}
.demo-panel.video-float .demo-kicker p{
  margin: 0;
}
/* Guard-rail: TinyMCE images can be resized smaller freely,
   but never exceed container bounds */
.demo-panel.video-float .demo-kicker img{
  display: block;
  max-width: 100% !important;
  height: auto !important;
  max-height: 50vh;
}

.demo-panel.video-float .demo-desc{
  margin: 0 0 0.375rem;
}

.demo-panel.video-float .timebox{
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 10px 28px rgba(2,6,23,.18);
}

.demo-panel.video-float .small-note{
  color: rgba(255,255,255,.85);
  opacity: 1;
  text-shadow: 0 8px 24px rgba(0,0,0,.35);
  margin-top: 0;
  align-self:flex-end;
  text-align:right;
}

.demo-panel.video-float .countdown-row{
  margin: 0.25rem 0 0.25rem;
}

.demo-panel.video-float .actions{
  margin-top: 0.25rem;
}

@media (max-width: 1040px){
  .demo-overlay{
    align-items:flex-end;
    justify-content:center;
    padding: 1rem;
  }
  main{
    padding-top: 0.9375rem;
  }
  .demo-wrap{
    margin-top: 4rem;
  }
  .demo-card{
    /* PRIORITÉ : --hero-card-height-mobile > --hero-card-height (override desktop)
       > --demo-card-height (mécanisme legacy de mesure dynamique) > clamp fallback.
       Sans ça, le slider mobile était SILENCIEUSEMENT IGNORÉ en mobile car le clamp
       legacy gagnait avec son !important. */
    height: var(--hero-card-height-mobile, var(--hero-card-height, var(--demo-card-height, clamp(34.6875rem, calc(64vh - 2.5rem), 48.4375rem)))) !important;
    /* Largeur MOBILE : --hero-card-width-mobile prioritaire. Sans ce override mobile,
       le slider largeur mobile n'avait aucun effet (le CSS ne lisait que la variable
       desktop) et toucher la largeur en mobile semblait modifier la version PC. */
    width: var(--hero-card-width-mobile, var(--hero-card-width, 100%));
    margin-left:  var(--hero-card-mx-mobile, var(--hero-card-mx, auto));
    margin-right: var(--hero-card-mx-mobile, var(--hero-card-mx, auto));
    /* On eteint la VARIABLE et pas seulement `box-shadow` : sinon le rappel
       d ombre pose au-dessus du cache de coin en ressusciterait une ici. */
    --hero-card-shadow: none;
    opacity: 0;
    transition: opacity .3s ease;
  }
  .demo-card.ready{
    opacity: 1;
    transition: opacity .3s ease, height .4s ease;
  }
  .demo-panel.video-float{
    position: relative;
    height: 100%;
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    align-items:center;
    text-align:center;
    justify-content:flex-end;
    gap: 0.625rem;
    transform: none;
    padding: 0;
    padding-bottom: 0;
  }
  .demo-panel.video-float .demo-kicker img{
    max-width: 100% !important;
    height: auto !important;
    max-height: 35vh;
  }
  .demo-panel.video-float .hero-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90%, 32.5rem);
  }
  .demo-panel.video-float .demo-kicker{
    margin-bottom: 0.375rem;
  }
  .demo-panel.video-float .demo-desc{
    margin: 0;
  }
  .countdown-wrap{
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.3125rem;
    align-items: stretch;
    width: 100%;
  }
  /* ── Overrides conditionnels mobile : dès qu'un élément possède une position
     custom mobile, on relâche left/right/bottom pour laisser applyHeroPositionPct
     gérer la position. On NE retire PAS `width: 100%` : sinon le countdown-row
     (qui a width:100% sur le parent à L2019) se contractait → les timeboxes
     flex:1 1 0 perdent leur étirement et le timer apparait "plus petit" au drag.
     Conséquence : le timer mobile peut être bougé VERTICALEMENT mais conserve
     sa pleine largeur. Pour un drag horizontal, utiliser le mode "Centré horizontal"
     via clic droit (qui force la position X au centre quelle que soit la width). */
  .countdown-wrap[data-anchor-x-mobile],
  .countdown-wrap[data-pos-top-mobile]{
    left: auto;
    right: auto;
    bottom: auto;
    /* width: 100% conservé du CSS de base — pas d'override pour préserver le layout */
  }
  .demo-panel.video-float .hero-text:has([data-anchor-x-mobile]),
  .demo-panel.video-float .hero-text:has([data-pos-top-mobile]){
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: auto;
  }
  .countdown-row{
    width: 100%;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin: 0;
  }
  .demo-panel.video-float .small-note{
    align-self:center;
    text-align:center;
  }
  .demo-panel.video-float .actions{
    display:none;
  }
  .mobile-cta{
    display:flex;
  }
  /* Timeboxes mobile : flex-grow:0 + min-width fixe pour qu'elles aient la même
     taille apparente que .countdown-wrap soit en width:100% (par défaut, en bas
     pleine width) OU en width:max-content (après drag custom). Avant cette règle,
     les timeboxes flex:1 1 0 s'étiraient en pleine width puis se contractaient au
     drag → effet "le timer rapetisse au moment où je le bouge" non désiré. */
  .timebox{
    flex: 1 1 0;
    min-width: 0;
    padding: 0.5rem 0.375rem;
  }
  .timebox .num{ font-size: 1.25rem; }
  .timebox .lbl{ font-size: 0.625rem; letter-spacing: .12em; }
  .timebox-seconds{ display:none; }
  .actions{ justify-content:center; }
}

/* iPad/tablet: reduce video height a bit. La variable --hero-card-height (slider
   éditeur) reste prioritaire pour permettre à l'admin d'override la valeur par défaut. */
@media (min-width: 768px) and (max-width: 1024px){
  .demo-card{
    height: var(--hero-card-height, clamp(32.5rem, 56vh, 45rem));
  }
}

/* Shorter laptop screens: reduce video height a bit (idem priorité au slider). */
@media (min-width: 1041px) and (max-height: 900px){
  .demo-card{
    height: var(--hero-card-height, clamp(37.5rem, 62vh, 60rem));
  }
}

/* iPad 10" (force override) */
    @media (min-width: 768px) and (max-width: 1200px){
      .demo-card{
        height: clamp(32.5rem, 56vh, 45rem) !important;
      }
    }

    @media (max-width: 1040px){
      .mobile-socials{
        display:flex;
        width: 100%;
        justify-content:center;
        padding: 0.75rem 0 0.25rem;
        margin-top: auto;
        border-top: 1px solid rgba(15,23,42,.08);
      }
      .mobile-socials .social-btn{
        height: 2.25rem;
        padding: 0.375rem 0.625rem;
        border-radius: var(--radius);
      }
      .mobile-socials .social-btn img{
        height: 1.5rem;
        max-width: 7.5rem;
      }
      .mobile-socials .social-btn.ligue img{
        height: 1.375rem;
        max-width: 8.75rem;
      }
      .video-social-card{
        display:none;
      }
    }

    /* ===== DARK THEME OVERRIDES for Accueil ===== */
    body.dark-theme .demo-badge--fee{
      background: var(--primary, #f42182);
      color: var(--primary-text, #fff);
    }
    body.dark-theme .demo-badge--km{
      background: #fff;
      color: #0f172a;
    }
    body.dark-theme .reg-card{
      background: linear-gradient(135deg, #1a1025, #1e1230);
    }
    body.dark-theme .reg-title{
      color: #ffffff;
    }
    /* Le champ et l'encart de retour sont dans une pilule / un encart BLANCS
       quel que soit le thème → on garde le style clair en mode sombre (sinon le
       placeholder devient blanc sur blanc = invisible). On surcharge juste pour
       neutraliser les anciennes règles sombres. */
    body.dark-theme .reg-input{
      background: transparent;
      color: var(--page-text, #0f172a);
      box-shadow: none;
      border: 0;
    }
    body.dark-theme .reg-input::placeholder{
      color: #9ca3af;
    }
    body.dark-theme .reg-input:focus{
      background: transparent;
      border: 0;
      box-shadow: none;
    }
    body.dark-theme .reg-hint{
      color: rgba(255,255,255,.5);
    }

    body.dark-theme .t-card{
      background: #1e1f28;
      border-color: transparent;
      box-shadow: none;
    }
    body.dark-theme .t-card:hover{
      box-shadow: none;
    }
    body.dark-theme .t-media{
      background: linear-gradient(135deg, #1a1025, #1e1230);
    }
    body.dark-theme .t-kicker{
      background: #2d1f3d;
      color: var(--pink);
      border-color: #1e1f28;
      box-shadow: 0 0 0 1px #1e1f28;
    }
    body.dark-theme .t-amount{
      color: #ffffff;
    }
    body.dark-theme .t-pill{
      background: rgba(255,255,255,.06);
      border-color: rgba(255,255,255,.08);
      color: rgba(255,255,255,.65);
    }
    body.dark-theme .t-pill:hover{
      background: rgba(255,255,255,.1);
      border-color: rgba(255,255,255,.15);
    }
    body.dark-theme .t-dot{
      background: #1e1f28;
    }

    body.dark-theme .timeline-title{
      color: #ffffff;
    }
    body.dark-theme .timeline-desc{
      color: rgba(255,255,255,.65);
    }

    /* ═══ Section présentée en CARTE GRISE plutôt qu en bandeau ═══
       Réglages → Mise en page, option « Présentation » de chaque section.

       ⚠️ LE PLUS IMPORTANT EST D ANNULER LE PLEINE-LARGEUR. Plusieurs sections
       (bandeau actualités, notamment) sortent de leur conteneur avec la ruse
       du 100vw + marges négatives. Posées telles quelles dans une carte, elles
       en débordaient des deux côtés et la carte ne se voyait plus. */
    .accueil-carte{
      /* Repère du trait de couleur dessiné en ::before ci-dessous. */
      position: relative;
      background: color-mix(in srgb, var(--page-text, #0f172a) 4%, #fff);
      border-radius: var(--radius-lg, 24px);
      padding: clamp(1.5rem, 3vw, 2.75rem);
      overflow: hidden;
      color: var(--page-text, #0f172a);

      /* ⚠️ LE TEXTE DOIT SUIVRE LE FOND, SANS QU ON RETOUCHE CHAQUE SECTION.
         Ces blocs sont écrits pour un aplat SOMBRE : leur texte est blanc, soit
         par une variable (--c-news-band-text, --secondary-text), soit en dur.
         Posés sur un gris très clair, ils devenaient invisibles.
         On redéfinit donc les variables de texte POUR TOUS LES DESCENDANTS —
         une section ajoutée demain hérite du bon contraste sans une ligne de
         plus — puis on rattrape les rares blancs écrits en dur, juste après. */
      --c-news-band-text: var(--page-text, #0f172a);
      --c-partners-text: var(--page-text, #0f172a);
      --c-newsletter-text: var(--page-text, #0f172a);
      --secondary-text: var(--page-text, #0f172a);
      /* ⚠️ PAS DE --primary-text ICI. Cette variable est le texte POSÉ SUR un
         aplat de couleur — le libellé d un bouton rose, par exemple. La
         redéfinir en sombre rendait « Je m abonne » invisible sur son bouton.
         Seules les variables de texte DE SECTION sont concernées. */
    }
    .accueil-carte > *,
    .accueil-carte .news-band,
    .accueil-carte .community-section,
    .accueil-carte .newsletter-card{
      width: auto;
      max-width: none;
      /* ⚠️ relative ET NON static. On annule ici la ruse du pleine-largeur
         (100vw + marges négatives) en neutralisant left/right/margin — mais la
         section doit RESTER positionnée : le trait de couleur du haut est en
         position:absolute et s ancre sur elle. En static, il partait se caler
         sur un ancêtre lointain, puis disparaissait, rogné par le overflow
         de la carte. */
      position: relative;
      left: auto;
      right: auto;
      margin-left: 0;
      margin-right: 0;
    }
    /* Dans une carte, la section ne porte plus son propre aplat : c est la
       carte qui donne le fond, et deux fonds l un sur l autre feraient une
       boîte dans une boîte. */
    .accueil-carte .news-band,
    .accueil-carte .community-section,
    .accueil-carte .newsletter-card{
      background: transparent;
      color: inherit;
      border-radius: 0;
      padding-left: 0;
      padding-right: 0;
    }
    /* Les blancs écrits en dur, pensés pour le fond sombre. Les accents roses
       (source, lien « Lire »), eux, portent !important et survivent — c est
       voulu : ils restent lisibles sur gris clair. Ni les liens ni les boutons
       ne sont dans cette liste : ils gardent leur fond et leur texte blanc. */
    .accueil-carte h1, .accueil-carte h2, .accueil-carte h3,
    .accueil-carte p,  .accueil-carte li, .accueil-carte label,
    .accueil-carte small,
    .accueil-carte .news-band-title,
    .accueil-carte .news-card-h-title{
      color: var(--page-text, #0f172a);
    }
    /* En thème sombre, la carte s éclaircit et le texte repasse en clair : sans
       cette ligne, les règles ci-dessus écriraient en gris foncé sur fond
       foncé — l inverse exact du problème qu elles corrigent. */
    body.dark-theme .accueil-carte{
      background: color-mix(in srgb, #fff 6%, transparent);
      --page-text: #ffffff;
    }

    /* ═══ Bandeau partenaires en carte grise ═══
       Le bandeau met image et texte côte à côte, mais bascule en colonne sous
       un certain seuil. Dans une carte, la largeur utile est plus faible : il
       repassait en pile — image en haut, texte dessous — alors que c est
       précisément la mise en côte à côte qui fait la carte. On la rétablit dès
       qu il y a la place, et on resserre l écart, taillé pour la pleine page. */
    .accueil-carte .community-container{
      padding: 0;
      gap: 2.5rem;
    }
    @media (min-width: 700px){
      .accueil-carte .community-container:not(.no-partner-img){
        grid-template-columns: 1fr 1fr;
      }
    }

    /* ═══ Cellules d actualité sur carte grise ═══
       Un voile blanc sur un gris clair ne se voit pas : on inverse en voile
       SOMBRE, très léger — juste assez pour que la cellule se détache de la
       carte sans redevenir une boîte. */
    .accueil-carte .news-band{
      --news-cellule:        rgba(0, 0, 0, .06);
      --news-cellule-forte:  rgba(0, 0, 0, .055);
      --news-cellule-douce:  rgba(0, 0, 0, .025);
      --news-cellule-survol: rgba(0, 0, 0, .075);
      /* Couleur RÉELLE d une cellule posée sur la carte : c est elle que la
         pastille « Actualité » doit reprendre pour son halo, sinon elle garde
         le bleu nuit du bandeau au milieu du gris. */
      /* Doit valoir EXACTEMENT la couleur d une cellule posée sur la carte,
         soit le fond de carte (4 %) plus le voile de la cellule (6 %). La
         pastille « Actualité » s en sert pour son halo de découpe : trop clair,
         le halo disparaît sur la photo ; trop sombre, il fait une bordure.
         11 % est la valeur qui redonne l effet visible en mode bandeau. */
      --news-surface: color-mix(in srgb, var(--page-text, #0f172a) 11%, #fff);
      --news-vide: color-mix(in srgb, var(--page-text, #0f172a) 7%, #fff);
    }

    /* Trait de couleur en haut de section : masquable depuis l'éditeur.
       On masque le pseudo-élément plutôt que de le retirer du rendu : le
       réglage doit pouvoir revenir en arrière sans rien reconstruire. */
    .accueil-sans-trait .news-band::before,
    .accueil-sans-trait .community-section::before{
      display: none;
    }

    /* ═══ Trait de couleur d une section présentée en carte ═══
       ⚠️ IL EST DESSINÉ SUR LA CARTE, PAS SUR LA SECTION.
       La carte a un remplissage de 1,5 à 2,75 rem : un trait posé sur la
       section commençait après ce remplissage et flottait au milieu, loin
       des bords. Sur la carte, il touche le haut et suit ses coins.

       La section, elle, masque le sien en mode carte — sinon il y en aurait
       deux, l un flottant et l autre collé. */
    .accueil-carte .news-band::before,
    .accueil-carte .community-section::before{
      display: none;
    }
    .accueil-carte.accueil-trait::before{
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 0.375rem;
      background: var(--pink);
      /* Les coins de la carte, repris tels quels : le overflow:hidden de la
         carte suffirait à rogner, mais un rayon explicite évite le liseré
         d antialiasing visible sur certains navigateurs. */
      border-top-left-radius: inherit;
      border-top-right-radius: inherit;
      z-index: 1;
    }
