/* Polices hébergées localement (licence SIL Open Font License) : DM Sans, Montserrat */

/* DM Sans — latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/dm-sans-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;
}

/* DM Sans — latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/dm-sans-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;
}

/* DM Sans — latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/dm-sans-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;
}

/* DM Sans — latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/dm-sans-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;
}

/* DM Sans — latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/dm-sans-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;
}

/* DM Sans — latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/dm-sans-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;
}

/* Montserrat — latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-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;
}

/* Montserrat — latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/montserrat-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;
}

/* Montserrat — latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-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;
}

/* Montserrat — latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/montserrat-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;
}

/* Montserrat — latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/montserrat-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;
}

/* Montserrat — latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/montserrat-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;
}

/* ==========================================================================
   OPDV — On Parle De Vous · Design system
   Voir docs/04-design-system.md
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Couleurs de marque */
  --c-brand: #279CB0;          /* turquoise du logo : décor, grands textes sur fond sombre */
  --c-brand-strong: #1A7686;   /* boutons, liens (blanc dessus : 5.3:1) */
  --c-brand-deep: #135E6B;     /* survol des boutons */
  --c-ink: #0D2E35;            /* titres, sections sombres */
  --c-ink-2: #12404A;          /* surfaces sur fond sombre */
  --c-text: #4A5A5E;           /* texte courant (7.2:1 sur blanc) */
  --c-muted: #5E6E72;          /* textes secondaires (4.8:1 sur papier) */
  --c-paper: #F6F3EE;          /* fond principal chaud */
  --c-white: #FFFFFF;
  --c-tint: #E4F2F4;           /* fond turquoise très clair */
  --c-sun: #C2410C;            /* accent chaud (héritage #E83D17), petits éléments */
  --c-on-dark: #F6F3EE;
  --c-on-dark-muted: #B9CDD0;  /* 8.7:1 sur --c-ink */

  /* Typographie */
  --f-display: "Montserrat", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h3: clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem);
  --fs-h2: clamp(1.875rem, 1.45rem + 1.9vw, 3rem);
  --fs-h1: clamp(2.25rem, 1.55rem + 2.6vw, 3.75rem);
  --fs-quote: clamp(1.75rem, 1.2rem + 2.6vw, 3.25rem);
  --lh-tight: 1.08;
  --lh-snug: 1.25;
  --lh-body: 1.65;

  /* Espacements */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-section: clamp(4rem, 1.5rem + 6vw, 6.25rem);   /* 100px sur grand écran, 64px mini sur mobile (REMARQUES.md) */
  --divider-h: clamp(40px, 6vw, 90px);                /* hauteur des séparateurs, ajoutée au padding de la section */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --container: 1280px;

  /* Rayons */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Ombres (jamais de bordure fine sur les cartes) */
  --shadow-sm: 0 4px 14px rgba(13, 46, 53, 0.06);
  --shadow-md: 0 8px 25px rgba(13, 46, 53, 0.07);
  --shadow-lg: 0 24px 60px rgba(13, 46, 53, 0.14);

  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-brand-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-brand-deep); }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--c-ink);
  line-height: var(--lh-snug);
  margin: 0 0 var(--sp-4);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 var(--sp-4); }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-brand); color: var(--c-white); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 200;
  background: var(--c-ink); color: var(--c-white); padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--sp-4); color: var(--c-white); }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--sp-section); }
.section--white { background: var(--c-white); }
.section--paper { background: var(--c-paper); }
.section--tint { background: var(--c-tint); }
/* Compensation des séparateurs : padding = espace de section + hauteur du séparateur */
.section:has(> .divider:not(.divider--top)) { padding-bottom: calc(var(--sp-section) + var(--divider-h)); }
.section:has(> .divider--top) { padding-top: calc(var(--sp-section) + var(--divider-h)); }
.section--dark { background: var(--c-ink); color: var(--c-on-dark-muted); }
.section--dark h2, .section--dark h3 { color: var(--c-on-dark); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head p { font-size: var(--fs-lg); color: var(--c-muted); margin: 0; }
.section--dark .section-head p { color: var(--c-on-dark-muted); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--sp-5); }
.section-head--split > div { max-width: 40rem; }

/* Séparateurs de sections (SVG en bas de section, couleur = section suivante) */
.divider { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; pointer-events: none; }
.divider svg { width: 100%; height: var(--divider-h); }
.divider--top { top: -1px; bottom: auto; transform: rotate(180deg); }

/* Filigrane photo avec parallax (sections sans image uniquement, 1 à 2 par page — REMARQUES.md)
   - niveaux de gris + multiply : se teinte dans la couleur de fond de la section
   - masque en fondu haut/bas : opacité nulle au contact des séparateurs (pas de cassure)
   - l'image dépasse de 20 % en hauteur pour laisser la course du parallax (--parallax piloté en JS) */
.has-watermark { isolation: isolate; }
.watermark {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 62%, transparent 92%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 62%, transparent 92%);
}
.watermark img {
  position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover;
  opacity: .065; filter: grayscale(1) contrast(.85) brightness(1.08); mix-blend-mode: multiply;
  transform: translate3d(0, var(--parallax, 0px), 0); will-change: transform;
}
.section--tint .watermark img { opacity: .09; }

/* ---------- 4. Boutons ----------
   Forme : rectangle aux coins arrondis (14px), libellé + icône dans une pastille carrée à droite.
   L'icône est toujours placée à droite (order), quel que soit son ordre dans le HTML. */
.btn {
  --btn-bg: var(--c-brand-strong);
  --btn-fg: var(--c-white);
  --chip-bg: rgba(255, 255, 255, 0.16);
  --chip-fg: currentColor;
  --chip-bg-hover: var(--c-white);
  --chip-fg-hover: var(--c-brand-strong);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.85rem;
  min-height: 52px; padding: 0.5rem 0.5rem 0.5rem 1.35rem;
  font-family: var(--f-body); font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 0; border-radius: 14px; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .15s var(--ease);
}
/* Voile de survol qui se déploie depuis la gauche */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(0, 0, 0, 0.12); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: scaleX(1); }
.btn:hover { color: var(--btn-fg); }
.btn:active { transform: scale(0.97); }
.btn svg {
  order: 2; flex-shrink: 0; box-sizing: border-box;
  width: 36px; height: 36px; padding: 9px; border-radius: 10px;
  background: var(--chip-bg); color: var(--chip-fg);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover svg { background: var(--chip-bg-hover); color: var(--chip-fg-hover); transform: scale(1.06); }

.btn--primary { box-shadow: 0 1px 2px rgba(13, 46, 53, 0.12); }
.btn--dark { --btn-bg: var(--c-ink); --chip-bg: rgba(255, 255, 255, 0.12); --chip-bg-hover: var(--c-brand); --chip-fg-hover: var(--c-white); }
.btn--dark::before { background: rgba(255, 255, 255, 0.08); }
.btn--ghost, .btn--light {
  --btn-bg: var(--c-white); --btn-fg: var(--c-ink);
  --chip-bg: var(--c-tint); --chip-fg: var(--c-brand-strong);
  --chip-bg-hover: var(--c-brand-strong); --chip-fg-hover: var(--c-white);
}
.btn--ghost { box-shadow: var(--shadow-sm); }
.btn--ghost::before, .btn--light::before { background: rgba(39, 156, 176, 0.08); }
.btn--outline-light {
  --btn-bg: rgba(255, 255, 255, 0.1); --btn-fg: var(--c-white);
  --chip-bg: rgba(255, 255, 255, 0.16); --chip-bg-hover: var(--c-white); --chip-fg-hover: var(--c-ink);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.btn--outline-light::before { background: rgba(255, 255, 255, 0.1); }
.btn--block { width: 100%; justify-content: space-between; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--f-display); font-weight: 700; font-size: var(--fs-sm);
  color: var(--c-brand-strong); text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 243, 238, 0.88);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(13, 46, 53, 0.07); background: rgba(255, 255, 255, 0.94); }
/* Pleine largeur, 25px de marge : logo à gauche, menu centré sur la page, actions à droite */
.header-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--sp-5);
  width: 100%; height: var(--header-h); padding-inline: 25px;
}
.brand { justify-self: start; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--c-ink); flex-shrink: 0; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1; }
.brand-name small { display: block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.04em; color: var(--c-muted); margin-top: 3px; }

.main-nav { justify-self: center; }
.main-nav ul { display: flex; align-items: center; gap: clamp(0.75rem, 0.2rem + 1.4vw, 2rem); }
/* Liens du menu : effet « mise au point caméra »
   Au survol, les 4 coins d'un viseur autofocus se resserrent sur le mot (verrouillage avec léger rebond)
   et le texte a un bref flash d'aberration chromatique (décalage rouge / cyan). */
.main-nav a {
  --focus-color: var(--c-brand);
  --focus-len: 7px;
  --focus-w: 2px;
  position: relative; display: inline-block; padding: 0.45rem 0.15rem;
  font-family: var(--f-display); font-weight: 600; font-size: var(--fs-sm);
  color: var(--c-ink); text-decoration: none;
}
.main-nav a::after {
  content: ""; position: absolute; inset: -4px -11px; pointer-events: none;
  background:
    linear-gradient(var(--focus-color) 0 0) top left     / var(--focus-len) var(--focus-w),
    linear-gradient(var(--focus-color) 0 0) top left     / var(--focus-w) var(--focus-len),
    linear-gradient(var(--focus-color) 0 0) top right    / var(--focus-len) var(--focus-w),
    linear-gradient(var(--focus-color) 0 0) top right    / var(--focus-w) var(--focus-len),
    linear-gradient(var(--focus-color) 0 0) bottom left  / var(--focus-len) var(--focus-w),
    linear-gradient(var(--focus-color) 0 0) bottom left  / var(--focus-w) var(--focus-len),
    linear-gradient(var(--focus-color) 0 0) bottom right / var(--focus-len) var(--focus-w),
    linear-gradient(var(--focus-color) 0 0) bottom right / var(--focus-w) var(--focus-len);
  background-repeat: no-repeat;
  opacity: 0; transform: scale(1.4);
  transition: opacity .2s var(--ease), transform .35s var(--ease);
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  opacity: 1; transform: scale(1);
  animation: focus-lock .55s var(--ease) both;
}
.main-nav a:hover, .main-nav a:focus-visible { animation: signal-glitch .4s steps(2, end) both; }
.main-nav a:focus-visible { outline: none; }
/* Page active : viseur affiché en permanence, sans animation */
.main-nav a[aria-current="page"]::after { opacity: 1; transform: none; animation: none; }

