/* ===========================
   À PROPOS (page)
   =========================== */

.apropos-hero {
  position: relative;
  min-height: 420px;
  padding: 3.5rem 0;
  overflow: hidden;
}

.apropos-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Voile subtil homogénéiser sans assombrir */
  background-image:
    linear-gradient(
      to bottom,
      rgba(19, 65, 52, 0.25),
      rgba(19, 65, 52, 0.10)
    ),
    url("../images/hero-apropos.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.apropos-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: transparent;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}


.apropos-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  /* Format horizontal (desktop) : carte alignée à droite */
  justify-content: flex-end;
  min-height: 420px;
}

.apropos-hero__card {
  max-width: 760px;
  /* Un poil plus transparent (+~10%) + blur +2px */
  /* Ajustement : carte un peu moins transparente (-~5% de transparence) */
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 2.2rem 2.2rem 1.8rem;
}

.apropos-hero__title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 2.3rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.apropos-hero__subtitle {
  margin: 0 0 1.3rem;
  color: var(--text-muted);
  max-width: 54rem;
}

.apropos-hero__cta {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.apropos-hero__btn {
  width: fit-content;
  padding: 1.05rem 1.7rem;
  font-size: 1.02rem;
}

.apropos-hero__reassurance {
  margin: 0;
  color: rgba(30, 30, 30, 0.72);
  font-size: 0.95rem;
}

/* Cards (generic) */

.apropos-card {
  border-radius: var(--radius-card);
  background-color: var(--white);
  border: 1px solid rgba(12, 63, 46, 0.10);
  box-shadow: var(--shadow-soft);
}

.apropos-card--media {
  overflow: hidden;
  position: relative;
  /*
    Cadre média piloté de manière stable.
    On évite les "paliers" de hauteur qui donnent une impression de zoom/crop incohérente.

    - Par défaut (layout horizontal) : ratio portrait.
    - En layout vertical (stack) : ratio plus paysage (défini plus bas) pour éviter le zoom au 1er breakpoint.
  */
  /* Un portrait un peu moins "long" (desktop) */
  aspect-ratio: 7 / 8;
  height: auto;
}


/* Hugo section */

.apropos-hugo__grid {
  display: grid;
  /* Image | séparateur | contenu */
  /*
    Rythme horizontal : on garde un séparateur "réel" (1px) et un seul espacement constant.
    -> meilleure symétrie visuelle sur les formats intermédiaires.
  */
  grid-template-columns: 420px 1px 1fr;
  column-gap: 1.9rem;
  /* On étire pour aligner les volumes perçus (diptyque) */
  align-items: stretch;
}

.apropos-hugo__visual,
.apropos-hugo__content {
  display: flex;
}

/* En layout horizontal, le bloc média doit pouvoir suivre la hauteur de la carte si besoin (symétrie) */
.apropos-hugo__visual {
  align-items: stretch;
}

.apropos-hugo__visual .apropos-card--media {
  height: 100%;
}

.apropos-hugo__divider {
  position: relative;
  width: 1px;
  justify-self: center;
  align-self: stretch;
  /* Filet + micro-dégradé (très subtil) */
  background: linear-gradient(
    to bottom,
    rgba(12, 63, 46, 0),
    rgba(12, 63, 46, 0.10),
    rgba(244, 239, 230, 0.22),
    rgba(12, 63, 46, 0.10),
    rgba(12, 63, 46, 0)
  );
}

.apropos-hugo__divider::after {
  content: "";
  position: absolute;
  inset: 0;
  left: -2px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    rgba(12, 63, 46, 0),
    rgba(12, 63, 46, 0.08),
    rgba(244, 239, 230, 0.18),
    rgba(12, 63, 46, 0.08),
    rgba(12, 63, 46, 0)
  );
  filter: blur(2px);
  opacity: 0.75;
  pointer-events: none;
}

.apropos-hugo__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  /* Point de focus pour préserver le visage sur la plupart des formats */
  object-position: 50% 22%;
}


.apropos-hugo__content {
  padding-top: 0;
}

.apropos-hugo__content-card {
  border-radius: var(--radius-card);
  padding: 1.65rem 1.75rem 1.55rem;
  /* Socle visuel léger (premium, non "lourd") */
  background: linear-gradient(
    180deg,
    rgba(244, 239, 230, 0.68),
    rgba(255, 255, 255, 0.70)
  );
  border: 1px solid rgba(12, 63, 46, 0.10);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.045);
  /* Aligne la hauteur perçue avec le bloc image */
  min-height: 100%;
}

