  :root {
    --ink: #0a1628;
    --ink-2: #2d3748;
    --ink-3: #5a6577;
    --ink-4: #8a93a6;
    --rule: #e6e8ed;
    --paper: #fbfaf6;
    --paper-2: #f4f1e8;
    --blue: #0055a4;
    --blue-dark: #003d7a;
    --blue-light: #e8f0fa;
    --accent: #d97706;
    --accent-soft: #fef3c7;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body { scroll-behavior: smooth; }
  body {
    font-family: "Source Sans 3", system-ui, sans-serif;
    color: var(--ink-2);
    background: #fff;
    line-height: 1.55;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
  }

  /* Grain texture en overlay subtil */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' seed='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  }

  .wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

  /* ====== TOPBAR (sobre) ====== */
  .topbar {
    background: #fff;
    border-bottom: 1px solid var(--rule);
    padding: 12px 0;
    font-size: 13px;
  }
  .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .topbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--ink-3);
  }
  .topbar-left .label {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-4);
  }
  .topbar-left a {
    color: var(--ink-2);
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
  }
  .topbar-left a:hover { border-bottom-color: var(--blue); color: var(--blue); }
  .topbar-left a.active { color: var(--blue); border-bottom-color: var(--blue); font-weight: 600; }
  .topbar-right { display: flex; align-items: center; gap: 18px; }
  .lang-toggle {
    display: inline-flex;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 999px;
    padding: 2px;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 600;
  }
  .lang-toggle a {
    padding: 4px 12px;
    border-radius: 999px;
    color: var(--ink-3);
    text-decoration: none;
  }
  .lang-toggle a.active {
    background: var(--blue);
    color: #fff;
  }

  /* ====== HEADER + LOGO + NAV ====== */
  .header {
    background: #fff;
    border-bottom: 1px solid var(--rule);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.95);
  }
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }
  .logo {
    font-family: "Fraunces", serif;
    font-size: 26px;
    font-weight: 600;
    font-variation-settings: "opsz" 24;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
  .logo .it {
    font-style: italic;
    color: var(--blue);
  }
  .logo .acad {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    color: var(--ink-4);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
  }
  .nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .nav a {
    color: var(--ink-2);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    transition: color 0.15s;
  }
  .nav a:hover { color: var(--blue); }
  .nav-cta {
    background: var(--blue);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600 !important;
    transition: background 0.2s;
  }
  .nav-cta:hover { background: var(--blue-dark); color: #fff !important; }

  /* ====== HERO ====== */
  .hero {
    position: relative;
    padding: 80px 0 100px;
    background: linear-gradient(135deg, var(--paper) 0%, #fff 70%, var(--blue-light) 100%);
    overflow: hidden;
  }
  .hero::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 85, 164, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  .hero-left { animation: fadeUp 0.8s ease both; }
  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-light);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 24px;
  }
  .hero-eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    background: var(--blue);
    border-radius: 50%;
  }
  .hero h1 {
    font-family: "Fraunces", serif;
    font-size: clamp(48px, 6vw, 76px);
    font-variation-settings: "opsz" 144;
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--ink);
    font-weight: 500;
    margin-bottom: 28px;
  }
  .hero h1 em {
    font-style: italic;
    color: var(--blue);
    font-weight: 500;
  }
  .hero-sub {
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink-3);
    max-width: 46ch;
    margin-bottom: 36px;
  }
  .hero-sub strong { color: var(--ink-2); font-weight: 600; }

  /* CTAs hero */
  .hero-ctas {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 48px;
  }
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(0, 85, 164, 0.25);
  }
  .btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 85, 164, 0.35);
  }
  .btn-primary .arrow {
    transition: transform 0.25s;
    display: inline-block;
  }
  .btn-primary:hover .arrow { transform: translateX(4px); }

  .btn-ghost {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 1.5px solid var(--ink);
    padding-bottom: 3px;
    transition: color 0.2s, border-color 0.2s;
  }
  .btn-ghost:hover { color: var(--blue); border-bottom-color: var(--blue); }

  /* Trust bar */
  .trust-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid var(--rule);
  }
  .trust-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-4);
    white-space: nowrap;
  }
  .trust-items {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
  }
  .trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--ink-2);
    font-weight: 500;
  }
  .trust-item .check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px; height: 18px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
  }
  .trust-item strong { color: var(--blue); font-weight: 600; }

  /* Hero right : carousel */
  .hero-right {
    position: relative;
    animation: fadeUp 0.8s 0.2s ease both;
  }
  .hero-carousel {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(10, 22, 40, 0.4);
    background: var(--ink);
  }
  .hero-carousel .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }
  .hero-carousel .slide.active {
    opacity: 1;
    pointer-events: auto;
  }
  .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 85, 164, 0.05) 0%, rgba(10, 22, 40, 0.85) 100%);
    z-index: 1;
  }
  .slide-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 36px 36px 60px;
    color: #fff;
    z-index: 2;
  }
  .slide-eyebrow {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 12px;
  }
  .slide-title {
    font-family: "Fraunces", serif;
    font-size: 30px;
    line-height: 1.15;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: -0.015em;
  }
  .slide-title em {
    font-style: italic;
    color: #ffd60a;
  }
  .slide-meta {
    font-size: 13.5px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
  }
  /* Dots indicators */
  .slide-dots {
    position: absolute;
    bottom: 22px;
    left: 36px;
    display: flex;
    gap: 8px;
    z-index: 3;
  }
  .dot {
    width: 28px;
    height: 3px;
    border: none;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    padding: 0;
    border-radius: 2px;
    transition: background 0.3s, width 0.3s;
  }
  .dot.active {
    background: #fff;
    width: 40px;
  }
  .dot:hover { background: rgba(255,255,255,0.6); }

  /* Floating badge on visual */
  .hero-badge {
    position: absolute;
    top: 32px;
    left: -32px;
    background: #fff;
    padding: 18px 24px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(10, 22, 40, 0.15);
    z-index: 3;
    animation: float 4s ease-in-out infinite;
  }
  .hero-badge-num {
    font-family: "Fraunces", serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--blue);
    line-height: 1;
  }
  .hero-badge-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin-top: 4px;
  }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  /* ====== SECTION CHIFFRES (asymétrique) ====== */
  .stats {
    padding: 100px 0;
    background: var(--paper);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
  }
  .stats-intro h2 {
    font-family: "Fraunces", serif;
    font-style: italic;
    font-size: 38px;
    line-height: 1.1;
    color: var(--ink);
    font-weight: 500;
    margin-bottom: 18px;
    letter-spacing: -0.015em;
  }
  .stats-intro p {
    color: var(--ink-3);
    font-size: 15px;
    line-height: 1.6;
    max-width: 32ch;
  }
  .stats-intro .kicker {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .stats-intro .kicker::before {
    content: "";
    width: 24px; height: 1.5px;
    background: var(--blue);
  }
  .stats-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 48px;
  }
  .stat {
    border-left: 2px solid var(--blue);
    padding: 8px 0 8px 24px;
  }
  .stat-num {
    font-family: "Fraunces", serif;
    font-size: 56px;
    font-variation-settings: "opsz" 144;
    line-height: 1;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
  }
  .stat-num small {
    font-size: 28px;
    color: var(--blue);
    margin-left: 4px;
    font-weight: 500;
  }
  .stat-label {
    font-size: 14px;
    color: var(--ink-2);
    font-weight: 500;
    margin-bottom: 4px;
  }
  .stat-meta {
    font-size: 12px;
    color: var(--ink-4);
    font-family: "JetBrains Mono", monospace;
  }

  /* ====== SECTION FILIÈRES ====== */
  .filieres {
    padding: 100px 0;
  }
  .section-head {
    margin-bottom: 60px;
    max-width: 700px;
  }
  .section-head .kicker {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .section-head .kicker::before {
    content: "";
    width: 24px; height: 1.5px;
    background: var(--blue);
  }
  .section-head h2 {
    font-family: "Fraunces", serif;
    font-size: clamp(36px, 4.5vw, 54px);
    font-variation-settings: "opsz" 144;
    line-height: 1.05;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
  }
  .section-head h2 em {
    font-style: italic;
    color: var(--blue);
  }
  .section-head p {
    color: var(--ink-3);
    font-size: 17px;
    line-height: 1.6;
  }

  /* ====== Filières en bento — gradient thématique + icône ====== */
  .fil-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 220px;
    gap: 18px;
  }
  .fil-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--ink);
    isolation: isolate;
  }
  .fil-card:hover { transform: translateY(-4px); }

  /* Vraie photo thématique métier */
  .fil-card .fil-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  /* Voile coloré thématique par filière (sur la photo) */
  .fil-card .fil-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 70%, transparent) 0%, color-mix(in srgb, var(--c2) 50%, transparent) 100%);
    mix-blend-mode: multiply;
  }
  .fil-card:hover .fil-img { transform: scale(1.06); }

  /* Icône SVG décorative */
  .fil-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    opacity: 0.55;
    z-index: 1;
    color: #fff;
    transition: opacity 0.3s, transform 0.4s;
  }
  .fil-card.span-6 .fil-icon { width: 88px; height: 88px; }
  .fil-card:hover .fil-icon { opacity: 0.95; transform: rotate(-8deg) scale(1.1); }

  .fil-card .fil-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(10, 22, 40, 0.55) 100%);
    transition: background 0.3s;
  }
  .fil-card:hover .fil-overlay {
    background: linear-gradient(180deg, transparent 30%, rgba(10, 22, 40, 0.75) 100%);
  }

  /* Content */
  .fil-card .fil-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 26px;
    color: #fff;
  }
  .fil-card .fil-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .fil-card .fil-num {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.12);
    padding: 4px 10px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
  }
  .fil-card .fil-count {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
  }
  .fil-card .fil-bottom { display: flex; flex-direction: column; gap: 6px; }
  .fil-card .fil-title {
    font-family: "Fraunces", serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.015em;
  }
  .fil-card .fil-title em {
    font-style: italic;
    color: #ffd60a;
  }
  .fil-card .fil-tagline {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
  }
  .fil-card .fil-arrow {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    font-size: 16px;
    backdrop-filter: blur(8px);
    transition: all 0.25s;
  }
  .fil-card:hover .fil-arrow {
    background: #fff;
    color: var(--blue);
    transform: rotate(-45deg);
  }

  /* Spans bento */
  .fil-card.span-6 { grid-column: span 6; grid-row: span 2; }
  .fil-card.span-4 { grid-column: span 4; }
  .fil-card.span-3 { grid-column: span 3; }
  .fil-card.span-2 { grid-column: span 2; }

  .span-6 .fil-title { font-size: 38px; }

  /* CTA voir toutes */
  .fil-cta-all {
    grid-column: span 12;
    margin-top: 8px;
    text-align: center;
  }
  .fil-cta-all a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    padding: 14px 28px;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    transition: all 0.25s;
  }
  .fil-cta-all a:hover {
    background: var(--ink);
    color: #fff;
    gap: 14px;
  }

  /* ====== Footer pour la maquette (juste pour preview compositionnel) ====== */
  .preview-note {
    background: #fef9c3;
    border-top: 1px solid #fde68a;
    border-bottom: 1px solid #fde68a;
    padding: 14px 32px;
    text-align: center;
    color: #713f12;
    font-size: 13px;
  }
  .preview-note strong { color: #422006; }

  /* Animations */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.8s, transform 0.8s; }
  .fade-in.visible { opacity: 1; transform: translateY(0); }

  @media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 60px; }
    .hero-right { max-width: 480px; margin: 0 auto; }
    .stats-grid { grid-template-columns: 1fr; gap: 40px; }
    .stats-list { grid-template-columns: 1fr 1fr; }
    .fil-grid { grid-template-columns: 1fr 1fr; }
    .nav { display: none; }
  }
  @media (max-width: 600px) {
    .stats-list { grid-template-columns: 1fr; }
    .fil-grid { grid-template-columns: 1fr; }
    .topbar-inner { flex-direction: column; gap: 12px; }
  }