@keyframes focus-lock {
  0%   { opacity: 0; transform: scale(1.4); }
  55%  { opacity: 1; transform: scale(0.92); }
  70%  { opacity: .45; }
  80%  { opacity: 1; transform: scale(1.02); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes signal-glitch {
  0%   { text-shadow: -2px 0 rgba(255, 46, 99, .75), 2px 0 rgba(0, 200, 255, .75); transform: translateX(1px); }
  50%  { text-shadow: 1px 0 rgba(255, 46, 99, .55), -1px 0 rgba(0, 200, 255, .55); transform: translateX(-1px); }
  100% { text-shadow: none; transform: none; }
}
.header-actions { justify-self: end; display: flex; align-items: center; gap: var(--sp-4); }
.header-login {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--f-display); font-weight: 600; font-size: var(--fs-sm); color: var(--c-ink); text-decoration: none;
}
.header-login svg { width: 18px; height: 18px; }
.header-login:hover { color: var(--c-brand-strong); }
.header-actions .btn { min-height: 44px; padding: 0.375rem 0.375rem 0.375rem 1.1rem; font-size: var(--fs-sm); gap: 0.7rem; }
.header-actions .btn svg { width: 32px; height: 32px; padding: 8px; border-radius: 9px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; position: relative; z-index: 2;
  align-items: center; justify-content: center;
  background: var(--c-white); border: 0; border-radius: 14px; box-shadow: var(--shadow-sm); cursor: pointer; color: var(--c-ink);
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
/* Burger → croix */
.nav-toggle-lines { position: relative; width: 20px; height: 14px; }
.nav-toggle-lines span {
  position: absolute; left: 0; height: 2px; width: 100%; border-radius: 2px; background: currentColor;
  transition: transform .45s var(--ease), opacity .2s var(--ease), width .3s var(--ease), top .3s var(--ease) .15s;
}
.nav-toggle-lines span:nth-child(1) { top: 0; }
.nav-toggle-lines span:nth-child(2) { top: 6px; width: 70%; }
.nav-toggle-lines span:nth-child(3) { top: 12px; }
.nav-toggle:hover .nav-toggle-lines span:nth-child(2) { width: 100%; }
.nav-open .nav-toggle-lines span { transition: top .3s var(--ease), transform .45s var(--ease) .15s, opacity .2s var(--ease); }
.nav-open .nav-toggle-lines span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-open .nav-toggle-lines span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-lines span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1140px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .nav-toggle { display: inline-flex; justify-self: end; }
  .main-nav, .header-actions { display: none; }
}

/* ---------- 5b. Menu mobile ----------
   Panneau plein écran (hors du header : le backdrop-filter du header casserait position:fixed).
   Ouverture en iris depuis le bouton, liens numérotés en cascade, actions + contact en pied. */
.mobile-menu { display: none; }
@media (max-width: 1140px) {
  .mobile-menu {
    --mm-x: calc(100% - 25px - 24px);              /* centre du bouton burger */
    --mm-y: calc(var(--header-h) / 2);
    display: block; position: fixed; inset: 0; z-index: 90;
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    color: var(--c-white);
    background:
      radial-gradient(90% 55% at 100% 0%, rgba(39, 156, 176, 0.38), rgba(39, 156, 176, 0) 70%),
      radial-gradient(70% 45% at 0% 100%, rgba(39, 156, 176, 0.16), rgba(39, 156, 176, 0) 70%),
      var(--c-ink);
    clip-path: circle(0px at var(--mm-x) var(--mm-y));
    visibility: hidden;
    transition: clip-path .55s cubic-bezier(.7, 0, .3, 1), visibility 0s linear .55s;
  }
  .nav-open .mobile-menu {
    clip-path: circle(150vmax at var(--mm-x) var(--mm-y));
    visibility: visible;
    transition: clip-path .7s cubic-bezier(.7, 0, .3, 1), visibility 0s;
  }
  .mobile-menu-inner {
    min-height: 100%; display: flex; flex-direction: column;
    padding: calc(var(--header-h) + clamp(0.5rem, 2.5vh, 2rem)) 25px calc(1.25rem + env(safe-area-inset-bottom));
    max-width: 640px;
  }

  /* Liens */
  .mobile-nav { list-style: none; margin: 0 0 auto; padding: 0; counter-reset: none; }
  .mobile-nav li + li { box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08); }
  .mobile-nav a {
    display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; grid-template-rows: auto auto;
    column-gap: 0.25rem; align-items: center;
    padding: clamp(0.6rem, 1.7vh, 1.15rem) 0; color: var(--c-white); text-decoration: none;
  }
  .mm-num {
    grid-row: 1 / span 2; align-self: start; padding-top: 0.55rem;
    font-family: var(--f-display); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; color: #8FD9E4;
  }
  .mm-label {
    font-family: var(--f-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
    font-size: clamp(1.6rem, 0.9rem + 2vw + 1.6vh, 2.5rem);
    transition: color .3s var(--ease), transform .4s var(--ease);
  }
  .mm-desc { grid-column: 2; margin-top: 0.2rem; font-size: var(--fs-sm); line-height: 1.4; color: var(--c-on-dark-muted); }
  .mobile-nav svg {
    grid-column: 3; grid-row: 1 / span 2; box-sizing: border-box;
    width: 44px; height: 44px; padding: 12px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.08); color: var(--c-white);
    transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
  }
  .mobile-nav a:hover .mm-label, .mobile-nav a:focus-visible .mm-label { color: #8FD9E4; transform: translateX(4px); }
  .mobile-nav a:hover svg, .mobile-nav a:focus-visible svg { background: var(--c-white); color: var(--c-ink); transform: translateX(2px); }
  .mobile-nav a:active .mm-label { transform: translateX(6px) scale(.98); }
  .mobile-nav a[aria-current="page"] .mm-label { color: #8FD9E4; }
  .mobile-nav a:focus-visible { outline: 2px solid #8FD9E4; outline-offset: 4px; border-radius: 6px; }

  /* Pied : actions, contact, réseaux */
  .mobile-menu-foot { padding-top: clamp(1.5rem, 4vh, 2.5rem); }
  .mobile-menu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .mobile-menu-contact { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: clamp(1.25rem, 3vh, 2rem); font-size: var(--fs-sm); }
  .mobile-menu-contact a { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--c-on-dark-muted); text-decoration: none; width: fit-content; }
  .mobile-menu-contact a:hover { color: var(--c-white); }
  .mobile-menu-contact svg { width: 18px; height: 18px; color: #8FD9E4; }
  .mobile-menu-socials { display: flex; gap: 0.5rem; margin-top: clamp(1rem, 2.5vh, 1.5rem); }
  .mobile-menu-socials a {
    width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
    background: rgba(255, 255, 255, 0.08); color: var(--c-white); transition: background-color .25s var(--ease);
  }
  .mobile-menu-socials a:hover { background: var(--c-brand-strong); }
  .mobile-menu-socials svg { width: 20px; height: 20px; }

  /* Apparition en cascade */
  .mobile-nav li, .mobile-menu-foot { opacity: 0; transform: translateY(26px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav-open .mobile-nav li, .nav-open .mobile-menu-foot {
    opacity: 1; transform: none;
    transition: opacity .6s var(--ease), transform .7s var(--ease);
    transition-delay: calc(0.22s + var(--i) * 0.06s);
  }

  /* Header pendant l'ouverture : transparent, texte blanc, au-dessus du panneau */
  .nav-open .site-header, .nav-open .site-header.is-scrolled {
    background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .nav-open .site-header .brand-name { color: var(--c-white); }
  .nav-open .site-header .brand-name small { color: rgba(255, 255, 255, 0.72); }
  .nav-open .nav-toggle { background: rgba(255, 255, 255, 0.1); color: var(--c-white); box-shadow: none; }
  html.nav-locked, html.nav-locked body { overflow: hidden; }
}
@media (max-width: 480px) {
  .mobile-menu-actions { grid-template-columns: 1fr; }
}
/* Écrans courts (paysage, petits téléphones) : on retire les descriptions pour tout garder visible */
@media (max-width: 1140px) and (max-height: 740px) {
  .mm-desc { display: none; }
  .mm-num { grid-row: 1; align-self: center; padding-top: 0; }
  .mobile-nav svg { grid-row: 1; width: 40px; height: 40px; padding: 10px; }
}

/* ---------- 6. Hero vidéo ---------- */
.hero--video {
  --hero-accent: #8FD9E4;          /* turquoise clair : 9.6:1 sur le voile */
  position: relative; isolation: isolate; overflow: hidden;
  display: flex;
  min-height: 100vh; min-height: min(100svh, 1000px);
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + clamp(1.5rem, 0.5rem + 3vh, 3.5rem)) 0 calc(clamp(1.5rem, 1rem + 2vh, 2.5rem) + var(--divider-h));
  background: var(--c-ink); color: var(--c-white);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--c-ink) center / cover no-repeat; will-change: transform; }  /* translateY piloté en JS (parallax) */
.hero-video {
  width: 100%; height: 100%; object-fit: cover;
  animation: hero-zoom 16s var(--ease) both;
}
/* Voile : sombre en haut (lisibilité du menu), renforcé au centre (texte), dense en bas (barre + vague) */
.hero-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 62% 55% at 50% 46%, rgba(8, 30, 36, 0.62) 0%, rgba(8, 30, 36, 0.28) 72%, rgba(8, 30, 36, 0) 100%),
    linear-gradient(180deg, rgba(8, 30, 36, 0.78) 0%, rgba(8, 30, 36, 0.32) 22%, rgba(8, 30, 36, 0.36) 62%, rgba(8, 30, 36, 0.9) 100%),
    linear-gradient(0deg, rgba(19, 94, 107, 0.22), rgba(19, 94, 107, 0.22));
}

.hero-inner { position: relative; display: flex; flex-direction: column; flex: 1; }
.hero-content { margin: auto; max-width: 62rem; text-align: center; padding-block: var(--sp-4) var(--sp-6); }
.hero--video h1 {
  color: var(--c-white); font-size: clamp(2.5rem, 1.2rem + 3.4vw + 2vh, 4.75rem); line-height: 1.02; letter-spacing: -0.04em;
  max-width: 17ch; margin: 0 auto var(--sp-5); text-shadow: 0 2px 40px rgba(0, 0, 0, 0.25);
}
.hero--video h1 .accent { color: var(--hero-accent); }
.hero--video .hero-lead {
  font-size: var(--fs-lg); line-height: 1.6; color: rgba(255, 255, 255, 0.88);
  max-width: 40rem; margin: 0 auto clamp(1.75rem, 1rem + 2vh, 2.75rem);
}
.hero--video .hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); margin-bottom: clamp(1.25rem, 0.5rem + 2vh, 2rem); }
.hero--video .hero-facts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2) var(--sp-6);
  font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.78);
}
.hero--video .hero-facts li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero--video .hero-facts svg { width: 18px; height: 18px; color: var(--hero-accent); }

/* Entrée du contenu */
.hero-content > * { animation: hero-in 1s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: .12s; }
.hero-content > :nth-child(3) { animation-delay: .24s; }
.hero-content > :nth-child(4) { animation-delay: .36s; }
.hero-bar { animation: hero-in 1s var(--ease) .5s both; }
@keyframes hero-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Grande taille de bouton */
.btn--lg { min-height: 58px; padding: 0.55rem 0.55rem 0.55rem 1.6rem; font-size: 1.0625rem; gap: 1rem; }
.btn--lg svg { width: 42px; height: 42px; padding: 11px; border-radius: 11px; }
.btn--primary.btn--lg:hover svg { transform: translateY(2px) scale(1.06); }