.apropos-hugo__title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.9rem;
  margin: 0 0 0.6rem;
}

.apropos-hugo__title-accent {
  color: var(--green-deep);
}

.apropos-hugo__intro {
  margin: 0 0 1.2rem;
  color: var(--text-muted);
  max-width: 52rem;
}

.apropos-hugo__bullets {
  margin: 0 0 1.4rem;
  padding-left: 1.1rem;
  color: var(--text-main);
}

.apropos-hugo__bullets li::marker {
  color: var(--green-deep);
}

.apropos-hugo__bullets li {
  margin: 0.35rem 0;
}

.apropos-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Valeurs : signature sobre (vert atténué + typographie) */
.apropos-badge {
  color: rgba(12, 63, 46, 0.72);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.apropos-value {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  background-color: rgba(12, 63, 46, 0.06);
  border: 1px solid rgba(12, 63, 46, 0.10);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.apropos-value:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.apropos-value__icon {
  width: 18px;
  height: 18px;
}

.apropos-value__text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green-deep);
}

/* Trust section */


/* Accent (vert) : usage typographique (titres) */
.text-accent {
  color: var(--green-sapin);
}

/* Trust section header polish */
.apropos-trust .section__title {
  position: relative;
}

.apropos-trust .section__title::after {
  content: "";
  display: block;
  width: 74px;
  height: 2px;
  margin: 0.85rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(12, 63, 46, 0), rgba(12, 63, 46, 0.35), rgba(12, 63, 46, 0));
}

.apropos-trust__intro {
  margin: 0;
  max-width: 52rem;
  font-style: italic;
  color: rgba(30, 30, 30, 0.72);
}
.apropos-trust__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.apropos-trust-card {
  padding: 1.6rem 1.6rem 1.4rem;
}

.apropos-trust-card--highlight {
  border-color: rgba(12, 63, 46, 0.20);
  background: linear-gradient(
    180deg,
    rgba(12, 63, 46, 0.06),
    rgba(255, 255, 255, 1)
  );
}

.apropos-trust-card__title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.2rem;
  margin: 0 0 0.9rem;
}

.apropos-trust-card__list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-main);
}

.apropos-trust-card__list li {
  margin: 0.42rem 0;
  line-height: 1.5;
}

.apropos-trust-card__list li::marker {
  color: var(--green-sapin);
}

.apropos-trust-card__list strong {
  font-weight: 700;
}

/* -------------------------------------------------
   Trust section — micro-polish grand écran (desktop)
   Objectif : éviter l'effet "tassé / fade" du bloc gauche
   uniquement en format horizontal large.
   ------------------------------------------------- */

@media (min-width: 1200px) {
  /* Bloc gauche (méthode) : +respiration +accroche visuelle */
  .apropos-trust-card:not(.apropos-trust-card--highlight) {
    padding: 1.85rem 1.9rem 1.65rem;
  }

  .apropos-trust-card:not(.apropos-trust-card--highlight) .apropos-trust-card__title {
    position: relative;
    padding-left: 1.05rem;
    margin-bottom: 1.05rem;
  }

  .apropos-trust-card:not(.apropos-trust-card--highlight) .apropos-trust-card__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 4px;
    height: 1.25rem;
    border-radius: 999px;
    background: linear-gradient(
      to bottom,
      rgba(12, 63, 46, 0.0),
      rgba(12, 63, 46, 0.45),
      rgba(12, 63, 46, 0.0)
    );
  }

  .apropos-trust-card:not(.apropos-trust-card--highlight) .apropos-trust-card__list {
    padding-left: 1.25rem;
  }

  .apropos-trust-card:not(.apropos-trust-card--highlight) .apropos-trust-card__list li {
    margin: 0.58rem 0;
    line-height: 1.62;
    font-size: 1.02rem;
    color: rgba(30, 30, 30, 0.92);
  }

  .apropos-trust-card:not(.apropos-trust-card--highlight) .apropos-trust-card__list strong {
    font-weight: 750;
    color: rgba(10, 45, 35, 0.98);
  }
}


/* -------------------------------------------------
   Engagements section (A propos)
   Objectif : donner du relief (filet vertical + icônes) sans surcharger.
   ------------------------------------------------- */

.apropos-commitments .section__title {
  position: relative;
}

