/* =========================================================
   LE MISTRAL — magazine éditorial (thème Lazarre · theme-7)
   Design language: lavande de Provence · serif raffiné · éditorial
   Converti depuis « Figueira / Atelier Aubépine » (Claude design).
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Hanken+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* -------- Tokens -------- */
:root {
  /* Surfaces — blanc lavande chaud */
  --paper:    #F6F3FB;
  --paper-2:  #EFEAF8;
  --linen:    #F3EFE9;
  --white:    #FCFBFE;

  /* Échelle lavande */
  --lav-pale: #EAE3F6;
  --lav-soft: #CFC2E8;
  --lav:      #A693D1;
  --lav-2:    #8E78C2;
  --lav-deep: #5E4E8C;

  /* Prune (sections sombres) */
  --plum:      #2C2340;
  --plum-deep: #1F1830;
  --plum-2:    #3A2F52;

  /* Encre */
  --ink:      #241C33;
  --ink-2:    #43395A;
  --ink-mute: #756B8C;

  /* Accent chaud (soleil de Provence / blé) — usage parcimonieux */
  --gold:     #C2A063;
  --gold-soft:#DCC79A;

  /* Filets */
  --rule:      #E3DAF1;
  --rule-soft: #ECE6F6;

  /* Fonts */
  --f-serif: 'Cormorant Garamond', 'Georgia', serif;
  --f-sans:  'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --f-mono:  'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --max:      1380px;
  --pad:      clamp(20px, 4vw, 60px);
  --grid-gap: clamp(16px, 2vw, 28px);
  --radius-lg: 4px;
  --radius-md: 3px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --accent: var(--lav-deep);
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* -------- Type primitives -------- */
.h1 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(54px, 9vw, 150px); line-height: .92; letter-spacing: -.015em; }
.h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(40px, 6vw, 92px); line-height: .98; letter-spacing: -.01em; }
.h3 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 50px); line-height: 1.02; letter-spacing: -.005em; }
.h2 em, .h3 em, .h1 em { font-style: italic; font-weight: 400; color: var(--lav-deep); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: var(--ink-mute);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.eyebrow.bare::before { display: none; }
.eyebrow.light { color: color-mix(in oklab, var(--paper) 72%, transparent); }
.eyebrow.light::before { background: var(--lav-soft); }

.lede {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.3;
  font-style: italic;
  color: var(--ink-2);
}
.body    { font-size: 16px; line-height: 1.7; color: var(--ink-2); max-width: 62ch; }
.body-lg { font-size: 17.5px; line-height: 1.75; color: var(--ink-2); }

/* -------- Layout -------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: clamp(72px, 11vh, 140px); padding-bottom: clamp(72px, 11vh, 140px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 200;
  backdrop-filter: blur(12px);
  background: color-mix(in oklab, var(--paper) 82%, transparent);
  border-bottom: 1px solid var(--rule);
}
.site-header .bar {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 20px var(--pad);
  max-width: var(--max); margin: 0 auto;
}
.nav {
  display: flex; gap: 2px;
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase;
}
.nav a {
  padding: 10px 16px; border-radius: 999px; color: var(--ink-2);
  position: relative; transition: color .25s var(--ease);
}
.nav a::before {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px;
  height: 1px; background: var(--lav-deep); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::before, .nav a.is-active::before { transform: scaleX(1); }
.nav a.is-active { color: var(--ink); }

.burger { display: none; position: relative; width: 44px; height: 44px; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink); border-radius: 2px; }
.burger span:nth-child(1){ top: 15px; } .burger span:nth-child(2){ top: 21px; } .burger span:nth-child(3){ top: 27px; }

.mobile-nav { display: none; }
.mobile-nav.is-open {
  display: flex; flex-direction: column; position: fixed; inset: 0;
  width: 100%; min-height: 100vh; min-height: 100dvh;
  background: var(--plum-deep); color: var(--paper); z-index: 300;
  padding: 92px var(--pad) 28px;
  font-family: var(--f-serif); font-weight: 400; font-size: clamp(28px, 5vh, 44px);
  line-height: 1; letter-spacing: -.01em;
  overflow-y: auto;
}
.mobile-nav.is-open a { color: var(--paper); padding: 16px 0; border-bottom: 1px solid color-mix(in oklab, var(--paper) 14%, transparent); transition: color .25s var(--ease), padding-left .25s var(--ease); }
.mobile-nav.is-open a:hover { color: var(--lav-soft); padding-left: 10px; }
.mobile-nav__close { position: absolute; top: 40px; right: var(--pad); width: 44px; height: 44px; }
.mobile-nav__close span { position: absolute; left: 9px; right: 9px; top: 21px; height: 2px; background: var(--paper); border-radius: 2px; }
.mobile-nav__close span:nth-child(1){ transform: rotate(45deg); } .mobile-nav__close span:nth-child(2){ transform: rotate(-45deg); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 999px;
  border: 1px solid var(--plum); background: var(--plum); color: var(--paper);
  transition: transform .35s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--lav-deep); border-color: var(--lav-deep); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--lav-soft); }
.btn.ghost:hover { background: var(--plum); color: var(--paper); border-color: var(--plum); }
.btn.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn.light:hover { background: var(--lav); color: var(--white); border-color: var(--lav); }
.btn.sm { padding: 11px 20px; font-size: 11px; }

/* =========================================================
   HERO (accueil magazine)
   ========================================================= */
.hero { position: relative; overflow: hidden; background: var(--paper); padding: clamp(28px, 5vh, 56px) 0 0; }
.top-meta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }

