@charset "UTF-8";
/* =============================================================================
   ROYAL EAGLE AFRICA — Feuille de style principale
   Palette : noir profond · ivoire · bronze doré
   Typographies : Cormorant Garamond (titres) · Jost (textes et interface)
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. VARIABLES
   -------------------------------------------------------------------------- */
:root {
  --noir:        #0B0C0E;
  --noir-2:      #121418;
  --encre:       #1B1E23;
  --ivoire:      #F7F3EC;
  --ivoire-2:    #EFE8DC;
  --blanc:       #FFFFFF;
  /* --- Or : trois valeurs selon le fond, pour rester toujours lisible ------
     --or        : filets et aplats décoratifs
     --or-fonce  : TEXTE doré posé sur fond clair (4,8:1 sur crème)
     --or-clair  : TEXTE doré posé sur fond sombre (contraste 9,8:1)          */
  --or:          #B08D4F;
  --or-fonce:    #7D5F28;
  --or-clair:    #D9B67C;
  --or-pale:     rgba(176, 141, 79, .14);

  /* --- Gris : un ton par type de fond ------------------------------------- */
  --gris:        #55504A;   /* texte secondaire sur fond clair — 7,0:1        */
  --gris-doux:   #6E675F;   /* mentions discrètes sur fond clair — 4,8:1      */
  --gris-clair:  #C3BCB2;   /* texte secondaire sur fond sombre — 10,5:1      */
  --ligne:       rgba(11, 12, 14, .13);
  --ligne-fine:  rgba(11, 12, 14, .07);
  --ligne-claire:rgba(255, 255, 255, .16);

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans:  "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --contenu-max: 1280px;
  --gouttiere: clamp(20px, 5vw, 56px);
  --section: clamp(76px, 9vw, 148px);

  --ombre-douce: 0 24px 60px -32px rgba(11, 12, 14, .32);
  --ombre-forte: 0 44px 90px -40px rgba(11, 12, 14, .55);
  --transition: .55s cubic-bezier(.22, .61, .36, 1);
  --entete-h: 88px;
}

/* -----------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivoire);
  color: var(--encre);
  font-family: var(--sans);
  font-size: clamp(15.5px, .42vw + 14.4px, 17px);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: .006em;
  overflow-x: hidden;
}

/* Le lissage « antialiased » amincit les caractères : il n'est conservé que
   sur les fonds sombres, où il évite l'effet de bavure. */
.section--sombre, .pied, .hero, .hero-page, .bande-cta, .entete, .menu-mobile {
  -webkit-font-smoothing: antialiased;
}

body.menu-ouvert { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.012em;
  margin: 0 0 .55em;
  text-wrap: balance;
}

/* Le Cormorant est un caractère à déliés fins : en petit corps il est
   remonté en graisse 500 pour rester parfaitement lisible. */
h3, h4,
.carte__titre, .prestation h3, .etape h3, .engagement h3,
.membre__nom, .coordonnee__valeur, .nav-activites__titre,
.megamenu__nom, .projet__titre, .faq summary, .rangee__titre {
  font-weight: 500;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--or); color: var(--blanc); }

:focus-visible {
  outline: 2px solid var(--or);
  outline-offset: 3px;
}

.lien-evitement {
  position: fixed;
  top: -100px; left: 16px;
  z-index: 999;
  background: var(--noir);
  color: var(--ivoire);
  padding: 12px 20px;
  font-size: 14px;
  transition: top .3s;
}
.lien-evitement:focus { top: 16px; }

/* Contenu réservé aux lecteurs d'écran */
.visuellement-cache {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.contenu {
  width: 100%;
  max-width: var(--contenu-max);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}
.contenu--etroit { max-width: 940px; }

.section { padding-block: var(--section); }
.section--sombre { background: var(--noir); color: var(--ivoire); }
.section--creme { background: var(--ivoire-2); }
.section--blanc  { background: var(--blanc); }

/* -----------------------------------------------------------------------------
   3. TYPOGRAPHIE ÉDITORIALE
   -------------------------------------------------------------------------- */
.surtitre {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--or-fonce);
}
.surtitre::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--or);
  flex: none;
}
.surtitre--centre { justify-content: center; }
.surtitre--clair { color: var(--or-clair); }
.surtitre--clair::before { background: var(--or-clair); }

.titre-section {
  font-size: clamp(2.15rem, 4.1vw, 3.6rem);
  margin-bottom: .4em;
}
.titre-section--clair { color: var(--ivoire); }

.titre-page {
  font-size: clamp(2.6rem, 6vw, 5rem);
  color: var(--blanc);
  margin-bottom: .25em;
}

.chapo {
  font-size: clamp(1.06rem, .5vw + .95rem, 1.28rem);
  line-height: 1.68;
  color: var(--gris);
  max-width: 62ch;
}
.chapo--clair { color: rgba(247, 243, 236, .78); }

.lettrine::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 4.1em;
  line-height: .8;
  padding: .06em .12em 0 0;
  color: var(--or-fonce);
}

