/* =====================================================================
   ASSOCIATION CHARCUTIERS PASSIONNÉS — Design System
   Direction : bichrome contrasté (charbon · crème · olive · or)
   Display : Cormorant Garamond  ·  Texte : Montserrat
   ===================================================================== */

/* Polices auto-hébergées (copie de assets/fonts/fonts.css, sans @import pour ne pas retarder le rendu) */
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-500-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-500-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/montserrat-300-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/montserrat-300-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/montserrat-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/montserrat-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/montserrat-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/montserrat-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-700-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-700-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------- */
:root {
  /* Couleurs charte */
  --ink:        #0E0E0C;   /* charbon, fond sombre */
  --ink-2:      #16160F;   /* panneaux sombres */
  --ink-soft:   #1E1E16;   /* surfaces surélevées */
  --cream:      #F4EFE3;   /* crème, fond clair */
  --cream-2:    #EDE6D5;
  --cream-deep: #E7DFCB;
  --olive:      #4E672E;   /* Couleur A */
  --olive-deep: #3C5023;
  --olive-soft: #6C8A45;
  --gold:       #D09F4B;   /* Couleur B */
  --gold-soft:  #E3C079;
  --gold-deep:  #B5863A;
  --gold-pale:  #EFDCB2;   /* texte doré sur olive (contraste ≥ 4,5:1) */
  --gold-ink:   #8A6424;   /* texte doré sur crème (contraste ≥ 4,5:1) */

  /* Couleurs de Booster Solutions : réservées au crédit du footer */
  --bs-sapin: #163300;
  --bs-neon:  #80FF8C;
  --black:      #000000;   /* Couleur C */

  /* Texte */
  --on-dark:      #EDE7DA;     /* corps sur sombre */
  --on-dark-dim:  #A39D8E;     /* secondaire sur sombre */
  --on-cream:     #1C1B15;     /* corps sur crème */
  --on-cream-dim: #5C5848;     /* secondaire sur crème */

  /* Filet tricolore MOF (micro-accent) */
  --bleu:  #2C4A93;
  --rouge: #C5333B;

  /* Typo */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-text: "Montserrat", system-ui, -apple-system, sans-serif;

  /* Échelle fluide — planchers de lisibilité (V2) :
     14px minimum absolu (petites mentions en capitales), 16px minimum pour tout texte courant */
  --fs-micro:   0.875rem;  /* 14px — labels, badges, dates, mentions */
  --fs-eyebrow: 0.875rem;  /* 14px */
  --fs-small:   1rem;      /* 16px — textes secondaires, boutons, liens */
  --fs-body:    1.0625rem;
  --fs-lead:    clamp(1.15rem, 0.9rem + 1vw, 1.45rem);
  --fs-h3:      clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
  --fs-h2:      clamp(2.3rem, 1.4rem + 3.6vw, 4.1rem);
  --fs-h1:      clamp(2.9rem, 1.3rem + 6.4vw, 6.4rem);
  --fs-mega:    clamp(4rem, 1rem + 12vw, 11rem);

  /* Layout */
  --container: 1280px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --radius: 4px;

  /* Mouvement */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;
  --ease-pill: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-dot: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;   /* ancres (#inscription, #adhesion…) juste sous le header (P19) */
  scrollbar-color: var(--gold-deep) var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.72;
  font-weight: 400;
  color: var(--on-dark);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; }

::selection { background: var(--gold); color: var(--ink); }
/* Ordinaux (2<sup>e</sup>) : sans décaler la ligne */
sup { font-size: 0.62em; line-height: 0; position: relative; top: -0.42em; vertical-align: baseline; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  background: var(--gold);
  color: var(--ink);
  padding: 0.7rem 1.2rem;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------
   3. TYPOGRAPHIE
   -------------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
/* Titres équilibrés, paragraphes sans mot isolé en fin (P4) */
h1, h2, h3, .cta-final__title, .bigcard__title, .card__title, .esprit__lead { text-wrap: balance; }
p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-text);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  font-weight: 300;
}

.serif-accent { font-family: var(--font-display); font-style: italic; font-weight: 500; }

/* Filet tricolore MOF */
.tricolore {
  display: inline-block;
  width: 2.6rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    var(--bleu) 0 33.33%, #fff 33.33% 66.66%, var(--rouge) 66.66% 100%);
  vertical-align: middle;
}

/* --------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 9rem);
}

/* Tonalités bichrome */
.t-ink   { background: var(--ink);   color: var(--on-dark); }
.t-cream { background: var(--cream); color: var(--on-cream); }
.t-olive { background: var(--olive); color: var(--cream); }

.t-cream .eyebrow { color: var(--olive); }
.t-olive .eyebrow { color: var(--gold-pale); }

/* Focus visible : doré sur fond sombre, olive sur crème (contraste suffisant) */
.t-cream :focus-visible { outline-color: var(--olive); }

/* --------------------------------------------------------------------
   5. BOUTONS / LIENS
   -------------------------------------------------------------------- */
.btn {
  --bg: var(--gold);
  --fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  padding: 1rem 1.7rem;
  font-family: var(--font-text);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  background: var(--bg);
  border-radius: 2px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), color 0.4s var(--ease);
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.btn .btn__arrow { transition: transform 0.5s var(--ease); }
.btn:hover { color: var(--cream); box-shadow: 0 14px 34px -16px rgba(0,0,0,0.55); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--ghost {
  --fg: var(--on-dark);
  background: transparent;
  border: 1px solid rgba(237,231,218,0.28);
}
.btn--ghost::before { background: var(--gold); }
.btn--ghost:hover { color: var(--ink); border-color: var(--gold); }

.t-cream .btn { --bg: var(--olive); --fg: var(--cream); }
.t-cream .btn::before { background: var(--ink); }
.t-cream .btn--ghost { --fg: var(--on-cream); background: transparent; border-color: rgba(28,27,21,0.25); }
.t-cream .btn--ghost::before { background: var(--olive); }
.t-cream .btn--ghost:hover { color: var(--cream); border-color: var(--olive); }

.t-olive .btn { --bg: var(--gold); --fg: var(--ink); }
.t-olive .btn::before { background: var(--cream); }
.t-olive .btn:hover { color: var(--ink); }
.t-olive .btn--ghost { --fg: var(--cream); border-color: rgba(244,239,227,0.4); }
.t-olive .btn--ghost::before { background: var(--cream); }
.t-olive .btn--ghost:hover { color: var(--olive); border-color: var(--cream); }

/* CTA principaux (header, hero accueil, mini-héros) : survol → fond blanc, texte noir */
.header .btn::before,
.hero__actions .btn:not(.btn--ghost)::before,
.page-hero .btn::before { background: #fff; }
.header .btn:hover,
.hero__actions .btn:not(.btn--ghost):hover,
.page-hero .btn:hover { color: var(--ink); }

/* Lien texte avec soulignement animé */
.link-u {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 2px;
}
.t-cream .link-u { color: var(--olive); }
.link-u::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.link-u:hover::after { transform: scaleX(0); transform-origin: left; }
.link-u .btn__arrow { transition: transform 0.45s var(--ease); }
.link-u:hover .btn__arrow { transform: translateX(5px); }

/* --------------------------------------------------------------------
   6. FIL D'OR — signature (spine de progression)
   -------------------------------------------------------------------- */
.thread {
  position: fixed;
  top: 0; left: clamp(18px, 3.2vw, 46px);
  width: 1px; height: 100vh;
  z-index: 50;
  pointer-events: none;
  background: linear-gradient(var(--cream) 0 0) ; /* fallback */
}
.thread__track {
  position: absolute; inset: 0;
  background: rgba(208,159,75,0.16);
}
.thread__fill {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--thread, 0%);
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  box-shadow: 0 0 8px rgba(208,159,75,0.5);
}
.thread__node {
  position: absolute;
  top: var(--thread, 0%); left: 50%;
  width: 7px; height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--gold-soft);
  box-shadow: 0 0 10px 1px rgba(208,159,75,0.7);
}
@media (max-width: 860px) {
  .thread { top: 0; left: 0; width: 100%; height: 2px; }
  .thread__fill { height: 100%; width: var(--thread, 0%); right: auto; }
  .thread__node { display: none; }
}

/* --------------------------------------------------------------------
   7. HEADER / NAVIGATION
   -------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.15rem;
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(14,14,12,0.9);   /* reste charbon sur les sections crème (D7) */
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  padding-block: 0.7rem;
  border-bottom-color: rgba(208,159,75,0.18);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.8rem; flex-shrink: 0; }
.brand img { height: clamp(44px, 3.6vw, 52px); width: auto; transition: height 0.5s var(--ease); }
.is-scrolled .brand img { height: 42px; }

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 1.9vw, 2.2rem); }
.nav__link {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--on-dark);
  padding-block: 0.3rem;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--gold-soft); }

.header__cta { display: inline-flex; align-items: center; gap: 1.4rem; }
.header .btn { padding: 0.72rem 1.2rem; white-space: nowrap; }

.nav-toggle {
  display: none;
  position: relative;
  width: 30px; height: 18px;
  z-index: 120;
}
.nav-toggle span {
  position: absolute; left: 0;
  width: 100%; height: 1.5px;
  background: var(--cream);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }
.is-open .nav-toggle span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.is-open .nav-toggle span:nth-child(3) { bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }

/* --------------------------------------------------------------------
   8. HERO
   -------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: clamp(7rem, 14vh, 11rem);
  padding-bottom: clamp(3rem, 8vh, 6rem);
  overflow: hidden;
  background: var(--ink);
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(78,103,46,0.20), transparent 55%),
    radial-gradient(90% 80% at 12% 95%, rgba(208,159,75,0.10), transparent 60%),
    var(--ink);
}
.hero__bg::after { /* grain */
  content: "";
  position: absolute; inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
}
.hero__content { position: relative; z-index: 3; max-width: min(640px, 54vw); }
.hero__eyebrow { margin-bottom: 1.8rem; }
.hero__title {
  font-size: clamp(2.3rem, 1rem + 4.2vw, 4.3rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 1.7rem;
}
.hero__title .serif-accent { color: var(--gold-soft); }
.hero__lead {
  max-width: 46ch;
  color: var(--on-dark);   /* même blanc cassé que les mini-héros des pages internes */
  margin-bottom: 2.4rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Média hero : pâté en croûte avec reflet (PNG détouré → .webp transparent).
   Coin bas droit de l'image collé au coin bas droit du hero, puis zoom depuis le
   coin haut gauche : le haut gauche reste visible, les bords droit et bas sortent
   du cadre et sont rognés par l'overflow du hero. */
.hero__media {
  position: absolute;
  right: 0; bottom: 0;
  z-index: 1;
  --media-w: clamp(360px, 40vw, 620px);
  --media-zoom: 1.28;
  width: var(--media-w);
  pointer-events: none;
}
.hero__media img,
.hero__media video {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  transform: scale(var(--media-zoom));
  transform-origin: 0 0;
  filter: drop-shadow(0 30px 55px rgba(0,0,0,0.55));
}
/* Fondu d'entrée (opacité uniquement, n'affecte pas la mise en page) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__media { animation: heroFade 1.3s var(--ease-out) 0.35s both; }
}

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 1.7rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-micro);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
}
.hero__scroll-line {
  width: 1px; height: 42px;
  background: linear-gradient(var(--gold), transparent);
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  display: block;
  width: 100%; height: 40%;
  background: var(--gold-soft);
  animation: scrollDot 2.4s var(--ease) infinite;
}
@keyframes scrollDot { 0%{transform:translateY(-100%)} 60%,100%{transform:translateY(250%)} }

/* --------------------------------------------------------------------
   9. SECTION 2 — DUO (Concours / Association)
   -------------------------------------------------------------------- */
.section-head { max-width: 56ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.2rem; }
.section-head__title { font-size: var(--fs-h2); }
.section-head__intro { margin-top: 1.4rem; max-width: 52ch; color: var(--on-cream-dim); }
.t-ink .section-head__intro { color: var(--on-dark-dim); }
.section-head--center .section-head__intro { margin-inline: auto; }

/* ===== 2 grandes cases empilées (texte · logo · photo) ===== */
@property --beam { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes beam { to { --beam: 360deg; } }

.section--bigcards { overflow: hidden; }   /* le sujet déborde vers le haut ; coupe l'excédent horizontal */
.bigcards {
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 2.6vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.bigcard {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(330px, 29vw, 410px);
  border-radius: 14px;
  color: var(--cream);
  isolation: isolate;
}
.bigcard--asso { min-height: clamp(268px, 22vw, 320px); }   /* plus basse (image fondateurs en paysage) */

/* Fond (porte aussi l'ombre : pas un data-reveal → la transition box-shadow n'est pas écrasée) */
.bigcard__bg {
  position: absolute; inset: 0; z-index: 0;
  border-radius: inherit; overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(244,239,227,0.12);
  box-shadow: 0 16px 38px -26px rgba(0,0,0,0.55);
  transition: box-shadow 0.7s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .bigcard:hover .bigcard__bg { box-shadow: 0 50px 100px -44px rgba(0,0,0,0.7); } }
.bigcard--asso .bigcard__bg { background: var(--olive); }

/* Lueur dorée : visible au repos, grandit en fondu au survol (transform = fluide) */
.bigcard__glow {
  position: absolute; z-index: 1;
  top: -25%; right: -8%;
  width: 52%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208,159,75,0.34) 0%, rgba(208,159,75,0.14) 36%, transparent 68%);
  transform: scale(0.82);
  opacity: 0.7;
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) { .bigcard:hover .bigcard__glow { transform: scale(1.45); opacity: 1; } }
.bigcard--asso .bigcard__glow { background: radial-gradient(circle, rgba(227,192,121,0.26) 0%, rgba(227,192,121,0.1) 36%, transparent 68%); }

/* Liseré lumineux animé sur le contour (au survol) */
.bigcard__border {
  position: absolute; inset: 0; z-index: 2;   /* sous les images qui débordent */
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--beam), transparent 0deg, transparent 295deg, rgba(208,159,75,0.55) 332deg, var(--gold-soft) 350deg, #fff 358deg, transparent 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; pointer-events: none;
  transition: opacity 0.45s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .bigcard:hover .bigcard__border { opacity: 1; animation: beam 2.6s linear infinite; } }
.bigcard--asso .bigcard__border { background: conic-gradient(from var(--beam), transparent 0deg, transparent 295deg, rgba(227,192,121,0.5) 332deg, #fff 352deg, transparent 360deg); }

/* Texte (gauche) */
.bigcard__text {
  position: relative; z-index: 4;
  width: 48%;
  padding: clamp(2rem, 3.6vw, 3.4rem);
  display: flex; flex-direction: column; justify-content: center;
}
.bigcard__kicker { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1rem; }
.bigcard__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 0.9rem + 1.9vw, 2.5rem); line-height: 1.05; margin-bottom: 1.1rem; max-width: 15ch; }
.bigcard__sub { font-size: var(--fs-small); color: rgba(244,239,227,0.82); line-height: 1.7; margin-bottom: 1.7rem; max-width: 42ch; }
.bigcard__link { display: inline-flex; align-items: center; gap: 0.55em; font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold-soft); align-self: flex-start; }
.bigcard__link .btn__arrow { transition: transform 0.45s var(--ease); }
@media (hover: hover) and (pointer: fine) { .bigcard:hover .bigcard__link .btn__arrow { transform: translateX(5px); } }

/* Logo (agrandi, positionné selon la carte) */
.bigcard__logo { position: absolute; z-index: 4; pointer-events: none; }
.bigcard--concours .bigcard__logo { top: clamp(1.8rem, 4.5vw, 3rem); left: 47%; }
.bigcard--concours .bigcard__logo img { width: clamp(195px, 22vw, 295px); }

/* Photo (droite, pleine hauteur, coupée seulement en bas ; déborde + grandit au survol) */
.bigcard__photo {
  position: absolute; z-index: 3;
  top: 0; bottom: 0; right: 0; width: 52%;
  clip-path: inset(-280px -140px 0 -140px);   /* coupe uniquement le bas */
  pointer-events: none;
}
.bigcard__photo img {
  position: absolute; transform: translateX(-50%);
  width: auto; max-width: none;
  transition: transform 0.8s var(--ease);
}
.bigcard--concours .bigcard__photo img {
  height: 118%; top: -9%; left: 74%;
  filter: drop-shadow(0 24px 46px rgba(0,0,0,0.55));
}
@media (hover: hover) and (pointer: fine) { .bigcard--concours:hover .bigcard__photo img { transform: translateX(-50%) translateY(-13%) scale(1.13); } }
.bigcard--asso .bigcard__photo img {
  left: auto; right: -10%; top: -13%;
  height: 118%; width: auto;
  transform: none; transform-origin: 40% 100%;   /* grandit depuis le bas : le bas reste collé */
  filter: none;   /* pas d'ombre : elle débordait sur le crème */
}
@media (hover: hover) and (pointer: fine) { .bigcard--asso:hover .bigcard__photo img { transform: scale(1.09); } }

@media (prefers-reduced-motion: reduce) { .bigcard__photo img, .bigcard__glow { transition: none; } .bigcard:hover .bigcard__border { animation: none; } }

@media (max-width: 760px) {
  /* Mobile : média en haut (logo + photo), texte dessous */
  .bigcard { display: block; min-height: 0; }
  .bigcard__text { width: 100%; padding-top: 230px; }
  .bigcard--concours .bigcard__logo { top: 1.8rem; left: 1.6rem; transform: none; }
  .bigcard--concours .bigcard__logo img { width: 158px; }
  .bigcard__photo { top: 0; bottom: auto; height: 240px; width: 58%; left: auto; clip-path: none; }
  .bigcard--concours .bigcard__photo img { height: 230px; top: 8px; left: 58%; }
  .bigcard--asso .bigcard__photo img { top: auto; bottom: 0; left: auto; right: -6%; width: 150%; height: auto; transform: none; }
  .bigcard__border, .bigcard__glow { display: none; }
}

/* --------------------------------------------------------------------
   10. SECTION 3 — ACTUALITÉS
   -------------------------------------------------------------------- */
.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 3.6rem);
}
.news {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2.2rem);
}
.card { display: flex; flex-direction: column; }
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1.3rem;
  isolation: isolate;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .card:hover .card__media img { transform: scale(1.06); } }
.card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.4rem 0.8rem;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(14,14,12,0.82);
  border-radius: 2px;
  color: var(--cream);
  z-index: 2;
  transform-origin: top left;
  transition: transform 0.5s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .card:hover .card__tag { transform: scale(1.08); } }