/* Barre basse : actualité + pause */
.hero-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.hero-news, .hero-toggle {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  color: var(--c-white); border-radius: 14px;
  transition: background-color .3s var(--ease);
}
.hero-news {
  display: inline-flex; align-items: center; gap: 0.9rem; min-width: 0; max-width: min(100%, 40rem);
  padding: 0.45rem 0.45rem 0.45rem 1.1rem; text-decoration: none;
}
.hero-news:hover { background: rgba(255, 255, 255, 0.18); color: var(--c-white); }
.hero-news-label {
  flex-shrink: 0; padding-right: 0.9rem; box-shadow: 1px 0 0 rgba(255, 255, 255, 0.25);
  font-family: var(--f-display); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--hero-accent);
}
/* Message défilant en boucle (4 copies, translation de -50 % = 2 copies : boucle sans à-coup) */
.hero-news { width: min(100%, 40rem); }
.hero-news-title {
  flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; font-size: var(--fs-sm); font-weight: 500;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1.25rem, #000 calc(100% - 2rem), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 1.25rem, #000 calc(100% - 2rem), transparent 100%);
}
.ticker { display: inline-flex; width: max-content; animation: ticker var(--ticker-duration, 20s) linear infinite; }
.ticker-item { display: inline-flex; align-items: center; }
.ticker-item::after {
  content: ""; width: 5px; height: 5px; margin-inline: 1.5rem; border-radius: 50%;
  background: var(--hero-accent); opacity: .7; flex-shrink: 0;
}
.hero-news:hover .ticker, .hero-news:focus-visible .ticker, .hero.is-paused .ticker { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero-news svg {
  flex-shrink: 0; box-sizing: border-box; width: 34px; height: 34px; padding: 8px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.14); transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.hero-news:hover svg { background: var(--c-white); color: var(--c-ink); transform: translateX(2px); }
.hero-toggle {
  flex-shrink: 0; width: 48px; height: 48px; display: grid; place-items: center; border: 0; cursor: pointer;
}
.hero-toggle:hover { background: rgba(255, 255, 255, 0.2); }
.hero-toggle svg { width: 18px; height: 18px; }
.hero-toggle .icon-play, .hero-toggle.is-paused .icon-pause { display: none; }
.hero-toggle.is-paused .icon-play { display: block; }

/* En-tête transparent au-dessus de la vidéo (tant qu'on n'a pas défilé) */
.site-header .brand-name, .site-header .main-nav a, .site-header .header-login, .site-header .nav-toggle { transition: color .3s var(--ease), background-color .3s var(--ease); }
:is(.has-hero-video, .has-hero-image):not(.nav-open) .site-header:not(.is-scrolled) {
  background: transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
:is(.has-hero-video, .has-hero-image):not(.nav-open) .site-header:not(.is-scrolled) .brand-name,
:is(.has-hero-video, .has-hero-image):not(.nav-open) .site-header:not(.is-scrolled) .main-nav a,
:is(.has-hero-video, .has-hero-image):not(.nav-open) .site-header:not(.is-scrolled) .header-login { color: var(--c-white); }
:is(.has-hero-video, .has-hero-image):not(.nav-open) .site-header:not(.is-scrolled) .brand-name small { color: rgba(255, 255, 255, 0.72); }
:is(.has-hero-video, .has-hero-image):not(.nav-open) .site-header:not(.is-scrolled) .main-nav a { --focus-color: #8FD9E4; }
:is(.has-hero-video, .has-hero-image):not(.nav-open) .site-header:not(.is-scrolled) .nav-toggle {
  background: rgba(255, 255, 255, 0.14); color: var(--c-white); box-shadow: none;
}

@media (max-width: 720px) {
  .hero--video { min-height: 100svh; padding-top: calc(var(--header-h) + 2rem); }
  .hero--video .hero-lead { margin-bottom: var(--sp-6); }
  .hero--video .hero-actions { flex-direction: column; align-items: stretch; max-width: 22rem; margin-inline: auto; }
  .hero--video .hero-actions .btn { justify-content: space-between; }
  .hero--video .hero-facts { gap: var(--sp-2) var(--sp-4); }
  .hero-news-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-toggle { display: none; }
  .ticker { animation: none; display: block; width: auto; }
  .ticker-item { display: block; overflow: hidden; text-overflow: ellipsis; }
  .ticker-item + .ticker-item { display: none; }
  .ticker-item::after { display: none; }
  .hero-news-title { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- 7. Pour qui ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.audience-item { position: relative; padding-top: var(--sp-5); }
.audience-icon {
  width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: var(--sp-5);
  border-radius: 16px; background: var(--c-tint); color: var(--c-brand-strong);
}
.audience-icon svg { width: 28px; height: 28px; }
.audience-item p { margin: 0; }
.audience-more { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); padding-top: var(--sp-5); box-shadow: 0 -1px 0 rgba(13,46,53,.1); display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); align-items: center; justify-content: space-between; }
.audience-more p { margin: 0; font-weight: 500; color: var(--c-ink); }
@media (max-width: 820px) { .audience-grid { grid-template-columns: 1fr; } }

/* ---------- 8. Services (bento, toutes les tuiles avec photo) ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: var(--sp-5); }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--c-white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: inherit; }
.service-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-tint); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.04); }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 2.25rem 2rem 2rem; }
.service-body h3 { margin-bottom: var(--sp-2); }
.service-body p { margin-bottom: var(--sp-5); }
.service-meta {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink);
}
.service-meta svg { width: 22px; height: 22px; color: var(--c-brand-strong); transition: transform .3s var(--ease); flex-shrink: 0; }
.service-card:hover .service-meta svg { transform: translateX(4px); }

/* Mise en page bento */
.service-card--feature { grid-column: span 3; grid-row: span 2; }
.service-card--feature .service-media { aspect-ratio: auto; flex: 1; min-height: 280px; }
.service-card--feature .service-body { flex: 0; padding: 2.25rem 2.25rem 2.25rem; }
.service-card--feature h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.service-card--half { grid-column: span 3; }
.service-card--half { flex-direction: row; }
.service-card--half .service-media { aspect-ratio: auto; width: 42%; flex-shrink: 0; }
.service-card--third { grid-column: span 3; flex-direction: row; }
.service-card--third .service-media { aspect-ratio: auto; width: 42%; flex-shrink: 0; }
.bento-foot { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.bento-foot p { margin: 0; font-size: var(--fs-sm); color: var(--c-muted); max-width: 36rem; }

@media (max-width: 1020px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card--feature { grid-column: span 2; grid-row: auto; }
  .service-card--feature .service-media { aspect-ratio: 16 / 8; min-height: 0; flex: none; }
  .service-card--half, .service-card--third { grid-column: span 1; flex-direction: column; }
  .service-card--half .service-media, .service-card--third .service-media { width: auto; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .service-card--feature { grid-column: auto; }
  .service-card--feature .service-media { aspect-ratio: 16 / 10; }
}

/* ---------- 9. Étapes ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 3rem); counter-reset: step; }
.step { position: relative; padding: 2.25rem 2rem 2rem; border-radius: var(--radius-lg); background: var(--c-paper); }
.step-num {
  display: block; margin-bottom: var(--sp-5);
  font-family: var(--f-display); font-weight: 800; font-size: 3.5rem; line-height: 1; letter-spacing: -0.05em;
  color: var(--c-brand);
}
.step p { margin: 0; }
.steps-cta { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); text-align: center; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 10. Formules ---------- */
.plans-section { overflow: hidden; }
.plans-section::before {
  /* Lueur décorative. Elle ne doit JAMAIS toucher le bord haut : le séparateur au-dessus est de couleur unie,
     une lueur coupée par le bord de la section crée une cassure visible (cf. REMARQUES.md).
     top: 0 + dégradé radial qui s'éteint sur le cercle => opacité nulle au point de contact. */
  content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  right: -20vw; top: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(39,156,176,.28), rgba(39,156,176,0));
  pointer-events: none;
}
.plans { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 3.5rem clamp(1.75rem, 1.4rem + 1vw, 2.5rem) clamp(1.75rem, 1.4rem + 1vw, 2.5rem);
  border-radius: var(--radius-lg); background: var(--c-ink-2); color: var(--c-on-dark-muted);
}
.plan h3 { color: var(--c-on-dark); font-size: 1.5rem; margin-bottom: var(--sp-1); }
.plan-for { font-size: var(--fs-sm); line-height: 1.5; min-height: 3em; margin-bottom: var(--sp-5); }
.plan-price { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: var(--sp-1); color: var(--c-on-dark); }
.plan-price strong { font-family: var(--f-display); font-size: clamp(2.75rem, 2.3rem + 1.5vw, 3.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.plan-price span { font-size: var(--fs-sm); }
.plan-year { font-size: var(--fs-xs); margin-bottom: var(--sp-6); }
.plan-list { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-6); font-size: var(--fs-sm); line-height: 1.5; }
.plan-list li { display: grid; grid-template-columns: 20px 1fr; gap: 0.65rem; align-items: start; }
.plan-list svg { width: 20px; height: 20px; color: var(--c-brand); margin-top: 1px; }
.plan-list .plan-inherit { color: var(--c-on-dark); font-weight: 600; }
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--c-white); color: var(--c-text); box-shadow: 0 30px 70px rgba(0,0,0,.28); margin-block: -14px 14px; }
.plan--featured h3, .plan--featured .plan-price { color: var(--c-ink); }
.plan--featured .plan-list svg { color: var(--c-brand-strong); }
.plan--featured .plan-list .plan-inherit { color: var(--c-ink); }
.plan-flag { position: absolute; top: 1.6rem; left: clamp(1.75rem, 1.4rem + 1vw, 2.5rem); margin: 0; font-family: var(--f-display); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-sun); }
.plans-note { position: relative; margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3) var(--sp-6); font-size: var(--fs-sm); text-align: center; }
.plans-note li { display: inline-flex; align-items: center; gap: 0.5rem; }
.plans-note svg { width: 18px; height: 18px; color: var(--c-brand); }
.plans-help { position: relative; margin: var(--sp-5) 0 0; text-align: center; font-size: var(--fs-sm); }
.plans-help a { color: var(--c-white); font-weight: 600; }
/* Version claire (page Adhésion, juste sous le hero imagé) : cartes blanches, formule mise en avant en sombre */
.plans-section--light .plan { background: var(--c-white); color: var(--c-text); box-shadow: var(--shadow-md); }
.plans-section--light .plan h3, .plans-section--light .plan-price, .plans-section--light .plan-list .plan-inherit { color: var(--c-ink); }
.plans-section--light .plan-list svg, .plans-section--light .plans-note svg { color: var(--c-brand-strong); }
.plans-section--light .plan--featured { background: var(--c-ink); color: var(--c-on-dark-muted); box-shadow: 0 30px 70px rgba(13, 46, 53, 0.3); }
.plans-section--light .plan--featured h3, .plans-section--light .plan--featured .plan-price, .plans-section--light .plan--featured .plan-list .plan-inherit { color: var(--c-on-dark); }
.plans-section--light .plan--featured .plan-list svg { color: var(--c-brand); }
.plans-section--light .plans-help a { color: var(--c-brand-strong); }
.plans-section--light::before { background: radial-gradient(closest-side, rgba(39, 156, 176, .14), rgba(39, 156, 176, 0)); }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 32rem; margin-inline: auto; }
  .plan--featured { margin-block: 0; order: -1; }
}

/* ---------- 11. Engagements ---------- */
.manifesto { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.quote-bubble {
  position: relative; margin: 0; padding: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  background: var(--c-brand-strong); color: var(--c-white);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 0;
}
.quote-bubble::after {
  content: ""; position: absolute; left: 0; bottom: -38px; width: 64px; height: 40px;
  background: var(--c-brand-strong); clip-path: polygon(0 0, 100% 0, 0 100%);
}
.quote-bubble p { font-family: var(--f-display); font-size: var(--fs-quote); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 var(--sp-5); color: var(--c-white); }
.quote-bubble footer { font-size: var(--fs-sm); color: #D8EEF1; }
.commitments { display: grid; gap: var(--sp-6); }
.commitment { display: grid; grid-template-columns: 52px 1fr; gap: var(--sp-4); align-items: start; }
.commitment-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--c-white); color: var(--c-brand-strong); box-shadow: var(--shadow-sm); }
.commitment-icon svg { width: 26px; height: 26px; }
.commitment h3 { font-size: 1.125rem; margin-bottom: var(--sp-1); }
.commitment p { margin: 0; font-size: var(--fs-sm); }
@media (max-width: 880px) { .manifesto { grid-template-columns: 1fr; } .quote-bubble { margin-bottom: var(--sp-6); } }

/* ---------- 12. Actualités ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
.news-card {
  display: flex; flex-direction: column; background: var(--c-paper); border-radius: var(--radius-md);
  overflow: hidden; text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); color: inherit; }
.news-media { aspect-ratio: 16 / 10; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.04); }
.news-body { padding: 1.75rem 2rem 2rem; display: flex; flex-direction: column; flex: 1; }
.news-meta { font-size: var(--fs-xs); font-weight: 600; color: var(--c-muted); margin-bottom: var(--sp-2); }
.news-meta span { color: var(--c-brand-strong); }
.news-body h3 { font-size: 1.1875rem; line-height: 1.3; margin: 0; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; max-width: 34rem; } }

/* ---------- 13. Soutiens ---------- */
.partners { margin-top: clamp(4rem, 3rem + 3vw, 6rem); }  /* dernier bloc de la section Actualités */
.partners-title { font-family: var(--f-display); font-size: var(--fs-sm); font-weight: 700; color: var(--c-muted); text-align: center; margin-bottom: var(--sp-6); letter-spacing: 0; }
.partners-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--sp-6) clamp(2rem, 1rem + 3vw, 4rem); }
.partners-list img { height: 56px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply; opacity: .8; transition: filter .3s, opacity .3s; }
.partners-list a:hover img { filter: none; opacity: 1; }