.trait-or {
  width: 62px; height: 2px;
  background: var(--or);
  border: 0;
  margin: 34px 0;
}
.trait-or--centre { margin-inline: auto; }

/* -----------------------------------------------------------------------------
   4. BOUTONS ET LIENS
   -------------------------------------------------------------------------- */
.btn {
  --btn-fond: var(--noir);
  --btn-texte: var(--ivoire);
  --btn-bord: var(--noir);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 34px;
  border: 1px solid var(--btn-bord);
  background: var(--btn-fond);
  color: var(--btn-texte);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  /* « isolation » crée un contexte d'empilement propre au bouton : le voile
     animé ci-dessous peut alors se placer SOUS le libellé, y compris quand
     celui-ci est un simple nœud de texte sans balise (impossible à indexer). */
  isolation: isolate;
  transition: color .4s, border-color .4s, background-color .4s;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--or);
  transform: translateY(101%);
  transition: transform var(--transition);
  z-index: -1;          /* au-dessus du fond, sous le texte */
}
.btn > * { position: relative; }
.btn:hover::after, .btn:focus-visible::after { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--noir); border-color: var(--or); }

.btn--or   { --btn-fond: var(--or); --btn-bord: var(--or); --btn-texte: var(--noir); }
.btn--or::after { background: var(--noir); }
/* Le filet reste doré : posé sur une section noire, le bouton conserve sa
   forme même quand son fond s'assombrit au survol. */
.btn--or:hover, .btn--or:focus-visible { color: var(--ivoire); border-color: var(--or); }

.btn--fantome { --btn-fond: transparent; --btn-bord: var(--ligne-claire); --btn-texte: var(--ivoire); }
.btn--sombre  { --btn-fond: transparent; --btn-bord: var(--ligne); --btn-texte: var(--encre); }
.btn--compact { padding: 13px 24px; font-size: 11px; letter-spacing: .16em; }

.groupe-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--or-fonce);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--or-pale);
  transition: border-color .4s, gap .4s;
}
.lien-fleche::after {
  content: "→";
  transition: transform var(--transition);
}
.lien-fleche:hover { border-color: var(--or); }
.lien-fleche:hover::after { transform: translateX(6px); }

/* -----------------------------------------------------------------------------
   5. EN-TÊTE
   -------------------------------------------------------------------------- */
.entete {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background-color .45s, box-shadow .45s, border-color .45s;
  border-bottom: 1px solid transparent;
}
/* Voile sombre sous l'en-tête transparent : la navigation claire reste
   lisible quelle que soit la photographie placée derrière. */
.entete::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(11, 12, 14, .78), rgba(11, 12, 14, .34) 62%, rgba(11, 12, 14, 0));
  transition: opacity .45s;
}
.entete.est-defile::before { opacity: 0; }
.entete__inner {
  max-width: 1560px;
  margin-inline: auto;
  padding: 0 var(--gouttiere);
  height: var(--entete-h);
  display: flex;
  align-items: center;
  gap: 28px;
  transition: height .45s;
}
.entete.est-defile {
  background: rgba(11, 12, 14, .94);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--ligne-claire);
}
.entete.est-defile .entete__inner { height: 72px; }

.marque {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-right: auto;
}
.marque__signe {
  width: auto; height: 40px;
  transition: height .45s;
}
.entete.est-defile .marque__signe { height: 34px; }
.marque__texte { display: flex; flex-direction: column; line-height: 1; }
.marque__nom {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blanc);
}
.marque__pays {
  font-size: 9.5px;
  letter-spacing: .46em;
  text-transform: uppercase;
  color: var(--or-clair);
  margin-top: 5px;
}

/* Les entrées occupent toute la hauteur de l'en-tête : aucun espace mort
   entre le lien « Activités » et le panneau déroulant. */
.nav { align-self: stretch; }
.nav__liste { display: flex; align-items: stretch; gap: 6px; height: 100%; }
.nav__liste > li { display: flex; align-items: center; }
.nav__lien {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, .82);
  transition: color .35s;
  position: relative;
}
.nav__lien::before {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 1px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav__lien:hover, .nav__lien.is-current { color: var(--blanc); }
.nav__lien:hover::before, .nav__lien.is-current::before { transform: scaleX(1); }
.nav__chevron { width: 9px; transition: transform .35s; }

/* Méga-menu */
.nav__item-deroulant { position: static; }
.megamenu {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--noir-2);
  border-top: 1px solid var(--ligne-claire);
  border-bottom: 1px solid var(--ligne-claire);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .35s, transform .35s, visibility .35s;
  box-shadow: var(--ombre-forte);
}
/* Ouverture pilotée par le script (avec temporisation de fermeture) ;
   le survol seul reste actif si JavaScript est indisponible. */
.nav__item-deroulant.est-ouvert .megamenu,
.nav__item-deroulant:hover .megamenu,
.nav__item-deroulant:focus-within .megamenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__item-deroulant.est-ouvert .nav__chevron,
.nav__item-deroulant:hover .nav__chevron { transform: rotate(180deg); }

