/* FemImpact - feuille de style unique.
   Palette tirée du logo : bordeaux (lettre F), orange et brun (silhouettes), jaune (feuille). */

:root {
  --bordeaux: #7b0d2b;
  --bordeaux-fonce: #560a1f;
  --bordeaux-nuit: #3a0614;
  --orange: #f26a1b;
  /* Assez sombre pour porter du texte blanc et servir de texte sur crème/sable (contraste AA >= 4.5). */
  --orange-fonce: #b04508;
  --jaune: #f9bf12;
  --brun: #5a2a0e;
  --creme: #fdf7f0;
  --sable: #f6ebdf;
  --peche: #fde4cc;
  --blanc: #ffffff;
  --texte: #2b1a14;
  --texte-doux: #6b5a52;
  --bord: #ead9c9;

  --police-titre: 'Fraunces', Georgia, 'Times New Roman', serif;
  --police-texte: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --rayon: 20px;
  --rayon-grand: 32px;
  --ombre-douce: 0 1px 2px rgba(58, 6, 20, .05), 0 8px 24px -10px rgba(58, 6, 20, .14);
  --ombre-forte: 0 2px 4px rgba(58, 6, 20, .06), 0 28px 60px -24px rgba(58, 6, 20, .35);
  --largeur: 1200px;
  --gouttiere: clamp(18px, 4vw, 32px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --duree-ui: 180ms;
  --duree-entree: 700ms;

  /* Motif inspiré du bogolan, en blanc : posé en faible opacité sur les fonds sombres. */
  --motif-bogolan: url("../img/illustrations/motif-bogolan.svg");
}

*, *::before, *::after { box-sizing: border-box; }
/* scroll-padding-top : l'en-tête collant (81 px au plus) ne recouvre ni la cible d'une ancre ni l'élément qui reçoit le focus clavier. */
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--police-texte);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--texte);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bordeaux); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange-fonce); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; text-wrap: pretty; }
li, figcaption, blockquote, .lead { text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--police-titre);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: var(--bordeaux-nuit);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
h1 em, h2 em { font-style: italic; color: var(--orange); font-weight: 500; }

.icone { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -0.2em; }

.lien-evitement {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--bordeaux); color: var(--blanc); padding: 10px 18px; border-radius: 10px;
}
.lien-evitement:focus { top: 16px; }
.visuellement-cache {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Mise en page ---------- */

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding-inline: var(--gouttiere); }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--creme { background: var(--creme); }
.section--sable { background: var(--sable); }
.section--sombre {
  background: var(--bordeaux-nuit) var(--motif-bogolan);
  background-blend-mode: soft-light;
  color: rgba(255, 255, 255, .85);
}
.section--sombre h2, .section--sombre h3 { color: var(--blanc); }

.grille { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grille--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .grille--2 { grid-template-columns: 1fr; } }
.grille--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grille--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grille--3 { grid-template-columns: 1fr; } }
.grille--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.surtitre {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-fonce); margin-bottom: 16px;
}
.surtitre::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.surtitre--clair { color: var(--jaune); }

.intro { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.intro--centre { margin-inline: auto; text-align: center; }
.intro--centre .surtitre::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--texte-doux); line-height: 1.65; }

/* ---------- Boutons ---------- */

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 .98rem/1 var(--police-texte); text-decoration: none; letter-spacing: .01em;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color var(--duree-ui) ease, color var(--duree-ui) ease,
              border-color var(--duree-ui) ease, transform 160ms var(--ease-out), box-shadow var(--duree-ui) ease;
}
.bouton:active { transform: scale(0.97); }
.bouton .icone { transition: transform 200ms var(--ease-out); }
.bouton--primaire { background: var(--orange-fonce) linear-gradient(135deg, #c24e0b, #9a3a07); color: var(--blanc); box-shadow: 0 10px 24px -12px rgba(242, 106, 27, .8); }
.bouton--contour { border-color: var(--bordeaux); color: var(--bordeaux); background: transparent; }
.bouton--clair { background: var(--blanc); color: var(--bordeaux); }
.bouton--fantome { border-color: rgba(255, 255, 255, .45); color: var(--blanc); background: transparent; }
.groupe-boutons { display: flex; flex-wrap: wrap; gap: 14px; }
/* Dans un bloc centré (intros), les boutons se centrent aussi. */
.intro--centre .groupe-boutons { justify-content: center; }

@media (hover: hover) and (pointer: fine) {
  .bouton--primaire:hover { background: #8a3306; color: var(--blanc); }
  .bouton--contour:hover { background: var(--bordeaux); color: var(--blanc); }
  .bouton--clair:hover { background: var(--jaune); color: var(--bordeaux-nuit); }
  .bouton--fantome:hover { background: var(--blanc); color: var(--bordeaux); border-color: var(--blanc); }
  .bouton:hover .icone { transform: translateX(3px); }
}

/* ---------- En-tête ---------- */


.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 240ms ease, border-color 240ms ease;
}
.entete.est-defile { box-shadow: 0 10px 30px -18px rgba(58, 6, 20, .35); border-color: var(--bord); }
.entete .conteneur { display: flex; align-items: center; gap: 20px; min-height: 80px; }
.marque { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bordeaux-nuit); }
.marque img { width: 50px; height: 50px; }
.marque span { font: 600 1.55rem/1 var(--police-titre); letter-spacing: -0.01em; }
.marque b { color: var(--orange); font-weight: 600; }

.nav ul { display: flex; align-items: center; gap: 4px; }
.nav .bouton { white-space: nowrap; }
.nav a:not(.bouton) {
  position: relative; display: inline-block; padding: 10px 14px; text-decoration: none; white-space: nowrap;
  font-weight: 600; font-size: .97rem; color: var(--texte);
}
.nav a:not(.bouton)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease-out);
}
.nav a[aria-current="page"] { color: var(--bordeaux); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav li:last-child { margin-left: 10px; }
.nav .bouton { min-height: 46px; padding: 0 22px; }
@media (hover: hover) and (pointer: fine) {
  .nav a:not(.bouton):hover { color: var(--bordeaux); }
  .nav a:not(.bouton):hover::after { transform: scaleX(1); }
}

.nav { margin-left: auto; }

/* Sélecteur de langue : deux pastilles, la langue affichée est pleine. */
.langues {
  display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--bord); border-radius: 999px; background: var(--blanc);
}
.langues a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 34px; padding: 0 8px;
  border-radius: 999px; font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-decoration: none; color: var(--texte);
  transition: background 200ms ease, color 200ms ease;
}
.langues a[aria-current="true"] { background: var(--bordeaux); color: var(--blanc); }
@media (hover: hover) and (pointer: fine) {
  .langues a:not([aria-current="true"]):hover { color: var(--bordeaux); background: var(--sable); }
}

