/* ============================================================
   Sillage Club — Site
   Type : Merriweather (titres, 500) · Instrument Sans (corps)
   Rythme couleurs : crème → bleu wash → navy (bandeaux)
   ------------------------------------------------------------
   Sections issues de la LP2 : header, hero vidéo, agenda,
   partenaires, CTA final, footer.
   Sections issues de la LP1 : manifeste, convictions, réseau,
   page Réseau (annuaire).
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--fg);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
html { overflow-x: hidden; overflow-x: clip; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:root {
  --accent-color: var(--yellow-500);
  --accent-ink: var(--yellow-700);
}

/* ---- Layout ---- */
/* L'attribut hidden l'emporte sur tout display déclaré plus bas. */
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: clamp(72px, 11vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(56px, 8vw, 88px) 0; }

.section--wash { background: var(--blue-050); }
.section--navy { background: var(--blue-900); color: #fff; }
.section--ink  { background: var(--blue-800); color: #fff; }

/* ---- Type helpers ---- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.06;
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
}
.h-xl  { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.h-lg  { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.h-md  { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.16; }
.lead {
  font-family: var(--font-body);
  font-size: clamp(1.06rem, 1.5vw, 1.32rem);
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0;
  max-width: 60ch;
  text-wrap: pretty;
}
.section--navy .lead, .section--ink .lead { color: rgba(255,255,255,0.78); }

.overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 22px;
}
/* Règle tracée à la main (assets/rule.svg), colorée via un masque comme les puces soleil */
.overline::before {
  content: "";
  flex: none;
  width: 26px; height: 7px;
  background: var(--accent-color);
  -webkit-mask: url("../assets/rule.svg") center / contain no-repeat;
          mask: url("../assets/rule.svg") center / contain no-repeat;
}
.section--navy .overline, .section--ink .overline { color: var(--yellow-400); }
.section--navy .overline::before, .section--ink .overline::before { background: var(--yellow-400); }

/* Les titres de section prennent toute la largeur (une ligne sur desktop) ; seul le chapeau est borné. */
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head .lead { max-width: 56ch; margin-top: 18px; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row .section-head__txt { min-width: 0; }
.section-head--row .section-head__txt .lead { max-width: 56ch; margin-top: 18px; }
.section-cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 56px); }

/* hand accent underline */
.mark { position: relative; white-space: nowrap; }
.mark > svg {
  position: absolute; left: -2%; bottom: -0.18em;
  width: 104%; height: 0.42em; color: var(--accent-color);
  pointer-events: none;
}
/* Hero : trait plus fin, à l'épaisseur du logo Sillage du manifeste */
.hero .mark > svg { bottom: -0.14em; height: 0.33em; }

/* ---- Buttons ---- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.975); }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }

.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,98,162,0.30); }

.btn--accent { background: var(--accent-color); color: var(--blue-900); }
.btn--accent:hover { filter: brightness(0.94); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue-200); }
.btn--ghost:hover { border-color: var(--blue); background: var(--blue-050); }

.btn--light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.40); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }

.btn .arr { transition: transform var(--dur) var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---- Tags / pills ---- */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--blue-100); color: var(--blue-700);
  white-space: nowrap;
}
.tag--yellow { background: var(--yellow-100); color: var(--accent-ink); }
.tag--coral  { background: #FBEAE2; color: var(--terracotta); }

/* ---- Avatar (initiales) ---- */
.avatar {
  width: 54px; height: 54px; border-radius: 50%; flex: none; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: #fff;
  border: 3px solid #fff; box-shadow: var(--shadow-sm);
}
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
a.avatar { text-decoration: none; }
a.avatar:hover img { transform: scale(1.06); }
.avatar img { transition: transform var(--dur) var(--ease); }

/* ============================================================
   HEADER (LP2)
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  transition: padding var(--dur) var(--ease), background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
.header__logo img { height: 30px; width: auto; }
.header__logo .logo-yellow { display: none; }
.header__nav { display: flex; align-items: center; gap: 30px; }
.header__nav a {
  font-size: 0.95rem; font-weight: 500; color: var(--blue-800);
  position: relative; padding: 4px 0; white-space: nowrap;
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--accent-color); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease);
}
.header__nav a:hover::after,
.header__nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 14px; }

/* burger (mobile) */
.header__burger {
  display: none;
  width: 42px; height: 42px; border-radius: var(--r-md);
  border: 1.5px solid var(--blue-200); background: transparent; cursor: pointer;
  align-items: center; justify-content: center; color: var(--blue-800);
}
.header__burger svg { width: 22px; height: 22px; }
.header__burger .ico-close { display: none; }
.header.nav-open .header__burger .ico-menu { display: none; }
.header.nav-open .header__burger .ico-close { display: block; }

/* scrolled state */
.header.is-stuck {
  padding: 12px 32px;
  background: rgba(255,252,244,0.86);
  backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

/* header over a dark hero */
.header.on-dark .header__logo .logo-blue { display: none; }
.header.on-dark .header__logo .logo-yellow { display: block; }
.header.on-dark .header__nav a { color: rgba(255,255,255,0.92); }
.header.on-dark .header__nav a::after { background: var(--yellow-400); }
.header.on-dark .header__burger { color: #fff; border-color: rgba(255,255,255,0.4); }

/* ============================================================
   HERO — plein cadre vidéo (LP2, direction A)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img,
.hero__bg video { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero__video { position: relative; z-index: 1; }
/* l'image fixe sert de premier rendu et de repli si la vidéo ne joue pas */
.hero__fallback { position: absolute; inset: 0; z-index: 0; }
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(0,38,63,0.92) 0%, rgba(0,38,63,0.55) 32%, rgba(0,38,63,0.10) 60%, rgba(0,38,63,0.28) 100%);
}
/* Contenu centré verticalement dans le hero, quel que soit l'écran : mêmes marges
   haut et bas (le header fixe est couvert par la marge haute). */
.hero__inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(112px, 14vh, 140px); }
/* Découpage voulu : « Pour ceux qui construisent » / « à Marseille. » (br dans le HTML, pas d'équilibrage automatique). */
.hero .display { color: #fff; text-wrap: wrap; }
.hero .lead { color: rgba(255,255,255,0.86); margin-top: 22px; }
.hero__sun { position: absolute; top: 96px; right: 6%; z-index: 2; width: 92px; opacity: 0.95; animation: spin 60s linear infinite; }
.hero__overline-light { color: #fff; }
.hero__overline-light::before { background: var(--accent-color); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__tags { margin-top: 30px; }
.hero__tags .tag { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.28); backdrop-filter: blur(4px); }

@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero__sun { animation: none; } }
@media (prefers-reduced-motion: reduce) {
  .offer-card:hover, .member:hover, .event:hover, .event-card:hover, .offer-card:hover .offer-card__list li::before,
  .offer-card.is-touched, .offer-card.is-touched .offer-card__list li::before { transform: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 700px) {
  .partners { display: grid; grid-template-columns: repeat(2, 1fr); margin-inline: 0; mask-image: none; -webkit-mask-image: none; }
  .partners__track, .partners__group { display: contents; }
  .partners__group--clone { display: none; }
}

/* ============================================================
   MANIFESTE (LP1) — bandeau encre, centré
   ============================================================ */
.manifeste__inner { max-width: 980px; margin: 0 auto; text-align: center; }
.manifeste__quote {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.22; letter-spacing: -0.015em;
  color: #fff; margin: 0; text-wrap: balance;
}
.manifeste__quote .hl { color: var(--yellow); }
.manifeste__wave { display: none; justify-content: center; margin: 30px 0 0; }   /* essai sans la vague jaune */
.manifeste__wave svg { width: 180px; height: 28px; color: var(--yellow-400); }
/* Bloc logo + « existe pour le relier. » : au repos, loin sous la première phrase ; le parallax
   (manifesteParallax) le fait partir collé à la phrase et descendre vers l'horizon au scroll. */
.manifeste__brandwrap { will-change: transform; margin-top: clamp(96px, 10vw, 140px); }
.manifeste__logo { display: block; width: clamp(150px, 14vw, 200px); height: auto; margin: 0 auto 14px; }
.manifeste__brand .manifeste__sub { margin: 0 auto; }

/* Transition manifeste → convictions : nappe de points animée (canvas, js/site.js particleWave) */
.convictions, .partners-section { position: relative; padding-top: calc(clamp(72px, 11vw, 128px) + 150px); }
.particle-wave { position: absolute; top: -1px; left: 0; right: 0; height: 280px; pointer-events: none; overflow: hidden; }
.particle-wave canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 700px) {
  .convictions, .partners-section { padding-top: calc(clamp(72px, 11vw, 128px) + 90px); }
  .particle-wave { height: 180px; }
  /* Partenaires : plus d'air en mobile, au-dessus du titre, entre le titre et le bandeau, et en bas */
  .partners-section { padding-top: calc(clamp(72px, 11vw, 128px) + 130px); padding-bottom: 128px; }
  .partners-section .section-head { margin-bottom: 56px; }
}
/* Les deux phrases de conclusion sont proches de l'horizon : deux tiers de l'espace
   disponible au-dessus (entre la vague jaune et les phrases), un tiers en dessous. */
.manifeste {
  --hz: 41px;   /* distance entre le bas de la section et la ligne d'horizon du sillage (canvas) */
  --gap: calc(84px + clamp(72px, 11vw, 128px) + var(--hz));   /* 84 = ancien espace vague comprise */
  padding-bottom: calc(var(--gap) / 3 - var(--hz));
}
@media (max-width: 700px) { .manifeste { --hz: 27px; } }
.manifeste__sub {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.6;
  color: rgba(255,255,255,0.78); max-width: 62ch; margin: calc(var(--gap) * 2 / 3) auto 0;
}

/* ============================================================
   CONVICTIONS — quatre illustrations animées (Web Components js/sillage-*.js)
   ============================================================ */
/* Le trait des dessins suit `color` (currentColor) : navy sur le crème de la section */
.convictions__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(40px, 5vw, 56px) clamp(24px, 3vw, 36px);
  color: var(--fg);
}
/* Même hauteur pour les quatre dessins, calés en bas sur une ligne de base commune.
   Les ratios diffèrent : le SVG remplit la boîte
   et preserveAspectRatio="xMidYMax meet" (posé par convictionsArt() dans site.js) le cale en bas. */