.megamenu__inner {
  max-width: 1560px;
  margin-inline: auto;
  padding: 54px var(--gouttiere) 60px;
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: clamp(32px, 5vw, 80px);
}
.megamenu__titre { font-size: 2rem; color: var(--ivoire); }
.megamenu__texte { color: var(--gris-clair); font-size: 15px; margin-bottom: 24px; }
.megamenu__liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2px;
}
.megamenu__liste a {
  display: block;
  padding: 17px 20px;
  border: 1px solid transparent;
  transition: background-color .35s, border-color .35s, transform .35s;
}
.megamenu__liste a:hover {
  background: rgba(255, 255, 255, .04);
  border-color: var(--ligne-claire);
  transform: translateY(-2px);
}
.megamenu__num {
  display: block;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--or-clair);
  margin-bottom: 7px;
}
.megamenu__nom {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ivoire);
  line-height: 1.25;
  margin-bottom: 4px;
}
.megamenu__desc { display: block; font-size: 12.5px; color: var(--gris-clair); }

.entete__actions { display: flex; align-items: center; gap: 16px; }

/* Bouton menu mobile */
.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--ligne-claire);
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.burger span {
  position: absolute;
  left: 13px;
  width: 20px; height: 1px;
  background: var(--ivoire);
  transition: transform .4s, opacity .3s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 27px; }
.burger.est-ouvert span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.est-ouvert span:nth-child(2) { opacity: 0; }
.burger.est-ouvert span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Menu mobile plein écran */
.menu-mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--noir);
  padding: calc(var(--entete-h) + 26px) var(--gouttiere) 40px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity .4s, transform .4s;
}
.menu-mobile.est-visible { opacity: 1; transform: translateY(0); }
.menu-mobile__liste { border-top: 1px solid var(--ligne-claire); }
.menu-mobile__liste li { border-bottom: 1px solid var(--ligne-claire); }
.menu-mobile__liste a {
  display: block;
  padding: 17px 2px;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ivoire);
}
.menu-mobile__sous a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 300;
  color: var(--gris-clair);
  padding: 12px 2px 12px 18px;
}
.menu-mobile__sous span { font-family: var(--serif); color: var(--or); font-size: .8rem; }
.menu-mobile__pied { margin-top: 32px; color: var(--gris-clair); font-size: 14px; }
.menu-mobile__pied .btn { width: 100%; margin-bottom: 22px; }

/* -----------------------------------------------------------------------------
   6. HÉROS
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(94vh, 900px);
  display: flex;
  align-items: flex-end;
  padding-block: calc(var(--entete-h) + 60px) clamp(56px, 8vw, 110px);
  overflow: hidden;
  background: var(--noir);
}
.hero__media {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  animation: zoomLent 22s ease-out forwards;
}
@keyframes zoomLent {
  from { transform: scale(1.1); }
  to   { transform: scale(1); }
}
.hero__voile {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(11, 12, 14, .93) 4%, rgba(11, 12, 14, .5) 44%, rgba(11, 12, 14, .68) 100%),
    linear-gradient(to right, rgba(11, 12, 14, .72), transparent 62%);
}
.hero__inner { position: relative; width: 100%; }
.hero__titre {
  font-size: clamp(2.7rem, 6.6vw, 6rem);
  color: var(--blanc);
  max-width: 15ch;
  margin-bottom: .3em;
}
.hero__titre em { font-style: italic; color: var(--or-clair); }
.hero__intro {
  color: rgba(247, 243, 236, .8);
  max-width: 54ch;
  font-size: clamp(1rem, .45vw + .92rem, 1.2rem);
}
.hero__pied {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 46px;
}
.hero__signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--or-clair);
  border-left: 1px solid var(--or);
  padding-left: 18px;
}
.hero__defile {
  position: absolute;
  right: var(--gouttiere); bottom: 40px;
  writing-mode: vertical-rl;
  font-size: 10.5px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, .55);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__defile::after {
  content: "";
  width: 1px; height: 58px;
  background: linear-gradient(var(--or), transparent);
  animation: filet 2.4s ease-in-out infinite;
}
@keyframes filet {
  0%, 100% { transform: scaleY(.4); opacity: .5; transform-origin: top; }
  50%      { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* Héros des pages intérieures */
.hero-page {
  position: relative;
  min-height: min(62vh, 560px);
  display: flex;
  align-items: flex-end;
  padding-block: calc(var(--entete-h) + 70px) clamp(44px, 5vw, 74px);
  overflow: hidden;
  background: var(--noir);
}
.hero-page__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-page__voile {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11, 12, 14, .94), rgba(11, 12, 14, .52) 62%, rgba(11, 12, 14, .74));
}
.hero-page__inner { position: relative; width: 100%; }
.hero-page__num {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 9vw, 7rem);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(217, 182, 124, .78);
  margin-bottom: 18px;
}

