/* Kid's Anim — « Le casting »
   Crème chaude, encre expresso (contour du logo), orange et jaune du logo. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/BricolageGrotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/Figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --creme: #f6efe4;
  --papier: #fffaf2;
  --sable: #ece2d2;
  --encre: #24170f;
  --encre-2: #5a4535;
  --encre-3: #7a6553;
  --orange: #ef7d12;
  --orange-fonce: #b4530a;
  --jaune: #ffc531;
  --studio: #9a9895;
  --nuit: #1c120c;
  --nuit-2: #2b1d14;
  --sur-nuit: #f3e6d6;
  --sur-nuit-2: #c9b5a1;

  --sortie: cubic-bezier(0.23, 1, 0.32, 1);
  --ressort: cubic-bezier(0.32, 0.72, 0, 1);

  --marge: clamp(1.25rem, 4vw, 4rem);
  --large: 1320px;
  --rayon: 16px;
  --rayon-coque: 28px;

  --titre: "Bricolage Grotesque", "Avenir Next", sans-serif;
  --texte: "Figtree", "Avenir Next", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font: 400 1.0625rem/1.6 var(--texte);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--jaune); color: var(--encre); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-family: var(--titre); font-weight: 700; text-wrap: balance; }
p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.evitement { position: absolute; left: 1rem; top: -4rem; z-index: 30; background: var(--encre); color: var(--papier); padding: .6rem 1rem; border-radius: 999px; }
.evitement:focus { top: 1rem; }

.titre-xl {
  font-size: clamp(3.2rem, 8.4vw, 7.6rem);
  line-height: .9;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 96;
  font-weight: 750;
}
.titre-l {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: .96;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 72;
}
.titre-m {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

/* ---------- Trous (à compléter par le client) ---------- */
.trou {
  display: inline-block;
  padding: .15em .6em;
  border: 1.5px dashed var(--orange-fonce);
  border-radius: 8px;
  color: var(--orange-fonce);
  font-size: .92em;
  background: rgba(239, 125, 18, .06);
}
.trou::before { content: "À compléter · "; font-weight: 600; }
.trou--bloc { display: block; max-width: 62ch; margin-bottom: 2.5rem; padding: .8em 1em; line-height: 1.5; }
.trou--sombre { border-color: var(--jaune); color: var(--jaune); background: rgba(255, 197, 49, .06); }

/* ---------- Boutons ---------- */
.bouton {
  --fond: var(--encre);
  --sur: var(--papier);
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding: .55rem .55rem .55rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--fond);
  color: var(--sur);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--sortie), background-color 200ms var(--sortie);
}
.bouton:active { transform: scale(.97); }
.bouton__icone {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--orange);
  color: var(--encre);
  transition: transform 260ms var(--ressort);
}
.bouton__icone svg { width: 1.1rem; height: 1.1rem; stroke-width: 2; }
.bouton--petit { padding: .6rem 1.15rem; font-size: .95rem; }
.bouton--clair { --fond: var(--papier); --sur: var(--encre); }
.bouton--plein { --fond: var(--orange); --sur: var(--encre); width: 100%; justify-content: space-between; font-size: 1.05rem; }
.bouton--plein .bouton__icone { background: var(--encre); color: var(--orange); }

@media (hover: hover) and (pointer: fine) {
  .bouton:hover .bouton__icone { transform: translate(3px, -2px) scale(1.05); }
  .bouton--petit:hover { background: var(--orange); color: var(--encre); }
}

.lien-tel {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  padding: .6rem .2rem;
}
.lien-tel svg { width: 1.2rem; height: 1.2rem; color: var(--orange-fonce); }
@media (hover: hover) and (pointer: fine) { .lien-tel:hover { text-decoration: underline; } }

