/* ==========================================================================
   APPARENCE DU SITE
   Pour changer les couleurs, la police ou les espacements,
   modifie seulement les réglages juste en dessous.
   ========================================================================== */

:root {
  --fond: #ffffff;          /* couleur de fond */
  --texte: #141414;         /* couleur du texte */
  --discret: #77756f;       /* textes secondaires (catégories, années) */
  --ligne: #e4e2dc;         /* traits fins */
  --voile: rgba(0, 0, 0, 0.5);    /* fond assombri derrière le volet About (0 = transparent, 1 = noir) */
  --flou: 6px;                     /* flou de la page derrière le volet (0px = pas de flou) */

  /* ---- TYPOGRAPHIE : 3 polices (Helvetica, Libre Baskerville, Instrument Serif) ---- */
  --police-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --police: var(--police-sans);          /* sans : menu, titres, listes */

  --colonnes: 3;            /* nombre de projets par ligne sur ordinateur */
  --espace: 28px;           /* espace entre les projets */
  --format-vignette: 5 / 4; /* proportion des vignettes : 5/4, 4/3, 4/5, 1/1, 3/2… */
  --largeur-visuels: 1180px; /* largeur max des images sur les pages projet */
  --largeur-panneau: 760px; /* largeur du panneau About */
  --panneau-fond: #ffffff;  /* fond du panneau About */
  --panneau-texte: #141414; /* texte du panneau About */
  --police-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  /* police de "360 creative studio" sur l'accueil
     (pour en changer : ajouter ses fichiers .woff2 dans fonts/ et un bloc @font-face plus bas) */
  --police-accroche: "Instrument Serif", "Libre Baskerville", Georgia, serif;
  --style-accroche: italic;   /* italic ou normal */
  --police-titre: var(--police);
  --police-panneau: var(--police-serif);
  --marge: clamp(18px, 4vw, 56px);

  /* ---- TYPOGRAPHIE : 8 tailles, utilisées partout ---- */
  --t-accroche: clamp(44px, 7.5vw, 112px);  /* "360 creative studio" */
  --t-titre: clamp(44px, 6.4vw, 96px);      /* nom du projet, "About" */
  --t-section: clamp(24px, 2.6vw, 34px);    /* Our services / Our team / Past projects */
  --t-sous-titre: clamp(17px, 1.6vw, 22px); /* ville, missions, projet précédent/suivant, titre du volet */
  --t-volet: clamp(20px, 2.1vw, 28px);      /* texte du volet About */
  --t-texte-grand: clamp(16px, 1.45vw, 20px); /* textes de présentation */
  --t-texte: 16px;                          /* listes, texte courant */
  --t-petit: 14px;                          /* menu, liens, services d'un projet, e-mails */
  --t-mini: 12px;                           /* étiquettes en capitales, copyright */
  --capitales: 0.14em;                      /* espacement des textes en majuscules */
  --espace-sans: 0.04em;                    /* espacement des lettres en Helvetica (minuscules) */
  --interlettre: var(--espace-sans);        /* (mis à 0 sur la page About, qui est en Libre Baskerville) */
}

