/* ══════════════════════════════════════════
   COMPONENTS — Fanny Corpet Theme
   ══════════════════════════════════════════ */

/* ── 404 ── */

.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--nav-height) + 4rem);
}

.page-404__text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}


/* ── Cookie banner RGPD ── */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: var(--green-dark);
  padding: 16px 24px;
  animation: fadeUp 0.3s ease both;
}

.cookie-banner__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-banner__text {
  font-size: 0.82rem;
  color: rgba(245, 237, 227, 0.7);
  margin: 0;
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--salmon);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cookie-banner__btn:hover {
  opacity: 0.85;
}

.cookie-banner__btn--accept {
  background: var(--salmon);
  color: var(--green-dark);
}

.cookie-banner__btn--reject {
  background: transparent;
  border: 1px solid rgba(245, 237, 227, 0.3);
  color: rgba(245, 237, 227, 0.6);
}

@media (max-width: 600px) {
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}


/* ── Bandeau promo ── */

.promo-banner {
  text-align: center;
  padding: 10px 20px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.promo-banner--salmon { color: var(--green-dark); }
.promo-banner--green-dark,
.promo-banner--green-mid { color: var(--cream); }

.promo-banner__link {
  color: var(--green-dark);
  text-decoration: none;
}

.promo-banner__link:hover {
  text-decoration: underline;
}

.promo-banner__text {
  color: var(--green-dark);
}

.promo-banner[style*="green"] .promo-banner__link,
.promo-banner[style*="green"] .promo-banner__text {
  color: var(--cream);
}


/* ── Popup promo ── */

.site-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.site-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 61, 46, 0.6);
  backdrop-filter: blur(4px);
}

.site-popup__box {
  position: relative;
  background: var(--cream);
  max-width: 480px;
  width: 100%;
  text-align: center;
  animation: fadeUp 0.4s ease both;
  overflow: hidden;
}

.site-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(245, 237, 227, 0.8);
  border: none;
  font-size: 1.4rem;
  color: var(--green-dark);
  cursor: pointer;
  line-height: 1;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-popup__close:hover {
  background: var(--cream);
}

.site-popup__image {
  display: block;
  width: 100%;
}

.site-popup__content {
  padding: 2rem 3rem 3rem;
}

.site-popup__title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--green-dark);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.site-popup__text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.site-popup__text p {
  margin: 0;
}

@media (max-width: 600px) {
  .site-popup__content {
    padding: 1.5rem;
  }
}


/* ── Navigation ── */

.site-nav {
  position: fixed;
  top: var(--banner-height);
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 61, 46, 0.97);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease-in-out;
}

.site-nav.nav-scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19.2px 48px;
}

/* Logo */
.nav-logo {
  font-family: var(--font-serif);
  font-size: 18.4px;
  letter-spacing: 0.368px;
  color: var(--cream);
  text-decoration: none;
}

.nav-logo .logo-accent {
  color: var(--salmon);
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(245, 237, 227, 0.6);
  text-decoration: none;
  padding-bottom: 2px;
  transition: color 0.2s;
}

.nav-link:hover {
  color: rgba(245, 237, 227, 0.9);
}

.nav-link.active {
  font-weight: 600;
  color: var(--salmon);
  border-bottom: 1px solid var(--salmon);
}

.nav-sep {
  color: rgba(245, 237, 227, 0.2);
  font-size: 14px;
  font-weight: 300;
  transform: rotate(-20deg);
  display: inline-block;
  user-select: none;
}

/* Right side */
.nav-right {
  display: flex;
  align-items: center;
  gap: 19.2px;
}

/* Language toggle */
.nav-lang {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.2px;
  display: flex;
  gap: 6.4px;
}

.nav-lang .lang-active {
  color: var(--salmon);
}

.nav-lang .lang-dot {
  color: rgba(245, 237, 227, 0.3);
}

.nav-lang .lang-inactive {
  color: rgba(245, 237, 227, 0.5);
  transition: color 0.2s;
}

.nav-lang .lang-inactive:hover {
  color: rgba(245, 237, 227, 0.8);
}

/* CTA button */
.nav-cta {
  font-size: 12.8px;
  font-weight: 500;
  letter-spacing: 1.024px;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--salmon);
  padding: 8.8px 22.4px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-cta:hover {
  opacity: 0.8;
}

/* Burger */
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile overlay */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(11, 61, 46, 0.98);
  padding-top: 80px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.nav-mobile-overlay.open {
  display: flex;
}