.hero-row {
  display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(28px, 5vw, 76px);
  align-items: center; margin-top: clamp(30px, 5vh, 60px); padding-bottom: clamp(48px, 7vh, 90px);
}
.hero-title {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(52px, 7.4vw, 124px); line-height: .94; letter-spacing: -.015em;
  color: var(--ink); margin: 0 0 26px;
}
.hero-title em { font-style: italic; color: var(--lav-deep); }
.hero-title .dot { color: var(--gold); }
.hero .copy .lede { max-width: 38ch; margin-bottom: 32px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative; aspect-ratio: 4/5; border-radius: 280px 280px 6px 6px;
  background: var(--lav-pale);
}
.hero-visual .photo { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(40,20,60,.4); }
.hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .badge {
  position: absolute; left: -22px; bottom: 36px; z-index: 3;
  background: var(--white); border: 1px solid var(--rule);
  padding: 16px 20px; border-radius: 4px; box-shadow: 0 24px 50px -24px rgba(40,20,60,.4);
  max-width: 62%;
}
.hero-visual .badge .k { font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--lav-2); }
.hero-visual .badge .v { font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--ink); margin-top: 4px; }
.hero-visual .float {
  position: absolute; z-index: 2; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 18px 36px -10px rgba(40,20,60,.25);
}
.hero-visual .float svg { width: 64%; height: 64%; }
.hero-visual .float.f1 { left: -5%; top: 8%;  width: 22%; aspect-ratio: 1; background: var(--plum); color: var(--lav-soft); }
.hero-visual .float.f2 { right: -4%; top: 40%; width: 18%; aspect-ratio: 1; background: var(--white); color: var(--lav-deep); }

/* ---- Hero strip (shared) ---- */
.hero-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--plum); color: var(--paper); }
.hero-strip .cell { padding: 22px clamp(18px,2vw,28px); border-right: 1px solid color-mix(in oklab, var(--paper) 13%, transparent); }
.hero-strip .cell:last-child { border-right: 0; }
.hero-strip .k { font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in oklab, var(--paper) 58%, transparent); margin-bottom: 8px; }
.hero-strip .v { font-family: var(--f-serif); font-weight: 400; font-size: clamp(18px,1.7vw,25px); line-height: 1.15; }
.hero-strip .v em { font-style: italic; color: var(--lav-soft); }

/* =========================================================
   REPÈRES band (sous le hero)
   ========================================================= */
.certs { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 26px 0; }
.certs .row { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.certs .label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); max-width: 22ch; line-height: 1.5; }
.certs .marks { display: flex; gap: clamp(20px, 3vw, 48px); flex-wrap: wrap; align-items: center; }
.certs .mark { font-family: var(--f-serif); font-weight: 400; font-size: clamp(20px, 2vw, 26px); color: var(--ink-2); display: inline-flex; align-items: baseline; gap: 8px; }
.certs .mark .sup { font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; color: var(--lav-deep); }

/* =========================================================
   MARQUEE — rubriques / sujets (signature éditoriale)
   ========================================================= */
