/* ========= Variables & thèmes ========= */
    :root {
      --bg: #060813;
      --surface: #0b0f1f;
      --card: #0f1527;
      --text: #e9edf5;
      --muted: #9aa4c2;
      --accent: #2742b8;              /* Bleu roi */
      --accent-soft: rgba(39, 66, 184, .18);
      --line: rgba(255, 255, 255, .08);
      --shadow: 0 18px 45px rgba(0, 0, 0, .55);
      --dotline : #D4AF37;
      --timeline : #515151;
      --royal-blue: #0f1d52;
    }

    [data-theme="light"] {
      --bg: #f3f4f6;
      --surface: rgba(255, 255, 255, .9);
      --card: #ffffff;
      --text: #111827;
      --muted: #6b7280;
      --accent: #2742b8;
      --accent-soft: rgba(39, 66, 184, .12);
      --line: rgba(15, 23, 42, .08);
      --shadow: 0 12px 30px rgba(15, 23, 42, .12);
      --dotline : #777;
      --timeline : #e5e5e5;
    }

    /* ========= Reset / base ========= */
    *, *::before, *::after { box-sizing: border-box; }
    html, body { margin: 0; padding: 0; }
    body {
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
      color: var(--text);
      background:
        radial-gradient(1200px 600px at 80% -10%, rgba(39, 66, 184, .28), transparent 60%),
        radial-gradient(1000px 500px at 10% 0%, rgba(10, 57, 130, .30), transparent 60%),
        var(--bg);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
      scroll-behavior: smooth;
    }

    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }

    .container {
      width: min(100%, 1120px);
      margin: 0 auto;
      padding: 0 16px;
    }

    /* ========= Lien d’évitement ========= */
    .skip-link {
      position: absolute;
      left: -9999px;
      top: auto;
      width: 1px;
      height: 1px;
      overflow: hidden;
      z-index: 9999;
    }

    .skip-link:focus {
      left: 16px;
      top: 16px;
      width: auto;
      height: auto;
      padding: 10px 14px;
      background: var(--card);
      border-radius: 10px;
      box-shadow: var(--shadow);
      border: 1px solid var(--accent);
      color: var(--text);
    }

    /* ========= Header / nav ========= */
    header {
      position: sticky;
      top: 0;
      z-index: 1000;
      backdrop-filter: saturate(1.1) blur(10px);
      background: linear-gradient(180deg, var(--surface), transparent);
      border-bottom: 1px solid var(--line);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 0;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      letter-spacing: .3px;
      font-size: clamp(18px, 2.2vw, 22px);
    }

    .brand .wordmark {
      font-family: Marcellus, Georgia, serif;
      letter-spacing: .6px;
    }

    .brand img {
      height: 48px;
      width: auto;
    }

    nav ul {
      display: flex;
      gap: 10px;
      list-style: none;
      margin: 0;
      padding: 0;
      align-items: center;
      flex-wrap: wrap;
      justify-content: flex-end;
    }

    nav a {
      display: inline-block;
      padding: 10px 14px;
      border-radius: 12px;
      font-weight: 600;
      font-size: 14px;
      border: 1px solid transparent;
      white-space: nowrap;
    }

    nav a:hover,
    nav a:focus-visible {
      background: rgba(255, 255, 255, .06);
      border-color: var(--line);
    }

    .toggle {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      border: 1px solid var(--line);
      border-radius: 12px;
      background: var(--card);
      color: var(--text);
      cursor: pointer;
      font-size: 13px;
      font-weight: 600;
    }

    .toggle svg {
      flex-shrink: 0;
    }

    .toggle[aria-pressed="true"] {
      background: var(--accent-soft);
      border-color: var(--accent);
    }

    /* ========= Hero ========= */
    main { min-height: 100vh; }

    .hero {
      min-height: calc(100vh - 80px);
      display: flex;
      align-items: center;
      padding: 32px 0 64px;
    }

    .hero-inner {
      display: grid;
      grid-template-columns: 1.2fr .8fr;
      gap: 32px;
      align-items: center;
    }

    .hero-img {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .hero-img img {
      max-width: 70%;
      height: auto;
    }

    .kicker {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 14px;
      border-radius: 999px;
      font-size: 11px;
      letter-spacing: .15em;
      text-transform: uppercase;
      background:
        radial-gradient(circle at 0% 0%, rgba(255,255,255,.06), transparent 55%),
        linear-gradient(90deg, rgba(39, 66, 184, .75), rgba(12, 34, 110, .95));
      border: 1px solid rgba(181, 195, 255, .9);
      box-shadow: 0 6px 18px rgba(0,0,0,.45);
      margin-bottom: 12px;
      color: #f9fafb;
    }

    .kicker strong {
      font-weight: 700;
    }

    .kicker-dot {
      opacity: .8;
    }

    .title {
      font-family: Marcellus, Georgia, serif;
      font-size: clamp(32px, 3.5vw, 42px);
      line-height: 1.1;
      margin: 0 0 14px;
    }

    .subtitle {
      margin: 0 0 20px;
      color: var(--muted);
      max-width: 46rem;
    }

    .cta-row {
      display: flex;
      gap: 10px;
      align-items: center;
      flex-wrap: wrap;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 18px;
      border-radius: 999px;
      font-weight: 600;
      font-size: 14px;
      cursor: pointer;
      border: 1px solid transparent;
      text-decoration: none;
    }

    .btn.primary {
      background: var(--accent);
      color: #fff;
      box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
    }

    .btn.primary:hover {
      filter: brightness(1.05);
    }

    /* ========= Footer ========= */
    footer {
      padding: 28px 0 60px;
      border-top: 1px solid var(--line);
      background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .06));
    }

    .footer-inner {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
      align-items: center;
      justify-content: space-between;
    }

    .footer-left small {
      display: block;
      color: var(--muted);
      font-size: 13px;
      margin-top: 6px;
    }

    .footer-right p {
      margin: 0 0 6px;
      font-weight: 600;
      font-size: 14px;
    }

    .social {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .iconbtn {
      display: inline-grid;
      place-items: center;
      width: 40px;
      height: 40px;
      border-radius: 12px;
      border: 1px solid var(--line);
      background: var(--card);
      box-shadow: var(--shadow);
      cursor: pointer;
    }

    .iconbtn svg {
      display: block;
    }

    .iconbtn:hover,
    .iconbtn:focus-visible {
      border-color: var(--accent);
      transform: translateY(-1px);
    }

    /* ========= Bouton retour en haut ========= */
    .to-top {
      position: fixed;
      right: 16px;
      bottom: 16px;
      width: 46px;
      height: 46px;
      border-radius: 12px;
      border: 1px solid var(--line);
      background: var(--card);
      display: grid;
      place-items: center;
      box-shadow: var(--shadow);
      cursor: pointer;
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s ease, transform .2s ease;
    }

    .to-top.visible {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }

    .to-top svg {
      display: block;
      color: var(--text);
    }



    /* ========= Responsive ========= */

    @media (max-width: 900px) {
      .hero {
        padding: 24px 0 40px;
      }
      .hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
      }
      .hero-inner > div:first-child {
        order: 1;
      }
      .hero-inner > div:last-child {
        order: 2;
      }
      .hero-img img {
        max-width: 70%;
      }
    }

    @media (max-width: 640px) {
      /* plus d'espace sur les côtés */
      .container {
        padding: 0 22px;
      }

      /* NAV : logo + titre + Night mode */
      .nav {
        justify-content: space-between;
      }

      nav ul {
        gap: 6px;
      }

      .nav-item {
        display: none;
      }

      nav a {
        padding-inline: 10px;
        font-size: 13px;
      }

      /* HERO : texte centré, image masquée */
      .hero-inner {
        text-align: center;
      }

      .kicker {
        margin-left: auto;
        margin-right: auto;
      }

      .subtitle {
        margin-left: auto;
        margin-right: auto;
      }

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

      .hero-img {
    order: 1;
    margin-bottom: 12px;
  }
  .hero-text {
    order: 2;
  }

      .title {
        font-size: 26px;
      }

      .subtitle {
        font-size: 14px;
      }

      .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .social {
    justify-content: center;
  }
    }