/* NYANGA BEAUTY — karité, ébène, indigo.
   Les photos de coiffures en plein cadre portent l'émotion ; l'interface reste calme :
   filets fins, aucune ombre portée, une seule couleur d'action (indigo).
   Titres en Gloock, texte en Hanken Grotesk 17 px. Contrastes AA minimum, AAA pour le texte courant. */

@font-face { font-family: "Gloock"; src: url("../fonts/gloock-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ebene: #2B1A12;     /* texte (14:1 sur karité) */
  --karite: #F1E2BF;    /* fond */
  --lait: #FBF5E6;      /* surfaces */
  --blanc: #FFFDF7;     /* champs */
  --cacao: #6B3F26;     /* texte secondaire (7,6:1 sur karité) */
  --or: #C8962E;        /* filets, aplats ; jamais en texte sur fond clair */
  --indigo: #23348F;    /* action principale (texte blanc 10:1) */
  --indigo-dk: #18246A;
  --safran: #E2711D;    /* motif wax uniquement */
  --line: #D8C291;      /* filets décoratifs */
  --field: #9C7F4E;     /* contour des champs (3:1 sur blanc) */
  --ok: #1E6A43;
  --danger: #A3241B;

  --display: "Gloock", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r: 8px;
  --r-panel: 14px;
  --wrap: 1240px;
  --gut: clamp(16px, 4.5vw, 48px);
  color-scheme: light;
}

html { font-size: 100%; -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0; background: var(--karite); color: var(--ebene);
  font: 400 1.0625rem/1.6 var(--body);
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--ebene); text-decoration-color: var(--or); text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
a:hover { color: var(--indigo); text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ebene); color: var(--lait); padding: 12px 18px; z-index: 40; font-weight: 600; border-radius: var(--r); }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -5000px; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); width: 100%; }

/* ————— Typographie ————— */
.h1, h1 { font: 400 clamp(2.3rem, 6vw, 3.6rem)/1.04 var(--display); margin: 0 0 .45em; letter-spacing: -.012em; }
.h2 { font: 400 clamp(2rem, 4.6vw, 3.3rem)/1.05 var(--display); margin: 0 0 .55em; letter-spacing: -.01em; }
.h3 { font: 600 1.18rem/1.3 var(--body); margin: 0 0 .7em; }
.lede { font-size: 1.15rem; line-height: 1.55; max-width: 42ch; }
.muted { color: var(--cacao); }
.hint { color: var(--cacao); font-size: .92rem; margin: .3em 0 0; font-weight: 400; }
small { font-size: .88em; }

/* ————— En-tête ————— */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px var(--gut); max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; width: 100%;
}
.lockup { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; color: var(--ebene); line-height: 1; }
.lockup:hover { color: var(--ebene); }
.lockup-main { font: 400 1.75rem/.9 var(--display); letter-spacing: .02em; }
.lockup-sub { font: 500 .66rem/1 var(--body); letter-spacing: .62em; margin-top: 6px; color: var(--cacao); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 2px 18px; flex-wrap: wrap; justify-content: flex-end; }
.nav > a, .nav .linklike { color: var(--ebene); text-decoration: none; font-weight: 600; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; padding: 10px 2px; min-height: 44px; display: inline-flex; align-items: center; }
.nav > a:hover, .nav .linklike:hover { color: var(--indigo); }
.nav .nav-cta { border: 1.5px solid var(--ebene); border-radius: 999px; padding: 6px 16px; min-height: 42px; font-weight: 600; }
.nav .nav-cta:hover { background: var(--ebene); color: var(--lait); }
.nav form { margin: 0; }
.langs { display: inline-flex; align-items: center; }
.langs a { display: grid; place-items: center; min-width: 38px; min-height: 44px; text-decoration: none; font-weight: 500; font-size: .9rem; letter-spacing: .08em; color: var(--cacao); }
.langs a + a { border-left: 1px solid var(--line); }
.langs a[aria-current] { color: var(--ebene); font-weight: 700; text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 2px; text-underline-offset: .4em; }

/* ————— Boutons : une seule couleur d'action ————— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1.1 var(--body); letter-spacing: .01em; color: #fff; background: var(--indigo);
  border: 1.5px solid var(--indigo); border-radius: var(--r); padding: 14px 24px; min-height: 50px;
  text-decoration: none; cursor: pointer;
}
.btn:hover { color: #fff; background: var(--indigo-dk); border-color: var(--indigo-dk); }
.btn-red { background: var(--indigo); }
.btn-gold, .btn-mango { background: var(--or); border-color: var(--or); color: var(--ebene); }
.btn-gold:hover, .btn-mango:hover { background: #D9A93F; border-color: #D9A93F; color: var(--ebene); }
.btn-green, .btn-wa { background: var(--ok); border-color: var(--ok); }
.btn-green:hover, .btn-wa:hover { background: #154F31; border-color: #154F31; }
.wa-dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
.btn-ghost { background: transparent; color: var(--ebene); border-color: var(--ebene); }
.btn-ghost:hover { background: var(--ebene); color: var(--lait); border-color: var(--ebene); }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: #7E1A13; border-color: #7E1A13; }
.btn-small { padding: 9px 16px; min-height: 44px; font-size: .95rem; }
.btn-block { width: 100%; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--ebene); font-weight: 500; text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 1.5px; text-underline-offset: .22em; cursor: pointer; }

/* ————— Messages ————— */
.flash {
  max-width: var(--wrap); width: calc(100% - 2 * var(--gut)); margin: 4px auto 16px; padding: 14px 18px;
  background: var(--lait); border: 1px solid var(--line); border-left: 4px solid var(--ok); border-radius: var(--r);
  font-weight: 500;
}
.flash-error { border-left-color: var(--danger); }
.flash-info { border-left-color: var(--or); }
.flash-icon { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--danger); color: #fff; font: 700 1rem/1 var(--body); }
.preview-banner { background: var(--or); color: var(--ebene); text-align: center; padding: 12px var(--gut); margin: 0; font-weight: 600; }

