/* about.css — mise en page des sections propres à la page « À propos »
   (source : about 2). Les sections `feature` et les cartes réutilisent le CSS
   déjà écrit pour l'accueil : mêmes classes, mêmes règles.
   Toutes les valeurs viennent des sondes, pas d'une estimation. */

/* ======================================================================= */
/* En-tête — le titre au centre, trois photos posées autour               */
/* ======================================================================= */
.section_about-header-v2 {
  position: relative;
  display: flex; flex-direction: row; justify-content: center; align-items: stretch;
  min-height: 100vh;
}
.about-header-v2_component {
  position: relative;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  width: 100%;
}
.about-header-v2_content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  width: 100%;
}
.about-header-v2_head {
  display: flex; flex-direction: column; justify-content: flex-start; align-items: center;
  max-width: 45rem;
}

/* Les trois photos sont posées dans un cadre à part, en absolu : elles
   débordent volontairement à gauche et à droite du texte. Leurs positions
   sont en vh et en vw, donc elles suivent la taille de l'écran. */
.about-header-v2_images {
  position: absolute;
  width: 100%; max-width: 110rem; height: 100%;
}
.about-header-v2_img-1,
.about-header-v2_img-2,
.about-header-v2_img-3 {
  position: absolute;
  aspect-ratio: 1;
  max-width: none;
  object-fit: cover;
  border-radius: var(--border-radius--xxsmall);
}
.about-header-v2_img-1 { width: 22vh; min-width: 16rem; inset: 30vh auto auto -2rem; }
.about-header-v2_img-2 { width: 18vh; min-width: 14rem; inset: 15vh 1vw auto auto; }
.about-header-v2_img-3 { width: 20vh; min-width: 14rem; bottom: -2.5vh; right: 16vw; }

/* ======================================================================= */
/* Principes — l'en-tête à gauche, trois cartes à droite                   */
/* ======================================================================= */
.cards_component { display: block; }
.cards_header {
  display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start;
  gap: var(--size--size-9);
  max-width: 42rem;
}
.cards_content {
  display: grid;
  grid-template-columns: .25fr 1fr;
  gap: 16px;
  place-items: start;
}
.cards_items { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--size--size-4); }

/* ======================================================================= */
/* Frise chronologique                                                      */
/* ======================================================================= */
.story_component { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; }
.story_content {
  position: relative;
  display: grid; grid-template-columns: 1fr; justify-items: center;
  overflow: clip;
}

/* Le trait de progression : un rail clair sur toute la hauteur, et par-dessus
   un segment noir d'une demi-hauteur d'écran qui reste collé en haut. C'est
   lui qui donne l'impression que la frise se remplit à mesure qu'on descend.
   Le masque en dégradé évite que ses deux bouts se voient franchement. */
