/* À propos en deck · proto Han Pixel, 17 nov. 2026.
   Chargé après a-propos.css et offre-deck.css. Ne change aucun texte.
   Plus aucun fond crème (#FEF9F3) sur cette page. */

html.deck section.ah-deck.sx{
  padding-top: calc(var(--hh, 80px) + 48px) !important;
  padding-bottom: 48px !important;
  padding-left: var(--m) !important;
  padding-right: var(--m) !important;
  box-sizing: border-box;
}
html.deck section.ah-hero.ah-deck{
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
html.deck .ah-hero .ah-in{
  padding: calc(var(--hh, 72px) + 48px) var(--m) 28px;
}
html.deck .ah-hero h1{
  font-size: clamp(44px, 6.4vw, 96px);
  max-width: 16ch;
}
html.deck .ah-row{ margin-top: 40px; }
html.deck .ah-band{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  padding: 0;
  margin: 0 var(--m) 28px;
  flex: none;
}
html.deck .ah-band picture,
html.deck .ah-band img{ display: block; min-width: 0; }
html.deck .ah-band img{
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  max-height: 16svh;
  object-fit: cover;
  object-position: 50% 22%;
  filter: grayscale(1);
}

/* Le disque de 9 px déjà dessiné sur .ah-row devient un vrai élément (#pt), origine de T.point. */
html.deck .ah-row::before{ display: none; }
.ah-pt{
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sig, #3100FF);
  pointer-events: none;
}

/* Trait signature de la charte : origine réelle des T.trait / T.houle / T.nappe. */
.ah-deck .ah-sigl{
  display: block;
  margin-top: 28px;
}

/* Histoire, engagements, bureaux : fond marin, plus de crème. */
#histoire,
#engagements,
#bureaux{
  color: #fff;
  background: #010C30;
}
#histoire .ah-mut,
#engagements .ah-mut,
#bureaux .ah-mut,
#histoire .lab.ah-mut,
#bureaux .lab.ah-mut{
  color: rgba(255,255,255,.72);
}
#histoire .ah-nums div{ border-top-color: var(--corail, #D43829); }
#engagements .ah-vals{ border-top-color: rgba(255,255,255,.18); }
#engagements .ah-vals div+div{ border-left-color: rgba(255,255,255,.18); }
#engagements .ah-vals div:nth-child(n+3){ border-top-color: rgba(255,255,255,.18); }
#engagements .ah-vals p{ color: rgba(255,255,255,.72); }
/* Libellés 01–04 : le corail sur marin est à 4,01:1, sous le AA du texte petit. Blanc. Le corail reste sur le filet et le disque. */
#engagements .ah-vals .ah-k,
#engagements .lab .n,
#bureaux .lab .n,
#histoire .lab .n{ color: #fff; }
#engagements .ah-vals h3,
#bureaux h3{ color: #fff; }

/* Groupe passé au blanc : mêmes cartes, filets marin. */
#groupe{ color: #010C30; background: #fff; }
#groupe .ah-lead.ah-mut,
#groupe .ah-grp p{ color: #010C30; }
#groupe .ah-grp > div{
  border-color: rgba(1,12,48,.16);
  background: transparent;
}
#groupe .ah-grp .ah-k{ color: #010C30; }
#groupe .ah-ph{
  color: var(--corail, #D43829);
  border-color: rgba(212,56,41,.7);
}

/* Équipe : compacte, défilement interne si le bottin dépasse la scène. */
.ah-team-scene{
  display: flex;
  flex-direction: column;
  min-height: 0;
}
html.deck .ah-team-scene .ah-team{
  margin-top: 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
  min-height: 0;
  flex: 1;
  padding-right: 8px;
  scroll-padding-bottom: 8px;
}
/* Pas d'aimantation (scroll-snap) : à 768 et 1024, elle ramenait scrollTop en place et la molette restait bloquée.
   Le bas, s'il coupe une rangée, se fond. */
