/* ==========================================================================
   Nimalay — feuille de style principale / main stylesheet
   Palette derived from the association logo and the children's uniforms.
   No build step: this file is plain CSS and is edited directly.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --brick:      #A8322D;
  --brick-dark: #7E2320;
  --brick-soft: #F6E4E1;
  --marigold:   #E8973C;
  --marigold-soft: #FCEEDC;
  --teal:       #2F6B63;
  --teal-soft:  #E4EFEC;

  --ink:   #221A12;
  --body:  #55483D;
  --muted: #7C6E61;

  --cream:  #FDF8F2;
  --cream2: #F7EDE0;
  --line:   #E9DCCB;
  --white:  #FFFFFF;

  --radius:    14px;
  --radius-lg: 22px;
  --shadow:    0 1px 2px rgba(34,26,18,.05), 0 8px 24px -12px rgba(34,26,18,.18);
  --shadow-lg: 0 2px 4px rgba(34,26,18,.06), 0 24px 48px -20px rgba(34,26,18,.28);

  --container: 1140px;
  --gap: clamp(1.25rem, 3vw, 2rem);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brick); text-underline-offset: .18em; }
a:hover { color: var(--brick-dark); }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p  { text-wrap: pretty; }
p + p { margin-top: 1em; }

.lead { font-size: clamp(1.1rem, 1.9vw, 1.3rem); line-height: 1.55; color: var(--body); }
.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--brick);
  display: block; margin-bottom: .85rem;
  font-family: var(--font-body);
}
.eyebrow--light { color: var(--marigold); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.container--narrow { max-width: 760px; }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.section--cream { background: var(--cream2); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: #E6DACB; }
.section--ink h2, .section--ink h3 { color: var(--white); }

/* 880px : les intros occupent nettement plus de largeur qu'avant (720px)
   sans laisser une derniere ligne orpheline de deux ou trois mots. */
.section-head { max-width: 880px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { margin-top: .9rem; font-size: 1.075rem; }
.section-head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }

.stack > * + * { margin-top: 1.1rem; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -110%);
  background: var(--brick); color: var(--white); padding: .8rem 1.4rem;
  border-radius: 0 0 var(--radius) var(--radius); z-index: 200;
  font-weight: 600; text-decoration: none; transition: transform .15s ease;
}
.skip-link:focus { transform: translate(-50%, 0); color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brick); color: var(--white); }
.btn--primary:hover { background: var(--brick-dark); color: var(--white); }

.btn--gold { background: var(--marigold); color: #3A2408; }
.btn--gold:hover { background: #D8862B; color: #3A2408; }

.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--brick); color: var(--brick); background: var(--white); }

.btn--ghost-light { border-color: rgba(255,255,255,.4); color: var(--white); background: transparent; }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.1); color: var(--white); }

.btn--sm { padding: .55rem 1.1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 248, 242, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 74px; }

.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); letter-spacing: -.02em; }
.brand-tag { font-size: .7rem; color: var(--muted); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  padding: .5rem .62rem; border-radius: 8px; text-decoration: none;
  color: var(--body); font-weight: 500; font-size: .92rem; white-space: nowrap;
}
.nav a:hover { background: var(--cream2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brick); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none; background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; padding: .5rem .6rem; cursor: pointer; color: var(--ink);
}