.fairs { background: var(--white); border-bottom: 1px solid var(--rule); padding: clamp(26px, 4vh, 42px) 0; overflow: hidden; }
.fairs .head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 0 var(--pad); max-width: var(--max); margin: 0 auto clamp(20px,3vh,30px); flex-wrap: wrap; }
.fairs .head .label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-mute); }
.fairs .head .count { font-family: var(--f-serif); font-style: italic; font-size: clamp(20px,2vw,28px); color: var(--lav-deep); }
.marquee-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-row + .marquee-row { margin-top: 14px; }
.marquee-track { display: flex; width: max-content; gap: 0; animation: fairscroll 64s linear infinite; will-change: transform; }
.marquee-row.rev .marquee-track { animation-direction: reverse; animation-duration: 78s; }
.fairs:hover .marquee-track { animation-play-state: paused; }
@keyframes fairscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.fair { display: inline-flex; align-items: center; gap: 16px; padding: 0 clamp(26px, 3vw, 48px); white-space: nowrap; }
.fair .name { font-family: var(--f-serif); font-weight: 500; font-size: clamp(26px, 3vw, 44px); line-height: 1; letter-spacing: -.01em; color: var(--ink); transition: color .3s var(--ease); }
.fair .loc { font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--lav-2); align-self: center; }
.fair::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lav-soft); margin-left: clamp(10px,2vw,28px); }
.fair:hover .name { color: var(--lav-deep); }

/* =========================================================
   SECTION HEADER
   ========================================================= */
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px,4vw,56px); align-items: end; margin-bottom: clamp(34px,5vh,56px); }
.section-head .title { max-width: 16ch; margin: 14px 0 0; }
.section-head .right { color: var(--ink-2); font-size: 16px; line-height: 1.7; max-width: 44ch; }
@media (max-width: 900px){ .section-head { grid-template-columns: 1fr; align-items: start; } }

/* =========================================================
   STATS
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.stat { padding: 38px 26px 32px; border-right: 1px solid var(--rule); position: relative; }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--f-serif); font-weight: 400; font-size: clamp(56px,8vw,118px); line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.stat .num .suf { color: var(--lav-deep); }
.stat .label { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--ink-mute); margin-top: 14px; }
.stat .icon { position: absolute; right: 24px; top: 34px; width: 50px; height: 50px; opacity: .5; color: var(--lav); }

/* =========================================================
   WHY — section sombre, liste numérotée
   ========================================================= */
.dark-section { background: var(--plum-deep); color: var(--paper); padding: clamp(80px,12vh,160px) 0; position: relative; overflow: hidden; }
.dark-section::before { content: ""; position: absolute; right: -180px; top: -140px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--lav) 50%, transparent) 0%, transparent 70%); opacity: .3; pointer-events: none; }
.dark-section .section-head .title { color: var(--white); }
.dark-section .section-head .title em { color: var(--lav-soft); }
.dark-section .section-head .right { color: color-mix(in oklab, var(--paper) 74%, transparent); }
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid color-mix(in oklab, var(--paper) 14%, transparent); position: relative; z-index: 1; margin-top: clamp(36px, 6vh, 64px); }
.why-item { padding: 30px 26px; border-bottom: 1px solid color-mix(in oklab, var(--paper) 14%, transparent); display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; transition: padding .35s var(--ease), background .35s var(--ease); }
.why-item:nth-child(odd) { border-right: 1px solid color-mix(in oklab, var(--paper) 14%, transparent); }
.why-item:hover { padding-left: 38px; background: color-mix(in oklab, var(--paper) 4%, transparent); }
.why-item .num { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--lav-soft); padding-top: 8px; }
.why-item h4 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(22px,2.2vw,30px); margin: 0 0 8px; line-height: 1.06; }
.why-item p { margin: 0; font-size: 14.5px; line-height: 1.6; color: color-mix(in oklab, var(--paper) 76%, transparent); }

/* =========================================================
   CTA closer (avec carte)
   ========================================================= */