.nav-mobile-overlay .mobile-link {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--cream);
  text-decoration: none;
}

.nav-mobile-overlay .mobile-link.active {
  color: var(--salmon);
}

.nav-mobile-overlay .mobile-cta {
  margin-top: 1rem;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--salmon);
  padding: 12px 28px;
  text-decoration: none;
}

/* Mobile breakpoint */
@media (max-width: 767px) {
  .nav-inner {
    padding: 16px 20px;
  }

  .nav-links,
  .nav-lang,
  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: flex;
  }
}

@media (min-width: 768px) {
  .nav-mobile-overlay {
    display: none !important;
  }
}


/* ── Footer ── */

.site-footer {
  background: rgb(7, 31, 23);
  padding: 64px 80px 32px;
}

.footer-inner {
  display: grid;
  /* La marque, puis autant de colonnes de largeur égale que le BO en contient. */
  grid-template-columns: 1.5fr;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4rem;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(245, 237, 227, 0.08);
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--salmon);
  display: block;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(245, 237, 227, 0.45);
  margin: 0 0 16px 0;
  max-width: 280px;
}

.footer-linkedin {
  display: inline-flex;
  color: rgba(245, 237, 227, 0.4);
  transition: color 0.2s;
}

.footer-linkedin:hover {
  color: var(--salmon);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(245, 237, 227, 0.6);
  margin: 0 0 4px 0;
}

.footer-link {
  font-size: 13px;
  color: rgba(245, 237, 227, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--salmon);
}

.footer-bottom {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: rgba(245, 237, 227, 0.25);
}

.footer-credit {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: rgba(245, 237, 227, 0.25);
}

.footer-credit a {
  color: rgba(245, 237, 227, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-credit a:hover {
  color: rgba(245, 237, 227, 0.7);
}

@media (max-width: 767px) {
  .site-footer {
    padding: 48px 24px 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    gap: 2rem;
  }
}


/* ── Hero (shared page hero) ── */

.page-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.page-hero--green { background: var(--green-dark); }
.page-hero--cream { background: var(--cream); }
.page-hero--cream-dark { background: var(--cream-dark); }

.page-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  max-width: 50%;
  padding: calc(var(--nav-height) + 2rem) 5rem 3rem;
}

.page-hero__content .hero-eyebrow {
  animation: fadeUp 0.7s ease-out 0.2s both;
}

.page-hero__content .hero-title {
  animation: fadeUp 0.7s ease-out 0.4s both;
}

.page-hero__content .hero-sub {
  animation: fadeUp 0.7s ease-out 0.6s both;
}

.page-hero__content .hero-actions {
  animation: fadeUp 0.7s ease-out 0.8s both;
}

.page-hero__photo img {
  animation: fadeIn 1.2s ease-out 0.3s both;
}

.page-hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  /* Contient la photo quand un zoom est appliqué depuis l'admin. */
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
}

.page-hero__photo img {
  /* Largeur libre : la boîte de l'image épouse la photo, sans bandes vides.
     La photo est donc entière à zoom 100 %. */
  height: 100%;
  width: auto;
  max-width: none;
  /* Décalage vers la gauche, piloté depuis l'admin. */
  margin-right: var(--photo-shift, 0%);
  /* Fondu porté par l'image : il colle aux vrais bords de la photo,
     donc plus de bord net quelle que soit sa largeur. Le bord droit n'est
     fondu que si la photo est décalée (sinon --photo-fade-right vaut 0). */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--photo-fade, 25%), #000 calc(100% - var(--photo-fade-right, 0%)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--photo-fade, 25%), #000 calc(100% - var(--photo-fade-right, 0%)), transparent 100%);
}

/* ── Raccourcis du hero ──
   Occupent la place de la photo quand le BO en contient. La nav étant
   fixe, les sections visées se décalent d'autant pour ne pas passer
   dessous à l'arrivée. */

.page-hero__shortcuts {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: center;
  gap: 1.25rem;
  padding: calc(var(--nav-height) + 2rem) 5rem 3rem 0;
}

:target {
  scroll-margin-top: var(--nav-height);
}

.hero-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 118px;
  padding: 1.25rem;
  border: 1px solid var(--cream-dark);
  background: rgba(255, 255, 255, 0.5);
  color: var(--green-dark);
  text-decoration: none;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  animation: fadeUp 0.7s ease-out both;
}