/* ---------- Polices hébergées sur le site (aucun appel à Google) ---------- */
/* libre-baskerville-latin-ext-400-normal */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/libre-baskerville-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* libre-baskerville-latin-400-normal */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/libre-baskerville-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* libre-baskerville-latin-ext-700-normal */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/libre-baskerville-latin-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* libre-baskerville-latin-700-normal */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(fonts/libre-baskerville-latin-700-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* libre-baskerville-latin-ext-400-italic */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/libre-baskerville-latin-ext-400-italic.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* libre-baskerville-latin-400-italic */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/libre-baskerville-latin-400-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* instrument-serif-latin-ext-400-normal */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/instrument-serif-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* instrument-serif-latin-400-normal */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(fonts/instrument-serif-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* instrument-serif-latin-ext-400-italic */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-display: block; /* pas de police de secours visible le temps du chargement */
  font-weight: 400;
  src: url(fonts/instrument-serif-latin-ext-400-italic.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* instrument-serif-latin-400-italic */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-display: block; /* pas de police de secours visible le temps du chargement */
  font-weight: 400;
  src: url(fonts/instrument-serif-latin-400-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: var(--t-texte)/1.55 var(--police);
  letter-spacing: var(--interlettre);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
/* protection des visuels : pas de glisser-déposer ni de menu "enregistrer l'image" */
img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
/* flèches en "v" (chevrons) utilisées sur tout le site */
.chev {
  display: inline-block; width: 0.42em; height: 0.42em; vertical-align: 0.12em;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
}
.chev-d { transform: rotate(-45deg); margin-left: 0.45em; }
.chev-g { transform: rotate(135deg); margin-right: 0.45em; }
:focus-visible { outline: 2px solid var(--texte); outline-offset: 3px; }
body.panneau-ouvert { overflow: hidden; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px var(--marge);
  background: var(--fond);
}
/* Menu : EN | FR à gauche, ABOUT à droite */
.langues, .lien-about { font-size: var(--t-petit); letter-spacing: var(--capitales); text-transform: uppercase; }
.langues { display: flex; align-items: center; gap: 6px; }
.langues a { text-decoration: none; padding: 10px 2px 3px; color: var(--discret); }
.langues a[aria-current="true"] { color: var(--texte); }
.langues a:hover { color: var(--texte); }
.langues span { color: var(--discret); }
.lien-about { padding: 10px 0 3px; }

/* ---------- Accueil ---------- */
.intro { padding: clamp(32px, 7vw, 96px) var(--marge) clamp(12px, 1.4vw, 18px); }
.accroche {
  margin: 0; max-width: 22ch;
  font-family: var(--police-accroche); font-style: var(--style-accroche); font-weight: 400;
  font-size: var(--t-accroche); line-height: 1; letter-spacing: -0.015em; text-wrap: balance;
}
/* Filtres sous "360 creative studio" */
.filtres { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: clamp(40px, 6vw, 88px); }
.filtre { font-size: var(--t-petit); letter-spacing: var(--capitales); text-transform: uppercase; padding: 8px 0 3px; color: var(--discret); }
.filtre[aria-pressed="true"], .filtre:hover { color: var(--texte); }
.filtres-sep { color: var(--discret); font-size: var(--t-petit); }
.f-court { display: none; }
.vide { margin: 0; padding: 0 var(--marge) clamp(48px, 8vw, 120px); color: var(--discret); font-size: var(--t-texte); }
.grille {
  list-style: none; margin: 0; padding: 0 var(--marge) clamp(48px, 8vw, 120px);
  display: grid; grid-template-columns: repeat(var(--colonnes), minmax(0, 1fr));
  gap: var(--espace);
}
.grille:has(+ .voir-plus-zone:not([hidden])) { padding-bottom: 0; }
.voir-plus-zone { display: flex; justify-content: center; padding: clamp(16px, 2vw, 28px) var(--marge) clamp(48px, 8vw, 120px); }
.voir-plus-zone[hidden] { display: none; }
.voir-plus {
  font-size: var(--t-petit); letter-spacing: var(--capitales); text-transform: uppercase;
  padding: 12px 2px 3px;
}
.carte a { position: relative; display: block; text-decoration: none; }
.vignette { position: relative; overflow: hidden; aspect-ratio: var(--format-vignette); background: var(--ligne); }
/* au survol : nom du projet et ville par-dessus l'image */
.carte-info {
  position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: var(--format-vignette);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 20px; text-align: center; color: #fff; background: rgba(0, 0, 0, 0.45);
  opacity: 0; transition: opacity .35s;
}
.carte a:hover .carte-info, .carte a:focus-visible .carte-info { opacity: 1; }
.carte-titre { font-family: var(--police-serif); font-weight: 400; letter-spacing: normal; font-size: var(--t-section); line-height: 1.1; }
.carte-lieu { font-family: var(--police); font-size: var(--t-petit); letter-spacing: var(--interlettre); }
.vignette img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.carte a:hover .vignette img { transform: scale(1.03); }

/* ---------- Page projet (fond noir) ---------- */
.theme-sombre {
  --fond: #000000;
  --texte: #ffffff;
  --discret: #9b9b9b;
  --ligne: #2b2b2b;
}
.projet { padding: clamp(12px, 2vw, 24px) var(--marge) clamp(48px, 8vw, 120px); }
.retour { display: inline-block; font-size: var(--t-petit); letter-spacing: var(--interlettre); text-decoration: none; color: var(--discret); padding: 6px 0 3px; }
.projet-tete {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(32px, 5vw, 72px);
  align-items: start; padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 8vw, 110px);
}
.projet-tete h1 {
  margin: 0; font-family: var(--police-titre); font-weight: 700;
  font-size: var(--t-titre); line-height: 1; letter-spacing: 0.015em; text-wrap: balance;
}
.lieu { margin: clamp(10px, 1.4vw, 18px) 0 0; font-family: var(--police-titre); font-weight: 400; font-size: var(--t-sous-titre); letter-spacing: var(--interlettre); }
.services-label { margin: clamp(24px, 3vw, 40px) 0 6px; font-family: var(--police-serif); font-style: italic; font-size: var(--t-texte); letter-spacing: normal; }
.services { margin: 0; font-family: var(--police); font-size: var(--t-petit); line-height: 1.6; letter-spacing: var(--interlettre); }
.projet-texte { font-family: var(--police-serif); font-size: var(--t-texte-grand); line-height: 1.55; letter-spacing: normal; padding-top: 6px; }
.projet-texte p { margin: 0 0 1em; }
.images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); max-width: var(--largeur-visuels); margin: 0 auto; }
.images figure { margin: 0; }
.images figure.large { grid-column: 1 / -1; }
.images img { width: 100%; }
/* Toutes les images (sauf les larges) au même format que la majorité du portfolio */
.images figure:not(.large) img { aspect-ratio: 952 / 1082; object-fit: cover; }
.suivant { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--ligne); padding-top: 20px; display: flex; justify-content: space-between; gap: 24px; }
.suivant a { text-decoration: none; display: inline-flex; flex-direction: column; gap: 2px; }
.suivant small { color: var(--discret); font-size: var(--t-petit); }
.suivant a > span { align-self: flex-start; font-size: var(--t-sous-titre); font-weight: 400; padding-bottom: 3px; }
.suivant .nav-suiv > span { align-self: flex-end; }
.suivant .nav-suiv { text-align: right; align-items: flex-end; }

