/* ========================================
   PAGE À PROPOS (maquette 02)
   Haut de page à la hauteur de son contenu : photo, surtitre, titre serif blanc puis vert clair,
   introduction et deux boutons. Paragraphes et citation dans le bloc « Notre histoire »,
   posé à cheval sur la photo. Chiffres clés, réalisations et apparition au défilement : site-sections.css.
   Contenu et image réglés dans l'admin (« Page À propos »). Couleurs et polices : site-header.css.
   ======================================== */
.about-page,
.about-page .main {
  background: var(--site-green-deep, #10201a);
}

.about-hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0; /* index.css donne 60 px à toutes les sections */
  overflow: hidden;
  background: var(--site-green-deep, #10201a);
  isolation: isolate;
}

.about-hero-media,
.about-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-hero-media {
  z-index: -2;
}

.about-hero-media img {
  object-fit: cover;
  object-position: center;
  animation:
    about-fade 1.4s cubic-bezier(0.16, 1, 0.3, 1) both,
    about-drift 28s ease-in-out 1.4s infinite alternate;
}

@keyframes about-fade {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
}

/* Très lent mouvement de la photo, comme une caméra sous l'eau */
@keyframes about-drift {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.06) translate(-1%, -1%);
  }
}

/* Zone assombrie à gauche, sous les textes (la photo reste vive à droite) */
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 20, 16, 0.9) 0%, rgba(10, 20, 16, 0.78) 42%, rgba(10, 20, 16, 0.25) 72%, rgba(10, 20, 16, 0.05) 100%);
}

/* Fondu vers le vert de la page en bas de la photo, sous le bloc « Notre histoire » */
.about-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 45%;
  background: linear-gradient(180deg, rgba(16, 32, 26, 0) 0%, var(--site-green-deep, #10201a) 100%);
  pointer-events: none;
}

.about-content {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 96px) clamp(20px, 4vw, 56px);
}

/* Place laissée au bloc « Notre histoire » qui chevauche la photo */
.about-hero:has(+ .ab-story) .about-content {
  padding-bottom: calc(clamp(56px, 9vh, 96px) + 72px);
}