/* ————— Accueil : « cinéma au scroll » —————
   La scène reste fixée pendant qu'on défile (hauteur 170svh, scène collée 100svh).
   --p (0 → 1, posé par motion/cine.js) zoome la photo, fond vers le 2e plan et fait monter NYANGA.
   Mode léger / mouvements réduits : une seule photo, hauteur normale, rien ne bouge. */
.kicker { margin: 0 0 14px; font: 600 .74rem/1.2 var(--body); letter-spacing: .32em; text-transform: uppercase; color: var(--or); }
.kicker-dark { color: var(--cacao); }
.section-head .kicker { flex-basis: 100%; margin-bottom: 6px; }

.cine { --p: 0; position: relative; background: var(--ebene); color: var(--lait); }
.cine.is-live { height: 170svh; }
.cine-stage { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; display: grid; align-items: end; }
.cine-media, .cine-media img, .cine-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cine-a { object-position: 50% 45%; transform: scale(calc(1.16 - .16 * var(--p))); opacity: calc(1 - var(--p) * 1.6); will-change: transform, opacity; }
.cine-b { object-position: 50% 40%; transform: scale(calc(1.25 - .2 * var(--p))); }
.cine-video { z-index: 1; opacity: calc(1 - var(--p) * 1.6); }
.cine-media::after {   /* voile : lisibilité du texte sur n'importe quelle photo */
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(20, 12, 8, .55) 0%, rgba(20, 12, 8, .15) 30%, rgba(20, 12, 8, .55) 62%, rgba(20, 12, 8, .9) 100%);
}
.cine-copy {
  position: relative; z-index: 3; width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto;
  padding: 96px var(--gut) clamp(92px, 21vw, 260px);
  transform: translateY(calc(var(--p) * -6vh));
}
.cine h1 { color: var(--lait); font-size: clamp(2.7rem, 11vw, 6.6rem); line-height: .96; margin: 0 0 .32em; max-width: 12ch; letter-spacing: -.02em; }
.cine .lede { color: #EBDDBB; margin: 0 0 24px; max-width: 40ch; }
.cine .search { max-width: 640px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); border-color: transparent; }
.cine datalist { display: none; }
.cine-word {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: -.17em; margin: 0; text-align: center; pointer-events: none;
  font: 400 24vw/0.8 var(--display); letter-spacing: -.035em; color: var(--lait); opacity: .92; white-space: nowrap;
  transform: translateY(calc((1 - var(--p)) * 16%)) scale(calc(.94 + .06 * var(--p)));
  transform-origin: 50% 100%;
}
.hero-where { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 0 4px; font-size: .95rem; }
.hero-where a { color: #EBDDBB; text-decoration: none; padding: 8px 6px; min-height: 40px; display: inline-flex; align-items: center; }
.hero-where a:not(:last-child)::after { content: "·"; margin-left: 10px; color: var(--or); }
.hero-where a:hover { color: #fff; }
.hero-where .hero-near { color: #fff; font-weight: 600; gap: 7px; }
.cine :focus-visible { outline-color: var(--or); }

/* Titre en deux voix (sans fine + serif) */
.cine h1 { max-width: none; }
.h-sans { display: block; font: 300 clamp(1.9rem, 7.4vw, 4.4rem)/1.02 var(--body); letter-spacing: -.035em; }
.h-serif { display: block; font: 400 clamp(3.3rem, 13vw, 8rem)/.9 var(--display); letter-spacing: -.03em; }

.cine-meta {
  display: none; position: absolute; z-index: 3; top: 96px; right: var(--gut); margin: 0; gap: 22px;
  font: 500 .72rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: #CDBB97;
}
.cine-meta span + span { padding-left: 22px; border-left: 1px solid rgba(241, 226, 191, .25); }

/* Recherche de l'accueil : quoi, où, rayon */
.cine .search-hero { grid-template-columns: 1fr 1fr; }
.cine .search-hero .field:nth-of-type(2) { border-top: 0; border-left: 1px solid var(--line); border-radius: 0; }
.cine .search-hero .field-radius { border-left: 0 !important; border-top: 1px solid var(--line); }
.cine .search-hero .btn { margin: 6px 0 0 6px; width: auto; align-self: stretch; }
.search-hero select { appearance: none; background: transparent; padding-right: 0; }

/* Navigation en pilule (inspirée des sites « studio ») */
.top { position: relative; }
.nav-pill { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(251, 245, 230, .7); }
.nav .nav-pill a { padding: 8px 14px; min-height: 36px; border-radius: 999px; color: var(--ebene); text-decoration: none; font-weight: 600; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; display: inline-flex; align-items: center; }
.nav .nav-pill a:hover { background: var(--ebene); color: var(--lait); }
.page-home .nav-pill { background: rgba(255, 255, 255, .07); border-color: rgba(241, 226, 191, .22); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.page-home .nav .nav-pill a { color: var(--lait); }
.page-home .nav .nav-pill a:hover { background: var(--lait); color: var(--ebene); }

.near-far { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.near-far p { margin: 0; }

/* L'en-tête se pose sur la scène, en clair */
.page-home .top { position: absolute; left: 0; right: 0; z-index: 30; }
.page-home .lockup, .page-home .lockup:hover, .page-home .nav > a, .page-home .nav .linklike { color: var(--lait); }
.page-home .lockup-sub { color: var(--or); }
.page-home .nav .nav-cta { border-color: rgba(251, 245, 230, .7); }
.page-home .nav .nav-cta:hover { background: var(--lait); color: var(--ebene); }
.page-home .langs a { color: #CDBB97; }
.page-home .langs a[aria-current] { color: var(--lait); }
.page-home .langs a + a { border-color: rgba(251, 245, 230, .25); }
.page-home .top :focus-visible { outline-color: var(--or); }

/* « Comment ça marche » : la photo reste fixe, les étapes défilent à côté */
.story { background: var(--ebene); color: var(--lait); display: grid; }
.story-media { position: sticky; top: 0; height: 46svh; overflow: hidden; z-index: 3; }   /* téléphone : l'image reste en haut, le texte passe dessous */
.story-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s ease, transform 1.2s cubic-bezier(.22, 1, .36, 1); }
.story-img.is-on { opacity: 1; transform: none; }
.story-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, var(--ebene), transparent); }
.story-text { position: relative; z-index: 1; padding: 8px var(--gut) 72px; }
.story-head { padding: 24px 0 8px; }
.story-head .h2 { color: var(--lait); max-width: 16ch; }
.story-steps { list-style: none; margin: 0; padding: 0; }
.story-step { min-height: 46svh; display: flex; flex-direction: column; justify-content: center; padding: 28px 0; border-top: 1px solid rgba(241, 226, 191, .14); opacity: .45; transition: opacity .4s ease; }
.story-step.is-on { opacity: 1; }
.story-num { font: 400 3.2rem/1 var(--display); color: var(--or); margin-bottom: 10px; }
.story-step h3 { font: 400 2rem/1.05 var(--display); margin: 0 0 10px; color: var(--lait); }
.story-step p { margin: 0; max-width: 36ch; color: #E6D6B3; font-size: 1.08rem; }
html.lite .story-step, .story:not(:has(.is-on)) .story-step { opacity: 1; }

.search {
  display: grid; grid-template-columns: 1fr; background: var(--lait);
  border: 1px solid var(--line); border-radius: var(--r-panel); padding: 6px;
}
.search .field { margin: 0; padding: 8px 12px 2px; border-radius: var(--r); }
.search .field + .field { border-top: 1px solid var(--line); border-radius: 0; }
.search .field span { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--cacao); }
.search input, .search select { border: 0 !important; padding: 2px 0 8px; background: transparent; min-height: 42px; box-shadow: none !important; }
.search input:focus-visible, .search select:focus-visible { outline: none; }
.search .field:focus-within { box-shadow: inset 0 -2px 0 var(--indigo); }
.search .btn { width: 100%; margin-top: 6px; }

/* Choisis ton style : le nuancier de mèches */
.styles { padding: 64px 0 24px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 24px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head .h2 { margin: 0; }
.section-head p { margin: 0; flex-basis: 100%; }
.section-head > a { font-weight: 600; }
.strips {
  list-style: none; margin: 0; padding: 4px var(--gut) 18px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut);
}
.strips li { scroll-snap-align: start; }
.strip {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; isolation: isolate;
  border-radius: 999px 999px var(--r) var(--r); background: var(--cacao); color: var(--lait); text-decoration: none;
}
.strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(43, 26, 18, .85) 0%, rgba(43, 26, 18, 0) 48%); z-index: 1; }
.strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.strip-name { position: absolute; left: 18px; right: 18px; bottom: 40px; z-index: 2; font: 400 1.75rem/1.02 var(--display); }
.strip-count { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-size: .88rem; font-weight: 500; color: #EBDDBB; }
.strip:hover { color: var(--lait); }
.strip:focus-visible { outline-offset: 3px; }

/* Où que tu sois : les pays, en liste éditoriale */
.where { padding-block: 56px 16px; }
.countries { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--ebene); }
.countries li { border-bottom: 1px solid var(--line); }
.country {
  position: relative; display: grid; gap: 2px; padding: 18px 44px 18px 0; text-decoration: none; color: var(--ebene);
}
.country::after { content: "→"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--cacao); font-size: 1.2rem; transition: transform .2s ease; }
.country:hover { color: var(--ebene); }
.country:hover::after { transform: translate(4px, -50%); color: var(--indigo); }
.country-name { font: 400 1.65rem/1.1 var(--display); }
.country:hover .country-name { color: var(--indigo); }
.country-cities { color: var(--cacao); }
.country-meta { font-size: .9rem; font-weight: 500; color: var(--cacao); }