.menu-bouton {
  display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--bord);
  background: var(--blanc); color: var(--bordeaux); align-items: center; justify-content: center; cursor: pointer;
}
.menu-bouton .icone { width: 24px; height: 24px; }

/* À six liens + bouton d'appel, la barre déborde sous 1180 px : menu hamburger à partir de là
   (le pied de page, lui, bascule en 2 colonnes à 960 px). */
@media (max-width: 1180px) {
  .menu-bouton { display: inline-flex; }
  .langues { margin-left: auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--blanc); border-bottom: 1px solid var(--bord);
    box-shadow: 0 24px 40px -24px rgba(58, 6, 20, .4);
    padding: 12px var(--gouttiere) 24px;
    opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .nav.est-ouvert { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a:not(.bouton) { display: block; padding: 14px 6px; white-space: normal; border-bottom: 1px solid var(--sable); font-size: 1.05rem; }
  .nav a:not(.bouton)::after { display: none; }
  .nav li:last-child { margin: 16px 0 0; }
  .nav .bouton { width: 100%; }
}

/* Sur téléphone, logo, sélecteur de langue et bouton de menu doivent tenir sur une ligne. */
@media (max-width: 480px) {
  .entete .conteneur { gap: 10px; }
  .marque { gap: 8px; }
  .marque img { width: 42px; height: 42px; }
  .marque span { font-size: 1.3rem; }
  .langues a { position: relative; min-width: 32px; min-height: 32px; padding: 0 6px; }
  /* Zone tactile portée à 44 px de haut sans agrandir la pastille, pour garder l'en-tête sur une ligne. */
  .langues a::after { content: ""; position: absolute; inset: -6px 0; }
  .menu-bouton { width: 44px; height: 44px; }
}
/* ---------- Héros (accueil) ---------- */

.heros { position: relative; overflow: hidden; color: rgba(255, 255, 255, .88); }
.heros__pastille {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--jaune);
  background: rgba(20, 2, 8, .35); border: 1px solid rgba(249, 191, 18, .35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.heros__point { width: 8px; height: 8px; border-radius: 50%; background: var(--jaune); box-shadow: 0 0 0 4px rgba(249, 191, 18, .2); animation: halo-point 2.4s ease-in-out infinite; }
/* Nom distinct de « pulsation » (bouton vidéo) : deux @keyframes homonymes, la dernière écrase l'autre. */
@keyframes halo-point { 50% { box-shadow: 0 0 0 9px rgba(249, 191, 18, 0); } }

/* ---------- Carrousel d'accueil : une diapositive par public cible ---------- */

.carrousel { padding: 0; min-height: clamp(600px, 92vh, 860px); display: flex; flex-direction: column; background: var(--bordeaux-nuit); }
.carrousel__piste { position: relative; flex: 1; display: grid; }
/* Toutes les diapositives occupent la même cellule : le fondu se fait sur place. */
.diapo { grid-area: 1 / 1; position: relative; display: flex; align-items: center; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 900ms var(--ease-out), visibility 0s 900ms; }
.diapo.est-active { opacity: 1; visibility: visible; transition: opacity 900ms var(--ease-out); }
.diapo__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s linear; }
.diapo.est-active .diapo__photo { transform: scale(1); }
/* Voile : lisibilité du texte blanc quelle que soit la photo. */
.diapo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(42, 4, 15, .94) 0%, rgba(58, 6, 20, .78) 40%, rgba(58, 6, 20, .2) 75%),
    linear-gradient(to top, rgba(42, 4, 15, .9), transparent 40%);
}
.diapo__contenu { position: relative; z-index: 1; padding-block: clamp(70px, 9vw, 110px) clamp(170px, 16vw, 220px); }
.diapo__titre {
  color: var(--blanc); max-width: 13ch; margin: .5em 0 .35em;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.04;
}
.diapo__texte { max-width: 32rem; margin-bottom: 30px; color: rgba(255, 255, 255, .85); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
/* Entrée décalée du contenu de la diapositive active. */
.diapo__contenu > * { opacity: 0; transform: translateY(22px); }
.diapo.est-active .diapo__contenu > * { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); }
.diapo.est-active .diapo__contenu > :nth-child(2) { transition-delay: 120ms; }
.diapo.est-active .diapo__contenu > :nth-child(3) { transition-delay: 240ms; }
.diapo.est-active .diapo__contenu > :nth-child(4) { transition-delay: 360ms; }