.apropos-commitments .section__title::after {
  content: "";
  display: block;
  width: 74px;
  height: 2px;
  margin: 0.85rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(12, 63, 46, 0), rgba(12, 63, 46, 0.32), rgba(12, 63, 46, 0));
}

.apropos-commitments .section__intro {
  margin: 0;
  max-width: 52rem;
  font-style: italic;
  color: rgba(30, 30, 30, 0.72);
}



/* Ensure centered section intro is geometrically centered on wide screens */
.apropos-commitments .section__header--center .section__intro{
  margin-inline: auto;
}
.apropos-commitments__timeline {
  /* variables pour synchroniser rail + dots + padding */
  --timeline-pad: 2.35rem;
  --rail-x: 0.6rem;
  --dot-size: 10px;
  --dot-half: 5px;

  position: relative;
  padding-left: var(--timeline-pad);
  margin-top: 2.2rem;
}

.apropos-commitments__rail {
  position: absolute;
  left: var(--rail-x);
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    to bottom,
    rgba(12, 63, 46, 0.0),
    rgba(12, 63, 46, 0.22),
    rgba(12, 63, 46, 0.10),
    rgba(12, 63, 46, 0.0)
  );
}

.apropos-commitments__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
}

.apropos-card--commit {
  position: relative;
  padding: 1.35rem 1.55rem;
  /* Surface "papier" : teinte crème très légère (premium), sans effet "widget" */
  background: linear-gradient(
    180deg,
    rgba(248, 244, 236, 0.92),
    rgba(255, 255, 255, 0.98)
  );
  border-color: rgba(12, 63, 46, 0.10);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);

  /* repère de positionnement du dot (aligné sur la ligne de titre) */
  --dot-top: 1.95rem;
}

/* Dot aligné sur le rail (progression) */
.apropos-card--commit::before {
  content: "";
  position: absolute;
  left: calc(var(--rail-x) - var(--timeline-pad) - var(--dot-half));
  top: var(--dot-top);
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 999px;
  background: rgba(12, 63, 46, 0.16);
  border: 1px solid rgba(12, 63, 46, 0.18);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.04);
}

.apropos-commit__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.apropos-commit__icon {
  /* Icône "premium" : pas de badge, juste un repère monoline discret */
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(12, 63, 46, 0.55);
  flex: 0 0 auto;
}

.apropos-commit__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.apropos-commitments .apropos-card__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 600;
  color: rgba(18, 18, 18, 0.88);
}

.apropos-commitments .apropos-card__text {
  margin: 0.55rem 0 0;
  color: rgba(30, 30, 30, 0.76);
  line-height: 1.55;
}

@media (min-width: 1100px) {
  .apropos-commitments__timeline {
    --timeline-pad: 2.6rem;
    --rail-x: 0.65rem;
    margin-top: 2.4rem;
  }

  .apropos-card--commit {
    padding: 1.55rem 1.75rem;
    --dot-top: 2.15rem;
  }

  .apropos-commitments .apropos-card__title {
    font-size: 1.08rem;
  }
}

@media (max-width: 560px) {
  .apropos-commitments__timeline {
    --timeline-pad: 1.75rem;
    --rail-x: 0.35rem;
  }

  .apropos-commit__icon {
    width: 22px;
    height: 22px;
  }
}

.apropos-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin: 0.8rem 0 0;
}

.apropos-stat {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(12, 63, 46, 0.12);
}

.apropos-stat__icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(12, 63, 46, 0.06);
  border: 1px solid rgba(12, 63, 46, 0.10);
  flex: 0 0 auto;
}

.apropos-stat__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: rgba(12, 63, 46, 0.55);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.apropos-stat__body {
  min-width: 0;
}

.apropos-stat__number {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.48rem; /* modérément grand, élégant */
  letter-spacing: -0.02em;
  color: var(--green-deep);
  line-height: 1.05;
}

.apropos-stat__label {
  margin: 0.28rem 0 0;
  color: rgba(30, 30, 30, 0.70);
  font-size: 0.95rem;
}

/* Engagements */