.card__tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}
.card__tag--asso::before { background: var(--olive-soft); }
.card__date {
  font-size: var(--fs-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
  margin-bottom: 0.6rem;
}
.t-cream .card__date { color: var(--on-cream-dim); }
.card__title {
  font-size: clamp(1.3rem, 1rem + 1vw, 1.65rem);
  line-height: 1.15;
  margin-bottom: 0.7rem;
  transition: color 0.3s var(--ease);
}
@media (hover: hover) and (pointer: fine) { 
  .card:hover .card__title { color: var(--gold); }
  .t-cream .card:hover .card__title { color: var(--olive); }
}
.card__excerpt { font-size: var(--fs-small); color: var(--on-dark-dim); line-height: 1.65; }
.t-cream .card__excerpt { color: var(--on-cream-dim); }

/* --------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------- */
.footer {
  background: var(--black);
  color: var(--on-dark);
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: 2rem;
  border-top: 1px solid rgba(208,159,75,0.16);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(237,231,218,0.1);
}
.footer__brand img { height: 66px; width: auto; margin-bottom: 1.3rem; }
.footer__tagline { max-width: 30ch; color: var(--on-dark-dim); font-size: var(--fs-small); }
.footer__col h2 {
  font-family: var(--font-text);
  line-height: 1.72;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.3rem;
}
.footer__col li { margin-bottom: 0.7rem; }
.footer__col li a {
  position: relative;
  display: inline-block;
  font-size: var(--fs-small);
  color: var(--on-dark-dim);
  transition: color 0.3s var(--ease);
}
.footer__col li a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.footer__col li a:hover { color: var(--cream); }
.footer__col li a:hover::after { transform: scaleX(1); }
.socials { display: flex; gap: 1.2rem; margin-top: 0.5rem; }
.socials a {
  display: grid; place-items: center;
  padding: 4px;
  transition: transform 0.4s var(--ease);
}
.socials a:hover { transform: translateY(-3px); }
.socials a:hover svg { stroke: var(--gold); }
.socials svg { width: 24px; height: 24px; stroke: var(--on-dark); transition: stroke 0.4s var(--ease); }
/* Logo Trophée National sous le bloc marque */
.footer__brand .footer__tnc { display: block; width: clamp(190px, 19vw, 250px); height: auto; margin: 1.7rem 0 0; }   /* plus précis que .footer__brand img (hauteur fixe du logo de l'association) */
/* Crédit Booster Solutions sous « Suivez-nous » : bouton en pilule, comme sur boostersolutions.fr.
   Au survol, une pastille vert sapin s'étend depuis le centre, les coins se resserrent,
   une flèche sort à droite pendant qu'une autre entre à gauche. */
.credit { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.65rem; margin-top: 1.8rem; }
.credit__label { font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; color: var(--on-dark-dim); transition: color 0.3s var(--ease); }
.credit__pill {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center;
  padding: 0.8rem 2.6rem 0.8rem 1.3rem;
  border: 1px solid rgba(237,231,218,0.22); border-radius: 100px;
  transition: border-radius 0.6s var(--ease-pill), border-color 0.6s var(--ease-pill), transform 0.3s var(--ease);
}
.credit__dot {
  position: absolute; top: 50%; left: 50%; z-index: -1;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bs-sapin); opacity: 0;
  transform: translate(-50%, -50%);
  transition: width 0.8s var(--ease-dot), height 0.8s var(--ease-dot), opacity 0.4s var(--ease);
}
.credit__logo { display: block; height: 14px; width: auto; transition: transform 0.8s var(--ease-out); }
.credit__arrow { position: absolute; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; stroke: var(--bs-neon); transition: left 0.8s var(--ease-spring), right 0.8s var(--ease-spring); }
.credit__arrow--in { left: -25%; }
.credit__arrow--out { right: 1rem; }
.credit:hover .credit__label { color: var(--cream); }
.credit:hover .credit__pill { border-radius: 12px; border-color: transparent; }
.credit:hover .credit__dot { width: 320px; height: 320px; opacity: 1; }
.credit:hover .credit__logo { transform: translateX(1.3rem); }
.credit:hover .credit__arrow--in { left: 1.1rem; }
.credit:hover .credit__arrow--out { right: -25%; }
.credit:active .credit__pill { transform: scale(0.96); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.8rem;
  font-size: var(--fs-micro);
  color: var(--on-dark-dim);
}
.footer__bottom a { position: relative; display: inline-block; transition: color 0.3s var(--ease); }
.footer__bottom a::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.footer__bottom a:hover { color: var(--cream); }
.footer__bottom a:hover::after { transform: scaleX(1); }

/* --------------------------------------------------------------------
   13. ANIMATIONS — reveal
   -------------------------------------------------------------------- */
/* Les états masqués ne s'appliquent QUE si JS est actif (classe .js posée
   en <head>). Sans JS, ou avant son exécution, tout reste visible. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);   /* 16 px rapproche les portraits du Bureau du seuil de chargement différé (LCP mobile) */
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  transition-delay: min(var(--delay, 0s), 0.24s);   /* cascade plafonnée */
}
[data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }

/* Découpe ligne à ligne pour les gros titres */
.reveal-lines .line { display: block; overflow: hidden; }
.reveal-lines .line > span { display: block; }
.js .reveal-lines .line > span {
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal-lines.is-in .line > span { transform: none; }

/* Hero : entrée pilotée en CSS dès le 1er rendu (pas d'attente du JS,
   donc jamais d'écran vide « puis pop »). Le scroll-reveal JS ne sert
   que pour le contenu sous la ligne de flottaison. */
@keyframes heroUp   { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroLine { from { transform: translateY(110%); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-reveal],
  .js .page-hero [data-reveal] {
    opacity: 0; transform: none; transition: none;
    animation: heroUp 0.95s var(--ease-out) both;
    animation-delay: var(--delay, 0s);
  }
  .js .hero [data-reveal="fade"],
  .js .page-hero [data-reveal="fade"] { animation-name: heroFade; }
  .js .hero .reveal-lines .line > span {
    animation: heroLine 1s var(--ease-out) both;
    animation-delay: var(--delay, 0s);
  }
}

/* Images différées (P10) : fond d'attente, puis fondu (.is-loaded, .is-fresh : main.js) */
.card__media, .split__media { background: var(--cream-deep); }
.t-ink .card__media { background: var(--ink-soft); }
.js img[loading="lazy"]:not([data-reveal]):not(.is-loaded) { opacity: 0; }
@keyframes imgIn { from { opacity: 0; } }
.js img.is-fresh { animation: imgIn 0.4s var(--ease); }
@media (prefers-reduced-motion: reduce) { .js img.is-fresh { animation: none; } }

/* Filet des surtitres qui se trace à l'apparition du bloc (P3) */
.js [data-reveal] .eyebrow::before, .js [data-reveal] .eyebrow::after,
.js .eyebrow[data-reveal]::before, .js .eyebrow[data-reveal]::after {
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.9s var(--ease-out) calc(min(var(--delay, 0s), 0.24s) + 0.15s);
}
.js [data-reveal].is-in .eyebrow::before, .js [data-reveal].is-in .eyebrow::after,
.js .eyebrow[data-reveal].is-in::before, .js .eyebrow[data-reveal].is-in::after { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] .eyebrow::before, .js [data-reveal] .eyebrow::after,
  .js .eyebrow[data-reveal]::before, .js .eyebrow[data-reveal]::after { transform: none; transition: none; }
}

/* Transition entre les pages (P7) : fondu court, header immobile */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .header { view-transition-name: header; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation-duration: 0.28s; animation-timing-function: var(--ease); }
  /* Filtre des actualités (P15) : les cartes glissent à leur nouvelle place */
  ::view-transition-group(*.actu),
  ::view-transition-old(*.actu),
  ::view-transition-new(*.actu) { animation-duration: 0.45s; animation-timing-function: var(--ease); }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .reveal-lines .line > span { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .hero__scroll-line::after { animation: none; }
}

/* --------------------------------------------------------------------
   14. RESPONSIVE — mobile pensé, pas réduit
   -------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; row-gap: 2.6rem; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .news { grid-template-columns: 1fr 1fr; }
  .news .card:nth-child(3) { display: none; }
}

/* =====================================================================
   HERO CAROUSEL — MOBILE UNIQUEMENT (masqué en desktop)
   ===================================================================== */
.mhero { display: none; }
.mhero__viewport { overflow: hidden; }
.mhero__track { display: flex; will-change: transform; transition: transform 0.6s var(--ease); }
.mhero__slide {
  position: relative; flex: 0 0 100%;
  min-height: 100svh; min-height: 100vh;
  display: flex; align-items: flex-end; overflow: hidden;
  background: var(--ink);
}
/* Médias 3:4 (bordures intégrées) en cover : bords collés à la fenêtre à
   toutes les largeurs, aucun filtre sur l'image (seul le voile bas `.mhero__scrim`
   assure le contraste du texte). */
.mhero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.mhero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,6,0.94) 4%, rgba(8,8,6,0.5) 42%, rgba(8,8,6,0.22) 100%);
}
.mhero__content {
  position: relative; z-index: 2; width: 100%; color: var(--cream);
  padding: 0 var(--gutter) clamp(5rem, 16vw, 7rem);
}
.mhero__eyebrow {
  font-size: var(--fs-eyebrow); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600; margin-bottom: 1rem;
}
.mhero__title { font-family: var(--font-display); font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: 1.04; margin-bottom: 1rem; }
.mhero__text { color: var(--on-dark); line-height: 1.6; max-width: 40ch; margin-bottom: 1.8rem; }
.mhero__dots {
  position: absolute; left: 0; right: 0; bottom: clamp(1.6rem, 6vw, 2.6rem); z-index: 3;
  display: flex; justify-content: center; gap: 0.6rem;
}
.mhero__dot {
  width: 9px; height: 9px; padding: 0; border: none; border-radius: 999px; cursor: pointer;
  background: rgba(244,239,227,0.35); transition: width 0.4s var(--ease), background 0.4s var(--ease);
}
.mhero__dot.is-active { width: 28px; background: var(--gold-soft); }
.mhero__viewport { touch-action: pan-y; }   /* le geste horizontal est pour le carousel (P17) */
/* Texte de la diapositive qui arrive : surtitre, titre, texte, bouton en léger décalé (P17).
   .is-ready n'est posé qu'au premier geste : au chargement, rien n'est masqué ni rejoué. */
@media (prefers-reduced-motion: no-preference) {
  .mhero.is-ready .mhero__slide:not(.is-active) .mhero__content > * { opacity: 0; }
  .mhero.is-ready .mhero__slide.is-active .mhero__content > * { animation: heroUp 0.6s var(--ease-out) both; }
  .mhero.is-ready .mhero__slide.is-active .mhero__content > :nth-child(2) { animation-delay: 0.08s; }
  .mhero.is-ready .mhero__slide.is-active .mhero__content > :nth-child(3) { animation-delay: 0.16s; }
  .mhero.is-ready .mhero__slide.is-active .mhero__content > :nth-child(4) { animation-delay: 0.24s; }
}

/* Bascule de contenu version mobile (≤850px) / ordinateur (≥851px) */
.m-only { display: none; }
.m-br { display: none; }

/* L'accueil bascule du hero classique au carousel sur la version mobile (≤850px) ;
   au-delà (≥851px) c'est la version ordinateur. Un seul jeu de médias (mobile).
   main .hero pour passer devant la recomposition mobile de .hero plus bas. */