.story_progress {
  position: absolute; z-index: 0;
  display: flex; flex-direction: column; align-items: center;
  width: 2rem; height: 100%;
  -webkit-mask: linear-gradient(#0000, #000 20% 80%, #0000);
  mask: linear-gradient(#0000, #000 20% 80%, #0000);
}
.story_line {
  position: sticky; top: 0; z-index: 0;
  width: 1px; height: 50vh; margin-top: -50vh;
  background-color: var(--_colors---primary--black);
}
.story_line-wrap { width: 1px; height: 100%; background-color: var(--_colors---bleu--150); }

.story_list { display: grid; grid-template-columns: 1fr; gap: var(--size--size-24); }

/* Trois colonnes : le vide, le point, le contenu. Une entrée sur deux
   inverse l'ordre, ce qui fait alterner la frise de part et d'autre du trait. */
.story_row { display: grid; grid-template-columns: 1fr max-content 1fr; gap: 3rem; }
.story_empty { width: 100%; }
.story_dot-wrap { position: relative; z-index: 1; display: flex; justify-content: center; align-items: stretch; }
.story_dot {
  position: absolute; z-index: 2;
  width: var(--size--size-3); aspect-ratio: 1;
  margin-top: var(--size--size-22);
  border-radius: 2px;
  background-color: var(--_colors---primary--black);
}

.story_item {
  z-index: 2;
  display: flex; flex-direction: column;
  gap: var(--size--size-7);
  max-width: 28.75rem;
  padding-top: var(--size--size-15); padding-bottom: var(--size--size-15);
  overflow: hidden;
}
.story_year { font-size: var(--size--size-27); font-weight: var(--_typography---font-weight--medium); letter-spacing: -.04em; }
.story_text { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: var(--size--size-5); }
.story_title-wrap { display: flex; justify-content: flex-start; align-items: center; gap: var(--size--size-4); }
.story_title { font-size: var(--size--size-11); line-height: 1.2; font-weight: var(--_typography---font-weight--medium); }
.story_description { color: var(--_colors---bleu--300); }

/* ======================================================================= */
/* Adaptations                                                              */
/* ======================================================================= */
/* ======================================================================= */
/* Conformité et sécurité (ajouté le 11 sept. 2026)                        */
/* Quatre cartes blanches — le même composant que les cartes « Principes » */
/* plus haut, avec une pastille d'icône et un filet sous le titre — puis   */
/* un bandeau posé sur les dunes bleues du héros de l'accueil, sous le     */
/* même voile sombre. Rien de nouveau dans la palette : la section doit    */
/* sembler avoir toujours été là.                                          */
/* ======================================================================= */
.conformite_component { display: flex; flex-direction: column; }
.conformite_header { display: flex; flex-direction: column; align-items: flex-start; max-width: 42rem; }
.conformite_text { max-width: 30rem; color: var(--_colors---bleu--500); font-size: var(--size--size-10); }

.conformite_items { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--size--size-4); }
.conformite_card { gap: var(--size--size-15); justify-content: flex-start; }
.conformite_icon-wrap {
  display: flex; justify-content: center; align-items: center;
  width: var(--size--size-19); height: var(--size--size-19); flex: none;
  border-radius: 50%;
  background-color: var(--_colors---bleu--100);
}
.conformite_icon { width: var(--size--size-12); height: auto; }
.conformite_card-body { display: flex; flex-direction: column; gap: var(--size--size-6); }
.conformite_card-body h3 { padding-bottom: var(--size--size-6); border-bottom: 1px solid var(--_colors---bleu--100); }
.conformite_card-body p { font-size: var(--size--size-9); line-height: 1.5; }

/* Le bandeau : texte à gauche, quatre points à droite, chacun sur son
   filet, comme une liste de contrôle. L'image et le voile reprennent
   exactement le fond du bloc « Résultats » de l'accueil (home.css). */
.conformite_bandeau {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--size--size-19);
  padding: var(--size--size-19);
  border-radius: var(--border-radius--small);
  overflow: clip;
  background-color: #18273a;
  color: var(--_colors---primary--white);
}
.conformite_bandeau-img { position: absolute; inset: 0; z-index: 0; width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: 65% 50%; }
.conformite_bandeau-gradient { position: absolute; inset: 0; z-index: 1; pointer-events: none; background-image: linear-gradient(#0e1c2d1f, #0e1c2dcf); }
.conformite_bandeau-content, .conformite_points { position: relative; z-index: 2; }
.conformite_bandeau-content { display: flex; flex-direction: column; align-items: flex-start; max-width: 30rem; }
.conformite_bandeau-text { margin: 0; color: var(--_colors---white--60); font-size: var(--size--size-10); line-height: 1.5; }
.conformite_points { display: flex; flex-direction: column; justify-content: center; }
.conformite_point {
  display: flex; align-items: center; gap: var(--size--size-7);
  padding-top: var(--size--size-8); padding-bottom: var(--size--size-8);
  border-top: 1px solid var(--_colors---white--10);
}
.conformite_point:last-child { border-bottom: 1px solid var(--_colors---white--10); }
.conformite_point-icon { width: var(--size--size-11); height: var(--size--size-11); flex: none; }
.conformite_point .text-style-label { color: var(--_colors---primary--white); }


@media (max-width: 991px) {
  /* Conformité : deux cartes par ligne, bandeau sur une colonne. */
  .conformite_items { grid-template-columns: 1fr 1fr; }
  .conformite_bandeau { grid-template-columns: 1fr; gap: var(--size--size-13); }
  .about-header-v2_img-1 { width: var(--size--size-31); min-width: auto; top: 5rem; left: -2rem; }
  .about-header-v2_img-2 { width: var(--size--size-31); min-width: auto; top: 1rem; right: 3vw; }
  .about-header-v2_img-3 { width: var(--size--size-31); min-width: auto; bottom: 3rem; right: 12vw; }

  /* L'en-tête et les cartes s'empilent. */
  .cards_content { display: block; }

  .story_row { gap: 2rem; }
  .story_item { grid-column-gap: 1rem; }
  .story_list { gap: var(--size--size-21); }
  .story_year { font-size: var(--size--size-22); }
  .story_title { font-size: 1rem; }

}

@media (max-width: 767px) {
  .section_about-header-v2 { min-height: auto; }
  .about-header-v2_content { max-width: 21rem; }
  .about-header-v2_img-1 { width: var(--size--size-23); left: -1rem; }
  .about-header-v2_img-2 { width: var(--size--size-23); top: 3.5rem; }
  .about-header-v2_img-3 { width: var(--size--size-23); }

  .cards_items { display: flex; flex-direction: column; }

  /* La frise se range d'un seul côté : le trait passe à gauche et les
     colonnes vides disparaissent.
     Le placement doit être explicite. Une entrée sur deux a son contenu avant
     le point dans le HTML — c'est ce qui fait l'alternance sur grand écran.
     Laissée au placement automatique, cette entrée-là mettrait son texte dans
     la colonne étroite et déborderait du cadre. */
  .story_content { overflow: visible; }
  .story_row { grid-template-columns: max-content 1fr; gap: var(--size--size-15); }
  .story_empty { display: none; }
  .story_dot-wrap { grid-column: 1; grid-row: 1; }
  .story_item { grid-column: 2; grid-row: 1; max-width: none; padding-top: var(--size--size-10); padding-bottom: var(--size--size-10); }
  .story_list { gap: var(--size--size-15); }
  .story_dot { margin-top: var(--size--size-15); }
  .story_progress { left: 0; justify-content: flex-start; align-items: flex-start; }
  .story_year { font-size: var(--size--size-17); }
  .story_title { font-size: 1rem; }

}

@media (max-width: 479px) {
  .conformite_items { grid-template-columns: 1fr; }
  .conformite_bandeau { padding: var(--size--size-13); }
  .story_item { grid-template-columns: 3rem 1fr; }
  .story_text { gap: .25rem; }
  .story_title { font-size: 1rem; text-align: left; }
}