/* Fil d'Ariane */
.fil {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, .6);
  margin-bottom: 26px;
}
.fil a:hover { color: var(--or-clair); }
.fil span { color: var(--or-clair); }
.fil li::after { content: "/"; margin-left: 10px; color: rgba(247, 243, 236, .3); }
.fil li:last-child::after { content: ""; }
.fil li { display: flex; align-items: center; gap: 10px; }

/* -----------------------------------------------------------------------------
   7. BLOCS DE CONTENU
   -------------------------------------------------------------------------- */
.entete-section {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
  margin-bottom: clamp(38px, 5vw, 68px);
}
.entete-section--centre {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.entete-section p.chapo { margin-top: 6px; }

/* Bloc image + texte */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}
.split--inverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.split__media--paysage img { aspect-ratio: 4 / 3; }
.cadre-or::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--or);
  z-index: -1;
}
.split__texte h2 { margin-bottom: .5em; }

/* Vignette flottante */
.vignette {
  position: absolute;
  right: -28px; bottom: -34px;
  width: min(58%, 240px);
  border: 8px solid var(--ivoire);
  box-shadow: var(--ombre-douce);
}
.vignette img { aspect-ratio: 1; object-fit: cover; }
.section--sombre .vignette { border-color: var(--noir); }

/* Encart chiffre sur image */
.badge-annees {
  position: absolute;
  left: -26px; bottom: 34px;
  background: var(--or);
  color: var(--noir);
  padding: 22px 26px;
  text-align: center;
  box-shadow: var(--ombre-douce);
}
.badge-annees strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
}
.badge-annees span {
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* -----------------------------------------------------------------------------
   8. CARTES D'ACTIVITÉ
   -------------------------------------------------------------------------- */
/* Les filets sont portés par les cellules elles-mêmes : une rangée incomplète
   ne laisse ainsi aucun bloc de couleur vide en fin de grille. */
.grille-activites {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  border-top: 1px solid var(--ligne);
  border-left: 1px solid var(--ligne);
}
.carte {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ivoire);
  overflow: hidden;
  border-right: 1px solid var(--ligne);
  border-bottom: 1px solid var(--ligne);
  transition: background-color .5s;
}
.carte__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
}
.carte__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.22,.61,.36,1), filter .8s;
}
.carte:hover .carte__media img { transform: scale(1.07); }
.carte__num {
  position: absolute;
  top: 18px; left: 20px;
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .75);
  z-index: 2;
}
.carte__corps {
  padding: 30px 30px 34px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid transparent;
}
.carte__baseline {
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--or-fonce);
  margin-bottom: 12px;
}
.carte__titre {
  font-size: 1.62rem;
  margin-bottom: .4em;
}
.carte__texte {
  color: var(--gris);
  font-size: .95rem;
  margin-bottom: 24px;
  flex: 1;
}
.carte__lien {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--encre);
  transition: color .4s, gap .4s;
}
.carte__lien::after { content: "→"; transition: transform var(--transition); }
.carte:hover .carte__lien { color: var(--or-fonce); }
.carte:hover .carte__lien::after { transform: translateX(6px); }
.carte__couverture {
  position: absolute;
  inset: 0;
  z-index: 3;
}
/* Dans une carte en colonne, le lien ne doit pas s'étirer sur toute la largeur */
.carte__corps .lien-fleche { align-self: flex-start; }

/* Liste alternée des activités (page Activités) */
.rangee {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  padding-block: clamp(40px, 5vw, 74px);
  border-bottom: 1px solid var(--ligne);
}
.rangee:last-child { border-bottom: 0; }
.rangee:nth-child(even) .rangee__media { order: 2; }
.rangee__media { position: relative; overflow: hidden; }
.rangee__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1);
}
.rangee:hover .rangee__media img { transform: scale(1.05); }
.rangee__num {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--or-fonce);
  margin-bottom: 12px;
}
.rangee__titre { font-size: clamp(1.7rem, 2.4vw, 2.35rem); }
.rangee__liste {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 30px;
}
.rangee__liste li {
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gris);
  border: 1px solid var(--ligne);
  padding: 7px 13px;
}

/* -----------------------------------------------------------------------------
   9. PRESTATIONS (page activité)
   -------------------------------------------------------------------------- */
.grille-prestations {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  border-top: 1px solid var(--ligne);
  border-left: 1px solid var(--ligne);
}
.prestation {
  background: transparent;
  padding: 34px 30px 36px;
  border-right: 1px solid var(--ligne);
  border-bottom: 1px solid var(--ligne);
  transition: background-color .45s, transform .45s;
}
.prestation:hover { background: var(--blanc); }
.prestation__num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--or-fonce);
  display: block;
  margin-bottom: 14px;
}
.prestation h3 { font-size: 1.32rem; margin-bottom: .45em; }
.prestation p { color: var(--gris); font-size: .93rem; }

.liste-points { display: grid; gap: 16px; margin-top: 28px; }
.liste-points li {
  position: relative;
  padding-left: 34px;
  font-size: .97rem;
  color: var(--gris);
}
.liste-points li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 20px; height: 1px;
  background: var(--or);
}
.section--sombre .liste-points li { color: rgba(247, 243, 236, .74); }