@media (max-width: 850px) {
  main .hero { display: none; }
  .mhero { display: block; }

  /* Helpers d'affichage : .d-only masqué, .m-only affiché */
  .d-only { display: none !important; }
  h2.m-only, p.m-only { display: block; }
  span.m-only { display: inline; }
  .hero__actions.m-only { display: flex; }
  .m-br { display: inline; }

  /* Accueil section 2 : espace entre le texte et les boutons */
  .section-head .hero__actions.m-only { margin-top: 2rem; }

  /* Slide association : ciel clair en haut → logo + menu en sombre tant que le
     header est transparent (pas scrollé) et le menu fermé. Retour au blanc dès
     que le header prend son background (.is-scrolled) ou que le menu s'ouvre. */
  .brand img { transition: height 0.5s var(--ease), filter 0.45s var(--ease); }
  .nav-toggle span { transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), background 0.4s var(--ease); }
  body.mhero-slide-asso:not(.is-open) .header:not(.is-scrolled) .brand img { filter: brightness(0); }
  body.mhero-slide-asso:not(.is-open) .header:not(.is-scrolled) .nav-toggle span { background: var(--ink); }
}

/* Menu plein écran (burger) jusqu'à 1240px : avec les textes V2 agrandis, logo + 6 liens
   + bouton ne tiennent plus sur une ligne en dessous. */
@media (max-width: 1240px) {
  .header__cta .btn { display: none; }
  .nav-toggle { display: block; }
  .brand img { height: 48px; }
  .is-scrolled .brand img { height: 44px; }
  .hero__scroll { display: none; }   /* entrait en collision avec les boutons du hero */

  /* Le menu se déploie comme une extension du header : il grandit vers le bas
     (clip-path), les liens apparaissent en cascade, le logo glisse au centre. */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100svh; height: 100dvh;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    padding: 8rem var(--gutter) 4rem;
    background: rgba(14,14,12,0.98);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    z-index: 110;
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 0.62s var(--ease) 0.16s, visibility 0s linear 0.78s;   /* remonte après les liens (P18) */
    pointer-events: none;
  }
  .is-open .nav { clip-path: inset(0 0 0 0); visibility: visible; pointer-events: auto; transition: clip-path 0.62s var(--ease); }

  /* Le logo glisse vers le haut-centre quand le menu s'ouvre */
  .brand { transition: transform 0.55s var(--ease); }
  .is-open .brand {
    transform: translateX(calc(50vw - var(--gutter) - 50%));
    z-index: 115;
  }
  /* Fix menu mobile : le backdrop-filter du header scrollé en fait le bloc
     conteneur du menu (position:fixed) → le panneau ne couvrait que la barre.
     On le neutralise menu ouvert pour qu'il couvre tout l'écran. */
  body.is-open .header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  /* Menu ouvert : la page ne défile plus derrière (P18), sans saut de largeur */
  body.is-open { overflow: hidden; padding-right: var(--scrollbar, 0px); }
  body.is-open .header { right: var(--scrollbar, 0px); }
  .nav__link {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  /* Fermeture : les liens s'effacent en cascade inverse (P18) */
  .nav__link:nth-child(5) { transition-delay: 0.03s; }
  .nav__link:nth-child(4) { transition-delay: 0.06s; }
  .nav__link:nth-child(3) { transition-delay: 0.09s; }
  .nav__link:nth-child(2) { transition-delay: 0.12s; }
  .nav__link:nth-child(1) { transition-delay: 0.15s; }
  .is-open .nav__link { opacity: 1; transform: none; transition-duration: 0.5s; }
  .is-open .nav__link:nth-child(1) { transition-delay: 0.12s; }
  .is-open .nav__link:nth-child(2) { transition-delay: 0.18s; }
  .is-open .nav__link:nth-child(3) { transition-delay: 0.24s; }
  .is-open .nav__link:nth-child(4) { transition-delay: 0.30s; }
  .is-open .nav__link:nth-child(5) { transition-delay: 0.36s; }
  .is-open .nav__link:nth-child(6) { transition-delay: 0.42s; }
}

@media (max-width: 860px) {
  /* Logo mobile : même largeur visuelle qu'en V1 (le logo header V2 est plus allongé) */
  .brand img { height: 42px; }
  .is-scrolled .brand img { height: 38px; }

  /* Hero recomposé pour mobile : média collé au bord droit en haut, texte dessous */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: 3.5rem;
    gap: 1.6rem;
  }
  .hero__content { max-width: none; }
  .hero__media {
    position: relative;
    top: auto; right: auto; bottom: auto;
    --media-w: clamp(280px, 72vw, 400px);
    width: var(--media-w);
    margin-left: auto;                            /* collé au bord droit, pleine image */
  }
  .hero__scroll { display: none; }
}

@media (max-width: 600px) {
  .page-hero__eyebrow { letter-spacing: 0.18em; }
  /* Surtitre d'article (catégorie · date) : sur une seule ligne, sans filets */
  .eyebrow--meta { white-space: nowrap; }
  .eyebrow--meta::before, .page-hero--center .eyebrow--meta::after { display: none; }
}
@media (max-width: 360px) {
  .eyebrow--meta { white-space: normal; letter-spacing: 0.14em; }
  .news { grid-template-columns: 1fr; }
  .news .card:nth-child(3) { display: flex; }
  .news-head { align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
}

/* =====================================================================
   15. PAGES INTÉRIEURES — composants partagés
   ===================================================================== */

/* --- Mini-hero des pages internes --- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  padding-top: clamp(8.5rem, 16vh, 12rem);
  padding-bottom: clamp(3.5rem, 8vh, 6.5rem);
}
.page-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.page-hero__content { max-width: 640px; }
.page-hero__eyebrow { margin-bottom: 1.6rem; }
.page-hero__title {
  font-size: clamp(2.3rem, 1.1rem + 4vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 1.6rem;
}
.page-hero__title .serif-accent { color: var(--gold-soft); }
.page-hero__lead { color: var(--on-dark); font-size: 1.125rem; max-width: 60ch; margin-bottom: 2.2rem; }   /* 18px (au lieu de --fs-lead ≈ 23px) : mini-héros plus compacts */
.page-hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem;
  margin-top: 2.4rem; padding-top: 1.8rem;
  border-top: 1px solid rgba(237,231,218,0.12);
}
.page-hero__stat .n { font-family: var(--font-display); font-size: 2rem; color: var(--gold-soft); display: block; line-height: 1; }
.page-hero__stat .l { font-size: var(--fs-micro); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-dim); margin-top: 0.4rem; }
/* Pages concours & association : légendes de chiffres en blanc */
.page-hero--concours .page-hero__stat .l,
.page-hero--asso .page-hero__stat .l { color: var(--on-dark); }

/* Concours — logo TNC (haut-droite) + trophée (bas-droite, débordant) */
.page-hero--concours {
  --logo-top: clamp(13rem, 27vh, 17rem);
  --logo-w: clamp(340px, 32vw, 480px);
}
.page-hero--concours .page-hero__tnc-logo {
  position: absolute;
  z-index: 3;
  top: var(--logo-top);
  right: clamp(2.5rem, 7vw, 8.5rem);
  width: var(--logo-w);
  pointer-events: none;
}
/* Trophée calé sous le logo (bas visible du logo ≈ 46 % de sa largeur) et non plus sur le bas
   du hero : l'écart reste constant quelle que soit la hauteur du hero ; le bas est rogné. */
.page-hero--concours .page-hero__trophy {
  position: absolute;
  z-index: 1;
  right: clamp(0.5rem, 4vw, 5rem);
  top: calc(var(--logo-top) + var(--logo-w) * 0.46 + 1.5rem);
  width: clamp(380px, 43vw, 640px);
  filter: drop-shadow(0 36px 64px rgba(0,0,0,0.55));
  pointer-events: none;
}

/* Association — fond vert (même teinte que la section CTA Accueil) ; photo de groupe du Bureau
   (paysage, détourée) dans la grille, à droite du texte et centrée verticalement sur lui */
.page-hero--asso { background: var(--olive); }
.page-hero--asso .hero__bg {
  background:
    radial-gradient(110% 80% at 82% 12%, rgba(255,255,255,0.05), transparent 58%),
    radial-gradient(90% 90% at 8% 100%, rgba(0,0,0,0.16), transparent 62%),
    var(--olive);
}
.page-hero--asso .page-hero__lead { margin-bottom: 0; }
.page-hero--asso .eyebrow, .page-hero--asso .crumb span { color: var(--gold-pale); }
.page-hero--asso .crumb a { color: var(--cream); }   /* plus de chiffres ni de bouton dessous */
/* Version centrée (comme Partenaires) : titre et texte centrés, photo de groupe en dessous,
   centrée et posée sur le bas de la bande verte. */
.page-hero--asso { display: flex; flex-direction: column; padding-bottom: 0; }
.page-hero--asso .page-hero__founders {
  position: relative; z-index: 2;
  align-self: center;
  display: block;
  /* largeur limitée par la hauteur d'écran (ratio photo 2,31) : tout le hero tient dans la fenêtre */
  width: min(calc(100% - 2 * var(--gutter)), 1000px, max(520px, (100svh - 31.5rem) * 2.31));
  height: auto;
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
  order: 2;
}

/* --- Règlement (Q&R) --- */
.reglement__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.reglement__head { position: sticky; top: 6.5rem; }
.reglement__head .btn { margin-top: 1.9rem; }
.qa { padding: 1.7rem 0; border-top: 1px solid rgba(28,27,21,0.14); }
.qa:last-child { border-bottom: 1px solid rgba(28,27,21,0.14); }
.qa__q { font-size: var(--fs-h3); margin-bottom: 0.7rem; }
.qa__a { color: var(--on-cream-dim); font-size: var(--fs-small); line-height: 1.75; }

/* --- Sujets --- */
.subjects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 3vw, 2rem);
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
}
.subject {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border: 1px solid rgba(237,231,218,0.16);
  border-radius: var(--radius);
  background: rgba(244,239,227,0.03);
  transition: border-color 0.5s var(--ease), background 0.5s var(--ease), transform 0.5s var(--ease);
}
@media (hover: hover) and (pointer: fine) { .subject:hover { border-color: rgba(208,159,75,0.5); background: rgba(244,239,227,0.06); transform: translateY(-4px); } }
.subject__cat { font-size: var(--fs-eyebrow); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; margin-bottom: 1rem; }
.subject__title { font-size: var(--fs-h3); margin-bottom: 0.8rem; }
.subject__text { color: var(--on-dark-dim); font-size: var(--fs-small); line-height: 1.7; margin-bottom: 1.6rem; flex: 1; }
.subject__list { list-style: none; padding: 0; margin: 0.4rem 0 1.4rem; counter-reset: epreuve; }
.subject__list li {
  counter-increment: epreuve;
  display: grid; grid-template-columns: 2.2rem 1fr; align-items: baseline;
  padding: 0.7rem 0; border-top: 1px solid rgba(237,231,218,0.1);
  font-size: var(--fs-small); color: var(--on-dark);
}
.subject__list li::before {
  content: counter(epreuve, decimal-leading-zero);
  font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--gold-soft);
}
.subject__dl { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.1rem; }
.subject__dl .link-u { white-space: nowrap; }
.subject__meta { font-size: var(--fs-micro); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-dim); }