.conviction__art { color: var(--blue-800); height: 210px; padding-bottom: 24px; box-sizing: content-box; display: flex; flex-direction: column; justify-content: flex-end; }
.conviction__art > * { display: block; width: 100%; height: 100%; }
/* L'apéro, plus massif, à 90 % de la hauteur des autres, toujours posé sur la ligne de base */
.conviction__art > sillage-apero { height: 90%; }
/* Touche jaune du design system sur un élément de chaque dessin (classe posée par accent() dans site.js) */
.conviction__art .is-accent { color: var(--yellow); }
.conviction__art svg { display: block; width: 100% !important; height: 100% !important; }
.conviction__title {
  font-family: var(--font-display); font-weight: 600; font-size: 1.22rem;
  letter-spacing: -0.01em; line-height: 1.28; color: var(--fg); margin: 0 0 10px; text-wrap: balance;
}
.conviction p { font-size: 0.97rem; line-height: 1.6; color: var(--fg-muted); margin: 0; }

/* ============================================================
   NOTRE ACTION — deux cartes en miroir : Membership et Entreprises
   ============================================================ */
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.offer-card {
  --bullet: var(--accent-color);      /* soleil des puces */
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 36px); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform var(--dur-slow) var(--ease-soft), box-shadow var(--dur-slow) var(--ease-soft);
}
.offer-card--corp { --bullet: var(--blue); }
/* Hover commun à toutes les cartes : lift de 3 px et ombre md, mouvement lent ; ici les soleils tournent en plus */
.offer-card:hover, .offer-card.is-touched { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.offer-card .tag { text-transform: uppercase; letter-spacing: 0.12em; font-size: 12px; }
.offer-card__title {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  letter-spacing: -0.01em; line-height: 1.2; color: var(--fg); margin: 16px 0 14px;
}
.offer-card__lead { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--fg); }
.offer-card__label {
  width: 100%; margin: 24px 0 14px; padding-top: 20px; border-top: 1px solid var(--border);
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted);
}
.offer-card__list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.offer-card__list li { position: relative; padding-left: 32px; font-size: 1rem; line-height: 1.45; color: var(--fg); }
.offer-card__list--detail { gap: 16px; }
.offer-card__list--detail strong { display: block; font-weight: 600; margin-bottom: 3px; }
.offer-card__list--detail span { display: block; color: var(--fg-muted); line-height: 1.55; }
/* Puce : le soleil Sillage, coloré via un masque (jaune côté membres, bleu côté entreprises) */
.offer-card__list li::before {
  content: ""; position: absolute; left: -2px; top: 0.05em; width: 24px; height: 24px;
  background: var(--bullet);
  -webkit-mask: url("../assets/sun.svg") center / contain no-repeat;
          mask: url("../assets/sun.svg") center / contain no-repeat;
  transition: transform 700ms var(--ease-soft);
}
.offer-card:hover .offer-card__list li::before, .offer-card.is-touched .offer-card__list li::before { transform: rotate(45deg); }
.offer-card__list li:nth-child(2)::before { transition-delay: 40ms; }
.offer-card__list li:nth-child(3)::before { transition-delay: 80ms; }
.offer-card__list li:nth-child(4)::before { transition-delay: 120ms; }
.offer-card__list li:nth-child(5)::before { transition-delay: 160ms; }
/* Pied de carte calé en bas : les deux boutons s'alignent quelle que soit la longueur du contenu */
.offer-card__foot { width: 100%; margin-top: auto; }
.offer-card__price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 20px; line-height: 1; }
.offer-card__amount {
  font-family: var(--font-display); font-weight: 400; letter-spacing: -0.03em;
  font-size: clamp(2.6rem, 4.6vw, 3.6rem); color: var(--blue-800);
}
.offer-card__cur { font-size: 0.5em; margin-left: 0.06em; }
.offer-card__per { font-family: var(--font-body); font-size: 1.1rem; color: var(--fg-muted); }
.offer-card__cta { width: 100%; }