.hero-shortcut:nth-child(1) { animation-delay: 0.5s; }
.hero-shortcut:nth-child(2) { animation-delay: 0.65s; }
.hero-shortcut:nth-child(3) { animation-delay: 0.8s; }
.hero-shortcut:nth-child(4) { animation-delay: 0.95s; }

.page-hero--green .hero-shortcut {
  border-color: rgba(245, 237, 227, 0.22);
  background: rgba(245, 237, 227, 0.09);
  color: var(--cream);
}

.hero-shortcut:hover {
  transform: translateY(-4px);
  border-color: var(--salmon);
}

.page-hero--green .hero-shortcut:hover {
  background: rgba(245, 237, 227, 0.14);
}

.hero-shortcut__icon {
  color: var(--salmon);
  margin-bottom: 0.6rem;
}

.hero-shortcut__label {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.3;
}

.hero-shortcut__text {
  font-size: 0.82rem;
  line-height: 1.5;
  opacity: 0.65;
  margin-top: 0.35rem;
}

.page-hero__placeholder {
  width: 100%;
  height: 100%;
  min-height: 500px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero--green .page-hero__placeholder {
  background: rgba(245, 237, 227, 0.08);
}

.page-hero__placeholder-text {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.page-hero--green .page-hero__placeholder-text {
  color: rgba(245, 237, 227, 0.25);
}

@media (max-width: 900px) {
  .page-hero {
    min-height: auto;
  }

  .page-hero__content {
    max-width: 100%;
    min-height: auto;
    padding: calc(var(--nav-height) + 2rem) 1.5rem 3rem;
  }

  .page-hero__photo {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    /* La photo entière, encadrée : la hauteur suit le ratio de l'image. */
    height: auto;
    justify-content: center;
  }

  .page-hero__photo img {
    width: 100%;
    height: auto;
    margin-right: 0;
    -webkit-mask-image: none;
    mask-image: none;
    /* Le zoom/cadrage admin est pensé pour le cadre desktop : en mobile
       on l'annule pour montrer la photo complète. */
    transform: none !important;
  }

  .page-hero__shortcuts {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    padding: 0 1.5rem 3rem;
  }

  .hero-shortcut {
    min-height: 0;
  }
}


/* ── Hero text styles ── */

.hero-eyebrow {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--salmon);
  margin: 0 0 24px 0;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.15;
  font-weight: 400;
  margin: 0 0 24px 0;
}

.hero-title em {
  font-style: italic;
  color: var(--salmon);
}

/* Light variant (cream bg, dark text) */
.page-hero--cream .hero-title,
.page-hero--cream-dark .hero-title {
  color: var(--green-dark);
}

.page-hero--cream .hero-sub,
.page-hero--cream-dark .hero-sub {
  color: var(--text-muted);
}

/* Dark variant (green bg, light text) */
.page-hero--green .hero-title {
  color: var(--cream);
}

.page-hero--green .hero-sub {
  color: rgba(245, 237, 227, 0.75);
}

/* Le lien secondaire est vert foncé par défaut : illisible sur le fond. */
.page-hero--green .btn--link {
  color: var(--cream);
}

.page-hero--green .btn--link:hover {
  color: var(--salmon);
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 520px;
  font-weight: 300;
  margin: 0 0 40px 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ── Buttons ── */

.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.2s;
}

.btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--salmon);
  color: var(--green-dark);
}

.btn--secondary {
  background: var(--green-dark);
  color: var(--cream);
}

.btn--outline {
  background: transparent;
  border: 1px solid rgba(245, 237, 227, 0.35);
  color: var(--cream);
}

.btn--outline-dark {
  background: transparent;
  border: 1px solid var(--green-dark);
  color: var(--green-dark);
}

.btn--link {
  background: transparent;
  border: none;
  color: var(--green-dark);
  font-weight: 500;
}

.btn--link:hover {
  color: var(--salmon);
}


/* ── Section (shared) ── */

.section {
  padding: var(--section-padding);
}

.section__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.section__inner--center {
  text-align: center;
}

.section-eyebrow {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--salmon);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  line-height: 1.15;
  font-weight: 400;
  color: var(--green-dark);
  margin-bottom: 2rem;
}

.section-title em {
  font-style: italic;
  color: var(--salmon);
}


/* ── Mise en avant dans les titres ──
   Le fragment mis en avant est habillé depuis l'admin : italique, gras
   et couleur sont cumulables. Sans classe de couleur, il garde celle du
   titre qui le porte. */

.t-hl--italic {
  font-style: italic;
}

.t-hl--bold {
  font-weight: 700;
}

.t-hl--salmon {
  color: var(--salmon);
}