.cta { background: var(--lav-pale); position: relative; overflow: hidden; padding: clamp(72px,11vh,128px) 0; }
.cta .layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px,5vw,80px); align-items: center; }
.cta h2 { color: var(--ink); margin: 16px 0 14px; }
.cta h2 em { font-style: italic; color: var(--lav-deep); }
.cta .body-lg { max-width: 42ch; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.cta .card { background: var(--white); border: 1px solid var(--rule); border-radius: 4px; padding: clamp(26px,3vw,40px); }
.cta .card .kicker { font-family: var(--f-mono); font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--lav-2); }
.cta .card .big { font-family: var(--f-serif); font-weight: 400; font-size: clamp(40px,5vw,76px); line-height: .96; letter-spacing: -.02em; margin: 12px 0; }
.cta .card .big em { font-style: italic; color: var(--lav-deep); }
.cta .card .sub { font-size: 15px; color: var(--ink-2); margin: 0 0 22px; }
.cta .card .turn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--lav-deep); }
.cta .card .turn .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--plum-deep); color: var(--paper); padding: clamp(60px,8vh,96px) 0 28px; position: relative; overflow: hidden; }
.site-footer::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--lav) 45%, transparent) 0%, transparent 70%); opacity: .28; pointer-events: none; }
.site-footer .grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: clamp(20px,3vw,48px); padding-bottom: 46px; border-bottom: 1px solid color-mix(in oklab, var(--paper) 14%, transparent); position: relative; z-index: 1; }
.site-footer .lockup { font-family: var(--f-serif); font-weight: 400; font-size: clamp(26px,3vw,40px); line-height: 1.04; letter-spacing: -.01em; max-width: 20ch; color: var(--white); }
.site-footer .lockup em { color: var(--lav-soft); font-style: italic; }
.site-footer .col-title { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in oklab, var(--paper) 56%, transparent); margin: 0 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: 14.5px; line-height: 1.5; color: color-mix(in oklab, var(--paper) 86%, transparent); }
.site-footer a { color: var(--paper); transition: color .25s var(--ease); }
.site-footer a:hover { color: var(--lav-soft); }
.site-footer .copy-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: color-mix(in oklab, var(--paper) 52%, transparent); padding-top: 24px; flex-wrap: wrap; position: relative; z-index: 1; }
.site-footer .tagline { color: var(--lav-soft); }

/* =========================================================
   PAGE HERO (pages intérieures : à propos, contact)
   ========================================================= */
.page-hero { background: var(--lav-pale); padding: clamp(48px,7vh,90px) 0 0; position: relative; overflow: hidden; border-bottom: 1px solid var(--rule); }
.page-hero .layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px,5vw,72px); align-items: end; margin-top: clamp(34px,5vh,56px); padding-bottom: clamp(40px,6vh,72px); }
.page-hero h1 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(46px,7.4vw,128px); line-height: .92; letter-spacing: -.015em; margin: 0; color: var(--ink); }
.page-hero h1 em { font-style: italic; color: var(--lav-deep); }
.page-hero h1 .dot { color: var(--gold); }
.page-hero .copy { max-width: 52ch; }
.page-hero .copy .lede { margin-bottom: 8px; }
.page-hero .visual { aspect-ratio: 4/5; border-radius: 220px 220px 4px 4px; overflow: hidden; background: var(--lav-soft); position: relative; }
.page-hero .visual .scene-img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .visual .float {
  position: absolute; border-radius: 50%; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 18px 36px -10px rgba(40,20,60,.25); color: var(--lav-deep);
}
.page-hero .visual .float svg { width: 60%; height: 60%; }
.page-hero .visual .float.a { left: -5%; top: 16%; width: 20%; aspect-ratio: 1; }
.page-hero .visual .float.b { right: -4%; bottom: 14%; width: 24%; aspect-ratio: 1; background: var(--plum); color: var(--lav-soft); }

/* =========================================================
   NARRATIVE (à propos — bloc histoire avec image)
   ========================================================= */
.narrative { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px,5vw,72px); align-items: center; }
.narrative .text > * + * { margin-top: 20px; }
.narrative .text .body-lg { max-width: 50ch; }
.narrative .visual { position: relative; aspect-ratio: 5/6; max-width: 520px; margin: 0 auto; }
.narrative .visual .big { width: 100%; height: 100%; border-radius: 4px; overflow: hidden; background: var(--lav-pale); }
.narrative .visual .big img { width: 100%; height: 100%; object-fit: cover; }
.narrative .visual .tagchip { position: absolute; right: 18px; top: 18px; background: var(--white); color: var(--ink); font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 9px 14px; border-radius: 999px; box-shadow: 0 12px 28px -14px rgba(40,20,60,.4); }

/* =========================================================
   SPLIT cards (à propos — ligne éditoriale)
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--rule); border-radius: var(--radius-md); overflow: hidden; background: var(--white); }
.split > * { padding: clamp(28px, 4vw, 52px); }
.split > *:first-child { border-right: 1px solid var(--rule); }
.split h3 { margin: 14px 0 8px; font-family: var(--f-serif); font-weight: 500; font-size: clamp(24px,2.6vw,34px); }
.split .body { margin: 0; }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; align-items: baseline; gap: 14px; font-size: 15.5px; color: var(--ink); padding: 6px 0; border-top: 1px dashed var(--rule); }
.checklist li:first-child { border-top: 0; }
.checklist li::before { content: "→"; font-family: var(--f-mono); font-size: 13px; color: var(--lav-deep); line-height: 1; }

/* =========================================================
   REVEAL — visible par défaut (révélé via JS, fiable en capture)
   ========================================================= */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }

