/* ==========================================================================
   PAGES INTÉRIEURES dans la DA « fond noir » de l'accueil (accueil-noir.css)
   Le club, À propos, Contact, Services, pages projet.
   Rappels de Jules : textes noirs sur les fonds de couleur, boutons sur le noir = gélules blanches.
   ========================================================================== */

/* ---------- La pile des sections : la 1re passe directement sur le haut de page, les suivantes sont
   posées sur le noir. Le fond est noir partout, même derrière les coins arrondis de la 1re section. ---------- */
.page-noire .cadre > main.pile-n {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--marge);
  /* transparent sur la hauteur de l'arrondi : la 1re section passe juste devant le haut de page (rien ne le coupe) ;
     en dessous, le noir entre les sections */
  background: linear-gradient(transparent var(--r-bloc), var(--black) var(--r-bloc));
}
.pile-n > :first-child { position: relative; z-index: 2; }
/* Quand la 1re section est noire (Services, Créations) : elle arrive aussi en bloc arrondi sur le haut de page
   (comme « Nos créations » sur l'accueil) ; ses coins arrondis laissent voir le haut de page, puis tout est noir */
.page-noire .cadre > main.pile-n:has(> .pile-n__noir:first-child) { background: linear-gradient(transparent var(--r-bloc), var(--black) var(--r-bloc)); }
.pile-n > .pile-n__noir:first-child { margin-inline: var(--marge); border-radius: var(--r-bloc); overflow: clip; background: var(--black); }
.bloc--bleu { background: var(--blue-2); color: var(--black); --detour: var(--blue-2); }
.bloc--vert { --detour: var(--green); }
.bloc--blanc { --detour: var(--white); }

/* ---------- Haut des pages intérieures : un peu moins haut que l'accueil ---------- */
@media (min-width: 721px) {
}
.haut-page .hero { place-items: center; text-align: center; }
.haut-page__boite { display: grid; justify-items: center; gap: clamp(20px, 2.4vw, 32px); }
.haut-page__intro { max-width: 34ch; color: var(--black); }
/* Le haut des pages : seulement le grand titre et des stickers (jamais de texte noir sur le bleu, illisible).
   Le titre est plus grand, sur le moins de lignes possible ; .br-tel = retour à la ligne seulement sur téléphone */
.br-tel { display: none; }
@media (max-width: 720px) { .br-tel { display: revert; } }
.haut-page__sticker { position: absolute; }
.haut-page__sticker--1 { --tilt: -12deg; --s: clamp(90px, 12vw, 190px); right: calc(100% - 24px); top: -8%; }   /* à gauche du titre, sans cacher de lettre */
.haut-page__sticker--2 { --tilt: 9deg; width: clamp(120px, 16vw, 240px); left: calc(100% - 28px); top: 36%; }
/* La petite section blanche du début (Le club) : le texte d'intro, qui n'est plus dans le haut de page */
.intro-n { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: clamp(24px, 4vw, 72px); padding: clamp(56px, 7vw, 112px) var(--gutter); }
.intro-n__titre { margin: 0; text-wrap: balance; }
.intro-n__droite { display: grid; gap: 18px; justify-items: start; }
.intro-n__droite p { margin: 0; }
.intro-n .portes { justify-content: flex-start; margin-top: 0; }
@media (max-width: 860px) { .intro-n { grid-template-columns: 1fr; } }
.contact-n__intro { max-width: 34ch; margin: 0; }
/* Les 3 portes de la page Le club */
.portes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(24px, 3vw, 44px); }
.porte {
  padding: calc(.8em + var(--cap-fix)) 1.3em calc(.8em - var(--cap-fix));
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font: italic 700 .95rem/1 var(--font);
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--black);
  transition: transform .16s var(--out), box-shadow .16s var(--out);
}
.porte:hover, .porte:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--black); }   /* l'ombre s'enfonce, comme le bouton Menu */

/* ---------- Titres des sections (même famille que « Ils en parlent ») ---------- */
.titre-xl { margin: 0; font: italic 900 clamp(3rem, 7.4vw, 7.6rem)/.86 var(--font); letter-spacing: -.03em; text-transform: uppercase; text-wrap: balance; }
.titre-xl .droit { font-style: normal; }
.titre-l { margin: 0; font: italic 900 clamp(2.2rem, 4.6vw, 4.6rem)/.9 var(--font); letter-spacing: -.02em; text-transform: uppercase; }