/* ---------- 14. CTA final ---------- */
.cta-final { background: var(--c-brand-strong); color: #E2F2F4; overflow: hidden; }
.cta-final h2 { color: var(--c-white); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.cta-grid > div > p { font-size: var(--fs-lg); max-width: 32rem; margin-bottom: var(--sp-6); }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.contact-card { padding: clamp(1.75rem, 1.4rem + 1vw, 2.5rem); background: var(--c-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: var(--c-text); }
.contact-list { display: grid; gap: var(--sp-5); }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: var(--sp-4); align-items: center; }
.contact-list .ci { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--c-tint); color: var(--c-brand-strong); }
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: var(--fs-xs); color: var(--c-muted); }
.contact-list a, .contact-list strong { font-weight: 600; color: var(--c-ink); text-decoration: none; font-size: 1rem; }
.contact-list a:hover { color: var(--c-brand-strong); text-decoration: underline; }
@media (max-width: 880px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- 15. Footer ---------- */
.site-footer { background: var(--c-ink); color: var(--c-on-dark-muted); padding-top: var(--sp-section); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.footer-brand .brand { color: var(--c-white); margin-bottom: var(--sp-4); }
.footer-brand .brand-name small { color: var(--c-on-dark-muted); }
.footer-brand p { max-width: 22rem; }
.footer-title { font-family: var(--f-display); font-weight: 700; color: var(--c-white); margin-bottom: var(--sp-4); font-size: 1rem; }
.footer-links { display: grid; gap: var(--sp-2); }
.footer-links a, .footer-contact a { color: var(--c-on-dark-muted); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--c-white); text-decoration: underline; }
.footer-contact { display: grid; gap: var(--sp-2); font-style: normal; }
.socials { display: flex; gap: var(--sp-2); margin-top: var(--sp-5); }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--c-ink-2); color: var(--c-white); transition: background-color .25s; }
.socials a:hover { background: var(--c-brand-strong); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3) var(--sp-6); padding-block: var(--sp-5); box-shadow: 0 -1px 0 rgba(255,255,255,.08); font-size: var(--fs-xs); }
.footer-bottom p { margin: 0; }
.footer-bottom nav ul { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); }
.footer-bottom a { color: var(--c-on-dark-muted); }
.footer-bottom a:hover { color: var(--c-white); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 16. Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Compléments pour les pages et éléments fournis par le moteur (core/)
   — contact, mentions légales, confidentialité, 404, bandeau cookies
   ========================================================================== */

/* Le bandeau cookies (core/assets/css/consent.css) reprend ces variables */
:root {
  --color-primary: var(--c-brand-strong);
  --color-primary-hover: var(--c-brand-deep);
  --color-on-primary: var(--c-white);
  --color-surface: var(--c-tint);
  --color-text: var(--c-ink);
  --color-muted: var(--c-muted);
  --color-bg: var(--c-white);
  --color-focus: var(--c-brand);
  --radius: var(--radius-sm);
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.link-button { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

/* Pages de contenu (mentions légales, confidentialité) */
.prose { max-width: 50rem; color: var(--c-text); }
.prose h1 { margin-bottom: var(--sp-6); }
.prose h2 { margin-top: var(--sp-7); margin-bottom: var(--sp-3); font-size: var(--fs-h3); }
.prose h3 { margin-top: var(--sp-6); margin-bottom: var(--sp-2); font-size: 1.125rem; }
.prose p, .prose ul { margin-bottom: var(--sp-4); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: var(--sp-1); }
.prose a { color: var(--c-brand-strong); }
.legal-updated { margin-top: var(--sp-7); color: var(--c-muted); font-size: var(--fs-sm); }

/* Formulaires (page contact) */
.container--narrow { max-width: calc(50rem + 2 * var(--gutter)); }
.form { display: grid; gap: var(--sp-5); margin-top: var(--sp-6); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--sp-5); }
.form__note { color: var(--c-muted); font-size: var(--fs-sm); }
.field { display: grid; gap: var(--sp-2); align-content: start; }
.field label { font-weight: 600; color: var(--c-ink); }
.field input:not([type="checkbox"]), .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 0; border-radius: var(--radius-sm);
  background: var(--c-white); color: var(--c-ink); font: inherit; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s var(--ease);
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: 0 0 0 4px rgba(39, 156, 176, .25), var(--shadow-md); }
.field [aria-invalid="true"] { background: #FDF0EC; }
.field__error { color: var(--c-sun); font-size: var(--fs-sm); font-weight: 500; }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: var(--sp-3); }
.field--check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--c-brand-strong); }
.field--check label { font-weight: 400; color: var(--c-text); }
.field--check .field__error { grid-column: 2; }
.notice { display: flex; gap: var(--sp-3); align-items: flex-start; margin-top: var(--sp-5); padding: var(--sp-4) var(--sp-5); border-radius: var(--radius-sm); }
.notice .icon { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.notice p { margin: 0; }
.notice--success, .notice--info { background: var(--c-tint); color: var(--c-ink); }
.notice--error { background: #FDF0EC; color: #8A2B08; }

/* ==========================================================================
   17. Pages secondaires (services, adhésion, association, actualités, soutenir, jobs, FAQ, contact)
   ========================================================================== */

/* Espacements réduits quand une section prolonge la précédente (même fond) */
.section--tight-top { padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.section--tight-bottom { padding-bottom: 0; }
.section--tight-bottom:has(> .divider:not(.divider--top)) { padding-bottom: var(--divider-h); }

/* ---------- En-tête de page ---------- */
/* Photo de fond + voile sombre (REMARQUES.md : première section de chaque page imagée, parallax) ;
   l'en-tête du site passe en transparent au-dessus (body.has-hero-image). */
.page-hero {
  --hero-accent: #8FD9E4;          /* turquoise clair : 9.6:1 sur le voile */
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--c-ink); color: rgba(255, 255, 255, 0.86);
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1rem + 4vw, 5.5rem));
  padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
}
.page-hero:has(> .divider) { padding-bottom: calc(clamp(3rem, 2rem + 3vw, 5rem) + var(--divider-h)); }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; will-change: transform; }  /* translateY piloté en JS (parallax) */
.page-hero-bg picture, .page-hero-bg img { display: block; width: 100%; height: 100%; }
.page-hero-bg img { object-fit: cover; animation: hero-zoom 16s var(--ease) both; }
/* Voile : dense à gauche (texte) et en haut (menu), plus léger à droite pour laisser vivre la photo */
.page-hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 30, 36, 0.72) 0%, rgba(8, 30, 36, 0) 34%),
    linear-gradient(90deg, rgba(8, 30, 36, 0.9) 0%, rgba(8, 30, 36, 0.74) 48%, rgba(8, 30, 36, 0.5) 100%),
    linear-gradient(0deg, rgba(19, 94, 107, 0.25), rgba(19, 94, 107, 0.25));
}
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.page-hero--solo .page-hero-grid { grid-template-columns: minmax(0, 52rem); }
.page-hero--solo h1 { font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem); }
.page-hero--solo .page-hero-lead { margin-bottom: var(--sp-5); }
.page-hero h1 { color: var(--c-white); font-size: clamp(2.25rem, 1.4rem + 3vw, 4rem); line-height: 1.04; letter-spacing: -0.04em; margin-bottom: var(--sp-5); text-shadow: 0 2px 40px rgba(0, 0, 0, 0.25); }
.page-hero h1 .accent { color: var(--hero-accent); }
.page-hero-lead { font-size: var(--fs-lg); line-height: 1.6; max-width: 40rem; margin-bottom: var(--sp-6); }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.page-hero-facts { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-6); font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.82); font-weight: 500; }
.page-hero-facts li { display: inline-flex; align-items: center; gap: 0.5rem; }
.page-hero-facts svg { width: 18px; height: 18px; color: var(--hero-accent); flex-shrink: 0; }
.page-hero-aside { align-self: center; color: var(--c-text); }
.page-hero-text > * { animation: hero-in 1s var(--ease) both; }
.page-hero-text > :nth-child(2) { animation-delay: .1s; }
.page-hero-text > :nth-child(3) { animation-delay: .2s; }
.page-hero-text > :nth-child(n+4) { animation-delay: .3s; }
.page-hero-aside { animation: hero-in 1s var(--ease) .3s both; }
/* Fil d'Ariane et liens « Sur cette page » sur la photo */
.page-hero .crumbs ol, .page-hero .crumbs a { color: rgba(255, 255, 255, 0.72); }
.page-hero .crumbs li + li::before { color: rgba(255, 255, 255, 0.4); }
.page-hero .crumbs a:hover { color: var(--c-white); }
.page-hero .crumbs [aria-current="page"] { color: var(--c-white); }
.page-hero .jump-links { box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.16); }
.page-hero .jump-links p { color: rgba(255, 255, 255, 0.66); }
.page-hero .jump-links a { color: var(--c-white); --focus-color: var(--hero-accent); }
.page-hero .jump-links svg { color: var(--hero-accent); }
.page-hero .jump-links a:hover { color: var(--hero-accent); }
.page-hero a:not(.btn) { --focus-color: var(--hero-accent); }

/* Fil d'Ariane */
.crumbs { margin-bottom: var(--sp-5); font-size: var(--fs-xs); font-weight: 600; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0; padding: 0; color: var(--c-muted); }
.crumbs li + li::before { content: "/"; margin-right: 0.35rem; color: rgba(13, 46, 53, 0.3); }
.crumbs a { color: var(--c-muted); text-decoration: none; }
.crumbs a:hover { color: var(--c-brand-strong); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--c-ink); }

/* Liens « Sur cette page » */
.jump-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-6); margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); padding-top: var(--sp-5); box-shadow: 0 -1px 0 rgba(13, 46, 53, 0.1); }
.jump-links p { margin: 0; font-family: var(--f-display); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.jump-links ul { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); }
.jump-links a { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--f-display); font-weight: 700; font-size: var(--fs-sm); color: var(--c-ink); text-decoration: none; padding-block: 0.4rem; }
.jump-links svg { width: 16px; height: 16px; color: var(--c-brand-strong); transition: transform .25s var(--ease); }
.jump-links a:hover { color: var(--c-brand-strong); }
.jump-links a:hover svg { transform: translateY(3px); }

@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-scrim { background: linear-gradient(180deg, rgba(8, 30, 36, 0.8) 0%, rgba(8, 30, 36, 0.7) 50%, rgba(8, 30, 36, 0.84) 100%), linear-gradient(0deg, rgba(19, 94, 107, 0.25), rgba(19, 94, 107, 0.25)); }
}

