/* ══════════════════════════════════════════════════════════════════════
   YASSINE LAGHRABLI — FEUILLE DE STYLE
   Un portfolio pensé pour les agences de mannequins : les photos
   d'abord, des textes courts, le contact à portée de main.
   ──────────────────────────────────────────────────────────────────────
   Sommaire
     1.  Réinitialisation et variables (clair / sombre selon le système)
     2.  Typographie de base, boutons
     3.  En-tête, navigation, langues
     4.  Menu mobile
     5.  Accueil : carrousel automatique
     6.  Blocs de page
     7.  Mur de photos (Galerie)
     8.  Rangée de boutons (page 404)
     9.  Contact
     10. Pied de page
     11. Visionneuse plein écran
     12. Pages de texte, 404
     13. Accessibilité, mouvement réduit
   ══════════════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════
   1. RÉINITIALISATION ET VARIABLES
════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --fond:        #fbfaf8;   /* blanc cassé : les photos respirent sans éblouir */
  --fond-doux:   #efede9;
  --encre:       #121110;
  --encre-douce: #67635d;   /* 5,6:1 sur le fond — lisible en petites capitales */
  --trait:       rgba(18, 17, 16, 0.12);
  --voile:       rgba(251, 250, 248, 0.86);

  --marge:      clamp(16px, 3.2vw, 48px);    /* respiration latérale */
  --gouttiere:  clamp(6px, 0.75vw, 12px);    /* entre les photos */
  --max:        1680px;                      /* largeur utile maximale */
  --entete:     60px;
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --serif:      'Cormorant', Georgia, 'Times New Roman', serif;
  --sans:       'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Encoche et barre du bas des iPhone */
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);

  color-scheme: light;
}

/* Thème sombre : suit le réglage du téléphone / de l'ordinateur */
@media (prefers-color-scheme: dark) {
  :root {
    --fond:        #0e0d0c;
    --fond-doux:   #1b1917;
    --encre:       #eeebe6;
    --encre-douce: #a09a91;
    --trait:       rgba(238, 235, 230, 0.14);
    --voile:       rgba(14, 13, 12, 0.84);
    color-scheme: dark;
  }
}


/* ════════════════════════════════════════════
   2. TYPOGRAPHIE DE BASE, BOUTONS
════════════════════════════════════════════ */
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }

body {
  background: var(--fond);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
body > main { flex: 1; }
body.bloque { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer;
         text-transform: inherit; letter-spacing: inherit;
         -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }

/* Petites capitales espacées : la voix de l'interface */
.etiquette, .nav-bureau a, .menu a, .langues button, .bouton,
.bloc-tete h2, .bloc-tete a, .pied, .visio-compte, .visio-fermer, .contact-fiche dt {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
}
.etiquette { color: var(--encre-douce); }

/* Le serif est réservé au nom et aux titres */
.titre {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.005em;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.saut {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--encre); color: var(--fond); padding: 0.9rem 1.2rem;
}
.saut:focus { left: 0; }


/* Boutons : rectangles nets, contour fin */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 48px; padding: 0 1.6rem;
  border: 1px solid currentColor;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.bouton:hover { background: var(--encre); color: var(--fond); border-color: var(--encre); }
.bouton--plein { background: var(--encre); color: var(--fond); border-color: var(--encre); }
.bouton--plein:hover { background: transparent; color: var(--encre); }


/* ════════════════════════════════════════════
   3. EN-TÊTE, NAVIGATION, LANGUES
════════════════════════════════════════════ */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: calc(var(--entete) + var(--sat));
  padding: var(--sat) calc(var(--marge) + var(--sar)) 0 calc(var(--marge) + var(--sal));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--voile);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--trait);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.marque {
  font-family: var(--serif); font-style: italic;
  font-size: 23px; line-height: 1; white-space: nowrap;
  padding: 0.75rem 0;                /* zone de tap de 44 px */
}

.nav-bureau { display: none; }

.burger {
  display: flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 0 0 0.6rem;
}
.burger-traits { width: 22px; display: grid; gap: 5px; }
.burger-traits span {
  display: block; height: 1px; background: currentColor;
  transition: transform 0.35s var(--ease);
}
.burger[aria-expanded="true"] .burger-traits span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-traits span:last-child  { transform: translateY(-3px) rotate(-45deg); }