/* ---------- Navigation en îlot ---------- */
.nav {
  position: fixed;
  inset: 1rem 0 auto;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 0 var(--marge);
  pointer-events: none;
}
.nav__ilot {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: .4rem .4rem .4rem .5rem;
  border-radius: 999px;
  background: rgba(255, 250, 242, .82);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(36, 23, 15, .07), 0 10px 30px -12px rgba(36, 23, 15, .25);
}
.nav__logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--titre); font-weight: 700; letter-spacing: -.02em; }
.nav__logo img { width: 2.6rem; height: 2.6rem; border-radius: 50%; mix-blend-mode: multiply; }
.nav__liens { display: flex; gap: 1.4rem; font-size: .95rem; }
.nav__liens a { text-decoration: none; color: var(--encre-2); transition: color 160ms var(--sortie); }
.nav__liens a:hover, .nav__liens a[aria-current] { color: var(--encre); }
.nav__liens a[aria-current] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.nav__burger { display: none; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 19;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  padding: 6rem var(--marge) 3rem;
  background: rgba(246, 239, 228, .94);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; gap: .4rem; }
.menu nav a, .menu__tel {
  font-family: var(--titre);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 700;
  letter-spacing: -.03em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity 360ms var(--sortie), transform 460ms var(--sortie);
}
.menu__tel { font-size: 1.3rem; color: var(--orange-fonce); font-variant-numeric: tabular-nums; }
.menu.est-ouvert a { opacity: 1; transform: none; }
.menu.est-ouvert a:nth-child(2) { transition-delay: 40ms; }
.menu.est-ouvert a:nth-child(3) { transition-delay: 80ms; }
.menu.est-ouvert a:nth-child(4) { transition-delay: 120ms; }
.menu.est-ouvert a:nth-child(5) { transition-delay: 160ms; }
.menu.est-ouvert .menu__tel { transition-delay: 200ms; }

@media (max-width: 860px) {
  .nav { justify-content: stretch; }
  .nav__ilot { width: 100%; justify-content: space-between; gap: .5rem; }
  .nav__liens { display: none; }
  .nav__ilot .bouton--petit { margin-left: auto; }
  .nav__burger {
    display: grid;
    place-items: center;
    position: relative;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    border-radius: 50%;
    background: var(--sable);
    cursor: pointer;
  }
  .nav__burger span {
    position: absolute;
    width: 1.1rem;
    height: 1.5px;
    background: var(--encre);
    border-radius: 2px;
    transition: transform 300ms var(--ressort);
  }
  .nav__burger span:first-child { transform: translateY(-3.5px); }
  .nav__burger span:last-child { transform: translateY(3.5px); }
  .nav__burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
}

/* ---------- Accueil : le casting ---------- */
.accueil {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: var(--large);
  min-height: 100svh;
  margin: 0 auto;
  padding: 7.5rem var(--marge) 4rem;
}
.accueil__texte { display: grid; gap: 2rem; }
.chapo { max-width: 36ch; font-size: clamp(1.1rem, 1.4vw, 1.25rem); color: var(--encre-2); line-height: 1.55; }
.accueil__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }

.casting { margin: 0; justify-self: end; width: min(100%, 440px); }
.casting__coque {
  padding: .5rem;
  border-radius: var(--rayon-coque);
  background: rgba(36, 23, 15, .045);
  box-shadow: inset 0 0 0 1px rgba(36, 23, 15, .06);
}
.casting__cadre {
  position: relative;
  aspect-ratio: 4 / 5.6;
  overflow: hidden;
  border-radius: calc(var(--rayon-coque) - .5rem);
  background: var(--studio);
  box-shadow: 0 30px 60px -30px rgba(36, 23, 15, .55), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.casting__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  clip-path: inset(100% 0 0 0);
  transform: scale(1.08);
}
.casting__img.est-visible { clip-path: inset(0 0 0 0); transform: none; }
.casting__img.entre {
  transition: clip-path 900ms var(--ressort), transform 1100ms var(--sortie);
  z-index: 2;
}
.casting__img.sort { z-index: 1; clip-path: inset(0 0 0 0); transform: none; }