/* ---------- Vue d'ensemble (tuiles cliquables vers les ancres) ---------- */
.overview-title { font-size: var(--fs-h3); margin-bottom: var(--sp-5); }
.overview { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-4); }
.overview--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.overview li { display: flex; }
.overview-item {
  display: flex; flex-direction: column; gap: 0.35rem; width: 100%;
  padding: 1.5rem 1.4rem 1.4rem; border-radius: var(--radius-md); background: var(--c-paper);
  color: var(--c-text); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.overview-item:hover { transform: translateY(-4px); background: var(--c-white); box-shadow: var(--shadow-md); color: var(--c-text); }
.overview-icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: var(--sp-2); border-radius: 12px; background: var(--c-tint); color: var(--c-brand-strong); transition: background-color .3s var(--ease), color .3s var(--ease); }
.overview-icon svg { width: 22px; height: 22px; }
.overview-item:hover .overview-icon { background: var(--c-brand-strong); color: var(--c-white); }
.overview-item strong { font-family: var(--f-display); font-size: 1.125rem; color: var(--c-ink); letter-spacing: -0.01em; }
.overview-text { font-size: var(--fs-sm); line-height: 1.5; }
.overview-meta { margin-top: auto; padding-top: var(--sp-3); font-size: var(--fs-xs); font-weight: 600; color: var(--c-brand-strong); }
@media (max-width: 1100px) { .overview { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .overview, .overview--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .overview, .overview--3 { grid-template-columns: 1fr; } }

/* ---------- Détail d'un service ---------- */
.service-detail-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.service-detail--flip .service-detail-media { order: 2; }
.service-detail-media { position: sticky; top: calc(var(--header-h) + 2rem); }
.service-detail-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.service-kicker { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: var(--sp-3); font-family: var(--f-display); font-weight: 700; font-size: var(--fs-sm); color: var(--c-brand-strong); }
.service-kicker svg { width: 20px; height: 20px; }
.service-intro { font-size: var(--fs-lg); color: var(--c-ink); margin-bottom: var(--sp-6); }
.service-points { display: grid; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.service-points li { display: grid; grid-template-columns: 22px 1fr; gap: 0.75rem; align-items: start; }
.service-points svg { width: 22px; height: 22px; color: var(--c-brand-strong); margin-top: 2px; }
.service-points strong { display: block; color: var(--c-ink); }

.mini-steps { list-style: none; margin: 0 0 var(--sp-6); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); }
.mini-steps li { padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--c-tint); font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink); line-height: 1.35; }
.mini-steps span { display: block; font-family: var(--f-display); font-size: 1.75rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--c-brand-strong); margin-bottom: 0.4rem; }

.offer-card { margin-bottom: var(--sp-6); padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: var(--radius-lg); background: var(--c-ink); color: var(--c-on-dark-muted); }
.offer-head h3 { color: var(--c-on-dark); font-size: 1.25rem; margin-bottom: var(--sp-2); }
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem; margin-bottom: var(--sp-1); color: var(--c-on-dark); }
.offer-price strong { font-family: var(--f-display); font-size: clamp(2rem, 1.7rem + 1vw, 2.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.offer-price s { font-size: var(--fs-sm); color: var(--c-on-dark-muted); }
.offer-note { font-size: var(--fs-sm); margin-bottom: var(--sp-5); color: #8FD9E4; }
.offer-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3) var(--sp-5); font-size: var(--fs-sm); line-height: 1.45; }
.offer-list li { display: grid; grid-template-columns: 18px 1fr; gap: 0.6rem; align-items: start; }
.offer-list svg { width: 18px; height: 18px; color: var(--c-brand); margin-top: 1px; }
.offer-option { margin: var(--sp-4) 0 0; font-size: var(--fs-xs); }

.service-extras { margin-bottom: var(--sp-6); }
.service-extras h3 { font-size: 1.125rem; margin-bottom: var(--sp-4); }
.service-extras ul { display: grid; gap: var(--sp-4); }
.service-extras li { display: grid; grid-template-columns: 44px 1fr; gap: var(--sp-4); align-items: start; font-size: var(--fs-sm); }
.service-extras strong { display: block; color: var(--c-ink); font-size: 1rem; }
.extra-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--c-tint); color: var(--c-brand-strong); }
.extra-icon svg { width: 22px; height: 22px; }

.service-facts { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-4); font-size: var(--fs-sm); color: var(--c-ink); font-weight: 500; }
.service-facts li { display: flex; align-items: center; gap: 0.6rem; }
.service-facts svg { width: 18px; height: 18px; color: var(--c-brand-strong); flex-shrink: 0; }
.service-note { font-size: var(--fs-sm); color: var(--c-muted); }
.service-figure { margin: 0 0 var(--sp-6); }
.service-figure img { width: 100%; border-radius: var(--radius-md); aspect-ratio: 16 / 9; object-fit: cover; }
.service-figure figcaption { margin-top: var(--sp-2); font-size: var(--fs-xs); color: var(--c-muted); }
.service-detail-body > .btn { margin-top: var(--sp-3); }

@media (max-width: 900px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail--flip .service-detail-media { order: 0; }
  .service-detail-media { position: static; }
  .service-detail-media img { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .mini-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-list { grid-template-columns: 1fr; }
}

/* Bandeau d'information + actions */
.members-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-6); }
.members-band > div:first-child { max-width: 44rem; }
.members-band h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); }
.members-band p { margin: 0; font-size: var(--fs-lg); }
.members-band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-5); }

/* ---------- Adhésion ---------- */
.chooser { padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: var(--radius-lg); background: var(--c-white); box-shadow: var(--shadow-lg); }
.chooser-title { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; color: var(--c-ink); margin-bottom: var(--sp-4); letter-spacing: -0.02em; }
.chooser ul { display: grid; gap: var(--sp-2); }
.chooser a {
  display: grid; grid-template-columns: 1fr auto 36px; align-items: center; gap: var(--sp-4);
  padding: 0.9rem 0.75rem 0.9rem 1.1rem; border-radius: var(--radius-sm); background: var(--c-paper);
  font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; color: var(--c-ink); text-decoration: none;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.chooser a small { display: block; font-family: var(--f-body); font-weight: 500; font-size: var(--fs-xs); color: var(--c-muted); margin-bottom: 2px; }
.chooser a strong { font-size: 1.25rem; letter-spacing: -0.03em; }
.chooser a em { font-style: normal; font-size: var(--fs-xs); font-weight: 600; color: var(--c-muted); margin-left: 3px; }
.chooser a svg { box-sizing: border-box; width: 36px; height: 36px; padding: 9px; border-radius: 10px; background: var(--c-white); color: var(--c-brand-strong); transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.chooser a:hover { background: var(--c-tint); transform: translateX(3px); }
.chooser a:hover svg { background: var(--c-brand-strong); color: var(--c-white); transform: translateY(2px); }
.chooser-note { margin: var(--sp-4) 0 0; font-size: var(--fs-xs); color: var(--c-muted); text-align: center; }

.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: var(--fs-sm); }
.compare th, .compare td { padding: 1rem 1.25rem; text-align: center; vertical-align: middle; }
.compare thead th { font-family: var(--f-display); font-size: 1.125rem; font-weight: 800; color: var(--c-ink); padding-block: 1.4rem; }
.compare thead th small { display: block; font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 600; color: var(--c-muted); margin-top: 2px; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--c-ink); width: 46%; }
.compare tbody tr:nth-child(odd) > * { background: var(--c-paper); }
.compare tbody tr > :first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.compare tbody tr > :last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.compare .is-featured { background: var(--c-tint) !important; }
.compare thead .is-featured { border-radius: var(--radius-md) var(--radius-md) 0 0; }
.compare tbody tr:last-child .is-featured { border-radius: 0 0 var(--radius-md) var(--radius-md); }
.compare .yes svg { width: 22px; height: 22px; margin-inline: auto; color: var(--c-brand-strong); }
.compare .no { color: rgba(13, 46, 53, 0.3); font-weight: 600; }
.compare-cta > * { background: transparent !important; padding-top: 1.25rem; }
.compare-cta .link-arrow { justify-content: center; }

.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
.terms--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.terms li { padding: 1.75rem 1.75rem 1.6rem; border-radius: var(--radius-md); background: var(--c-white); box-shadow: var(--shadow-sm); }
.section--white .terms li { background: var(--c-paper); box-shadow: none; }
.terms-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: var(--sp-4); border-radius: 14px; background: var(--c-tint); color: var(--c-brand-strong); }
.terms-icon svg { width: 24px; height: 24px; }
.terms h3 { font-size: 1.125rem; margin-bottom: var(--sp-2); }
.terms p { margin: 0; font-size: var(--fs-sm); }
@media (max-width: 1020px) { .terms, .terms--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .terms, .terms--4 { grid-template-columns: 1fr; } }

/* Mise en page texte + cartes */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.split-lead { font-size: var(--fs-lg); color: var(--c-ink); }
.duo { display: grid; gap: var(--sp-5); }
.duo-card { padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: var(--radius-lg); background: var(--c-white); box-shadow: var(--shadow-md); }
.duo-card h3 { margin-bottom: var(--sp-2); }
.duo-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: var(--sp-4); border-radius: 14px; background: var(--c-tint); color: var(--c-brand-strong); }
.duo-icon svg { width: 24px; height: 24px; }

/* Bloc « Prendre rendez-vous » : trois cartes, actions alignées en bas, disponibilités dessous */
.booking-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.booking-card { display: flex; flex-direction: column; }
.booking-card--member { background: var(--c-tint); box-shadow: none; }
.booking-card--member .duo-icon { background: var(--c-white); }
.booking-price { margin: 0 0 var(--sp-3); font-family: var(--f-display); font-size: var(--fs-sm); font-weight: 700; color: var(--c-brand-strong); }
.booking-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); margin-top: auto; padding-top: var(--sp-5); }
.booking-facts { margin: var(--sp-6) 0 0; }
@media (max-width: 960px) {
  .booking-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Accordéons FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.faq-layout > div:first-child { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-groups { display: grid; gap: clamp(4rem, 3rem + 3vw, 6rem); }
.faq-list { display: grid; gap: var(--sp-3); }
.faq-item { border-radius: var(--radius-md); background: var(--c-paper); transition: background-color .25s var(--ease), box-shadow .25s var(--ease); }
.faq-item[open] { background: var(--c-white); box-shadow: var(--shadow-md); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: 1.2rem 1.25rem 1.2rem 1.5rem; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.35; color: var(--c-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg {
  flex-shrink: 0; box-sizing: border-box; width: 36px; height: 36px; padding: 9px; border-radius: 10px;
  background: var(--c-white); color: var(--c-brand-strong); transition: transform .35s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.faq-item summary:hover svg { background: var(--c-brand-strong); color: var(--c-white); }
.faq-item[open] summary svg { transform: rotate(45deg); background: var(--c-tint); color: var(--c-brand-strong); }
.faq-item p { margin: 0; padding: 0 1.5rem 1.4rem; }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; gap: var(--sp-5); }
  .faq-layout > div:first-child { position: static; }
}

/* ---------- L'association ---------- */
.intro-split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 1rem + 4vw, 5rem); margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.intro-split-text p:last-child { margin-bottom: 0; }
.intro-split--dark .split-lead { color: var(--c-on-dark); }
.missions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.missions h3 { margin-bottom: var(--sp-2); }
.missions p { margin: 0; font-size: var(--fs-sm); }
.values { margin-top: clamp(3rem, 2rem + 3vw, 5rem); padding: clamp(1.75rem, 1.2rem + 2vw, 3rem); border-radius: var(--radius-lg); background: var(--c-paper); }
.values-title { font-size: var(--fs-h3); margin-bottom: var(--sp-5); }
.values dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6); margin: 0; }
.values dt { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; color: var(--c-brand-strong); margin-bottom: var(--sp-2); }
.values dd { margin: 0; font-size: var(--fs-sm); }
@media (max-width: 1020px) { .missions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .intro-split { grid-template-columns: 1fr; }
  .values dl { grid-template-columns: 1fr; gap: var(--sp-5); }
}
@media (max-width: 520px) { .missions { grid-template-columns: 1fr; } }

.team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-5); }
.team-card { position: relative; display: flex; flex-direction: column; padding: 1rem 1rem 1.4rem; border-radius: var(--radius-lg); background: var(--c-paper); }
.team-photo { aspect-ratio: 1; border-radius: var(--radius-md); overflow: hidden; margin-bottom: var(--sp-4); background: var(--c-tint); }
.team-photo img, .team-photo picture { width: 100%; height: 100%; object-fit: cover; }
.team-initials { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 2.75rem; letter-spacing: -0.04em; color: var(--c-brand-strong); }
.team-initials svg { width: 48px; height: 48px; }
.team-card h3 { font-size: 1.0625rem; margin-bottom: 0.15rem; padding-inline: 0.25rem; }
.team-card p { margin: 0; font-size: var(--fs-sm); line-height: 1.4; padding-inline: 0.25rem; }
.team-mail {
  position: absolute; top: 1.5rem; right: 1.5rem; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; background: var(--c-white); color: var(--c-brand-strong); box-shadow: var(--shadow-sm);
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.team-mail svg { width: 20px; height: 20px; }
.team-mail:hover { background: var(--c-brand-strong); color: var(--c-white); transform: translateY(-2px); }
.team-card--join { background: var(--c-tint); }
.team-card--join .team-photo { background: var(--c-white); }
.team-card--join .link-arrow { margin-top: auto; padding: var(--sp-3) 0.25rem 0; }
@media (max-width: 1100px) { .team { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); } .team-initials { font-size: 2rem; } }