/* =========================================================
   RESPONSIVE (composants thème)
   ========================================================= */
@media (max-width: 1024px){
  .hero-row, .cta .layout, .page-hero .layout, .narrative { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr 1fr; }
  .hero-strip { grid-template-columns: 1fr 1fr; }
  .hero-strip .cell:nth-child(2){ border-right: 0; }
  .hero-strip .cell:nth-child(-n+2){ border-bottom: 1px solid color-mix(in oklab, var(--paper) 14%, transparent); }
  .nav { display: none; }
  .burger { display: block; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
  .site-footer .lockup { grid-column: 1 / -1; }
  .hero-visual { aspect-ratio: 16/12; border-radius: 4px; }
  .page-hero .visual { aspect-ratio: 16/11; border-radius: 4px; }
  .split { grid-template-columns: 1fr; }
  .split > *:first-child { border-right: 0; border-bottom: 1px solid var(--rule); }
}
@media (max-width: 680px){
  .stats, .why-list, .hero-strip { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--rule); }
  .hero-strip .cell { border-right: 0; border-bottom: 1px solid color-mix(in oklab, var(--paper) 14%, transparent); }
  .why-item:nth-child(odd){ border-right: 0; }
  .site-footer .grid { grid-template-columns: 1fr; }
  .fair .name { font-size: 30px; }
}

/* =========================================================
   LAZARRE — intégration moteur (blog, archives, article, auteur)
   Classes générées par le moteur PHP, habillées au design Le Mistral.
   ========================================================= */

/* -- Wordmark texte (remplace le logo image) -- */
.brand { display: inline-flex; align-items: center; }
.brand-text {
  font-family: var(--f-serif); font-weight: 500; font-style: italic;
  font-size: clamp(22px, 2vw, 30px); letter-spacing: -.01em;
  color: var(--ink); line-height: 1;
}

/* -- Dropdown catégories dans la nav -- */
.nav-cat-dd { position: relative; display: inline-flex; align-items: center; }
.nav-cat-dd > .nav-cat-menu {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  display: none; flex-direction: column;
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 6px; padding: 8px 0; z-index: 1000;
  box-shadow: 0 18px 40px -16px rgba(40,20,60,.35);
}
.nav-cat-dd:hover > .nav-cat-menu { display: flex; }
.nav-cat-dd > .nav-cat-menu a {
  display: block; padding: 9px 18px; white-space: nowrap;
  font-family: var(--f-sans); font-size: 13px; letter-spacing: .02em;
  text-transform: none; color: var(--ink-2); border-radius: 0;
}
.nav-cat-dd > .nav-cat-menu a::before { display: none; }
.nav-cat-dd > .nav-cat-menu a:hover { background: color-mix(in oklab, var(--lav) 14%, transparent); color: var(--ink); }
.nav-mobile-cat { opacity: .8; font-size: clamp(16px, 2.6vh, 22px) !important; }

/* -- Listing blog / archives : grille éditoriale (footprint magazine) -- */
.blog-listing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); margin-top: clamp(28px, 4vh, 48px); }
.blog-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; isolation: isolate;
  background-color: var(--plum); background-size: cover; background-position: center;
  color: var(--paper);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.blog-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(31,24,48,.05) 0%, rgba(31,24,48,.45) 46%, rgba(31,24,48,.9) 100%);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(40,20,60,.5); }