.langues { display: flex; align-items: center; gap: 0.15rem; }
.langues button { padding: 0.8rem 0.3rem; opacity: 0.45; transition: opacity 0.3s var(--ease); }
.langues button:hover, .langues button[aria-pressed="true"] { opacity: 1; }
.langues span { opacity: 0.35; }

@media (min-width: 860px) {
  .burger { display: none; }
  .nav-bureau { display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 2.6rem); }
  .nav-bureau > a { position: relative; padding: 0.8rem 0; }
  .nav-bureau > a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0.55rem; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: left;
    transition: transform 0.45s var(--ease);
  }
  .nav-bureau > a:hover::after, .nav-bureau > a[aria-current]::after { transform: scaleX(1); }
  .nav-bureau .langues { margin-left: 0.4rem; }
}


/* ════════════════════════════════════════════
   4. MENU MOBILE
════════════════════════════════════════════ */
.menu {
  position: fixed; inset: 0; z-index: 89;
  background: var(--fond);
  padding: calc(var(--entete) + var(--sat) + 1.5rem) calc(var(--marge) + var(--sar)) calc(1.5rem + var(--sab)) calc(var(--marge) + var(--sal));
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; visibility: hidden;
  /* Visibilité instantanée à l'ouverture, retardée à la fermeture :
     sinon le panneau refuserait le focus pendant le fondu. */
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}
.menu.ouvert { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease), visibility 0s; }
.menu > a {
  font-size: 15px; letter-spacing: 0.24em;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--trait);
}
.menu > a:first-child { border-top: 1px solid var(--trait); }
.menu > a[aria-current] { color: var(--encre-douce); }
.menu-pied {
  margin-top: 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  color: var(--encre-douce);
}
.menu-pied a { font-size: 11.5px; letter-spacing: 0.16em; padding: 0.8rem 0; }
@media (min-width: 860px) { .menu { display: none; } }


/* ════════════════════════════════════════════
   5. ACCUEIL : CARROUSEL AUTOMATIQUE
   L'accueil tient dans la fenêtre, sans défilement : le corps fait la
   hauteur de l'écran (svh = barres de Safari comprises), en-tête,
   commandes, Instagram et pied prennent leur place, le carrousel a tout
   le reste. Les photos sont côte à côte, à la même hauteur, largeur =
   hauteur × ratio (aucun recadrage) ; la courante est centrée.
════════════════════════════════════════════ */
body.plein-ecran { height: 100vh; height: 100svh; min-height: 0; overflow: hidden; }
body.plein-ecran > main {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column;
  padding-top: calc(var(--entete) + var(--sat) + clamp(10px, 2.2vh, 30px));
}
.carrousel {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column; justify-content: center;
}
.carrousel-piste {
  position: relative;               /* offsetLeft des diapositives = repère du défilement */
  flex: 0 1 auto; min-height: 0; height: 100%;
  display: flex; align-items: center; gap: clamp(8px, 1vw, 14px);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
/* Téléphone : un portrait occupe ~92 % de la largeur, ses voisines dépassent */
@media (max-width: 700px) {
  .carrousel-piste { height: min(100%, 115vw); }
}
.carrousel-piste::-webkit-scrollbar { display: none; }
.diapo {
  flex: none; position: relative; overflow: hidden;
  /* jamais plus large que l'écran : un paysage sur téléphone rapetisse */
  height: min(100%, calc(92vw / var(--r))); aspect-ratio: var(--r);
  scroll-snap-align: center;
  background: var(--fond-doux) center / cover no-repeat;   /* aperçu flou pendant le chargement */
  cursor: zoom-in;
}
.diapo picture, .diapo img { width: 100%; height: 100%; }
.diapo img { object-fit: cover; opacity: 0; transition: opacity 0.6s var(--ease); }
.diapo img.chargee { opacity: 1; }

.carrousel-pied {
  flex: none;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.5rem calc(var(--marge) + var(--sar)) 0 calc(var(--marge) + var(--sal));
  color: var(--encre-douce);
}
.carrousel-compte { min-width: 5.5em; text-align: center; font-variant-numeric: tabular-nums; }
.carrousel-fleche {
  width: 44px; height: 44px; display: grid; place-items: center; color: var(--encre);
}
.carrousel-fleche:hover { opacity: 0.6; }
.carrousel-fleche svg { width: 20px; height: 20px; stroke: currentColor; fill: none;
                        stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.carrousel-pause { min-height: 44px; padding: 0 0.4rem; margin-left: 0.8rem; }
.carrousel-pause:hover { color: var(--encre); }

/* Instagram sous le carrousel */
.accueil-liens {
  flex: none;
  display: flex; justify-content: center;
  padding: clamp(10px, 2vh, 22px) var(--marge) clamp(8px, 2vh, 20px);
}
.lien-insta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 44px; padding: 0.3rem 0;
  font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2vw, 25px); line-height: 1;
  border-bottom: 1px solid var(--trait);
  transition: border-color 0.3s var(--ease);
}
.lien-insta:hover { border-bottom-color: currentColor; }
.lien-insta .icone { width: 20px; height: 20px; }