/* ---------- Page About détaillée : bandes alternées blanc / noir ---------- */
.bande { background: var(--fond); color: var(--texte); padding: clamp(56px, 8vw, 110px) var(--marge); }
.bande-noir  { --fond: #000000; --texte: #ffffff; --discret: #9b9b9b; --ligne: #333333; }
.bande-blanc { --fond: #ffffff; --texte: #141414; --discret: #77756f; --ligne: #e0ded8; }
.bande-haut { padding-top: clamp(12px, 2vw, 24px); }
.bande-haut .projet-tete { padding-bottom: 0; }
.ap-label {
  margin: 0 0 clamp(32px, 5vw, 64px); text-align: left;
  font-family: var(--police-serif); font-style: italic; font-weight: 400; font-size: var(--t-section); letter-spacing: normal;
}

/* Page About en Libre Baskerville
   Pour revenir à l'Helvetica sur cette page, supprimer ce bloc. */
.page-about #contenu {
  --police: var(--police-serif); --police-titre: var(--police-serif); --interlettre: 0em;
  font-family: var(--police-serif); letter-spacing: normal;
}
.page-about #contenu .projet-tete h1 { font-weight: 400; letter-spacing: -0.01em; }
/* restent en Helvetica espacée : lien retour, noms des services, catégories des listes */
.page-about #contenu .retour { font-family: var(--police-sans); letter-spacing: var(--espace-sans); }
.page-about #contenu .acc-nom, .page-about #contenu .etape h4 { font-family: var(--police-sans); letter-spacing: var(--capitales); }

/* Menus déroulants des services */
.acc { border-top: 1px solid var(--ligne); }
.acc-item { border-bottom: 1px solid var(--ligne); }
.acc-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(20px, 2.5vw, 30px) 0;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-nom { font-family: var(--police); font-size: var(--t-sous-titre); text-transform: uppercase; letter-spacing: var(--capitales); padding-bottom: 3px; }
.acc-plus { position: relative; flex: none; width: 20px; height: 20px; }
.acc-plus::before, .acc-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .3s; }
.acc-plus::after { transform: rotate(90deg); }
.acc-item[open] .acc-plus::after { transform: rotate(0deg); }
.acc-corps {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(40px, 6vw, 96px);
  align-items: start; padding: 4px 0 clamp(32px, 4vw, 48px);
}