.blog-card > * { position: relative; z-index: 2; }
.blog-card-cover { position: absolute; inset: 0; z-index: 3; }
.blog-card-category {
  z-index: 4; align-self: flex-start; margin-bottom: auto;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; background: var(--lav-deep); color: var(--paper);
  transition: background .25s var(--ease);
}
.blog-card-category:hover { background: var(--gold); color: var(--plum-deep); }
.blog-card-date { font-family: var(--f-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in oklab, var(--paper) 78%, transparent); margin: 0 0 8px; }
.blog-card-title { font-family: var(--f-serif); font-weight: 500; font-size: clamp(24px, 2vw, 32px); line-height: 1.04; letter-spacing: -.01em; margin: 0; }
.blog-card-excerpt { font-family: var(--f-sans); font-size: 13.5px; line-height: 1.5; color: color-mix(in oklab, var(--paper) 82%, transparent); margin: 12px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-empty { grid-column: 1 / -1; font-family: var(--f-serif); font-style: italic; font-size: clamp(20px, 2vw, 28px); color: var(--ink-mute); text-align: center; padding: clamp(40px, 6vh, 72px) 0; }

/* -- Pages génériques / légales / archives (.page) -- */
.page { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vh, 100px) var(--pad); }
.page > h1 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(40px, 6vw, 92px); line-height: .92; letter-spacing: -.015em; color: var(--ink); margin: 0 0 clamp(20px, 3vh, 36px); }
.page > h1 em { font-style: italic; color: var(--lav-deep); }
.page .content { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.page .content > p, .page .content > ul, .page .content > ol, .page .content > h2, .page .content > h3 { max-width: 70ch; }
.page .content h2 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(26px, 3vw, 40px); margin: 1.6em 0 .5em; color: var(--ink); }
.page .content h3 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(20px, 2.2vw, 28px); margin: 1.4em 0 .4em; }
.page .content a { color: var(--lav-deep); text-decoration: underline !important; }
.archive-desc { font-family: var(--f-serif); font-style: italic; font-size: clamp(18px, 2vw, 24px); line-height: 1.4; color: var(--ink-mute); max-width: 60ch; margin: 0 0 8px; }

/* -- Article (.post généré par le moteur) -- */
.post { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vh, 80px) var(--pad); }
.post > header { margin-bottom: clamp(28px, 4vh, 44px); }
.post > header img, .post > header figure img { width: 100%; height: auto; border-radius: var(--radius-md); margin: 0 0 clamp(24px, 4vh, 40px); display: block; }
.post > header h1 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(38px, 5vw, 72px); line-height: .96; letter-spacing: -.02em; color: var(--ink); margin: 0 0 18px; }
.post .content { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.post .content > * + * { margin-top: 1.1em; }
.post .content .lede { font-family: var(--f-serif); font-style: italic; font-size: clamp(20px, 2.2vw, 27px); line-height: 1.35; color: var(--ink); max-width: none; }
.post .content h2 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(26px, 3vw, 40px); margin: 1.6em 0 .4em; color: var(--ink); letter-spacing: -.01em; }
.post .content h3 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(21px, 2.2vw, 30px); margin: 1.4em 0 .3em; }
.post .content img { width: 100%; height: auto; border-radius: var(--radius-md); margin: 1.4em 0; }
.post .content a { color: var(--lav-deep); text-decoration: underline !important; }
.post .content blockquote { margin: 1.4em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--lav-deep); font-family: var(--f-serif); font-style: italic; font-size: 1.2em; color: var(--ink); }

/* -- Ligne méta article : date · auteur · catégorie -- */
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin: 0; }
.article-meta-sep { color: var(--rule); }
.article-meta-author, .article-meta-category { color: var(--lav-deep); transition: color .2s var(--ease); }
.article-meta-author:hover, .article-meta-category:hover { color: var(--gold); }
.article-meta-date { color: var(--ink-mute); }

/* -- Box auteur sous l'article -- */
.author-box { display: flex; gap: 22px; align-items: center; margin: clamp(40px, 6vh, 64px) 0 0; padding: 28px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-md); }
.author-box-photo img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; display: block; }
.author-box-name { font-family: var(--f-serif); font-weight: 500; font-style: italic; font-size: clamp(22px, 2vw, 28px); color: var(--ink); display: inline-block; margin-bottom: 6px; }
a.author-box-name:hover { color: var(--lav-deep); }
.author-box-bio { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

/* -- Bloc auteurs page À propos (footprint propre au thème) -- */
.mag-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); margin-top: clamp(28px, 4vh, 48px); }
.mag-author { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 32px 28px; text-align: center; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.mag-author:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -28px rgba(40,20,60,.32); }
.mag-author-photo { width: 200px; height: 200px; max-width: 70%; margin: 0 auto 20px; border-radius: 50%; overflow: hidden; background: var(--lav-pale); }
.mag-author-photo img, .mag-author-photo svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.mag-author h3 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(24px, 2.2vw, 30px); margin: 0 0 12px; }
.mag-author h3 a { color: var(--ink); }
.mag-author h3 a:hover { color: var(--lav-deep); }
.mag-author p { font-size: 14.5px; line-height: 1.6; color: var(--ink-2); margin: 0 0 20px; }

@media (max-width: 1024px) { .blog-listing, .mag-team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) {
  .blog-listing, .mag-team-grid { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; text-align: center; }
}