.partner-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
.partner-card { display: flex; flex-direction: column; padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); border-radius: var(--radius-lg); background: var(--c-white); box-shadow: var(--shadow-sm); }
.partner-logo { height: 64px; display: flex; align-items: center; margin-bottom: var(--sp-5); }
.partner-logo img { max-height: 56px; max-width: 180px; width: auto; object-fit: contain; }
.partner-kind { margin: 0 0 var(--sp-1); font-size: var(--fs-xs); font-weight: 700; color: var(--c-brand-strong); }
.partner-card h3 { font-size: 1.125rem; margin-bottom: var(--sp-2); }
.partner-card p:not(.partner-kind) { font-size: var(--fs-sm); }
.partner-card .link-arrow { margin-top: auto; }
.partners-more { margin: var(--sp-6) 0 0; font-size: var(--fs-sm); color: var(--c-muted); }
@media (max-width: 1020px) { .partner-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .partner-cards { grid-template-columns: 1fr; } }

.facts-band dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5); margin: 0; padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: var(--radius-lg); background: var(--c-paper); }
.facts-band dt { font-size: var(--fs-xs); font-weight: 600; color: var(--c-muted); margin-bottom: 2px; }
.facts-band dd { margin: 0; font-weight: 600; color: var(--c-ink); font-size: var(--fs-sm); }
@media (max-width: 900px) { .facts-band dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .facts-band dl { grid-template-columns: 1fr; } }

/* ---------- Actualités ---------- */
.filters { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.filters ul { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.filters a {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 46px; padding: 0.5rem 0.6rem 0.5rem 1.1rem;
  border-radius: 12px; background: var(--c-paper); color: var(--c-ink); text-decoration: none;
  font-family: var(--f-display); font-weight: 700; font-size: var(--fs-sm);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.filters a span { min-width: 28px; padding: 0.15rem 0.45rem; border-radius: 8px; background: var(--c-white); font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 600; text-align: center; color: var(--c-muted); }
.filters a:hover { background: var(--c-tint); color: var(--c-ink); }
.filters a[aria-current="page"] { background: var(--c-ink); color: var(--c-white); }
.filters a[aria-current="page"] span { background: rgba(255, 255, 255, 0.14); color: var(--c-white); }

.news-featured {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); margin-bottom: var(--sp-6);
  border-radius: var(--radius-lg); overflow: hidden; background: var(--c-paper); color: inherit; text-decoration: none;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.news-featured:hover { color: inherit; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-featured-media { overflow: hidden; }
.news-featured-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform .6s var(--ease); }
.news-featured:hover .news-featured-media img { transform: scale(1.03); }
.news-featured-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.75rem, 1.2rem + 2vw, 3rem); }
.news-featured-body h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: var(--sp-4); }
.news-featured-body p:not(.news-meta) { color: var(--c-text); }
.news-grid--list { row-gap: var(--sp-6); }
.news-excerpt { margin: var(--sp-3) 0 0; font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.55; }
.news-card--white { background: var(--c-white); }
@media (max-width: 900px) { .news-featured { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 900px) { .news-grid--list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }

/* ---------- Article ---------- */
.container--article { max-width: calc(46rem + 2 * var(--gutter)); }
.article { background: var(--c-white); padding-bottom: var(--sp-section); }
.page-hero--article h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); line-height: 1.08; letter-spacing: -0.035em; margin-bottom: var(--sp-5); }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); font-size: var(--fs-sm); color: var(--c-muted); }
.article-meta span, .article-meta a { display: inline-flex; align-items: center; gap: 0.45rem; }
.article-meta a { color: var(--c-brand-strong); font-weight: 600; text-decoration: none; }
.article-meta a:hover { text-decoration: underline; }
.article-meta svg { width: 18px; height: 18px; color: var(--c-brand-strong); }
.page-hero .article-meta { color: rgba(255, 255, 255, 0.8); }
.page-hero .article-meta a { color: var(--c-white); }
.page-hero .article-meta svg { color: var(--hero-accent); }
/* Visuel de l'article flouté en fond : ambiance de couleur, sans recadrer une affiche */
.page-hero-bg--blur { inset: -40px; }
.page-hero-bg--blur img { filter: blur(28px) saturate(1.2); animation: none; }
.article-cover { max-width: calc(1100px + 2 * var(--gutter)); margin-top: clamp(1rem, 0.5rem + 1.5vw, 2rem); margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.article-cover img { width: 100%; border-radius: var(--radius-lg); }
.article-body { font-size: 1.125rem; line-height: 1.75; }
.article-body > :first-child { margin-top: 0; }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 1.25rem; }
.article-body ul { list-style: disc; padding-left: 1.3em; }
.article-body ol { list-style: decimal; padding-left: 1.3em; }
.article-body li + li { margin-top: 0.4rem; }
.article-body li::marker { color: var(--c-brand-strong); }
.article-body h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem); margin: 2.5rem 0 1rem; }
.article-body h3 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.article-body strong { color: var(--c-ink); }
.article-body a { color: var(--c-brand-strong); text-decoration: underline; text-decoration-thickness: 1px; }
.article-body blockquote { margin: 2rem 0; padding: 1.5rem 1.75rem; border-radius: var(--radius-md); background: var(--c-tint); color: var(--c-ink); font-size: var(--fs-lg); }
.article-body blockquote > :last-child { margin-bottom: 0; }
.article-body img { border-radius: var(--radius-md); margin: 2rem auto; }
.article-body figure { margin: 2rem 0; }
.article-body figure img { margin: 0 auto; }
.realisations-news-title { margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 var(--sp-5); font-size: var(--fs-h3); }
.realisation-list + .realisations-news-title { padding-top: var(--sp-6); box-shadow: 0 -1px 0 rgba(13, 46, 53, 0.1); }
.section-head + .realisations-news-title { margin-top: 0; }
.article-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-3); margin: 2rem 0; }
.article-gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; margin: 0; border-radius: var(--radius-sm); cursor: zoom-in; transition: opacity .25s; }
.article-gallery img:hover { opacity: .88; }
.lightbox { width: min(1100px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--radius-md); background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(13, 46, 53, .88); }
.lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 96px); margin: 0 auto; border-radius: var(--radius-md); }
.lightbox-bar { display: flex; justify-content: center; gap: var(--sp-2); margin-top: var(--sp-3); }
.lightbox-bar button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; background: rgba(255,255,255,.14); color: var(--c-white); cursor: pointer; }
.lightbox-bar button:hover { background: var(--c-brand-strong); }
.lightbox-bar svg { width: 20px; height: 20px; }
@media (max-width: 600px) { .article-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.article-share { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-4); margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.article-share-title { display: inline-flex; align-items: center; gap: var(--sp-2); margin: 0; font-weight: 600; }
.article-share-title svg { width: 18px; height: 18px; }
.article-share ul { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.article-share a, .article-share button { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 12px; background: var(--c-paper); color: var(--c-ink); cursor: pointer; transition: background-color .25s, color .25s; }
.article-share a:hover, .article-share button:hover { background: var(--c-brand-strong); color: var(--c-white); }
.article-share svg { width: 20px; height: 20px; }
.article-share-status { flex-basis: 100%; margin: 0; font-size: var(--fs-sm); color: var(--c-muted); }
.article-share-status:empty { display: none; }
.article-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4); margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding-top: var(--sp-6); box-shadow: 0 -1px 0 rgba(13, 46, 53, 0.1); }
.article-foot p { margin: 0; font-size: var(--fs-sm); }

.cta-slim { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-6); }
.cta-slim > div:first-child { max-width: 40rem; }
.cta-slim p { margin: 0; font-size: var(--fs-lg); }

/* ---------- Soutenir ---------- */
.donate-card { padding: clamp(1.5rem, 1.2rem + 1vw, 2.5rem); border-radius: var(--radius-lg); background: var(--c-paper); }
.section--paper .donate-card { background: var(--c-white); box-shadow: var(--shadow-md); }
.donate-card h3 { font-size: 1.25rem; margin-bottom: var(--sp-2); }
.donate-card > p { font-size: var(--fs-sm); }
.donate-iban { margin-top: var(--sp-6); padding-top: var(--sp-5); box-shadow: 0 -1px 0 rgba(13, 46, 53, 0.1); }
.donate-iban h3 { font-size: 1.0625rem; }
.donate-iban dl { display: grid; gap: var(--sp-2); margin: 0; font-size: var(--fs-sm); }
.donate-iban dl div { display: grid; grid-template-columns: 8.5rem 1fr; gap: var(--sp-3); }
.donate-iban dt { color: var(--c-muted); }
.donate-iban dd { margin: 0; font-weight: 600; color: var(--c-ink); font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .donate-iban dl div { grid-template-columns: 1fr; gap: 0; } }
.step--white { background: var(--c-white); box-shadow: var(--shadow-sm); }
.plans--tiers { margin-top: clamp(1rem, 0.5rem + 2vw, 2.5rem); }
.plans--tiers .plan { padding-top: clamp(1.75rem, 1.4rem + 1vw, 2.5rem); }
.link-arrow--light { color: #8FD9E4; }
.link-arrow--light:hover { color: var(--c-white); }
.cta-final--after-dark { padding-top: var(--sp-section); }

/* ---------- Jobs / encadrés d'état ---------- */
.status-card { padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: var(--radius-lg); background: var(--c-white); box-shadow: var(--shadow-lg); }
.status-card .btn { margin-top: var(--sp-2); }
.status-card .btn + .btn { margin-top: var(--sp-3); }
.status-label { display: flex; align-items: center; gap: 0.5rem; margin-bottom: var(--sp-2); font-size: var(--fs-xs); font-weight: 700; color: var(--c-muted); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-sun); box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.15); }
.status-title { font-family: var(--f-display); font-weight: 800; font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.02em; color: var(--c-ink); margin-bottom: var(--sp-3); }
.status-card > p:not(.status-label):not(.status-title):not(.status-note) { font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.status-note { margin: var(--sp-4) 0 0; font-size: var(--fs-xs); color: var(--c-muted); }

.jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
.job-card { display: flex; flex-direction: column; padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); border-radius: var(--radius-lg); background: var(--c-white); box-shadow: var(--shadow-sm); }
.job-head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-2); }
.job-head .duo-icon { margin: 0; }
.job-card h3 { margin-bottom: var(--sp-2); font-size: 1.1875rem; }
.job-card p { font-size: var(--fs-sm); }
.job-profile { margin: auto 0 0; padding-top: var(--sp-3); color: var(--c-muted); }
.job-profile strong { color: var(--c-ink); }
@media (max-width: 1020px) { .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .jobs { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.contact-form h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem); margin-bottom: var(--sp-2); }
.contact-form-intro { color: var(--c-muted); font-size: var(--fs-sm); }
.contact-form .form { margin-top: var(--sp-5); }
.contact-form .field input:not([type="checkbox"]), .contact-form .field textarea { background: var(--c-paper); box-shadow: none; }
.contact-form .field input:focus, .contact-form .field textarea:focus { background: var(--c-white); box-shadow: 0 0 0 4px rgba(39, 156, 176, .25), var(--shadow-md); }
.contact-form .field [aria-invalid="true"] { background: #FDF0EC; }
.contact-side { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: var(--sp-5); }
.contact-side .contact-card { box-shadow: var(--shadow-md); background: var(--c-paper); }
.contact-map { margin-top: var(--sp-5); }
.contact-shortcuts { padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); border-radius: var(--radius-lg); background: var(--c-tint); }
.contact-shortcuts-title { font-family: var(--f-display); font-weight: 800; color: var(--c-ink); margin-bottom: var(--sp-3); }
.contact-shortcuts ul { display: grid; gap: var(--sp-1); }
.contact-shortcuts a { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0; font-weight: 600; color: var(--c-ink); text-decoration: none; font-size: var(--fs-sm); }
.contact-shortcuts a svg { width: 20px; height: 20px; color: var(--c-brand-strong); flex-shrink: 0; transition: transform .25s var(--ease); }
.contact-shortcuts a:hover { color: var(--c-brand-strong); }
.contact-shortcuts a:hover svg { transform: translateX(3px); }
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-side { position: static; }
}