/* -----------------------------------------------------------------------------
   10. CHIFFRES CLÉS
   -------------------------------------------------------------------------- */
.chiffres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border-top: 1px solid var(--ligne-claire);
  border-left: 1px solid var(--ligne-claire);
}
.chiffre {
  background: var(--noir);
  padding: 44px 28px;
  text-align: center;
  border-right: 1px solid var(--ligne-claire);
  border-bottom: 1px solid var(--ligne-claire);
}
.chiffre__valeur {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.6vw, 4rem);
  line-height: 1;
  color: var(--or-clair);
  display: block;
  margin-bottom: 14px;
}
.chiffre__label {
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ivoire);
  display: block;
  margin-bottom: 8px;
}
.chiffre__detail { font-size: .86rem; color: var(--gris-clair); }

/* -----------------------------------------------------------------------------
   11. PROCESSUS
   -------------------------------------------------------------------------- */
.processus {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 34px;
  counter-reset: etape;
}
.etape { position: relative; padding-top: 34px; }
.etape::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--ligne);
}
.etape::after {
  content: "";
  position: absolute;
  top: -4px; left: 0;
  width: 9px; height: 9px;
  background: var(--or);
  border-radius: 50%;
}
.section--sombre .etape::before { background: var(--ligne-claire); }
.etape__num {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--or-fonce);
  display: block;
  margin-bottom: 12px;
}
.etape h3 { font-size: 1.3rem; margin-bottom: .4em; }
.etape p { font-size: .92rem; color: var(--gris); }
.section--sombre .etape p { color: var(--gris-clair); }
.section--sombre .etape h3 { color: var(--ivoire); }

/* -----------------------------------------------------------------------------
   12. ENGAGEMENTS / SECTEURS
   -------------------------------------------------------------------------- */
.grille-engagements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 3vw, 44px);
}
.engagement {
  border-top: 2px solid var(--or);
  padding-top: 26px;
}
.engagement h3 { font-size: 1.45rem; margin-bottom: .35em; }
.engagement p { font-size: .93rem; color: var(--gris); }
.section--sombre .engagement p { color: var(--gris-clair); }
.section--sombre .engagement h3 { color: var(--ivoire); }

.secteurs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  border-top: 1px solid var(--ligne);
  border-left: 1px solid var(--ligne);
}
.secteurs li {
  border-right: 1px solid var(--ligne);
  border-bottom: 1px solid var(--ligne);
  padding: 26px 24px;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 14px;
}
.secteurs li::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--or);
  transform: rotate(45deg);
  flex: none;
}

/* -----------------------------------------------------------------------------
   13. GALERIE ET RÉALISATIONS
   -------------------------------------------------------------------------- */
.filtres {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 44px;
}
.filtre {
  border: 1px solid var(--ligne);
  background: transparent;
  color: var(--gris);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 11px 18px;
  cursor: pointer;
  transition: background-color .35s, color .35s, border-color .35s;
}
.filtre:hover { border-color: var(--or); color: var(--encre); }
.filtre.est-actif { background: var(--noir); border-color: var(--noir); color: var(--ivoire); }

.grille-galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.projet {
  position: relative;
  overflow: hidden;
  background: var(--noir);
  cursor: zoom-in;
}
.projet img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1), opacity .6s;
}
.projet:hover img { transform: scale(1.06); opacity: .55; }
.projet__legende {
  position: absolute;
  inset: auto 0 0;
  padding: 26px 24px;
  background: linear-gradient(to top, rgba(11,12,14,.92), transparent);
  color: var(--ivoire);
  transform: translateY(12px);
  opacity: 0;
  transition: transform .5s, opacity .5s;
}
.projet:hover .projet__legende, .projet:focus-within .projet__legende { transform: translateY(0); opacity: 1; }
.projet__domaine {
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--or-clair);
  display: block;
  margin-bottom: 8px;
}
.projet__titre { font-family: var(--serif); font-size: 1.35rem; display: block; }
.projet__texte { font-size: .88rem; color: rgba(247,243,236,.84); margin-top: 6px; }
.projet.est-masque { display: none; }

/* Galerie compacte (page activité) */
.trio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.trio figure { margin: 0; overflow: hidden; }
.trio img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.22,.61,.36,1);
}
.trio figure:hover img { transform: scale(1.06); }
.trio figcaption {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gris);
  padding-top: 14px;
}
.section--sombre .trio figcaption { color: var(--gris-clair); }