/* Icône Instagram (en-tête, accueil) */
.icone { stroke: currentColor; fill: none; stroke-width: 1.4; flex: none; }
.icone .plein { fill: currentColor; stroke: none; }
.nav-insta { display: grid; place-items: center; width: 36px; height: 44px; }
.nav-insta .icone { width: 18px; height: 18px; }
.nav-insta:hover { opacity: 0.6; }


/* ════════════════════════════════════════════
   6. BLOCS DE PAGE
════════════════════════════════════════════ */
.bloc {
  width: 100%; max-width: calc(var(--max) + 2 * var(--marge));
  margin-inline: auto;
  padding: clamp(40px, 6vw, 88px) calc(var(--marge) + var(--sar)) 0 calc(var(--marge) + var(--sal));
}
/* Première section d'une page : sous l'en-tête fixe */
.bloc--haut { padding-top: calc(var(--entete) + var(--sat) + clamp(28px, 5vw, 64px)); }

.bloc-tete {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-bottom: clamp(14px, 1.8vw, 22px);
}
.bloc-tete h2 { font-weight: 500; }
.bloc-tete a { color: var(--encre-douce); padding: 0.7rem 0; }
.bloc-tete a:hover { color: var(--encre); }



/* ════════════════════════════════════════════
   7. MUR DE PHOTOS — rangées justifiées
   Chaque tuile reçoit --r (largeur / hauteur) ; commun.js (agencerMur)
   les répartit en rangées dont la hauteur approche --h. Dans une rangée,
   la largeur est proportionnelle au ratio : toutes les photos ont la
   même hauteur, AUCUNE n'est recadrée, l'ordre de lecture est celui des
   fichiers. La dernière rangée n'est pas étirée.
════════════════════════════════════════════ */
.mur {
  position: relative;
  display: grid; gap: var(--gouttiere);
  /* Téléphone : deux portraits par rangée */
  --h: calc((100vw - 2 * var(--marge)) * 0.62);
}
.mur-sonde { position: absolute; width: 0; height: var(--h); visibility: hidden; pointer-events: none; }
.rangee { display: flex; gap: var(--gouttiere); min-width: 0; }
@media (min-width: 860px) {
  .mur { --h: clamp(280px, 26vw, 460px); }               /* ≈ 4 par rangée */
}

.vignette {
  position: relative; display: block; overflow: hidden; min-width: 0;
  /* --g = ratio × 1000 : une somme de croissances inférieure à 1 ne
     distribuerait qu'une partie de la place (photo seule rétrécie) */
  flex: var(--g) 1 0px;
  aspect-ratio: var(--r);
  background: var(--fond-doux) center / cover no-repeat;   /* aperçu flou pendant le chargement */
  cursor: zoom-in;
}
.rangee--fin .vignette { flex: 0 1 calc(var(--h) * var(--r)); }
.vignette picture, .vignette img { width: 100%; height: 100%; }
.vignette img {
  object-fit: cover;          /* même ratio que la tuile : rien n'est rogné */
  opacity: 0; transition: opacity 0.7s var(--ease), transform 1.2s var(--ease);
}
.vignette img.chargee { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .vignette:hover img.chargee { transform: scale(1.025); }
}


/* ════════════════════════════════════════════
   8. RANGÉE DE BOUTONS (page 404)
════════════════════════════════════════════ */
.appel-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; }


