:root {
      --text: #1D1D1F;
      --text-secondary: #424248;
      --text-tertiary: #6E6E73;
      --bg: #FBFBFD;
      --bg-window-solid: #FFFFFF;
      --accent: #007AFF;
      --hand-red: #B5263A;
      --hand-blue: #1E5BC6;
      --border: rgba(0,0,0,0.08);
    }
    body[data-theme="dark"] {
      --text: #F5F5F7;
      --text-secondary: #C7C7CC;
      --text-tertiary: #8E8E93;
      --bg: #1C1C1E;
      --bg-window-solid: #2C2C2E;
      --accent: #0A84FF;
      --hand-red: #FF6B7A;
      --hand-blue: #5BA3FF;
      --border: rgba(255,255,255,0.12);
    }
    * { box-sizing: border-box; }
    body { margin: 0; font-family: 'Inter', -apple-system, system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }

    /* ═══════ NAV STICKY MACOS ═══════ */
    .nav-bar { position: sticky; top: 16px; z-index: 100; max-width: 1400px; margin: 16px auto 0; padding: 0 24px; }
    .nav-window { background: rgba(255,255,255,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 14px; padding: 12px 20px; display: flex; align-items: center; gap: 16px; box-shadow: 0 1px 1px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06); }
    body[data-theme="dark"] .nav-window { background: rgba(44,44,46,0.85); }
    .nav-dots { display: flex; gap: 8px; flex-shrink: 0; }
    .nav-dot { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.08); }
    .nav-dot.red { background: #FF5F57; } .nav-dot.yellow { background: #FEBC2E; } .nav-dot.green { background: #28C840; }
    .nav-brand { font-weight: 700; font-size: 15px; }
    .nav-links { margin-left: auto; display: flex; gap: 22px; align-items: center; }
    .nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
    .nav-links a:hover { color: var(--text); }
    .nav-cta { background: linear-gradient(180deg, #1A8AFF 0%, #006EE6 100%); color: white !important; padding: 8px 16px; border-radius: 10px; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 10px rgba(0,122,255,0.25); }

    /* ═══════ HERO ═══════ */
    .ap-hero { max-width: 1180px; margin: 80px auto 64px; padding: 0 28px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
    .ap-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: var(--text-tertiary); letter-spacing: 0.04em; text-transform: lowercase; margin-bottom: 18px; display: inline-block; }
    .ap-hero h1 { font-size: 56px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 22px; color: var(--text); }
    .underline-hand { position: relative; display: inline-block; }
    .underline-hand::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: 6%; height: 14px; background: rgba(255, 217, 100, 0.55); z-index: -1; transform: rotate(-1deg); border-radius: 2px; }
    body[data-theme="dark"] .underline-hand::after { background: rgba(255, 217, 100, 0.32); }
    .ap-hero-sub { font-size: 19px; color: var(--text-secondary); line-height: 1.5; margin: 0 0 12px; }
    .ap-hero-handnote { font-family: 'Caveat', cursive; font-size: 24px; color: var(--hand-red); transform: rotate(-1deg); display: inline-block; margin-top: 12px; font-weight: 600; }

    /* Photo Victor en mac-window */
    .ap-hero-photo { position: relative; }
    .photo-window { background: var(--bg-window-solid); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 1px 1px rgba(0,0,0,0.04), 0 16px 40px rgba(0,0,0,0.1), 0 28px 60px rgba(0,0,0,0.06); overflow: hidden; transform: rotate(0.5deg); }
    .photo-window:hover { transform: rotate(0deg) translateY(-4px); transition: transform 0.4s ease; }
    .pw-bar { height: 32px; display: flex; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(248,248,250,0.92) 100%); }
    body[data-theme="dark"] .pw-bar { background: linear-gradient(180deg, rgba(58,58,60,0.92) 0%, rgba(44,44,46,0.92) 100%); }
    .pw-dots { display: flex; gap: 6px; flex-shrink: 0; }
    .pw-dots span { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.08); }
    .pw-dots span:nth-child(1) { background: #FF5F57; }
    .pw-dots span:nth-child(2) { background: #FEBC2E; }
    .pw-dots span:nth-child(3) { background: #28C840; }
    .pw-title { flex: 1; text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--text-secondary); margin-right: 40px; }
    .pw-body { padding: 0; line-height: 0; background: #F5F5F7; }
    .pw-body img { width: 100%; height: auto; display: block; }
    /* Scotch jaune signature en haut-gauche du photo-window */
    .ap-hero-photo::before { content: ""; position: absolute; top: -10px; left: 22px; width: 58px; height: 19px; background: rgba(255, 240, 90, 0.65); background-image: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, transparent 50%); border: 1px solid rgba(0,0,0,0.04); box-shadow: 0 2px 4px rgba(0,0,0,0.08); transform: rotate(-8deg); pointer-events: none; z-index: 2; }

    /* ═══════ TIMELINE 18 ANS EXPAT ═══════ */
    .ap-section { max-width: 1100px; margin: 0 auto 96px; padding: 0 28px; }
    .section-header { margin-bottom: 32px; max-width: 720px; }
    .section-eyebrow-mono { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-tertiary); letter-spacing: 0.04em; text-transform: lowercase; margin-bottom: 12px; display: inline-block; }
    .ap-section h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 16px; color: var(--text); }
    .ap-section p { font-size: 17px; line-height: 1.65; color: var(--text-secondary); margin: 0 0 14px; max-width: 720px; }
    .ap-section p strong { color: var(--text); font-weight: 600; }
    .ap-section .handnote-line { font-family: 'Caveat', cursive; font-size: 22px; font-weight: 600; color: var(--hand-red); transform: rotate(-0.8deg); display: inline-block; margin-top: 8px; line-height: 1.2; }

    .timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 40px 0 24px; }
    .country-card { background: var(--bg-window-solid); border: 1px solid var(--border); border-radius: 18px; padding: 26px 22px 20px; text-align: center; position: relative; box-shadow: 0 1px 1px rgba(0,0,0,0.03), 0 6px 18px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
    .country-card:hover { transform: translateY(-4px); box-shadow: 0 2px 2px rgba(0,0,0,0.05), 0 14px 32px rgba(0,0,0,0.08); }
    .country-flag { font-size: 42px; line-height: 1; margin-bottom: 12px; }
    .country-years { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
    .country-name { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 12px; color: var(--text); }
    .country-hand { font-family: 'Caveat', cursive; font-size: 19px; color: var(--hand-red); transform: rotate(-1deg); display: inline-block; font-weight: 600; }
    /* Mini scotch en haut de chaque country-card en signature scrapbook */
    .country-card::before { content: ""; position: absolute; top: -8px; left: 50%; transform: translateX(-50%) rotate(-4deg); width: 48px; height: 14px; background: rgba(255, 240, 90, 0.55); border: 1px solid rgba(0,0,0,0.04); box-shadow: 0 2px 4px rgba(0,0,0,0.08); pointer-events: none; }

    /* ═══════ HOMMAGE LOUIS — section signature ═══════ */
    .hommage-section { max-width: 1100px; margin: 0 auto 96px; padding: 0 28px; }
    .hommage-window { background: var(--bg-window-solid); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 1px 1px rgba(0,0,0,0.04), 0 14px 32px rgba(0,0,0,0.08), 0 28px 60px rgba(0,0,0,0.04); overflow: hidden; }
    .hommage-bar { height: 38px; display: flex; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(248,248,250,0.92) 100%); }
    body[data-theme="dark"] .hommage-bar { background: linear-gradient(180deg, rgba(58,58,60,0.92) 0%, rgba(44,44,46,0.92) 100%); }
    .hommage-bar .pw-dots span { width: 12px; height: 12px; }
    .hommage-bar .pw-title { font-size: 12px; }
    .hommage-body { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0; }
    .hommage-photo { background: linear-gradient(135deg, #FBFBFD 0%, #F0F0F3 100%); padding: 48px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid var(--border); min-height: 380px; position: relative; }
    body[data-theme="dark"] .hommage-photo { background: linear-gradient(135deg, #2C2C2E 0%, #1C1C1E 100%); }

    /* Polaroid scotché vintage — cadre blanc + scotch jaune + rotation + caption Caveat */
    .polaroid {
      background: #FEFEFE;
      padding: 12px 12px 56px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.08), 0 12px 28px rgba(0,0,0,0.16), 0 24px 50px rgba(0,0,0,0.08);
      transform: rotate(-3deg);
      position: relative;
      max-width: 280px;
      transition: transform 0.4s ease;
    }
    body[data-theme="dark"] .polaroid { background: #F0EDE5; }
    .polaroid:hover { transform: rotate(-1deg) translateY(-4px); }
    .polaroid img { display: block; width: 100%; height: auto; max-height: 280px; object-fit: cover; background: #1D1D1F; }
    .polaroid-caption { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; font-family: 'Caveat', cursive; font-size: 20px; font-weight: 600; color: #2A2A2A; line-height: 1; padding: 0 12px; }
    /* Scotch jaune en haut du Polaroid */
    .polaroid::before { content: ""; position: absolute; top: -12px; left: 50%; margin-left: -34px; width: 68px; height: 22px; background: rgba(255, 240, 90, 0.7); background-image: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, transparent 50%); border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 2px 4px rgba(0,0,0,0.1); transform: rotate(-4deg); pointer-events: none; }

    /* Placeholder quand pas de photo */
    .hommage-photo-placeholder { font-family: 'Shadows Into Light Two', cursive; font-size: 17px; color: var(--text-tertiary); text-align: center; padding: 40px 20px; border: 2px dashed var(--border); border-radius: 14px; max-width: 260px; line-height: 1.4; }
    .hommage-photo-placeholder .ph-icon { font-size: 42px; display: block; margin-bottom: 12px; opacity: 0.6; }
    .hommage-photo-placeholder em { display: inline-block; margin-top: 8px; font-style: normal; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-tertiary); }
    .hommage-text { padding: 48px 44px; }
    .hommage-text h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 22px; color: var(--text); }
    .hommage-text h2 .lva-l, .hommage-text h2 .lva-v, .hommage-text h2 .lva-a { font-family: 'Caveat', cursive; font-size: 1.25em; font-weight: 700; color: var(--hand-red); display: inline-block; transform: rotate(-2deg); padding: 0 4px; }
    .hommage-text h2 .lva-v { color: var(--hand-blue); transform: rotate(1deg); }
    .hommage-text h2 .lva-a { color: var(--hand-red); transform: rotate(-1deg); }
    .hommage-text p { font-size: 16.5px; line-height: 1.7; color: var(--text-secondary); margin: 0 0 14px; }
    .hommage-text p strong { color: var(--text); font-weight: 600; }
    .hommage-text .handnote-signature { font-family: 'Caveat', cursive; font-size: 26px; font-weight: 700; color: var(--hand-red); transform: rotate(-2deg); display: inline-block; margin-top: 18px; }

    /* ═══════ PRINCIPES ═══════ */
    .principes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; }
    .principe-card { background: var(--bg-window-solid); border: 1px solid var(--border); border-radius: 16px; padding: 26px 28px 22px; position: relative; box-shadow: 0 1px 1px rgba(0,0,0,0.03), 0 6px 18px rgba(0,0,0,0.04); transition: transform 0.3s ease; }
    .principe-card:hover { transform: translateY(-3px); }
    .principe-num { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; font-weight: 700; color: var(--text-tertiary); letter-spacing: 0.04em; margin-bottom: 8px; display: block; }
    .principe-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 10px; color: var(--text); }
    .principe-card p { font-size: 15px; line-height: 1.55; color: var(--text-secondary); margin: 0; }

    /* ═══════ CTA FINAL ═══════ */
    .ap-cta { max-width: 760px; margin: 0 auto 96px; padding: 56px 36px; background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%); border-radius: 24px; text-align: center; color: white; box-shadow: 0 1px 1px rgba(0,0,0,0.08), 0 20px 48px rgba(0,122,255,0.25), 0 30px 80px rgba(88,86,214,0.15); position: relative; overflow: hidden; }
    .ap-cta-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 12px; opacity: 0.8; letter-spacing: 0.04em; text-transform: lowercase; margin-bottom: 10px; }
    .ap-cta h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 14px; color: white; }
    .ap-cta p { font-size: 16px; line-height: 1.55; opacity: 0.94; margin: 0 0 24px; max-width: 540px; margin-left: auto; margin-right: auto; }
    .ap-cta-btn { display: inline-block; background: white; color: #006EE6; padding: 14px 28px; border-radius: 12px; font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,0.15); transition: transform 0.2s; }
    .ap-cta-btn:hover { transform: translateY(-2px); }
    .ap-cta-handnote { font-family: 'Caveat', cursive; font-size: 22px; color: rgba(255,255,255,0.92); transform: rotate(-1deg); display: inline-block; margin-top: 18px; font-weight: 600; }

    /* ═══════ FOOTER ═══════ */
    .legal-footer { background: var(--bg-window-solid); border-top: 1px solid var(--border); padding: 48px 24px 32px; margin-top: 32px; }
    .legal-footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
    .legal-footer-brand { font-weight: 700; margin-bottom: 8px; }
    .legal-footer-tagline { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
    .legal-footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-tertiary); margin: 0 0 12px; }
    .legal-footer ul { list-style: none; padding: 0; margin: 0; }
    .legal-footer li { margin-bottom: 6px; }
    .legal-footer a { color: var(--text-secondary); text-decoration: none; font-size: 14px; }
    .legal-footer a:hover { color: var(--text); }
    .legal-bottom { max-width: 1200px; margin: 32px auto 0; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-tertiary); display: flex; justify-content: space-between; }

    /* ═══════ RESPONSIVE ═══════ */
    @media (max-width: 900px) {
      .ap-hero { grid-template-columns: 1fr; gap: 40px; margin-top: 56px; }
      .ap-hero h1 { font-size: 40px; }
      .ap-hero-sub { font-size: 17px; }
      .timeline-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
      .hommage-body { grid-template-columns: 1fr; }
      .hommage-photo { border-right: none; border-bottom: 1px solid var(--border); padding: 36px 24px; min-height: auto; }
      .hommage-text { padding: 32px 28px; }
      .hommage-text h2 { font-size: 26px; }
      .principes-grid { grid-template-columns: 1fr; }
      .ap-section h2 { font-size: 28px; }
      .ap-cta h2 { font-size: 26px; }
      .legal-footer-inner { grid-template-columns: 1fr 1fr; }
      .nav-links a:not(.nav-cta) { display: none; }
    }
    @media (max-width: 540px) {
      .timeline-grid { grid-template-columns: 1fr 1fr; }
      .ap-hero h1 { font-size: 34px; }
    }