.carrousel__barre { position: absolute; left: 0; right: 0; bottom: clamp(76px, 9vw, 124px); z-index: 2; }
.carrousel__barre .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.carrousel__onglets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; flex: 1; max-width: 720px; }
.carrousel__onglet {
  position: relative; padding: 16px 0 0; text-align: left; font: 600 .92rem/1.2 var(--police-texte);
  color: rgba(255, 255, 255, .6); background: none; border: 0; cursor: pointer; transition: color 300ms ease;
}
.carrousel__onglet::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .2); }
/* La barre se remplit par scaleX (composition seule) plutôt que par width, qui relancerait la mise en page à chaque image pendant 7 s. */
.carrousel__progres { position: absolute; top: 0; left: 0; height: 3px; width: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--jaune), var(--orange)); transform: scaleX(0); transform-origin: left center; }
.carrousel__onglet[aria-current="true"] { color: var(--blanc); }
.carrousel__onglet[aria-current="true"] .carrousel__progres { animation: progression var(--duree-diapo, 7000ms) linear forwards; }
.carrousel.est-en-pause .carrousel__progres { animation-play-state: paused; }
@keyframes progression { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.carrousel__onglet:hover { color: var(--blanc); }
.carrousel__commandes { display: flex; gap: 10px; }
.carrousel__bouton {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: var(--blanc); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color 250ms ease, border-color 250ms ease;
}
.carrousel__bouton:hover { background: var(--orange); border-color: var(--orange); }
.icone--retournee { transform: scaleX(-1); }

@media (max-width: 760px) {
  /* L'en-tête (environ 80px) précède le carrousel : on le retire pour que les commandes restent visibles sans défiler. */
  .carrousel { min-height: max(560px, calc(100svh - 80px)); max-height: 900px; }
  .diapo::after { background: linear-gradient(to top, rgba(42, 4, 15, .96) 25%, rgba(58, 6, 20, .55) 65%, rgba(58, 6, 20, .25)); }
  .diapo { align-items: flex-end; }
  .diapo__contenu { text-align: center; padding-block: 48px 170px; }
  .diapo__titre, .diapo__texte { margin-inline: auto; }
  .carrousel__barre { bottom: 52px; }
  .carrousel__barre .conteneur { flex-direction: column; gap: 16px; }
  .carrousel__onglets { width: 100%; gap: 8px; }
  .carrousel__onglet { font-size: .78rem; text-align: center; white-space: nowrap; }
  /* Sur mobile seul le public affiché porte son libellé visible ; les autres restent nommés pour les lecteurs d'écran. */
  .carrousel__onglet:not([aria-current="true"]) { font-size: 0; }
  .carrousel__bouton { width: 42px; height: 42px; }
}

.heros__vague { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(60px, 8vw, 110px); color: var(--blanc); z-index: 1; }

/* ---------- Piliers qui chevauchent le héros ---------- */

/* Le carrousel garde ses onglets en bas : les piliers ne le chevauchent plus. */
.piliers { position: relative; z-index: 2; padding-top: clamp(32px, 4vw, 56px); }
.piliers .grille { grid-template-columns: repeat(3, 1fr); gap: 0; border-radius: var(--rayon-grand); overflow: hidden; box-shadow: var(--ombre-forte); }
.pilier { background: var(--blanc); padding: clamp(28px, 3.4vw, 40px); position: relative; text-align: center; }
.pilier + .pilier { border-left: 1px solid var(--bord); }
.pilier--accent { background: linear-gradient(150deg, var(--orange-fonce), #8a2f12); color: rgba(255, 255, 255, .92); }
.pilier--accent h3 { color: var(--blanc); }
.pilier--accent .pilier__icone { background: rgba(255, 255, 255, .18); color: var(--blanc); }
.pilier__icone {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--peche); color: var(--bordeaux); margin: 0 auto 18px;
}
.pilier__icone .icone { width: 26px; height: 26px; }
.pilier p { margin: 0; }
.pilier__liste { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pilier__liste li { padding: 4px 12px; border-radius: 999px; background: var(--sable); font-size: .88rem; font-weight: 600; color: var(--brun); }
@media (max-width: 900px) { .piliers .grille { grid-template-columns: 1fr; } .pilier + .pilier { border-left: 0; border-top: 1px solid var(--bord); } }

/* ---------- Cartes génériques ---------- */

.carte {
  background: var(--blanc); border: 1px solid var(--bord); border-radius: var(--rayon);
  padding: clamp(24px, 2.6vw, 32px); box-shadow: var(--ombre-douce);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 300ms ease;
}
.carte { text-align: center; }
.carte h3 { display: flex; align-items: center; justify-content: center; gap: 10px; }
.carte p:last-child { margin-bottom: 0; }
@media (hover: hover) and (pointer: fine) {
  .carte:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); border-color: transparent; }
}

.pastille {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
}
.pastille .icone { width: 26px; height: 26px; }
.pastille--bordeaux { background: #f7e1e7; color: var(--bordeaux); }
.pastille--orange { background: #fde5d6; color: var(--orange-fonce); }
.pastille--jaune { background: #fef1c7; color: #9a6a00; }
.pastille--brun { background: #efe0d4; color: var(--brun); }

/* ---------- Section claire à halos chauds et grille estompée (domaines) ---------- */

.section--futur {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(55% 45% at 12% 0%, rgba(242, 106, 27, .14), transparent 70%),
    radial-gradient(45% 55% at 100% 100%, rgba(249, 191, 18, .16), transparent 70%),
    var(--creme);
}
/* Grille fondue sur les bords par un masque, pour un effet de profondeur sans bruit visuel. */
.section--futur::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(90, 42, 14, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 42, 14, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
}

/* ---------- Carte blanche à liseré dégradé (domaines) ---------- */

.verre {
  --teinte: var(--orange);
  position: relative; isolation: isolate; border-radius: 28px; background: var(--blanc);
  box-shadow: var(--ombre-douce);
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
}
/* Bordure en dégradé : un calque masqué qui ne laisse voir que son contour de 1px. */
.verre::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, var(--teinte), var(--bord) 38%, var(--bord) 62%, color-mix(in srgb, var(--teinte) 60%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
@media (hover: hover) and (pointer: fine) { .verre:hover { transform: translateY(-6px); } }

/* ---------- Domaines d'intervention ---------- */

.domaines { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 1100px) { .domaines { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .domaines { grid-template-columns: 1fr; } }
.domaine {
  overflow: hidden; text-align: center; display: flex; flex-direction: column; align-items: center;
  padding: clamp(36px, 3.4vw, 46px) clamp(22px, 2.4vw, 30px) 32px;
}
.domaine::after {
  content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; left: 50%; top: -150px;
  transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--teinte) 55%, transparent), transparent 68%);
  opacity: .22; transition: opacity 420ms var(--ease-out), transform 620ms var(--ease-out);
}
.domaine__numero {
  position: absolute; top: 14px; right: 20px;
  font: 600 clamp(2.2rem, 3vw, 2.8rem)/1 var(--police-titre); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--teinte) 45%, transparent);
}
.domaine__icone {
  position: relative; width: 84px; height: 84px; margin-bottom: 26px; border-radius: 26px;
  display: grid; place-items: center; color: var(--blanc);
  background: linear-gradient(145deg, var(--teinte), color-mix(in srgb, var(--teinte) 70%, #5a2a0e));
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--teinte) 14%, transparent), 0 18px 40px -12px var(--teinte);
  transition: transform 420ms var(--ease-out), border-radius 420ms var(--ease-out);
}
.domaine__icone .icone { width: 38px; height: 38px; stroke-width: 1.6; }
.domaine h3 { color: var(--bordeaux-nuit); font-size: clamp(1.15rem, 1.5vw, 1.3rem); margin-bottom: .6em; }
.domaine p { color: var(--texte-doux); font-size: .96rem; margin: 0; }
.domaine__trait {
  display: block; width: 36px; height: 3px; margin-top: auto; border-radius: 3px;
  background: linear-gradient(90deg, var(--teinte), color-mix(in srgb, var(--teinte) 30%, transparent));
  transition: width 420ms var(--ease-out);
}
.domaine p + .domaine__trait { margin-top: 24px; }
.domaine--orange { --teinte: var(--orange); }
.domaine--jaune { --teinte: #e0a400; }
.domaine--rose { --teinte: var(--orange-fonce); }
.domaine--brun { --teinte: #d08a4a; }
@media (hover: hover) and (pointer: fine) {
  .domaine:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -30px color-mix(in srgb, var(--teinte) 60%, transparent); }
  .domaine:hover::after { opacity: .4; transform: translateX(-50%) scale(1.15); }
  .domaine:hover .domaine__icone { transform: rotate(-6deg) scale(1.05); border-radius: 50%; }
  .domaine:hover .domaine__trait { width: 84px; }
}

/* ---------- Bloc présentation : composition de photos réelles ---------- */

.presentation { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.presentation__visuel { position: relative; padding-bottom: clamp(48px, 7vw, 80px); }
/* Anneau en pointillés derrière la composition, rappel du motif des domaines. */
.presentation__visuel::before {
  content: ""; position: absolute; z-index: 0; width: 78%; aspect-ratio: 1; left: 11%; top: 8%;
  border-radius: 50%; border: 2px dashed rgba(123, 13, 43, .2);
}
.presentation__photo {
  position: relative; z-index: 1; margin: 0; width: 80%; aspect-ratio: 4 / 5;
  border-radius: 32px; overflow: hidden; box-shadow: var(--ombre-forte);
}
.presentation__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.presentation__photo--petite {
  position: absolute; z-index: 2; right: 0; bottom: 0; width: 48%; aspect-ratio: 1;
  border-radius: 28px; border: 6px solid var(--creme);
}
.presentation__logo {
  position: absolute; z-index: 3; top: 22px; right: 4%; width: clamp(120px, 14vw, 160px);
  padding: 14px 16px; border-radius: 22px;
  background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--ombre-forte);
}
.presentation__pastille {
  position: absolute; z-index: 3; left: -14px; bottom: clamp(70px, 9vw, 110px); max-width: 220px;
  padding: 18px 22px; border-radius: 22px; color: rgba(255, 255, 255, .86);
  background: linear-gradient(150deg, rgba(122, 13, 43, .92), rgba(58, 6, 20, .94));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(249, 191, 18, .28), 0 24px 50px -20px rgba(58, 6, 20, .7);
}
.presentation__pastille strong {
  display: block; margin-bottom: 6px; font: 600 2.5rem/1 var(--police-titre);
  background: linear-gradient(90deg, var(--jaune), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.presentation__pastille span { font-size: .9rem; line-height: 1.4; }
@media (hover: hover) and (pointer: fine) { .presentation__visuel:hover .presentation__photo img { transform: scale(1.05); } }
.presentation .liste-coches { margin: 8px 0 28px; }
@media (max-width: 900px) {
  .presentation { grid-template-columns: 1fr; }
  .presentation__visuel { max-width: 480px; margin-inline: auto; width: 100%; }
  .presentation__pastille { left: 0; }
}

/* ---------- Surface « encre » à halos chauds (éléments phares) ---------- */
/* Brun très sombre plutôt que bordeaux : garde le contraste fort sans tirer vers le violet. */
.surface-encre {
  position: relative; isolation: isolate; overflow: hidden; color: rgba(255, 255, 255, .8);
  background:
    radial-gradient(80% 65% at 100% 0%, rgba(242, 106, 27, .55), transparent 62%),
    radial-gradient(60% 55% at 0% 100%, rgba(249, 191, 18, .26), transparent 70%),
    linear-gradient(160deg, #2c170c, #190d07);
  box-shadow: var(--ombre-forte);
}
.surface-encre::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(170deg, #000 10%, transparent 80%);
          mask-image: linear-gradient(170deg, #000 10%, transparent 80%);
}
.surface-encre h3 { color: var(--blanc); }

/* ---------- Chiffres clés en compteurs ---------- */

.compteurs {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--bord); border-bottom: 1px solid var(--bord);
}
.compteur {
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  padding: clamp(30px, 4vw, 48px) clamp(14px, 2vw, 28px);
}
.compteur + .compteur { border-left: 1px solid var(--bord); }
/* Chiffres à chasse fixe : la largeur ne saute pas pendant que le compteur défile. */
.compteur__valeur {
  font: 600 clamp(2.8rem, 6vw, 4.6rem)/1 var(--police-titre); letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; color: var(--bordeaux);
}
.compteur__valeur::after {
  content: ""; display: block; width: 36px; height: 3px; margin: 18px auto 0; border-radius: 3px; background: var(--orange);
}
.compteur__libelle { max-width: 22ch; color: var(--texte-doux); font-size: .98rem; line-height: 1.45; }
@media (max-width: 860px) {
  .compteurs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compteur:nth-child(3) { border-left: 0; }
  .compteur:nth-child(n + 3) { border-top: 1px solid var(--bord); }
}

/* ---------- Projet vedette FemAutonome ---------- */

.vedette { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.vedette__visuel {
  position: relative; border-radius: var(--rayon-grand); overflow: hidden;
  box-shadow: var(--ombre-douce); aspect-ratio: 4 / 3;
}
.vedette__visuel img { width: 100%; height: 100%; object-fit: cover; }
.vedette__lieu {
  position: absolute; z-index: 1; top: 20px; left: 20px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: var(--blanc); box-shadow: var(--ombre-douce);
  font-size: .86rem; font-weight: 700; color: var(--bordeaux);
}
.activites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 30px; }
.activite {
  border-radius: 18px; background: var(--creme); border: 1px solid var(--bord);
  padding: 18px 14px; text-align: center; font-weight: 700; font-size: .92rem; line-height: 1.3; color: var(--bordeaux-nuit);
  transition: transform 300ms var(--ease-out), background-color 300ms ease;
}
.activite .icone { display: block; width: 34px; height: 34px; margin: 0 auto 10px; color: var(--orange); }
@media (hover: hover) and (pointer: fine) { .activite:hover { transform: translateY(-3px); background: var(--peche); } }
.vedette__partenaires { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; font-size: .92rem; font-weight: 600; color: var(--texte-doux); margin-bottom: 28px; }
.vedette__partenaires span { flex-basis: 100%; display: inline-flex; align-items: center; gap: 10px; }
.vedette__partenaires img { height: 40px; width: auto; max-width: 100%; object-fit: contain; }
.vedette__partenaires .icone { color: var(--bordeaux); }
@media (max-width: 900px) { .vedette { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .activites { grid-template-columns: 1fr; } .activite { display: flex; align-items: center; gap: 12px; text-align: left; } .activite .icone { margin: 0; } }

/* ---------- Médias (vidéo et témoignage) ---------- */

.medias {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: auto auto;
  gap: clamp(16px, 2vw, 24px);
}
.media {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px;
  border-radius: var(--rayon-grand); overflow: hidden; text-decoration: none;
  color: var(--blanc); isolation: isolate; background: var(--bordeaux-fonce); box-shadow: var(--ombre-douce);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.media--video { grid-row: span 2; min-height: 520px; }
.media__affiche {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.media--temoignage .media__affiche { object-position: 50% 26%; }
.media--temoignage::after { background: linear-gradient(180deg, rgba(58, 6, 20, .05) 0%, rgba(58, 6, 20, .7) 45%, rgba(58, 6, 20, .95) 100%); }
/* Voile du bas vers le haut : garde le texte lisible quelle que soit l'image de l'affiche. */
.media::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(58, 6, 20, 0) 30%, rgba(58, 6, 20, .55) 58%, rgba(58, 6, 20, .94) 100%);
}
.media__corps { display: flex; flex-direction: column; padding: clamp(22px, 2.8vw, 34px); }
.media__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.media__type { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--jaune); }
.media__duree {
  font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(6px);
}
.media h3 { color: var(--blanc); font-size: clamp(1.25rem, 2vw, 1.6rem); margin: 0; max-width: 22ch; }
.media--video h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.media__lien { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; color: var(--blanc); }
.media__lien .icone { transition: transform 200ms var(--ease-out); }

.media__lecture {
  position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: var(--blanc); box-shadow: 0 12px 30px -8px rgba(242, 106, 27, .7);
  transition: transform 300ms var(--ease-out), background-color 300ms var(--ease-out);
}
.media__lecture::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55);
  animation: pulsation 2.4s var(--ease-out) infinite;
}
.media__lecture .icone { width: 32px; height: 32px; margin-left: 3px; }
.media__lecture--petite { left: auto; right: clamp(20px, 2.4vw, 28px); top: clamp(20px, 2.4vw, 28px); transform: none; width: 56px; height: 56px; }
.media__lecture--petite .icone { width: 22px; height: 22px; }

.media--rapport { background: linear-gradient(140deg, var(--bordeaux) 0%, var(--bordeaux-fonce) 100%); flex-direction: row; align-items: stretch; }
.media--rapport::after { background: var(--motif-bogolan); opacity: .1; }
.media--rapport .media__corps { flex: 1; justify-content: flex-end; min-width: 0; }
/* Couverture dessinée du rapport : évoque le document sans dépendre d'une capture du PDF. */
.couverture {
  flex: 0 0 auto; align-self: center; width: 104px; aspect-ratio: 3 / 4;
  display: flex; flex-direction: column; gap: 4px; padding: 12px 10px; border-radius: 6px; overflow: hidden;
  background: var(--blanc); color: var(--bordeaux); transform: rotate(-5deg);
  box-shadow: 8px 8px 0 -2px rgba(249, 191, 18, .9), 0 18px 30px -12px rgba(0, 0, 0, .5);
  transition: transform 400ms var(--ease-out);
}
.couverture img { width: 22px; height: 22px; object-fit: contain; }
.couverture__titre { font-family: var(--police-titre); font-weight: 600; font-size: .78rem; line-height: 1.1; margin-top: 4px; }
.couverture__sous { font-size: .56rem; font-weight: 700; color: var(--orange-fonce); letter-spacing: .02em; text-transform: uppercase; }
.couverture__lignes {
  flex: 1; margin-top: 6px; border-radius: 2px;
  background: repeating-linear-gradient(180deg, rgba(123, 13, 43, .16) 0 2px, transparent 2px 7px);
}
.couverture--grande { width: clamp(150px, 18vw, 210px); padding: 22px 18px; gap: 8px; border-radius: 10px; box-shadow: 14px 14px 0 -4px var(--jaune), var(--ombre-forte); }
.couverture--grande img { width: 40px; height: 40px; }
.couverture--grande .couverture__titre { font-size: clamp(1.1rem, 1.6vw, 1.4rem); }
.couverture--grande .couverture__sous { font-size: .78rem; letter-spacing: .08em; }
.media--rapport .couverture { margin-left: clamp(22px, 2.8vw, 34px); }

@keyframes pulsation { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
@media (hover: hover) and (pointer: fine) {
  .media:hover { color: var(--blanc); transform: translateY(-4px); box-shadow: var(--ombre-forte); }
  .media:hover .media__affiche { transform: scale(1.05); }
  .media:hover .media__lecture { background: var(--bordeaux); }
  .media--video:hover .media__lecture { transform: translate(-50%, -50%) scale(1.08); }
  .media:hover .couverture { transform: rotate(0deg) translateY(-4px); }
  .media:hover .media__lien .icone { transform: translateX(4px); }
}
@media (max-width: 860px) {
  .medias { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .media--video { grid-row: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .media--temoignage { min-height: 380px; }
}
@media (max-width: 420px) {
  .media--video { aspect-ratio: 3 / 4; }
  .media__lecture { width: 68px; height: 68px; }
  .media--rapport .couverture { width: 84px; }
}

/* ---------- À propos : présentation et objectifs ---------- */

.organisation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.organisation__photo { position: relative; margin: 0; }
.organisation__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon-grand); box-shadow: var(--ombre-forte); }
.organisation__photo figcaption {
  position: absolute; left: clamp(16px, 3vw, 28px); bottom: clamp(-28px, -2vw, -16px);
  display: flex; flex-direction: column; padding: 14px 20px; border-radius: 18px;
  background: var(--bordeaux); color: rgba(255, 255, 255, .85); box-shadow: var(--ombre-forte); font-size: .88rem;
}
.organisation__photo figcaption strong { font-family: var(--police-titre); font-size: 1.3rem; font-weight: 500; color: var(--jaune); }
.organisation__texte h2 { margin-bottom: .5em; }
.ambition {
  margin: 28px 0 0; padding: 22px 26px; border-left: 4px solid var(--orange); border-radius: 0 18px 18px 0;
  background: var(--creme); font-family: var(--police-titre); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.5; color: var(--bordeaux-nuit);
}
.ambition__titre { display: block; margin-bottom: 8px; font-family: var(--police-texte); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-fonce); }
@media (max-width: 860px) {
  .organisation { grid-template-columns: 1fr; }
  .organisation__texte { text-align: center; }
  .ambition { text-align: left; }
}

.objectifs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.objectif {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  padding: clamp(26px, 3vw, 34px) clamp(20px, 2.4vw, 28px); border-radius: var(--rayon-grand);
  background: var(--blanc); border: 1px solid var(--bord); box-shadow: var(--ombre-douce); overflow: hidden;
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.objectif__numero {
  position: absolute; top: 10px; right: 18px; font-family: var(--police-titre); font-size: 3.2rem; line-height: 1;
  color: var(--sable); pointer-events: none;
}
.objectif h3 { margin: 4px 0 0; font-size: 1.2rem; }
.objectif p { margin: 0; color: var(--texte-doux); font-size: .95rem; }
@media (hover: hover) and (pointer: fine) { .objectif:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); } }
@media (max-width: 1080px) { .objectifs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .objectifs { grid-template-columns: 1fr; } }

/* ---------- Bannière des pages intérieures ---------- */

.banniere {
  position: relative; overflow: hidden; color: var(--texte-doux);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(242, 106, 27, .16), transparent 60%),
    radial-gradient(50% 90% at 0% 100%, rgba(249, 191, 18, .14), transparent 60%),
    var(--creme);
  padding-block: clamp(64px, 9vw, 112px) clamp(96px, 11vw, 140px);
}
.banniere::before { content: ""; position: absolute; inset: 0; opacity: .05; background: var(--motif-bogolan); }
.banniere::after {
  content: ""; position: absolute; width: 620px; height: 620px; right: -220px; top: -240px; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(242, 106, 27, .18), 0 0 0 60px rgba(242, 106, 27, .03), 0 0 0 61px rgba(242, 106, 27, .12);
}
.banniere .conteneur { position: relative; z-index: 1; }
.banniere h1 { color: var(--bordeaux); max-width: 820px; }
.banniere p { max-width: 640px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); margin: 0; }
.banniere .heros__vague { color: var(--blanc); }
.fil-ariane { display: flex; align-items: center; gap: 8px; font-size: .9rem; margin-bottom: 18px !important; color: var(--texte-doux); }
.fil-ariane a { color: var(--orange-fonce); text-decoration: none; font-weight: 600; }
.fil-ariane a:hover { color: var(--bordeaux); }

/* ---------- Duo mission / vision ---------- */

.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.encart {
  position: relative; overflow: hidden; border-radius: var(--rayon-grand); padding: clamp(32px, 4vw, 48px);
  color: rgba(255, 255, 255, .88); font-size: 1.12rem; isolation: isolate; text-align: center;
}
.encart::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08; background: var(--motif-bogolan); }
.encart::after {
  content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; right: -90px; bottom: -110px; border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, .06);
}
.encart h3 { color: var(--blanc); font-size: 1.6rem; display: flex; align-items: center; justify-content: center; gap: 12px; }
.encart h3 .icone { color: var(--jaune); width: 30px; height: 30px; }
.encart p { margin: 0; }
.encart--bordeaux { background: var(--bordeaux); }
.encart--brun { background: var(--brun); }