.t-hl--green {
  color: var(--green-dark);
}

.t-hl--cream {
  color: var(--cream);
}


/* ── Listes à puces saisies dans le BO ──
   Le retrait par défaut du navigateur décalait la puce vers la droite,
   désalignée du titre de la carte. La puce revient à l'aplomb du titre,
   le texte gardant son retrait pour rester lisible sur plusieurs lignes.
   Restreint aux sections de contenu : le menu et la bannière cookies
   posent leurs listes ailleurs. */

section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

section ul li {
  position: relative;
  padding-left: 1.1em;
}

section ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--salmon);
}


/* ── Logos Band (refs corporate) ── */

.logos-band.section {
  padding: 0.5rem 5rem;
}

/* Les logos sont sur un canvas carré dont seuls 12 à 32% sont occupés.
   On borne la hauteur de la case au contenu réellement visible : l'image
   garde ses 120px (taille des logos inchangée) et son vide transparent
   déborde sans être visible, ce qui affine la ligne. */
.logos-band__item {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Ne rétrécit pas : les logos gardent leur taille et la ligne défile. */
  flex: 0 0 auto;
}

.logos-band .section-eyebrow {
  margin-bottom: 0.5rem;
}

.logos-band .section-title {
  margin-bottom: 1rem;
}

/* Au-delà de la largeur disponible, le bandeau défile horizontalement
   plutôt que de passer sur deux lignes. « safe center » centre les logos
   tant qu'ils tiennent, et les cale à gauche dès qu'ils débordent, sinon
   les premiers seraient inatteignables.
   Le padding est symétrique : il loge la barre de défilement en bas sans
   décaler les logos vers le haut. */
.logos-band__grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: safe center;
  align-items: center;
  gap: 4rem;
  overflow-x: auto;
  /* Le débordement horizontal rendrait aussi l'axe vertical défilant :
     le vide transparent des logos ferait apparaître une barre inutile. */
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--salmon) transparent;
  padding: 0.75rem 0;
}

.logos-band__grid::-webkit-scrollbar {
  height: 4px;
}

.logos-band__grid::-webkit-scrollbar-thumb {
  background: var(--salmon);
  border-radius: 2px;
}

.logos-band__item img {
  height: 120px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.3s, opacity 0.3s;
}

.logos-band__item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.logos-band__link {
  display: inline-block;
  line-height: 0;
}

.logos-band__text {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 6px 0 0;
  text-align: center;
}

@media (max-width: 600px) {
  .logos-band__grid {
    gap: 3rem;
  }

  .logos-band__item img {
    height: 80px;
  }
}


/* ── People Band (refs personnes) ── */

.people-band__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 2rem;
}

.people-band__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Trois lignes à loger : un peu plus large qu'avec deux. */
  width: 128px;
}

.people-band__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s;
  margin-bottom: 0.6rem;
}

.people-band__photo:hover {
  filter: grayscale(0%);
}

.people-band__photo-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cream-dark);
  margin-bottom: 0.6rem;
}

.people-band__name {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--green-dark);
  margin: 0;
  text-align: center;
  line-height: 1.3;
}

.people-band__role {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin: 2px 0 0;
  text-align: center;
  line-height: 1.3;
}

/* L'entreprise forme la 3e ligne, un cran en dessous du titre. */
.people-band__company {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin: 1px 0 0;
  text-align: center;
  line-height: 1.3;
}

.people-band__text {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin: 4px 0 0;
  text-align: center;
  line-height: 1.4;
  font-style: italic;
}

@media (max-width: 600px) {
  .people-band__grid {
    gap: 2rem 1.5rem;
  }

  .people-band__item {
    width: 80px;
  }

  .people-band__photo {
    width: 56px;
    height: 56px;
  }
}


/* ── Card ── */

.card {
  background: var(--white);
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card--dark {
  background: var(--green-dark);
  color: var(--cream);
}


/* ── Not-for cards (shared across pages) ── */

.co-notfor__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.co-notfor__card {
  background: var(--white);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.co-notfor__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.co-notfor__icon {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--salmon);
  line-height: 1;
  margin-bottom: 1rem;
}

.co-notfor__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.co-notfor__text p {
  margin: 0;
}

@media (max-width: 900px) {
  .co-notfor__grid {
    grid-template-columns: 1fr;
  }
}


/* ── FAQ ── */

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.faq__item {
  border-bottom: 1px solid var(--green-dark-10, rgba(30, 52, 44, 0.1));
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 400;
  color: var(--green-dark);
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--salmon);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s;
}