/* ════════════════════════════════════════════
   9. CONTACT — l'essentiel, centré dans l'écran
   Une seule colonne au milieu de la page, centrée aussi en hauteur :
   la page tient dans l'écran (pied compact ≈ 50 px).
════════════════════════════════════════════ */
.contact-grille {
  width: 100%;
  min-height: calc(100vh - 52px); min-height: calc(100svh - 52px);
  display: grid; place-items: center;
  padding: calc(var(--entete) + var(--sat) + clamp(24px, 5vh, 56px)) calc(var(--marge) + var(--sar)) clamp(32px, 6vh, 64px) calc(var(--marge) + var(--sal));
}
.contact-texte { width: 100%; max-width: 640px; text-align: center; }
.contact-titre {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(42px, 6vw, 76px); line-height: 1.02;
  margin: 0.9rem 0 1.5rem;
}
.contact-email {
  display: inline-block;
  font-family: var(--serif); font-size: clamp(22px, 2.3vw, 32px); line-height: 1.2;
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--trait); padding-bottom: 0.15rem;
  transition: border-color 0.3s var(--ease);
}
.contact-email:hover { border-bottom-color: currentColor; }
.contact-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
  margin-top: 1.6rem;
}
@media (max-width: 480px) {
  .contact-actions .bouton { flex: 1 1 100%; }   /* deux boutons de même largeur, l'un sous l'autre */
}
.contact-consigne {
  margin: 1.6rem auto 0; max-width: 44ch;
  font-size: 15px; line-height: 1.65; color: var(--encre-douce);
}
.contact-fiche {
  margin-top: clamp(26px, 4vh, 40px); padding-top: clamp(20px, 3vh, 28px);
  border-top: 1px solid var(--trait);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.2rem 1.6rem;
}
.contact-fiche dt { color: var(--encre-douce); margin-bottom: 0.35rem; }
.contact-fiche dd { font-size: 14.5px; line-height: 1.5; }
.contact-fiche dd a { border-bottom: 1px solid var(--trait); }
.contact-fiche dd a:hover { border-bottom-color: currentColor; }
/* Nombre impair de cases : la dernière se centre sous les autres */
.contact-fiche > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 560px) {
  .contact-fiche > div:last-child:nth-child(odd) { grid-column: auto; }
}
.contact-texte .lien-insta { margin-top: clamp(22px, 3.4vh, 34px); font-size: 21px; }
@media (max-width: 480px) {
  .contact-grille { padding-top: calc(var(--entete) + var(--sat) + 18px); padding-bottom: 22px; }
  .contact-titre { margin: 0.6rem 0 1.1rem; }
  .contact-actions { margin-top: 1.3rem; }
  .contact-consigne { margin-top: 1.3rem; }
  .contact-fiche { margin-top: 22px; padding-top: 18px; }
}


/* ════════════════════════════════════════════
   10. PIED DE PAGE
════════════════════════════════════════════ */
.pied {
  width: 100%; max-width: calc(var(--max) + 2 * var(--marge));
  margin: clamp(48px, 7vw, 96px) auto 0;
  padding: 1.4rem calc(var(--marge) + var(--sar)) calc(1.4rem + var(--sab)) calc(var(--marge) + var(--sal));
  border-top: 1px solid var(--trait);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 1.6rem;
  color: var(--encre-douce); font-size: 10.5px;
}
.pied--compact {
  flex: none; margin-top: 0; border-top: 0;
  padding-top: 0.2rem; padding-bottom: calc(0.4rem + var(--sab));
}
@media (max-width: 480px) {
  .pied--compact { flex-wrap: nowrap; gap: 0 0.8rem; letter-spacing: 0.1em; white-space: nowrap; }
  .pied--compact .langues { display: none; }   /* FR / EN est dans le menu */
}
.pied a { padding: 0.8rem 0; }
.pied a:hover { color: var(--encre); }
.pied .espace { flex: 1; }
.pied .langues button { font-size: 10.5px; }


/* ════════════════════════════════════════════
   11. VISIONNEUSE PLEIN ÉCRAN
════════════════════════════════════════════ */
.visio {
  position: fixed; inset: 0; z-index: 120;
  background: #0a0908; color: #fff;
  display: grid;
  grid-template-rows: calc(52px + var(--sat)) 1fr calc(48px + var(--sab));
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
  touch-action: none;
  overscroll-behavior: contain;
}
.visio.ouverte { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease), visibility 0s; }