/* ============================================================
   MOSAÏQUES PHOTO — pleine largeur, sous les cartes de Notre action et sous le CTA des événements
   Photos recadrées en object-fit: cover, coins --r-md, fond wash le temps du chargement.
   ============================================================ */
.mosaic { display: grid; gap: 12px; }
.mosaic img {
  display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover;
  border-radius: var(--r-md); background: var(--blue-050);
  contain: size; /* la taille naturelle des photos ne pousse pas la grille : ce sont les lignes de la grille qui fixent la hauteur */
}
.mosaic__a { grid-area: a; } .mosaic__b { grid-area: b; } .mosaic__c { grid-area: c; }
.mosaic__d { grid-area: d; } .mosaic__e { grid-area: e; }
/* Pleine largeur, 3 rangées, 7 photos : deux portraits hauts aux bouts, un paysage large et deux
   petits formats au centre, deux paysages larges sur la dernière rangée.
   .mosaic--alt (événements) inverse l'ordre des rangées pour varier la page. */
.mosaic--wide {
  /* Air autour des mosaïques : elles respirent entre les cartes (ou le CTA) et la section suivante */
  margin-top: clamp(64px, 8vw, 112px);
  margin-bottom: clamp(24px, 4vw, 56px);
  grid-template-columns: 0.8fr 1fr 1fr 0.8fr;
  grid-template-rows: 240px 200px 240px;
  grid-template-areas: "a b b c" "a d e c" "f f g g";
}
.mosaic--wide.mosaic--alt {
  grid-template-rows: 240px 240px 200px;
  grid-template-areas: "f f g g" "a b b c" "a d e c";
}
.mosaic__f { grid-area: f; } .mosaic__g { grid-area: g; }
/* Desktop : la mosaïque déborde du container (110 %), centrée, sans jamais dépasser l'écran */
@media (min-width: 941px) {
  .mosaic--wide {
    --mosaic-w: min(110%, calc(100vw - 48px));
    width: var(--mosaic-w);
    margin-left: calc((100% - var(--mosaic-w)) / 2);
  }
}