.faq__item[open] .faq__question::after {
  content: '\2212';
}

.faq__answer {
  padding: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  text-align: left;
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .faq__question {
    font-size: 1rem;
    padding: 1rem 0;
  }

  .faq__answer {
    padding-bottom: 1rem;
    font-size: 0.9rem;
  }
}


/* ── CTA Block (shared across pages) ── */

.cta-block {
  display: flex;
  justify-content: center;
}

.cta-block__box {
  position: relative;
  overflow: hidden;
  background: var(--green-dark);
  border-radius: 1.5rem;
  max-width: 900px;
  width: 100%;
  padding: 4rem;
  text-align: center;
}

.cta-block__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.cta-block__blob--salmon {
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: rgba(232, 169, 140, 0.15);
}

.cta-block__blob--green {
  bottom: -30px;
  left: -30px;
  width: 180px;
  height: 180px;
  background: rgba(34, 120, 87, 0.2);
}

.cta-block__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-block__sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(245, 237, 227, 0.7);
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-block .btn {
  position: relative;
  z-index: 1;
}

.cta-block__note {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(245, 237, 227, 0.5);
  margin-top: 1.5rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .cta-block__box {
    padding: 3rem 2rem;
  }
}

/* ── Parcours carousel (mobile) ── */
@media (max-width: 600px) {
  .home-parcours__grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    gap: 1rem;
    padding-bottom: 1rem;
    margin: 0 -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    scrollbar-width: none;
  }
  .home-parcours__grid::-webkit-scrollbar {
    display: none;
  }
  .home-parcours__card {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
  .home-parcours__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
  }
  .home-parcours__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-light, #C8C4BE);
    transition: background 0.3s;
  }
  .home-parcours__dot.active {
    background: var(--green-dark, #0B3D2E);
  }
}



/* ── Témoignages (bloc partagé : accueil + pages) ── */

.home-temoignages__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  text-align: left;
}

/* Un seul témoignage : une colonne centrée plutôt qu'une grille de deux
   dont la seconde reste vide. */
.home-temoignages__grid--single {
  grid-template-columns: minmax(0, 34rem);
  justify-content: center;
}

.home-temoignages__grid--single .home-temoignages__author-wrap {
  justify-content: center;
}

.home-temoignages__card {
  border-top: 2px solid var(--salmon);
  padding-top: 32px;
}

.home-temoignages__quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--green-dark);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 2rem;
}

.home-temoignages__author-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.home-temoignages__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.home-temoignages__avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--cream-dark);
  flex-shrink: 0;
}

.home-temoignages__author {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-dark);
  margin: 0;
}

.home-temoignages__role {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .home-temoignages__grid {
    grid-template-columns: 1fr;
  }
}


/* ── Narration (bloc partagé : accueil + pages) ── */

.ap-narration__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 4rem;
  align-items: start;
}

/* Sans photo : le texte occupe toute la largeur, pas de colonne vide. */
.ap-narration__grid--solo {
  grid-template-columns: 1fr;
}

.ap-narration__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.ap-narration__text p {
  margin: 0 0 1.5rem 0;
}

.ap-narration__text p:last-child {
  margin-bottom: 0;
}

.ap-narration__photo {
  /* Aligné sur le ratio des photos de Fanny (2:3) : plus aucun rognage. */
  aspect-ratio: 2/3;
  overflow: hidden;
}

.ap-narration__photo img {
  width: 100%;
  height: 100%;
  /* contain : à zoom 100 % la photo est entière. Le zoom l'agrandit
     ensuite jusqu'à remplir le cadre, puis la rogne. */
  object-fit: contain;
}

@media (max-width: 900px) {
  .ap-narration__grid {
    grid-template-columns: 1fr;
  }
}


/* ── Narratif (texte long, sans photo — bloc partagé) ── */

.narratif__inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  /* Filet + guillemet : l'identité visuelle du bloc, qui le distingue
     d'une simple lame de texte. */
  border-left: 3px solid var(--salmon);
  padding-left: 5rem;
  text-align: left;
}

.narratif__inner::before {
  content: '\201C';
  position: absolute;
  left: 1rem;
  top: -1.8rem;
  font-family: var(--font-serif);
  font-size: 7rem;
  line-height: 1;
  color: var(--salmon);
  pointer-events: none;
  user-select: none;
}