.about-content > * {
  max-width: 640px;
  animation: about-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.about-content > :nth-child(2) { animation-delay: 0.08s; }
.about-content > :nth-child(3) { animation-delay: 0.16s; }
.about-content > :nth-child(4) { animation-delay: 0.24s; }
.about-content > :nth-child(5) { animation-delay: 0.32s; }

@keyframes about-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* Surtitre en petites capitales espacées, vert clair */
.about-page .about-eyebrow {
  margin: 0 0 14px;
  font-family: var(--site-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--site-lime);
}

.about-page .about-title {
  margin: 0 0 24px;
  font-family: var(--site-serif);
  font-size: clamp(46px, 6vw, 88px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: #fff;
}

.about-page .about-title span {
  display: block;
  font-family: inherit;
  color: #fff;
}

.about-page .about-title .is-accent {
  color: var(--site-lime);
}

.about-page .about-intro {
  margin: 0 0 34px;
  font-family: var(--site-sans);
  font-size: clamp(19px, 1.9vw, 27px);
  font-weight: 300;
  line-height: 1.38;
  color: #fff;
}

/* Deux boutons pilule : le premier sur fond vert foncé, le second en contour */
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: 56px;
  padding: 0 28px 0 34px;
  font-family: var(--site-sans);
  font-size: 17px;
  font-weight: 400;
  color: #fff;
  border: 1.5px solid rgba(157, 198, 107, 0.75);
  border-radius: 999px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.about-btn:first-child {
  background: rgba(16, 40, 24, 0.92);
}

.about-btn svg {
  width: 19px;
  height: 19px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-btn:hover {
  color: var(--site-green-deep, #10201a);
  background: var(--site-lime);
  border-color: var(--site-lime);
}

.about-btn:hover svg {
  transform: translateX(4px);
}

.about-btn:focus-visible {
  outline: 2px solid var(--site-lime);
  outline-offset: 4px;
}

/* ========================================
   TABLETTE ET MOBILE : voile sur toute l'image (le texte la couvre), tailles réduites
   ======================================== */
@media (max-width: 1199px) {
  .about-hero::before {
    background: linear-gradient(180deg, rgba(10, 20, 16, 0.5) 0%, rgba(10, 20, 16, 0.62) 55%, rgba(10, 20, 16, 0.8) 100%);
  }

  /* Voile plus léger : une ombre douce garde les textes lisibles sur la photo */
  .about-content > * {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
  }

  .about-page .about-title {
    font-size: clamp(38px, 6vw, 58px);
  }

  .about-page .about-eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .about-page .about-intro {
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.45;
  }

  .about-btn {
    height: 46px;
    gap: 12px;
    padding: 0 22px 0 26px;
    font-size: 15px;
  }

  .about-btn svg {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 575px) {
  .about-content {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .about-hero:has(+ .ab-story) .about-content {
    padding-bottom: 104px;
  }

  .about-page .about-eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
  }

  .about-page .about-title {
    margin-bottom: 14px;
    font-size: 34px;
  }

  .about-page .about-intro {
    margin-bottom: 22px;
    font-size: 13.5px;
  }

  /* Boutons à la largeur de leur texte, comme le bouton de l'accueil */
  .about-actions {
    gap: 10px;
  }

  .about-btn {
    height: 42px;
    gap: 10px;
    padding: 0 18px 0 22px;
    font-size: 14px;
  }

  .about-btn svg {
    width: 15px;
    height: 15px;
  }
}

/* ========================================
   NOTRE HISTOIRE : paragraphes et citation dans un bloc à part
   ======================================== */
.ab-story {
  position: relative;
  z-index: 2;
  margin-top: -72px;
  padding: 0 0 clamp(64px, 8vw, 110px);
  overflow: visible;
  background: transparent; /* le bas de la photo reste visible derrière le bloc */
}

.ab-story-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(36px, 4.5vw, 68px);
  overflow: hidden;
  background: linear-gradient(145deg, #1c352a 0%, #152a21 55%, #11231b 100%);
  border: 1px solid rgba(157, 198, 107, 0.2);
  border-radius: 22px;
  box-shadow: 0 50px 90px -45px rgba(0, 0, 0, 0.85);
  isolation: isolate;
}

.ab-story-card.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.ab-story-card.is-single .ab-story-text {
  max-width: 820px;
}

/* Lueur verte qui respire lentement, en haut à gauche */
.ab-story-glow {
  position: absolute;
  top: -180px;
  left: -140px;
  z-index: -1;
  width: 520px;
  height: 520px;
  background: radial-gradient(closest-side, rgba(157, 198, 107, 0.22), rgba(157, 198, 107, 0));
  pointer-events: none;
  animation: ab-breathe 9s ease-in-out infinite alternate;
}

@keyframes ab-breathe {
  from {
    opacity: 0.55;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1.08);
  }
}

/* Feuille au trait en filigrane, en bas à droite */
.ab-story-leaf {
  position: absolute;
  right: -30px;
  bottom: -40px;
  z-index: -1;
  width: clamp(180px, 22vw, 300px);
  color: var(--site-lime);
  opacity: 0.09;
  transform: rotate(-8deg);
  transform-origin: bottom left;
  pointer-events: none;
  animation: ab-sway 12s ease-in-out infinite alternate;
}

@keyframes ab-sway {
  to {
    transform: rotate(-2deg);
  }
}

/* Citation : reste visible pendant la lecture des paragraphes (ordinateur) */
.ab-story-quote {
  position: sticky;
  top: calc(var(--site-header-h, 96px) + 32px);
  align-self: start;
  margin: 0;
  padding-right: clamp(24px, 4vw, 64px);
  border-right: 1px solid rgba(157, 198, 107, 0.18);
}

.ab-quote-mark {
  display: block;
  width: 46px;
  height: auto;
  margin-bottom: 24px;
  color: var(--site-lime);
  opacity: 0.85;
}

.ab-story-quote blockquote {
  margin: 0;
}

.about-page .ab-story-quote blockquote p {
  margin: 0;
  font-family: var(--site-serif);
  font-size: clamp(28px, 2.7vw, 42px);
  font-weight: 600;
  line-height: 1.14;
  color: var(--site-lime);
}

/* Filet vert qui se trace quand le bloc apparaît */
.ab-story-line {
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 30px;
  background: var(--site-lime);
  transform-origin: left;
}

.js-reveal .ab-story-card.is-visible .ab-story-line {
  animation: ab-draw 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
}

@keyframes ab-draw {
  from {
    transform: scaleX(0);
  }
}

.about-page .ab-story-text p {
  margin: 0 0 20px;
  font-family: var(--site-sans);
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
}

.about-page .ab-story-text p:last-child {
  margin-bottom: 0;
}

.about-page .ab-story-text strong {
  font-weight: 500;
  color: #fff;
}

/* Lettrine serif verte sur le premier paragraphe */
.about-page .ab-story-text p:first-child::first-letter {
  float: left;
  margin: 6px 12px 0 0;
  font-family: var(--site-serif);
  font-size: 3.6em;
  font-weight: 600;
  line-height: 0.8;
  color: var(--site-lime);
}

@media (max-width: 991px) {
  .ab-story-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .ab-story-quote {
    position: static;
    padding: 0 0 30px;
    border-right: 0;
    border-bottom: 1px solid rgba(157, 198, 107, 0.18);
  }

  .ab-story-card {
    gap: 28px;
    padding: 34px 32px;
  }

  .ab-quote-mark {
    width: 38px;
    margin-bottom: 18px;
  }

  .about-page .ab-story-quote blockquote p {
    font-size: 24px;
  }

  .ab-story-line {
    margin-top: 20px;
  }

  .about-page .ab-story-text p {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.7;
  }
}

@media (max-width: 575px) {
  .ab-story {
    margin-top: -64px;
  }

  .ab-story-card {
    gap: 20px;
    padding: 24px 18px;
    border-radius: 16px;
  }

  .ab-quote-mark {
    width: 28px;
    margin-bottom: 12px;
  }

  .about-page .ab-story-quote blockquote p {
    font-size: 20px;
  }

  .ab-story-quote {
    padding-bottom: 20px;
  }

  .ab-story-line {
    width: 56px;
    margin-top: 16px;
  }

  .about-page .ab-story-text p {
    margin-bottom: 14px;
    font-size: 13.5px;
    line-height: 1.65;
  }

  .about-page .ab-story-text p:first-child::first-letter {
    margin: 4px 8px 0 0;
    font-size: 3em;
  }
}

/* ========================================
   SECTIONS SOUS LA PRÉSENTATION
   Fonds alternés comme sur les maquettes : vert profond / vert / crème.
   ======================================== */
.ab-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

.about-page .ab-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
  font-family: var(--site-sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--site-lime);
}

/* Surtitre suivi d'un filet (maquette « NOS RÉALISATIONS —— ») */
.about-page .ab-eyebrow.has-line::after {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.about-page .ab-title {
  margin: 0 0 28px;
  font-family: var(--site-serif);
  font-size: clamp(32px, 3.4vw, 50px);
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
}

/* ---- Le fondateur : portrait + texte ---- */
.ab-founder {
  padding: clamp(64px, 9vw, 120px) 0;
  background: var(--site-green-deep, #10201a);
}

.ab-founder-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.ab-founder-inner.no-photo {
  grid-template-columns: minmax(0, 1fr);
  max-width: 900px;
}

.ab-founder-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.ab-founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cadre fin vert décalé, discret */
.ab-founder-photo::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(157, 198, 107, 0.35);
  border-radius: 8px;
  pointer-events: none;
}

.about-page .ab-founder-role {
  margin: -16px 0 24px;
  font-family: var(--site-sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--site-lime);
}

.about-page .ab-founder-paragraph {
  margin: 0 0 18px;
  font-family: var(--site-sans);
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

.about-page .ab-founder-paragraph strong {
  font-weight: 500;
  color: #fff;
}

.about-page .ab-signature {
  margin: 26px 0 0;
  font-family: var(--site-serif);
  font-size: 30px;
  font-style: italic;
  font-weight: 500;
  color: var(--site-lime);
}

/* ---- Notre démarche : étapes numérotées sur une ligne ---- */
.ab-process {
  padding: clamp(64px, 8vw, 110px) 0;
  background: var(--site-green, #172c23);
}

.ab-steps {
  display: grid;
  grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(157, 198, 107, 0.3);
}

.ab-steps li {
  padding: 26px 26px 0 0;
}

.ab-steps li + li {
  padding-left: 26px;
  border-left: 1px solid rgba(244, 242, 236, 0.08);
}

.about-page .ab-step-num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--site-serif);
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  color: var(--site-lime);
}

.about-page .ab-steps h3 {
  margin: 0 0 10px;
  font-family: var(--site-serif);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
}

.about-page .ab-steps p {
  margin: 0;
  font-family: var(--site-sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

/* ---- Nos engagements : fond crème, cartes à pictogramme ---- */
.ab-commitments {
  position: relative;
  padding: clamp(64px, 8vw, 110px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.85) 0, rgba(255, 255, 255, 0) 38%),
    radial-gradient(circle at 6% 100%, rgba(157, 198, 107, 0.16) 0, rgba(157, 198, 107, 0) 36%),
    var(--site-cream, #f4f2ec);
  isolation: isolate;
}

/* Grande feuille au trait en filigrane */
.ab-commitments-deco {
  position: absolute;
  top: -40px;
  right: -70px;
  z-index: -1;
  width: clamp(260px, 30vw, 440px);
  color: #2f5a3a;
  opacity: 0.07;
  transform: rotate(6deg);
  transform-origin: bottom left;
  pointer-events: none;
  animation: ab-sway-light 14s ease-in-out infinite alternate;
}

@keyframes ab-sway-light {
  to {
    transform: rotate(0deg);
  }
}

.ab-commitments-head {
  margin-bottom: clamp(28px, 3vw, 44px);
}

.about-page .ab-commitments .ab-eyebrow {
  color: #4f7f31;
}

.about-page .ab-commitments .ab-title {
  margin-bottom: 0;
  color: #13261d;
}

.ab-commitments-list {
  display: grid;
  grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ab-commitment {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 32px;
  overflow: hidden;
  background: #fbfaf6;
  border: 1px solid #e4dfd2;
  border-radius: 18px;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease;
}

/* Barre verte qui se déroule au survol */
.ab-commitment::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #2f5a3a, var(--site-lime));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ab-commitment:hover {
  transform: translateY(-6px);
  border-color: #cfdcc4;
  box-shadow: 0 26px 44px -26px rgba(19, 38, 29, 0.38);
}

.ab-commitment:hover::after {
  transform: scaleX(1);
}

.ab-commitment-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: #2f5a3a;
  background: #eaf1df;
  border-radius: 50%;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.ab-commitment-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ab-commitment:hover .ab-commitment-icon {
  color: var(--site-lime);
  background: #172c23;
}

.ab-commitment:hover .ab-commitment-icon svg {
  transform: rotate(-8deg) scale(1.06);
}

.about-page .ab-commitment h3 {
  margin: 24px 0 10px;
  font-family: var(--site-serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.15;
  color: #13261d;
}

.about-page .ab-commitment p {
  margin: 0;
  font-family: var(--site-sans);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.6;
  color: #4a4d48;
}

/* ---- Nos univers : titre de section, cartes de l'accueil ---- */
/* ========================================
   FONDS DES SECTIONS « NOS RÉALISATIONS » ET « NOS UNIVERS »
   Photo réglée dans l'admin (une par écran) qui glisse plus lentement que la page sur
   ordinateur (reveal.js, data-parallax). Deux décors différents :
   - réalisations : voile en diagonale, lumière verte qui balaie lentement la section ;
   - univers : fondu vertical, lueur verte qui dérive, grande feuille au trait qui se balance.
   Sans image, le décor reste sur le fond vert.
   ======================================== */
.ab-bg-media {
  position: absolute;
  top: -14%;
  right: 0;
  bottom: -14%;
  left: 0;
  z-index: -2;
  will-change: transform;
}

.ab-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Réalisations ---- */
.ab-bg {
  position: relative;
  overflow: hidden;
  background: var(--site-green-deep, #10201a);
  isolation: isolate;
}

.ab-bg .featured-projects {
  background: transparent;
}

.ab-bg-projects.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, rgba(16, 32, 26, 0.95) 0%, rgba(16, 32, 26, 0.82) 45%, rgba(16, 32, 26, 0.6) 100%),
    linear-gradient(180deg, var(--site-green-deep, #10201a) 0%, rgba(16, 32, 26, 0) 16%, rgba(16, 32, 26, 0) 84%, var(--site-green-deep, #10201a) 100%);
  pointer-events: none;
}

/* Lumière verte en biais qui balaie lentement la section */
.ab-bg-light {
  position: absolute;
  inset: -40% -60%;
  z-index: -1;
  background: linear-gradient(105deg, rgba(157, 198, 107, 0) 42%, rgba(157, 198, 107, 0.08) 50%, rgba(157, 198, 107, 0) 58%);
  pointer-events: none;
  animation: ab-light-sweep 16s ease-in-out infinite alternate;
}

@keyframes ab-light-sweep {
  from {
    transform: translateX(-22%);
  }

  to {
    transform: translateX(22%);
  }
}

.ab-bg-projects.has-bg .fp-title {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.ab-bg-projects.has-bg .fp-media {
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.85);
}

/* ---- Univers ---- */
.ab-universes {
  position: relative;
  /* Même vert que le bas de la section précédente, chevauchement d'un pixel : aucun liseré */
  margin-top: -1px;
  padding-top: clamp(56px, 7vw, 96px);
  overflow: hidden;
  background: var(--site-green-deep, #10201a);
  isolation: isolate;
}

.ab-universes .home-universes {
  margin-top: 0;
  padding-bottom: clamp(56px, 7vw, 96px);
  background: transparent;
}

.ab-universes.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--site-green-deep, #10201a) 0%, rgba(16, 32, 26, 0.72) 26%, rgba(16, 32, 26, 0.7) 60%, rgba(16, 32, 26, 0.92) 88%, var(--site-green-deep, #10201a) 100%);
  pointer-events: none;
}

.ab-uni-glow {
  position: absolute;
  top: -220px;
  right: -180px;
  z-index: -1;
  width: 760px;
  height: 760px;
  background: radial-gradient(closest-side, rgba(157, 198, 107, 0.15), rgba(157, 198, 107, 0));
  pointer-events: none;
  animation: ab-uni-drift 24s ease-in-out infinite alternate;
}

@keyframes ab-uni-drift {
  to {
    transform: translate(-180px, 120px) scale(1.1);
  }
}

.ab-uni-leaf {
  position: absolute;
  bottom: -60px;
  left: -80px;
  z-index: -1;
  width: clamp(260px, 28vw, 420px);
  color: var(--site-lime);
  opacity: 0.07;
  transform: rotate(-10deg) scaleX(-1);
  transform-origin: bottom right;
  pointer-events: none;
  animation: ab-uni-sway 15s ease-in-out infinite alternate;
}

@keyframes ab-uni-sway {
  to {
    transform: rotate(-3deg) scaleX(-1) translateY(-8px);
  }
}

.ab-universes.has-bg .ab-title {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

/* ---- Sections : tablette à l'horizontale ---- */
@media (max-width: 1199px) {
  .ab-commitments-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Sections un cran plus petites que sur ordinateur */
  .about-page .ab-story-quote blockquote p {
    font-size: 26px;
  }

  .about-page .ab-step-num {
    font-size: 38px;
  }

  .about-page .ab-steps h3 {
    font-size: 22px;
  }

  .about-page .ab-steps p,
  .about-page .ab-founder-paragraph {
    font-size: 14px;
  }

  .about-page .ab-commitment h3 {
    font-size: 21px;
  }

  .about-page .ab-commitment p {
    font-size: 14px;
  }
}

/* ---- Sections : tablette ---- */
@media (max-width: 991px) {
  .ab-bg-media {
    top: 0;
    bottom: 0;
  }

  /* Tablette : portrait et texte restent côte à côte */
  .ab-founder-inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 36px;
  }

  .ab-steps,
  .ab-commitments-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ab-commitments-list {
    gap: 16px;
  }

  .ab-steps li,
  .ab-steps li + li {
    padding: 22px 20px 22px 0;
    border-left: 0;
  }

  .about-page .ab-eyebrow {
    font-size: 11.5px;
  }

  .about-page .ab-founder-role {
    font-size: 14px;
  }

  .about-page .ab-founder-paragraph {
    font-size: 13.5px;
  }

  .about-page .ab-signature {
    font-size: 26px;
  }

  .about-page .ab-step-num {
    margin-bottom: 10px;
    font-size: 36px;
  }

  .about-page .ab-steps h3 {
    font-size: 21px;
  }

  .about-page .ab-steps p {
    font-size: 14px;
  }

  .ab-commitment {
    padding: 24px 22px 26px;
  }

  .ab-commitment-icon {
    width: 48px;
    height: 48px;
  }

  .ab-commitment-icon svg {
    width: 24px;
    height: 24px;
  }

  .about-page .ab-commitment h3 {
    margin-top: 18px;
    font-size: 20px;
  }

  .about-page .ab-commitment p {
    font-size: 13.5px;
  }
}

/* ---- Sections : mobile ---- */
@media (max-width: 575px) {
  .about-page .ab-title {
    margin-bottom: 20px;
    font-size: 28px;
  }

  .about-page .ab-eyebrow {
    font-size: 11px;
  }

  .about-page .ab-founder-paragraph {
    font-size: 14px;
  }

  .ab-founder-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .ab-founder-photo {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .about-page .ab-signature {
    font-size: 22px;
  }

  .ab-steps,
  .ab-commitments-list {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Mobile : numéro à gauche du titre et du texte, étapes plus compactes */
  .ab-steps li,
  .ab-steps li + li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: baseline;
    padding: 16px 0;
    border-bottom: 1px solid rgba(244, 242, 236, 0.08);
  }

  .ab-steps li > :not(.ab-step-num) {
    grid-column: 2;
  }

  .about-page .ab-step-num {
    grid-row: span 2;
    margin-bottom: 0;
    font-size: 26px;
  }

  .about-page .ab-steps h3 {
    margin-bottom: 6px;
    font-size: 19px;
  }

  .about-page .ab-steps p {
    font-size: 13.5px;
  }

  .ab-commitments-list {
    gap: 12px;
  }

  /* Mobile : pictogramme à gauche du texte, cartes plus compactes */
  .ab-commitment {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    padding: 18px 16px 20px;
    border-radius: 14px;
  }

  .ab-commitment-icon {
    grid-row: span 2;
  }

  .ab-commitment-icon {
    width: 40px;
    height: 40px;
  }

  .ab-commitment-icon svg {
    width: 20px;
    height: 20px;
  }

  .about-page .ab-commitment h3 {
    margin: 0 0 4px;
    font-size: 17px;
  }

  .about-page .ab-commitment p {
    font-size: 13px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .ab-bg-media {
    top: 0;
    bottom: 0;
    transform: none !important;
  }

  .about-hero-media img,
  .about-content > *,
  .ab-story-glow,
  .ab-story-leaf,
  .ab-commitments-deco,
  .ab-bg-light,
  .ab-uni-glow,
  .ab-uni-leaf,
  .js-reveal .ab-story-card.is-visible .ab-story-line {
    animation: none;
  }

  .ab-commitment,
  .ab-commitment::after,
  .ab-commitment-icon svg {
    transition: none;
  }

  .ab-commitment:hover {
    transform: none;
  }
}