/* ============================================================
   LE RÉSEAU (LP1) — cartes membre
   ============================================================ */
.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform var(--dur-slow) var(--ease-soft), box-shadow var(--dur-slow) var(--ease-soft);
}
.member:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.member[hidden] { display: none; }
.member__head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.member__name { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; color: var(--fg); line-height: 1.2; }
.member__role { font-size: 0.85rem; color: var(--fg-muted); margin-top: 3px; line-height: 1.35; }
.member__note { font-size: 0.95rem; line-height: 1.55; color: var(--fg-muted); margin: 0 0 16px; text-wrap: pretty; }
.member__foot { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; margin-top: auto; }
.member__since { margin-left: auto; font-size: 0.8rem; color: var(--fg-subtle); }
.member__li {
  margin-left: auto; width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: var(--blue); background: var(--blue-050);
  border: 1px solid var(--blue-100); transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.member__li svg { width: 16px; height: 16px; }
.member__li:hover { background: var(--blue); color: #fff; }
.member__li:focus-visible { outline: 3px solid var(--blue-200); outline-offset: 2px; }

/* ============================================================
   PAGE RÉSEAU (LP1 Directory)
   ============================================================ */
.directory { padding-top: clamp(130px, 16vw, 168px); min-height: 100vh; }
.directory .display { margin-bottom: 8px; }
.directory .lead { margin-bottom: 32px; }
/* Filtres : barre de répartition + cartes stat cliquables (héritées de la LP2) */
/* Filtres : pastilles, une couleur par groupe, sans chiffres */
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.pill {
  appearance: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--border); color: var(--fg);
  font-family: var(--font-body); font-weight: 600; font-size: 0.92rem; line-height: 1.2;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pill__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pill-color, var(--blue)); flex: none; transition: background var(--dur) var(--ease); }