/* ---------- Une section « page intérieure » ---------- */
.section-n { position: relative; isolation: isolate; display: grid; gap: clamp(36px, 5vw, 80px); padding: clamp(56px, 7vw, 120px) var(--gutter); scroll-margin-top: var(--marge); }
.section-n__tete { display: grid; justify-items: start; gap: clamp(20px, 2.4vw, 32px); }
.section-n__chapo { max-width: 46ch; }
.section-n__deux { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(32px, 5vw, 96px); }
.section-n__deux--inverse > :last-child { order: -1; }
.section-n__lien, .section-n__note { margin: 0; }
.section-n__note { opacity: .75; }
@media (max-width: 860px) {
  .section-n__deux { grid-template-columns: 1fr; }
  .section-n__deux--inverse > :last-child { order: 0; }
}

/* 3 cartes de couleur (Pourquoi / Pour qui / Comment) */
.cartes-n { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, .9vw, 14px); margin: 0; padding: 0; list-style: none; }
.carte-n { display: grid; align-content: start; gap: 18px; min-height: clamp(300px, 28vw, 440px); padding: clamp(22px, 2.6vw, 40px); border: 2px solid var(--black); border-radius: var(--r-carte); color: var(--black); }
.carte-n p { margin: 0; align-self: end; font-size: clamp(1.1rem, 1.35vw, 1.3rem); line-height: 1.35; }
.carte-n__titre { margin: 0; font: italic 900 clamp(2.4rem, 4vw, 4.2rem)/.9 var(--font); text-transform: uppercase; }
.carte-n { grid-template-rows: auto auto 1fr; }
.carte-n--vert { background: var(--green); }
.carte-n--bleu { background: var(--blue-2); }
.carte-n--bleu-clair { background: var(--blue-1); }
@media (max-width: 860px) { .cartes-n { grid-template-columns: 1fr; } .carte-n { min-height: 0; } }
/* Le club : au survol, la carte s'étend et son texte se déplie, les deux autres se resserrent ; la rangée garde la largeur de la page.
   Pour que ce soit fluide : seule la largeur des cartes bouge. Aucun texte ne se réarrange pendant le mouvement
   (chaque texte a une largeur fixe), le titre des cartes resserrées rapetisse par « scale » (sans recalcul),
   et le petit texte des cartes resserrées s'efface. Sélecteur « .js .cartes-n .carte-n » : plus fort que la règle
   d'apparition au défilement (.js [data-reveal]), qui écrasait la transition et rendait le mouvement sec. */