/* --- L'esprit du Trophée (concours) : texte + piliers, mosaïque photo, bandeau --- */
.section--tint { background: var(--cream-2); }   /* crème légèrement plus soutenu : sépare du règlement qui suit */
.esprit__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.esprit__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }   /* titre centré, au-dessus des deux colonnes */
.esprit__title { font-size: var(--fs-h2); }
.t-cream .esprit__date { color: var(--gold-ink); margin-top: 1.2rem; }   /* doré (version foncée : lisible sur crème) */
.esprit__title .serif-accent { color: var(--olive); }
.esprit__lead { font-family: var(--font-display); font-size: clamp(1.4rem, 1rem + 1.1vw, 1.85rem); line-height: 1.3; color: var(--on-cream); max-width: 32ch; margin-bottom: 1.6rem; }
.esprit__p { color: var(--on-cream-dim); max-width: 52ch; margin-bottom: 1.1rem; }
.esprit__cta { margin-top: 1rem; }

.esprit__mosaic {
  display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr;
  gap: clamp(0.7rem, 1.4vw, 1.1rem);
  aspect-ratio: 1 / 1.08;
}
.esprit__mosaic figure:first-child { grid-row: span 2; }
.esprit__mosaic figure,
.esprit__strip figure { overflow: hidden; border-radius: 8px; background: var(--cream-deep); }
.esprit__mosaic img,
.esprit__strip img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
@media (hover: hover) and (pointer: fine) { 
  .esprit__mosaic figure:hover img,
  .esprit__strip figure:hover img { transform: scale(1.05); }
}
.esprit__strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.7rem, 1.4vw, 1.1rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.esprit__strip figure { aspect-ratio: 3 / 4; }
.esprit__strip .esprit__wide { grid-column: span 2; aspect-ratio: auto; position: relative; }   /* photo du jury (paysage) sur 2 cases, */
.esprit__strip .esprit__wide img { position: absolute; inset: 0; }                               /* hauteur calée sur les photos voisines */
.esprit__strip .esprit__mobile { display: none; }

@media (max-width: 860px) {
  .esprit__grid { grid-template-columns: 1fr; }
  /* Mobile : mosaïque masquée, toutes les photos dans une bande qui défile au doigt
     (même hauteur partout, la photo du jury garde son format paysage) */
  .esprit__mosaic { display: none; }
  .esprit__strip {
    --h: min(82vw, 380px);
    display: flex; gap: 0.7rem;
    margin: 2.2rem calc(-1 * var(--gutter)) 0;
    padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .esprit__strip::-webkit-scrollbar { display: none; }
  .esprit__strip figure,
  .esprit__strip .esprit__mobile { display: block; flex: 0 0 auto; height: var(--h); width: calc(var(--h) * 0.75); aspect-ratio: auto; scroll-snap-align: start; }
  .esprit__strip .esprit__wide { width: calc(var(--h) * 1.5); }
  .js .esprit__strip [data-reveal] { opacity: 1; transform: none; }   /* la bande apparaît d'un bloc, pas photo par photo */
}
@media (prefers-reduced-motion: reduce) { .esprit__mosaic img, .esprit__strip img { transition: none; } }

/* --- Palmarès --- */
.palmares__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 3vw, 2.6rem);
  margin-top: clamp(2.4rem, 4vw, 3.4rem);
}
/* Subgrid : les titres (1 ou 2 lignes) partagent la même hauteur → les listes restent alignées */
.laureats { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.laureats__cat { align-self: end; }
.laureats__cat { font-size: var(--fs-h3); margin-bottom: 1.3rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(28,27,21,0.16); }
.laureats__list { display: flex; flex-direction: column; gap: 1rem; }
/* Numéros de podium (P5) : grand chiffre, ordinal discret, losange doré devant le premier */
.laureat { display: grid; grid-template-columns: 3rem 1fr; gap: 0.8rem; align-items: baseline; }
.laureat__rank { position: relative; font-family: var(--font-display); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--olive); font-variant-numeric: lining-nums; }
.laureat__rank sup { font-size: 0.42em; top: -0.95em; margin-left: 0.04em; }
.laureat--1 .laureat__rank { color: var(--gold-ink); }
.laureat--1 .laureat__rank::before {
  content: ""; position: absolute; left: -0.95rem; top: 50%;
  width: 7px; height: 7px; background: var(--gold); transform: translateY(-50%) rotate(45deg);
}
.laureat__name { font-size: var(--fs-small); }
.laureat__name strong { font-weight: 600; }
.laureat__shop,
.laureat__city { display: block; font-size: var(--fs-micro); line-height: 1.5; color: var(--on-cream-dim); }   /* établissement puis ville, sous le nom */
.laureat__shop { font-weight: 600; margin-top: 0.15rem; }

/* --- Bande CTA centrée (réutilisable) --- */
.cta__inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta__inner .eyebrow { margin-bottom: 1.3rem; }
.cta__title { font-size: var(--fs-h2); margin-bottom: 1.2rem; }
.cta__title .serif-accent { color: var(--gold-soft); }
.cta__text { color: rgba(244,239,227,0.82); max-width: 52ch; margin: 0 auto 2.3rem; }

/* Boutons d'inscription sans destination tant que le lien n'est pas posé (main.js) */
a[data-inscription]:not([href]) { cursor: default; }

/* --- Fil d'Ariane --- */
.crumb { display: flex; gap: 0.6rem; align-items: center; font-size: var(--fs-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-dim); margin-bottom: 1.6rem; }
.crumb a { color: var(--on-dark-dim); transition: color 0.3s var(--ease); }
.crumb a:hover { color: var(--gold-soft); }
.crumb span { color: var(--gold-soft); }

/* --- Responsive pages internes --- */
@media (max-width: 860px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .reglement__grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .reglement__head { position: static; }
  .reglement__head .btn { margin-bottom: 0.6rem; }
  .subjects { grid-template-columns: 1fr; }
  .palmares__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  /* Concours & Association sur mobile : hero centré + média (trophée / fondateurs)
     ramené dans le flux, centré sous les chiffres. Logos décoratifs masqués. */
  .page-hero--concours, .page-hero--asso { display: flex; flex-direction: column; }
  .page-hero--concours .container, .page-hero--asso .container { order: 1; }
  .page-hero--concours .page-hero__content,
  .page-hero--asso .page-hero__content { text-align: center; }
  .page-hero--concours .crumb, .page-hero--asso .crumb,
  .page-hero--concours .eyebrow, .page-hero--asso .eyebrow { justify-content: center; }
  /* Surtitres centrés : un filet de chaque côté, texte d'un seul bloc centré (même sur deux lignes) */
  .page-hero--center .page-hero__eyebrow,
  .page-hero--concours .page-hero__eyebrow,
  .page-hero--asso .page-hero__eyebrow { justify-content: center; text-align: center; max-width: 100%; }
  .page-hero--center .page-hero__eyebrow::before,
  .page-hero--concours .page-hero__eyebrow::before,
  .page-hero--asso .page-hero__eyebrow::before { flex-shrink: 0; }
  .page-hero--center .page-hero__eyebrow::after,
  .page-hero--concours .page-hero__eyebrow::after,
  .page-hero--asso .page-hero__eyebrow::after { content: ""; flex-shrink: 0; width: 2.2rem; height: 1px; background: currentColor; opacity: 0.7; }
  .page-hero--concours .page-hero__lead,
  .page-hero--asso .page-hero__lead { margin-inline: auto; }
  .page-hero--concours .page-hero__meta,
  .page-hero--asso .page-hero__meta { justify-content: center; }

  .page-hero--concours .page-hero__tnc-logo { display: none; }

  .page-hero--concours .page-hero__trophy {
    position: static; order: 2; align-self: center;
    transform: none; right: auto; bottom: auto;
    width: clamp(160px, 46vw, 220px); opacity: 1;
    margin-top: clamp(1.6rem, 6vw, 2.6rem);
    margin-bottom: clamp(-6rem, -22vw, -4.5rem);   /* la section s'arrête sur le trophée */
  }
  /* La fin du hero colle au bas de l'image des fondateurs */
  .page-hero--asso, .page-hero--concours { padding-bottom: 0; }
  .page-hero--asso .page-hero__founders { width: 100%; margin-top: clamp(1.6rem, 6vw, 2.6rem); }

  /* Concours — Palmarès : textes centrés */
  .palmares__grid .laureats__cat { text-align: center; }
  .palmares__grid .laureats__list { width: min(100%, 17rem); margin-inline: auto; }   /* même colonne pour les trois catégories */

  /* Partenaires — section « Devenir partenaire » : on retire le bouton du milieu */
  .benefits__cta { display: none; }

  /* Association — « Notre histoire » : image renvoyée en fin de section */
  .split--media-last .split__media { order: 2; }
}

/* =====================================================================
   16. PAGE ASSOCIATION
   ===================================================================== */

/* Mini-hero centré (variante) */
.page-hero--center .page-hero__grid { grid-template-columns: 1fr; }
.page-hero--center .page-hero__content { max-width: 840px; margin-inline: auto; text-align: center; }
.page-hero--center .crumb { justify-content: center; }
.page-hero--center .eyebrow { justify-content: center; }
.page-hero--center .page-hero__lead { margin-inline: auto; }
.page-hero--center .page-hero__meta { justify-content: center; }