.visio-barre {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sat) calc(var(--marge) + var(--sar)) 0 calc(var(--marge) + var(--sal));
}
.visio-compte { color: rgba(255, 255, 255, 0.6); }
.visio-fermer { min-height: 44px; padding: 0 0 0 1rem; }
.visio-fermer:hover { opacity: 0.7; }

.visio-scene { position: relative; overflow: hidden; }
/* Un <picture> entier (WebP + repli JPEG). pointer-events:none pour
   qu'un clic à côté de la photo ferme bien. */
.visio-scene picture { position: absolute; inset: 0 calc(8px + var(--sar)) 0 calc(8px + var(--sal)); pointer-events: none; }
.visio-scene img {
  width: 100%; height: 100%;
  object-fit: contain;          /* la photo entière, jamais rognée */
  opacity: 0; transition: opacity 0.35s var(--ease);   /* fondu depuis le noir, jamais croisé */
}
.visio-fleche {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 56px; height: 88px; display: grid; place-items: center;
  color: #fff; opacity: 0.75; transition: opacity 0.3s var(--ease);
}
.visio-fleche:hover { opacity: 1; }
.visio-fleche:disabled { opacity: 0; pointer-events: none; }
.visio-fleche.prec { left: calc(4px + var(--sal)); }
.visio-fleche.suiv { right: calc(4px + var(--sar)); }
.visio-fleche svg { width: 26px; height: 26px; stroke: currentColor; fill: none;
                    stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
                    filter: drop-shadow(0 0 6px rgba(0,0,0,0.5)); }
.visio-pied {
  display: flex; align-items: center; justify-content: center;
  padding: 0 calc(var(--marge) + var(--sar)) var(--sab) calc(var(--marge) + var(--sal));
  font-family: var(--serif); font-size: 19px; color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 700px) {
  .visio-fleche { width: 44px; height: 72px; opacity: 0.6; }
  .visio-fleche svg { width: 20px; height: 20px; }
}


/* ════════════════════════════════════════════
   12. PAGES DE TEXTE, 404
════════════════════════════════════════════ */
.page-texte { max-width: 68ch; }
.page-texte h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 6vw, 56px); margin-bottom: 2rem; line-height: 1.1; }
.page-texte h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 2.4rem 0 0.7rem; }
.page-texte p, .page-texte li { color: var(--encre-douce); margin-bottom: 0.8rem; font-size: 16px; }
.page-texte strong { color: var(--encre); font-weight: 500; }
.page-texte a { color: var(--encre); border-bottom: 1px solid var(--trait); }
.page-texte .arappel {
  background: var(--fond-doux); border-left: 1px solid var(--encre);
  padding: 1rem 1.2rem; margin: 1.2rem 0;
}

/* Page de liens (bio Instagram) : une colonne centrée */
.liens-page {
  min-height: 100vh; min-height: 100svh;
  width: 100%; max-width: 440px; margin-inline: auto;
  padding: calc(2.5rem + var(--sat)) calc(var(--marge) + var(--sar)) calc(2.5rem + var(--sab)) calc(var(--marge) + var(--sal));
  display: flex; flex-direction: column; justify-content: center; text-align: center;
}
.liens-page .marque { font-size: clamp(34px, 9vw, 42px); padding: 0; }
.liens-page .etiquette { margin: 0.9rem 0 2.2rem; }
.liens-liste { display: grid; gap: 0.6rem; }
.liens-liste .bouton { min-height: 54px; }
.liens-page .pied { border: 0; margin-top: 2rem; padding: 0; justify-content: center; }

.erreur { display: grid; gap: 1.2rem; justify-items: start; }
.erreur h1 { font-size: clamp(40px, 7vw, 80px); }
.erreur p { color: var(--encre-douce); font-size: 16px; }
.erreur .appel-actions { justify-content: flex-start; }


/* ════════════════════════════════════════════
   13. ACCESSIBILITÉ, MOUVEMENT RÉDUIT
════════════════════════════════════════════ */
/* Version anglaise : les textes statiques (en français dans le HTML)
   restent masqués le temps que commun.js les traduise — sans clignotement. */
.trad-attente [data-t] { visibility: hidden; }

[id] { scroll-margin-top: calc(var(--entete) + var(--sat) + 1rem); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  
}
