/* =========================================================================
   LIEU RESSOURCE — Feuille de styles principale
   Palette & univers issus des documents de l'association
   (terracotta, vert sauge, rose poudré, crème, encre, touche de bleu sarcelle)
   Auteur : intégration front-end — 2026
   ========================================================================= */

/* ----------------------------- 1. TOKENS ------------------------------- */
:root {
  /* Couleurs de marque */
  --terracotta:      #C2664A;
  --terracotta-soft: #D98A6F;
  --coral:           #E08A6E;
  --sage:            #7C8A6E;
  --sage-deep:       #5E6B53;
  --plum:            #3A2630;
  --teal:            #4E8597;
  --gold:            #CBA16A;

  /* Neutres chauds */
  --cream:           #FBF6F0;
  --cream-2:         #F5EBE1;
  --blush:           #F2DACD;
  --sand:            #EADCCB;
  --ink:             #3A2D2A;   /* texte principal */
  --ink-soft:        #6A5A53;   /* texte secondaire */
  --line:            #E4D5C7;   /* filets / séparateurs */
  --white:           #ffffff;

  /* Sémantique */
  --bg:              var(--cream);
  --bg-alt:          var(--cream-2);
  --text:            var(--ink);
  --muted:           var(--ink-soft);
  --accent:          var(--terracotta);

  /* Typo */
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body:    "Jost", "Century Gothic", "Segoe UI", system-ui, sans-serif;
  --font-script:  "Caveat", "Segoe Script", cursive;

  /* Mesures */
  --container: 1240px;
  --container-narrow: 880px;
  --radius:   18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 6px 20px rgba(58, 38, 48, .08);
  --shadow:    0 18px 50px rgba(58, 38, 48, .14);
  --shadow-lg: 0 32px 80px rgba(58, 38, 48, .20);

  --header-h: 120px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ----------------------------- 2. RESET -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--terracotta); color: #fff; }