.casting__etoile {
  position: absolute;
  left: -10%;
  bottom: 18%;
  width: 120%;
  z-index: 3;
  color: var(--jaune);
  pointer-events: none;
  opacity: 0;
}
.casting__etoile path { stroke-width: 3; stroke-dasharray: 460; stroke-dashoffset: 460; }
.casting__etoile polygon { fill: var(--jaune); stroke: none; }
.casting__etoile.file { animation: etoile-fond 1100ms var(--sortie) forwards; }
.casting__etoile.file path { animation: etoile-trait 1100ms var(--sortie) forwards; }
@keyframes etoile-trait { 0% { stroke-dashoffset: 460; } 60% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -460; } }
@keyframes etoile-fond { 0% { opacity: 0; transform: translateX(-6%); } 15% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: translateX(6%); } }

.casting__legende {
  display: flex;
  justify-content: space-between;
  padding: .9rem .6rem 0;
  font-size: .85rem;
  letter-spacing: .02em;
  color: var(--encre-3);
}
.casting__compteur { font-variant-numeric: tabular-nums; }
.casting__compteur b { color: var(--encre); font-weight: 600; }

/* ---------- Sections ---------- */
.section {
  max-width: var(--large);
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 9.5rem) var(--marge);
}
.entete {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr);
  gap: 1.5rem 4rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.entete__texte { display: grid; gap: 1rem; max-width: 46ch; color: var(--encre-2); }
.aide { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--encre); }
.aide svg { width: 1.2rem; height: 1.2rem; flex: none; padding: 2px; border-radius: 50%; background: var(--orange); color: var(--encre); stroke-width: 2.4; }

/* ---------- Le vestiaire ---------- */
.mur {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(.5rem, 1vw, .9rem);
}
.portrait {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--studio);
  aspect-ratio: 4 / 5;
  cursor: pointer;
  transition: transform 220ms var(--sortie), box-shadow 220ms var(--sortie);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 500ms var(--sortie); }
.portrait__n {
  position: absolute;
  left: .5rem;
  bottom: .45rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--papier);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}
.portrait__ajout {
  position: absolute;
  top: .45rem;
  right: .45rem;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(255, 250, 242, .9);
  color: var(--encre);
  transform: scale(.6);
  opacity: 0;
  transition: transform 220ms var(--sortie), opacity 180ms var(--sortie), background-color 180ms var(--sortie);
}
.portrait__ajout svg { width: 1rem; height: 1rem; stroke-width: 2.2; transition: transform 260ms var(--ressort); }
.portrait[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--creme), 0 0 0 5.5px var(--orange); }
.portrait[aria-pressed="true"] .portrait__ajout { opacity: 1; transform: none; background: var(--orange); }
.portrait[aria-pressed="true"] .portrait__ajout svg { transform: rotate(45deg); }
.portrait:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .portrait:hover img { transform: scale(1.04); }
  .portrait:hover .portrait__ajout { opacity: 1; transform: none; }
}

/* entrée du mur : les portraits montent en vague */
.js .mur li { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--sortie), transform 800ms var(--sortie); transition-delay: calc(var(--i, 0) * 28ms); }
.js .mur li.est-vu { opacity: 1; transform: none; }

.vente {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1.5rem 2.5rem;
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: var(--rayon-coque);
  background: var(--encre);
  color: var(--sur-nuit);
}
.vente h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -.02em; margin-bottom: .5rem; color: var(--papier); }
.vente p { max-width: 58ch; color: var(--sur-nuit-2); }
.vente .trou { color: var(--jaune); border-color: var(--jaune); background: rgba(255, 197, 49, .06); }