/* Talents à la une */
.talents { padding-block: 56px 16px; }
.talent { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 26px 0 30px; border-top: 1px solid var(--line); }
.talent:last-of-type { border-bottom: 1px solid var(--line); }
.talent-id { display: flex; gap: 18px; align-items: flex-start; }
.arch.arch-sm { width: 84px; flex: none; }
.talent-id > div { flex: 1; min-width: 0; }
.talent-name { font: 400 1.75rem/1.08 var(--display); margin: 0 0 4px; }
.talent-name a { text-decoration: none; }
.talent-name a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; }
.talent-meta { margin: 0; color: var(--cacao); display: flex; flex-wrap: wrap; gap: 2px 14px; }
.talent-tags { margin: 6px 0 0; font-weight: 500; }
.talent-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 14px 0 0; font-weight: 600; }
.talent-works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.talent-works img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: var(--line); }
.talent-works li:first-child img { border-radius: 50% 50% var(--r) var(--r) / 16% 16% var(--r) var(--r); }
.rating { font-weight: 600; color: var(--ebene); }
.rating > span[aria-hidden] { color: var(--cacao); }

/* Rejoins NYANGA */
.join { background: var(--ebene); color: var(--lait); display: grid; position: relative; }
.join::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; z-index: 2;
  background: radial-gradient(circle at 7px 7px, var(--or) 2.6px, transparent 3.2px) 0 0 / 28px 14px,
              radial-gradient(circle at 21px 7px, var(--safran) 2.6px, transparent 3.2px) 0 0 / 28px 14px,
              var(--indigo);
}
.join-photo { min-height: 300px; position: relative; background: var(--cacao); }
.join-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.join-copy { padding: 52px var(--gut) 60px; }
.join .h2 { color: var(--lait); }
.join p { max-width: 44ch; font-size: 1.1rem; color: #EBDDBB; }
.join-points { padding: 0; margin: 0 0 32px; list-style: none; display: grid; gap: 12px; }
.join-points li { padding-left: 28px; position: relative; }
.join-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 1.5px; background: var(--or); }
.join a:not(.btn) { color: var(--lait); }
.join :focus-visible { outline-color: var(--or); }

