/* ── THEME VARIABLES ──────────────────────────────────── */
    :root {
      /* Dark mode - Chalkboard */
      --bg: #1c1c1c;
      --bg-section: #242424;
      --bg-card: #2a2a2a;
      --bg-card-glass: rgba(42, 42, 42, 0.85);
      --bg-card-hover: #333333;
      --text: #e3e3df;
      --text-muted: #999995;
      --border: #333333;
      --shadow: 0 1px 2px rgba(0,0,0,0.2);
      --primary: #839fad;
      --secondary: #5c7c8a;
      --green: #7fa17e;
    }
    html.light-theme {
      /* Light mode - Paper */
      --bg: #ecece7;
      --bg-section: #e0e0db;
      --bg-card: #f4f4f0;
      --bg-card-glass: rgba(244, 244, 240, 0.85);
      --bg-card-hover: #fafaf8;
      --text: #2a2a2a;
      --text-muted: #666666;
      --border: #d8d8d4;
      --shadow: 0 1px 0 0 rgba(0,0,0,0.05);
      --primary: #5c7c8a;
      --secondary: #839fad;
      --green: #7fa17e;
    }

    /* ── RESET / BASE ─────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; overflow-x: hidden; }
    body {
      font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.7;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
      padding-top: 24px;
      position: relative;
      max-width: 100vw;
    }
    body::before {
      content: '';
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      pointer-events: none;
      z-index: 9999;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
      opacity: 0.035;
    }
    h1, h2, h3, p, span, a, div, button {
      text-shadow: 0 0 1px rgba(0,0,0,0.05);
    }
    html.light-theme h1, html.light-theme h2, html.light-theme h3, html.light-theme p, html.light-theme span, html.light-theme a, html.light-theme div, html.light-theme button {
      text-shadow: 0 0 1px rgba(0,0,0,0.15);
    }
    ::selection { background: rgba(92, 124, 138, 0.3); color: inherit; }
    html.light-theme ::selection { background: rgba(201, 155, 99, 0.3); color: inherit; }
    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; display: block; }
    :focus-visible {
      outline: 2px solid var(--primary);
      outline-offset: 4px;
    }

    /* ── THEME TOGGLE ─────────────────────────────────────── */
    .theme-toggle {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1000;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--bg-card);
      border: 1px solid var(--border);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      transition: all 0.3s ease;
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
    .theme-toggle:hover {
      transform: scale(1.1);
      box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    }

    /* Sun/Moon icon — matching app.html design */
    .sun-moon-container {
      width: 24px;
      height: 24px;
      position: relative;
      transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .sun-moon-icon {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 14px;
      height: 14px;
      background: var(--primary);
      border-radius: 50%;
      transform: translate(-50%, -50%);
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    /* Rays for Sun (dark mode = default on landing) */
    .sun-moon-icon::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 20px;
      height: 20px;
      border: 2px dashed var(--primary);
      border-radius: 50%;
      transform: translate(-50%, -50%) scale(0);
      opacity: 0;
      transition: all 0.4s ease;
    }
    /* Mask for Moon (dark mode = default on landing) */
    .sun-moon-icon::after {
      content: '';
      position: absolute;
      top: -4px;
      right: -4px;
      width: 14px;
      height: 14px;
      background: var(--bg-card);
      border-radius: 50%;
      transform: scale(1);
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    /* Dark mode (default on landing) */
    html:not(.light-theme) .sun-moon-container {
      transform: rotate(40deg);
    }
    /* Light mode */
    html.light-theme .sun-moon-icon::before {
      transform: translate(-50%, -50%) scale(1);
      opacity: 1;
    }
    html.light-theme .sun-moon-icon::after {
      transform: scale(0);
    }
    html.light-theme .sun-moon-container {
      transform: rotate(0deg);
    }

    /* ── CARTE ET CODALYX TEXT SOUS CARTE ─────────────────── */
    .carte-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0;
    }
    .carte-container {
      width: 100%;
      max-width: 480px;
      height: 520px;
      position: relative;
    }
    .carte-container svg {
      width: 100%;
      height: 520px;
    }
    .codalyx-text {
      margin-top: 8px;
      margin-bottom: 0;
      font-family: 'Outfit', sans-serif;
      font-weight: 800;
      font-size: clamp(2rem, 6vw, 3.5rem);
      letter-spacing: 0.2em;
      text-align: right;
      padding-right: 0;
      color: var(--primary);
      transition: color 0.3s ease;
    }
    html.light-theme .codalyx-text {
      color: var(--primary);
    }

    /* ── LOUPE ANIMATED ON MAP ────────────────────────────── */
    .loupe-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 450px;
      height: 450px;
      pointer-events: none;
      z-index: 10;
      transition: transform 0.05s linear;
    }
    
    /* ── HERO ──────────────────────────────────────────────── */
    .hero {
      position: relative;
      max-width: 1280px;
      margin: 0 auto;
      padding: 40px 40px 60px;
      display: grid;
      grid-template-columns: 58% 42%;
      gap: 0;
      align-items: start;
    }
    .hero-content {
      grid-column: 1;
      grid-row: 1;
      padding-right: 20px;
      overflow: hidden;
    }
    .hero-map {
      grid-column: 2;
      grid-row: 1;
      padding-left: 80px;
    }

    .hero > * { position: relative; z-index: 1; }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 16px;
      border: 1px solid rgba(249,115,22,0.35);
      border-radius: 100px;
      font-size: 0.82rem;
      color: var(--primary);
      font-weight: 500;
      margin-bottom: 24px;
      animation: fadeIn 500ms 200ms cubic-bezier(0.16,1,0.3,1) both;
    }

    .hero-title {
      font-family: 'Playfair Display', serif;
      font-size: 3.5rem;
      font-weight: 800;
      line-height: 1.12;
      letter-spacing: -0.02em;
      margin-bottom: 20px;
      animation: fadeInUp 600ms 400ms cubic-bezier(0.16,1,0.3,1) both;
    }
    .hero-title em {
      font-style: normal;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-editorial {
      max-width: 620px;
      margin-bottom: 32px;
      padding-left: 18px;
      border-left: 3px solid var(--primary);
      animation: fadeIn 500ms 600ms cubic-bezier(0.16,1,0.3,1) both;
    }

    .editorial-lead {
      font-family: 'Playfair Display', serif;
      font-size: 1.35rem;
      color: var(--primary);
      margin-bottom: 24px;
      line-height: 1.4;
      text-wrap: balance;
      font-weight: 600;
      letter-spacing: -0.01em;
    }

    .editorial-paragraph {
      font-size: 1.15rem;
      color: var(--text);
      margin-bottom: 20px;
      font-weight: 400;
      line-height: 1.8;
      text-align: justify;
      text-wrap: pretty;
      opacity: 0;
      animation: fadeInUp 600ms cubic-bezier(0.16,1,0.3,1) forwards;
    }

    .editorial-paragraph:nth-child(2) { animation-delay: 500ms; }
    .editorial-paragraph:nth-child(3) { animation-delay: 600ms; }
    .editorial-paragraph:nth-child(4) { animation-delay: 700ms; }
    .editorial-paragraph:nth-child(5) { animation-delay: 800ms; }

    .drop-cap {
      float: left;
      font-family: 'Playfair Display', serif;
      font-size: 4.2rem;
      line-height: 0.75;
      padding-top: 8px;
      padding-right: 8px;
      padding-left: 0;
      color: var(--primary);
      font-weight: 800;
    }

    .highlight-number {
      font-weight: 700;
      color: var(--primary);
      background: rgba(249, 115, 22, 0.1);
      padding: 0 4px;
      border-radius: 4px;
    }

    .highlight-source {
      position: relative;
      z-index: 1;
      font-weight: 600;
      color: inherit;
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .highlight-source:hover {
      color: var(--primary);
    }

    .highlight-source::after {
      content: '';
      position: absolute;
      bottom: 2px;
      left: 0;
      width: 100%;
      height: 6px;
      background-color: rgba(249, 115, 22, 0.25);
      z-index: -1;
      border-radius: 2px;
      transition: height 0.2s ease, background-color 0.2s ease;
    }

    .highlight-source:hover::after {
      height: 100%;
      background-color: rgba(249, 115, 22, 0.15);
    }

    .editorial-conclusion {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem;
      color: var(--text);
      margin-top: 32px;
      margin-bottom: 0;
      text-align: center;
      line-height: 1.5;
      border-top: 1px solid rgba(249, 115, 22, 0.45);
      border-bottom: 1px solid rgba(249, 115, 22, 0.45);
      padding: 16px 0;
      text-wrap: balance;
      opacity: 0;
      animation: fadeInUp 600ms 900ms cubic-bezier(0.16,1,0.3,1) forwards;
    }
    .editorial-conclusion em {
      font-style: italic;
      font-weight: 500;
    }

    .hero-buttons {
      display: flex;
      gap: 16px;
      justify-content: flex-start;
      margin-top: 60px;
      animation: fadeInUp 500ms 800ms cubic-bezier(0.16,1,0.3,1) both;
    }

    .btn-cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 14px 28px;
      border-radius: 8px;
      font-size: 0.95rem;
      font-weight: 600;
      font-family: 'DM Sans', sans-serif;
      white-space: nowrap;
      transition: all 200ms ease;
      cursor: pointer;
      border: none;
      position: relative;
      overflow: hidden;
    }

    .btn-cta--primary {
      background: var(--primary);
      color: var(--bg);
      box-shadow: 0 1px 2px rgba(0,0,0,0.1);
      border-radius: 28px;
    }
    .btn-cta--primary::after {
      content: '';
      position: absolute;
      top: 0; left: -100%; width: 50%; height: 100%;
      background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
      transform: skewX(-20deg);
      transition: none;
    }
    .btn-cta--primary:hover::after {
      left: 150%;
      transition: left 0.6s ease;
    }
    .btn-cta--primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    .btn-cta--secondary {
      background: rgba(255, 255, 255, 0.05);
      color: var(--text);
      border: 1px solid var(--border);
    }
    html.light-theme .btn-cta--secondary {
      background: rgba(0, 0, 0, 0.03);
    }
    .btn-cta--secondary:hover {
      background: var(--bg-card);
      border-color: var(--text-muted);
    }

    /* ── SÉPARATEUR VOYAGE REFONDU ──────────────────── */
    .codalyx-separator {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 8px 0 36px;
      gap: 16px;
      width: 100%;
      max-width: 900px;
      position: relative;
    }
    /* Ligne tiretée de chaque côté */
    .codalyx-separator__line {
      flex: 1;
      height: 1px;
      position: relative;
      overflow: visible;
    }
    .codalyx-separator__line::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 1px;
      background: linear-gradient(
        to var(--line-dir, right),
        transparent 0%,
        var(--primary) 15%,
        var(--primary) 85%,
        transparent 100%
      );
      opacity: 0.35;
    }
    /* Points de jalonnement sur la ligne */
    .codalyx-separator__line::after {
      content: '';
      position: absolute;
      top: -2.5px; left: 0; right: 0;
      height: 6px;
      background-image: radial-gradient(circle, var(--primary) 1.5px, transparent 1.5px);
      background-size: 24px 6px;
      background-repeat: repeat-x;
      opacity: 0.3;
    }
    .codalyx-separator__line--left  { --line-dir: right; }
    .codalyx-separator__line--right { --line-dir: left; }

    /* Losanges décoratifs flanquant la boussole */
    .codalyx-separator__diamond {
      width: 7px;
      height: 7px;
      background: var(--primary);
      transform: rotate(45deg);
      opacity: 0.55;
      flex-shrink: 0;
    }
    .codalyx-separator__diamond--sm {
      width: 4px;
      height: 4px;
      opacity: 0.35;
    }

    /* Boussole vintage au centre */
    .codalyx-separator__compass {
      flex-shrink: 0;
      width: 64px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: center;
      filter: drop-shadow(0 0 10px rgba(131,159,173,0.5));
    }

    /* Wrapper pleine largeur pour centrer le Solari sous le hero */
    .hero-solari-wrapper {
      grid-column: 1 / -1;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-top: 32px;
      padding-bottom: 16px;
    }

    /* ── TABLEAU SOLARI ──────────────────────────── */
    .solari-board-container {
      position: relative;
      display: flex;
      flex-direction: column;
      width: fit-content;
      transform: scale(0.77);
      transform-origin: top center;
      margin-bottom: -88px;
    }
    /* Cadre sombre — dark mode */
    .solari-frame {
      position: relative;
      background: #1a1a1a;
      border-radius: 14px 14px 0 0;
      height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 20px;
      border: 5px solid #222;
      border-bottom: none;
      box-shadow: 0 -4px 10px rgba(0,0,0,0.5), inset 0 -2px 6px rgba(0,0,0,0.4);
      width: 100%;
      box-sizing: border-box;
    }
    /* Effet gravure métal */
    .solari-frame::before {
      content: '';
      position: absolute;
      inset: 5px;
      border-radius: 10px 10px 0 0;
      border-top: 1px solid rgba(255,255,255,0.07);
      pointer-events: none;
    }
    .solari-frame-label {
      font-size: 1.1rem;
      color: rgba(255,255,255,0.55);
      letter-spacing: 0.22em;
      font-family: 'DM Sans', monospace;
      font-weight: 800; /* Gras */
      text-transform: uppercase;
      white-space: nowrap;
      text-shadow:
        0 1px 2px rgba(0,0,0,0.9),
        0 -1px 0px rgba(255,255,255,0.06);
      /* Effet de gravure en creux */
      -webkit-text-stroke: 0.3px rgba(255,255,255,0.15);
    }

    /* ── MODE CLAIR — Solari adaptatif ────────────── */
    html.light-theme .solari-frame {
      background: #593c22; /* Marron foncé prononcé */
      border-color: #3f2916;
      box-shadow: 0 -4px 14px rgba(0,0,0,0.4), inset 0 -2px 6px rgba(0,0,0,0.5);
    }
    html.light-theme .solari-frame-label {
      color: rgba(255,255,255,0.9);
      text-shadow: 0 1px 2px rgba(0,0,0,0.6);
      -webkit-text-stroke: 0;
    }
    html.light-theme .solari-matrix {
      background: #704e33; /* Marron riche intérieur */
      border-color: #593c22;
      box-shadow: 0 15px 40px rgba(0,0,0,0.4), inset 0 0 30px rgba(0,0,0,0.5);
    }
    /* Tuiles en mode clair */
    html.light-theme .flap {
      background: #422b1c; /* Tuile marron très foncé */
      color: #ffffff; /* Texte blanc comme demandé */
    }
    html.light-theme .flap span {
      text-shadow: 0 1px 2px rgba(0,0,0,0.9);
    }
    html.light-theme .flap.top-static,
    html.light-theme .flap.top-flip {
      box-shadow: inset 0 -2px 4px rgba(0,0,0,0.5);
    }
    html.light-theme .flap.bottom-static,
    html.light-theme .flap.bottom-flip {
      box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
    }
    html.light-theme .splitflap-char {
      box-shadow: 0 2px 4px rgba(0,0,0,0.4);
      border-radius: 4px;
      border: 1px solid #2e1d12;
    }

    /* ── SÉPARATEUR — MODE CLAIR ─────────────────────────── */
    html.light-theme .codalyx-separator__line::before {
      opacity: 0.65;
    }
    html.light-theme .codalyx-separator__line::after {
      opacity: 0.55;
    }
    html.light-theme .codalyx-separator__diamond {
      opacity: 0.75;
    }
    html.light-theme .codalyx-separator__diamond--sm {
      opacity: 0.5;
    }
    html.light-theme .codalyx-separator__compass {
      filter: drop-shadow(0 0 10px rgba(92, 124, 138, 0.6));
    }
    html.light-theme .codalyx-separator__compass svg circle,
    html.light-theme .codalyx-separator__compass svg line,
    html.light-theme .codalyx-separator__compass svg polygon,
    html.light-theme .codalyx-separator__compass svg text {
      /* Amplifie les opacités SVG en mode clair via un filtre global */
    }
    html.light-theme .codalyx-separator__compass svg {
      filter: contrast(1.4) brightness(0.75);
    }

    .solari-matrix {
      display: flex;
      flex-direction: column;
      gap: 3px;
      padding: 24px;
      background: #000;
      border-radius: 0 0 12px 12px;
      border: 6px solid #1a1a1a;
      border-top: none;
      box-shadow: 0 15px 50px rgba(0,0,0,0.9), inset 0 0 30px rgba(0,0,0,1);
      cursor: pointer;
      position: relative;
      overflow: hidden;
      margin: 0 auto;
      width: fit-content;
      transition: transform 0.3s ease;
      transform-origin: left top;
    }
    .solari-row {
      display: flex;
      gap: 3px;
      justify-content: center;
    }
    .solari-matrix .splitflap-char {
      width: 26px;
      height: 46px;
      font-size: 1.7rem;
      border-radius: 5px;
    }
    .solari-matrix .flap span {
      height: 46px;
      line-height: 46px;
    }
    .solari-matrix .splitflap-char.space {
      width: 14px;
    }
    .flap.text-yellow {
      color: #ffcc00;
      text-shadow: 0 0 10px rgba(255,204,0,0.6);
    }
    
    /* ── HORLOGE 7-SEGMENTS RETRO ── */
    .retro-clock {
      display: flex;
      gap: 2px;
      background: #060606;
      padding: 6px 10px;
      border-radius: 6px;
      /* Intégration réaliste : incrustation et bords d'écran */
      box-shadow: inset 0 3px 12px rgba(0,0,0,1), inset 0 1px 3px rgba(0,0,0,0.8), 0 1px 1px rgba(255,255,255,0.05);
      border: 1px solid #1a1a1a;
      border-top: 2px solid #000;
      font-family: 'DSEG7 Classic', monospace;
      font-size: 1.35rem;
      font-style: italic;
      color: #ff3b30;
      /* Halo rouge supprimé, remplacé par un très léger blur des segments */
      text-shadow: 0 0 2px rgba(255,59,48,0.7), 0 0 1px rgba(255,59,48,0.5);
      pointer-events: none;
      align-items: center;
      position: relative;
      flex-shrink: 0;
      /* Cache jusqu'au chargement de la police pour éviter le flash */
      opacity: 0;
      transition: opacity 0.4s ease;
    }
    .retro-clock.clock-ready {
      opacity: 1;
    }
    .retro-clock::before {
      content: '';
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(
        180deg,
        rgba(0,0,0,0) 0px,
        rgba(0,0,0,0) 2px,
        rgba(0,0,0,0.2) 2px,
        rgba(0,0,0,0.2) 4px
      );
      border-radius: 4px;
      pointer-events: none;
      z-index: 10;
    }
    .digit-container {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .colon-container {
      display: flex;
      align-items: center;
      justify-content: center;
      padding-bottom: 3px;
    }
    .retro-clock-ghost {
      position: absolute;
      color: rgba(40, 5, 5, 0.9);
      text-shadow: none;
      z-index: 1;
    }
    .retro-clock-val {
      position: relative;
      z-index: 2;
    }




    /* Solari scale sur tablette — géré dans le bloc responsive en bas */
    .hero-stat:nth-child(1) { animation-delay: 1000ms; }
    .hero-stat:nth-child(2) { animation-delay: 1100ms; }
    .hero-stat:nth-child(3) { 
      animation-delay: 1200ms;
      align-items: center;
      text-align: center;
    }
    .hero-stat:nth-child(4) { animation-delay: 1300ms; }
    
    .hero-stat-label {
      font-size: 1.1rem;
      color: #ff9f43;
      font-weight: 800;
      letter-spacing: 1px;
      text-transform: uppercase;
      text-shadow: 0 0 12px rgba(255,159,67,0.5);
    }

    .hero-map {
      display: flex;
      align-items: center;
      justify-content: center;
      animation: fadeInRight 700ms 500ms cubic-bezier(0.16,1,0.3,1) both;
    }
    #map-container {
      width: 100%;
      max-width: 460px;
      cursor: none; /* curseur masqué sur toute la zone de la loupe */
    }
    #map-container svg { width: 100%; height: auto; }
    /* La loupe-svg capte aussi les events sur certains navigateurs */
    .loupe-svg { cursor: none; }

    /* ── CITY PULSE ANIMATION ─────────────────────────────── */
    .city-dot {
      fill: var(--primary);
      cursor: pointer;
    }
    .city-pulse {
      fill: var(--primary);
      opacity: 0;
      animation: pulse 2s ease-out infinite;
    }
    .city-tooltip {
      font-family: 'DM Sans', sans-serif;
      font-size: 11px;
      fill: var(--text);
      pointer-events: none;
      opacity: 0;
      transition: opacity 200ms;
    }
    .city-group:hover .city-tooltip { opacity: 1; }

    @keyframes pulse {
      0% { r: 3; opacity: 0.6; }
      100% { r: 12; opacity: 0; }
    }

    /* ── SECTIONS COMMON ──────────────────────────────────── */
    .section {
      max-width: 1100px;
      margin: 0 auto;
      padding: 80px 40px;
    }
    .section-title {
      font-family: 'Playfair Display', serif;
      font-size: 2.4rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 16px;
      line-height: 1.2;
    }
    .section-subtitle {
      text-align: center;
      color: var(--text-muted);
      max-width: 640px;
      margin: 0 auto 48px;
      font-size: 1.05rem;
      font-weight: 300;
    }
    .section-subtitle em {
      color: var(--primary);
      font-style: italic;
    }

    /* ── DATA SOURCE SECTION ──────────────────────────────── */
    .data-section {
      background: var(--bg-section);
    }
    .data-text {
      text-align: center;
      max-width: 680px;
      margin: 0 auto 32px;
      color: var(--text-muted);
      font-size: 1rem;
      font-weight: 300;
    }
    .data-badges {
      display: flex;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .data-badge {
      display: inline-flex;
      align-items: center;
      padding: 10px 20px;
      border-radius: 100px;
      cursor: pointer;
      transition: all 200ms;
      gap: 4px;
      font-size: 0.9rem;
      font-weight: 500;
      background: rgba(249,115,22,0.1);
      border: 1px solid rgba(249,115,22,0.3);
      color: var(--primary);
    }

    .data-badge:hover {
      background: rgba(249,115,22,0.15);
      border-color: rgba(249,115,22,0.5);
      transform: translateY(-2px);
    }

    /* Thème light */
    html.light-theme .data-badge {
      background: rgba(234,88,12,0.08);
      border: 1px solid rgba(234,88,12,0.4);
      color: var(--primary);
      box-shadow: 0 2px 8px rgba(234,88,12,0.15);
    }

    html.light-theme .data-badge:hover {
      background: rgba(234,88,12,0.14);
      border-color: rgba(234,88,12,0.6);
    }

    @keyframes spin {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    /* ── POPUP STYLE ──────────────────────────────────────── */
    .popup-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.6);
      backdrop-filter: blur(4px);
      z-index: 9999;
      opacity: 0;
      visibility: hidden;
      transition: opacity 200ms ease, visibility 200ms ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .popup-overlay.active {
      opacity: 1;
      visibility: visible;
    }
    .popup-card {
      position: relative;
      width: min(480px, 90vw);
      background: var(--bg-card-glass);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 32px;
      box-shadow: 0 24px 64px rgba(0,0,0,0.4);
      transform: scale(0.9);
      opacity: 0;
      transition: transform 200ms ease-out, opacity 200ms ease-out;
    }
    .popup-overlay.active .popup-card {
      transform: scale(1);
      opacity: 1;
    }
    .popup-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--bg-card-hover);
      border: none;
      color: var(--text);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 1.2rem;
      transition: background 200ms;
    }
    .popup-close:hover {
      background: var(--border);
    }
    .popup-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.3rem;
      color: var(--text);
      margin-bottom: 12px;
    }
    .popup-separator {
      height: 2px;
      width: 40px;
      background: var(--primary);
      margin-bottom: 16px;
    }
    .popup-text {
      font-family: 'DM Sans', sans-serif;
      font-size: 0.9rem;
      color: var(--text-muted);
      line-height: 1.7;
      margin-bottom: 20px;
    }
    .popup-link {
      display: inline-block;
      color: var(--primary);
      font-family: 'DM Sans', sans-serif;
      font-size: 0.9rem;
      font-weight: 500;
    }
    .popup-link:hover {
      text-decoration: underline;
    }

    /* ── FEATURES GRID ────────────────────────────────────── */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
    .feature-card {
      text-align: center;
      background: var(--bg-card-glass);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 28px 24px;
      transition: all 300ms cubic-bezier(0.16,1,0.3,1);
    }
    .feature-card:hover {
      border-color: rgba(249,115,22,0.4);
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    }
    html.light-theme .feature-card:hover {
      box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    }
    .feature-icon {
      font-size: 2rem;
      margin-bottom: 16px;
      display: block;
    }
    .feature-card h3 {
      font-family: 'DM Sans', sans-serif;
      font-size: 1.05rem;
      font-weight: 600;
      margin-bottom: 8px;
    }
    .feature-card p {
      color: var(--text-muted);
      font-size: 0.9rem;
      font-weight: 300;
      line-height: 1.6;
    }

    /* ── ACCOUNT SECTION ──────────────────────────────────── */
    .account-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .account-card {
      text-align: center;
      padding: 36px 24px;
      border-radius: 14px;
      border: 1px solid var(--border);
      background: var(--bg-card-glass);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transition: all 300ms ease;
    }
    .account-card:hover {
      border-color: rgba(249,115,22,0.3);
    }
    .account-icon {
      font-size: 2.4rem;
      margin-bottom: 16px;
      display: block;
    }
    .account-card h3 {
      font-family: 'DM Sans', sans-serif;
      font-weight: 600;
      font-size: 1.05rem;
      margin-bottom: 8px;
    }
    .account-card p {
      color: var(--text-muted);
      font-size: 0.9rem;
      font-weight: 300;
      line-height: 1.6;
    }

    /* ── SECURITY SECTION ─────────────────────────────────── */
    .security-section {
      background: var(--bg-section);
    }
    .security-text {
      text-align: center;
      max-width: 640px;
      margin: 0 auto 40px;
      color: var(--text-muted);
      font-size: 1rem;
      font-weight: 300;
    }
    .security-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      max-width: 780px;
      margin: 0 auto;
    }
    .security-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 16px;
      padding: 24px;
      border-radius: 12px;
      border: 1px solid var(--border);
      background: var(--bg-card-glass);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      transition: all 300ms ease;
    }
    .security-card:hover {
      border-color: rgba(249,115,22,0.25);
    }
    .security-card-icon {
      font-size: 1.6rem;
      flex-shrink: 0;
      width: 36px;
      text-align: center;
    }
    .security-card h4 {
      font-family: 'DM Sans', sans-serif;
      font-weight: 600;
      font-size: 0.95rem;
      margin-bottom: 4px;
    }
    .security-card p {
      color: var(--text-muted);
      font-size: 0.85rem;
      font-weight: 300;
      line-height: 1.5;
    }

    /* ── QUOTE SECTION ────────────────────────────────────── */
    /* BASE — commun aux deux thèmes */
    .otro-blockquote {
      font-size: 1.2em;
      width: 70%;
      margin: 50px auto;
      font-family: 'Playfair Display', serif;
      font-style: italic;
      padding: 1.2em 30px 1.2em 75px;
      border-left: 8px solid var(--primary);
      line-height: 1.6;
      position: relative;
      border-radius: 0 8px 8px 0;
    }

    /* Guillemet ouvrant */
    .otro-blockquote::before {
      font-family: Arial, sans-serif;
      content: "\201C";
      font-size: 5em;
      position: absolute;
      left: 10px;
      top: -10px;
      color: var(--primary);
      line-height: 1;
    }

    /* Supprimer guillemet fermant */
    .otro-blockquote::after {
      content: '';
    }

    /* Signature */
    .otro-blockquote span {
      display: block;
      font-style: italic;
      font-weight: bold;
      margin-top: 1em;
      font-family: 'Playfair Display', serif;
      text-align: right;
    }

    /* THÈME DARK */
    .otro-blockquote {
      color: #cbd5e1;
      background: #1a1a2e;
      border-left-color: var(--primary);
    }

    .otro-blockquote::before {
      color: var(--primary);
    }

    .otro-blockquote span {
      color: #f8fafc;
    }

    /* THÈME LIGHT */
    html.light-theme .otro-blockquote {
      color: #444444;
      background: #f1f5f9;
      border-left-color: var(--primary);
    }

    html.light-theme .otro-blockquote::before {
      color: var(--primary);
    }

    html.light-theme .otro-blockquote span {
      color: #0f172a;
    }

    /* RESPONSIVE — géré dans le bloc responsive global en bas du fichier */


    /* ── FAQ SECTION ──────────────────────────────────────── */
    /* Section FAQ */
    .faq-section {
      padding: 80px 48px;
      max-width: 900px;
      margin: 0 auto;
    }

    .faq-header {
      text-align: center;
      margin-bottom: 56px;
    }

    .faq-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.8rem, 3vw, 2.4rem);
      font-weight: 700;
      color: var(--text);
      margin-bottom: 12px;
    }

    .faq-subtitle {
      font-family: 'DM Sans', sans-serif;
      font-size: 1rem;
      color: var(--text-muted);
    }

    /* Conteneur accordion */
    .faq-container {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    /* Item FAQ */
    .faq-item {
      border: 1px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      transition: border-color 300ms ease,
                  box-shadow 300ms ease;
      background: var(--bg-card);
    }

    .faq-item:hover {
      border-color: rgba(249,115,22,0.3);
    }

    .faq-item.active {
      border-color: rgba(249,115,22,0.5);
      box-shadow: 0 4px 20px 
        rgba(249,115,22,0.08);
    }

    /* Bouton question */
    .faq-question {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 20px 24px;
      background: transparent;
      border: none;
      cursor: pointer;
      text-align: left;
      font-family: 'Playfair Display', serif;
      font-size: 1rem;
      font-weight: 700;
      color: var(--text);
      transition: color 300ms ease;
    }

    .faq-question:hover {
      color: var(--primary);
    }

    .faq-item.active .faq-question {
      color: var(--primary);
      border-bottom: 1px solid var(--border);
    }

    /* Icône + / - */
    .faq-icon {
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      border: 1.5px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      transition: all 300ms ease;
      background: transparent;
    }

    .faq-item.active .faq-icon {
      border-color: var(--primary);
      color: var(--primary);
      background: rgba(249,115,22,0.08);
    }

    /* Rotation du trait vertical 
       pour former le − */
    .faq-item.active .faq-icon-v {
      transform: rotate(90deg);
      transform-origin: center;
      transition: transform 300ms ease;
    }

    .faq-icon-v {
      transition: transform 300ms ease;
    }

    /* Réponse accordion */
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 400ms 
        cubic-bezier(0.16, 1, 0.3, 1);
    }

    .faq-item.active .faq-answer {
      max-height: 400px;
    }

    .faq-answer p {
      font-family: 'DM Sans', sans-serif;
      font-size: 0.92rem;
      line-height: 1.8;
      color: var(--text-muted);
      padding: 20px 24px 24px;
      margin: 0;
    }

    /* Ligne décorative gauche 
       sur réponse active */
    .faq-item.active .faq-answer {
      border-left: 3px solid var(--primary);
    }

    /* Thème light */
    html.light-theme .faq-item {
      background: #ffffff;
      border-color: rgba(0,0,0,0.08);
    }

    html.light-theme .faq-item:hover {
      border-color: rgba(249,115,22,0.4);
    }

    html.light-theme .faq-item.active {
      border-color: rgba(249,115,22,0.6);
      box-shadow: 0 4px 20px 
        rgba(249,115,22,0.12);
    }

    html.light-theme .faq-question {
      color: #0f172a;
    }

    html.light-theme .faq-answer p {
      color: #475569;
    }

    /* Responsive mobile — géré dans le bloc responsive global en bas du fichier */


    /* ── CTA FINAL ────────────────────────────────────────── */
    .cta-final {
      text-align: center;
      padding: 80px 40px;
      position: relative;
      overflow: hidden;
    }
    .cta-final::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 700px 500px at 50% 50%, rgba(249,115,22,0.06) 0%, transparent 70%);
      pointer-events: none;
    }
    .cta-final > * { position: relative; z-index: 1; }
    .cta-title {
      font-family: 'Playfair Display', serif;
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 12px;
    }
    .cta-subtitle {
      color: var(--text-muted);
      font-size: 1.05rem;
      margin-bottom: 32px;
      font-weight: 300;
    }
    .cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 16px 48px;
      border-radius: 28px;
      font-size: 1.05rem;
      font-weight: 600;
      font-family: 'DM Sans', sans-serif;
      background: var(--primary);
      color: var(--bg);
      box-shadow: 0 1px 2px rgba(0,0,0,0.1);
      transition: all 250ms ease;
      border: none;
      cursor: pointer;
    }
    .cta-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .cta-login {
      display: block;
      margin-top: 20px;
      font-size: 0.9rem;
      color: var(--text-muted);
      font-weight: 400;
    }
    .cta-login a {
      color: var(--primary);
      font-weight: 500;
      transition: opacity 200ms;
    }
    .cta-login a:hover { opacity: 0.7; }

    /* ── FOOTER ───────────────────────────────────────────── */
    .footer {
      margin-top: 120px;
      padding: 60px 48px 40px;
      border-top: 1px solid var(--border);
      background: var(--bg-card);
      font-family: 'DM Sans', sans-serif;
    }

    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-column h3 {
      font-family: 'Playfair Display', serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 24px;
      position: relative;
      display: inline-block;
    }

    .footer-column h3::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -8px;
      width: 0;
      height: 2px;
      background: linear-gradient(to right, var(--primary), var(--secondary));
      border-radius: 2px;
      transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .footer-column:hover h3::after {
      width: 100%;
    }

    .footer-column ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer-column li {
      margin-bottom: 10px;
    }

    .footer-column a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.95rem;
      transition: color 200ms;
    }

    .footer-column a:hover {
      color: var(--primary);
    }

    .footer-bottom {
      max-width: 1200px;
      margin: 0 auto;
      padding-top: 24px;
      border-top: 1px solid var(--border);
      text-align: center;
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    .footer-bottom p {
      margin: 6px 0;
    }

    /* Thème light footer */
    html.light-theme .footer {
      background: #f8f9fa;
      border-top-color: rgba(0,0,0,0.08);
    }

    html.light-theme .footer-bottom {
      border-top-color: rgba(0,0,0,0.08);
    }

    /* Responsive footer — géré dans le bloc responsive global en bas du fichier */


    /* ── ANIMATIONS ───────────────────────────────────────── */
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeInRight {
      from { opacity: 0; transform: translateX(30px); }
      to { opacity: 1; transform: translateX(0); }
    }
    @keyframes fadeInScale {
      from { opacity: 0; transform: scale(0.8); }
      to { opacity: 1; transform: scale(1); }
    }

    /* Scroll reveal */
    .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 700ms cubic-bezier(0.16,1,0.3,1), transform 700ms cubic-bezier(0.16,1,0.3,1);
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ═══════════════════════════════════════════════════════════
       RESPONSIVE MOBILE — Refonte complète pour smartphones
       ═══════════════════════════════════════════════════════════ */

    /* ── TABLETTE (1200px) ──────────────────────────── */
    @media (max-width: 1200px) {
      .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 32px 32px 60px;
      }
      .hero-content { padding-right: 0; }
      .hero-editorial { margin: 0 auto 32px; text-align: justify; }
      .hero-buttons { justify-content: center; }
      .hero-map { order: -1; max-height: 350px; margin-bottom: 16px; padding-left: 0; }
      #map-container { max-width: 360px; }
      .features-grid { grid-template-columns: repeat(2, 1fr); }
    }

    /* ── SMARTPHONE (768px et moins) ────────────────── */
    @media (max-width: 768px) {

      /* -- Logo -- */
      .logo-section {
        padding-top: 20px;
        text-align: center;
      }
      .logo-section img { height: 36px; }

      /* ══════════════════════════════════════════════════════
         HERO : flex colonne forcé, ordre : carte → texte → boutons
         ══════════════════════════════════════════════════════ */
      .hero {
        display: flex !important;
        flex-direction: column !important;
        padding: 16px 16px 24px !important;
        gap: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
      }

      /* 1) Carte + CODALYX en premier */
      .hero-map {
        order: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        height: auto !important;
        /* Annule le max-height:350px de la règle tablette (sinon les boutons
           débordent sur le titre si le JS ne les a pas encore déplacés) */
        max-height: none !important;
        padding: 0 !important;
        margin: 0 0 20px 0 !important;
        align-items: center !important;
        justify-content: center !important;
        grid-column: auto !important;
        grid-row: auto !important;
      }

      /* 2) Texte hero en deuxième */
      .hero-content {
        order: 2 !important;
        width: 100% !important;
        padding-right: 0 !important;
        grid-column: auto !important;
        grid-row: auto !important;
      }

      /* ── Carte SVG France responsive ── */
      .carte-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
      }
      .carte-container {
        position: relative !important;
        width: 260px !important;
        height: 260px !important;
        max-width: 260px !important;
        margin: 0 auto !important;
        overflow: hidden !important;
      }
      /* SVG de la carte France */
      .carte-container > svg {
        width: 260px !important;
        height: 260px !important;
      }

      /* ── Loupe : statique au centre, sans animation ── */
      .loupe-container {
        display: block !important;
        visibility: visible !important;
        position: absolute !important;
        /* Centrage absolu dans .carte-container (260px) */
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 140px !important;
        height: 140px !important;
        pointer-events: none !important;
      }
      .loupe-svg {
        width: 140px !important;
        height: 140px !important;
      }

      /* ── Titre CODALYX sous la carte ── */
      .codalyx-text {
        font-size: 1.8rem;
        letter-spacing: 0.18em;
        text-align: center;
        margin-top: 8px;
        margin-bottom: 0;
      }

      /* ── Boutons CTA (déplacés par JS après hero-content) ── */
      .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
        width: 100%;
      }
      .btn-cta {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.95rem;
      }

      /* ── Texte hero ── */
      .hero-title {
        font-size: 1.75rem;
        line-height: 1.15;
        margin-bottom: 14px;
        text-align: center;
      }
      .hero-editorial {
        text-align: left;
        margin-bottom: 0;
        border-left: 2px solid var(--primary);
        padding-left: 12px;
      }
      .editorial-lead {
        font-size: 1.15rem;
        margin-bottom: 16px;
      }
      .editorial-paragraph {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 16px;
      }
      .drop-cap {
        font-size: 3rem;
        padding-top: 6px;
        padding-right: 6px;
      }
      .editorial-conclusion {
        font-size: 1.1rem;
        padding: 12px 0;
        margin-top: 24px;
      }

      /* ══════════════════════════════════════════════════════
         SOLARI BOARD : réduit proprement pour 375px
         Largeur naturelle : 927px → scale(0.38) = 352px ✓
         ══════════════════════════════════════════════════════ */
      .hero-solari-wrapper {
        order: 3;
        width: 100%;
        /* PAS de overflow:hidden ici — html/body s'en chargent */
        padding-top: 24px;
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
      }
      .solari-board-container {
        left: 50% !important;
        transform: translateX(-50%) scale(0.38) !important;
        transform-origin: top center !important;
        /* Compense l'espace vide vertical créé par scale()
           Hauteur approx. du board = frame(68px) + matrix(7×49+24×2+6×2) = 68 + 407 = ~475px
           Espace récupéré = 475 × (1 - 0.38) = ~295px */
        margin-bottom: -295px !important;
        width: fit-content;
      }

      /* Séparateur centré sous le Solari */
      .hero-solari-wrapper > .codalyx-separator {
        margin-top: 8px;
        max-width: 90%;
      }

      /* ══════════════════════════════════════════════════════
         SECTIONS
         ══════════════════════════════════════════════════════ */
      .section {
        padding: 48px 16px;
      }
      .section-title {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 12px;
      }
      .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 32px;
        padding: 0 4px;
      }

      /* Feature Cards */
      .features-grid {
        grid-template-columns: 1fr;
        gap: 28px;
      }
      .feature-card {
        padding: 28px 20px;
        text-align: center;
      }
      .icon-wrapper-premium {
        width: 120px;
        height: 120px;
        margin: 0 auto 16px;
      }
      .icon-wrapper-premium img {
        width: 120px;
        height: 120px;
      }

      /* Grilles */
      .account-grid { grid-template-columns: 1fr; gap: 24px; }
      .security-grid { grid-template-columns: 1fr; gap: 24px; }

      /* Data badges */
      .data-badges {
        flex-direction: column;
        align-items: center;
        gap: 12px;
      }
      .data-badge {
        width: 80%;
        max-width: 280px;
        justify-content: center;
      }

      /* CTA final */
      .cta-title { font-size: 1.6rem; }
      .cta-btn {
        width: 100%;
        max-width: 320px;
        padding: 14px 20px;
        font-size: 1rem;
        display: flex;
        justify-content: center;
        box-sizing: border-box;
      }

      /* Quote */
      .otro-blockquote {
        width: 92%;
        font-size: 0.95em;
        padding: 1em 16px 1em 52px;
      }
      .otro-blockquote::before {
        font-size: 4.5em;
        left: 8px;
        top: -10px;
      }

      /* FAQ */
      .faq-section { padding: 48px 16px; }
      .faq-header { margin-bottom: 36px; }
      .faq-item { padding: 18px 14px; }
      .faq-question { font-size: 0.88rem; padding: 14px 16px; }
      .faq-answer p { padding: 14px 16px 18px; font-size: 0.9rem; }

      /* Footer */
      .footer {
        padding: 40px 16px 28px;
        margin-top: 60px;
        text-align: center;
      }
      .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: left;
      }
      .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
      }
      .footer-bottom { text-align: center; }

      /* Theme toggle */
      .theme-toggle {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
      }

      /* Bouton retour en haut */
      .back-to-top { bottom: 20px !important; right: 16px !important; width: 40px; height: 40px; }

      /* Scrollbar */
      ::-webkit-scrollbar { width: 4px; }
    }

    /* ── TRÈS PETITS ÉCRANS (375px) ─────────────────── */
    @media (max-width: 390px) {
      .hero-title { font-size: 1.6rem; }
      .solari-board-container {
        left: 50% !important;
        transform: translateX(-50%) scale(0.36) !important;
        margin-bottom: calc((1 - 0.36) * -350px) !important;
      }
      .data-badge { width: 92%; }
    }

    /* ── STYLES ICÔNES SVG PREMIUM ──────────────────────────── */
    .icon-wrapper-premium {
      width: 240px;
      height: 240px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 24px;
      transition: transform 400ms 
        cubic-bezier(0.16, 1, 0.3, 1),
        filter 400ms ease;
      filter: drop-shadow(
        0 8px 16px rgba(249,115,22,0.15));
      flex-shrink: 0;
    }

    .icon-wrapper-premium picture {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .icon-wrapper-premium img {
      width: 240px;
      height: 240px;
      object-fit: contain;
      display: block;
    }

    /* Hover élévation et glow */
    .feature-card:hover .icon-wrapper-premium,
    .account-card:hover .icon-wrapper-premium,
    .security-card:hover .icon-wrapper-premium {
      transform: translateY(-6px) scale(1.05);
      filter: drop-shadow(
        0 16px 32px rgba(249,115,22,0.3));
    }

    /* Animation entrée au scroll */
    .icon-wrapper-premium {
      opacity: 0;
      transform: translateY(20px);
    }

    .icon-wrapper-premium.visible {
      opacity: 1;
      transform: translateY(0);
      transition: opacity 600ms ease,
        transform 600ms 
        cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Délai staggered par icône */
    .feature-card:nth-child(1) 
      .icon-wrapper-premium { transition-delay: 0ms; }
    .feature-card:nth-child(2) 
      .icon-wrapper-premium { transition-delay: 100ms; }
    .feature-card:nth-child(3) 
      .icon-wrapper-premium { transition-delay: 200ms; }
    .feature-card:nth-child(4) 
      .icon-wrapper-premium { transition-delay: 300ms; }
    .feature-card:nth-child(5) 
      .icon-wrapper-premium { transition-delay: 400ms; }
    .feature-card:nth-child(6) 
      .icon-wrapper-premium { transition-delay: 500ms; }

    /* ── SCROLLBAR DRAPEAU FRANÇAIS ────────────────────────── */
    ::-webkit-scrollbar { width: 12px; height: 12px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb {
      border-radius: 10px;
      background: linear-gradient(to bottom, #70afc2 0%, #70afc2 33.33%, #3d3d3d 33.33%, #3d3d3d 66.66%, #d68989 66.66%, #d68989 100%);
      border: 2px solid var(--bg);
    }
    ::-webkit-scrollbar-thumb:hover {
      background: linear-gradient(to bottom, #839fad 0%, #839fad 33.33%, #4d4d4d 33.33%, #4d4d4d 66.66%, #e89a9a 66.66%, #e89a9a 100%);
    }
    html.light-theme ::-webkit-scrollbar-thumb {
      background: linear-gradient(to bottom, #5c7c8a 0%, #5c7c8a 33.33%, #d8d8d4 33.33%, #d8d8d4 66.66%, #c77a7a 66.66%, #c77a7a 100%);
      border: 2px solid var(--bg);
    }
    html.light-theme ::-webkit-scrollbar-thumb:hover {
      background: linear-gradient(to bottom, #4a6775 0%, #4a6775 33.33%, #c0c0bc 33.33%, #c0c0bc 66.66%, #b06363 66.66%, #b06363 100%);
    }
    @-moz-document url-prefix() {
      * { scrollbar-width: thin; }
    }

    /* ── BOUTON RETOUR EN HAUT ────────────────────────────── */
    .back-to-top {
      position: fixed !important;
      bottom: 85px !important;
      right: 30px !important;
      left: auto !important;
      width: 46px;
      height: 46px;
      background: var(--text); /* Style E-ink mat foncé */
      color: var(--bg);
      border: 2px solid var(--surface); /* Bordure papier */
      border-radius: 50% !important;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      clip-path: none !important;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), inset 0 2px 4px rgba(255,255,255,0.05);
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      opacity: 0;
      visibility: hidden;
      z-index: 5000;
      overflow: hidden;
    }
    .back-to-top::before {
      display: none; /* Suppression du reflet brillant pour un effet E-ink mat */
    }
    .back-to-top.show {
      opacity: 1;
      visibility: visible;
    }
    .back-to-top:hover {
      transform: scale(1.05);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
      background: var(--text);
    }
    .back-to-top:active {
      transform: scale(0.95);
      filter: brightness(0.9);
    }
    .back-to-top-svg {
      position: relative;
      z-index: 10;
      filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.4));
      transition: transform 0.3s ease;
    }
    .back-to-top:hover .back-to-top-svg {
      transform: translateY(-2px);
    }
    .splitflap-display {
      display: inline-flex;
      gap: 4px;
      justify-content: center;
    }
    .splitflap-char {
      position: relative;
      width: 36px;
      height: 54px;
      background: #18191c;
      border-radius: 6px;
      font-family: 'Outfit', monospace;
      font-size: 2.2rem;
      font-weight: 800;
      border: 1px solid rgba(255,255,255,0.08);
      box-shadow: 0 4px 10px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
      perspective: 400px;
      -webkit-perspective: 400px;
      transform-style: preserve-3d;
      -webkit-transform-style: preserve-3d;
    }
    .splitflap-char.space {
      background: transparent;
      box-shadow: none;
      border: none;
      width: 10px;
    }
    .flap {
      position: absolute;
      left: 0; right: 0;
      height: 50%;
      overflow: hidden;
      background: #18191c;
      color: #f5f5f7;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
    }
    .flap span {
      position: absolute;
      height: 54px;
      line-height: 54px;
      left: 0; right: 0;
      text-align: center;
      text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    }
    .flap.top-static, .flap.top-flip {
      top: 0;
      border-radius: 4px 4px 0 0;
      transform-origin: bottom;
      -webkit-transform-origin: bottom;
      box-shadow: inset 0 -2px 4px rgba(0,0,0,0.6);
    }
    .flap.top-static span, .flap.top-flip span { top: 0; }
    .flap.bottom-static, .flap.bottom-flip {
      bottom: 0;
      border-radius: 0 0 4px 4px;
      transform-origin: top;
      -webkit-transform-origin: top;
      box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
    }
    .flap.bottom-static span, .flap.bottom-flip span { bottom: 0; }
    .flap.top-flip { z-index: 2; }
    .flap.bottom-flip {
      z-index: 2;
      transform: rotateX(90deg);
      -webkit-transform: rotateX(90deg);
    }
    .flap.top-static::after, .flap.top-flip::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 1px;
      background: rgba(0,0,0,0.9);
      z-index: 10;
    }
    @keyframes flipTop {
      0% { transform: rotateX(0deg); }
      100% { transform: rotateX(-90deg); }
    }
    @keyframes flipBottom {
      0% { transform: rotateX(90deg); }
      100% { transform: rotateX(0deg); }
    }
    /* Le panneau reste toujours sombre, même en mode clair */
    html.light-theme .hero-stat { cursor: pointer; }
    .hero-stat { cursor: pointer; }