/* ---------- Structures : bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(9rem, 15vw, 13.5rem);
  gap: clamp(.6rem, 1.2vw, 1rem);
}
.bento figure { margin: 0; overflow: hidden; border-radius: var(--rayon); background: var(--sable); }
.bento img { width: 100%; height: 100%; object-fit: cover; }
.bento__a { grid-column: 1 / span 7; grid-row: span 3; }
.bento__b { grid-column: 8 / span 5; grid-row: span 2; }
.bento__c { grid-column: 8 / span 5; grid-row: span 1; }
.bento__d { grid-column: 1 / span 5; grid-row: span 2; }
.bento__e { grid-column: 6 / span 7; grid-row: span 2; }
.bento__c img { object-position: 50% 60%; }

/* ---------- Barbe à papa ---------- */
.barbe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.barbe__photos { position: relative; padding-bottom: 14%; }
.barbe figure { margin: 0; overflow: hidden; border-radius: var(--rayon); }
.barbe__grande { width: 72%; aspect-ratio: 2 / 3; }
.barbe__grande img, .barbe__petite img { width: 100%; height: 100%; object-fit: cover; }
.barbe__petite {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 4 / 3;
  border: .45rem solid var(--creme);
  border-radius: calc(var(--rayon) + .45rem);
}
.barbe__texte { display: grid; gap: 1.5rem; max-width: 34rem; color: var(--encre-2); }
.barbe__texte h2 { color: var(--encre); }
.barbe__citation { margin: .5rem 0; padding: 0; }
.barbe__citation p { font-family: var(--titre); font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.3; letter-spacing: -.015em; color: var(--encre); font-weight: 500; }
.barbe__citation cite { display: block; margin-top: .8rem; font-style: normal; font-size: .9rem; color: var(--encre-3); }

/* ---------- Pour qui ---------- */
.pourqui { padding-top: 0; }
.pourqui h2 { margin-bottom: 2rem; }
.pourqui__liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(36, 23, 15, .14); }
.pourqui__liste li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: .3rem 2rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(36, 23, 15, .14);
}
.pourqui__liste b { font-family: var(--titre); font-size: clamp(1.25rem, 2.1vw, 1.75rem); font-weight: 600; letter-spacing: -.02em; }
.pourqui__liste span { color: var(--encre-2); }
.pourqui__zone { margin-top: 1.6rem; }

/* ---------- Avis ---------- */
.avis { padding-top: clamp(3rem, 6vw, 5rem); }
.avis__tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.avis__note { text-align: right; color: var(--encre-2); line-height: 1.35; }
.avis__note b { font-family: var(--titre); font-size: 2.4rem; letter-spacing: -.03em; color: var(--encre); margin-right: .25rem; }
.avis__note span { font-size: .9rem; color: var(--encre-3); }
.avis__grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(.8rem, 1.4vw, 1.2rem); }
.avis blockquote {
  grid-column: span 4;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border-radius: var(--rayon);
  background: var(--papier);
  box-shadow: 0 1px 2px rgba(36, 23, 15, .05), 0 18px 40px -28px rgba(36, 23, 15, .35);
}
.avis blockquote p { color: var(--encre); }
.avis cite { font-style: normal; font-weight: 600; font-size: .95rem; }
.avis cite span { display: block; font-weight: 400; font-size: .85rem; color: var(--encre-3); }
.avis__une { grid-column: span 8 !important; grid-row: span 2; background: var(--jaune) !important; box-shadow: none !important; }
.avis__une p { font-family: var(--titre); font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 600; }
.avis__une cite span { color: var(--encre-2); }
.avis__grille blockquote:nth-child(4), .avis__grille blockquote:nth-child(5) { grid-column: span 6; }

/* ---------- Réserver ---------- */
.reserver {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding: clamp(4rem, 9vw, 7.5rem) max(var(--marge), calc((100% - var(--large)) / 2));
  background: var(--nuit);
  color: var(--sur-nuit);
  border-radius: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0 0;
}
.reserver__intro { display: grid; align-content: start; gap: 1.6rem; }
.reserver__intro h2 { color: var(--papier); }
.reserver__intro > p { max-width: 38ch; color: var(--sur-nuit-2); }
.contacts { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .3rem; }
.contacts a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .7rem 0;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--papier);
  font-variant-numeric: tabular-nums;
}
.contacts svg { width: 2.6rem; height: 2.6rem; padding: .62rem; border-radius: 50%; background: var(--nuit-2); color: var(--jaune); flex: none; transition: background-color 200ms var(--sortie), color 200ms var(--sortie); }
.contacts small { display: block; font-size: .78rem; color: var(--sur-nuit-2); font-weight: 400; }
@media (hover: hover) and (pointer: fine) { .contacts a:hover svg { background: var(--jaune); color: var(--encre); } }