/* ---------- Valeurs ---------- */

.valeur { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.valeur .pastille { margin: 0; }
.valeur h3 { margin-bottom: .3em; }
.valeur p { color: var(--texte-doux); font-size: .98rem; }
/* Le texte occupe la hauteur libre pour que les trois boutons restent alignés en bas des cartes. */
.engagement > div:not(.pastille) { flex: 1; }
/* Cartes « Nous rejoindre » : lecture alignée à gauche, liseré de couleur propre à chaque engagement, bouton pleine largeur. */
.engagement {
  --accent: var(--orange); position: relative; overflow: hidden;
  align-items: flex-start; text-align: left; padding-top: clamp(30px, 3vw, 38px);
}
.engagement::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--accent); }
.engagement:has(.pastille--bordeaux) { --accent: var(--bordeaux); }
.engagement:has(.pastille--brun) { --accent: var(--brun); }
.engagement h3 { justify-content: flex-start; font-size: 1.3rem; }
.engagement .bouton { margin-top: 6px; width: 100%; justify-content: center; }

/* ---------- Projet (page projets) ---------- */

.projet {
  display: grid; grid-template-columns: .9fr 1.1fr; border-radius: var(--rayon-grand); overflow: hidden;
  background: var(--blanc); border: 1px solid var(--bord); box-shadow: var(--ombre-douce); margin-bottom: 28px;
}
.projet__visuel {
  position: relative; padding: clamp(28px, 3.4vw, 44px); color: var(--blanc); isolation: isolate;
  background: linear-gradient(160deg, var(--bordeaux) 0%, var(--bordeaux-nuit) 100%);
  display: flex; flex-direction: column; gap: 22px;
}
.projet__visuel::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .08; background: var(--motif-bogolan); }
.projet__visuel h3 { color: var(--blanc); }
.projet__photo { border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 2; }
.projet__photo img { width: 100%; height: 100%; object-fit: cover; }
/* Répartition des 20 bénéficiaires et des kits, telle que donnée par le rapport final. */
.groupes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); margin-top: clamp(28px, 4vw, 44px); }
.groupe { text-align: center; padding: 24px 18px; border-radius: var(--rayon-grand); background: var(--creme); border: 1px solid var(--bord); }
.groupe strong { display: block; font-family: var(--police-titre); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; color: var(--bordeaux); margin-bottom: 8px; }
.groupe span { display: block; color: var(--texte-doux); font-size: .92rem; line-height: 1.45; }
.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); margin-top: clamp(28px, 4vw, 44px); }
.galerie figure { position: relative; margin: 0; border-radius: var(--rayon-grand); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sable); }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.galerie figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; text-align: center;
  color: var(--blanc); font-weight: 600; font-size: .92rem; background: linear-gradient(to top, rgba(42, 4, 15, .85), transparent);
}
@media (hover: hover) and (pointer: fine) { .galerie figure:hover img { transform: scale(1.05); } }
@media (max-width: 960px) { .groupes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .galerie { grid-template-columns: 1fr; } }
.projet__corps { padding: clamp(28px, 3.4vw, 44px); }
.projet__corps p { color: var(--texte-doux); }
@media (max-width: 860px) { .projet { grid-template-columns: 1fr; } }