.narratif__title {
  font-family: var(--font-serif);
  /* Le titre s'écoule sur une ligne tant que la place le permet :
     aucune coupure n'est imposée par le gabarit. */
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 2rem 0;
}

.narratif__text {
  font-size: 1.05rem;
  line-height: 1.85;
  font-weight: 300;
}

.narratif__text strong { font-weight: 600; }

.narratif__text p {
  margin: 0 0 1.4rem 0;
}

.narratif__text p:last-child {
  margin-bottom: 0;
}

/* Chapô : le premier paragraphe donne le ton, en serif. */
.narratif__text > p:first-child {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.55;
  margin-bottom: 1.8rem;
}

.narratif__signature {
  /* La signature se détache du texte en se plaçant à droite du bloc. */
  text-align: right;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 2.5rem 0 0 0;
}

.narratif__signature::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  vertical-align: middle;
  margin-right: 12px;
  background: var(--salmon);
}

/* Éléments que l'éditeur permet d'insérer (intertitres, listes, citation).
   Les réglages faits dans l'éditeur (police, taille, interligne…) sont
   posés en style inline et priment sur ces valeurs par défaut. */
.narratif__text h3,
.narratif__text h4 {
  color: inherit;
  margin: 2.2rem 0 1rem 0;
}

.narratif__text > h3:first-child,
.narratif__text > h4:first-child {
  margin-top: 0;
}

.narratif__text h3 {
  font-size: 1.45rem;
  line-height: 1.35;
}

.narratif__text h4 {
  font-size: 1.2rem;
  line-height: 1.4;
}

.narratif--green-dark .narratif__text :is(h3, h4) { color: var(--cream); }
.narratif--cream .narratif__text :is(h3, h4),
.narratif--cream-dark .narratif__text :is(h3, h4),
.narratif--salmon .narratif__text :is(h3, h4) { color: var(--green-dark); }

.narratif__text ul,
.narratif__text ol {
  margin: 0 0 1.4rem 1.4rem;
}

.narratif__text li {
  margin-bottom: 0.4rem;
}

.narratif__text blockquote {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.55;
  margin: 0 0 1.4rem 0;
  padding-left: 1.2rem;
  border-left: 2px solid var(--salmon);
}

.narratif__text a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Déclinaisons de fond ── */

.narratif--cream {
  background: var(--cream);
}

.narratif--cream-dark {
  background: var(--cream-dark);
}

.narratif--cream .narratif__title,
.narratif--cream-dark .narratif__title,
.narratif--cream .narratif__signature,
.narratif--cream-dark .narratif__signature,
.narratif--cream .narratif__text > p:first-child,
.narratif--cream-dark .narratif__text > p:first-child {
  color: var(--green-dark);
}

.narratif--cream .narratif__text,
.narratif--cream-dark .narratif__text {
  color: var(--text-muted);
}

.narratif--green-dark {
  background: var(--green-dark);
}

.narratif--green-dark .narratif__title,
.narratif--green-dark .narratif__signature,
.narratif--green-dark .narratif__text > p:first-child {
  color: var(--cream);
}

.narratif--green-dark .narratif__text {
  color: rgba(245, 237, 227, 0.72);
}

.narratif--salmon {
  background: var(--salmon);
}

.narratif--salmon .narratif__inner {
  border-left-color: var(--green-dark);
}

.narratif--salmon .narratif__inner::before {
  color: var(--white);
}

.narratif--salmon .narratif__signature::before {
  background: var(--green-dark);
}

.narratif--salmon .narratif__title,
.narratif--salmon .narratif__signature,
.narratif--salmon .narratif__text > p:first-child {
  color: var(--green-dark);
}

.narratif--salmon .narratif__text {
  color: rgba(11, 61, 46, 0.8);
}

/* Style citation désactivé : ni guillemet ni barre, texte aligné sur le bloc. */
.narratif--plain .narratif__inner {
  border-left: none;
  padding-left: 0;
}

.narratif--plain .narratif__inner::before {
  content: none;
}

@media (max-width: 600px) {
  .narratif__inner {
    padding-left: 1.8rem;
    /* Réserve la place du guillemet au-dessus du titre : plus aucun
       chevauchement, quel que soit le retour à la ligne du titre. */
    padding-top: 2.6rem;
  }

  .narratif--plain .narratif__inner {
    padding-left: 0;
    padding-top: 0;
  }

  .narratif__inner::before {
    font-size: 4.5rem;
    left: 0.4rem;
    top: -0.4rem;
  }

  .narratif__text > p:first-child {
    font-size: 1.15rem;
  }
}