@media (min-width: 861px) {
  .cartes-n { --doux: cubic-bezier(.25, 1, .5, 1); --gap: clamp(8px, .9vw, 14px); --pad: clamp(22px, 2.6vw, 40px);
    display: flex; container-type: inline-size; }
  .js .cartes-n .carte-n, .cartes-n .carte-n {
    --repos-l: calc((100cqw - 2 * var(--gap)) / 3 - 2 * var(--pad) - 4px);   /* largeur du texte d'une carte au repos */
    --plus-l: calc((100cqw - 2 * var(--gap) - 3 * (2 * var(--pad) + 4px)) * .6);  /* largeur du texte de la carte ouverte (60 % de la place, hors marges) */
    flex: 1 1 0; min-width: 0; overflow: hidden; grid-template-rows: auto auto 1fr; grid-template-columns: minmax(0, 1fr); outline: none;
    transition: flex-grow .95s var(--doux), opacity .8s var(--out) var(--d, 0s), translate .9s var(--out) var(--d, 0s);
  }
  .cartes-n:hover .carte-n, .cartes-n:focus-within .carte-n { flex-grow: .8; }            /* resserrée : 20 % de la rangée */
  .cartes-n .carte-n:hover, .cartes-n .carte-n:focus-within { flex-grow: 2.4; }            /* ouverte : 60 % */
  /* le titre : une ligne, il rapetisse (scale) dans les cartes resserrées */
  .carte-n__titre { white-space: nowrap; transform-origin: 0 0; transition: scale .95s var(--doux); }
  .cartes-n:hover .carte-n:not(:hover) .carte-n__titre, .cartes-n:focus-within .carte-n:not(:focus-within) .carte-n__titre { scale: .58; }
  /* au repos : 3 lignes du texte puis « … » ; il s'efface dès que la carte s'ouvre ou se resserre */
  .carte-n > p { width: var(--repos-l); align-self: start; max-height: calc(1.45em * 3); transition: opacity .5s var(--doux) .25s; }
  .cartes-n:hover .carte-n > p, .cartes-n:focus-within .carte-n > p { opacity: 0; transition: opacity .2s var(--doux); }
  /* carte ouverte : un long texte (provisoire) sur 2 colonnes remplit toute la carte, en largeur et en hauteur.
     Les colonnes se remplissent l'une après l'autre jusqu'en bas (column-fill: auto) ; le surplus est caché.
     Le bloc a la taille de la carte ouverte : rien ne se réarrange, il se dévoile du haut vers le bas. */
  /* au repos, la rangée a juste la hauteur du texte affiché (titre, 3 lignes, indication) ; au survol, elle grandit */
  .cartes-n { --h-repos: calc(2 * var(--pad) + var(--t4, 3.5rem) * .9 + 18px + var(--p2, 1.15rem) * 1.45 * 3 + 18px + 1.1rem);
    --h-ouvert: clamp(360px, 28vw, 440px); height: var(--h-repos); transition: height .95s var(--doux); }
  .cartes-n:hover, .cartes-n:focus-within { height: var(--h-ouvert); }
  .cartes-n .carte-n { position: relative; min-height: 0; }
  .carte-n__suite { transition: opacity .3s var(--doux); }
  .cartes-n:hover .carte-n__suite, .cartes-n:focus-within .carte-n__suite { opacity: 0; }
  .carte-n__plein { position: absolute; left: var(--pad); width: var(--plus-l);
    top: calc(var(--pad) + var(--t4, 3.5rem) * .9 + 22px); bottom: var(--pad);
    columns: 2; column-gap: clamp(24px, 2.6vw, 44px); column-fill: balance; overflow: hidden;   /* vrais textes : 2 colonnes équilibrées */
    font-size: var(--p2, 1.15rem); line-height: 1.45;
    visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0);
    transition: clip-path .3s var(--doux), opacity .3s var(--doux), visibility 0s .3s; }
  .carte-n__plein p { margin: 0 0 .7em; orphans: 1; widows: 1; }   /* le texte descend jusqu'en bas de chaque colonne */
  .cartes-n .carte-n:hover .carte-n__plein, .cartes-n .carte-n:focus-within .carte-n__plein {
    visibility: visible; opacity: 1; clip-path: inset(0 0 0 0);
    transition: clip-path 1.2s cubic-bezier(.45, 0, .2, 1) .4s, opacity .4s var(--doux) .4s, visibility 0s; }
}
.carte-n__texte { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }   /* 3 lignes puis « … » */
.carte-n__plein { display: none; }   /* téléphone : pas de survol, on garde le vrai texte */
@media (min-width: 861px) { .carte-n__plein { display: block; } }
@media (max-width: 860px) { .carte-n__texte { display: block; -webkit-line-clamp: unset; } }

/* Bouton noir (sur les fonds de couleur) : seule la couleur change au survol */
.btn-blanc {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: calc(.95em + var(--cap-fix)) 1.5em calc(.95em - var(--cap-fix));
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font: italic 700 1rem/1 var(--font);
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s, color .25s;
}
.btn-blanc:hover { background: var(--white); color: var(--black); }

/* L'éventail de créations (stand-uppers) */
.eventail { position: relative; display: grid; place-items: center; min-height: clamp(360px, 38vw, 600px); }
.eventail__carte { position: absolute; width: 52%; aspect-ratio: 1061 / 1500; object-fit: cover; border: 2px solid var(--black); border-radius: var(--r-carte); box-shadow: 6px 6px 0 var(--black); transition: rotate .5s var(--pop), translate .5s var(--pop); }
.eventail__carte:nth-child(1) { rotate: -12deg; translate: -38% 4%; }
.eventail__carte:nth-child(2) { rotate: 3deg; z-index: 2; }
.eventail__carte:nth-child(3) { rotate: 13deg; translate: 38% 6%; }