/* ————— Mise en page générale ————— */
.section, .profile { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 28px var(--gut) 64px; width: 100%; }
.narrow { max-width: 580px; margin: 0 auto; padding: 36px var(--gut) 72px; width: 100%; }
.center-block { text-align: center; }
.center-block .lede { margin-inline: auto; }
.two { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.panel { background: var(--lait); border-radius: var(--r-panel); padding: 24px; border: 1px solid var(--line); }
.panel-danger { border-color: var(--danger); }
.block { margin-bottom: 44px; }
.empty { padding: 26px; border: 1px dashed var(--field); border-radius: var(--r-panel); background: var(--lait); }
.empty p { margin: 0 0 .4em; }

/* Résultats de recherche */
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
.card-link { display: flex; flex-direction: column; height: 100%; color: var(--ebene); text-decoration: none; }
.card-link:hover { color: var(--ebene); }
.card-link:hover .card-name { color: var(--indigo); }
.card-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); border-radius: 50% 50% var(--r) var(--r) / 16% 16% var(--r) var(--r); }
.card-link .arch { border-radius: 50% 50% var(--r) var(--r) / 16% 16% var(--r) var(--r); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.card-link:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 2px 0; flex: 1; }
.card-name { font: 400 1.35rem/1.1 var(--display); }
.card-city { color: var(--cacao); font-size: .92rem; }
.card-tags { font-size: .88rem; font-weight: 500; }
.card-foot { display: flex; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 8px; font-weight: 600; font-size: .92rem; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 10px; }
.count { font-weight: 600; color: var(--cacao); }

/* Portrait : miroir de salon (arche), initiales toujours dessous */
.arch {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; width: 100%;
  border-radius: 999px 999px var(--r) var(--r); overflow: hidden; background: var(--ebene); isolation: isolate;
}
.arch::after { content: ""; position: absolute; inset: 5px; border-radius: inherit; border: 1.5px solid var(--or); z-index: 2; pointer-events: none; }
.arch-initials { font: 400 2.4rem/1 var(--display); color: var(--or); }
.arch-sm .arch-initials { font-size: 1.5rem; }
.arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.arch-lg { width: 150px; flex: none; }

/* Fiche pro */
.profile-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.profile-head.has-cover { display: block; }
.profile-cover { margin: -28px calc(-1 * var(--gut)) 0; }
.profile-cover img { width: 100%; height: clamp(300px, 52vh, 560px); object-fit: cover; object-position: 50% 35%; }
.profile-id { display: flex; flex-direction: column; gap: 16px; }
.has-cover .profile-id { position: relative; margin-top: 16px; }
.has-cover .arch-lg { width: 112px; margin-top: -84px; box-shadow: 0 0 0 5px var(--karite); }
.profile-head .h1 { font-size: clamp(2.5rem, 7vw, 4.4rem); margin-bottom: .1em; }
.profile-meta { color: var(--cacao); font-size: 1.05rem; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.contact { display: flex; flex-wrap: wrap; gap: 10px; }
.price-from { color: var(--ebene); font-weight: 600; }
.profile-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
.bio { max-width: 62ch; }
.works { margin-bottom: 44px; }
.works-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.works-grid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: var(--line); }
.works-grid-edit li { display: grid; gap: 6px; }
.works-panel { margin-top: 22px; display: grid; gap: 16px; }
.works-panel .h3, .works-panel > p { margin: 0; }