.pill:hover { border-color: var(--pill-color, var(--blue)); transform: translateY(-1px); }
.pill:focus-visible { outline: 3px solid var(--blue-200); outline-offset: 2px; }
.pill[aria-pressed="true"] { background: var(--pill-color, var(--blue)); border-color: var(--pill-color, var(--blue)); color: #fff; }
.pill[aria-pressed="true"] .pill__dot { background: rgba(255,255,255,0.85); }

/* Dernière carte : « Et plein d'autres membres. » */
.member--more {
  justify-content: center; align-items: center; text-align: center; gap: 18px;
  background: var(--blue-050); border: 1.5px dashed var(--blue-200); box-shadow: none;
}
.member--more:hover { transform: none; box-shadow: none; border-color: var(--blue); }
.member--more .member__more-title { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; line-height: 1.25; color: var(--fg); margin: 0; max-width: 14ch; text-wrap: balance; }
.member--more .member__more-sun { width: 40px; opacity: 0.9; }
.member--more .member__more-cta { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.directory__empty {
  display: none; text-align: center; color: var(--fg-muted);
  padding: 48px 24px; border: 1px dashed var(--border-strong); border-radius: var(--r-lg);
}
.directory__empty.is-visible { display: block; }
.directory .section-cta { margin-top: 48px; }

/* ============================================================
   AGENDA (LP2) — lignes événement à pastille de date
   ============================================================ */
.agenda-list { display: flex; flex-direction: column; gap: 14px; }
.event {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-slow) var(--ease-soft), box-shadow var(--dur-slow) var(--ease-soft);
}
.event:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.event__date {
  width: 100px; height: 100px; border-radius: var(--r-md); flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--blue-100); color: var(--blue-800);
}
.event__date--yellow { background: var(--yellow-400); color: var(--blue-900); }
.event__date--coral  { background: #FBEAE2; color: var(--terracotta); }
.event__day { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; line-height: 1; }
.event__month { font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; margin-top: 4px; }
.event__body { flex: 1; min-width: 0; }
.event__body .tag { padding: 3px 14px; }
.event__body h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; color: var(--fg); margin: 10px 0 3px; letter-spacing: -0.01em; }
.event__body p { font-size: 0.92rem; color: var(--fg-muted); margin: 0; }
.event .btn { flex: none; }

/* ============================================================
   PARTENAIRES (LP2) — mur de logos monochrome
   ============================================================ */
.partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px 24px;
  align-items: center;
  justify-items: center;
}
/* En desktop, piste et groupe sont transparents pour la grille ; la copie des logos
   (créée en JS pour le bandeau mobile) reste cachée. */
.partners__track, .partners__group { display: contents; }
.partners__group--clone { display: none; }
/* Section sur fond bleu nuit : les logos passent en clair. Par défaut, silhouette blanche
   (les fonds sont transparents). */
.partners-section .display { color: #fff; }
.partner-logo {
  height: 44px; width: auto; max-width: 170px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.72;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
/* logo vertical (French Tech) : plus haut pour rester lisible */
.partner-logo--tall { height: 84px; }
/* logos dont le dessin intérieur compte (French Tech, CCI, Banque des Territoires) :
   inversion des valeurs, les parties sombres deviennent claires et les détails restent */
.partner-logo--keep { filter: grayscale(1) invert(1) brightness(1.15); }
.partner-logo:hover { opacity: 1; transform: translateY(-2px); }

/* ============================================================
   CANDIDATER — CTA final sur photo (LP2)
   ============================================================ */
.final { position: relative; overflow: hidden; color: #fff; text-align: center; }
.final__bg { position: absolute; inset: 0; z-index: 0; }
.final__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.final__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,38,63,0.78), rgba(0,38,63,0.62)); }
.final__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.final .display { color: #fff; }
.final .lead { color: rgba(255,255,255,0.82); margin: 0 auto; }
.final__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }

/* ============================================================
   FOOTER (LP2)
   ============================================================ */