/* ---------- Média : image, ou emplacement qui dit où la déposer ---------- */
.media { position: relative; margin: 0; aspect-ratio: var(--ratio, 4/5); overflow: hidden; border-radius: var(--r-carte); background: var(--white); }
.media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media__vide { display: none; }
.media.is-vide img { display: none; }
.media.is-vide { border: 0; background: #ececec; }
.media.is-vide .media__vide { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(0, 0, 0, .25); font: italic 900 clamp(2.4rem, 5vw, 5rem)/1 var(--font); text-transform: uppercase; }

/* ---------- Frise (l'histoire) ---------- */

/* ---------- Frise (l'histoire) : du texte simple en colonnes, sans cadre ---------- */
.frise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 48px); margin: 0; padding: 0; list-style: none; }
.frise__etape { display: grid; align-content: start; gap: 10px; }
.frise__date { font: italic 900 clamp(2rem, 2.6vw, 2.8rem)/.9 var(--font); text-transform: uppercase; white-space: nowrap; }
.frise__titre { margin: 0; }
.frise .p2 { margin: 0; }
@media (max-width: 1000px) { .frise { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .frise { grid-template-columns: 1fr; } }

/* ---------- Les artistes du club (sur le noir) : photo de profil dans un zigzag, comme le badge du club ---------- */
.membres { display: grid; gap: clamp(40px, 5vw, 80px); padding: clamp(56px, 7vw, 112px) var(--gutter); color: var(--white); scroll-margin-top: var(--marge); }
/* L'histoire de Visible : le texte, et l'animation du logo en vert sur le noir à la place de la photo */
.histoire__texte { display: grid; gap: 16px; max-width: 50ch; }
.histoire__texte p { margin: 0; }
.media--logo { display: grid; place-items: center; background: var(--black); }
.media--logo video { display: block; width: 100%; height: auto; filter: url(#logo-vert); }
.membres__titre { --detour: var(--black); text-align: center; }
/* Les artistes du club : les noms sur le noir (traits blancs), surlignés en vert au survol, l'affiche suit la souris */
.artistes-noir .artistes__liste { width: 100%; margin: 0 auto; border-top-color: var(--white); }
.artistes-noir .artiste { border-bottom-color: var(--white); color: var(--white); }
@media (hover: hover) { .artistes-noir .artiste:hover { background: var(--green); color: var(--black); } }
.membres__liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: clamp(32px, 4vw, 56px) clamp(16px, 2.4vw, 40px); margin: 0; padding: 0; list-style: none; }
.membre { display: grid; justify-items: center; gap: 18px; text-align: center; }
.membre__zz { display: block; width: 100%; max-width: 240px; aspect-ratio: 1; padding: 4.5%; background: var(--white); clip-path: var(--etoile); }
.membre__photo { position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; background: #1c1c1c; clip-path: var(--etoile); }
.membre__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.membre__initiales { font: italic 900 clamp(2.4rem, 4vw, 3.6rem)/1 var(--font); text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.membre__photo:not(.is-vide) .membre__initiales { display: none; }
.membre__nom { color: var(--white); }


/* ---------- Contact ---------- */
.contact-n { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: clamp(32px, 5vw, 96px); padding: clamp(48px, 6vw, 104px) var(--gutter); scroll-margin-top: var(--marge); }
.contact-n__cote { position: sticky; top: calc(var(--marge) + 24px); display: grid; gap: clamp(24px, 3vw, 40px); }
.contact-n__etapes { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.contact-n__etapes b { margin-right: .4em; font-weight: 700; font-style: italic; }
.contact-n__dm { margin: 0; }
.contact-n__form { min-width: 0; }
.contact-n .fc input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), .contact-n .fc textarea { border-radius: 14px; }
.contact-n .pastille span { border-radius: 999px; }
/* Les deux profils : de grosses cartes de couleur */
.contact-n .fc__choix--2 .pastille--profil span { position: relative; gap: 6px; min-height: 104px; align-content: center; justify-items: center; text-align: center; padding: 16px 18px; border-radius: var(--r-carte); background: var(--white); font: italic 700 clamp(1.5rem, 2.2vw, 2.1rem)/1 var(--font); }
.contact-n .pastille--profil .pastille__icone { position: absolute; top: 14px; right: 16px; font-style: normal; font-size: 1.6rem; }
.contact-n .pastille--bleu input:checked + span { background: var(--blue-1); }
/* codes couleur des cibles : stand-upper = bleu clair, comedy club = bleu foncé (le vert reste la couleur de Visible) */
.contact-n .pastille--bleu-fonce input:checked + span { background: var(--blue-2); }
.contact-n .pastille--profil input:checked + span { box-shadow: 5px 5px 0 var(--black); translate: -2.5px -2.5px; }
.btn-envoyer {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: calc(1em + var(--cap-fix)) 1.8em calc(1em - var(--cap-fix));
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--green);
  color: var(--black);
  font: italic 700 1.2rem/1 var(--font);
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--black);
  transition: transform .16s var(--out), box-shadow .16s var(--out);
}
.btn-envoyer svg { width: 1.2em; height: 1.2em; }
.btn-envoyer:hover, .btn-envoyer:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--black); }
@media (max-width: 960px) {
  .contact-n { grid-template-columns: 1fr; }
  .contact-n__cote { position: static; }
}