html.deck .ah-team:not(.at-end){
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - var(--team-fade, 0px)), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - var(--team-fade, 0px)), transparent);
}
html.deck .ah-team.at-end{
  -webkit-mask-image: none;
  mask-image: none;
}
/* 1280×800 : la première rangée doit tenir entière au-dessus du fondu. */
@media (max-height: 860px) and (min-width: 1000px){
  html.deck section.ah-team-scene.ah-deck{
    padding-top: calc(var(--hh, 72px) + 16px) !important;
    padding-bottom: 12px !important;
  }
  html.deck .ah-team-scene h2{ font-size: clamp(32px, 3.6vw, 44px); }
  html.deck .ah-team-scene .ah-g2{ gap: 28px; }
  html.deck .ah-team-scene .sigl{ margin-top: 12px; }
  html.deck .ah-team-scene .ah-team{ margin-top: 12px; }
  html.deck .ah-team-scene .ah-lead{ font-size: 16px; }
}
#equipe .ah-trow:first-child{ border-top-color: rgba(1,12,48,.5); }
html.deck .ah-trow{ padding: 16px 0 20px; }
html.deck .ah-person img{ aspect-ratio: 4/5; }
html.deck .ah-sec{ padding: 0; }

/* Bureaux : deux villes en grand, typo existante un peu aérée. */
.ah-off-scene{
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ah-off-scene .ah-off{
  margin-top: 48px;
  gap: 24px;
}
#bureaux .ah-off > div{ border-top-color: rgba(255,255,255,.2); }
#bureaux .ah-off h3{ font-size: clamp(48px, 6vw, 96px); font-weight: 200; color: #fff; }

/* Carrières : une scène, plus de partage avec les bureaux. */
.ah-car-scene{ display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.ah-car-scene .ah-car{ min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
html.deck .ah-car{
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  gap: 48px;
}
html.deck .ah-car h2{ font-size: clamp(36px, 4.4vw, 56px); }

/* Filets : plus de teinte crème. Clair = marin à 16 %. Foncé = blanc à 18 %. */
html.deck .ah{ --rule: rgba(1,12,48,.16); --rule-d: rgba(255,255,255,.18); }

/* Neuf scènes. L'infolettre et le pied restent le gabarit : visibles en flux et en mode réduit, pas une dixième scène. */
html.deck main > .endw{ display: none; }

/* Entrées d'À propos : le repère et le trait ne retiennent pas le cran.
   Trait du repère 500 ms. Pastille sans le délai de 360 ms.
   Trait signature 600 ms ; le rond se pose ensuite (300 ms), fini à 900 ms. */
html.deck .prog .pg-t{
  transition-duration: 500ms, 400ms, 400ms;
}
html.deck .prog a[aria-current] .pg-d{
  transition-delay: 0ms;
}
html.deck .ah-deck.cur .sigl i{
  transform: none;
  transition-duration: 600ms;
}
html.deck .ah-deck.cur .sigl b{
  opacity: 1;
  transition-delay: 600ms;
}

/* Mode réduit et flux : les scènes s'empilent, tout est visible, sans masque. */
html:not(.deck) .ah-deck,
html.reduced .ah-deck{
  min-height: 100svh;
}

@media (max-width: 767px){
  /* Le bottin suit la scène, sans défilement interne. */
  html.deck #equipe{
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  html.deck .ah-team-scene .ah-team{
    overflow: visible;
    flex: none;
    max-height: none;
    scroll-snap-type: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (max-width: 600px){
  html.deck #histoire .ah-nums{
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 28px;
  }
  html.deck #histoire .ah-nums b{ font-size: 36px; }
  html.deck #histoire .ah-nums b sup{ font-size: 18px; }
  html.deck #histoire .ah-nums p{ font-size: 12px; }
  html.deck #histoire,
  html.deck #engagements,
  html.deck #groupe,
  html.deck #carrieres{ overflow-y: auto; overscroll-behavior: contain; }

  .ah-car-scene{ justify-content: flex-start; }
  html.deck .ah-hero h1{ font-size: 40px; }
  html.deck .ah-hero .ah-in{ padding: calc(var(--hh, 72px) + 28px) var(--m) 16px; }
  html.deck .ah-band{
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-bottom: 20px;
  }
  html.deck .ah-deck{ padding-top: calc(var(--hh, 64px) + 28px); padding-bottom: 32px; }
  #bureaux .ah-off h3{ font-size: 48px; }
  html.deck .ah-tg{ grid-template-columns: repeat(3, 1fr); }
}