/* Bloc texte + image (réutilisable) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media { position: relative; overflow: hidden; border-radius: 8px; }
.split__media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; display: block; }
.split__body .eyebrow { margin-bottom: 1.1rem; }
.split__body h2 { font-size: var(--fs-h2); margin-bottom: 1.4rem; }
.split__p { color: var(--on-cream-dim); margin-bottom: 1.1rem; }
.t-ink .split__p { color: var(--on-dark-dim); }

/* Valeurs — 5 cases identiques en quinconce : 3 en haut, 2 centrées en dessous
   (grille de 6 colonnes, chaque case sur 2), teinte dorée une case sur deux */
.value-cards {
  margin-top: clamp(2.4rem, 4vw, 3.6rem);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1fr;
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
}
.vcard {
  grid-column: span 2;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 0.65rem;   /* contenu calé en haut : titres alignés d'une case à l'autre */
  padding: clamp(1.5rem, 2.4vw, 2.3rem);
  min-height: 250px;
  background: linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  border: 1px solid rgba(237,231,218,0.10);
  border-radius: 14px;
  transition: transform .55s var(--ease-out), border-color .45s var(--ease), box-shadow .55s var(--ease-out);
}
.vcard:nth-child(4) { grid-column: 2 / span 2; }   /* 2ᵉ ligne centrée */
.vcard:nth-child(odd) {
  background:
    radial-gradient(120% 85% at 100% 0%, rgba(208,159,75,0.16), transparent 58%),
    linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
  border-color: rgba(227,192,121,0.24);
}
.vcard__num {
  position: absolute; top: clamp(0.4rem, 0.8vw, 0.9rem); right: clamp(0.9rem, 1.6vw, 1.6rem);
  font-family: var(--font-display); font-style: italic; line-height: 1;
  font-size: clamp(3.4rem, 6vw, 6rem); color: var(--gold-soft);
  opacity: 0.13; pointer-events: none; transition: opacity .5s var(--ease);
}
.vcard__mark { width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold-soft); }
.vcard__name { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--on-dark); line-height: 1.1; margin-top: clamp(1.4rem, 2.6vw, 2.4rem); }
.vcard__text { color: var(--on-dark-dim); line-height: 1.65; font-size: var(--fs-small); max-width: 42ch; }
@media (hover: hover) and (pointer: fine) { 
  .vcard:hover {
    transform: translateY(-6px);
    border-color: rgba(227,192,121,0.5);
    box-shadow: 0 30px 60px -34px rgba(0,0,0,0.7);
  }
  .vcard:hover .vcard__num { opacity: 0.3; }
}

/* Bureau — cartes portrait cliquables */
.bureau__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);   /* 8 membres du Bureau : 2 lignes de 4 */
  gap: clamp(0.9rem, 1.6vw, 1.3rem);
  margin-top: clamp(2.4rem, 4vw, 3.4rem);
}
.pcard {
  appearance: none; -webkit-appearance: none; border: none; margin: 0; padding: 0;
  position: relative; display: block; width: 100%; aspect-ratio: 3 / 3.7;
  overflow: hidden; border-radius: 16px; cursor: pointer; text-decoration: none;
  color: var(--cream); background: linear-gradient(155deg, var(--olive-soft), var(--olive-deep));
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.pcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .8s var(--ease-out), filter .6s var(--ease); }   /* recouvre le monogramme */
.pcard__img { filter: saturate(0.85) sepia(0.06) contrast(1.04); }   /* étalonnage commun des portraits, couleur réelle au survol (P11) */
.pcard__mono {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 4.4rem);
  color: rgba(255,255,255,0.9); letter-spacing: 0.03em;
}
.pcard__grad {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(6,10,3,0.86) 0%, rgba(6,10,3,0.32) 36%, rgba(6,10,3,0) 60%);
}
.pcard__badge {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: rgba(0,0,0,0.34); backdrop-filter: blur(4px);
  padding: 0.3rem 0.55rem; border-radius: 999px;
}
.pcard__badge .tricolore { width: 1rem; height: 3px; margin: 0; }
.pcard__view {
  position: absolute; top: 0.7rem; right: 0.7rem; z-index: 2;
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(0,0,0,0.34); backdrop-filter: blur(4px); color: #fff;
  opacity: 0; transform: scale(0.8); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.pcard__view svg { width: 15px; height: 15px; }
.pcard__info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; gap: 0.12rem; text-align: left;
  padding: clamp(0.9rem, 1.5vw, 1.25rem);
}
.pcard__name { font-family: var(--font-display); font-size: clamp(1.15rem, 1vw + 0.85rem, 1.4rem); line-height: 1.1; }
.pcard__role { font-size: var(--fs-micro); letter-spacing: 0.02em; color: var(--gold-soft); font-weight: 500; }   /* fonction en retrait du nom : casse normale, sans espacement */
.pcard:focus-visible { transform: translateY(-6px); box-shadow: 0 30px 55px -26px rgba(0,0,0,0.6); outline: none; }
.pcard:focus-visible .pcard__img { transform: scale(1.06); filter: none; }
.pcard:focus-visible .pcard__view { opacity: 1; transform: scale(1); }
@media (hover: hover) and (pointer: fine) { 
  .pcard:hover { transform: translateY(-6px); box-shadow: 0 30px 55px -26px rgba(0,0,0,0.6); outline: none; }
  .pcard:hover .pcard__img { transform: scale(1.06); filter: none; }
  .pcard:hover .pcard__view { opacity: 1; transform: scale(1); }
}
.pcard:focus-visible { box-shadow: 0 0 0 3px var(--gold), 0 30px 55px -26px rgba(0,0,0,0.6); }

/* Modale profil membre */
.mmodal {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.5rem;
  visibility: hidden; opacity: 0;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.mmodal.is-open { visibility: visible; opacity: 1; transition: opacity .35s var(--ease); }
.mmodal__backdrop { position: absolute; inset: 0; background: rgba(8,8,6,0.62); backdrop-filter: blur(4px); }
.mmodal__dialog {
  position: relative; z-index: 1; width: min(560px, 100%); max-height: 90vh; overflow: auto;
  background: var(--cream); color: var(--on-cream); border-radius: 18px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6);
  transform: translateY(16px) scale(0.98); opacity: 0;
  transition: transform .4s var(--ease-out), opacity .4s var(--ease);
}
.mmodal.is-open .mmodal__dialog { transform: none; opacity: 1; }
.mmodal__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 3; width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(0,0,0,0.35); backdrop-filter: blur(4px); border: none; color: #fff; cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.mmodal__close svg { width: 18px; height: 18px; }
.mmodal__close:hover { background: var(--ink); transform: rotate(90deg); }
.mmodal__photo {
  position: relative; width: 100%; aspect-ratio: 16 / 11; overflow: hidden;
  background: linear-gradient(155deg, var(--olive-soft), var(--olive-deep));
  display: grid; place-items: center;
}
.mmodal__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }   /* visage dans le cadre paysage */
.mmodal__mono { font-family: var(--font-display); font-size: clamp(3rem, 8vw, 4.5rem); color: rgba(255,255,255,0.92); }
.mmodal__badge {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: rgba(0,0,0,0.34); backdrop-filter: blur(4px); padding: 0.32rem 0.6rem; border-radius: 999px;
}
.mmodal__badge .tricolore { width: 1rem; height: 3px; margin: 0; }
.mmodal__body { padding: clamp(1.6rem, 3vw, 2.4rem); }
.mmodal__role { font-size: var(--fs-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive); font-weight: 700; margin-bottom: 0.35rem; }
.mmodal__name { font-family: var(--font-display); font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.4rem); line-height: 1.05; }
.mmodal__tags { font-size: var(--fs-small); color: var(--on-cream-dim); margin-top: 0.45rem; }
.mmodal__bio { color: var(--on-cream); line-height: 1.75; margin-top: 1.1rem; }
body.is-modal { overflow: hidden; padding-right: var(--scrollbar, 0px); }
body.is-modal .header { right: var(--scrollbar, 0px); }

@media (max-width: 1024px) and (min-width: 861px) {
  .value-cards { grid-template-columns: repeat(4, 1fr); }
  .vcard:nth-child(4) { grid-column: span 2; }
  .vcard:nth-child(5) { grid-column: 2 / span 2; }   /* dernière case centrée */
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .value-cards { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .vcard, .vcard:nth-child(4), .vcard:nth-child(5) { grid-column: auto; min-height: 0; }
  .bureau__grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
}

/* =====================================================================
   17. PAGE PARTENAIRES
   ===================================================================== */
.partners__tier { margin-bottom: clamp(2.6rem, 5vw, 4.2rem); }
.partners__tier:last-child { margin-bottom: 0; }
.partners__label { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.8rem; }
.partners__label h3 { font-size: var(--fs-h3); white-space: nowrap; }
.partners__label .rule { flex: 1; height: 1px; background: rgba(28,27,21,0.16); }
.partners__label .count { font-size: var(--fs-micro); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-cream-dim); white-space: nowrap; }
.logo-grid { display: grid; gap: clamp(0.7rem, 1.4vw, 1.1rem); grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); }
.logo-slot {
  position: relative;
  aspect-ratio: 3 / 2;
  display: grid; place-items: center;
  border: 1px solid rgba(28,27,21,0.12);
  border-radius: var(--radius);
  background: rgba(0,0,0,0.015);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.logo-slot::before { content: ""; width: 9px; height: 9px; transform: rotate(45deg); background: rgba(28,27,21,0.14); transition: background 0.4s var(--ease); }
@media (hover: hover) and (pointer: fine) { 
  .logo-slot:hover { border-color: rgba(78,103,46,0.45); background: rgba(78,103,46,0.04); }
  .logo-slot:hover::before { background: var(--olive); }
}
.logo-slot img { width: auto; height: auto; max-width: 72%; max-height: 58%; object-fit: contain; }
.logo-slot--filled::before { display: none; }
.logo-grid--partners { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 600px) {
  .logo-grid--partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-grid--partners .logo-slot:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 3 / 1; }
  .logo-grid--partners .logo-slot:last-child:nth-child(odd) img { max-width: 40%; max-height: 4.6rem; }
}