/* ----------------------------- 3. TYPO --------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; color: var(--plum); letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
h4 { font-size: 1.25rem; }
p { color: var(--ink); }
strong { font-weight: 500; }

.script { font-family: var(--font-script); color: var(--terracotta); font-weight: 600; }
.overline {
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--terracotta);
  display: inline-flex; align-items: center; gap: .8em;
}
.overline::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.overline.center::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }

.lead { font-size: clamp(1.12rem, 1.7vw, 1.32rem); color: var(--ink-soft); font-weight: 300; line-height: 1.7; }

/* ----------------------------- 4. LAYOUT ------------------------------- */
.container { width: min(100% - 3rem, var(--container)); margin-inline: auto; }
.container.narrow { width: min(100% - 3rem, var(--container-narrow)); }
.section { padding: clamp(4.5rem, 9vw, 8.5rem) 0; position: relative; }
.section.tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.bg-alt { background: var(--bg-alt); }
.bg-blush { background: linear-gradient(180deg, var(--cream) 0%, var(--blush) 100%); }
.bg-sage { background: var(--sage-deep); color: #f3efe6; }
.bg-sage h2, .bg-sage h3 { color: #fff; }
.bg-plum { background: var(--plum); color: #efe3df; }
.bg-plum h2, .bg-plum h3 { color: #fff; }

.center { text-align: center; }
.section-head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-head.center { text-align: center; }
.section-head h2 { margin: .5rem 0 1rem; }

.grid { display: grid; gap: clamp(1.4rem, 2.5vw, 2.2rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ----------------------------- 5. BUTTONS ------------------------------ */
.btn {
  --b: var(--terracotta);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 2em;
  font-family: var(--font-body); font-size: .82rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: var(--b); color: #fff;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s ease;
  box-shadow: 0 10px 26px rgba(194, 102, 74, .28);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(194, 102, 74, .36); background: #b15640; }
.btn--ghost {
  background: transparent; color: var(--plum);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover { background: var(--plum); color: #fff; box-shadow: inset 0 0 0 1.5px var(--plum); }
.btn--light { background: #fff; color: var(--plum); box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.btn--light:hover { background: var(--blush); color: var(--plum); }
.btn--on-dark { background: #fff; color: var(--plum); box-shadow: none; }
.btn--on-dark:hover { background: var(--terracotta); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.btn--outline-light:hover { background: #fff; color: var(--plum); }
.btn--sm { padding: .72em 1.4em; font-size: .74rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--terracotta);
  transition: gap .3s var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover { gap: .85em; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ----------------------------- 6. HEADER / NAV ------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 150; /* > .mobile-menu (110) : le hamburger doit rester visible/cliquable menu ouvert */
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), height .4s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: min(100% - 2.6rem, 1380px); }

.brand { display: flex; align-items: center; gap: .7rem; z-index: 2; }
.brand__logo { width: 92px; height: 92px; flex: none; transition: transform .5s var(--ease), width .4s var(--ease), height .4s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-6deg) scale(1.05); }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name b { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; color: var(--plum); letter-spacing: .02em; }
.brand__name span { font-family: var(--font-body); font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--terracotta); margin-top: 3px; }

/* nav desktop */
.nav { display: flex; align-items: center; gap: clamp(.25rem, .65vw, .65rem); }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .6rem .05rem;
  font-size: .68rem; font-weight: 400; letter-spacing: .04em; text-transform: uppercase;
  color: var(--plum); white-space: nowrap;
  transition: color .3s ease;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px;
  background: var(--terracotta); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__item:hover .nav__link, .nav__link[aria-current="page"] { color: var(--terracotta); }
.nav__item:hover .nav__link::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link .caret { width: 9px; height: 9px; opacity: .7; transition: transform .3s ease; }
.nav__item:hover .nav__link .caret { transform: rotate(180deg); }

/* dropdown */
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 232px; padding: .7rem;
  background: rgba(255,255,255,.97); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .32s var(--ease), transform .32s var(--ease), visibility .32s;
}
.nav__item:hover .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: block; padding: .62rem .85rem; border-radius: 10px;
  font-size: .9rem; color: var(--ink); letter-spacing: .01em;
  transition: background .25s ease, color .25s ease, padding-left .25s ease;
}
.dropdown a:hover { background: var(--blush); color: var(--terracotta); padding-left: 1.1rem; }

.header-cta { display: flex; align-items: center; gap: .9rem; }
.header-phone { display: inline-flex; align-items: center; gap: .5em; font-size: .82rem; letter-spacing: .04em; color: var(--plum); font-weight: 400; white-space: nowrap; }
.header-phone svg { width: 17px; height: 17px; color: var(--terracotta); }
.header-phone:hover { color: var(--terracotta); }

.header-fb { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(58,38,48,.06); color: var(--plum); transition: background .25s ease, color .25s ease, transform .25s ease; flex: none; }
.header-fb svg { width: 17px; height: 17px; }
.header-fb:hover { background: var(--terracotta); color: #fff; transform: translateY(-2px); }

/* état "scrolled" + thème clair sur hero */
.site-header.is-solid { background: rgba(251, 246, 240, .92); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line), 0 10px 40px rgba(58,38,48,.06); height: 104px; }
.site-header.is-solid .brand__logo { width: 76px; height: 76px; }
.site-header.on-hero:not(.is-solid) .nav__link,
.site-header.on-hero:not(.is-solid) .brand__name b,
.site-header.on-hero:not(.is-solid) .header-phone { color: #fff; }
.site-header.on-hero:not(.is-solid) .brand__name span { color: var(--blush); }
.site-header.on-hero:not(.is-solid) .header-phone svg { color: #fff; }
.site-header.on-hero:not(.is-solid) .header-fb { background: rgba(255,255,255,.16); color: #fff; }
.site-header.on-hero:not(.is-solid) .burger span { background: #fff; }
.site-header.on-hero:not(.is-solid) .burger { background: rgba(255,255,255,.16); backdrop-filter: blur(4px); }
.burger { background: rgba(58,38,48,.06); }

/* burger — visible par défaut (mobile), masqué sur desktop via media min-width plus bas */
.burger { display: flex; flex-direction: column; width: 46px; height: 46px; border-radius: 50%; position: relative; z-index: 120; align-items: center; justify-content: center; }
.burger span { display: block; width: 24px; height: 2px; background: var(--plum); border-radius: 2px; position: relative; transition: transform .4s var(--ease), opacity .3s ease, background .3s; }
.burger span + span { margin-top: 6px; }
.burger.is-open span { background: var(--plum); }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ----------------------------- 7. MOBILE MENU -------------------------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--cream);
  padding: calc(var(--header-h) + 1rem) 1.6rem 2.5rem;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform .55s var(--ease-out);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu__inner { max-width: 560px; margin: 0 auto; }
.m-item { border-bottom: 1px solid var(--line); }
.m-link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 1.05rem .3rem;
  font-family: var(--font-display); font-size: 1.5rem; color: var(--plum);
}
.m-link .caret { width: 16px; height: 16px; color: var(--terracotta); transition: transform .35s var(--ease); }
.m-item.open .m-link .caret { transform: rotate(180deg); }
.m-sub { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.m-item.open .m-sub { max-height: 460px; }
.m-sub a { display: block; padding: .55rem .3rem .55rem 1.1rem; font-size: 1.02rem; color: var(--ink-soft); }
.m-sub a:hover { color: var(--terracotta); }
.mobile-menu__foot { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu__foot .btn { width: 100%; }
.m-contact { display: flex; flex-direction: column; gap: .4rem; font-size: 1rem; color: var(--ink-soft); margin-top: 1rem; }
.m-contact a { color: var(--terracotta); }

body.no-scroll { overflow: hidden; }

/* ----------------------------- 8. HERO --------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video {
  width: 100%; height: 120%; object-fit: cover; position: absolute; top: -10%; left: 0;
  will-change: transform;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(40,24,30,.55) 0%, rgba(40,24,30,.12) 30%, rgba(40,24,30,.25) 65%, rgba(40,24,30,.75) 100%),
    radial-gradient(120% 80% at 70% 20%, rgba(194,102,74,.18), transparent 60%);
}
.hero__inner { position: relative; z-index: 2; padding-top: var(--header-h); width: min(100% - 3rem, var(--container)); margin-inline: auto; }
.hero__content { max-width: 760px; }
.hero .overline { color: var(--blush); }
.hero .overline::before { background: var(--blush); }
.hero h1 { color: #fff; margin: 1rem 0 1.4rem; text-shadow: 0 4px 30px rgba(0,0,0,.3); }
.hero h1 em { font-style: italic; color: var(--blush); }
.hero__sub { font-size: clamp(1.08rem, 1.7vw, 1.35rem); font-weight: 300; max-width: 600px; color: rgba(255,255,255,.92); line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  color: rgba(255,255,255,.85); font-size: .68rem; letter-spacing: .25em; text-transform: uppercase;
}
.hero__scroll .mouse { width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 14px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* hero secondaire (sous-pages) */
.page-hero { position: relative; min-height: 56vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 116%; object-fit: cover; position: absolute; top: -8%; will-change: transform; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,24,30,.5) 0%, rgba(40,24,30,.15) 40%, rgba(40,24,30,.72) 100%); }
.page-hero__inner { position: relative; z-index: 2; padding: 0 0 clamp(2.5rem, 6vw, 5rem); }
.page-hero h1 { color: #fff; margin-top: .6rem; text-shadow: 0 4px 26px rgba(0,0,0,.32); }
.page-hero p { color: rgba(255,255,255,.92); max-width: 600px; margin-top: 1rem; font-weight: 300; }
.page-hero .overline { color: var(--blush); }
.page-hero .overline::before { background: var(--blush); }

/* fil d'ariane */
.crumbs { display: flex; gap: .5rem; font-size: .8rem; letter-spacing: .04em; color: rgba(255,255,255,.8); margin-bottom: .4rem; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span { opacity: .6; }

/* ----------------------------- 9. COMPOSANTS --------------------------- */

/* Bloc texte + image alterné */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.feature.reverse .feature__media { order: 2; }
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.feature__media.tall img { aspect-ratio: 3/3.6; }
/* Affiches & visuels avec texte : afficher l'image ENTIÈRE (aucun recadrage),
   les marges sont comblées par un fond sable discret. */
.feature__media img.fit-contain,
.card__media img.fit-contain { object-fit: contain; background: var(--sand, #efe6da); }
.feature__media .badge {
  position: absolute; bottom: -22px; right: -10px;
  background: var(--cream); color: var(--terracotta);
  border-radius: var(--radius); padding: 1rem 1.4rem; box-shadow: var(--shadow);
  font-family: var(--font-script); font-size: 1.5rem; line-height: 1.1; max-width: 220px;
  border: 1px solid var(--line);
}
.feature__body h2 { margin-bottom: 1.2rem; }
.feature__body p + p { margin-top: 1rem; }
.feature__body .btn, .feature__body .link-arrow { margin-top: 1.8rem; }

/* Cartes */
.card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(228, 213, 199, .6);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 16/11; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__media .tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(251,246,240,.92); color: var(--terracotta);
  padding: .4em 1em; border-radius: var(--radius-pill);
  font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.card__body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.card__body p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.card__body .link-arrow { margin-top: 1.2rem; }

/* Carte "icône" (valeurs / missions) */
.tile {
  background: var(--white); border-radius: var(--radius-lg); padding: 2.2rem 1.9rem;
  border: 1px solid rgba(228, 213, 199, .7); box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  height: 100%;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tile__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.3rem;
  background: linear-gradient(140deg, var(--blush), var(--sand)); color: var(--terracotta);
}
.tile__icon svg { width: 28px; height: 28px; }
.tile h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.tile p { color: var(--ink-soft); font-size: .96rem; }
.tile--sage .tile__icon { background: linear-gradient(140deg, #dfe4d4, #c9d2bb); color: var(--sage-deep); }
.tile--teal .tile__icon { background: linear-gradient(140deg, #cfe2e8, #b6d2da); color: var(--teal); }

/* Numérotation (missions) */
.numbered { counter-reset: n; }
.numbered .tile { position: relative; }
.numbered .tile::before {
  counter-increment: n; content: counter(n, decimal-leading-zero);
  position: absolute; top: 1.4rem; right: 1.6rem;
  font-family: var(--font-display); font-size: 1.6rem; color: var(--sand); font-weight: 600;
}

/* Citation */
.quote { text-align: center; max-width: 880px; margin-inline: auto; padding: clamp(2rem,5vw,4rem) 0; }
.quote__mark { font-family: var(--font-display); font-size: 5rem; line-height: .4; color: var(--terracotta); opacity: .4; }
.quote blockquote { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.32; color: var(--plum); font-style: italic; font-weight: 400; margin: 1rem 0; }
.quote cite { font-style: normal; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--terracotta); }
.bg-sage .quote blockquote, .bg-plum .quote blockquote { color: #fff; }
.bg-sage .quote cite, .bg-plum .quote cite { color: var(--blush); }
.bg-sage .quote__mark, .bg-plum .quote__mark { color: var(--blush); }

/* Bande citation avec image de fond */
.quote-band { position: relative; color: #fff; text-align: center; overflow: hidden; background: var(--plum); }
.quote-band__media { position: absolute; inset: 0; z-index: 0; }
.quote-band__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7) saturate(0.95); }
.quote-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,26,30,.55), rgba(40,26,30,.62)); }
.quote-band .container { position: relative; z-index: 2; }
.quote-band blockquote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.3; max-width: 900px; margin: 0 auto 1rem; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.quote-band cite { font-style: normal; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blush); }

/* Liste détaillée (accordéon de contenu) */
.rich p + p { margin-top: 1.1rem; }
.rich ul { display: grid; gap: .7rem; margin: 1.2rem 0; }
.rich ul li { position: relative; padding-left: 1.7rem; color: var(--ink-soft); }
.rich ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); }

/* Bloc section interne ancrable */
.anchor { scroll-margin-top: 100px; }

/* Stats / chiffres */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--terracotta); line-height: 1; }
.stat span { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: .6rem; display: block; }
.bg-sage .stat b, .bg-plum .stat b { color: var(--blush); }
.bg-sage .stat span, .bg-plum .stat span { color: rgba(255,255,255,.78); }

/* Bande CTA — photo de fond visible, légèrement assombrie pour garder
   le texte blanc lisible (les text-shadows complètent le contraste). */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2.8rem, 6vw, 5rem); color: #fff; text-align: center; background: var(--plum); }
.cta-band__media { position: absolute; inset: 0; z-index: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8) saturate(0.95); }
.cta-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(34,22,18,.52), rgba(45,30,28,.4) 55%, rgba(60,70,55,.38)); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin-bottom: 1rem; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.cta-band p { color: rgba(255,255,255,.95); max-width: 620px; margin: 0 auto 2rem; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.cta-band .hero__actions { justify-content: center; margin-top: 0; }

/* Galerie / mosaïque */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; grid-auto-flow: dense; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(58,38,48,.5)); opacity: 0; transition: opacity .4s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figure:hover::after { opacity: 1; }
.gallery figcaption { position: absolute; left: 1rem; bottom: .9rem; z-index: 2; color: #fff; font-size: .82rem; letter-spacing: .05em; opacity: 0; transform: translateY(8px); transition: .4s var(--ease); }
.gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }
.g-w6 { grid-column: span 6; } .g-w4 { grid-column: span 4; } .g-w3 { grid-column: span 3; } .g-w8 { grid-column: span 8; }
.g-h2 { grid-row: span 2; }
.gallery figure { aspect-ratio: 4/3; }
.gallery figure.g-h2 { aspect-ratio: 4/6.3; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(28,18,22,.94); display: grid; place-items: center; padding: 4vw; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav { position: absolute; color: #fff; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; transition: background .3s ease; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 4vw; right: 4vw; }
.lightbox__nav.prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lightbox__nav.next { right: 3vw; top: 50%; transform: translateY(-50%); }
.lightbox__cap { position: absolute; bottom: 3vw; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-size: .9rem; }

/* Accordéon (FAQ / fonctionnement) */
.accordion { max-width: 820px; margin-inline: auto; }
.acc { border-bottom: 1px solid var(--line); }
.acc__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; text-align: left; padding: 1.4rem .2rem; font-family: var(--font-display); font-size: 1.3rem; color: var(--plum); }
.acc__head .ic { flex: none; width: 26px; height: 26px; position: relative; }
.acc__head .ic::before, .acc__head .ic::after { content: ""; position: absolute; background: var(--terracotta); border-radius: 2px; top: 50%; left: 50%; transition: transform .35s var(--ease); }
.acc__head .ic::before { width: 16px; height: 2px; transform: translate(-50%, -50%); }
.acc__head .ic::after { width: 2px; height: 16px; transform: translate(-50%, -50%); }
.acc.open .acc__head .ic::after { transform: translate(-50%, -50%) scaleY(0); }
.acc__body { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.acc__body-inner { padding: 0 .2rem 1.5rem; color: var(--ink-soft); }
.acc.open .acc__body { max-height: 600px; }

/* Tarifs (formations) */
.price-list { display: grid; gap: .2rem; }
.price-cat { margin-top: 1.8rem; }
.price-cat h4 { font-family: var(--font-display); font-size: 1.5rem; color: var(--terracotta); margin-bottom: .6rem; }
.price-row { display: flex; align-items: baseline; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); }
.price-row .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.price-row .name { color: var(--ink); }
.price-row .val { font-family: var(--font-display); font-size: 1.2rem; color: var(--plum); font-weight: 600; white-space: nowrap; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-cards { display: grid; gap: 1.1rem; }
.contact-card { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease); }
.contact-card:hover { transform: translateY(-4px); }
.contact-card .ic { flex: none; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(140deg, var(--blush), var(--sand)); color: var(--terracotta); display: grid; place-items: center; }
.contact-card .ic svg { width: 24px; height: 24px; }
.contact-card h4 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .3rem; font-weight: 500; }
.contact-card a, .contact-card p { font-family: var(--font-display); font-size: 1.35rem; color: var(--plum); }
.contact-card a:hover { color: var(--terracotta); }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-sm); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--cream); transition: border-color .3s ease, background .3s ease; font-weight: 300;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--terracotta); background: #fff; }
.form__note { font-size: .82rem; color: var(--ink-soft); margin-top: .4rem; }
.form__status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 12px; font-size: .92rem; display: none; }
.form__status.ok { display: block; background: #e7efe0; color: var(--sage-deep); }
.form__status.err { display: block; background: #f6e3dd; color: #a4472c; }

/* ----------------------------- 10. FOOTER ------------------------------ */
.site-footer { background: var(--plum); color: #e9ddd8; padding: clamp(3.5rem, 7vw, 6rem) 0 2rem; position: relative; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand__name b { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.66); margin-top: 1.2rem; font-size: .95rem; max-width: 280px; }
.footer-col h5 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blush); margin-bottom: 1.2rem; font-weight: 500; }
.footer-col a { display: block; color: rgba(255,255,255,.72); padding: .32rem 0; font-size: .95rem; transition: color .25s ease, padding-left .25s ease; }
.footer-col a:hover { color: #fff; padding-left: 6px; }
.footer-contact a, .footer-contact p { color: rgba(255,255,255,.82); font-size: .98rem; margin-bottom: .5rem; }
.footer-contact a:hover { color: #fff; }
/* Bouton HelloAsso du footer : rétablit le style .btn que .footer-col a / .footer-contact a écrasent */
.footer-contact a.btn {
  display: inline-flex; color: #fff; margin-top: 1.4rem; margin-bottom: 0;
  font-size: .74rem; padding: .72em 1.4em;
  border: 1.5px solid rgba(255,255,255,.55);
}
.footer-contact a.btn:hover { color: #fff; padding-left: 1.4em; }
.socials { display: flex; gap: .7rem; margin-top: 1.2rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; transition: background .3s ease, transform .3s ease; }
.socials a:hover { background: var(--terracotta); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ----------------------------- 11. ANIMATIONS -------------------------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
/* Images : visibles par défaut (jamais masquées) pour éviter tout "vide"
   si l'IntersectionObserver n'agit pas. L'effet d'apparition reste possible
   via la classe .reveal-anim ajoutée par le JS (enhancement uniquement). */
.reveal-img { clip-path: inset(0 0 0 0); }
.reveal-anim .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-out); }
.reveal-anim .reveal-img.in { clip-path: inset(0 0 0 0); }

/* Mode capture / aperçu (?shot) : tout est révélé immédiatement */
.shot-mode .reveal, .shot-mode .reveal-img { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }

/* décor : forme organique */
.blob { position: absolute; z-index: 0; filter: blur(2px); opacity: .5; pointer-events: none; }

/* divider organique */
.wave-top { display: block; width: 100%; height: 60px; }

/* ----------------------------- 12. RESPONSIVE -------------------------- */
@media (max-width: 1480px) { .header-phone { display: none; } }
@media (max-width: 1320px) { .header-cta .btn { display: none; } }
@media (min-width: 1221px) { .burger { display: none; } }
@media (max-width: 1220px) {
  .nav, .header-phone { display: none; }
  .burger { display: flex; }
  .header-cta .btn { display: none; }
}
@media (max-width: 760px) {
  :root { --header-h: 88px; }
  .brand__logo { width: 60px; height: 60px; }
  .site-header.is-solid { height: 80px; }
  .site-header.is-solid .brand__logo { width: 54px; height: 54px; }
  .brand__name b { font-size: 1.15rem; }
  .brand__name span { font-size: .55rem; }
}
@media (max-width: 900px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1rem; }
  .feature { grid-template-columns: 1fr; gap: 2rem; }
  .feature.reverse .feature__media { order: 0; }
  .feature__media img, .feature__media.tall img { aspect-ratio: 16/11; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .g-w6, .g-w8 { grid-column: span 6; } .g-w4, .g-w3 { grid-column: span 3; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container, .container.narrow { width: min(100% - 2rem, var(--container)); }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .g-w6, .g-w8, .g-w4, .g-w3 { grid-column: span 1; }
  .gallery figure.g-h2 { aspect-ratio: 4/3; grid-row: span 1; }
  .hero__actions { gap: .7rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .footer-bottom { flex-direction: column; }
}