.etiquette {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  background: var(--peche); color: var(--bordeaux);
}
.etiquette::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(242, 106, 27, .2); }
.etiquette:has(.icone)::before { display: none; }
.etiquette--claire { background: rgba(255, 255, 255, .14); color: var(--blanc); }

.faits { display: grid; gap: 12px; }
.faits li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; line-height: 1.45; }
.faits .icone { color: var(--jaune); margin-top: 2px; }

.liste-coches { display: grid; gap: 10px; width: fit-content; max-width: 100%; margin-inline: auto; text-align: left; }
.liste-coches li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.liste-coches .icone {
  width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--orange); color: var(--blanc); stroke-width: 2.6;
}

.fiche { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .fiche { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .fiche { grid-template-columns: 1fr; } }
.fiche h3 { font-size: 1.15rem; }
.fiche h3 .icone { color: var(--orange); }
.fiche p { color: var(--texte-doux); font-size: .98rem; }

/* ---------- Ressources ---------- */

/* Lecteurs vidéo locaux : la capitalisation est en paysage, le témoignage filmé en portrait. */
.lecteurs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: clamp(20px, 3vw, 36px); align-items: start; }
.lecteur { margin: 0; }
.lecteur video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000;
  border-radius: var(--rayon-grand); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); outline: 1px solid rgba(255, 255, 255, .12);
}
.lecteur--vertical video { aspect-ratio: 9 / 16; }
.lecteur figcaption { display: flex; flex-direction: column; gap: 6px; padding: 18px 4px 0; }
.lecteur figcaption strong { font-family: var(--police-titre); font-weight: 500; font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.25; color: var(--blanc); }
.lecteur__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.section--sombre .ressource__type { color: var(--jaune); margin: 0; }
.section--sombre .surtitre, .surface-encre .surtitre { color: var(--jaune); }
.lecteur__duree { font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: var(--blanc); }
@media (max-width: 860px) {
  .lecteurs { grid-template-columns: 1fr; }
  .lecteur--vertical { max-width: 340px; width: 100%; margin-inline: auto; }
}
.rapport {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 80px);
  max-width: 980px; margin-inline: auto; padding: clamp(32px, 5vw, 64px); border-radius: var(--rayon-grand);
  background: var(--creme); border: 1px solid var(--bord);
}
.rapport .couverture { margin-left: clamp(0px, 2vw, 24px); }
.rapport h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 6px 0 12px; }
.rapport p { margin: 0; color: var(--texte-doux); max-width: 52ch; }
.rapport__infos { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 26px; padding: 0; list-style: none; font-weight: 600; font-size: .92rem; color: var(--bordeaux); }
.rapport__infos li { display: inline-flex; align-items: center; gap: 8px; }
.rapport__infos .icone { width: 18px; height: 18px; color: var(--orange); }
.rapport__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (hover: hover) and (pointer: fine) { .rapport:hover .couverture { transform: rotate(0deg) translateY(-4px); } }
@media (max-width: 760px) {
  .rapport { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .rapport .couverture { margin: 0 0 8px; }
  .rapport p { margin-inline: auto; }
  .rapport__infos, .rapport__actions { justify-content: center; }
}
.ressource p { color: var(--texte-doux); flex-grow: 1; }
.ressource__type { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-fonce); margin-bottom: 6px; }