/* Avantages (devenir partenaire) : titre et introduction en tête, avantages numérotés sur toute la largeur */
.benefits__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.benefits__title { font-size: clamp(2.2rem, 1.3rem + 2.6vw, 3.6rem); }
.benefits__head .section-head__intro { margin-top: 0; max-width: 54ch; }
.benefits__cta { margin-top: 1.8rem; }
.benefits__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.8rem); margin: clamp(3rem, 6vw, 4.6rem) 0 0; padding: 0; list-style: none; }
.benefit { padding-top: 1.2rem; border-top: 1px solid rgba(208,159,75,0.5); }
.benefit__num { display: block; margin-bottom: 0.9rem; font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--gold-soft); }
.benefit__text { font-size: var(--fs-small); line-height: 1.55; color: var(--on-dark); }
@media (max-width: 1100px) {
  .benefits__head { grid-template-columns: 1fr; gap: 1.4rem; }
  .benefits__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.2rem; }
}

@media (max-width: 860px) {
  .partners__label h3 { font-size: 1.3rem; }
}
@media (max-width: 850px) {
  .benefits__head { grid-template-columns: 1fr; gap: 1.4rem; }
  .benefits__list { grid-template-columns: 1fr; gap: 0; margin-top: 2.2rem; }
  .benefit { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.8rem; align-items: baseline; padding: 1.1rem 0; border-top: 1px solid rgba(237,231,218,0.12); }
  .benefit:first-child { padding-top: 0; border-top: 0; }
  .benefit__num { margin: 0; font-size: 1.5rem; }
}

/* =====================================================================
   18. PAGE CONTACT
   ===================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.contact-aside .eyebrow { margin-bottom: 1.2rem; }
.contact-aside__title { font-size: var(--fs-h3); margin-bottom: 1rem; }
.contact-aside__text { color: var(--on-cream-dim); font-size: var(--fs-small); line-height: 1.7; margin-bottom: 2rem; }
.contact-channels { display: flex; flex-direction: column; gap: 0.9rem; }
.contact-channel { display: flex; align-items: baseline; gap: 0.8rem; font-size: var(--fs-small); }
.contact-channel dt { color: var(--olive); font-weight: 600; min-width: 6.5rem; }
.contact-channel dd { color: var(--on-cream); min-width: 0; overflow-wrap: anywhere; }   /* l'adresse e-mail se coupe sur petit écran */

/* Lien dans un texte courant */
.link-inline { color: var(--olive); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color 0.3s var(--ease); }
.link-inline:hover { color: var(--on-cream); }
.t-ink .link-inline { color: var(--gold-soft); }
.t-ink .link-inline:hover { color: var(--cream); }

/* Formulaire */
.form { display: grid; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field label { font-size: var(--fs-micro); letter-spacing: 0.09em; text-transform: uppercase; color: var(--on-cream-dim); font-weight: 600; }
.field .req { color: var(--olive); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-text);
  font-size: var(--fs-small);
  color: var(--on-cream);
  padding: 0.9rem 1rem;
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(28,27,21,0.18);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(28,27,21,0.55); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--olive); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(78,103,46,0.28); }
.field textarea { min-height: 150px; resize: vertical; }
/* Champ en erreur, seulement après interaction (P14) : bordure et libellé brique */
.field :is(input, select, textarea):user-invalid { border-color: var(--rouge); }
.field :is(input, select, textarea):user-invalid:focus { box-shadow: 0 0 0 3px rgba(197,51,59,0.2); }
.field:has(:user-invalid) label { color: var(--rouge); }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234E672E' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
/* Case à cocher (consentement) : case à gauche, texte courant à droite */
.field--check { flex-direction: row; align-items: flex-start; gap: 0.8rem; }
.field--check input { flex: none; width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; padding: 0; accent-color: var(--olive); }
.field.field--check label { font-size: var(--fs-small); letter-spacing: 0; text-transform: none; font-weight: 400; line-height: 1.55; color: var(--on-cream-dim); }
.form__foot { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-top: 0.4rem; }
.form__note { font-size: var(--fs-micro); color: var(--on-cream-dim); }
.form__status {
  display: flex;
  align-items: center; gap: 0.7rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(78,103,46,0.4);
  border-radius: var(--radius);
  background: rgba(78,103,46,0.07);
  color: var(--olive);
  font-size: var(--fs-small);
  font-weight: 500;
}
.form__status[hidden] { display: none; }
.form__status:not([hidden]) { animation: heroUp 0.6s var(--ease-out) both; }   /* le retour glisse en place (P14) */
@media (prefers-reduced-motion: reduce) { .form__status:not([hidden]) { animation: none; } }
.form__status--error { border-color: rgba(197,51,59,0.45); background: rgba(197,51,59,0.06); color: var(--on-cream); }
.form.is-sending button[type="submit"] { opacity: 0.6; cursor: progress; }
.form__legal { font-size: var(--fs-micro); line-height: 1.6; color: var(--on-cream-dim); max-width: 70ch; }
/* Champ piège anti-robots : hors de l'écran, jamais visible */
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .field-row { grid-template-columns: 1fr; }
}

/* =====================================================================
   19. PAGE ACTUALITÉS (blog)
   ===================================================================== */
.filter { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.filter__btn {
  padding: 0.55rem 1.15rem;
  border: 1px solid rgba(28,27,21,0.2);
  border-radius: 100px;
  font-family: var(--font-text);
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
  color: var(--on-cream-dim);
  transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.filter__btn:hover { color: var(--on-cream); border-color: rgba(78,103,46,0.5); }
.filter__btn.is-active { background: var(--olive); color: var(--cream); border-color: var(--olive); font-weight: 600; }
.t-ink .filter__btn { border-color: rgba(237,231,218,0.22); color: var(--on-dark-dim); }
.t-ink .filter__btn:hover { color: var(--cream); border-color: rgba(208,159,75,0.5); }
.t-ink .filter__btn.is-active { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.archive { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 2.8vw, 2.4rem) clamp(1.4rem, 2.6vw, 2.2rem); }
.archive .card.is-hidden { display: none; }

@media (max-width: 920px) { .archive { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .archive { grid-template-columns: 1fr; } }

/* =====================================================================
   20. SECTION 4 — APPEL À L'ACTION (clôture impactante)
   ===================================================================== */
.cta-final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(5rem, 13vh, 9rem);
  color: var(--cream);
  text-align: center;
  background: var(--olive);
}
.cta-final__inner {
  position: relative;
  max-width: 780px; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center;
}
.cta-final .eyebrow { margin-bottom: 1.4rem; color: var(--gold-pale); }
.cta-final .link-u { color: var(--cream); }
.cta-final .link-u .btn__arrow { color: var(--gold-pale); }
.cta-final__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 1.1rem + 4.2vw, 4.4rem);
  line-height: 1.03; letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}
.cta-final__title .serif-accent { color: var(--gold-soft); }
.cta-final__text {
  color: rgba(244,239,227,0.86);
  max-width: 46ch; margin: 0 auto 2.4rem;
  font-size: var(--fs-lead); line-height: 1.5; font-weight: 300;
}
.cta-final__action .btn { padding: 1.1rem 2rem; }
/* Bouton CTA : au survol → fond blanc, texte noir */
.cta-final .btn::before { background: #fff; }
.cta-final .btn:hover { color: var(--ink); }
.cta-final__paths {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1rem 2.4rem;
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(244,239,227,0.14);
  width: min(100%, 520px);
}

@media (max-width: 600px) {
  .cta-final__paths { flex-direction: column; gap: 1rem; align-items: center; }
}

/* =====================================================================
   21. PAGES DE TEXTE — articles d'actualité, pages légales
   ===================================================================== */
.page-hero--compact { padding-bottom: clamp(3rem, 6vh, 4.5rem); }
.page-hero--compact .page-hero__title { font-size: clamp(2.1rem, 1.1rem + 3.2vw, 3.8rem); }
.page-hero--compact .page-hero__lead { margin-bottom: 0; }

/* Texte courant long : colonne de lecture */
.prose { max-width: 70ch; margin-inline: auto; }
.prose h2 { font-size: var(--fs-h3); margin: 2.6rem 0 0.9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--font-text); font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--olive); margin: 2rem 0 0.8rem; }
.prose p { color: var(--on-cream-dim); margin-bottom: 1.1rem; }
.prose p strong { color: var(--on-cream); font-weight: 600; }
.prose a { overflow-wrap: anywhere; }   /* adresses e-mail longues sur petit écran */
.prose ul, .prose ol { margin: 0 0 1.2rem; padding: 0; list-style: none; }
.prose li { position: relative; padding-left: 1.4rem; margin-bottom: 0.55rem; color: var(--on-cream-dim); }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold-deep); }
.prose blockquote {
  margin: 1.8rem 0; padding: 0.2rem 0 0.2rem 1.4rem; border-left: 2px solid var(--gold-deep);
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.35rem, 1rem + 1vw, 1.7rem); line-height: 1.35; color: var(--on-cream);
}
.prose blockquote cite { display: block; margin-top: 0.6rem; font-family: var(--font-text); font-style: normal; font-size: var(--fs-micro); letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-cream-dim); }
/* Photo au fil du texte, liste de valeurs et phrase de conclusion */
.prose__figure { margin: 2.6rem 0; }
.prose__figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 35%; border-radius: 8px; background: var(--cream-deep); }
.prose__figure figcaption { margin-top: 0.7rem; font-size: var(--fs-micro); color: var(--on-cream-dim); }
.prose .prose__values { display: grid; gap: 0.9rem; margin: 0.4rem 0 1.6rem; }
.prose .prose__values li { padding-left: 1.8rem; font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 0.9vw, 1.6rem); line-height: 1.25; color: var(--on-cream); }
.prose .prose__values li::before { top: 0.5em; width: 8px; height: 8px; }
.prose .prose__closing {
  margin-top: 2.2rem; padding: 1.4rem 0 0; border-top: 1px solid rgba(28,27,21,0.14);
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.35rem, 1rem + 1vw, 1.7rem); line-height: 1.35; color: var(--olive);
}
.legal__facts { display: grid; gap: 0.5rem; margin: 0 0 1.2rem; }
.legal__facts div { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; font-size: var(--fs-small); }
.legal__facts dt { color: var(--olive); font-weight: 600; }
.legal__facts dd { color: var(--on-cream); overflow-wrap: anywhere; }
.legal__date { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(28,27,21,0.14); font-size: var(--fs-micro); }