/* Badge (ex. AI-generated content avec NEW en exposant) */
.badge {
  margin: clamp(20px, 2.5vw, 28px) 0 0; color: var(--discret);
  font-family: var(--police-sans); font-size: var(--t-mini); letter-spacing: var(--capitales); text-transform: uppercase; line-height: 1.4;
}
.badge-prefixe { text-transform: none; }
.badge-new { margin-left: 0.5em; font-size: 0.75em; color: var(--texte); vertical-align: 0; position: relative; top: -0.7em; line-height: 0; }

/* Description à gauche / listes à droite */
.pole { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(40px, 6vw, 96px); align-items: start; }
.pole-texte { margin: 0; max-width: 34em; font-family: var(--police-serif); font-size: var(--t-texte-grand); line-height: 1.55; letter-spacing: normal; }
.etapes {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 48px);
  font-family: var(--police-titre);
}
.etape:only-child { grid-column: 1 / -1; }
.etape h4 {
  margin: 0 0 12px; font-family: var(--police-titre); font-style: normal; font-weight: 400;
  font-size: var(--t-mini); text-transform: uppercase; letter-spacing: var(--capitales); color: var(--discret);
}
.etape ul { list-style: none; margin: 0; padding: 0; }
.etape li { padding: 3px 0; font-size: var(--t-texte); line-height: 1.5; color: var(--texte); }

/* Past projects : grille de logos ton sur ton (fichiers blancs sur fond transparent ; inversés sur fond blanc) */
.bande-clients { text-align: center; }
.bande-clients .ap-label { text-align: center; }
.logos-grille {
  list-style: none; margin: 0 auto; padding: 0; max-width: 980px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 52px) clamp(36px, 6vw, 88px);
  opacity: .45; transition: opacity .3s;
}
.logos-grille:hover { opacity: .8; }
.logos-grille img { display: block; width: 100%; height: auto; }
.bande-blanc .logos-grille img { filter: invert(1); }
/* (125) en exposant à côté de Past projects */
.ap-nombre { font-size: 0.45em; font-style: normal; vertical-align: 0; position: relative; top: -1.1em; margin-left: 0.25em; line-height: 0; }


/* ---------- Bande "Let's create together" + contacts (accueil et pages projet) ---------- */
.appel {
  background: var(--fond); color: var(--texte); border-top: 1px solid var(--ligne);
  padding: clamp(56px, 8vw, 120px) var(--marge) clamp(56px, 8vw, 110px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(32px, 5vw, 72px); align-items: start;
}
.appel-titre {
  margin: 0; font-family: var(--police-accroche); font-style: var(--style-accroche); font-weight: 400;
  font-size: var(--t-titre); line-height: 1; letter-spacing: -0.015em;
}
.appel-contacts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-left: clamp(0px, 8vw, 140px); }
.appel-contact { display: grid; gap: 8px; }
.appel-label { font-family: var(--police-sans); font-size: var(--t-mini); letter-spacing: var(--capitales); text-transform: uppercase; color: var(--discret); }
.appel-mail {
  justify-self: start; font-family: var(--police-serif); font-size: var(--t-texte-grand); letter-spacing: normal;
  text-decoration: none; overflow-wrap: anywhere; padding-bottom: 3px;
}

