
    /* ============================================
       THEMES — Couleurs
    ============================================ */
    :root {
      --c-bg: #f7f5f0;
      --c-surface: #ffffff;
      --c-primary: #3a6b35;
      --c-primary-light: #5a9b52;
      --c-secondary: #8b6914;
      --c-accent: #e8d5a3;
      --c-text: #2c2c2c;
      --c-text-muted: #7a7a6e;
      --c-border: #ddd9d0;
      --c-hero-overlay: rgba(0,0,0,0.32);
      --f-heading: 'Playfair Display', serif;
      --f-body: 'Lato', sans-serif;
      --f-accent: 'Playfair Display', serif;
      --radius: 14px;
      --shadow: 0 4px 24px rgba(0,0,0,0.08);
      --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
      --transition: 0.3s ease;
    }

    [data-theme="crepuscule"] {
      --c-bg: #fdf6ef;
      --c-surface: #fffaf5;
      --c-primary: #c2531e;
      --c-primary-light: #e07043;
      --c-secondary: #8b3a62;
      --c-accent: #f5d4b8;
      --c-text: #2d1f1a;
      --c-text-muted: #8a6a5e;
      --c-border: #e8d5c5;
      --c-hero-overlay: rgba(60,20,0,0.42);
    }
    [data-theme="foret"] {
      --c-bg: #0d1a0d;
      --c-surface: #162616;
      --c-primary: #6dbf5a;
      --c-primary-light: #8ed47e;
      --c-secondary: #b5a642;
      --c-accent: #1e3c1e;
      --c-text: #e0eee0;
      --c-text-muted: #7aaa7a;
      --c-border: #253d25;
      --c-hero-overlay: rgba(0,12,0,0.52);
    }
    [data-theme="ardoise"] {
      --c-bg: #f0f2f5;
      --c-surface: #ffffff;
      --c-primary: #3d5a80;
      --c-primary-light: #5b7fa6;
      --c-secondary: #98c1d9;
      --c-accent: #dce8f2;
      --c-text: #1a1f2e;
      --c-text-muted: #6b7a94;
      --c-border: #d4dce8;
      --c-hero-overlay: rgba(10,20,50,0.45);
    }
    [data-theme="rouille"] {
      --c-bg: #faf5ee;
      --c-surface: #fff8f0;
      --c-primary: #8b3a1e;
      --c-primary-light: #b5582e;
      --c-secondary: #6b4c2a;
      --c-accent: #f0dcc4;
      --c-text: #2a1a0e;
      --c-text-muted: #8a6a50;
      --c-border: #e0cdb8;
      --c-hero-overlay: rgba(40,15,5,0.42);
    }

    /* ============================================
       THEMES — Typographie
    ============================================ */
    [data-font="moderne"] {
      --f-heading: 'Inter', sans-serif;
      --f-body: 'Inter', sans-serif;
      --f-accent: 'Inter', sans-serif;
    }
    [data-font="aventure"] {
      --f-heading: 'Oswald', sans-serif;
      --f-body: 'Merriweather', serif;
      --f-accent: 'Oswald', sans-serif;
    }
    [data-font="poetique"] {
      --f-heading: 'Cormorant Garamond', serif;
      --f-body: 'Nunito', sans-serif;
      --f-accent: 'Cormorant Garamond', serif;
    }
    [data-font="rustique"] {
      --f-heading: 'Abril Fatface', cursive;
      --f-body: 'Source Sans 3', sans-serif;
      --f-accent: 'Abril Fatface', cursive;
    }

    /* ============================================
       RESET & BASE
    ============================================ */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--f-body);
      background: var(--c-bg);
      color: var(--c-text);
      line-height: 1.7;
      transition: background 0.4s ease, color 0.4s ease;
    }
    h1,h2,h3,h4 { font-family: var(--f-heading); line-height: 1.15; }
    a { color: var(--c-primary); text-decoration: none; transition: color var(--transition); }
    a:hover { color: var(--c-primary-light); }
    img { max-width: 100%; height: auto; display: block; }

    /* ============================================
       BOUTONS
    ============================================ */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.85rem 2rem;
      border-radius: 50px;
      font-family: var(--f-body);
      font-weight: 600;
      font-size: 0.9rem;
      letter-spacing: 0.04em;
      cursor: pointer;
      border: none;
      transition: all 0.3s ease;
      text-decoration: none;
    }
    .btn-primary {
      background: var(--c-primary);
      color: #fff;
    }
    .btn-primary:hover {
      background: var(--c-primary-light);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.18);
      color: #fff;
    }
    .btn-outline {
      background: transparent;
      color: #fff;
      border: 2px solid rgba(255,255,255,0.65);
    }
    .btn-outline:hover {
      background: rgba(255,255,255,0.12);
      border-color: #fff;
      color: #fff;
    }
    .btn-ghost {
      background: transparent;
      color: var(--c-primary);
      border: 2px solid var(--c-primary);
    }
    .btn-ghost:hover {
      background: var(--c-primary);
      color: #fff;
    }

    /* ============================================
       CUSTOMIZER
    ============================================ */
    .customizer-toggle {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      width: 56px;
      height: 56px;
      background: var(--c-primary);
      color: #fff;
      border: none;
      border-radius: 50%;
      cursor: pointer;
      font-size: 1.3rem;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 20px rgba(0,0,0,0.25);
      z-index: 1000;
      transition: transform var(--transition), background var(--transition);
    }
    .customizer-toggle:hover { transform: scale(1.1) rotate(15deg); }

    .customizer {
      position: fixed;
      bottom: 5.5rem;
      right: 2rem;
      width: 300px;
      background: var(--c-surface);
      border: 1px solid var(--c-border);
      border-radius: var(--radius);
      box-shadow: var(--shadow-lg);
      z-index: 999;
      overflow: hidden;
      transform: translateY(16px) scale(0.97);
      opacity: 0;
      pointer-events: none;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .customizer.open {
      transform: translateY(0) scale(1);
      opacity: 1;
      pointer-events: all;
    }
    .customizer-header {
      padding: 1rem 1.25rem;
      background: var(--c-primary);
      color: #fff;
      font-family: var(--f-heading);
      font-size: 0.95rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .customizer-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1.5rem; }
    .customizer-label {
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--c-text-muted);
      margin-bottom: 0.75rem;
    }
    .theme-swatches { display: flex; gap: 0.6rem; }
    .swatch {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      cursor: pointer;
      border: 3px solid transparent;
      outline: 2px solid transparent;
      transition: transform var(--transition), outline-color var(--transition);
      flex-shrink: 0;
    }
    .swatch:hover { transform: scale(1.15); }
    .swatch.active { outline-color: var(--c-text); outline-offset: 2px; }
    .swatch[data-t="nature"]     { background: conic-gradient(#3a6b35 0% 50%, #8b6914 50%); }
    .swatch[data-t="crepuscule"] { background: conic-gradient(#c2531e 0% 50%, #8b3a62 50%); }
    .swatch[data-t="foret"]      { background: conic-gradient(#162616 0% 50%, #6dbf5a 50%); }
    .swatch[data-t="ardoise"]    { background: conic-gradient(#3d5a80 0% 50%, #98c1d9 50%); }
    .swatch[data-t="rouille"]    { background: conic-gradient(#8b3a1e 0% 50%, #f0dcc4 50%); }

    .font-options { display: flex; flex-direction: column; gap: 0.4rem; }
    .font-btn {
      padding: 0.55rem 0.9rem;
      border: 1.5px solid var(--c-border);
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.82rem;
      color: var(--c-text);
      background: transparent;
      text-align: left;
      transition: all var(--transition);
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }
    .font-btn:hover { border-color: var(--c-primary); background: var(--c-accent); }
    .font-btn.active { border-color: var(--c-primary); background: var(--c-accent); }
    .font-preview-char { font-size: 1.1rem; min-width: 26px; }

    /* Swatch tooltip */
    .swatch-wrap { position: relative; }
    .swatch-wrap:hover .swatch-tip {
      opacity: 1;
      pointer-events: auto;
    }
    .swatch-tip {
      position: absolute;
      bottom: calc(100% + 6px);
      left: 50%;
      transform: translateX(-50%);
      background: var(--c-text);
      color: var(--c-bg);
      font-size: 0.68rem;
      white-space: nowrap;
      padding: 3px 7px;
      border-radius: 4px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s;
    }

    /* ============================================
       NAV
    ============================================ */
    .nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 1.5rem 2.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease, backdrop-filter 0.4s ease;
    }
    .nav.scrolled {
      background: rgba(var(--nav-rgb, 247,245,240), 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 1px 0 var(--c-border);
      padding: 0.9rem 2.5rem;
    }
    .nav-logo {
      font-family: var(--f-heading);
      font-size: 1.15rem;
      color: #fff;
      font-weight: 700;
      letter-spacing: 0.01em;
      transition: color 0.4s;
    }
    .nav.scrolled .nav-logo { color: var(--c-text); }
    .nav-links { display: flex; gap: 2rem; list-style: none; }
    .nav-links a {
      color: rgba(255,255,255,0.88);
      font-size: 0.88rem;
      font-weight: 500;
      letter-spacing: 0.04em;
      transition: color var(--transition);
      position: relative;
    }
    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -3px; left: 0; right: 0;
      height: 1.5px;
      background: currentColor;
      transform: scaleX(0);
      transition: transform 0.25s ease;
      transform-origin: left;
    }
    .nav-links a:hover::after { transform: scaleX(1); }
    .nav.scrolled .nav-links a { color: var(--c-text-muted); }
    .nav.scrolled .nav-links a:hover { color: var(--c-primary); }

    /* ============================================
       HERO
    ============================================ */
    .hero {
      position: relative;
      height: 100vh;
      min-height: 620px;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      background: var(--c-accent);
    }
    .hero-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 40%;
    }
    /* Vignetage sur la photo */
    .hero-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      box-shadow: inset 0 0 120px 50px rgba(0,0,0,0.35);
      pointer-events: none;
      z-index: 1;
    }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: var(--c-hero-overlay);
    }
    .hero-content {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: #fff;
      padding: 2rem;
      z-index: 2;
    }
    .hero-eyebrow {
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      opacity: 0.8;
      margin-bottom: 1.25rem;
      border: 1px solid rgba(255,255,255,0.3);
      padding: 0.35rem 1rem;
      border-radius: 50px;
    }
    .hero-title {
      font-family: var(--f-heading);
      font-size: clamp(3.5rem, 9vw, 8rem);
      font-weight: 700;
      line-height: 1.0;
      margin-bottom: 1.5rem;
      text-shadow: 0 2px 30px rgba(0,0,0,0.25);
      letter-spacing: -0.01em;
    }
    .hero-subtitle {
      font-size: clamp(1rem, 2.2vw, 1.25rem);
      opacity: 0.88;
      max-width: 560px;
      font-weight: 300;
      margin-bottom: 2.5rem;
      line-height: 1.65;
    }
    .hero-cta { display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
    .hero-scroll {
      position: absolute;
      bottom: 1.5rem;
      left: 50%;
      transform: translateX(-50%);
      color: rgba(255,255,255,0.5);
      font-size: 0.65rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.4rem;
      animation: float 2.5s ease-in-out infinite;
      z-index: 3;
    }
    .hero-scroll::after {
      content: '';
      width: 1px;
      height: 28px;
      background: rgba(255,255,255,0.3);
    }
    @keyframes float {
      0%,100% { transform: translateX(-50%) translateY(0); }
      50% { transform: translateX(-50%) translateY(8px); }
    }

    /* ============================================
       LAYOUT HELPERS
    ============================================ */
    .section { padding: 6rem 2rem; }
    .container { max-width: 1120px; margin: 0 auto; }
    .section-eyebrow {
      font-size: 0.74rem;
      font-weight: 800;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--c-primary);
      margin-bottom: 0.65rem;
    }
    .section-title {
      font-family: var(--f-heading);
      font-size: clamp(2rem, 4vw, 3rem);
      color: var(--c-text);
      margin-bottom: 1rem;
    }
    .section-desc {
      color: var(--c-text-muted);
      font-size: 1.05rem;
      max-width: 580px;
      line-height: 1.8;
    }

    /* ============================================
       ABOUT / LE PROJET
    ============================================ */
    .about { background: var(--c-surface); }
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
    }
    .about-img-wrap { position: relative; }
    .about-img {
      width: 100%;
      height: 520px;
      object-fit: cover;
      border-radius: var(--radius);
      box-shadow: var(--shadow-lg);
    }
    .about-img-placeholder {
      width: 100%;
      height: 520px;
      background: var(--c-accent);
      border-radius: var(--radius);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 4rem;
    }
    .about-badge {
      position: absolute;
      bottom: -1.75rem;
      right: -1.75rem;
      width: 110px;
      height: 110px;
      background: var(--c-primary);
      border-radius: 50%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-family: var(--f-heading);
      box-shadow: var(--shadow-lg);
    }
    .about-badge-num { font-size: 1.8rem; font-weight: 700; line-height: 1; }
    .about-badge-text { font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.08em; text-align: center; padding: 0.25rem 0.3rem 0; opacity: 0.85; }
    blockquote {
      font-family: var(--f-accent);
      font-size: 1.35rem;
      font-style: italic;
      color: var(--c-primary);
      border-left: 3px solid var(--c-primary);
      padding-left: 1.25rem;
      margin: 1.75rem 0;
      line-height: 1.5;
    }
    .about-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.85rem;
      margin-top: 2.5rem;
      padding-top: 2.25rem;
      border-top: 1px solid var(--c-border);
    }
    .stat-card {
      position: relative;
      background: var(--c-bg);
      border: 1.5px solid var(--c-border);
      border-radius: var(--radius);
      padding: 1.25rem 1rem 1rem;
      display: flex;
      flex-direction: column;
      gap: 0.15rem;
      overflow: hidden;
      transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    }
    .stat-card::before {
      content: '';
      position: absolute;
      inset: 0 0 auto 0;
      height: 3px;
      background: var(--c-primary);
      border-radius: 2px 2px 0 0;
      opacity: 0.7;
    }
    .stat-card:hover {
      border-color: var(--c-primary);
      transform: translateY(-3px);
      box-shadow: var(--shadow);
    }
    .stat-icon {
      font-size: 1.6rem;
      line-height: 1;
      margin-bottom: 0.55rem;
    }
    .stat-value {
      font-family: var(--f-heading);
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--c-text);
      line-height: 1.2;
    }
    .stat-label {
      font-size: 0.67rem;
      color: var(--c-text-muted);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-top: 0.1rem;
    }

    /* ============================================
       TIMELINE
    ============================================ */
    .timeline { background: var(--c-bg); }
    .timeline-track {
      position: relative;
      max-width: 680px;
      margin: 3.5rem auto 0;
    }
    .timeline-track::before {
      content: '';
      position: absolute;
      left: 24px; top: 0; bottom: 0;
      width: 2px;
      background: var(--c-border);
    }
    .timeline-item {
      display: flex;
      gap: 2rem;
      margin-bottom: 2rem;
    }
    .timeline-dot {
      width: 50px;
      height: 50px;
      min-width: 50px;
      border-radius: 50%;
      background: var(--c-surface);
      border: 2px solid var(--c-border);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.15rem;
      position: relative;
      z-index: 1;
      transition: all var(--transition);
    }
    .timeline-item.done .timeline-dot {
      background: var(--c-primary);
      border-color: var(--c-primary);
      font-size: 1rem;
    }
    .timeline-content {
      background: var(--c-surface);
      border: 1px solid var(--c-border);
      border-radius: var(--radius);
      padding: 1.25rem 1.5rem;
      flex: 1;
      box-shadow: var(--shadow);
    }
    .timeline-date {
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--c-primary);
      margin-bottom: 0.2rem;
    }
    .timeline-title {
      font-family: var(--f-heading);
      font-size: 1.05rem;
      margin-bottom: 0.4rem;
      color: var(--c-text);
    }
    .timeline-desc { font-size: 0.875rem; color: var(--c-text-muted); }

    /* Items fantômes */
    .timeline-item.ghost .timeline-dot {
      background: var(--c-bg);
      border-style: dashed;
      color: var(--c-border);
    }
    .timeline-item.ghost .timeline-content {
      opacity: 0.35;
      filter: blur(3px);
      user-select: none;
      pointer-events: none;
    }
    .timeline-item.ghost .timeline-date,
    .timeline-item.ghost .timeline-title,
    .timeline-item.ghost .timeline-desc {
      background: var(--c-border);
      color: transparent;
      border-radius: 4px;
    }
    .timeline-item.ghost .timeline-date  { width: 80px; height: 10px; display: block; margin-bottom: 6px; }
    .timeline-item.ghost .timeline-title { width: 60%; height: 14px; display: block; margin-bottom: 8px; }
    .timeline-item.ghost .timeline-desc  { width: 90%; height: 10px; display: block; }

    /* ============================================
       JOURNAL / BLOG
    ============================================ */
    .blog { background: var(--c-surface); }
    .blog-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 3rem;
      gap: 1rem;
    }
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }
    .post-card {
      background: var(--c-bg);
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--c-border);
      transition: transform var(--transition), box-shadow var(--transition);
    }
    .post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
    .post-thumb {
      width: 100%;
      height: 210px;
      object-fit: cover;
    }
    .post-thumb-placeholder {
      width: 100%;
      height: 210px;
      background: var(--c-accent);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-size: 2.5rem;
      color: var(--c-primary);
      gap: 0.4rem;
    }
    .post-thumb-placeholder small {
      font-family: var(--f-body);
      font-size: 0.75rem;
      color: var(--c-text-muted);
    }
    .post-body { padding: 1.4rem; }
    .post-tag {
      display: inline-block;
      font-size: 0.67rem;
      font-weight: 800;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--c-primary);
      background: var(--c-accent);
      padding: 0.22rem 0.7rem;
      border-radius: 50px;
      margin-bottom: 0.8rem;
    }
    .post-title {
      font-family: var(--f-heading);
      font-size: 1.15rem;
      color: var(--c-text);
      margin-bottom: 0.6rem;
      line-height: 1.3;
    }
    .post-excerpt {
      font-size: 0.875rem;
      color: var(--c-text-muted);
      line-height: 1.65;
      margin-bottom: 1rem;
    }
    .post-meta {
      font-size: 0.75rem;
      color: var(--c-text-muted);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    .post-card.featured {
      grid-column: span 2;
      display: grid;
      grid-template-columns: 1fr 1fr;
    }
    .post-card.featured .post-thumb,
    .post-card.featured .post-thumb-placeholder {
      height: 100%;
      min-height: 260px;
    }
    .post-card.featured .post-title { font-size: 1.45rem; }

    /* ============================================
       GALERIE
    ============================================ */
    .gallery { background: var(--c-bg); }
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0.75rem;
      margin-top: 2.5rem;
    }
    .gallery-item {
      overflow: hidden;
      border-radius: calc(var(--radius) / 1.5);
      cursor: pointer;
      position: relative;
    }
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .gallery-item:nth-child(4) { grid-column: span 2; }
    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      min-height: 180px;
      transition: transform 0.6s ease;
    }
    .gallery-item:hover img { transform: scale(1.06); }
    .gallery-placeholder {
      width: 100%;
      min-height: 180px;
      background: var(--c-accent);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      color: var(--c-primary);
      gap: 0.4rem;
    }
    .gallery-item:nth-child(1) .gallery-placeholder { min-height: 400px; font-size: 3rem; }
    .gallery-placeholder small {
      font-family: var(--f-body);
      font-size: 0.75rem;
      color: var(--c-text-muted);
      text-align: center;
      padding: 0 1rem;
    }
    .gallery-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.3s;
    }
    .gallery-item:hover .gallery-overlay { background: rgba(0,0,0,0.2); }
    .gallery-icon {
      color: #fff;
      font-size: 2rem;
      opacity: 0;
      transform: scale(0.7);
      transition: all 0.3s;
    }
    .gallery-item:hover .gallery-icon { opacity: 1; transform: scale(1); }

    /* Lightbox */
    .lightbox {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.92);
      z-index: 2000;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    }
    .lightbox.open { opacity: 1; pointer-events: all; }
    .lightbox img {
      max-width: 90vw;
      max-height: 90vh;
      object-fit: contain;
      border-radius: 8px;
      box-shadow: 0 24px 80px rgba(0,0,0,0.5);
    }
    .lightbox-close {
      position: absolute;
      top: 1.5rem; right: 1.5rem;
      color: rgba(255,255,255,0.7);
      font-size: 2rem;
      cursor: pointer;
      background: none;
      border: none;
      line-height: 1;
      transition: color 0.2s;
    }
    .lightbox-close:hover { color: #fff; }

    /* ============================================
       NOS ENVIES
    ============================================ */
    .envies {
      background: var(--c-bg);
      padding: 6rem 2rem;
    }
    .envies-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 3rem;
      flex-wrap: wrap;
      gap: 1rem;
    }
    .envies-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
      gap: 1.1rem;
    }
    .envie-card {
      background: var(--c-surface);
      border: 1px solid var(--c-border);
      border-radius: var(--radius);
      padding: 1.5rem 1rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 0.65rem;
      transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
    }
    .envie-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow);
      border-color: var(--c-primary);
    }
    .envie-card.done {
      opacity: 0.5;
    }
    .envie-emoji {
      font-size: 2.2rem;
      line-height: 1;
    }
    .envie-text {
      font-size: 0.86rem;
      color: var(--c-text);
      line-height: 1.45;
      font-weight: 500;
    }
    .envie-card.done .envie-text { text-decoration: line-through; }
    .envie-done-badge {
      font-size: 0.68rem;
      font-weight: 700;
      color: var(--c-primary);
      background: var(--c-accent);
      padding: 0.2rem 0.65rem;
      border-radius: 50px;
    }
    @media (max-width: 640px) {
      .envies-grid { grid-template-columns: repeat(2, 1fr); }
    }

    /* Vidéo dans article */
    .art-page-video {
      margin-bottom: 1.75rem;
      border-radius: var(--radius);
      overflow: hidden;
      position: relative;
      width: 100%;
      padding-top: 56.25%; /* 16:9 */
      background: #111;
    }
    .video-yt-cover {
      position: absolute;
      inset: 0;
      display: block;
      text-decoration: none;
      overflow: hidden;
    }
    .video-thumb-bg {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, #1a3a1a 0%, #0d2010 100%);
      display: flex; align-items: center; justify-content: center;
      font-size: 3.5rem;
    }
    .video-thumb-img {
      position: absolute;
      inset: 0;
      width: 100%; height: 100%;
      object-fit: cover;
      z-index: 1;
      transition: transform 0.35s;
    }
    .video-yt-cover:hover .video-thumb-img { transform: scale(1.04); }
    .video-play-overlay {
      position: absolute;
      inset: 0;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.85rem;
      background: rgba(0,0,0,0.25);
      transition: background 0.2s;
    }
    .video-yt-cover:hover .video-play-overlay { background: rgba(0,0,0,0.42); }
    .video-play-circle {
      width: 72px; height: 72px;
      background: rgba(255,255,255,0.92);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 4px 28px rgba(0,0,0,0.4);
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .video-yt-cover:hover .video-play-circle { transform: scale(1.12); box-shadow: 0 8px 36px rgba(0,0,0,0.5); }
    .video-play-circle svg { width: 28px; height: 28px; fill: var(--c-primary); margin-left: 5px; }
    .video-yt-badge {
      color: rgba(255,255,255,0.95);
      font-size: 0.78rem;
      font-weight: 700;
      background: rgba(0,0,0,0.55);
      padding: 0.3rem 0.85rem;
      border-radius: 50px;
      letter-spacing: 0.04em;
      backdrop-filter: blur(4px);
    }

    /* ============================================
       FOOTER
    ============================================ */
    footer {
      background: var(--c-surface);
      border-top: 1px solid var(--c-border);
      padding: 3.5rem 2rem 2.5rem;
      text-align: center;
    }
    .footer-logo {
      font-family: var(--f-heading);
      font-size: 1.9rem;
      color: var(--c-primary);
      margin-bottom: 0.4rem;
    }
    .footer-tagline {
      color: var(--c-text-muted);
      font-size: 0.88rem;
      margin-bottom: 2.5rem;
    }
    .footer-links {
      display: flex;
      gap: 2rem;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 2.5rem;
    }
    .footer-links a { font-size: 0.85rem; color: var(--c-text-muted); }
    .footer-links a:hover { color: var(--c-primary); }
    .footer-divider {
      width: 40px;
      height: 2px;
      background: var(--c-border);
      margin: 0 auto 2rem;
    }
    .footer-copy { font-size: 0.78rem; color: var(--c-text-muted); }

    /* ============================================
       ARTICLE PAGE
    ============================================ */
    .post-card { cursor: pointer; }

    #articlePage {
      position: fixed;
      inset: 0;
      z-index: 500;
      background: var(--c-bg);
      transform: translateY(100%);
      transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior: contain;
    }
    #articlePage.open { transform: translateY(0); }

    .art-page-wrap {
      max-width: 760px;
      margin: 0 auto;
      padding: 2rem 1.5rem 5rem;
    }

    /* Bouton retour — même style que btn-ghost */
    #artPageBack {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.55rem 1.1rem;
      background: transparent;
      color: var(--c-primary);
      border: 2px solid var(--c-primary);
      border-radius: 50px;
      font-family: var(--f-body);
      font-size: 0.82rem;
      font-weight: 700;
      cursor: pointer;
      margin-bottom: 1.5rem;
      transition: all 0.2s;
    }
    #artPageBack:hover { background: var(--c-primary); color: #fff; }

    /* La carte article — même style que .post-card */
    .art-page-card {
      width: 100%;
      max-width: 700px;
      background: var(--c-bg);
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--c-border);
      box-shadow: var(--shadow-lg);
    }
    .art-page-photo {
      width: 100%;
      height: clamp(140px, 28vh, 280px);
      object-fit: cover;
      display: block;
    }
    .art-page-photo-placeholder {
      width: 100%;
      height: 180px;
      background: var(--c-accent);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3rem;
      color: var(--c-primary);
    }
    .art-page-body {
      padding: 1.75rem;
    }
    .art-page-meta {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      margin-bottom: 0.85rem;
    }
    .art-page-date { font-size: 0.75rem; color: var(--c-text-muted); }
    .art-page-title {
      font-family: var(--f-heading);
      font-size: clamp(1.4rem, 4vw, 2rem);
      line-height: 1.2;
      color: var(--c-text);
      margin-bottom: 1.5rem;
    }
    .art-page-divider {
      width: 32px;
      height: 2px;
      background: var(--c-primary);
      border-radius: 2px;
      margin-bottom: 1.5rem;
    }
    .art-page-content {
      font-size: 0.975rem;
      color: var(--c-text);
      line-height: 1.9;
      white-space: pre-wrap;
    }

    /* ============================================
       ANIMATIONS
    ============================================ */
    .fade-up {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .fade-up.visible { opacity: 1; transform: translateY(0); }
    .fade-up:nth-child(2) { transition-delay: 0.1s; }
    .fade-up:nth-child(3) { transition-delay: 0.2s; }

    /* ============================================
       RESPONSIVE
    ============================================ */
    @media (max-width: 960px) {
      .about-grid { grid-template-columns: 1fr; gap: 3rem; }
      .about-badge { display: none; }
      .blog-grid { grid-template-columns: 1fr 1fr; }
      .post-card.featured { grid-column: span 2; display: block; }
      .post-card.featured .post-thumb,
      .post-card.featured .post-thumb-placeholder { height: 240px; min-height: 240px; }
      .gallery-grid { grid-template-columns: repeat(2, 1fr); }
      .gallery-item:nth-child(1) { grid-column: span 2; }
      .gallery-item:nth-child(4) { grid-column: span 2; }
    }
    @media (max-width: 640px) {
      .nav { padding: 1.25rem 1.25rem; }
      .nav.scrolled { padding: 0.75rem 1.25rem; }
      .nav-links { display: none; }
      .section { padding: 4rem 1.25rem; }
      .blog-grid { grid-template-columns: 1fr; }
      .post-card.featured { grid-column: span 1; }
      .gallery-grid { grid-template-columns: 1fr 1fr; }
      .gallery-item:nth-child(1) { grid-column: span 2; }
      .gallery-item:nth-child(4) { grid-column: span 2; }
      .customizer { right: 1rem; left: 1rem; width: auto; }
      .customizer-toggle { right: 1.25rem; bottom: 1.25rem; }
      .newsletter-form { flex-direction: column; }
      .newsletter-form input { border-radius: 50px; }
      .blog-header { flex-direction: column; align-items: flex-start; }
      .art-page-wrap { padding: 1rem 0.75rem 4rem; }
      .art-page-body { padding: 1.25rem; }
      .art-page-card { border-radius: calc(var(--radius) * 0.6); }
    }
  
/* ============================================================
   AJOUTS BLOG SUR MESURE (v1) — par-dessus le style d'origine
============================================================ */
[data-font="classique"] { }
html { -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; }
[data-theme="foret"] .nav.scrolled, [data-theme="foret"] .nav.solid { --nav-rgb: 13,26,13; }
[data-theme="crepuscule"] { --nav-rgb: 253,246,239; }
[data-theme="ardoise"] { --nav-rgb: 240,242,245; }
[data-theme="rouille"] { --nav-rgb: 250,245,238; }

/* Nav pleine sur les pages intérieures */
.nav.solid { background: rgba(var(--nav-rgb, 247,245,240), 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--c-border); padding: 0.9rem 2.5rem; }
.nav.solid .nav-logo { color: var(--c-text); }
.nav.solid .nav-links a { color: var(--c-text-muted); }
.nav.solid .nav-links a:hover, .nav .nav-links a.active { color: var(--c-primary); }
.nav-logo:hover { color: inherit; }
.nav.solid .nav-logo:hover, .nav.scrolled .nav-logo:hover { color: var(--c-primary); }

/* Menu mobile */
.nav-burger { display: none; width: 44px; height: 44px; border: none; background: rgba(255,255,255,0.14); border-radius: 50%; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.nav-burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s, background .3s; }
.nav.scrolled .nav-burger, .nav.solid .nav-burger { background: var(--c-accent); }
.nav.scrolled .nav-burger span, .nav.solid .nav-burger span { background: var(--c-primary); }
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--c-bg); display: flex; flex-direction: column; justify-content: center; padding: 6rem 2rem 3rem; gap: .35rem; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.mobile-menu a { font-family: var(--f-heading); font-size: 2.1rem; color: var(--c-text); padding: .45rem 0; transform: translateY(12px); transition: transform .4s ease, color .2s; }
.mobile-menu a small { display: block; font-family: var(--f-body); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-primary); font-weight: 700; }
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu { opacity: 1; pointer-events: all; }
body.menu-open .mobile-menu a { transform: none; }
body.menu-open .nav { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-open .nav .nav-logo { color: var(--c-text); }
body.menu-open .nav-burger { background: var(--c-primary); }
body.menu-open .nav-burger span { background: #fff; }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero : légère animation d'entrée + svh pour iPhone */
.hero { height: 100svh; }
.hero-img { animation: heroZoom 14s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-content > * { animation: heroIn .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-content > *:nth-child(2) { animation-delay: .12s; }
.hero-content > *:nth-child(3) { animation-delay: .24s; }
.hero-content > *:nth-child(4) { animation-delay: .36s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-eyebrow { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); background: rgba(255,255,255,0.08); }

/* Citation : pastille pleine au lieu d'un filet sur le bord gauche */
blockquote { border-left: none; padding: 1.5rem 1.75rem 1.5rem 4rem; background: var(--c-accent); border-radius: var(--radius); position: relative; color: var(--c-primary); }
blockquote::before { content: '\201C'; position: absolute; left: 1.1rem; top: .35rem; font-size: 4.2rem; line-height: 1; font-family: var(--f-heading); opacity: .45; }

/* Statistiques : pastille d'icône pleine, pas de filet */
.stat-card::before { display: none; }
.stat-card { background: var(--c-bg); }
.stat-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--c-primary); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.about-img { height: 560px; }

/* Cartes d'articles : lien complet, image zoomée au survol */
.post-card { display: block; color: inherit; position: relative; }
.post-card:hover { color: inherit; }
.post-thumb-wrap { overflow: hidden; position: relative; background: var(--c-accent); }
.post-thumb { transition: transform .7s ease; }
.post-card:hover .post-thumb { transform: scale(1.05); }
.post-card.featured .post-thumb-wrap { height: 100%; }
.post-card.featured .post-body { padding: 2.25rem; display: flex; flex-direction: column; justify-content: center; }
.post-card.featured .post-excerpt { font-size: .95rem; }
.post-more { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700; color: var(--c-primary); margin-top: .25rem; letter-spacing: .03em; }
.post-more::after { content: '→'; transition: transform .25s; }
.post-card:hover .post-more::after { transform: translateX(4px); }
.post-badge { position: absolute; top: 1rem; left: 1rem; background: var(--c-primary); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 50px; box-shadow: 0 4px 14px rgba(0,0,0,.2); }

/* Galerie */
.gallery-grid { grid-auto-flow: dense; grid-auto-rows: 190px; }
.gallery-item { display: block; background: var(--c-accent); }
.gallery-item img { min-height: 0; height: 100%; }
.gallery-grid.full .gallery-item:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid.full .gallery-item:nth-child(7n+4) { grid-column: span 2; }
.gallery-grid.full .gallery-item:nth-child(1), .gallery-grid.full .gallery-item:nth-child(4) { }
.gallery-icon { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.section-foot { display: flex; justify-content: center; margin-top: 2.5rem; }

/* Lightbox : navigation */
.lightbox img { max-width: 92vw; max-height: 84vh; transition: opacity .25s; }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: none; background: rgba(255,255,255,.12); color: #fff; font-size: 1.5rem; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 1.25rem; } .lb-next { right: 1.25rem; }
.lb-count { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .8rem; letter-spacing: .1em; }
.lightbox-close { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); font-size: 1.3rem; }

/* Pages intérieures */
.page-head { padding: 8.5rem 2rem 3rem; background: var(--c-surface); border-bottom: 1px solid var(--c-border); position: relative; overflow: hidden; }
.page-head::after { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: var(--c-accent); opacity: .7; }
.page-head .container { position: relative; z-index: 1; }
.page-head .section-desc { margin-top: .25rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.chip { display: inline-block; padding: .5rem 1.1rem; border-radius: 50px; background: var(--c-bg); border: 1.5px solid var(--c-border); color: var(--c-text); font-size: .82rem; font-weight: 700; }
.chip:hover { border-color: var(--c-primary); color: var(--c-primary); }
.chip.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* Page article */
.art-wrap { max-width: 820px; margin: 0 auto; padding: 7rem 1.5rem 5rem; }
.art-back { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1.1rem; color: var(--c-primary); border: 2px solid var(--c-primary); border-radius: 50px; font-size: .82rem; font-weight: 700; margin-bottom: 1.5rem; transition: all .2s; }
.art-back:hover { background: var(--c-primary); color: #fff; }
.art-card { background: var(--c-surface); border-radius: calc(var(--radius) * 1.4); overflow: hidden; border: 1px solid var(--c-border); box-shadow: var(--shadow-lg); }
.art-photo { width: 100%; height: clamp(240px, 52vh, 520px); object-fit: cover; cursor: zoom-in; }
.art-body { padding: 2.5rem 3rem 3rem; }
.art-title { font-family: var(--f-heading); font-size: clamp(1.8rem, 4.5vw, 2.8rem); line-height: 1.15; margin: .25rem 0 1.5rem; }
.art-divider { width: 48px; height: 3px; background: var(--c-primary); border-radius: 3px; margin-bottom: 1.75rem; }
.art-content { font-size: 1.06rem; line-height: 1.9; }
.art-content p + p { margin-top: 1.1rem; }
.art-empty { color: var(--c-text-muted); font-style: italic; }
.art-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 2.25rem; }
.art-photos a { border-radius: 10px; overflow: hidden; aspect-ratio: 1; background: var(--c-accent); display: block; }
.art-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.art-photos a:hover img { transform: scale(1.06); }
.art-video { margin-top: 2rem; position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; background: #111; }
.art-video iframe, .art-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.art-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.art-nav a { display: flex; gap: .9rem; align-items: center; padding: .75rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); color: var(--c-text); transition: transform .25s, box-shadow .25s; }
.art-nav a:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--c-text); }
.art-nav img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.art-nav small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--c-primary); font-weight: 800; }
.art-nav strong { font-family: var(--f-heading); font-size: 1rem; line-height: 1.25; display: block; }
.art-nav .next { text-align: right; flex-direction: row-reverse; grid-column: 2; }