/* Article d'actualité */
.article__media { max-width: 960px; margin: 0 auto clamp(2.4rem, 5vw, 3.6rem); overflow: hidden; border-radius: 8px; background: var(--cream-deep); }
.article__media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
/* Planche des logos (article CPET) : logo principal à gauche, emblème et icône empilés à droite */
.brand-board { max-width: 960px; margin: 0 auto clamp(2.4rem, 5vw, 3.6rem); display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: clamp(0.6rem, 1.4vw, 1rem); }
.brand-board__cell { display: grid; place-items: center; padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 8px; background: var(--cream-2); }
.brand-board__cell--main { grid-row: span 2; min-height: 22rem; }
.brand-board__cell--main img { width: 84%; height: auto; }
.brand-board__cell--emblem img { width: auto; height: clamp(7.5rem, 14vw, 9.5rem); }
.brand-board__cell--icon img { width: auto; height: clamp(6rem, 11vw, 7.5rem); }
@media (max-width: 850px) {
  .brand-board { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .brand-board__cell--main { grid-column: span 2; grid-row: auto; min-height: 0; padding-block: 2.6rem; }
  .brand-board__cell--main img { width: 92%; }
  .brand-board__cell--emblem, .brand-board__cell--icon { aspect-ratio: 1; padding: 1rem; }
  .brand-board__cell--emblem img { width: 82%; max-width: 11rem; height: auto; }
  .brand-board__cell--icon img { width: 48%; max-width: 6.5rem; height: auto; }
}

.article__gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.6rem, 1.2vw, 1rem); max-width: 960px; margin: clamp(2rem, 4vw, 3rem) auto 0; }
.article__gallery figure { overflow: hidden; border-radius: 6px; aspect-ratio: 3 / 4; background: var(--cream-deep); }
.article__gallery img { width: 100%; height: 100%; object-fit: cover; }
/* Article des inscriptions 2027 : chiffres clés, sujets par catégorie, étapes */
.article__facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1px; margin: 2rem 0 2.4rem; border-radius: 8px; overflow: hidden; background: rgba(28,27,21,0.12); }
.article__facts div { padding: 1.1rem 1.2rem; background: var(--cream-2); }
.article__facts dt { margin-bottom: 0.4rem; font-size: var(--fs-micro); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive); }
.article__facts dd { font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + 0.5vw, 1.35rem); line-height: 1.25; color: var(--on-cream); }
.article__subjects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.8rem, 2vw, 1.2rem); margin: 1.6rem 0 1.8rem; }
.article__subjects section { display: flex; flex-direction: column; padding: clamp(1.3rem, 3vw, 1.8rem); border-radius: 8px; background: var(--cream-2); }
.prose .article__subjects h3 { margin: 0 0 1.1rem; }
.prose .article__subjects ol { counter-reset: epreuve; margin-bottom: 1.1rem; }
.prose .article__subjects li { counter-increment: epreuve; padding-left: 2.2rem; margin-bottom: 0.9rem; }
.prose .article__subjects li::before { content: counter(epreuve, decimal-leading-zero); top: 0; width: auto; height: auto; transform: none; background: none; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; color: var(--gold-ink); }
.article__subjects li strong { display: block; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; line-height: 1.25; color: var(--on-cream); }
.article__subjects li span { display: block; margin-top: 0.2rem; font-size: var(--fs-small); }
.prose .article__buffet { margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(28,27,21,0.14); font-size: var(--fs-small); }
.article__subjects .link-u { align-self: flex-start; margin-top: 0.4rem; }
.prose .article__steps { counter-reset: etape; margin: 1.2rem 0 1.6rem; }
.prose .article__steps li { counter-increment: etape; padding-left: 2.6rem; margin-bottom: 0.9rem; min-height: 1.8rem; color: var(--on-cream); }
.prose .article__steps li::before { content: counter(etape); top: -0.1rem; width: 1.8rem; height: 1.8rem; transform: none; display: grid; place-items: center; border-radius: 50%; background: var(--olive); color: var(--cream); font-size: var(--fs-micro); font-weight: 600; }
@media (max-width: 850px) {
  .article__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article__subjects { grid-template-columns: 1fr; }
}
.article__palmares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin: 1.6rem 0 2rem; }
.article__palmares h3 { margin-top: 0; }
.article__palmares ol { counter-reset: rang; }
.article__palmares li { counter-increment: rang; padding-left: 2rem; }
.article__palmares li::before { content: counter(rang) "."; transform: none; width: auto; height: auto; top: 0; background: none; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.5; color: var(--gold-ink); }
.article__palmares li span { display: block; font-size: var(--fs-micro); }
.article__foot { max-width: 70ch; margin: clamp(2.4rem, 5vw, 3.4rem) auto 0; padding-top: 1.6rem; border-top: 1px solid rgba(28,27,21,0.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }

@media (max-width: 860px) {
  .article__gallery { grid-template-columns: 1fr 1fr; }
  .article__palmares { grid-template-columns: 1fr; gap: 0.6rem; }
  .article__foot { flex-direction: column; align-items: center; gap: 1.1rem; }   /* liens de fin d'article centrés */
}

/* Pages courtes (404, retour de paiement) : le mini-hero occupe l'écran */
.page-hero--full { min-height: 88svh; display: flex; align-items: center; }
.page-hero--full .page-hero__grid { width: 100%; }
.page-hero--center .hero__actions { justify-content: center; }

/* Mouvement réduit : filet de sécurité global (transitions et animations quasi instantanées) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =====================================================================
   22. ARTICLE VIDÉO — la vidéo verticale au centre, le texte à côté
   ===================================================================== */
.feature-video {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(2.4rem, 6vw, 5.5rem);
  align-items: start;
  max-width: 1040px;
  margin-inline: auto;
}
.feature-video__media { position: sticky; top: 6.5rem; margin: 0; }   /* reste visible pendant la lecture du texte */
.feature-video__body { margin: 0; padding-top: 0.6rem; }
.feature-video__caption { margin-top: 1rem; text-align: center; font-size: var(--fs-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-cream-dim); }

/* Lecteur : cadre vertical, boutons lecture et son, fil de progression doré */
.vplayer {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  background: var(--ink);
  box-shadow: 0 0 0 1px rgba(181,134,58,0.35), 0 40px 80px -40px rgba(14,14,12,0.65);
}
.vplayer__video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.vplayer__btn {
  position: absolute; bottom: 1rem; z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; color: #fff;
  background: rgba(14,14,12,0.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.vplayer__btn:hover { background: rgba(14,14,12,0.7); transform: scale(1.06); }
.vplayer__play { left: 1rem; }
.vplayer__sound { right: 1rem; }
.vplayer__icon { width: 20px; height: 20px; }
.vplayer__icon--pause, .vplayer__icon--sound { display: none; }
.vplayer.is-playing .vplayer__icon--play { display: none; }
.vplayer.is-playing .vplayer__icon--pause { display: block; }
.vplayer__sound[aria-pressed="true"] .vplayer__icon--muted { display: none; }
.vplayer__sound[aria-pressed="true"] .vplayer__icon--sound { display: block; }
.vplayer__progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: rgba(255,255,255,0.18); }
.vplayer__progress::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  transform: scaleX(var(--p, 0)); transform-origin: left;
}
/* Avant la lecture : grand bouton central */
.vplayer:not(.is-started) .vplayer__play { left: 50%; bottom: 50%; width: 76px; height: 76px; transform: translate(-50%, 50%); background: rgba(14,14,12,0.55); }
.vplayer:not(.is-started) .vplayer__play:hover { transform: translate(-50%, 50%) scale(1.06); }
.vplayer:not(.is-started) .vplayer__play .vplayer__icon { width: 30px; height: 30px; }
.vplayer:not(.is-started) .vplayer__sound, .vplayer:not(.is-started) .vplayer__progress { opacity: 0; pointer-events: none; }

/* Photos sous la vidéo : la photo de groupe en grand, deux portraits à côté */
.feature-gallery {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(0.6rem, 1.2vw, 1rem);
  max-width: 1040px; margin: clamp(3rem, 6vw, 4.5rem) auto 0;
}
.feature-gallery figure { margin: 0; overflow: hidden; border-radius: 8px; background: var(--cream-deep); height: clamp(220px, 30vw, 400px); }
.feature-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
@media (hover: hover) and (pointer: fine) { .feature-gallery figure:hover img { transform: scale(1.04); } }

@media (max-width: 860px) {
  .feature-video { grid-template-columns: 1fr; }
  .feature-video__media { position: static; width: min(100%, 340px); margin-inline: auto; }
  .feature-gallery { grid-template-columns: 1fr 1fr; }
  .feature-gallery figure:first-child { grid-column: 1 / -1; height: auto; aspect-ratio: 4 / 3; }
  .feature-gallery figure { height: auto; aspect-ratio: 3 / 4; }
}

/* =====================================================================
   23. ÉCRANS TACTILES — survols réservés à la souris, retour à l'appui
   ===================================================================== */
/* Survols des cartes : sous (hover: hover) and (pointer: fine), à leur place (P13).
   Ici, l'appui au doigt (P2) : scale se compose avec les transform existants. */
@media (hover: none) {
  .btn { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), color 0.4s var(--ease), scale 0.12s var(--ease); }
  .card__media { transition: scale 0.12s var(--ease); }
  .filter__btn { transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), scale 0.12s var(--ease); }
  .mhero__dot { transition: width 0.4s var(--ease), background 0.4s var(--ease), scale 0.12s var(--ease); }
  /* garde la transition du reveal (section 13) */
  .js .pcard[data-reveal], .js .bigcard[data-reveal] {
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out), scale 0.12s var(--ease);
    transition-delay: min(var(--delay, 0s), 0.24s), min(var(--delay, 0s), 0.24s), 0s;
  }
  .btn:active, .card__media:active, .pcard:active, .bigcard:active, .filter__btn:active { scale: 0.98; }
  .mhero__dot:active { scale: 0.85; }
}
@media (hover: none) and (prefers-reduced-motion: reduce) {
  .btn:active, .card__media:active, .pcard:active, .bigcard:active, .filter__btn:active, .mhero__dot:active { scale: none; filter: brightness(0.88); }
}