/* ---------- Services en cartes ---------- */
.services-n { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, .9vw, 14px); margin: 0; padding: 0; list-style: none; }
.service-n { display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 14px; min-height: clamp(320px, 26vw, 420px); padding: clamp(22px, 2.4vw, 36px); border: 2px solid var(--black); border-radius: var(--r-carte); color: var(--black); }
.service-n--vert { background: var(--green); }
.service-n--bleu { background: var(--blue-2); }
.service-n--bleu-clair { background: var(--blue-1); }
.service-n--blanc { background: var(--white); }
.service-n__titre { margin: 0; font: italic 900 clamp(1.9rem, 2.8vw, 3rem)/.92 var(--font); text-transform: uppercase; text-wrap: balance; }
.service-n__texte { margin: 0; font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.4; }
@media (max-width: 1000px) { .services-n { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .services-n { grid-template-columns: 1fr; } }

/* ==========================================================================
   PAGE PROJET : le haut (titre, stickers, infos), le texte, puis la galerie qui se range toute seule
   (maquette.js) : un 16/9 en grand, deux verticales côte à côte, un 16/9, deux verticales…
   ========================================================================== */
@media (min-width: 721px) {
}
.haut-projet__grille { flex: 1; display: grid; align-content: center; justify-items: center; gap: clamp(28px, 4vw, 56px); padding: clamp(24px, 3vw, 48px) var(--gutter) clamp(28px, 3vw, 48px); }
.haut-projet__boite { position: relative; display: grid; justify-items: center; gap: 12px; justify-self: center; }
.haut-projet__label { margin: 0; color: var(--black); }
.haut-projet__titre { text-align: center; }   /* taille : T1, dans charte.css */
.haut-projet__sticker { position: absolute; width: clamp(130px, 15vw, 230px); }
.haut-projet__sticker--1 { --tilt: -10deg; left: calc(100% + 2vw); top: 12%; }
.haut-projet__sticker--2 { --tilt: 8deg; left: calc(100% + 9vw); top: 52%; }
/* Le haut des pages projet : le titre 3D au centre du panneau bleu, comme sur toutes les pages */
/* Les infos du projet : en petit dans la section blanche, sous le titre du texte (étiquette P5, texte P4) */
.projet-idee__gauche { display: grid; gap: clamp(28px, 3vw, 44px); align-content: start; }
.infos-projet { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 20px clamp(28px, 3vw, 56px); margin: 0; color: var(--black); }
.infos-projet dt { margin-bottom: 6px; }
.infos-projet dd { margin: 0; }

.projet-idee { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: clamp(24px, 4vw, 72px); padding: clamp(56px, 7vw, 112px) var(--gutter); }
.projet-idee__titre { margin: 0; text-wrap: balance; }
.projet-idee__texte { display: grid; gap: 18px; }
.projet-idee__texte p { margin: 0; }
@media (max-width: 860px) { .projet-idee { grid-template-columns: 1fr; } }

/* La galerie : sur le noir, chaque image dans un panneau arrondi, sans emplacement vide */
.galerie-auto { display: grid; gap: var(--marge); margin-inline: var(--marge); }
.galerie-auto:not(.is-pret) { min-height: 60svh; }
.galerie-auto__ligne { display: flex; gap: var(--marge); }
.galerie-auto__ligne--solo { justify-content: center; }
.galerie-auto__media { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-bloc); background: #111; aspect-ratio: var(--ratio); animation: galerie-in .6s var(--out) both; }
.galerie-auto__media img, .galerie-auto__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.galerie-auto__media--large { flex: 1; }
/* deux verticales : même hauteur, chacune garde son format (la largeur suit le format) */
.galerie-auto__ligne--duo .galerie-auto__media { flex: var(--ratio) 1 0; min-width: 0; }
.galerie-auto__ligne--solo .galerie-auto__media { width: calc(50% - var(--marge) / 2); }
/* emplacement (dossier encore vide) : un panneau gris foncé, le format écrit au centre */
.galerie-auto__media--vide { display: grid; place-items: center; background: #1c1c1c; color: rgba(255, 255, 255, .35); font: italic 900 clamp(2.4rem, 5vw, 5rem)/1 var(--font); text-transform: uppercase; }
.galerie-auto__ligne--duo .galerie-auto__media--vide { flex: 1 1 0; }
@keyframes galerie-in { from { opacity: 0; translate: 0 24px; } }
@media (max-width: 560px) { .galerie-auto__media { border-radius: var(--r-carte); } }


/* Téléphone : les stickers du haut de page se posent au-dessus du titre, dans l'écran */
@media (max-width: 720px) {
  .haut-page__sticker--1 { --s: 92px; right: auto; left: -2%; top: -34%; }
  .haut-page__sticker--2 { width: 120px; left: auto; right: -2%; top: -30%; }
  .haut-projet__sticker { width: 104px; }
  .haut-projet__sticker--1 { left: auto; right: -28vw; top: -6%; }
  .haut-projet__sticker--2 { left: auto; right: -28vw; top: 44%; }
}

/* ==========================================================================
   PAGE CRÉATIONS : les projets en bento, visuels pleins sur le noir (pas de couleur)
   ========================================================================== */
/* Créations en QUINCONCE : 2 colonnes, la gauche plus large, la droite plus étroite et décalée vers le bas.
   Les vignettes gardent leur format (4:5, comme les fichiers) : rien n'est rogné. Le fond noir garde toute la largeur ;
   les cartes tiennent dans 1120 px au plus, centrées. */
.bento-c.pile-n__noir {
  --g: clamp(14px, 2.4vw, 40px);                                   /* écart entre les 2 colonnes */
  --l: min(1120px, 100% - 2 * var(--marge));                       /* largeur occupée par les cartes */
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: start; column-gap: var(--g); row-gap: clamp(28px, 4vw, 64px);
  padding: var(--marge) max(var(--marge), (100% - 1120px) / 2) calc(var(--marge) + (var(--l) - var(--g)) / 2.25 * 1.25 * .15);   /* en bas : ce qui dépasse de la dernière carte décalée (40 % de sa hauteur, moins sa différence avec la grande) */
}
.bento-c__carte { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-bloc); background: #1c1c1c; color: var(--white); text-decoration: none; }
.bento-c__carte:nth-child(even) { transform: translateY(40%); }   /* le quinconce : les cartes de droite descendent de 40 % de leur hauteur */
.bento-c__carte img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--out); }
/* les vignettes portent déjà le titre du projet : pas de titre ajouté par-dessus */
.bento-c__carte:hover img { scale: 1.04; }
@media (max-width: 860px) {
  .bento-c.pile-n__noir { grid-template-columns: 1fr 1fr; padding-bottom: calc(var(--marge) + (var(--l) - var(--g)) / 2 * 1.25 * .3); }
  .bento-c__carte:nth-child(even) { transform: translateY(30%); }
}
.contact-n .fc { padding: 0; border: 0; border-radius: 0; }   /* le formulaire est posé directement dans la section blanche, sans cadre */
@media (max-width: 560px) { .membres__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Contact : la zone de dépôt des fichiers, texte plus petit pour respirer dans les pointillés */
.contact-n .fc__depot { padding: 26px 28px; }
.contact-n .fc__depot strong { font-size: .95rem; }
.contact-n .fc__depot small { max-width: 34ch; font: 400 .85rem/1.4 var(--font); letter-spacing: 0; text-transform: none; }   /* P4 : texte courant (pas le style des étiquettes) */
@media (max-width: 560px) { .contact-n .fc__choix--2 .pastille--profil span { padding: 14px 10px; font-size: 5.2vw; } }   /* téléphone : « Stand-upper » tient dans sa gélule */
.contact-n .fc__depot svg { width: 26px; height: 26px; }
/* ---------- Services : la liste en colonnes (Print, Social media), sur le noir, minimaliste ---------- */
.services-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 72px); max-width: 900px; margin: clamp(56px, 7vw, 112px) auto 0; padding: 0 var(--gutter); color: var(--white); }
.services-liste__titre { margin: 0 0 14px; }
.services-liste ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .35); }
.services-liste li { padding: 12px 0 10px; border-bottom: 1px solid rgba(255, 255, 255, .35); }
@media (max-width: 560px) { .services-liste { grid-template-columns: 1fr; } }
/* Le club : l'indication « Survole pour lire la suite » en bas des cartes (étiquette, comme S3) */
.carte-n__suite { align-self: end; font: italic 700 var(--s3, .8rem)/1 var(--font); letter-spacing: 0; text-transform: uppercase; }
.carte-n__suite span { display: inline-block; margin-left: .3em; font-size: 1.4em; vertical-align: -.1em; }
@media (max-width: 860px) { .carte-n__suite { display: none; } }