/* Tarifs : nom, pointillés, prix */
.menu { list-style: none; padding: 0; margin: 0; }
.menu li { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.menu-name { font-weight: 600; display: flex; flex-direction: column; }
.menu-name small { font-weight: 400; color: var(--cacao); }
.menu-leader { flex: 1; border-bottom: 1.5px dotted var(--or); min-width: 24px; transform: translateY(-6px); }
.menu-price { font: 400 1.25rem/1 var(--display); white-space: nowrap; }
.menu-edit form { margin: 0; flex-basis: 100%; text-align: right; }
.hours { margin: 0; display: grid; max-width: 380px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours .closed { color: var(--cacao); }

.booking { background: var(--lait); border-radius: var(--r-panel); padding: 24px; border: 1px solid var(--line); scroll-margin-top: 16px; }
.booking-title { font: 400 1.6rem/1.1 var(--display); }
.reviews { list-style: none; padding: 0; margin: 0 0 16px; display: grid; }
.reviews li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.reviews p { margin: 0 0 .4em; }
.review-stars { color: var(--cacao); letter-spacing: .12em; }
.report-link { text-align: right; font-size: .92rem; }
.disclose summary { cursor: pointer; font-weight: 600; padding: 10px 0; min-height: 44px; }
.disclose[open] summary { margin-bottom: 12px; }

/* ————— Formulaires ————— */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; margin: 0; }
.field > span { font-weight: 600; }
.field small { font-weight: 400; color: var(--cacao); }
input, select, textarea {
  font: inherit; color: var(--ebene); width: 100%; min-height: 50px;
  padding: 12px 14px; border-radius: var(--r); border: 1.5px solid var(--field); background: var(--blanc);
}
::placeholder { color: #8A6C4F; opacity: 1; }
textarea { resize: vertical; min-height: 0; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--indigo); outline-offset: 1px; border-color: var(--indigo); }
input[type="checkbox"], input[type="radio"] { width: 22px; height: 22px; min-height: 0; accent-color: var(--indigo); flex: none; margin: 2px 0 0; }
input[type="file"] { padding: 10px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check-strong { font-weight: 600; padding: 14px; background: var(--karite); border-radius: var(--r); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.choices { display: grid; gap: 12px; }
.alt { margin-top: 20px; text-align: center; }

.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; flex-wrap: wrap; }
.rating-input legend { width: 100%; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label { cursor: pointer; font-size: 2rem; line-height: 1; color: var(--line); min-width: 44px; min-height: 44px; display: grid; place-items: center; }
.rating-input label::before { content: "★"; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--or); }
.rating-input input:focus-visible + label { outline: 3px solid var(--indigo); border-radius: 4px; }

/* Jours et créneaux */
.days-row { display: grid; grid-auto-flow: column; grid-auto-columns: 64px; gap: 8px; overflow-x: auto; padding: 4px 4px 10px; scroll-snap-type: x proximity; }
.day { position: relative; display: grid; justify-items: center; gap: 1px; padding: 8px 4px; border: 1px solid var(--line); border-radius: var(--r); background: var(--blanc); cursor: pointer; scroll-snap-align: start; }
.day input { position: absolute; opacity: 0; inset: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.day-dow { font-size: .78rem; font-weight: 600; color: var(--cacao); text-transform: uppercase; letter-spacing: .04em; }
.day-num { font: 400 1.5rem/1.1 var(--display); }
.day-month { font-size: .76rem; color: var(--cacao); }
.day:hover { border-color: var(--cacao); }
.day:has(input:checked) { background: var(--ebene); border-color: var(--ebene); color: var(--lait); }
.day:has(input:checked) .day-dow, .day:has(input:checked) .day-month { color: var(--or); }
.day:has(input:focus-visible) { outline: 3px solid var(--indigo); outline-offset: 2px; }
.day.is-closed { opacity: .55; cursor: not-allowed; background: transparent; border-style: dashed; }
.day.is-closed input { cursor: not-allowed; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 8px; min-height: 50px; border-radius: var(--r); }
.slot-grid .time-fallback { grid-column: 1 / -1; }
.slot { position: relative; display: grid; place-items: center; min-height: 46px; border: 1px solid var(--line); border-radius: var(--r); background: var(--blanc); font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; }
.slot:hover { border-color: var(--cacao); }
.slot input { position: absolute; inset: 0; opacity: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.slot:has(input:checked) { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.slot:has(input:focus-visible) { outline: 3px solid var(--indigo); outline-offset: 2px; }
.slot.is-taken { color: #8A6C4F; background: transparent; border-style: dashed; text-decoration: line-through; cursor: not-allowed; }
.slot.is-taken input { cursor: not-allowed; }
.slot-note { grid-column: 1 / -1; margin: 0; color: var(--cacao); }
.recap { margin: 0; padding: 12px 14px; border-radius: var(--r); background: var(--karite); font-weight: 600; }

/* Barre « Réserver » collée en bas sur mobile */
.sticky-book {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 15;
  display: flex; justify-content: center; align-items: center; min-height: 56px; border-radius: var(--r);
  background: var(--indigo); color: #fff; font-weight: 600; font-size: 1.05rem; text-decoration: none;
  box-shadow: 0 8px 24px rgba(43, 26, 18, .25);
}
.sticky-book:hover { color: #fff; background: var(--indigo-dk); }
body:has(.sticky-book) main { padding-bottom: 84px; }

/* Recherche : pastilles des styles */
.pills { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 10px; margin-bottom: 14px; scrollbar-width: none; }
.pills::-webkit-scrollbar, .strips::-webkit-scrollbar, .days-row::-webkit-scrollbar { display: none; }
.strips, .days-row { scrollbar-width: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 4px 16px 4px 4px; min-height: 46px; border-radius: 999px; border: 1px solid var(--line); background: var(--lait); color: var(--ebene); text-decoration: none; font-weight: 500; }
.pill img, .pill-all { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--cacao); flex: none; }
.pill-all { display: inline-block; background: conic-gradient(var(--or) 0 33%, var(--indigo) 0 66%, var(--cacao) 0); }
.pill:hover { border-color: var(--cacao); color: var(--ebene); }
.pill.is-on { background: var(--ebene); border-color: var(--ebene); color: var(--lait); }
.results:focus { outline: none; }
.search-inline { margin: 6px 0 24px; }

/* Après une demande : prévenir la pro en un message */
.sent {
  max-width: var(--wrap); width: calc(100% - 2 * var(--gut)); margin: 0 auto 18px; padding: 18px 20px;
  background: var(--lait); border: 1px solid var(--line); border-left: 4px solid var(--ok); border-radius: var(--r);
  display: grid; gap: 10px; justify-items: start;
}
.sent .h3, .sent p { margin: 0; }
.sent + .profile .profile-cover { margin-top: 0; }
.verified { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; font-size: .85rem; font-weight: 600; color: var(--ok); }
.verified::before { content: "✓"; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--ok); color: #fff; font-size: .7rem; }
.booking-item.is-just { border-color: var(--ok); box-shadow: 0 0 0 2px rgba(30, 106, 67, .18); }

/* Autour de moi */
.near { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: -10px 0 22px; }
.near-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 18px 8px 14px; cursor: pointer;
  font: 600 1rem/1 var(--body); color: var(--ebene); background: var(--lait); border: 1.5px solid var(--ebene); border-radius: 999px;
}
.near-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.near-btn svg circle:first-child { fill: currentColor; stroke: none; }
.near-btn:hover { background: var(--ebene); color: var(--lait); }
.near-btn[aria-pressed="true"] { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.near-status { margin: 0; font-size: .92rem; color: var(--cacao); flex: 1 1 260px; }
.near-status.is-error { color: var(--danger); font-weight: 600; }
.near-far { margin: -4px 0 18px; padding: 10px 14px; background: var(--lait); border-left: 4px solid var(--or); border-radius: var(--r); }
.card-km { display: inline-flex; align-items: center; gap: 5px; font-size: .9rem; font-weight: 600; color: var(--indigo); }
.card-km svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.hero-near svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.hero-near svg circle:first-child { fill: currentColor; stroke: none; }
.locate { display: grid; gap: 8px; padding: 14px 16px; background: var(--karite); border-radius: var(--r); }
.locate legend { float: left; width: 100%; margin: 0; }
.locate-status { margin: 0; font-weight: 500; }
.locate-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0; }
.locate-actions:empty { display: none; }

/* Espace pro */
.subnav { display: flex; gap: 4px; flex-wrap: wrap; margin: -6px 0 28px; border-bottom: 1px solid var(--line); }
.subnav a { padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; color: var(--cacao); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subnav a:hover { color: var(--ebene); }
.subnav a[aria-current] { color: var(--ebene); border-bottom-color: var(--indigo); font-weight: 600; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs a { padding: 8px 16px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 999px; text-decoration: none; color: var(--ebene); font-weight: 500; border: 1px solid var(--line); background: var(--lait); }
.tabs a:hover { border-color: var(--cacao); }
.tabs a[aria-current] { background: var(--ebene); border-color: var(--ebene); color: var(--lait); }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; margin: 0 0 6px; }
.status::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--cacao); }
.status-wait::before { background: var(--or); }
.list { padding-left: 20px; margin: 0 0 12px; }
.list li { margin-bottom: 6px; }
.profile-edit { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.portrait-panel { display: grid; gap: 16px; }
.portrait-panel .arch { width: min(200px, 100%); }
.portrait-panel form { margin: 0; }

.gauge { display: grid; gap: 20px; margin-bottom: 24px; align-items: center; }
.gauge-steps { list-style: none; counter-reset: g; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.gauge-steps li { counter-increment: g; display: flex; gap: 12px; align-items: center; }
.gauge-steps li::before {
  content: counter(g); flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid var(--or); font: 400 1rem/1 var(--display); color: var(--cacao); background: var(--blanc);
}
.gauge-steps li.is-done::before { content: "✓"; font-family: var(--body); background: var(--ok); border-color: var(--ok); color: #fff; }
.gauge-steps a { color: var(--ebene); text-decoration: none; display: flex; flex-wrap: wrap; gap: 0 8px; }
.gauge-steps a span { color: var(--cacao); }
.gauge-steps a:hover strong { text-decoration: underline; text-decoration-color: var(--or); }
.gauge-braid { position: relative; height: 260px; display: grid; place-items: center; border-radius: var(--r-panel); background: radial-gradient(ellipse at 50% 40%, var(--blanc) 0%, var(--karite) 78%); overflow: hidden; }
.gauge-braid canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.gauge-braid.has-3d .gauge-fallback { display: none; }
.gauge-fallback { width: 120px; height: 120px; border-radius: 26px; }

.hours-form { display: grid; gap: 4px; max-width: 660px; }
.hours-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; align-items: end; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours-day { grid-column: 1 / -1; font-weight: 600; }
.hours-row.is-off .field { opacity: .45; }

.bookings { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.booking-item { display: grid; grid-template-columns: 1fr; gap: 8px; background: var(--lait); border: 1px solid var(--line); border-left: 4px solid var(--or); border-radius: var(--r); padding: 16px 18px; }
.booking-accepted { border-left-color: var(--ok); }
.booking-declined, .booking-cancelled { border-left-color: var(--line); opacity: .8; }
.booking-when { font: 400 1.3rem/1.15 var(--display); display: flex; flex-direction: column; }
.booking-when small { font: 400 .88rem var(--body); color: var(--cacao); }
.booking-what { display: grid; gap: 2px; }
.booking-what p { margin: 4px 0 0; }
.booking-actions { display: flex; gap: 10px; margin: 0; flex-wrap: wrap; }
.tag { justify-self: start; font-size: .85rem; font-weight: 600; background: var(--karite); padding: 2px 10px; border-radius: 999px; margin-top: 4px; }

/* Admin */
.mod { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mod li { display: flex; flex-direction: column; gap: 14px; background: var(--lait); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.mod p { margin: .4em 0 0; }
.actions { display: flex; gap: 10px; align-items: flex-start; }
.table-wrap { overflow-x: auto; background: var(--lait); border-radius: var(--r); border: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-size: .85rem; color: var(--cacao); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.table form { margin: 0; }

.prose p, .prose li { max-width: 66ch; }
.prose .h3 { margin-top: 2em; }
.draft { background: var(--lait); border-left: 4px solid var(--or); padding: 12px 16px; border-radius: var(--r); font-weight: 500; }

/* ————— Pied de page ————— */
.foot { background: var(--ebene); color: #E6D6B3; margin-top: 64px; }
main:has(> .join:last-child) + .foot { margin-top: 0; }
/* Liseré wax : pastilles or et safran sur indigo */
.wax-band {
  height: 14px;
  background: radial-gradient(circle at 7px 7px, var(--or) 2.6px, transparent 3.2px) 0 0 / 28px 14px,
              radial-gradient(circle at 21px 7px, var(--safran) 2.6px, transparent 3.2px) 0 0 / 28px 14px,
              var(--indigo);
}
main:has(> .join:last-child) + .foot .wax-band { display: none; }
.foot-inner { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 44px var(--gut) 52px; display: grid; gap: 32px; }
.foot p { max-width: 38ch; }
.foot-countries { display: flex; flex-wrap: wrap; gap: 6px; }
.foot-countries span { border: 1px solid rgba(241, 226, 191, .3); padding: 2px 12px; border-radius: 999px; font-size: .86rem; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.foot-links a { color: var(--lait); display: inline-block; padding: 7px 0; text-decoration-color: rgba(200, 150, 46, .6); }
.foot-links a:hover { color: var(--or); }
.foot :focus-visible { outline-color: var(--or); }
.lockup-foot { color: var(--lait); }
.lockup-foot .lockup-sub { color: var(--or); }
.foot-net { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: #CDBB97; }
.foot-net::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--or); }

/* Invitation à installer la PWA */
.install {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%);
  width: min(540px, calc(100% - 32px)); display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--lait); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 12px 16px; z-index: 20;
  box-shadow: 0 12px 32px rgba(43, 26, 18, .2);
}
.install p { margin: 0; flex: 1; font-weight: 600; min-width: 180px; }

/* Connexion lente : même affichage, sans mouvement (voir motion.css) */
html.lite .card-media img, html.lite .card-link:hover .card-media img { transform: none; }

/* ————— Tablette ————— */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 34px 22px; }
  .two { grid-template-columns: 1fr 1fr; }
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .search { grid-template-columns: 1fr 1fr auto; align-items: stretch; }
  .search .field + .field { border-top: 0; border-left: 1px solid var(--line); }
  .search .btn { width: auto; margin: 0; padding-inline: 28px; }
  .search-inline { grid-template-columns: 1fr 1fr 1fr auto; }
  .booking-item { grid-template-columns: 200px minmax(0, 1fr) auto; gap: 20px; align-items: center; }
  .mod li { flex-direction: row; justify-content: space-between; }
  .hours-row { grid-template-columns: 170px 1fr 1fr; }
  .hours-day { grid-column: auto; align-self: center; }
  .foot-inner { grid-template-columns: 1.4fr 1fr; }
  .countries { grid-template-columns: repeat(2, 1fr); column-gap: 32px; border-top: 0; }
  .countries li { border-top: 1px solid var(--ebene); border-bottom: 0; }
  .gauge { grid-template-columns: minmax(0, 1fr) 280px; }
  .gauge-braid { height: 320px; }
  .talent-works { gap: 10px; }
}

/* ————— Ordinateur ————— */
@media (min-width: 900px) {

  .cine-copy { padding-bottom: clamp(150px, 19vw, 300px); }
  .cine-copy > * { max-width: 640px; }
  .cine-copy > .search-hero { max-width: 760px; }
  .cine-meta { display: flex; }
  .cine .search-hero { grid-template-columns: 1.2fr 1.2fr .8fr auto; }
  .cine .search-hero .field + .field { border-top: 0; border-left: 1px solid var(--line); }
  .cine .search-hero .field-radius { border-left: 1px solid var(--line) !important; border-top: 0; }
  .cine .search-hero .btn { margin: 0; align-self: stretch; }
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .story-media { height: 100vh; z-index: 1; }
  .story-media::after { display: none; }
  .story-text { padding: 0 clamp(32px, 6vw, 96px) 12vh; }
  .story-head { padding: 18vh 0 4vh; }
  .story-step { min-height: 64vh; }
  .story-step h3 { font-size: 2.6rem; }
  .styles { padding-top: 96px; }
  .strips {
    display: flex; gap: 10px; overflow: visible; height: clamp(440px, 64vh, 640px);
    max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding-bottom: 0;
  }
  .strips li { flex: 1 1 0; min-width: 0; transition: flex-grow .6s cubic-bezier(.22, 1, .36, 1); }
  .strips:not(:hover):not(:focus-within) li:first-child, .strips li:hover, .strips li:focus-within { flex-grow: 5; }
  .strip { aspect-ratio: auto; height: 100%; }
  .strip-name { writing-mode: vertical-rl; transform: rotate(180deg); left: 50%; right: auto; bottom: 22px; margin-left: -.55em; font-size: 1.6rem; white-space: nowrap; }
  .strip-count { opacity: 0; transition: opacity .3s ease; }
  .strips:not(:hover):not(:focus-within) li:first-child .strip-name, .strips li:hover .strip-name, .strips li:focus-within .strip-name {
    writing-mode: horizontal-tb; transform: none; left: 26px; right: 26px; margin-left: 0; bottom: 48px; font-size: 2.4rem; white-space: normal;
  }
  .strips:not(:hover):not(:focus-within) li:first-child .strip-count, .strips li:hover .strip-count, .strips li:focus-within .strip-count { opacity: 1; left: 26px; bottom: 22px; }

  .where, .talents { padding-top: 88px; }
  .countries { grid-template-columns: repeat(5, 1fr); column-gap: 24px; }
  .country { padding-right: 24px; }
  .country::after { top: auto; bottom: 18px; transform: none; }
  .country:hover::after { transform: translateX(4px); }

  .talent { grid-template-columns: 380px minmax(0, 1fr); gap: 48px; align-items: center; padding: 40px 0; }
  .talent:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) 380px; }
  .talent:nth-of-type(even) .talent-id { order: 2; }
  .arch.arch-sm { width: 110px; }
  .talent-name { font-size: 2.2rem; }

  .join { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); min-height: 560px; }
  .join-copy { padding: 80px clamp(32px, 6vw, 104px); align-self: center; }
  .profile-id { flex-direction: row; align-items: flex-end; gap: 30px; }
  .has-cover .arch-lg { width: 160px; margin-top: -120px; }
  .arch-lg { width: 200px; }
  .profile-cover { margin: 0; border-radius: var(--r-panel); overflow: hidden; }
  .profile-cols { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; }
  .booking { position: sticky; top: 16px; }
  .sticky-book { display: none; }
  body:has(.sticky-book) main { padding-bottom: 0; }
  .profile-edit { grid-template-columns: 300px minmax(0, 1fr); }
  .works-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ————— Téléphone : en-tête sur une seule ligne, recherche visible sans défiler ————— */
@media (max-width: 599px) {
  .top { padding-block: 10px; flex-wrap: nowrap; }
  .nav { flex-wrap: nowrap; gap: 0 12px; }
  .nav-hide-sm { display: none !important; }                /* « Trouver », « Connexion » : accessibles ailleurs */
  .nav .nav-cta { padding: 6px 14px; min-height: 40px; white-space: nowrap; }
  .langs a[aria-current] { display: none; }                 /* on ne montre que l'autre langue */
  .langs a + a { border-left: 0; }
  .lockup-main { font-size: 1.5rem; }
  .lockup-sub { letter-spacing: .5em; font-size: .6rem; }

  .cine-copy { padding-top: 84px; }
  .cine .kicker { letter-spacing: .2em; font-size: .68rem; }
  .cine .lede { font-size: 1rem; margin-bottom: 18px; }
  .search .field { padding: 6px 12px 0; }
  .search input, .search select { min-height: 38px; padding-bottom: 6px; }

  .search-inline { grid-template-columns: 1fr 1fr; }
  .search-inline .field + .field { border-top: 0; border-left: 1px solid var(--line); }
  .search-inline .field:nth-of-type(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .search-inline .btn { grid-column: 1 / -1; min-height: 46px; }
  .section > .h1:first-child { font-size: 2.1rem; margin-bottom: .35em; }
  .near { margin: -12px 0 14px; }
  .near-btn { min-height: 42px; }
  .near-status { flex-basis: 100%; font-size: .85rem; }

  .contact .btn-wa, .contact .btn-ghost { flex: 1 1 0; padding-inline: 10px; }
  .contact .btn-red { flex-basis: 100%; }
}
@media (max-width: 420px) {
  .row { grid-template-columns: 1fr; }
}

@media (display-mode: standalone) { .top { padding-top: max(14px, env(safe-area-inset-top)); } }
@media (forced-colors: active) { .btn, .panel, .search, .booking, .day, .slot { border: 1px solid CanvasText; } }

@media (max-height: 700px) and (max-width: 599px) { .cine .lede { display: none; } }

@media (min-width: 1180px) { .nav-pill { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); } }
@media (min-width: 600px) and (max-width: 1179px) { .nav-pill a:last-child { display: none; } .nav > a.nav-hide-sm { display: none; } }
@media (max-width: 899px) { .nav-pill { display: none !important; } .nav { flex-wrap: nowrap; } }