/* ---------- Pied de page ---------- */
.pied {
  /* bandeau du bas toujours en noir, sur toutes les pages */
  --fond: #000000; --texte: #ffffff; --discret: #9b9b9b; --ligne: #2b2b2b;
  background: var(--fond); color: var(--texte);
  padding: 24px var(--marge) 28px;
  border-top: 1px solid var(--ligne);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.pied-logo { display: block; justify-self: center; opacity: .9; transition: opacity .3s; }
.pied-logo:hover, .pied-logo:focus-visible { opacity: 1; }
.pied-logo img { display: block; height: 28px; width: auto; }
.pied-instagram { justify-self: end; font-size: var(--t-mini); letter-spacing: var(--capitales); text-transform: uppercase; text-decoration: none; padding: 6px 0 3px; }
.pied-instagram[hidden] { display: none; }
.pied-gauche { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; }
.pied-mentions { font-size: var(--t-mini); letter-spacing: var(--interlettre); color: var(--discret); text-decoration: none; padding: 6px 0 3px; }
.pied-mentions:hover, .pied-mentions:focus-visible { color: var(--texte); }
.pied-mentions[hidden] { display: none; }

/* ---------- Page Mentions légales ---------- */
.mention {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px clamp(32px, 5vw, 72px);
  padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--ligne);
}
.mention h2 { margin: 0; font-family: var(--police-serif); font-style: italic; font-weight: 400; font-size: var(--t-sous-titre); letter-spacing: normal; }
.mention-texte { font-family: var(--police-serif); font-size: var(--t-texte); line-height: 1.65; letter-spacing: normal; max-width: 40em; }
.mention-texte p { margin: 0 0 1em; }
.mention-texte p:last-child { margin-bottom: 0; }
.mention-texte a { text-underline-offset: 3px; }
.copyright { margin: 0; color: var(--discret); font-size: var(--t-mini); letter-spacing: var(--interlettre); }