/* Pagination */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-3) var(--sp-5); margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.pager ol { display: flex; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
.pager ol a {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px;
  background: var(--c-paper); color: var(--c-ink); font-family: var(--f-display); font-weight: 700; text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.pager ol a:hover { background: var(--c-tint); }
.pager ol a[aria-current="page"] { background: var(--c-ink); color: var(--c-white); }
.pager-step { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--f-display); font-weight: 700; font-size: var(--fs-sm); color: var(--c-brand-strong); text-decoration: none; }
.pager-step svg { width: 18px; height: 18px; }
.pager-step:hover { color: var(--c-brand-deep); }
.form > .btn { justify-self: start; }

/* ==========================================================================
   18. Cookies : bandeau, fenêtre de réglages (surcharge de core/assets/css/consent.css),
       lecteurs intégrés sous consentement, page Gestion des cookies
   ========================================================================== */
body .cc-banner {
  inset: auto 0 0 auto;
  margin: 0 25px 25px; width: min(560px, calc(100% - 50px));
  background: var(--c-ink); color: var(--c-on-dark-muted);
  border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
body .cc-banner__inner { display: block; max-width: none; padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
body .cc-banner__text { font-size: var(--fs-sm); line-height: 1.55; }
body .cc-banner__title {
  display: flex; align-items: center; gap: 0.6rem; margin: 0 0 var(--sp-3);
  font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--c-white);
}
body .cc-banner__title svg { width: 24px; height: 24px; color: #8FD9E4; flex-shrink: 0; }
body .cc-banner__text p:last-child { margin-bottom: var(--sp-5); }
body .cc-banner a { color: #8FD9E4; font-weight: 600; }
body .cc-banner a:hover { color: var(--c-white); }
body .cc-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--sp-3); }
body .cc-actions .btn { min-height: 48px; padding: 0.4rem 0.4rem 0.4rem 1.1rem; font-size: var(--fs-sm); gap: 0.7rem; }
body .cc-actions .btn svg { width: 32px; height: 32px; padding: 8px; border-radius: 9px; }
body .cc-link {
  margin-right: auto; padding: 0.6rem 0; background: none; border: 0; cursor: pointer;
  font: 600 var(--fs-sm) var(--f-body); color: var(--c-white); text-decoration: underline; text-underline-offset: 4px;
}
body .cc-link:hover { color: #8FD9E4; }

body .cc-dialog { width: min(640px, calc(100% - 32px)); border-radius: var(--radius-lg); background: var(--c-white); color: var(--c-text); box-shadow: var(--shadow-lg); }
body .cc-dialog::backdrop { background: rgba(13, 46, 53, 0.6); backdrop-filter: blur(3px); }
body .cc-dialog__head { padding: 1.75rem 1.75rem 0.75rem; }
body .cc-dialog__head h2 { margin: 0; font-size: 1.5rem; }
body .cc-dialog__close {
  width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; cursor: pointer;
  border-radius: 12px; background: var(--c-paper); color: var(--c-ink); transition: background-color .25s var(--ease), color .25s var(--ease);
}
body .cc-dialog__close svg { width: 20px; height: 20px; }
body .cc-dialog__close:hover { background: var(--c-ink); color: var(--c-white); }
body .cc-dialog__body { padding: 0 1.75rem 0.5rem; font-size: var(--fs-sm); }
body .cc-dialog__body > p { color: var(--c-muted); }
body .cc-cat { padding: 1.1rem 1.25rem; border-radius: var(--radius-md); background: var(--c-paper); }
body .cc-cat__label { font-family: var(--f-display); font-weight: 700; color: var(--c-ink); }
body .cc-cat p { margin: 0; font-size: var(--fs-sm); }
body .cc-cat__state { color: var(--c-brand-strong); }
body .cc-switch input:checked + .cc-switch__track { background: var(--c-brand-strong); }
body .cc-switch input:focus-visible + .cc-switch__track { outline: 3px solid var(--c-brand); }
body .cc-dialog__foot { gap: var(--sp-3); padding: 1.25rem 1.75rem 1.75rem; }
body .cc-dialog__foot .btn { min-height: 48px; font-size: var(--fs-sm); }
body .cc-dialog__foot .btn--ghost { padding-right: 1.35rem; background: var(--c-paper); box-shadow: none; }
body .cc-dialog__foot .btn--primary { padding: 0.4rem 0.4rem 0.4rem 1.1rem; }
body .cc-dialog__foot .btn--primary svg { width: 32px; height: 32px; padding: 8px; border-radius: 9px; }
@media (max-width: 600px) {
  body .cc-banner { margin: 0 12px 12px; width: calc(100% - 24px); }
  body .cc-actions .btn { flex: 1 1 auto; justify-content: space-between; }
  body .cc-link { width: 100%; text-align: left; }
  body .cc-dialog__foot .btn { flex: 1 1 100%; justify-content: space-between; }
}

/* Lecteurs tiers : l'iframe n'apparaît qu'une fois autorisée (consent.js renseigne src) */
.embed { margin: 2rem 0; }
.embed iframe { display: block; width: 100%; border: 0; border-radius: var(--radius-md); }
.embed iframe:not([src]) { display: none; }
.embed iframe[src] + .embed-placeholder { display: none; }
.embed--spotify iframe { height: 352px; }
.embed--youtube iframe { aspect-ratio: 16 / 9; height: auto; }
.embed-placeholder { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-radius: var(--radius-md); background: var(--c-tint); }
.embed-placeholder p { margin: 0 0 var(--sp-4); font-size: var(--fs-sm); line-height: 1.55; }
.embed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); }
.article-body .embed-actions .link-arrow { text-decoration: none; }

/* Page Gestion des cookies */
.cookie-groups { display: grid; gap: var(--sp-5); }
.cookie-group { padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: var(--radius-lg); background: var(--c-white); box-shadow: var(--shadow-sm); }
.cookie-group-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-2); }
.cookie-group-head h3 { margin: 0; }
.cookie-state { margin: 0; font-size: var(--fs-xs); font-weight: 700; color: var(--c-sun); }
.cookie-state--on { color: var(--c-brand-strong); }
.cookie-group > p { font-size: var(--fs-sm); }
.cookie-table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: var(--fs-sm); }
.cookie-table th, .cookie-table td { padding: 0.85rem 1rem; text-align: left; vertical-align: top; }
.cookie-table thead th { font-family: var(--f-display); font-weight: 700; color: var(--c-ink); font-size: var(--fs-xs); }
.cookie-table tbody > tr:nth-child(odd) > * { background: var(--c-paper); }
.cookie-table tbody tr > :first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.cookie-table tbody tr > :last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.cookie-table code, .cookie-names code { font-size: 0.875em; color: var(--c-ink); background: var(--c-tint); padding: 0.1em 0.4em; border-radius: 6px; }
.cookie-services { display: grid; gap: var(--sp-2); margin-top: var(--sp-3); }
.cookie-services li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: 0.75rem 1rem; border-radius: var(--radius-sm); background: var(--c-paper); }
.cookie-services strong { color: var(--c-ink); }
.cookie-names { margin: var(--sp-4) 0 0; font-size: var(--fs-sm); }
.cookie-cta { margin-top: var(--sp-6); }
.split--top { align-items: start; }
.browser-links { display: grid; gap: var(--sp-2); }
.browser-links a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: 1rem 1.25rem;
  border-radius: var(--radius-md); background: var(--c-paper); color: var(--c-ink); font-family: var(--f-display); font-weight: 700; text-decoration: none;
  transition: background-color .25s var(--ease);
}
.browser-links a svg { width: 20px; height: 20px; color: var(--c-brand-strong); }
.browser-links a:hover { background: var(--c-tint); }

/* ==========================================================================
   19. Appels et castings (articles marqués « appel » dans la console)
   ========================================================================== */
/* Mention sous le titre des cartes : texte simple, sans pastille (REMARQUES.md) */
.call-flag { display: flex; align-items: center; gap: 0.4rem; margin: var(--sp-3) 0 0; font-size: var(--fs-xs); font-weight: 700; line-height: 1.3; }
.call-flag svg { width: 16px; height: 16px; flex-shrink: 0; }
.call-flag--open { color: var(--c-sun); }
.call-flag--closed { color: var(--c-muted); font-weight: 600; }

/* Encadré en tête d'article */
.call-box {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--sp-4) var(--sp-5); align-items: center;
  margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-radius: var(--radius-md);
}
.call-box--open { background: #FCEEE6; }
.call-box--closed { background: var(--c-paper); }
.call-box-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--c-white); box-shadow: var(--shadow-sm); }
.call-box--open .call-box-icon { color: var(--c-sun); }
.call-box--closed .call-box-icon { color: var(--c-muted); }
.call-box-icon svg { width: 24px; height: 24px; }
.call-box-title { margin: 0 0 var(--sp-1); font-family: var(--f-display); font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em; color: var(--c-ink); }
.call-box-text p:last-child { margin: 0; font-size: var(--fs-sm); }
@media (max-width: 680px) {
  .call-box { grid-template-columns: auto minmax(0, 1fr); }
  .call-box-action { grid-column: 1 / -1; }
  .call-box-action .btn { width: 100%; justify-content: space-between; }
}