/* ---------- Bureau exécutif : une carte par personne, présidente mise en avant ---------- */

.avatar { position: relative; overflow: hidden; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Sans photo déposée, les initiales dorées restent lisibles sur le disque sombre ; voir chargerPhotosMembres.
   L'anneau dégradé est le fond « border-box » visible à travers la bordure transparente. */
.presidente__photo, .personne__photo {
  --anneau: conic-gradient(from 200deg, var(--orange), var(--jaune), var(--orange-fonce), var(--orange));
  flex: none; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--police-titre); font-weight: 600; color: var(--jaune);
  border: 3px solid transparent;
  background: linear-gradient(160deg, #2c170c, #190d07) padding-box, var(--anneau) border-box;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--orange) 10%, transparent), 0 16px 34px -14px rgba(242, 106, 27, .55);
}
.presidente {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); max-width: 760px;
  margin: 0 auto clamp(32px, 4vw, 48px); padding: clamp(28px, 3.4vw, 40px) clamp(24px, 3.4vw, 48px);
  border-radius: var(--rayon-grand);
}
.presidente__photo { width: 148px; height: 148px; font-size: 2.6rem; box-shadow: 0 0 0 8px rgba(249, 191, 18, .1), 0 0 60px -10px rgba(242, 106, 27, .7); }
.presidente h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: .45em 0 .2em; overflow-wrap: anywhere; }
.presidente p { margin: 0; color: rgba(255, 255, 255, .7); }
.presidente .personne__statut { background: rgba(249, 191, 18, .12); color: var(--jaune); border-color: rgba(249, 191, 18, .35); }
@media (max-width: 560px) { .presidente { flex-direction: column; text-align: center; } }