.formulaire {
  padding: .5rem;
  border-radius: var(--rayon-coque);
  background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
}
.formulaire__coeur {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  padding: clamp(1.25rem, 2.6vw, 2.2rem);
  border-radius: calc(var(--rayon-coque) - .5rem);
  background: var(--papier);
  color: var(--encre);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}
.champ { display: grid; gap: .4rem; min-width: 0; }
.champ--large { grid-column: 1 / -1; }
.champ label, .champ legend, .champ__titre { font-size: .85rem; font-weight: 600; color: var(--encre-2); }
.champ input, .champ select, .champ textarea {
  width: 100%;
  min-height: 3rem;
  padding: .7rem .9rem;
  border: 0;
  border-radius: 10px;
  background: var(--creme);
  box-shadow: inset 0 0 0 1px rgba(36, 23, 15, .1);
  caret-color: var(--orange-fonce);
  font-size: 1rem;
  transition: box-shadow 160ms var(--sortie), background-color 160ms var(--sortie);
}
.champ textarea { resize: vertical; min-height: 6rem; }
.champ ::placeholder { color: #8d7867; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; background: var(--papier); box-shadow: inset 0 0 0 2px var(--orange); }
.champ [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #b42318; }
.envies { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.envies legend { margin-bottom: .5rem; padding: 0; }
.puce { position: relative; cursor: pointer; }
.puce input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.puce span {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--creme);
  box-shadow: inset 0 0 0 1px rgba(36, 23, 15, .12);
  font-size: .95rem;
  transition: background-color 160ms var(--sortie), box-shadow 160ms var(--sortie);
}
.puce input:checked + span { background: var(--encre); color: var(--papier); box-shadow: none; }
.puce input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }

.choisis { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; min-height: 3rem; align-items: center; }
.choisis__vide { color: var(--encre-3); font-size: .95rem; }
.choisis__vide a { color: var(--orange-fonce); font-weight: 600; }
.choisi {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .25rem .3rem .25rem .25rem;
  border-radius: 999px;
  background: var(--creme);
  box-shadow: inset 0 0 0 1px rgba(36, 23, 15, .12);
  font-size: .9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  animation: choisi-entre 260ms var(--sortie);
}
.choisi img { width: 2rem; height: 2rem; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: var(--studio); }
.choisi button { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border: 0; border-radius: 50%; background: transparent; cursor: pointer; color: var(--encre-3); }
.choisi button svg { width: .95rem; height: .95rem; stroke-width: 2; }
.choisi button:hover { background: var(--sable); color: var(--encre); }
@keyframes choisi-entre { from { opacity: 0; transform: scale(.9); } }

.formulaire__erreur { grid-column: 1 / -1; color: #b42318; font-weight: 600; font-size: .95rem; }
.formulaire__coeur .bouton--plein { grid-column: 1 / -1; margin-top: .4rem; }
.formulaire__note { grid-column: 1 / -1; font-size: .85rem; color: var(--encre-3); text-align: center; }
.reserver__horaires { margin-top: .4rem; }

/* ---------- Pied ---------- */
.pied {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem max(var(--marge), calc((100% - var(--large)) / 2)) 3rem;
  background: var(--nuit);
  color: var(--sur-nuit-2);
  font-size: .95rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.pied__marque { display: flex; align-items: center; gap: 1rem; }
.pied__marque img { width: 4rem; height: 4rem; border-radius: 50%; background: #fff; }
.pied__liens { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: 0; padding: 0; }
.pied__liens a { text-decoration: none; color: var(--sur-nuit); }
.pied__liens a:hover { text-decoration: underline; }
.pied__legal { grid-column: 1 / -1; font-size: .85rem; }

/* ---------- Pastille « ma demande » ---------- */
.demande {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 18;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .4rem 1.2rem .4rem .4rem;
  border-radius: 999px;
  background: var(--encre);
  color: var(--papier);
  text-decoration: none;
  font-size: .95rem;
  box-shadow: 0 16px 36px -14px rgba(36, 23, 15, .6);
  transform: translate(-50%, 0);
  transition: transform 320ms var(--ressort), opacity 220ms var(--sortie);
}
.demande[hidden] { display: flex; transform: translate(-50%, 160%); opacity: 0; pointer-events: none; }
.demande__vignettes { display: flex; }
.demande__vignettes img { width: 2.2rem; height: 2.2rem; border-radius: 50%; object-fit: cover; object-position: 50% 15%; background: var(--studio); box-shadow: 0 0 0 2px var(--encre); }
.demande__vignettes img + img { margin-left: -.7rem; }
.demande__texte b { font-variant-numeric: tabular-nums; }
.demande__voir { color: var(--jaune); font-weight: 600; }
.demande.rebond { animation: rebond 320ms var(--sortie); }
@keyframes rebond { 40% { transform: translate(-50%, -4px) scale(1.03); } }

/* ---------- Apparitions ---------- */
.js .revele { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--sortie), transform 900ms var(--sortie); }
.js .revele.est-vu { opacity: 1; transform: none; }

/* ---------- Adaptations ---------- */
@media (max-width: 1100px) {
  .mur { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .accueil { grid-template-columns: 1fr; min-height: 0; padding-top: 6.5rem; gap: 2.5rem; }
  .casting { justify-self: stretch; width: 100%; max-width: 440px; }
  .entete { grid-template-columns: 1fr; }
  .mur { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vente { grid-template-columns: 1fr; }
  .vente .bouton { justify-self: start; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 11rem; }
  .bento__a { grid-column: 1 / -1; grid-row: span 2; }
  .bento__b, .bento__c, .bento__d, .bento__e { grid-column: span 1; grid-row: span 1; }
  .bento__e { grid-column: 1 / -1; grid-row: span 2; }
  .barbe { grid-template-columns: 1fr; }
  .pourqui__liste li { grid-template-columns: 1fr; }
  .avis__note { text-align: left; }
  .avis blockquote, .avis__une, .avis__grille blockquote:nth-child(4), .avis__grille blockquote:nth-child(5) { grid-column: 1 / -1 !important; grid-row: auto; }
  .reserver { grid-template-columns: 1fr; border-radius: 24px 24px 0 0; }
  .formulaire__coeur { grid-template-columns: 1fr; }
  .pied { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .casting__cadre { aspect-ratio: 4 / 5; }
  .accueil__actions .bouton { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .js .revele, .js .mur li { opacity: 1; transform: none; }
  .casting__etoile { display: none; }
}

/* ---------- Retouches après relecture ---------- */
.titre-xl em { font-style: normal; color: #cf5f07; }
.accueil + .section { padding-top: clamp(3rem, 6vw, 5rem); }
.portrait::after { content: ""; position: absolute; inset: auto 0 0; height: 32%; background: linear-gradient(to top, rgba(28, 18, 12, .55), rgba(28, 18, 12, 0)); pointer-events: none; }
.portrait__n { z-index: 1; }
@media (max-width: 860px) {
  .accueil { gap: 1.5rem; padding-bottom: 2rem; }
  .accueil__texte { display: contents; }
  .accueil h1 { order: 1; }
  .casting { order: 2; }
  .chapo { order: 3; }
  .accueil__actions { order: 4; }
  .casting__cadre { aspect-ratio: 5 / 4; }
  .casting__img { object-position: 50% 12%; }
}
@media (max-width: 420px) {
  .titre-xl { font-size: 3.1rem; }
  .casting__cadre { aspect-ratio: 1 / 1; }
}
@media (max-width: 600px) {
  .mur { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; }
  .portrait { border-radius: 9px; }
  .portrait__n { left: .35rem; bottom: .3rem; font-size: .62rem; }
  .portrait__ajout { width: 1.4rem; height: 1.4rem; top: .3rem; right: .3rem; }
  .portrait[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--creme), 0 0 0 4px var(--orange); }
}
.demande { white-space: nowrap; }
@media (max-width: 860px) {
  .bento__d { grid-column: 1 / -1; grid-row: span 1; }
}
@media (max-width: 420px) {
  .demande { gap: .6rem; padding-right: 1rem; font-size: .9rem; }
  .demande__mot { display: none; }
}
.demande__vignettes, .demande__vignettes img { flex: none; }