/* Le club : l'histoire en deux paragraphes côte à côte, plus petits (façon édito) */
.histoire__texte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px clamp(20px, 2.4vw, 36px); max-width: 680px; }
@media (max-width: 560px) { .histoire__texte { grid-template-columns: 1fr; } }
/* la frise : de petites anecdotes */
.frise { gap: 24px clamp(20px, 2.6vw, 40px); }
.frise__etape { gap: 8px; }

/* Les artistes du club (référence : Skiper UI 7), sur le vert, texte noir : les noms en énorme (taille du T1), les uns sous les autres.
   Au survol, la ligne « Stand-upper · Instagram ↗ » (P3) s'ouvre sous le nom et décale doucement les noms suivants. */
.artistes-ig-section { color: var(--black); }
.artistes-ig-section .membres__titre { --detour: var(--green); color: var(--black); }
.artistes-ig { display: grid; justify-items: center; gap: clamp(4px, .6vw, 10px); margin: 0; padding: 0; list-style: none; }
.artiste-ig a { display: grid; grid-template-rows: auto 0fr; justify-items: center; color: var(--black); text-decoration: none; text-align: center; transition: grid-template-rows .55s var(--out); }
.artiste-ig__nom { font: italic 700 clamp(2.4rem, 10vw, 10.5rem)/.9 var(--font); letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; } /* énorme : la taille du T1 (plus petit sur téléphone pour tenir sur une ligne) */
.artiste-ig__info { overflow: hidden; }
.artiste-ig__info > span { display: block; padding: 10px 0 8px; --zz-color: var(--black); opacity: 0; transition: opacity .3s; }
@media (hover: hover) {
  .artiste-ig a:hover, .artiste-ig a:focus-visible { grid-template-rows: auto 1fr; }
  .artiste-ig a:hover .artiste-ig__info > span, .artiste-ig a:focus-visible .artiste-ig__info > span { opacity: 1; transition: opacity .4s .15s; }
}
/* téléphone : pas de survol, la ligne est toujours ouverte */
@media (hover: none), (max-width: 860px) {
  .artiste-ig a { grid-template-rows: auto 1fr; }
  .artiste-ig__info > span { opacity: 1; }
}
/* Contact : un formulaire plus court et plus compact (moins de champs, moins d'espace) */
/* le formulaire moins large, l'ensemble centré ; plus d'air en haut et en bas de la section blanche */
.contact-n { padding-block: clamp(64px, 7.5vw, 120px); }
@media (min-width: 861px) {
  .contact-n { grid-template-columns: minmax(0, 420px) minmax(0, 560px); justify-content: center; gap: clamp(48px, 7vw, 120px); }
}
.contact-n .fc { gap: 16px; }
.contact-n .fc__ligne--1 { grid-template-columns: 1fr; }
.contact-n .fc__bloc legend { margin-bottom: 8px; }
.contact-n .fc input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), .contact-n .fc textarea { min-height: 46px; padding: 11px 14px 9px; font-size: var(--p2, 1.1rem); }
.contact-n .fc textarea { min-height: 96px; }
.contact-n .fc__choix--2 .pastille--profil span { min-height: 76px; padding: 12px 16px; font-size: clamp(1.3rem, 1.8vw, 1.7rem); }
.contact-n__cote { gap: clamp(18px, 2vw, 28px); }
@media (max-width: 560px) { .contact-n .fc__choix--2 .pastille--profil span { padding: 12px 10px; font-size: 5.2vw; } }   /* téléphone : « Stand-upper » tient dans sa gélule */
/* L'appel à l'action (bas de chaque page) : centré, minimaliste. Grand titre T1, chapô P1, deux boutons B2 de même taille */
.page-noire .cta { min-height: 0; gap: clamp(20px, 2.4vw, 32px); padding: clamp(96px, 12vw, 180px) var(--gutter); }
.cta__texte { max-width: 40ch; margin: 0; color: var(--white); text-wrap: balance; }
.cta__texte { color: rgba(255, 255, 255, .78); }
/* deux boutons de la même largeur, côte à côte (l'un sous l'autre sur téléphone) */
.cta__actions { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 14px; margin-top: 10px; }
.cta__actions > * { justify-content: center; }
@media (max-width: 560px) { .cta__actions { grid-auto-flow: row; width: min(100%, 340px); } }