/* ---------- Panneau "À propos" ---------- */
.voile {
  position: fixed; inset: 0; z-index: 20; background: var(--voile);
  -webkit-backdrop-filter: blur(var(--flou)); backdrop-filter: blur(var(--flou));
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s;
}
.panneau {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 30;
  width: min(var(--largeur-panneau), 100vw);
  background: var(--panneau-fond); color: var(--panneau-texte);
  font-family: var(--police-panneau); letter-spacing: normal;
  overflow-y: auto;
  display: flex; flex-direction: column;
  --pp-x: clamp(24px, 6vw, 72px); --pp-b: clamp(28px, 4vw, 40px);
  padding: clamp(28px, 4vw, 44px) var(--pp-x) var(--pp-b);
  transform: translateX(100%); visibility: hidden;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), visibility 0s .45s;
}
.panneau-ouvert .voile { opacity: 1; visibility: visible; transition: opacity .4s; }
.panneau-ouvert .panneau { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.panneau:focus { outline: none; }
.panneau :focus-visible { outline-color: var(--panneau-texte); }
.panneau-haut { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: clamp(36px, 6vw, 64px); }
.panneau-titre { margin: 0; padding-top: 6px; font-family: var(--police-sans); font-size: var(--t-petit); font-weight: 400; text-transform: uppercase; letter-spacing: var(--capitales); line-height: 1.2; }
.fermer { position: relative; flex: none; width: 44px; height: 44px; margin: -10px -10px 0 0; }
.fermer::before, .fermer::after {
  content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 1px; background: currentColor;
}
.fermer::before { transform: rotate(45deg); }
.fermer::after { transform: rotate(-45deg); }
.panneau-texte { font-size: var(--t-volet); line-height: 1.4; }
.panneau-texte p { margin: 0 0 1.4em; }
.panneau-texte p:last-child { margin-bottom: 0; }
.panneau-texte + .panneau-lien { margin-top: 14px; }
.panneau-texte strong { font-weight: 700; }
.panneau-lien { align-self: flex-start; padding: 6px 0 3px; font-size: var(--t-petit); text-decoration: none; }
.panneau-contacts {
  /* bloc noir, texte blanc, collé au bas du volet sur toute sa largeur */
  margin: auto calc(-1 * var(--pp-x)) calc(-1 * var(--pp-b));
  padding: clamp(28px, 4vw, 40px) var(--pp-x);
  background: #000000; color: #ffffff;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 40px;
}
.panneau > .panneau-lien { margin-bottom: clamp(40px, 7vw, 80px); }
.panneau-contacts :focus-visible { outline-color: #ffffff; }
.contact { display: grid; gap: 4px; }
.contact-label { font-family: var(--police-serif); font-size: var(--t-mini); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-mail {
  font-family: var(--police); font-size: var(--t-petit); text-transform: uppercase; letter-spacing: var(--capitales);
  text-decoration: none; overflow-wrap: anywhere; padding: 4px 0 3px; justify-self: start;
}

/* ---------- Animation commune de tous les boutons texte (sauf les langues) ----------
   Un trait fin se dessine de gauche à droite sous le texte au survol. */
.lien-about, .voir-plus, .retour, .suivant a > span, .acc-nom, .panneau-lien, .contact-mail, .appel-mail, .filtre, .pied-instagram, .pied-mentions {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1px;
  transition: background-size .35s cubic-bezier(.2,.7,.2,1);
}
.lien-about:hover, .lien-about:focus-visible,
.voir-plus:hover, .voir-plus:focus-visible,
.retour:hover, .retour:focus-visible,
.suivant a:hover > span, .suivant a:focus-visible > span,
.acc-item summary:hover .acc-nom, .acc-item summary:focus-visible .acc-nom,
.panneau-lien:hover, .panneau-lien:focus-visible,
.contact-mail:hover, .contact-mail:focus-visible,
.appel-mail:hover, .appel-mail:focus-visible,
.filtre:hover, .filtre:focus-visible, .filtre[aria-pressed="true"],
.pied-instagram:hover, .pied-instagram:focus-visible,
.pied-mentions:hover, .pied-mentions:focus-visible { background-size: 100% 1px; }

/* ---------- Visionneuse plein écran (pages projet) ---------- */
/* curseur natif "main" sur les images : montre qu'elles sont cliquables */
.images figure { cursor: pointer; }
body.visio-ouverte { overflow: hidden; }
.visio {
  position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.96); color: #fff;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center;
  opacity: 0; transition: opacity .35s;
}
.visio.ouverte { opacity: 1; }
.visio[hidden] { display: none; }
.visio-cadre { margin: 0; height: 100vh; height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 56px 0; }
.visio-cadre img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.visio-nav { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.visio-nav:hover { opacity: .6; }
.visio-nav[hidden] { visibility: hidden; display: flex; }
.visio-fermer { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; z-index: 1; }
.visio-fermer::before, .visio-fermer::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 1px; background: currentColor; }
.visio-fermer::before { transform: rotate(45deg); }
.visio-fermer::after { transform: rotate(-45deg); }
.visio-compteur { position: absolute; bottom: 18px; left: 0; right: 0; margin: 0; text-align: center; font-size: var(--t-mini); letter-spacing: var(--capitales); }
.visio :focus-visible { outline-color: #fff; }
.visio:focus { outline: none; }

/* ---------- Écrans tactiles : nom et ville sous chaque vignette ---------- */
@media (hover: none), (max-width: 600px) {
  .carte-info {
    position: static; aspect-ratio: auto; opacity: 1; background: none; color: var(--texte);
    align-items: flex-start; text-align: left; padding: 12px 0 0; gap: 0;
  }
  .carte-titre { font-size: var(--t-sous-titre); }
  .carte-lieu { display: none; }
  .visio { grid-template-columns: 44px minmax(0, 1fr) 44px; }
}

/* ---------- Apparition progressive au défilement ---------- */
.apparait { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.apparait.visible { opacity: 1; transform: none; }

/* ---------- Écrans moyens et téléphones ---------- */
@media (max-width: 900px) {
  :root { --colonnes: 2; --espace: 18px; }
}
@media (max-width: 600px) {
  :root { --colonnes: 1; }
  .projet-tete { grid-template-columns: minmax(0, 1fr); }
  .images { grid-template-columns: minmax(0, 1fr); }
  .filtres { flex-wrap: nowrap; gap: 10px; }
  .f-long { display: none; }
  .f-court { display: inline; }
  .pole, .acc-corps, .appel, .appel-contacts { grid-template-columns: minmax(0, 1fr); }
  .appel-contacts { padding-left: 0; }
  .mention { grid-template-columns: minmax(0, 1fr); }
  .etapes { grid-template-columns: minmax(0, 1fr); }
  .pied { grid-template-columns: 1fr auto; row-gap: 20px; }
  .logos-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 26px; margin: 0 calc(-0.5 * var(--marge)); }
  .pied-logo { grid-column: 1 / -1; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