.apropos-pledges {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.apropos-pledge {
  padding: 1.2rem 1.15rem;
  border-radius: var(--radius-card);
  background-color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(12, 63, 46, 0.10);
}

.apropos-pledge__title {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  margin: 0;
  color: var(--green-deep);
}

/* Final CTA */

.apropos-cta {
  text-align: center;
}

.apropos-cta__title {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 2rem;
  margin: 0 0 0.6rem;
}

.apropos-cta__text {
  margin: 0 auto 1.4rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.apropos-cta__actions {
  display: inline-flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.apropos-cta__reassurance {
  margin: 0;
  color: rgba(30, 30, 30, 0.70);
  font-size: 0.95rem;
}

/* Responsive */

/* Format intermédiaire (tablette paysage / petit desktop)
   -> on garde le hero centré, sinon on a un "trou" entre les breakpoints */
@media (max-width: 991px) {
  .apropos-hero__inner {
    justify-content: center;
    text-align: center;
  }

  .apropos-hero__card {
    text-align: center;
  }

  .apropos-hero__cta {
    align-items: center;
  }

  .apropos-hero__btn {
    width: min(520px, 100%);
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .apropos-hugo__grid {
    grid-template-columns: 360px 1px 1fr;
    column-gap: 1.6rem;
  }

  /* Sur ces formats, le ratio + l'étirement pilotent mieux la hauteur que des clamps agressifs */
  .apropos-card--media {
    max-height: none;
  }

  /*
    Evite que la ligne de valeurs fasse gonfler la carte sur les formats intermédiaires.
    On réduit très légèrement le rythme typographique (sans changer l’intention graphique).
  */
  .apropos-values {
    gap: 0.7rem;
  }

  .apropos-badge {
    font-size: 0.83rem;
    letter-spacing: 0.05em;
  }

  .apropos-pledges {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .apropos-hero__inner {
    justify-content: center;
    text-align: center;
  }

  .apropos-hero__card {
    padding: 2rem 1.5rem 1.6rem;
  }

  .apropos-hero__btn {
    width: 100%;
  }

  .apropos-hugo__grid {
    grid-template-columns: 1fr;
  }

  /* En disposition verticale (stack) : image et bloc texte doivent partager la meme largeur */
  .apropos-hugo__visual,
  .apropos-hugo__content {
    width: 100%;
  }

  .apropos-card--media,
  .apropos-hugo__content-card {
    width: 100%;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .apropos-hugo__divider {
    display: none;
  }

  /* En stack, on remonte légèrement le point de focus pour éviter de perdre les yeux avec le ratio paysage */
  .apropos-hugo__image {
    object-position: 50% 18%;
  }

  .apropos-hugo__content {
    padding-top: 0;
  }

  .apropos-hugo__content-card {
    padding: 1.45rem 1.35rem 1.35rem;
  }

  /*
    Début de stack : on passe sur un ratio plus paysage pour éviter l'effet "trop zoomé".
    La hauteur devient proportionnelle à la largeur, donc crop beaucoup plus stable.
  */
  .apropos-card--media {
    aspect-ratio: 16 / 10;
    height: auto;
    max-height: none;
  }

  .apropos-trust__grid {
    grid-template-columns: 1fr;
  }

  .apropos-stats {
    grid-template-columns: 1fr 1fr;
  }

  .apropos-cta__actions {
    width: 100%;
  }

  .apropos-cta__actions .btn {
    width: 100%;
    max-width: 520px;
  }
}

@media (max-width: 520px) {
  .apropos-card--media {
    aspect-ratio: 16 / 11;
  }

  .apropos-hero {
    padding: 3rem 0;
  }

  .apropos-hero__title {
    font-size: 1.95rem;
  }

  .apropos-stats {
    grid-template-columns: 1fr;
  }
  .apropos-hugo__content-card {
    padding: 1.25rem 1.15rem 1.15rem;
  }
}

/*
  CTA final — "petit format horizontal" (landscape compact)
  Objectif : CTA plus visible et centré, avec un contour blanc premium,
  sans impacter le desktop large ni le mobile vertical.
*/
@media (max-width: 760px) and (max-height: 520px) and (orientation: landscape) {
  .apropos-final__cta {
    display: flex;
    justify-content: center;
  }

  .apropos-final__cta .btn.btn--primary {
    padding: 1.05rem 2.2rem;
    font-size: 1.02rem;
    min-width: 280px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  }
}


@media (min-width: 992px) {
  .apropos-hero__card {
    text-align: center;
  }

  .apropos-hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .apropos-hero__cta {
    align-items: center;
  }

  .apropos-hero__btn {
    width: min(480px, 100%);
    justify-content: center;
    padding: 1.25rem 2.1rem;
    font-size: 1.12rem;
  }
}