/* Contact : Liens et Fichiers côte à côte, moitié-moitié. La zone de fichiers a la hauteur d'un champ
   (pointillés, flèche + « Ajoute tes fichiers ») ; on peut aussi y glisser les fichiers. Les fichiers ajoutés
   s'affichent dessous. Sur téléphone, l'un sous l'autre. */
.contact-n .fc__ligne--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; }
.contact-n .fc__depot--compact { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 9px 14px; border-radius: 14px; }
.contact-n .fc__depot--compact svg { flex: none; width: 20px; height: 20px; }
.contact-n .fc__depot--compact strong { font: italic 700 .95rem/1 var(--font); text-transform: uppercase; padding-top: var(--cap-fix, 0); }
.contact-n .fc__ligne--duo .fc__fichiers:empty { display: none; }
.contact-n .fc__ligne--duo .fc__fichiers li { font-size: .85rem; }
@media (max-width: 560px) { .contact-n .fc__ligne--duo { grid-template-columns: 1fr; } }

/* ==========================================================================
   Pied de page épuré (16 nov.) : 3 colonnes de liens (Pages, Le club, Légal ; les réseaux sont les logos en bas à gauche), plus de trait,
   moins haut ; la ligne réseaux + copyright + baseline, puis le grand VISIBLE tout en bas de la page.
   ========================================================================== */