/* Visionneuse */
.visionneuse {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 9, 11, .96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 60px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.visionneuse.est-visible { opacity: 1; visibility: visible; }
.visionneuse img { max-width: 100%; max-height: 82vh; object-fit: contain; }
.visionneuse__legende {
  position: absolute;
  bottom: 30px; left: 0; right: 0;
  text-align: center;
  color: var(--ivoire);
  font-family: var(--serif);
  font-size: 1.2rem;
}
.visionneuse__fermer {
  position: absolute;
  top: 24px; right: 24px;
  width: 48px; height: 48px;
  border: 1px solid var(--ligne-claire);
  background: transparent;
  color: var(--ivoire);
  font-size: 22px;
  cursor: pointer;
  transition: background-color .3s;
}
.visionneuse__fermer:hover { background: var(--or); color: var(--noir); }

/* -----------------------------------------------------------------------------
   14. DIRECTION
   -------------------------------------------------------------------------- */
.grille-equipe {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(20px, 2.6vw, 34px);
}
.membre { text-align: center; }
.membre__photo {
  position: relative;
  overflow: hidden;
  background: var(--ivoire-2);
  margin-bottom: 20px;
}
.membre__photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: filter .7s, transform 1.1s cubic-bezier(.22,.61,.36,1);
}
.membre:hover .membre__photo img { filter: grayscale(0); transform: scale(1.04); }
.membre__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color .5s;
}
.membre:hover .membre__photo::after { border-color: var(--or); }
.membre__nom { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 4px; }
.membre__poste {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--or-fonce);
}

/* -----------------------------------------------------------------------------
   15. FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.42rem);
  list-style: none;
  transition: color .35s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--or-fonce); }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--or-fonce);
  flex: none;
  transition: transform .4s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__reponse {
  padding-bottom: 30px;
  color: var(--gris);
  max-width: 78ch;
  font-size: .97rem;
}

/* -----------------------------------------------------------------------------
   16. BANDE D'APPEL À L'ACTION
   -------------------------------------------------------------------------- */
.bande-cta {
  position: relative;
  padding-block: clamp(80px, 10vw, 148px);
  /* L'image de fond est appliquée en ligne (includes/footer.php) afin que le
     chemin reste relatif au document et non à cette feuille de style. */
  background-color: var(--noir);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  overflow: hidden;
}
.bande-cta__voile {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(11,12,14,.86), rgba(11,12,14,.9));
}
.bande-cta__inner { position: relative; }
.bande-cta .surtitre { justify-content: center; }
.bande-cta__texte {
  color: rgba(247, 243, 236, .76);
  max-width: 58ch;
  margin-inline: auto;
}
.bande-cta .groupe-btn { justify-content: center; }

/* Bande citation */
.citation {
  text-align: center;
  max-width: 34ch;
  margin-inline: auto;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  font-style: italic;
  line-height: 1.32;
  color: var(--ivoire);
}
.citation__auteur {
  display: block;
  margin-top: 26px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--or-clair);
}

/* -----------------------------------------------------------------------------
   17. NAVIGATION ENTRE ACTIVITÉS
   -------------------------------------------------------------------------- */
.nav-activites {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--ligne);
  border-block: 1px solid var(--ligne);
}
.nav-activites a {
  background: var(--ivoire);
  padding: 40px clamp(24px, 4vw, 52px);
  transition: background-color .4s;
}
.nav-activites a:hover { background: var(--blanc); }
.nav-activites__sens {
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--or-fonce);
  display: block;
  margin-bottom: 12px;
}
.nav-activites__titre { font-family: var(--serif); font-size: 1.5rem; }
.nav-activites a:last-child { text-align: right; }

/* -----------------------------------------------------------------------------
   18. FORMULAIRE
   -------------------------------------------------------------------------- */
