/* QuentinProject for Life — site actuel nettoyé, version « intention Awwwards »
   Mêmes pages, mêmes contenus, même logique. Grotesque fine (Inter Tight), angles droits,
   vidéo plein écran, menu transparent. Chaque bloc indique son réglage Wix (bouton « Réglages Wix »). */

:root {
  --blue: #000093;
  --blue-deep: #00006b;
  --blue-hover: #2a2ed6;  /* survol : un bleu plus lumineux, jamais du noir */
  --sky: #8b8fd6;
  --ink: #0f0e17;
  --grey: #5d5b68;
  --line: #e4e3ea;
  --paper: #f4f4f6;
  --white: #fff;

  --display: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;

  --max: 1360px;
  --gut: clamp(20px, 3.4vw, 56px);
  --sec: clamp(96px, 12vw, 180px);
  --head: 96px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 40px; }
html.is-loading { overflow: hidden; }
body { margin: 0; font: 400 17px/1.65 var(--text); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/* le contenu porte son propre fond blanc : pendant les transitions, le fond de la page passe au bleu
   (Safari colore ses barres avec) sans que ce bleu apparaisse derrière le texte ou l'en-tête */
main { background: var(--white); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--blue); color: #fff; }
sup { font-size: 0.6em; line-height: 0; vertical-align: 0.62em; }

.container { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--sec); }
.section--paper { background: var(--paper); }
.section--blue { background: var(--blue); color: #fff; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--blue); color: #fff; }
.skip:focus { top: 12px; }

/* ---------- Typographie : grande, fine, serrée ---------- */
.d1 { font: 300 clamp(54px, 8.8vw, 164px)/0.94 var(--display); letter-spacing: -0.05em; }
.h1 { font: 300 clamp(46px, 7vw, 124px)/0.98 var(--display); letter-spacing: -0.045em; }
.h2 { font: 300 clamp(38px, 4.8vw, 86px)/1.02 var(--display); letter-spacing: -0.04em; }
.h3 { font: 400 clamp(22px, 1.75vw, 28px)/1.22 var(--display); letter-spacing: -0.02em; }
.statement { font: 300 clamp(28px, 3.1vw, 52px)/1.16 var(--display); letter-spacing: -0.03em; text-wrap: pretty; }
.p { color: var(--grey); }
.p + .p { margin-top: 1em; }
.section--blue .p { color: rgba(255, 255, 255, 0.78); }
.hl { color: var(--blue); }
.section--blue .hl { color: var(--sky); }
.eyebrow { display: inline-flex; align-items: flex-start; gap: 12px; font: 500 12px/1.3 var(--text); letter-spacing: 0.01em; text-transform: uppercase; color: var(--ink); }
.eyebrow::before { content: ''; width: 8px; height: 8px; margin-top: calc((1.3em - 8px) / 2); background: var(--blue); flex: none; }
.section--blue .eyebrow, .hero .eyebrow { color: #fff; }
.section--blue .eyebrow::before, .hero .eyebrow::before { background: var(--sky); }

/* ---------- Boutons : angles droits, case flèche ---------- */
.btn {
  display: inline-flex;
  align-items: stretch;
  height: 58px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font: 500 13px/1 var(--text);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.btn__t { display: flex; align-items: center; padding: 0 26px; }
.btn__a { position: relative; display: grid; place-items: center; width: 58px; border-left: 1px solid rgba(255, 255, 255, 0.22); overflow: hidden; }
.btn__a svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.btn:hover { background: var(--blue-hover); }
.btn:hover .btn__a svg { transform: translateX(4px); }
.btn--light { background: #fff; color: var(--blue); }
.btn--light .btn__a { border-left-color: rgba(0, 0, 147, 0.16); }
.btn--light:hover { background: var(--blue); color: #fff; }
.btn--light:hover .btn__a { border-left-color: rgba(255, 255, 255, 0.22); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--ghost .btn__a { border-left-color: rgba(15, 14, 23, 0.2); }
.btn--ghost:hover { background: var(--blue); color: #fff; box-shadow: inset 0 0 0 1px var(--blue); }
.btn--ghost:hover .btn__a { border-left-color: rgba(255, 255, 255, 0.22); }
.btn--sm { height: 46px; }
.btn--sm .btn__t { padding: 0 18px; }
.btn--sm .btn__a { width: 46px; }
.btn--full { width: 100%; }
.btn--full .btn__t { flex: 1; justify-content: center; }

.tlink { display: inline-flex; align-items: center; gap: 14px; padding-bottom: 10px; font: 500 13px/1 var(--text); letter-spacing: 0.01em; text-transform: uppercase; text-decoration: none; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.6s var(--ease), color 0.3s; }
.tlink svg { width: 18px; height: 18px; transition: transform 0.5s var(--ease); }
.tlink:hover { background-size: 30% 1px; color: var(--blue); }
.section--blue .tlink:hover, .hero .tlink:hover { color: var(--sky); }
.tlink:hover svg { transform: translateX(5px); }
.section--blue .tlink, .hero .tlink { color: #fff; }

/* ---------- En-tête transparent ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--head);
  color: var(--ink);
  transition: transform 0.7s var(--ease), opacity 0.5s;
}
.header[data-tone='light'] { color: #fff; }
.header.is-off { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.header .container { height: 100%; display: flex; align-items: center; gap: 40px; }
.logo { position: relative; display: block; width: 188px; height: 60px; flex: none; }
.logo img { width: 100%; height: 100%; }
.nav { margin-left: auto; display: flex; gap: 38px; }
.nav a { position: relative; font: 500 13px/1 var(--text); letter-spacing: 0.01em; text-transform: uppercase; text-decoration: none; padding-block: 8px; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav a:hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.header .btn--light { flex: none; }
/* Langue : lien discret dans l'en-tête (et dans le menu plein écran) vers la même page dans l'autre langue */
.lang-link { position: relative; flex: none; margin-left: -8px; padding: 8px 0 8px 22px; font: 500 13px/1 var(--text); letter-spacing: 0.01em; text-decoration: none; transition: color 0.3s; }
.lang-link::before { content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 14px; margin-top: -7px; background: currentColor; opacity: 0.35; }
.lang-link:hover { color: var(--blue); }
.header[data-tone='light'] .lang-link:hover { color: var(--sky); }
.menu__links { display: flex; align-items: center; gap: 8px; }
.lang-link--menu { margin: 0; padding: 0; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.lang-link--menu::before { display: none; }
.lang-link--menu:hover { background: #fff; color: var(--blue); }
.header[data-tone='dark'] .btn--light { background: var(--blue); color: #fff; }
.header[data-tone='dark'] .btn--light .btn__a { border-left-color: rgba(255, 255, 255, 0.22); }
.header[data-tone='dark'] .btn--light:hover { background: var(--blue-hover); }

/* Bouton carré « Menu », épinglé à l'écran */
.fab {
  position: fixed;
  top: 20px;
  right: var(--gut);
  z-index: 70;
  width: 56px;
  height: 56px;
  border: 0;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transform: scale(0);
  transition: transform 0.6s var(--ease), background-color 0.3s;
}
.fab.is-on, .menu-open .fab { transform: scale(1); }
.fab:hover { background: var(--blue-hover); }
.fab i { position: absolute; left: 18px; right: 18px; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease); }
.fab i:first-child { top: 23px; }
.fab i:last-child { top: 31px; }
.menu-open .fab i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .fab i:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-open .fab { background: #fff; color: var(--blue); }

/* Menu plein écran */
.menu {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: var(--blue);
  color: #fff;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 120px var(--gut) 40px;
  /* fermé = rogné à hauteur zéro ; rien ne bascule en fin d'animation (pas de flash sur iPhone) */
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
  will-change: clip-path;
  transition: clip-path 0.9s var(--ease-io);
}
.menu-open .menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu nav { align-self: center; display: flex; flex-direction: column; }
.menu nav a { display: flex; align-items: baseline; padding-block: 6px; font: 300 clamp(36px, min(6vw, 8.5vh), 96px)/1 var(--display); letter-spacing: -0.045em; text-decoration: none; opacity: 0; transform: translateY(40px); transition: opacity 0.3s var(--ease), transform 0s linear 0.9s, color 0.3s; }
.menu nav a:hover, .menu nav a[aria-current='page'] { color: var(--sky); }
.menu-open .menu nav a { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), color 0.3s; transition-delay: calc(0.35s + var(--i) * 0.06s); }
.menu__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; opacity: 0; transition: opacity 0.3s; }
.menu-open .menu__foot { opacity: 1; transition-delay: 0.7s; }
/* Départ depuis le menu : le contenu s'efface sur le bleu, sans second panneau */
html.menu-leaving .menu nav a, html.menu-leaving .menu__foot, html.menu-leaving .fab { opacity: 0; transition: opacity 0.2s; transition-delay: 0s; }

/* ---------- Loader d'arrivée et transitions de page ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--blue);
  display: grid;
  place-items: center;
  padding: var(--gut);
  transition: transform 1.1s var(--ease-io);
}
/* le bleu déborde de 30vh sous le loader (zone sous la barre de Safari), et sort avec lui */
.loader { box-shadow: 0 30vh 0 var(--blue); }
.loader.is-out { transform: translateY(calc(-100% - 30vh)); }
/* Le vrai logo, en grand au centre, qui se remplit de bas en haut au fil du chargement :
   un exemplaire estompé dessous, l'exemplaire plein dévoilé selon --p (0 → 1) */
.loader__mark { position: relative; width: min(62vw, 560px); aspect-ratio: 619 / 197; opacity: 0; transform: scale(0.96); transition: opacity 0.7s var(--ease), transform 1.2s var(--ease); }
.loader__logo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.loader__logo--ghost { opacity: 0.18; }
.loader__logo--fill { clip-path: inset(calc((1 - var(--p, 0)) * 100%) 0 0 0); }
.is-ready .loader__mark { opacity: 1; transform: none; }
.loader.is-out .loader__mark { opacity: 0; transform: translateY(-6vh); transition: opacity 0.5s, transform 0.9s var(--ease-io); }

.pt { position: fixed; top: -10vh; right: 0; height: 120vh; left: 0; z-index: 90; background: var(--blue); transform: translateY(100%); pointer-events: none; }
.pt.is-in { transform: translateY(0); transition: transform 0.9s var(--ease-io); }
.pt.is-cover { transform: translateY(0); }
.pt.is-leave { transform: translateY(-100%); transition: transform 1.1s var(--ease-io); }
/* au repos, hors transition : invisible (sur iPhone, le bas de page reste visible sous la barre de Safari) */
html:not(.pt-arrive) .pt:not(.is-in):not(.is-cover):not(.is-leave) { visibility: hidden; }
/* Taille sur la grande hauteur d'écran (lvh), fixe que la barre de Safari soit dépliée ou repliée :
   le panneau ne saute plus en route sur iPhone et couvre toujours la zone sous la barre */
@supports (height: 100lvh) { .pt { top: -10lvh; height: 120lvh; } }
/* Écran tactile : marge large au-dessus et au-dessous, pour qu'un décalage passager des éléments
   fixes (barres de Chrome iOS qui se replient ou se déplient) ne découvre jamais le bas de l'écran */
@media (hover: none) {
  .pt { top: -30vh; height: 160vh; }
  @supports (height: 100lvh) { .pt { top: -30lvh; height: 160lvh; } }
  /* Écran tactile : le rideau tombe du haut, puis se relève vers le haut à l'arrivée */
  .pt { transform: translateY(-100%); }
}
/* Mobile, arrivée depuis une autre page du site : le contenu visible s'affiche d'emblée (le
   navigateur enchaîne les pages par son propre fondu ; pas de contenu caché puis révélé) */
html.arrive.js [data-anim] { opacity: 1; transform: none; transition: none; }
html.arrive.js [data-anim] > * { transform: none; transition: none; }
html.arrive.js [data-anim='reveal']::after { transform: scaleY(0); transition: none; }

/* ---------- Héros vidéo plein écran ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; color: #fff; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg video { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1.06)); }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 30, 0.45) 0%, rgba(0, 0, 30, 0) 28%, rgba(0, 0, 30, 0) 50%, rgba(0, 0, 30, 0.6) 100%); }
.hero__in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(40px, 6vh, 72px); }
.hero__title { max-width: none; }
.hero__row { margin-top: clamp(32px, 5vh, 56px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* ---------- En-tête des pages intérieures ---------- */
.phead { padding-top: calc(var(--head) + clamp(64px, 12vh, 140px)); padding-bottom: clamp(48px, 7vh, 88px); }
.phead .h1 { margin-top: 28px; max-width: 16ch; }
.phead__row--title { margin-top: 28px; align-items: flex-end; }
/* pictos posés sur la ligne de base du titre (dernière ligne) */
.phead__row--title .views { flex: none; margin-bottom: calc(clamp(46px, 7vw, 124px) * 0.127); }
.phead__row--title .h1 { margin-top: 0; }
.phead__row { margin-top: 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.phead__lede { max-width: 560px; font-size: 19px; color: var(--grey); }

/* ---------- Grilles et blocs ---------- */
.grid12 { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.split__text { grid-column: 1 / span 5; }
.split__media { grid-column: 7 / -1; overflow: hidden; background: var(--paper); aspect-ratio: 4 / 5; }
.split--rev .split__text { grid-column: 8 / -1; grid-row: 1; }
.split--rev .split__media { grid-column: 1 / span 6; grid-row: 1; }
.split__media--land { aspect-ratio: 4 / 3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__text .h2 { margin: 24px 0 32px; }
.split__text .p { max-width: 520px; }

/* Accueil : programme + chiffres */
.intro .statement { grid-column: 1 / span 10; }
.intro__sub { grid-column: 7 / span 5; margin-top: 56px; display: grid; gap: 32px; justify-items: start; }
.stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(96px, 10vw, 160px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 40px 16px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__n { font: 300 clamp(72px, 9.4vw, 172px)/0.9 var(--display); letter-spacing: -0.06em; color: var(--blue); font-variant-numeric: tabular-nums; }
.stat__l { margin-top: 16px; font: 500 12px/1 var(--text); letter-spacing: 0.01em; text-transform: uppercase; color: var(--grey); }

/* En-tête de section */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head .h2 { margin-top: 24px; }

/* Cartes d'activités */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 24px; }
.card { display: block; text-decoration: none; color: inherit; }
.card__img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.1s var(--ease); }
.card:hover .card__img img { transform: scale(1.08); }
.card__meta { margin-top: 22px; display: flex; justify-content: space-between; gap: 16px; font: 500 12px/1 var(--text); letter-spacing: 0.01em; text-transform: uppercase; }
.card__tag { color: var(--blue); }
.card__title { margin-top: 14px; }
.card__more { display: none; }

/* Vue « Grand format » */
.cards--big { grid-template-columns: 1fr; gap: clamp(72px, 9vw, 140px); }
.cards--big .card { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.cards--big .card__img { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.article-cover img, .article-cover video { object-position: 50% var(--pos, 0%); }
/* grand format : photo calée en haut (les visages restent dans le cadre) ; grille : centrée */
.card__img img { object-position: 50% var(--pos, 50%); transform-origin: 50% var(--pos, 50%); }
.cards--big .card__img img { object-position: 50% var(--pos, 0%); transform-origin: 50% var(--pos, 0%); }
.cards--big .card__meta { grid-column: 1 / span 9; grid-row: 2; margin-top: 32px; align-self: start; }
.cards--big .card__title { grid-column: 1 / span 9; grid-row: 3; margin-top: 18px; font: 300 clamp(34px, 4.2vw, 72px)/1.02 var(--display); letter-spacing: -0.04em; }
/* texte de « Découvrir » centré sur la rubrique : 32 + 6 (demi-ligne) − 9 (demi-picto) */
.cards--big .card__more { grid-column: 10 / -1; grid-row: 2; justify-self: end; align-self: start; display: inline-flex; margin-top: 29px; }

/* Bascule de vue (élément Onglets Wix) */
.views { display: inline-flex; box-shadow: inset 0 0 0 1px var(--ink); }
.views button { width: 46px; padding: 0 !important; justify-content: center; }
.views button + button { box-shadow: inset 1px 0 0 var(--ink); }
.views button { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; border: 0; background: transparent; color: var(--ink); font: 500 12px/1 var(--text); letter-spacing: 0.01em; text-transform: uppercase; cursor: pointer; transition: background-color 0.3s, color 0.3s; }
.views button svg { width: 18px; height: 18px; }
.views button[aria-pressed='true'] { background: var(--blue); color: #fff; }
.views button:not([aria-pressed='true']):hover { color: var(--blue); }
.more { margin-top: clamp(64px, 8vw, 120px); display: flex; justify-content: center; }

/* Citation */
.quote { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.quote__mark { grid-column: 1 / span 2; font: 300 clamp(120px, 14vw, 240px)/0.7 var(--display); color: var(--sky); }
.quote__body { grid-column: 3 / -1; }
.quote__text { font: 300 clamp(34px, 4.4vw, 76px)/1.08 var(--display); letter-spacing: -0.04em; }
.quote__by { margin-top: 48px; display: flex; align-items: center; gap: 16px; font: 500 12px/1.4 var(--text); letter-spacing: 0.01em; text-transform: uppercase; }
.quote__by b { font-weight: 500; color: #fff; }
.quote__by span { color: rgba(255, 255, 255, 0.6); }

/* Missions : liste éditoriale */
.missions { margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.mission { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: baseline; padding-block: clamp(32px, 3.4vw, 52px); border-bottom: 1px solid var(--line); }
.mission__n { grid-column: 1 / span 1; font: 400 14px/1 var(--text); color: var(--blue); }
.mission__v { grid-column: 2 / span 5; font: 300 clamp(40px, 5vw, 88px)/1 var(--display); letter-spacing: -0.045em; transition: transform 0.7s var(--ease), color 0.4s; }
.mission .p { grid-column: 8 / -1; }
.mission:hover .mission__v { transform: translateX(16px); color: var(--blue); }

/* Partenaires */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid rgba(255, 255, 255, 0.2); border-left: 1px solid rgba(255, 255, 255, 0.2); }
.logos a { display: grid; place-items: center; height: clamp(120px, 12vw, 180px); padding: 24px; border-right: 1px solid rgba(255, 255, 255, 0.2); border-bottom: 1px solid rgba(255, 255, 255, 0.2); transition: background-color 0.4s; }
.logos a:hover { background: rgba(255, 255, 255, 0.06); }
.logos img { max-height: 58px; width: auto; max-width: 80%; object-fit: contain; }
.thanks { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.thanks div { grid-column: 1 / span 8; font-size: 16px; color: rgba(255, 255, 255, 0.75); }

/* Bande de phrase forte */
.band__text { max-width: 30ch; font: 300 clamp(36px, 4.6vw, 80px)/1.06 var(--display); letter-spacing: -0.04em; }
.band__cta { margin-top: 48px; }

/* S'engager */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.way { display: flex; flex-direction: column; gap: 22px; padding: 40px 32px 8px 0; }
.way + .way { padding-left: 32px; border-left: 1px solid var(--line); }
.way__n { font: 400 14px/1 var(--text); color: var(--blue); }
.way .h3 { font: 300 clamp(30px, 2.8vw, 46px)/1.04 var(--display); letter-spacing: -0.035em; }
.way .p { flex: 1; }

/* Formulaires : champs soulignés */
.form-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.form-aside { grid-column: 1 / span 4; position: sticky; top: 40px; }
.form-aside .p { margin-top: 20px; }
.form { grid-column: 6 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; }
.f { display: grid; gap: 6px; min-width: 0; }
.f--full { grid-column: 1 / -1; }
.f label, .f legend { font: 500 12px/1.3 var(--text); letter-spacing: 0.01em; text-transform: uppercase; color: var(--grey); }
.f label span, .f legend span { color: var(--blue); }
.f input, .f select, .f textarea { width: 100%; height: 52px; padding: 0; border: 0; border-bottom: 1px solid #c9c7d3; border-radius: 0; background: transparent; font: 300 22px var(--display); letter-spacing: -0.01em; color: var(--ink); transition: border-color 0.3s; -webkit-appearance: none; appearance: none; }
.f textarea { height: 120px; padding-top: 12px; resize: vertical; }
.f select { background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) calc(100% - 9px) 50% / 6px 6px no-repeat, linear-gradient(135deg, var(--ink) 50%, transparent 50%) calc(100% - 3px) 50% / 6px 6px no-repeat; cursor: pointer; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-bottom: 2px solid var(--blue); }
.f input::placeholder, .f textarea::placeholder { color: #b3b1be; }
fieldset.f { border: 0; padding: 0; margin: 0; }
fieldset.f legend { padding: 0; }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; box-shadow: inset 0 0 0 1px var(--ink); }
.amounts label { position: relative; display: grid; place-items: center; height: 72px; font: 300 26px var(--display); letter-spacing: -0.02em; color: var(--ink); text-transform: none; cursor: pointer; transition: background-color 0.3s, color 0.3s; }
.amounts label + label { box-shadow: inset 1px 0 0 var(--ink); }
.amounts input { position: absolute; opacity: 0; pointer-events: none; }
.amounts label:has(input:checked) { background: var(--blue); color: #fff; }
.amounts label:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
.req { grid-column: 1 / -1; font-size: 14px; color: var(--grey); }
.form .btn { grid-column: 1 / -1; }
.tax { margin-top: 32px; padding: 24px 0 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--grey); }
.tax b { display: block; margin-bottom: 6px; font: 300 clamp(40px, 4vw, 64px)/1 var(--display); letter-spacing: -0.04em; color: var(--blue); }
.sent { grid-column: 6 / -1; padding: 48px 0; border-top: 1px solid var(--line); }

/* Article (page dynamique) */
.article-head { padding-top: calc(var(--head) + clamp(56px, 10vh, 120px)); }
.article-head .h1 { margin-top: 28px; max-width: 18ch; }
.article-cover { margin-top: clamp(48px, 6vw, 88px); aspect-ratio: 21 / 9; overflow: hidden; background: var(--paper); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding-block: clamp(64px, 8vw, 120px); }
.article__side { grid-column: 1 / span 3; display: grid; gap: 14px; align-content: start; font: 500 12px/1.4 var(--text); letter-spacing: 0.01em; text-transform: uppercase; color: var(--grey); }
.article__side b { color: var(--blue); font-weight: 500; }
.article__body { grid-column: 4 / span 8; }
.article__body p { font-size: 19px; line-height: 1.7; color: var(--ink); }
.article__body p + p { margin-top: 1.1em; }
.article__body > p:first-child { font: 300 clamp(24px, 2.2vw, 34px)/1.3 var(--display); letter-spacing: -0.02em; }
.article__body .small { font-size: 14px; color: var(--grey); }
.article__img { margin-block: 48px; }
.article__img img, .article__img video { width: 100%; height: auto; }
.article__gallery { margin-block: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.article__gallery div { aspect-ratio: 4 / 3; overflow: hidden; }
.article__gallery img { width: 100%; height: 100%; object-fit: cover; }
.article-nav { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
.article-nav a { display: grid; gap: 14px; padding: 48px 0; text-decoration: none; color: inherit; }
.article-nav a + a { text-align: right; padding-left: 24px; border-left: 1px solid var(--line); }
.article-nav small { font: 500 12px/1 var(--text); letter-spacing: 0.01em; text-transform: uppercase; color: var(--grey); }
.article-nav span { font: 300 clamp(26px, 2.6vw, 44px)/1.05 var(--display); letter-spacing: -0.035em; transition: color 0.3s; }
.article-nav a:hover span { color: var(--blue); }

/* ---------- Pied de page : même organisation que le site en ligne ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 48px; background: #fff; color: var(--ink); }
.footer__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.footer__legal { display: grid; gap: 8px; justify-items: start; font-size: 14px; color: var(--grey); }
.footer__legal a { color: inherit; }
.footer__legal a:hover { color: var(--blue); }
.footer__logo { display: block; width: 234px; }
.footer__logo img { width: 100%; height: auto; }
.lang { position: relative; display: inline-flex; align-items: center; }
.lang select { -webkit-appearance: none; appearance: none; border: 0; background: transparent; padding: 4px 22px 4px 0; font: 400 14px var(--text); color: var(--grey); cursor: pointer; }
.lang svg { position: absolute; right: 0; width: 14px; height: 14px; pointer-events: none; color: var(--grey); }
.social { justify-self: end; display: flex; gap: 8px; }
.social a { display: block; width: 40px; height: 40px; transition: opacity 0.3s, transform 0.4s var(--ease); }
.social a:hover { opacity: 0.85; transform: translateY(-2px); }
.social img { width: 100%; height: 100%; }
.menu__foot .social a { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.menu__foot .social a:hover { background: #fff; color: var(--blue); opacity: 1; transform: none; }
.menu__foot .social svg { width: 18px; height: 18px; }

/* =====================================================================
   Animations d'entrée — équivalents natifs Wix (Fondu, Glisser, Dévoiler)
   ===================================================================== */
.js [data-anim] { opacity: 0; transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-anim='glide'] { transform: translateY(48px); }
/* « Dévoiler » : un rideau de la couleur du fond se retire ; l'image reste visible pour le chargement différé */
.js [data-anim='reveal'] { opacity: 1; position: relative; overflow: hidden; }
.js [data-anim='reveal']::after { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--curtain, var(--white)); transform-origin: 50% 0; transition: transform 1.3s var(--ease-io) var(--delay, 0s); }
.js [data-anim='reveal'] > * { transform: scale(1.12); transition: transform 1.8s var(--ease-io) var(--delay, 0s); }
.js [data-anim].is-in { opacity: 1; transform: none; }
.js [data-anim='reveal'].is-in::after { transform: scaleY(0); }
.js [data-anim='reveal'].is-in > * { transform: none; }
.section--paper [data-anim='reveal'] { --curtain: var(--paper); }

/* Mode « Réglages Wix » */
.notes-btn { position: fixed; left: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border: 0; background: #116dff; color: #fff; font: 500 13px var(--text); cursor: pointer; box-shadow: 0 8px 24px -8px rgba(17, 109, 255, 0.6); }
.notes-btn i { width: 18px; height: 18px; background: #fff; color: #116dff; font: 700 11px/18px var(--text); text-align: center; font-style: normal; }
.show-notes [data-wix] { position: relative; outline: 1.5px dashed rgba(17, 109, 255, 0.75); outline-offset: 4px; }
.show-notes [data-wix]::before { content: attr(data-wix); position: absolute; left: 8px; top: 8px; z-index: 30; width: max-content; max-width: 380px; padding: 7px 10px; background: #116dff; color: #fff; font: 500 12px/1.4 var(--text); letter-spacing: 0; text-transform: none; text-align: left; white-space: normal; pointer-events: none; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.35); }
.show-notes [data-anim], .show-notes [data-anim] > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
.show-notes [data-anim='reveal']::after { display: none; }

/* ---------- Responsive (vue mobile Wix) ---------- */
@media (max-width: 1000px) {
  .nav, .header .btn, .header .lang-link { display: none; }
  .fab { transform: scale(1); }
  .header .container { padding-right: calc(var(--gut) + 64px); }
}
@media (max-width: 760px) {
  :root { --head: 80px; }
  .logo { width: 150px; height: 48px; }
  .loader__mark { width: min(76vw, 340px); }
  /* Bouton menu transparent : deux traits seuls, calés sur la marge et centrés sur le logo */
  .fab { top: 18px; right: var(--gut); width: 44px; height: 44px; background: transparent; color: var(--blue); }
  .fab:hover, .menu-open .fab { background: transparent; }
  .fab[data-tone='light'], .menu-open .fab { color: #fff; }
  .fab i { left: auto; right: 0; width: 26px; height: 2px; }
  .fab i:first-child { top: 18px; }
  .fab i:last-child { top: 24px; }
  .menu-open .fab i:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-open .fab i:last-child { transform: translateY(-3px) rotate(-45deg); }
  /* Menu ouvert : chaque intitulé tient sur une ligne */
  .menu nav a { gap: 0; font-size: clamp(30px, 9.2vw, 44px); }
    .grid12, .split, .quote, .thanks, .footer__top, .form-grid, .article, .mission { display: block; }
  .split__media { margin-top: 40px; }
  .split--rev .split__media { margin-top: 0; margin-bottom: 40px; }
  .intro__sub { margin-top: 40px; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 40px 16px 28px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .sec-head, .phead__row, .hero__row { flex-direction: column; align-items: flex-start; }
  .phead__row--title { flex-direction: row; align-items: flex-end; }
  .cards { grid-template-columns: 1fr; }
  .cards--big .card { grid-template-columns: 1fr auto; column-gap: 16px; }
  .cards--big .card__img { aspect-ratio: 4 / 3; }
  .cards--big .card__meta { grid-column: 1; margin-top: 22px; }
  .cards--big .card__title { grid-column: 1 / -1; margin-top: 14px; }
  .cards--big .card { grid-template-columns: 1fr; }
  .cards--big .card__more { display: none; }
  .views { display: none; }
  /* Contact : le formulaire d'abord, « Nous suivre » ensuite */
  body[data-page='contact'] .form-grid { display: flex; flex-direction: column; }
  body[data-page='contact'] .form-aside { order: 2; margin: 56px 0 0; }
  .quote__mark { height: 0.5em; }
  .quote__by { margin-top: 32px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .mission__v { display: block; margin: 12px 0 16px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .ways { grid-template-columns: 1fr; }
  .way, .way + .way { padding: 32px 0; border-left: 0; }
  .way + .way { border-top: 1px solid var(--line); }
  .form-aside { position: static; margin-bottom: 48px; }
  .form { grid-template-columns: 1fr; gap: 28px; }
  .amounts { grid-template-columns: repeat(2, 1fr); }
  .amounts label:nth-child(3) { box-shadow: inset 0 1px 0 var(--ink); }
  .amounts label:nth-child(4) { box-shadow: inset 1px 1px 0 var(--ink); }
  .article__side { display: none; }
  .article-cover { aspect-ratio: 4 / 3; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav a + a { text-align: left; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .footer__row { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 28px; }
  .footer__logo { order: -1; width: 200px; }
  .footer__legal { justify-items: center; }
  .social { justify-self: center; }
  .show-notes [data-wix]::before { max-width: 260px; }
}
/* ---------- Mobile : échelle typographique et rythme resserrés (plus proches du site actuel) ----------
   Titres plus petits et plus pleins (400 au lieu de 300, interlettrage moins serré), textes à 15-16 px,
   moins de vide en tête de page et entre les sections, bouton « Faire un don » dans l'en-tête. */
@media (max-width: 760px) {
  :root { --sec: 64px; }
  body { font-size: 16px; line-height: 1.6; }
  .d1 { font: 300 clamp(34px, 9.6vw, 40px)/1.04 var(--display); letter-spacing: -0.03em; }
  .h1 { font: 400 clamp(30px, 8.4vw, 34px)/1.08 var(--display); letter-spacing: -0.025em; }
  .h2 { font: 400 clamp(25px, 7vw, 28px)/1.14 var(--display); letter-spacing: -0.02em; }
  .h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
  .statement, .statement[style] { font: 400 19px/1.45 var(--display) !important; letter-spacing: -0.005em; }
  .p { font-size: 15px; line-height: 1.65; }
  .p[style*='font-size'] { font-size: 17px !important; line-height: 1.5; }
  .phead { padding-top: calc(var(--head) + 28px); padding-bottom: 28px; }
  .phead .h1, .phead__row--title { margin-top: 16px; }
  .phead__row { margin-top: 24px; }
  .phead__lede { font-size: 16px; }
  .article-head { padding-top: calc(var(--head) + 28px); }
  .intro__sub { margin-top: 28px; gap: 24px; }
  .split__media { margin-top: 32px; }
  .split--rev .split__media { margin-bottom: 32px; }
  .stat { padding: 28px 16px 22px; }
  .stat__n { font-size: 64px; }
  .cards--big { gap: 48px; }
  .cards--big .card__title { font: 400 22px/1.2 var(--display); letter-spacing: -0.015em; margin-top: 10px; }
  .cards--big .card__meta { margin-top: 16px; }
  .quote__text { font: 400 22px/1.3 var(--display); letter-spacing: -0.015em; }
  .quote__mark { font-size: 96px; }
  .band__text { font: 400 22px/1.35 var(--display); letter-spacing: -0.015em; }
  .mission__v { font-size: 32px; }
  .way .h3 { font: 400 24px/1.15 var(--display); letter-spacing: -0.02em; }
  .tax b { font-size: 36px; }
  .article__body > p:first-child { font: 400 19px/1.45 var(--display); letter-spacing: -0.005em; }
  .article-nav span { font: 400 20px/1.2 var(--display); letter-spacing: -0.015em; }
  /* En-tête : logo un peu plus petit et bouton « Faire un don » compact, comme sur le site actuel */
  .logo { width: 132px; height: 42px; }
  .header .container { gap: 12px; }
  .header .btn { display: inline-flex; margin-left: auto; height: 38px; }
  .header .btn .btn__t { padding: 0 14px; font-size: 12px; }
  .header .btn .btn__a { display: none; }
  .fab { top: 18px; }
  /* Formulaires : champs côte à côte par deux (prénom/nom, e-mail/téléphone, code postal/ville),
     texte saisi à 17 px, montants plus compacts ; le formulaire de contact occupe toute la largeur */
  .form { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .f input, .f select, .f textarea { height: 44px; font: 400 17px var(--display); letter-spacing: 0; }
  .f textarea { height: 104px; }
  .amounts label { height: 56px; font: 400 20px var(--display); }
  body[data-page='contact'] .form-grid > * { width: 100%; }
  .way .btn { align-self: flex-start; }
  .stat__n { font-weight: 400; }
  .header .container { padding-right: calc(var(--gut) + 52px); }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-anim], .js [data-anim] > * { opacity: 1; transform: none; clip-path: none; transition: none; }
  .js [data-anim='reveal']::after { display: none; }
  }

/* Réseaux sociaux dans la colonne du formulaire de contact */
.form-aside .social { justify-self: start; }
.article-head .tlink svg { display: none; }

/* ---------- Formulaires Wix (site headless) ---------- */
.f__err { margin-top: 8px; font: 400 14px/1.4 var(--text); color: #c0262d; }
.form .f__err.f--full { grid-column: 1 / -1; }
.f select { width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form[aria-busy='true'] { background: linear-gradient(90deg, var(--paper) 0 50%, transparent 50%) 0 0 / 200% 100%; opacity: 0.6; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* Politique de confidentialité : texte long, colonne de lecture */
.legal { max-width: 760px; }
.legal p { font-size: 17px; line-height: 1.7; color: var(--ink); }
.legal p + p { margin-top: 1em; }
.legal__h { font: 400 clamp(22px, 1.8vw, 28px)/1.25 var(--display); letter-spacing: -0.01em; margin: 2.2em 0 0.7em; }
.legal__h:first-child { margin-top: 0; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