.page-noire .pied { padding-top: clamp(48px, 5.5vw, 88px); }
.page-noire .pied__haut { row-gap: 40px; }
.page-noire .pied__club { gap: 14px; }
.page-noire .pied__logo { margin-bottom: 6px; }
.page-noire .pied__menus { grid-column: 6 / -1; grid-template-columns: repeat(3, max-content); justify-content: end; column-gap: clamp(56px, 8vw, 128px); }   /* serrés, dans la moitié droite */
.page-noire .pied__label { margin-bottom: 16px; }
.page-noire .pied__liens { gap: 12px; }
/* « Gérer les cookies » est un bouton (il ouvre le bandeau) : même style que les liens */
.page-noire .pied__liens button { padding: 0; border: 0; background: none; color: inherit; font: italic 700 1rem/1 var(--font); text-transform: uppercase; text-align: left; cursor: var(--curseur-lien, pointer); }
.page-noire .pied__liens button:is(:hover, :focus-visible) > .zz::after { clip-path: inset(0 0 0 0); animation: zz-move .45s linear infinite; }
.page-noire .pied__geant { margin: clamp(36px, 4.5vw, 64px) 0 0; }
.page-noire .pied__bas { margin: 0; padding: clamp(16px, 1.6vw, 24px) 0 clamp(18px, 2vw, 28px); border: 0; }   /* sous le grand VISIBLE : logos, copyright, baseline */
@media (max-width: 960px) { .page-noire .pied__menus { grid-column: 1 / -1; justify-content: start; } }
@media (max-width: 720px) { .page-noire .pied__menus { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }   /* téléphone : Pages et Le club, puis Légal dessous */

/* Le club, histoire : le logo VISIBLE en 3D (vidéo déjà en couleur, en 4:5) — remplit la case, sans le filtre vert */
.media--logo-3d video { height: 100%; object-fit: cover; filter: none; }