.bloc-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
}
.form { display: grid; gap: 26px; }
.form__ligne {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}
.champ { position: relative; display: flex; flex-direction: column; }
.champ label {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gris);
  margin-bottom: 9px;
}
.champ .obligatoire { color: var(--or-fonce); }
.champ input,
.champ select,
.champ textarea {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--encre);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ligne);
  padding: 12px 2px;
  transition: border-color .4s;
  border-radius: 0;
}
.champ select { cursor: pointer; }
.champ textarea { resize: vertical; min-height: 130px; }
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-bottom-color: var(--or);
}
.champ input::placeholder, .champ textarea::placeholder { color: var(--gris-doux); }
.champ--erreur input,
.champ--erreur select,
.champ--erreur textarea { border-bottom-color: #B4432F; }
.champ__erreur { font-size: 12.5px; color: #9E3626; font-weight: 500; margin-top: 7px; }

.champ--case {
  flex-direction: row;
  align-items: flex-start;
  gap: 13px;
}
.champ--case input { width: 18px; height: 18px; accent-color: var(--or); flex: none; margin-top: 3px; }
.champ--case label {
  font-size: .87rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gris);
  margin: 0;
  line-height: 1.6;
}
.pot-de-miel { position: absolute; left: -9999px; opacity: 0; }

.alerte {
  padding: 22px 26px;
  border-left: 2px solid var(--or);
  background: var(--or-pale);
  font-size: .95rem;
  margin-bottom: 34px;
}
.alerte--erreur { border-left-color: #B4432F; background: rgba(180, 67, 47, .09); }
.alerte strong { display: block; font-family: var(--serif); font-size: 1.2rem; margin-bottom: 4px; }

/* Coordonnées */
.coordonnees { display: grid; gap: 30px; }
.coordonnee { border-top: 1px solid var(--ligne); padding-top: 22px; }
.coordonnee__label {
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--or-fonce);
  display: block;
  margin-bottom: 10px;
}
.coordonnee__valeur { font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; }
.coordonnee__valeur a:hover { color: var(--or); }

/* -----------------------------------------------------------------------------
   19. PIED DE PAGE
   -------------------------------------------------------------------------- */
.pied {
  background: var(--noir);
  color: var(--gris-clair);
  padding-block: clamp(56px, 7vw, 96px) 34px;
  font-size: .92rem;
}
.pied__haut {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(34px, 4vw, 62px);
  padding-bottom: 54px;
  border-bottom: 1px solid var(--ligne-claire);
}
.pied__logo { width: 190px; height: auto; margin-bottom: 22px; }
.pied__signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--or-clair);
  margin-bottom: 16px;
}
.pied__texte { max-width: 42ch; font-size: .9rem; }
.pied__titre {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ivoire);
  margin-bottom: 22px;
}
.pied__liste li { margin-bottom: 12px; }
.pied__liste a {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  transition: color .35s;
}
.pied__liste a:hover { color: var(--or-clair); }
.pied__num { font-family: var(--serif); font-size: 11px; color: var(--or-clair); letter-spacing: .1em; }
.pied__adresse { font-style: normal; line-height: 1.9; }
.pied__adresse a:hover { color: var(--or-clair); }
.pied__horaires { color: rgba(247, 243, 236, .62); font-size: .85rem; }
.social { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; }
.social a {
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ligne-claire);
  transition: color .35s, border-color .35s;
}
.social a:hover { color: var(--or-clair); border-color: var(--or); }
.pied__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  font-size: .82rem;
  color: rgba(247, 243, 236, .58);
}
.pied__bas a:hover { color: var(--or-clair); }

/* Retour en haut */
.haut-de-page {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 48px; height: 48px;
  background: var(--noir);
  color: var(--ivoire);
  border: 1px solid var(--ligne-claire);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .4s, transform .4s, visibility .4s, background-color .3s;
}
.haut-de-page.est-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.haut-de-page:hover { background: var(--or); color: var(--noir); }
.haut-de-page svg { width: 16px; margin-inline: auto; }

/* -----------------------------------------------------------------------------
   20. ANIMATIONS D'APPARITION
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1);
}
[data-reveal].est-visible { opacity: 1; transform: none; }
[data-reveal-delai="1"] { transition-delay: .1s; }
[data-reveal-delai="2"] { transition-delay: .2s; }
[data-reveal-delai="3"] { transition-delay: .3s; }
[data-reveal-delai="4"] { transition-delay: .4s; }

/* -----------------------------------------------------------------------------
   21. ICÔNES, MOTIFS ET ORNEMENTS
   -------------------------------------------------------------------------- */

/* --- Icônes au filet fin --------------------------------------------------- */
.icone {
  display: block;
  flex: none;
  vertical-align: middle;
}

/* Icône inscrite dans un cartouche carré, façon estampille */
.icone-cadre {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border: 1px solid var(--ligne);
  color: var(--or-fonce);
  background: var(--blanc);
  margin-bottom: 20px;
  transition: color .45s, border-color .45s, background-color .45s, transform .45s;
}
.carte:hover .icone-cadre,
.rangee:hover .icone-cadre {
  color: var(--noir);
  border-color: var(--or);
  background: var(--or-pale);
}
.section--sombre .icone-cadre,
.carte--sombre .icone-cadre {
  border-color: var(--ligne-claire);
  background: rgba(255, 255, 255, .05);
  color: var(--or-clair);
}
.icone-cadre--petit { width: 44px; height: 44px; margin-bottom: 16px; }

/* Carte sur fond sombre (appel à l'action des grilles) */
.carte--sombre {
  background: var(--noir);
  color: var(--ivoire);
  border-right-color: rgba(255, 255, 255, .14);
  border-bottom-color: rgba(255, 255, 255, .14);
}
.carte--sombre.motif::after { background: linear-gradient(to bottom, transparent 40%, var(--noir) 100%); }
.carte--sombre.motif-chevrons::before { opacity: .13; }

/* Icône alignée devant un intitulé */
.avec-icone {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avec-icone--haut { align-items: flex-start; }
.avec-icone--haut .icone { margin-top: 6px; }

/* Dans les coordonnées, l'icône reprend l'or adapté au fond */
.coordonnee__label .icone { color: var(--or-fonce); }
.pied__adresse .icone { color: var(--or-clair); }
.pied__adresse p { margin-bottom: 14px; }

/* --- Motifs de fond (dérivés du chevron du logotype) ----------------------- */
/* Même principe que pour les boutons : le motif reste sous le contenu, quelle
   que soit la nature des enfants (balises ou simple texte). */
.motif { position: relative; overflow: hidden; isolation: isolate; }
.motif > * { position: relative; }
.motif::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-repeat: repeat;
}