/* Flex plutôt que grille : la dernière rangée incomplète (11 cartes) reste centrée. */
.equipe { --colonnes: 4; --ecart: clamp(16px, 2vw, 24px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--ecart); }
.equipe > .personne { flex: 0 0 calc((100% - (var(--colonnes) - 1) * var(--ecart)) / var(--colonnes)); }
@media (max-width: 1080px) { .equipe { --colonnes: 3; } }
@media (max-width: 760px) { .equipe { --colonnes: 2; } }
@media (max-width: 460px) { .equipe { --colonnes: 1; } }
.personne { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 20px 24px; border-radius: 24px; }
.personne__photo { width: 108px; height: 108px; font-size: 1.85rem; margin-bottom: 20px; }
/* Les membres en appui portent un anneau brun plus discret que celui des titulaires. */
.personne:has(.personne__statut--appui) .personne__photo {
  --anneau: conic-gradient(from 200deg, var(--brun), #d08a4a, var(--brun));
  box-shadow: 0 0 0 6px rgba(90, 42, 14, .06), 0 16px 34px -16px rgba(90, 42, 14, .45);
}
.personne h3 { color: var(--bordeaux-nuit); font-size: 1.08rem; line-height: 1.3; margin-bottom: .5em; overflow-wrap: anywhere; }
.personne__pole {
  flex: 1; margin: 0 0 16px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.6;
  color: color-mix(in srgb, var(--orange-fonce) 75%, var(--brun));
}
.personne__statut {
  display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid transparent;
  font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.personne__statut--titulaire { background: #fde5d6; color: #a3410a; border-color: rgba(242, 106, 27, .3); }
.personne__statut--appui { background: var(--sable); color: var(--brun); border-color: var(--bord); }

/* ---------- Partenaires ---------- */

/* Logos des bailleurs du projet FemAutonome, affichés en couleur dans la carte « Partenaires ». */
.logos-soutien { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--bord); }
.logos-soutien img { height: 48px; width: auto; max-width: 100%; object-fit: contain; }
.partenaires { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.partenaire {
  display: grid; place-items: center; height: 128px; padding: 22px 28px; border-radius: var(--rayon);
  background: var(--blanc); border: 1px solid var(--bord);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.partenaire img { max-height: 76px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter 300ms ease, opacity 300ms ease; }
@media (hover: hover) and (pointer: fine) {
  .partenaire:hover { transform: translateY(-3px); box-shadow: var(--ombre-douce); }
  .partenaire:hover img { filter: none; opacity: 1; }
}
@media (hover: none) { .partenaire img { filter: none; opacity: 1; } }

/* ---------- Appel à l'action ---------- */

.appel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto; gap: 28px 48px; align-items: center;
  border-radius: var(--rayon-grand); padding: clamp(36px, 5vw, 64px);
  background: linear-gradient(120deg, var(--orange) 0%, #e2541a 45%, var(--bordeaux) 100%);
  color: rgba(255, 255, 255, .9);
}
.appel::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .1; background: var(--motif-bogolan); }
.appel::after {
  content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -140px; top: -200px; border-radius: 50%;
  border: 60px solid rgba(249, 191, 18, .18);
}
.appel h2 { color: var(--blanc); font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: .35em; }
.appel p { margin: 0; max-width: 620px; }
@media (max-width: 760px) { .appel { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */

.contact-infos { display: grid; gap: 16px; }
/* La carte générique est centrée : ici, icône et texte se lisent côte à côte, alignés à gauche. */
.contact-infos .carte { display: flex; gap: 18px; align-items: center; text-align: left; }
.contact-infos h3 { justify-content: flex-start; }
.contact-infos .pastille { margin: 0; flex-shrink: 0; }
.contact-infos h3 { font-size: 1.12rem; margin-bottom: .2em; }
.contact-infos p { color: var(--texte-doux); overflow-wrap: anywhere; }

.formulaire { display: grid; gap: 18px; padding: clamp(28px, 3.6vw, 44px); text-align: left; }
.formulaire h2 { margin-bottom: 0; }
.champ { display: grid; gap: 8px; min-width: 0; }
.champ label { font-weight: 700; font-size: .94rem; color: var(--bordeaux-nuit); }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px;
  border: 1.5px solid var(--bord); background: var(--creme); color: var(--texte);
  font: 500 1rem/1.4 var(--police-texte);
  transition: border-color var(--duree-ui) ease, box-shadow var(--duree-ui) ease, background-color var(--duree-ui) ease;
}
.champ textarea { min-height: 160px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: none; border-color: var(--orange); background: var(--blanc); box-shadow: 0 0 0 4px rgba(242, 106, 27, .18);
}
.ligne-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.note { font-size: .9rem; color: var(--texte-doux); margin: 0; }
.champ input[type="file"] { min-height: 0; padding: 10px 12px; cursor: pointer; font-size: .94rem; color: var(--texte-doux); }
.champ input[type="file"]::file-selector-button {
  margin-right: 14px; padding: 8px 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--bordeaux); color: var(--blanc); font: 600 .9rem/1.2 var(--police-texte);
  transition: background-color var(--duree-ui) ease;
}
.champ input[type="file"]:hover::file-selector-button { background: var(--bordeaux-fonce); }
.aide-champ { font-size: .86rem; color: var(--texte-doux); }
/* Masqué aux lecteurs d'écran : l'attribut required annonce déjà le caractère obligatoire. */
.obligatoire { color: var(--orange-fonce); font-weight: 700; margin-left: 2px; }
/* Champ anti-robot : hors écran plutôt que display:none, que certains robots savent ignorer. */
.champ-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire { position: relative; }
.formulaire button[disabled] { opacity: .6; cursor: progress; }
.message-formulaire {
  margin: 0; padding: 14px 18px; border-radius: 14px; background: #fef1c7; color: var(--brun); font-weight: 600;
}
/* Page contact : une page d'action, plus resserrée que les pages de présentation. */
[data-page="contact"] .banniere { padding-block: clamp(44px, 5vw, 68px) clamp(72px, 8vw, 100px); }
[data-page="contact"] .section { padding-block: clamp(48px, 6vw, 80px); }
[data-page="contact"] .intro { margin-bottom: clamp(28px, 3.5vw, 44px); }
[data-page="contact"] .formulaire { gap: 14px; }
[data-page="contact"] .champ textarea { min-height: 130px; }
.message-formulaire--succes { background: #e3f3e6; color: #1d5a2c; }
.message-formulaire--erreur { background: #fde3e3; color: #8a1c1c; }

/* ---------- Pied de page ---------- */

.pied {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--bordeaux-nuit); color: rgba(255, 255, 255, .74); padding-top: clamp(64px, 8vw, 96px); font-size: .97rem;
}
.pied::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; background: var(--motif-bogolan); }
.pied::after {
  content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; left: -260px; bottom: -340px; border-radius: 50%;
  border: 80px solid rgba(242, 106, 27, .07);
}
.pied .grille { grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 40px; }
.pied__logo { width: 150px; background: var(--blanc); border-radius: 18px; padding: 10px 14px; margin-bottom: 20px; }
.pied__slogan { font: italic 500 1.12rem/1.4 var(--police-titre); color: var(--jaune); }
.pied h3 { color: var(--blanc); font: 700 .82rem/1 var(--police-texte); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.pied ul { display: grid; gap: 12px; }
.pied li { display: flex; gap: 10px; align-items: flex-start; }
.pied li .icone { color: var(--orange); margin-top: 3px; }
.pied a { color: rgba(255, 255, 255, .82); text-decoration: none; overflow-wrap: anywhere; }
/* L'e-mail est long : casser au point de rupture naturel (autour du « @ ») plutôt qu'au milieu du mot. */
.pied a.pied__mail { overflow-wrap: break-word; }
.pied a:hover { color: var(--jaune); }
.pied a[aria-current="page"] { color: var(--jaune); }
.pied__bas {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px 24px;
  margin-top: 56px; padding-block: 24px 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem;
}
.pied__bas p { margin: 0; }
.pied__droits { display: inline-flex; align-items: center; gap: 12px; }
.pied__droits img { width: 28px; height: 28px; padding: 3px; border-radius: 8px; background: var(--blanc); }
.pied .pied__haut {
  justify-self: end; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--blanc);
}
.pied__haut .icone {
  width: 34px; height: 34px; padding: 8px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
  transform: rotate(-90deg); transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .pied .pied__haut:hover { color: var(--jaune); }
  .pied__haut:hover .icone { background: var(--orange); border-color: var(--orange); color: var(--blanc); }
}
/* ---------- Pied de page : tablette et mobile ---------- */
@media (max-width: 960px) {
  .pied .grille { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  /* Le bloc logo traverse les deux colonnes et se centre ; Contact se range sous Domaines
     pour équilibrer les hauteurs des deux colonnes. */
  .pied .grille > div:first-child { grid-column: 1 / -1; text-align: center; }
  .pied .grille > div:last-child { grid-column: 2; }
  .pied__logo { margin-inline: auto; }
  .pied .grille > div:first-child p { max-width: 46ch; margin-inline: auto; }
}
@media (max-width: 760px) {
  .pied__bas { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pied .pied__haut { justify-self: center; }
}
@media (max-width: 560px) {
  .pied { padding-top: 56px; }
  /* Une seule colonne, tout est centré : le pied se lit comme une carte, plus équilibré
     que des listes plaquées à gauche sur un téléphone. */
  .pied .grille { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .pied ul { justify-items: center; }
  .pied li { justify-content: center; }
  .pied .grille h3 { margin-bottom: 18px; }
  .pied .grille > div p { max-width: 40ch; margin-inline: auto; }
  .pied__bas { margin-top: 44px; }
}

/* ---------- Mouvement ---------- */
/* Les éléments ne sont masqués que si le JavaScript tourne (classe html.js) :
   sans script, tout le contenu reste visible. */

.js .apparait { opacity: 0; transform: translateY(24px); }
.js .apparait.est-visible {
  opacity: 1; transform: none;
  transition: opacity var(--duree-entree) var(--ease-out) var(--delai, 0ms), transform var(--duree-entree) var(--ease-out) var(--delai, 0ms);
}
.mot-masque { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.mot { display: inline-block; }
.js [data-revele-mots] .mot { transform: translateY(105%); }
.js [data-revele-mots].est-visible .mot {
  transform: none; transition: transform 800ms var(--ease-out) calc(var(--i) * 45ms);
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .apparait { opacity: 1 !important; transform: none !important; transition: none !important; }
  .heros__point { animation: none; }
  .carrousel__onglet[aria-current="true"] .carrousel__progres { animation: none; transform: none; }
  .diapo, .diapo__photo, .diapo__contenu > * { transition: none !important; transform: none !important; }
  .js [data-revele-mots] .mot { transform: none !important; transition: none !important; }
  .media__lecture::after { animation: none; }
  /* Une boucle infinie ramenée à 1 ms clignoterait : une seule itération. */
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
}