.empty-state { grid-column: 1/-1; text-align: center; padding: 3rem 1rem; color: var(--c-text-muted); }
.err-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8rem 1.5rem 4rem; }
.err-page h1 { font-size: clamp(4rem, 14vw, 8rem); color: var(--c-primary); }

/* Customizer : on ne charge les polices que si besoin */
.customizer-toggle { font-size: 1.25rem; }

@media (max-width: 960px) {
  .gallery-grid { grid-auto-rows: 170px; }
  .gallery-grid.full .gallery-item:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
  .gallery-grid.full .gallery-item:nth-child(7n+4) { grid-column: span 2; grid-row: span 1; }
  .post-card.featured .post-body { padding: 1.4rem; }
}
@media (max-width: 640px) {
  .nav-burger { display: inline-flex; }
  .nav.solid { padding: .75rem 1.25rem; }
  .hero-title { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-subtitle { font-size: 1.02rem; }
  .hero-cta .btn { padding: .8rem 1.5rem; }
  .about-img { height: 340px; }
  .about-stats { grid-template-columns: 1fr 1fr 1fr; gap: .5rem; }
  .stat-card { padding: .9rem .7rem .8rem; }
  .stat-icon { width: 36px; height: 36px; font-size: 1.05rem; border-radius: 10px; }
  .stat-value { font-size: .9rem; }
  blockquote { font-size: 1.15rem; padding: 1.25rem 1.25rem 1.25rem 3.2rem; }
  blockquote::before { font-size: 3.4rem; left: .8rem; }
  .timeline-item { gap: 1rem; }
  .gallery-grid { grid-auto-rows: 130px; gap: .5rem; }
  .gallery-item:nth-child(1) { grid-row: span 2; }
  .page-head { padding: 7rem 1.25rem 2.25rem; }
  .art-wrap { padding: 5.5rem .75rem 4rem; }
  .art-body { padding: 1.5rem 1.35rem 2rem; }
  .art-photo { height: 300px; }
  .art-content { font-size: 1rem; }
  .art-photos { grid-template-columns: 1fr 1fr; }
  .art-nav { grid-template-columns: 1fr; }
  .art-nav .next { grid-column: 1; }
  .lb-btn { display: none; }
  .post-card.featured .post-thumb-wrap { height: 240px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .fade-up { opacity: 1; transform: none; } }
/* Retouches */
.post-tag { align-self: flex-start; width: fit-content; }
@media (max-width: 640px) { .hero-eyebrow { letter-spacing: 0.12em; font-size: 0.7rem; padding: 0.35rem 0.85rem; } }