.footer { background: var(--blue-900); color: rgba(255,255,255,0.7); padding: 72px 0 40px; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer__brand { max-width: 30ch; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer__brand img { height: 30px; width: auto; }
.footer__brand p { font-size: 0.95rem; line-height: 1.55; margin: 0; color: rgba(255,255,255,0.62); }
.footer__links { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.footer__links a { font-size: 0.98rem; color: rgba(255,255,255,0.78); padding: 6px 0; border-bottom: 2px solid transparent; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.footer__links a:hover { color: var(--yellow-400); border-color: var(--yellow-400); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 0.86rem; color: rgba(255,255,255,0.5); }
.footer__bottom .sun { width: 26px; opacity: 0.8; }
.footer__credit { margin: 14px 0 0; font-size: 0.8rem; color: rgba(255,255,255,0.38); }
.footer__credit a { color: rgba(255,255,255,0.6); border-bottom: 1px solid rgba(255,255,255,0.25); transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.footer__credit a:hover { color: var(--yellow-400); border-color: var(--yellow-400); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal[data-d="1"] { transition-delay: 0.08s; }
  .reveal[data-d="2"] { transition-delay: 0.16s; }
  .reveal[data-d="3"] { transition-delay: 0.24s; }
  .reveal[data-d="5"] { transition-delay: 0.5s; }
  .reveal[data-reveal="late"] { transition-duration: 0.9s, 0.9s; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .member-grid { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 940px) {
  .action-grid { grid-template-columns: 1fr; }
  .mosaic--wide, .mosaic--wide.mosaic--alt { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 260px 160px 200px 200px; grid-template-areas: "b b" "a c" "d e" "f f" "g g"; }
  .header__burger { display: inline-flex; }
  .header__nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 32px 20px;
    background: rgba(255,252,244,0.98);
    box-shadow: 0 1px 0 var(--border), var(--shadow-lg);
  }
  .header.nav-open .header__nav { display: flex; }
  .header.nav-open { background: rgba(255,252,244,0.98); box-shadow: 0 1px 0 var(--border); }
  .header.nav-open .header__logo .logo-blue { display: block; }
  .header.nav-open .header__logo .logo-yellow { display: none; }
  .header.nav-open .header__burger { color: var(--blue-800); border-color: var(--blue-200); }
  .header__nav a { padding: 12px 0; font-size: 1.05rem; color: var(--blue-800) !important; border-bottom: 1px solid var(--border); }
  .header__nav a:last-child { border-bottom: none; }
  .header__nav a::after { display: none; }
  .header__actions .btn { display: none; }
  .header__actions .btn--always { display: inline-flex; }
  .hero__sun { top: 92px; right: 22px; width: 64px; }
  .partners { grid-template-columns: repeat(3, 1fr); gap: 26px 20px; }
}
@media (max-width: 700px) {
  .member-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 22px; }
  .header { padding: 14px 22px; }
  .header.is-stuck { padding: 10px 22px; }
  .header__nav { padding: 8px 22px 16px; }
  .event { flex-wrap: wrap; gap: 14px; }
  .event__date { width: 72px; height: 72px; }
  .event__day { font-size: 1.4rem; }
  .event__body { flex-basis: calc(100% - 86px); }
  .event .btn { margin-left: 86px; }
  /* Mobile : une seule ligne qui défile lentement et en boucle (deux copies du groupe,
     la piste glisse d'une copie exactement). */
  .partners { display: block; overflow: hidden; margin-inline: -22px; padding-block: 6px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .partners__track { display: flex; width: max-content; animation: partners-marquee 48s linear infinite; }
  .partners__group, .partners__group--clone { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
  .partner-logo { height: 36px; max-width: 130px; }
  .partners:hover .partners__track, .partners:focus-within .partners__track { animation-play-state: paused; }
  @keyframes partners-marquee { to { transform: translateX(-50%); } }
  .footer__top { flex-direction: column; gap: 32px; }
  .footer__cols { gap: 36px; }
}

/* ============================================================
   AGENDA — onglets À venir / Passés, "voir plus", repli embed
   ============================================================ */
.agenda__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.agenda__tabs {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--blue-050); border: 1px solid var(--border); border-radius: 999px;
}
.agenda__tab {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 0.92rem; color: var(--blue-700);
  padding: 8px 18px; border-radius: 999px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.agenda__tab:hover { color: var(--blue-900); }
.agenda__tab:focus-visible { outline: 3px solid var(--blue-200); outline-offset: 2px; }
.agenda__tab[aria-pressed="true"] { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.agenda__tab .count {
  display: inline-block; min-width: 1.6em; margin-left: 6px; padding: 1px 6px;
  border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
  background: rgba(255,255,255,0.7); color: var(--blue-800);
}
.agenda__tab[aria-pressed="true"] .count { background: rgba(255,255,255,0.22); color: #fff; }
.agenda__tab:disabled { opacity: 0.45; cursor: default; }

/* Flèches de défilement des rangées (souris) */
.row-arrows { display: flex; gap: 8px; }
.row-arrow {
  appearance: none; width: 42px; height: 42px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--blue-200); background: #fff; color: var(--blue);
  display: grid; place-items: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.row-arrow svg { width: 20px; height: 20px; }
.row-arrow:hover { border-color: var(--blue); background: var(--blue-050); }
.row-arrow:focus-visible { outline: 3px solid var(--blue-200); outline-offset: 2px; }
.row-arrow:disabled { opacity: 0.3; cursor: default; background: #fff; border-color: var(--blue-200); }

.event__body .tag--muted { background: var(--blue-050); color: var(--blue-700); }

/* Rangées défilables horizontalement (agenda, membres de l'accueil) */
.agenda-row, .member-row {
  --agenda-bleed: 32px;
  display: flex; gap: 24px; align-items: stretch;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--agenda-bleed);
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  /* marge intérieure verticale pour que l'ombre des cartes (jusqu'à 44 px au survol)
     ne soit pas tronquée par le conteneur défilant ; compensée par des marges négatives */
  margin: -28px calc(-1 * var(--agenda-bleed)) -48px; padding: 28px var(--agenda-bleed) 48px;
}
.agenda-row::-webkit-scrollbar, .member-row::-webkit-scrollbar { display: none; }
.agenda-row > .agenda__note { flex: 1 0 100%; }
.member-row > .member { flex: 0 0 340px; max-width: 85vw; scroll-snap-align: start; }
.event-card {
  flex: 0 0 340px; max-width: 85vw; scroll-snap-align: start;
  display: flex; flex-direction: column; min-width: 0;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform var(--dur-slow) var(--ease-soft), box-shadow var(--dur-slow) var(--ease-soft);
}
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.event-card__media {
  position: relative; aspect-ratio: 1 / 1; max-width: 100%;
  background: var(--blue-050); overflow: hidden;
}
.event-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.event-card__media--empty::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/sun.svg") center / 96px no-repeat; opacity: 0.35;
}
.event-card__date {
  position: absolute; top: 14px; left: 14px; width: 62px; height: 62px;
  border-radius: var(--r-md); display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.94); color: var(--blue-800); box-shadow: var(--shadow-sm);
  backdrop-filter: blur(4px);
}
.event-card__date .event__day { font-size: 1.35rem; }
.event-card__date .event__month { font-size: 0.62rem; margin-top: 2px; }
.event-card__date--yellow { background: var(--yellow-400); color: var(--blue-900); }
.event-card__date--coral { background: #FBEAE2; color: var(--terracotta); }
.event-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.event-card__body .tag { align-self: flex-start; padding: 3px 14px; }
.event-card__body h3 {
  font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; line-height: 1.3;
  color: var(--fg); margin: 12px 0 12px; letter-spacing: -0.01em; text-wrap: pretty;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
/* Date, horaires, lieu : une ligne chacun, avec icône */
.event-card__meta {
  list-style: none; margin: 0 0 20px; padding: 14px 0 0;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 7px;
  font-size: 0.9rem; line-height: 1.4; color: var(--fg-muted);
}
.event-card__meta li { display: flex; align-items: flex-start; gap: 9px; min-width: 0; }
.event-card__meta li span { min-width: 0; overflow-wrap: anywhere; }
.event-card__meta svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--blue); }
.event-card__meta .is-tbd { font-style: italic; }
.event-card__body .btn { margin-top: auto; align-self: flex-start; }
.event-card--past .event-card__media img { filter: saturate(0.85); }
@media (max-width: 700px) {
  .agenda__bar { flex-wrap: wrap; }
  .event-card { flex-basis: min(300px, 82vw); }
}
@media (max-width: 600px) {
  .agenda-row, .member-row { --agenda-bleed: 22px; }
  .member-row > .member { flex-basis: min(300px, 82vw); }
}

.agenda-embed {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.agenda-embed iframe { display: block; width: 100%; height: 560px; border: 0; }
@media (max-width: 600px) { .agenda-embed iframe { height: 640px; } }
@media (max-width: 600px) {
  .mosaic { gap: 8px; }
  .mosaic--wide, .mosaic--wide.mosaic--alt { grid-template-rows: 190px 220px 140px 170px 170px; }
}

.agenda__note {
  margin: 0; padding: 28px 24px; text-align: center;
  color: var(--fg-muted); font-size: 0.97rem;
  border: 1px dashed var(--border-strong); border-radius: var(--r-lg);
}
.agenda__note a { color: var(--blue); font-weight: 600; border-bottom: 2px solid var(--accent-color); }
.event__body h3 { text-wrap: pretty; }
.event__body p { text-wrap: pretty; }


/* ============================================================
   NOUS REJOINDRE — formulaire de candidature (Netlify Forms)
   ============================================================ */
.join { padding-top: clamp(130px, 16vw, 168px); }
.join__inner { max-width: none; }
/* Colonne unique centrée dans la page, contenu aligné à gauche */
.join__col { max-width: 760px; margin-inline: auto; }
.join__head .lead { max-width: 60ch; }
.join__head { margin-bottom: 36px; }
.join__head .display { margin-bottom: 8px; }
/* Illustration pétanque entre le chapeau et le formulaire ; le trait suit `color` (navy), le cochonnet reste jaune */
.join__art { width: 100%; margin: 0 0 36px; color: var(--blue-800); }
.join__art > * { display: block; width: 100%; }
/* Page Rejoindre : échelle typo plus sobre que sur l'accueil (titre, chapeau, formulaire) */
.join__head .display { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.join__head .lead { font-size: clamp(1rem, 1.2vw, 1.1rem); }
.form-card {
  max-width: 760px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: clamp(24px, 4vw, 40px);
}
.form { display: flex; flex-direction: column; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-weight: 600; font-size: 0.875rem; color: var(--fg); }
.field input, .field textarea {
  font: inherit; font-size: 0.95rem; line-height: 1.4; color: var(--fg); width: 100%;
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--r-md);
  padding: 12px 14px; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--fg-subtle); }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--terracotta); }
.field textarea { resize: vertical; min-height: 160px; }
/* 16 px minimum sur mobile : en dessous, iOS zoome la page au focus */
@media (max-width: 600px) { .field input, .field textarea { font-size: 1rem; } }
.form__actions { display: flex; margin-top: 4px; }
.form__hp { display: none; }
.form__success { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
/* Focus posé par joinForm() pour que le message soit annoncé : pas de contour visible */
.form__success:focus { outline: none; }
.form__success p { margin: 0; color: var(--fg-muted); }
.form__success-title { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; color: var(--fg) !important; }
.form__success .btn { margin-top: 10px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

/* ============================================================
   QUI SOMMES-NOUS — photo des fondateurs et récit
   ============================================================ */
.about { padding-top: clamp(130px, 16vw, 168px); }
.about__head { margin-bottom: clamp(32px, 5vw, 56px); }
.about__head .display { font-size: clamp(2.1rem, 4vw, 3.1rem); max-width: 22ch; }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about__photo { margin: 0; position: sticky; top: 112px; }
.about__photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%;
  border-radius: var(--r-xl); box-shadow: var(--shadow-md); background: var(--blue-050);
}
.about__photo figcaption { margin-top: 14px; font-size: 0.9rem; color: var(--fg-muted); }
.about__text { max-width: 62ch; }
.about__text > * + * { margin-top: 1.15em; }
.about__text p { margin-bottom: 0; font-size: 1.02rem; line-height: 1.7; color: var(--fg); text-wrap: pretty; }
.about__text p.about__hook {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance;
}
.about__h { margin-top: clamp(40px, 5vw, 56px) !important; }
.about__missions { list-style: none; margin: 1.4em 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.about__missions li { position: relative; padding-left: 36px; line-height: 1.6; }
.about__missions li::before {
  content: ""; position: absolute; left: -2px; top: 0.05em; width: 26px; height: 26px; background: var(--accent-color);
  -webkit-mask: url("../assets/sun.svg") center / contain no-repeat;
          mask: url("../assets/sun.svg") center / contain no-repeat;
}
.about__missions strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--fg); margin-bottom: 3px; }
.about__missions span { display: block; color: var(--fg-muted); font-size: 1rem; }
.about__cta { display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; margin-top: clamp(40px, 5vw, 56px) !important; padding-top: 32px; border-top: 1px solid var(--border); }
.about__cta-title { margin: 0 !important; font-family: var(--font-display); font-weight: 500; font-size: 1.3rem !important; color: var(--fg); }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { position: static; max-width: 420px; }
}