/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #EDE2D4; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(34,26,18,.92) 0%, rgba(34,26,18,.75) 45%, rgba(34,26,18,.45) 100%);
}
.hero-inner { position: relative; padding-block: clamp(4rem, 11vw, 7.5rem); max-width: 760px; }
.hero h1 { color: var(--white); }
.hero .lead { color: #E3D6C6; margin-top: 1.3rem; }
.hero .btn-row { margin-top: 2rem; }
.hero-note { margin-top: 1.5rem; font-size: .9rem; color: #B7A896; }

.page-hero { background: var(--cream2); border-bottom: 1px solid var(--line); padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.page-hero .lead { margin-top: 1rem; max-width: 880px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--white); padding: 1.6rem 1.3rem; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; color: var(--brick); line-height: 1; letter-spacing: -.03em; }
.stat-label { margin-top: .55rem; font-size: .92rem; color: var(--body); line-height: 1.4; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease;
}
.card--link:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: var(--cream2); }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card-body h3 a { text-decoration: none; color: inherit; }
.card-body h3 a:hover { color: var(--brick); }
.card-body p { font-size: .97rem; }
.card-foot { margin-top: auto; padding-top: .4rem; }
.card-link { font-weight: 600; font-size: .95rem; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.card-link:hover { gap: .6rem; }
.card-link::after { content: "\2192"; transition: none; }

.tag {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px;
  background: var(--marigold-soft); color: #8A5A12; align-self: flex-start;
}
.tag--teal { background: var(--teal-soft); color: #235049; }
.tag--brick { background: var(--brick-soft); color: var(--brick-dark); }

/* ---------- Feature blocks (alternating image + text) ---------- */
.feature { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.feature + .feature { margin-top: clamp(3rem, 7vw, 5rem); }
.feature img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature--flip .feature-media { order: 2; }
/* Deux photos empilees dans la colonne media d'un bloc .feature */
.feature-media--pair { display: grid; gap: clamp(.85rem, 1.6vw, 1.15rem); }
@media (max-width: 700px) { .feature--flip .feature-media { order: 0; } }

/* ---------- Lists ---------- */
.ticks { list-style: none; padding: 0; display: grid; gap: .8rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1.05rem; height: .55rem;
  border-left: 2.5px solid var(--brick); border-bottom: 2.5px solid var(--brick);
  transform: rotate(-45deg);
}
.section--ink .ticks li::before { border-color: var(--marigold); }

.plain-list { list-style: none; padding: 0; }

/* ---------- Callout / quote ---------- */
.callout {
  background: var(--marigold-soft); border: 1px solid #F0DCBE;
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem);
}
.callout--teal { background: var(--teal-soft); border-color: #CBDFDA; }
.callout--brick { background: var(--brick-soft); border-color: #EFD2CE; }
.callout h3 { margin-bottom: .5rem; }

blockquote {
  border-left: 4px solid var(--marigold); padding-left: 1.4rem;
  font-family: var(--font-display); font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  line-height: 1.4; color: var(--ink); font-style: italic;
}

/* ---------- Donation tiers ---------- */
.tiers { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.tier { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; }
.tier--featured { border-color: var(--brick); border-width: 2px; box-shadow: var(--shadow); position: relative; }
.tier-badge { position: absolute; top: -.75rem; left: 50%; transform: translateX(-50%); background: var(--brick); color: var(--white); font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; padding: .28rem .8rem; border-radius: 999px; white-space: nowrap; }
.tier-amount { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: var(--ink); line-height: 1; }
.tier-real { display: block; margin-top: .5rem; font-size: .9rem; color: var(--brick); font-weight: 600; }
.tier p { font-size: .95rem; margin-top: .8rem; }

/* ---------- Partners ---------- */
.partners { display: flex; flex-wrap: wrap; gap: .7rem; }
.partner {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: .55rem 1.1rem; font-size: .92rem; font-weight: 500; color: var(--body);
}

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
th { font-weight: 600; color: var(--ink); background: var(--cream2); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

/* ---------- News ---------- */
.news-list { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.news-date { font-size: .85rem; color: var(--muted); font-weight: 500; }
.news-empty { padding: 2.5rem; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius-lg); }

/* ---------- Video ---------- */
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--ink); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brick); color: var(--white); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #F6DCD9; margin-top: .9rem; font-size: 1.075rem; }
.cta-band .btn-row { margin-top: 1.8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B7A896; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: .94rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.site-footer h3 { color: var(--white); font-family: var(--font-body); font-size: .82rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: #D9CCBC; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer-brand img { width: 52px; height: 52px; border-radius: 12px; margin-bottom: 1rem; }
.footer-socials { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #E6DACB;
}
.footer-socials a:hover { background: var(--marigold); color: #3A2408; }
.footer-socials svg { width: 19px; height: 19px; fill: currentColor; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between;
  font-size: .85rem; color: #93867A;
}

/* ---------- Utilities ---------- */
.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;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.small { font-size: .88rem; color: var(--muted); }

/* ---------- Lien "Faire un don" dans le menu mobile ----------
   Masque sur grand ecran (le bouton du header suffit),
   affiche en tete d'affiche dans le panneau mobile. */
.nav-cta { display: none; }
@media (max-width: 560px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 1.18rem; }
  .header-cta { display: none; }
}

/* ---------- Actualites venant de Facebook ---------- */
.tag--fb { background: #E7F0FE; color: #0B4FBF; }

/* ---------- Fil Facebook charge au clic ----------
   Le bloc reste un simple encadre tant que le visiteur n'a pas clique :
   aucune requete n'est envoyee a Facebook, donc aucun cookie tiers. */
.fb-embed {
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
  max-width: 540px;
  margin-inline: auto;
}
.fb-embed__icon {
  width: 48px; height: 48px; margin: 0 auto 1.1rem;
  border-radius: 12px; display: grid; place-items: center;
  background: #E7F0FE; color: #1877F2;
}
.fb-embed__icon svg { width: 26px; height: 26px; fill: currentColor; }
.fb-embed h3 { margin-bottom: .6rem; }
.fb-embed p { font-size: .95rem; }
.fb-embed .btn { margin-top: 1.3rem; }
.fb-embed__note { margin-top: 1rem; font-size: .82rem; color: var(--muted); }

/* Une fois charge, l'encadre disparait et laisse la place a l'iframe. */
.fb-embed--loaded {
  border: 0; padding: 0; background: transparent;
  display: flex; justify-content: center;
}
.fb-embed--loaded iframe { max-width: 100%; border-radius: var(--radius); overflow: hidden; }

.header-cta { white-space: nowrap; flex-shrink: 0; }
/* Le nom de l'association ne doit JAMAIS etre comprime : c'est l'identite du
   site. C'est au menu de basculer en liste deroulante quand la place manque,
   pas au logo de disparaitre. */
.brand { flex-shrink: 0; }
.brand-name, .brand-tag { white-space: nowrap; }

/* ==========================================================================
   Bascule du menu vers la liste deroulante
   Largeur reellement necessaire a la barre, mesuree sur le site :
       anglais  1022 px  |  francais 1152 px
   (mesuree depuis que le selecteur de langue est un menu deroulant : il a
   libere une cinquantaine de pixels par rapport aux trois libelles cote a cote)
   Les libelles n'ont pas la meme longueur d'une langue a l'autre, donc chaque
   version bascule a un point different. En dessous de son seuil, la langue
   passe au bouton hamburger : le nom de l'association n'est jamais comprime.
   Le fichier main.js ne redefinit pas ces valeurs, il regarde simplement si le
   bouton hamburger est visible.
   ========================================================================== */

/* --- apparence du menu deroulant, identique pour les trois langues --- */
@media (max-width: 1200px) {
  [lang="fr"] .nav-toggle { display: inline-flex; }
  [lang="fr"] .nav {
    position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: .6rem clamp(1.1rem, 4vw, 2rem) 1.2rem; gap: .1rem; box-shadow: var(--shadow);
  }
  [lang="fr"] .nav[hidden] { display: none; }
  [lang="fr"] .nav a { padding: .75rem .5rem; font-size: 1.02rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  [lang="fr"] .nav a:last-child { border-bottom: 0; }
  [lang="fr"] .nav-cta { display: block; color: var(--brick) !important; font-weight: 700 !important; }
}

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: .6rem clamp(1.1rem, 4vw, 2rem) 1.2rem; gap: .1rem; box-shadow: var(--shadow);
  }
  .nav[hidden] { display: none; }
  .nav a { padding: .75rem .5rem; font-size: 1.02rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:last-child { border-bottom: 0; }
  .nav-cta { display: block; color: var(--brick) !important; font-weight: 700 !important; }
}

/* ==========================================================================
   Selecteur de langue : menu deroulant
   Trois libelles cote a cote prenaient trop de place dans la barre et
   poussaient le nom de l'association. Un bouton compact + un petit menu
   liberent une centaine de pixels et resteront valables si une quatrieme
   langue arrive un jour.
   ========================================================================== */
.lang-menu { position: relative; flex-shrink: 0; }

.lang-btn {
  display: inline-flex; align-items: center; gap: .32rem;
  font: 600 .82rem/1 var(--font-body); color: var(--body);
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: .48rem .62rem .48rem .58rem; cursor: pointer; white-space: nowrap;
  transition: border-color .15s ease, color .15s ease;
}
.lang-btn:hover { border-color: var(--brick); color: var(--brick); }
.lang-globe { width: 15px; height: 15px; flex-shrink: 0; }
.lang-caret { width: 13px; height: 13px; flex-shrink: 0; transition: transform .18s ease; }
.lang-btn[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-btn[aria-expanded="true"] { border-color: var(--brick); color: var(--brick); }
.lang-code { letter-spacing: .04em; }

.lang-list {
  position: absolute; top: calc(100% + .45rem); right: 0; z-index: 120;
  min-width: 168px; margin: 0; padding: .35rem; list-style: none;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.lang-list[hidden] { display: none; }

.lang-item {
  display: block; padding: .55rem .7rem; border-radius: 8px;
  font-size: .93rem; font-weight: 500; color: var(--body); text-decoration: none;
}
a.lang-item:hover { background: var(--cream2); color: var(--ink); }
.lang-item[aria-current="true"] {
  color: var(--brick); font-weight: 700; background: var(--brick-soft);
  position: relative;
}
.lang-item[aria-current="true"]::after {
  content: ""; position: absolute; right: .75rem; top: 50%;
  width: .5rem; height: .28rem; margin-top: -.22rem;
  border-left: 2px solid var(--brick); border-bottom: 2px solid var(--brick);
  transform: rotate(-45deg);
}

/* ==========================================================================
   Rythme vertical autour des titres
   Le reset global met toutes les marges a zero. Un titre suivi d'un bloc qui
   n'apporte pas sa propre marge (un <div class="stack">, une liste, un
   tableau) se retrouvait donc colle au texte. On donne une respiration sous
   les titres, et une respiration plus large au-dessus : un titre appartient
   visuellement au texte qui le suit, pas a celui qui le precede.
   Les composants qui gerent deja leur espacement (cartes, paliers de dons,
   encadres) sont exclus, sinon les marges s'ajouteraient a leur "gap".
   ========================================================================== */
h1 + .stack, h2 + .stack, h3 + .stack,
h1 + p,  h2 + p,  h3 + p,
h2 + ul, h3 + ul, h2 + ol, h3 + ol,
h2 + .grid, h3 + .grid,
h2 + .tiers, h2 + .table-wrap, h3 + .table-wrap,
h2 + .partners, h3 + .partners,
h2 + .stats, h3 + .stats,
h2 + blockquote, h3 + blockquote { margin-top: 1.4rem; }

/* Composants a espacement interne : on ne double pas la marge. */
.card-body h3 + p,
.tier h3 + p,
.callout h3 + p,
.fb-embed h3 + p,
.site-footer h3 + ul { margin-top: 0; }

/* Dans un bloc .stack, un titre reprend son air au-dessus (pages legales). */
.stack > h2, .stack > h3 { margin-top: 2.2rem; }

/* Un peu plus de respiration entre paragraphes successifs. */
.stack > * + * { margin-top: 1.25rem; }
.section-head p { margin-top: 1.15rem; }
.callout h3 { margin-bottom: .65rem; }

/* ==========================================================================
   Vignettes d'actualite : formats mixtes
   Les photos publiees sur Facebook sont tantot paysage, tantot portrait.
   Un recadrage "cover" dans un cadre 16/10 coupait la moitie des portraits,
   visages compris. On affiche donc la photo entiere, posee sur un fond flou
   tire d'elle-meme : le cadre reste rempli et rien n'est perdu.
   ========================================================================== */
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cream2);
}
.card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--media);
  background-size: cover;
  background-position: center;
  filter: blur(22px) saturate(.8) brightness(.97);
  transform: scale(1.15);
}
.card-media .card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
}