/* Filtre « Appels ouverts » */
.filters a.filters-calls svg { width: 16px; height: 16px; color: var(--c-sun); }
.filters a.filters-calls[aria-current="page"] svg { color: #FDBA8C; }

/* Page Jobs : appels en cours */
.calls-list { display: grid; gap: var(--sp-4); }
.news-card--row { flex-direction: row; }
.news-card--row .news-media { width: 38%; flex-shrink: 0; aspect-ratio: auto; }
.news-card--row .news-body { padding: 1.25rem 1.5rem; }
.news-card--row h3 { font-size: 1.0625rem; }
@media (max-width: 520px) { .news-card--row { flex-direction: column; } .news-card--row .news-media { width: auto; aspect-ratio: 16 / 9; } }
.calls-none { display: flex; align-items: flex-start; gap: 0.6rem; padding: var(--sp-4) var(--sp-5); border-radius: var(--radius-md); background: var(--c-white); font-size: var(--fs-sm); color: var(--c-ink); }
.calls-none svg { width: 20px; height: 20px; color: var(--c-muted); flex-shrink: 0; margin-top: 2px; }

/* ---------- Jobs : postes ouverts (console › Jobs & bénévolat) ---------- */
.status-card--open .status-dot { background: #15803D; box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.15); }
.status-jobs { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.status-jobs a {
  display: flex; flex-direction: column; padding: 0.7rem 0.9rem; border-radius: var(--radius-sm); background: var(--c-paper);
  font-family: var(--f-display); font-weight: 700; font-size: var(--fs-sm); color: var(--c-ink); text-decoration: none;
  transition: background-color .25s var(--ease);
}
.status-jobs a:hover { background: var(--c-tint); }
.status-jobs small { font-family: var(--f-body); font-weight: 500; font-size: var(--fs-xs); color: var(--c-muted); }
.job-card--open { background: var(--c-white); box-shadow: var(--shadow-md), 0 0 0 0 transparent; }
.job-card--open .duo-icon { background: #FCEEE6; color: var(--c-sun); }
.job-card .call-flag { margin: 0 0 var(--sp-3); }
.job-apply { margin-top: var(--sp-4); align-self: flex-start; }
.job-card { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

/* ==========================================================================
   20. Agenda (console › Contenu › Agenda)
   ========================================================================== */
.event-list { display: grid; gap: var(--sp-5); }
.event-list--past { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.event-card {
  display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 300px); gap: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); align-items: start;
  padding: clamp(1.25rem, 1rem + 1vw, 2rem); border-radius: var(--radius-lg); background: var(--c-paper);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.event-card:not(:has(.event-media)) { grid-template-columns: 96px minmax(0, 1fr); }
.section--paper .event-card { background: var(--c-white); box-shadow: var(--shadow-sm); }
.event-date {
  display: flex; flex-direction: column; align-items: center; margin: 0; padding: 0.9rem 0.5rem; border-radius: var(--radius-md);
  background: var(--c-ink); color: var(--c-white); text-align: center; line-height: 1;
}
.event-date strong { font-family: var(--f-display); font-size: 2.25rem; font-weight: 800; letter-spacing: -0.04em; }
.event-date span { margin-top: 0.3rem; font-family: var(--f-display); font-weight: 700; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.06em; color: #8FD9E4; }
.event-date small { margin-top: 0.3rem; font-size: var(--fs-xs); color: var(--c-on-dark-muted); }
.event-kind { margin: 0 0 var(--sp-2); font-size: var(--fs-xs); font-weight: 700; color: var(--c-brand-strong); }
.event-cancelled { color: var(--c-sun); }
.event-title { margin-bottom: var(--sp-3); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); }
.event-facts { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-4); font-size: var(--fs-sm); color: var(--c-ink); font-weight: 500; }
.event-facts li { display: grid; grid-template-columns: 18px 1fr; gap: 0.6rem; align-items: start; }
.event-facts svg { width: 18px; height: 18px; margin-top: 2px; color: var(--c-brand-strong); }
.event-address { display: block; font-weight: 400; color: var(--c-muted); }
.event-desc { font-size: var(--fs-sm); }
.event-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); }
.event-card--cancelled .event-title { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--c-muted); }
/* Événements passés : version compacte */
.event-card--past { grid-template-columns: 72px minmax(0, 1fr) !important; padding: 1.25rem; }
.event-card--past .event-date { padding: 0.7rem 0.4rem; background: var(--c-tint); color: var(--c-ink); }
.event-card--past .event-date strong { font-size: 1.6rem; }
.event-card--past .event-date span { color: var(--c-brand-strong); }
.event-card--past .event-date small { color: var(--c-muted); }
.event-card--past .event-title { font-size: 1.0625rem; margin-bottom: var(--sp-2); }
.event-card--past .event-facts { margin-bottom: var(--sp-2); font-size: var(--fs-xs); }
@media (max-width: 900px) {
  .event-card, .event-card:not(:has(.event-media)) { grid-template-columns: 72px minmax(0, 1fr); }
  .event-media { grid-column: 1 / -1; order: -1; }
  .event-media img { aspect-ratio: 16 / 9; }
  .event-list--past { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .event-card .event-cta.btn { width: 100%; justify-content: space-between; }
}

/* ---------- Be Digital (/liberez-votre-potentiel-creatif) ---------- */
.overview--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bd-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
.bd-card { display: grid; align-content: start; gap: var(--sp-3); padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: var(--radius-lg); background: var(--c-white); box-shadow: var(--shadow-md); scroll-margin-top: calc(var(--header-h) + var(--sp-5)); }
.bd-card-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--c-tint); color: var(--c-brand-strong); }
.bd-card-icon svg { width: 26px; height: 26px; }
.bd-card h3 { margin: 0; font-size: var(--fs-h3); }
.bd-card p { margin: 0; }
.bd-cta { margin: var(--sp-6) 0 0; text-align: center; }
.service-more { margin: var(--sp-4) 0 0; }
#site-web { scroll-margin-top: var(--header-h); }
@media (max-width: 900px) { .bd-cards { grid-template-columns: minmax(0, 1fr); } .overview--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .overview--4 { grid-template-columns: 1fr; } }

/* ---------- Réalisations (/realisations) ---------- */
.realisations-year { scroll-margin-top: var(--header-h); }
.realisation-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-6); }
.realisation { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
.realisation--text { grid-template-columns: minmax(0, 1fr); }
.realisation--text .realisation-body { max-width: 52rem; padding-left: clamp(0px, 2vw, 1.5rem); box-shadow: none; }
.realisation-media { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); background: var(--c-white); }
.realisation-media img { display: block; width: 100%; height: auto; }
.realisation-date { margin: 0 0 var(--sp-1); color: var(--c-brand-strong); font-weight: 600; font-size: var(--fs-sm); }
.realisation-date time { display: inline-block; }
.realisation-date time::first-letter { text-transform: uppercase; }
.realisation-body h3 { margin: 0 0 var(--sp-3); font-size: var(--fs-h3); }
.realisation-text p { margin: 0 0 var(--sp-3); }
.realisation-text ul { margin: 0 0 var(--sp-3); padding-left: 1.2rem; }
.realisation-text li { margin-bottom: var(--sp-1); }
@media (max-width: 760px) { .realisation { grid-template-columns: minmax(0, 1fr); } .realisation-media { max-width: 480px; } }

/* ---------- Bouton « haut de page » (pied de page, affiché au défilement par main.js) ---------- */
.to-top {
  position: fixed; right: clamp(1rem, 0.6rem + 1.5vw, 1.75rem); bottom: clamp(1rem, 0.6rem + 1.5vw, 1.75rem); z-index: 80;
  display: grid; place-items: center; width: 48px; height: 48px;
  color: var(--c-white); background: var(--c-brand-strong); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), visibility .3s, transform .3s var(--ease), background-color .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--c-white); background: var(--c-brand-deep); }
.to-top:hover svg { transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.nav-open .to-top { visibility: hidden; opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .to-top, .to-top svg { transition: none; }
}

/* ---------- Constructeur de pages (Contenu › Pages) : blocs au design OPDV ----------
   Gabarits : core/views/builder/blocks/ (génériques) et site/views/builder/ (en-tête, bandeau, FAQ, sections). */
.section--brand { background: var(--c-brand-strong); color: #E2F2F4; }
.section--brand h2, .section--brand h3 { color: var(--c-white); }
.section--brand .pb-head p, .section--dark .pb-head p { color: inherit; opacity: .9; }
.pb-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.pb-head h2 { margin-bottom: var(--sp-3); }
.pb-head p { margin: 0; font-size: var(--fs-lg); color: var(--c-muted); }
.pb-head p + p { margin-top: var(--sp-3); }
.pb-prose { max-width: 50rem; }
.pb-prose > :first-child { margin-top: 0; }
.pb-prose .pb-title { margin-bottom: var(--sp-5); }
.pb-prose h2:not(.pb-title) { margin: var(--sp-7) 0 var(--sp-3); font-size: var(--fs-h3); } /* parties d'un texte (ex. conditions générales) */
.pb-prose h2:not(.pb-title):first-child { margin-top: 0; }
.pb-prose h3 { margin: var(--sp-6) 0 var(--sp-2); font-size: 1.125rem; }
.pb-prose p, .pb-prose ul, .pb-prose ol { margin-bottom: var(--sp-4); }
.pb-prose ul, .pb-prose ol { padding-left: 1.2em; list-style: disc; }
.pb-prose ol { list-style: decimal; }
.pb-prose li + li { margin-top: var(--sp-1); }
.pb-prose li::marker { color: var(--c-brand-strong); }
.pb-prose a:not(.btn) { color: var(--c-brand-strong); text-decoration: underline; text-decoration-thickness: 1px; }
.pb-prose strong { color: var(--c-ink); }
.pb-prose blockquote { margin: var(--sp-6) 0; padding: 1.5rem 1.75rem; border-radius: var(--radius-md); background: var(--c-tint); color: var(--c-ink); font-size: var(--fs-lg); }
.pb-prose blockquote > :last-child { margin-bottom: 0; }
.section--dark .pb-prose, .section--brand .pb-prose { color: var(--c-on-dark-muted); }
.section--dark .pb-prose strong, .section--brand .pb-prose strong, .section--dark .pb-prose a:not(.btn), .section--brand .pb-prose a:not(.btn) { color: var(--c-white); }
.section--tint .pb-prose blockquote { background: var(--c-white); }
.pb-text--center .pb-prose { margin-inline: auto; text-align: center; }
.pb-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.pb-link { display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: 600; color: var(--c-brand-strong); text-decoration: none; }
.pb-link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.pb-link:hover svg { transform: translateX(4px); }

/* En-tête : image à droite (comme la page Réussir dans le cinéma) */
.pb-hero-visual { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.pb-hero-visual img { display: block; width: 100%; height: auto; }

/* Image, image + texte */
.pb-figure { max-width: 50rem; margin: 0 auto; }
.pb-image--wide .pb-figure { max-width: none; }
.pb-figure img, .pb-split__media img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
.pb-figure figcaption, .pb-video figcaption { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--c-muted); text-align: center; }
.pb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.pb-split--reverse .pb-split__media { order: 2; }
.pb-split__body .pb-actions { margin-top: var(--sp-5); }
@media (max-width: 900px) { .pb-split { grid-template-columns: 1fr; } .pb-split--reverse .pb-split__media { order: 0; } }

/* Cartes (comme les cartes d'actualités) */
.pb-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5); }
.pb-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pb-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
.pb-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-md); background: var(--c-paper); color: var(--c-text); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.section--paper .pb-card, .section--tint .pb-card { background: var(--c-white); }
.section--dark .pb-card { background: var(--c-ink-2); color: var(--c-on-dark-muted); }
.section--dark .pb-card h3 { color: var(--c-white); }
.section--brand .pb-card { background: var(--c-white); }
.section--brand .pb-card h3 { color: var(--c-ink); }
.pb-card--link:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pb-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.pb-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pb-card--link:hover .pb-card__media img { transform: scale(1.04); }
.pb-card__body { display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; padding: 1.75rem 2rem 2rem; }
.pb-cards--4 .pb-card__body { padding: 1.5rem; }
.pb-card__body h3 { margin: 0; font-size: 1.1875rem; line-height: 1.3; }
.pb-card__body p { margin: 0; font-size: var(--fs-sm); }
.pb-card__link { margin-top: auto; padding-top: var(--sp-2); }
.pb-card__link::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 1020px) { .pb-cards--3, .pb-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pb-cards, .pb-cards--2, .pb-cards--3, .pb-cards--4 { grid-template-columns: 1fr; } }

/* Galerie (agrandissement : main.js) */
.pb-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: var(--sp-3); }
.pb-gallery img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); cursor: zoom-in; transition: opacity .25s; }
.pb-gallery img:hover { opacity: .88; }
@media (max-width: 600px) { .pb-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Vidéo */
.pb-video { max-width: 56rem; margin: 0 auto; }
.pb-video .embed { margin: 0; }

/* Points clés (pictos comme l'aperçu des services) */
.pb-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.pb-features--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pb-features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pb-features__icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: var(--sp-4); border-radius: 14px; background: var(--c-tint); color: var(--c-brand-strong); }
.section--tint .pb-features__icon { background: var(--c-white); }
.section--dark .pb-features__icon, .section--brand .pb-features__icon { background: rgba(255, 255, 255, 0.12); color: var(--c-white); }
.pb-features__icon svg { width: 24px; height: 24px; }
.pb-features h3 { margin-bottom: var(--sp-2); font-size: 1.125rem; }
.pb-features p { margin: 0; font-size: var(--fs-sm); }
.section--dark .pb-features p, .section--brand .pb-features p { color: inherit; }
@media (max-width: 900px) { .pb-features, .pb-features--3, .pb-features--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pb-features, .pb-features--2, .pb-features--3, .pb-features--4 { grid-template-columns: 1fr; } }

/* FAQ du constructeur : réponses en paragraphes */
.pb-faq-solo { max-width: 52rem; }
.section--paper .faq-item, .section--tint .faq-item { background: var(--c-white); }