/* Chevrons ascendants — rappel de la silhouette de l'aigle */
.motif-chevrons::before {
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='76' height='76'%3E%3Cpath d='M0 50 38 26l38 24' fill='none' stroke='%23B08D4F' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 76px 76px;
}
.section--sombre.motif-chevrons::before { opacity: .11; }

/* Semis de losanges — trame discrète pour les fonds crème */
.motif-losanges::before {
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='54' height='54'%3E%3Cpath d='M27 7 47 27 27 47 7 27z' fill='none' stroke='%23B08D4F' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 54px 54px;
}
.section--sombre.motif-losanges::before { opacity: .1; }

/* Filets diagonaux très fins */
.motif-filets::before {
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Cpath d='M0 18 18 0' fill='none' stroke='%23B08D4F' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 18px 18px;
}
.section--sombre.motif-filets::before { opacity: .09; }

/* Voile dégradé pour que le motif s'efface vers le bas de la section */
.motif::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 40%, var(--ivoire) 100%);
  opacity: .55;
}
.section--creme.motif::after { background: linear-gradient(to bottom, transparent 40%, var(--ivoire-2) 100%); }
.section--sombre.motif::after { background: linear-gradient(to bottom, transparent 40%, var(--noir) 100%); }

/* --- Ornement de séparation ------------------------------------------------ */
.ornement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: clamp(30px, 4vw, 48px) 0;
  color: var(--or);
}
.ornement::before, .ornement::after {
  content: "";
  height: 1px;
  width: min(120px, 20vw);
  background: linear-gradient(90deg, transparent, var(--or));
}
.ornement::after { background: linear-gradient(90deg, var(--or), transparent); }
.ornement .icone { width: 20px; height: 20px; }
.section--sombre .ornement { color: var(--or-clair); }
.section--sombre .ornement::before { background: linear-gradient(90deg, transparent, var(--or-clair)); }
.section--sombre .ornement::after  { background: linear-gradient(90deg, var(--or-clair), transparent); }

/* Coin décoratif : deux filets dorés en équerre */
.equerre { position: relative; }
.equerre::before, .equerre::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border: 1px solid var(--or);
  opacity: .55;
  pointer-events: none;
}
.equerre::before { top: -10px; left: -10px; border-width: 1px 0 0 1px; }
.equerre::after  { bottom: -10px; right: -10px; border-width: 0 1px 1px 0; }

/* --- Rappels de lisibilité sur fond sombre --------------------------------- */
.section--sombre .lien-fleche,
.megamenu .lien-fleche,
.bande-cta .lien-fleche,
.carte--sombre .lien-fleche { color: var(--or-clair); border-bottom-color: rgba(217, 182, 124, .28); }
.section--sombre .lien-fleche:hover,
.megamenu .lien-fleche:hover,
.carte--sombre .lien-fleche:hover { border-bottom-color: var(--or-clair); }

.section--sombre .carte__baseline,
.carte--sombre .carte__baseline,
.section--sombre .etape__num,
.section--sombre .prestation__num,
.section--sombre .coordonnee__label { color: var(--or-clair); }

.section--sombre .carte__titre,
.carte--sombre .carte__titre { color: var(--ivoire); }
.carte--sombre .carte__texte { color: var(--gris-clair); }

.section--sombre .trait-or { background: var(--or-clair); }

/* -----------------------------------------------------------------------------
   22. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .entete__actions .btn { display: none; }
}

@media (max-width: 860px) {
  :root { --entete-h: 72px; }
  .entete-section { grid-template-columns: 1fr; align-items: start; }
  .entete-section .lien-fleche { margin-top: 4px; }
  .split--inverse .split__media,
  .rangee:nth-child(even) .rangee__media { order: 0; }
  .cadre-or::before { inset: 14px -14px -14px 14px; }
  .vignette { right: -12px; bottom: -20px; width: 42%; border-width: 6px; }
  .badge-annees { left: -12px; padding: 16px 18px; }
  .badge-annees strong { font-size: 2rem; }
  .bande-cta { background-attachment: scroll; }
  .hero__defile { display: none; }
  .nav-activites a:last-child { text-align: left; }
  .pied__haut { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  /* La vignette rentre dans la colonne : plus aucun débordement latéral */
  .vignette { right: 0; bottom: -14px; width: 44%; }
  .pied__haut { grid-template-columns: 1fr; }
  .grille-activites, .grille-prestations, .secteurs { grid-template-columns: 1fr; }
  .groupe-btn .btn { width: 100%; }
  .haut-de-page { right: 14px; bottom: 14px; }
}

/* -----------------------------------------------------------------------------
   23. PRÉFÉRENCES UTILISATEUR
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .entete, .menu-mobile, .bande-cta, .haut-de-page, .filtres, .visionneuse { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .hero-page { min-height: auto; padding-block: 20px; }
  .hero__media, .hero-page__media, .hero__voile, .hero-page__voile { display: none; }
  .titre-page, .hero__titre { color: #000; }
}
