/* ═══════════════════════════════════════════════════════════
   RÉALISATEUR WEB — site.css
   Sections ajoutées au template (cahier d'évolution v1, 24/09/2026) :
   hero enrichi, menu complet, expertises, applications, productions
   éditorialisées, studio, avis, contact, footer complet.
   Mêmes tokens que styles.css — aucune couleur en dur hors accent.
   RÈGLE : le rouge (--lime) sert aux aplats, filets et repères — JAMAIS
   à la couleur d'un texte (illisible sur les caractères fins).
   ═══════════════════════════════════════════════════════════ */

/* ═══════════ UTILITAIRES & ACCESSIBILITÉ ═══════════ */
.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 300;
  background: var(--lime); color: var(--lime-ink);
  padding: 10px 14px; border-radius: var(--radius);
  font-family: var(--mono); font-size: 12px; text-transform: uppercase;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

/* boutons & liens fléchés */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 22px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
  text-transform: uppercase; line-height: 1.2;
  border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: filter .3s, background .3s, border-color .3s, color .3s;
}
.btn-primary { background: var(--lime); color: var(--lime-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: rgba(var(--ink-rgb), 0.28); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.link-arrow { position: relative; display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.link-arrow::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0.35); transform-origin: left;
  transition: transform .45s var(--ease-inout);
}
.link-arrow:hover::after { transform: scaleX(1); }

/* titres de section */
.sec-head { max-width: 920px; margin: 0 auto 8vh; text-align: center; }
.sec-head--row {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; text-align: left;
}
.sec-title { font-size: var(--t-heading); letter-spacing: -0.02em; line-height: 1.08; margin: 14px 0 12px; text-wrap: balance; }
.sec-sub { color: var(--ash); max-width: 38em; margin: 0 auto; }
.sec-cta { text-align: center; margin-top: 7vh; }

/* ═══════════ LOGO (loader + menu) ═══════════ */
.loader-wordmark img, .dock-wordmark img { display: block; height: 1.5em; width: auto; border-radius: 0; }
.logo-icon { display: none !important; }

/* ═══════════ MENU ═══════════ */
.dock-nav { align-items: center; }
.dock-link { font-size: 11px; white-space: nowrap; }
.dock-burger {
  display: none;
  width: 38px; height: 34px; margin-left: 2px;
  background: transparent; border: 1px solid rgba(var(--ink-rgb), 0.22);
  border-radius: var(--radius); cursor: pointer; position: relative;
}
.dock-burger i {
  position: absolute; left: 11px; right: 11px; height: 1px; background: var(--ink);
  transition: transform .35s var(--ease-inout), top .35s var(--ease-inout);
}
.dock-burger i:nth-of-type(1) { top: 13px; }
.dock-burger i:nth-of-type(2) { top: 20px; }
.dock.is-open .dock-burger i:nth-of-type(1) { top: 16px; transform: rotate(45deg); }
.dock.is-open .dock-burger i:nth-of-type(2) { top: 16px; transform: rotate(-45deg); }
.dock-cta { white-space: nowrap; }

/* sous 1180 px : les 6 liens passent dans un panneau déroulant */
@media (max-width: 1180px) {
  .dock .dock-burger { display: block; }
  .dock .dock-nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: calc(100% + 6px); right: 0;
    min-width: 260px; margin: 0; padding: 8px;
    background: var(--white); border-radius: var(--radius);
    border: 1px solid rgba(var(--ink-rgb), 0.08);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s .3s;
  }
  .dock.is-open .dock-nav {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
  }
  .dock .dock-nav .dock-link { display: block; padding: 13px 12px; font-size: 12px; }
  .dock .dock-nav .dock-link:first-child { display: block; }
  .dock .dock-nav .dock-link::after { left: 12px; right: auto; width: 40px; }
}
@media (max-width: 900px) {
  .dock .dock-cta { margin-left: auto; }
  .dock .dock-nav { left: 0; right: 0; min-width: 0; }
}
@media (max-width: 479px) {
  .logo-full { display: none !important; }
  .logo-icon { display: block !important; }
  .dock { padding: 9px 10px 9px 12px; gap: 8px; }
  .dock .dock-cta { padding: 9px 10px; font-size: 10.5px; }
}

/* ═══════════ 1 · HERO ═══════════ */
.hero-extra {
  margin-top: 30px; max-width: 640px; padding: 0 var(--gutter);
  pointer-events: auto;
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.hero-intro { font-size: 18px; line-height: 1.45; color: rgba(var(--ink-rgb), 0.78); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
body.is-scrolled .hero-extra { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.spot-intro { font-size: var(--t-heading); }

/* ═══════════ 2 · CONVICTION ═══════════ */
.fill-wrap { width: min(880px, 74vw); }
.fill-wrap .fill-text { width: auto; }
.fill-title {
  font-size: clamp(22px, 2.1vw, 30px); letter-spacing: -0.015em; line-height: 1.2;
  color: var(--ink); margin-bottom: 30px; max-width: 28em; text-wrap: balance;
}
/* l'accent passe par un filet, pas par la couleur du texte */
.fill-title::before { content: ''; display: block; width: 44px; height: 3px; background: var(--lime); margin-bottom: 18px; }

/* ═══════════ 3 · EXPERTISES — recouvre la conviction sur place ═══════════ */
.xp {
  position: relative; z-index: 2;
  margin-top: -100vh;
  background: var(--white);
  padding: 14vh var(--gutter) 12vh;
}
.xp-list { border-bottom: 1px solid var(--ink-faint); }
.xp-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(200px, 1.05fr) minmax(0, 1.6fr) auto;
  grid-template-areas: "num name pitch cta" "num name tags cta";
  column-gap: clamp(20px, 3vw, 48px); row-gap: 14px;
  align-items: start;
  padding: 34px 0;
  border-top: 1px solid var(--ink-faint);
}
.xp-item::before {
  content: ''; position: absolute; inset: 0 calc(-1 * var(--gutter));
  background: rgba(var(--ink-rgb), 0.035);
  opacity: 0; transition: opacity .4s var(--ease-out); pointer-events: none;
}
.xp-item:hover::before { opacity: 1; }
.xp-num { grid-area: num; color: var(--ash); padding-top: 12px; transition: color .3s; }
.xp-name {
  grid-area: name;
  font-size: clamp(30px, 3.3vw, 48px); letter-spacing: -0.02em; line-height: 1.02;
  transition: transform .5s var(--ease-out);
}
.xp-pitch { grid-area: pitch; font-size: 19px; line-height: 1.42; max-width: 30em; padding-top: 8px; }
.xp-tags { grid-area: tags; display: flex; flex-wrap: wrap; gap: 8px; }
.xp-tags li {
  font-size: 11px; padding: 6px 10px;
  border: 1px solid var(--ink-faint); border-radius: 40px; color: var(--ash);
}
.xp-cta { grid-area: cta; align-self: center; white-space: nowrap; color: var(--ink); }
.xp-item:hover .xp-num { color: var(--ink); }
.xp-item::after { content: ''; position: absolute; left: 0; top: -1px; width: 64px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.xp-item:hover::after { transform: scaleX(1); }
.xp-item:hover .xp-name { transform: translateX(10px); }

/* ═══════════ 4 · APPLICATIONS WEB ═══════════ */
.apps {
  position: relative; z-index: 2;
  background: var(--bone);
  padding: 16vh var(--gutter) 14vh;
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
  max-width: 1320px; margin: 0 auto;
}
.app-card {
  position: relative; overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(var(--ink-rgb), 0.07);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 40px);
  display: flex; flex-direction: column; gap: 16px;
}
.app-card { padding-top: clamp(80px, 8vw, 120px); }
.app-card--une::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--lime);
}
.app-num {
  position: absolute; top: 10px; right: 22px;
  font-size: clamp(90px, 10vw, 170px); font-weight: 300; line-height: 1;
  letter-spacing: -0.05em; color: var(--ink-faint); pointer-events: none;
}
.app-num { font-size: clamp(64px, 6vw, 100px); }
.app-visual { margin: calc(-1 * clamp(24px, 2.6vw, 40px)); margin-bottom: 8px; }
.app-visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.app-type { color: var(--ink); position: relative; padding-left: 16px; }
.app-type::before { content: ''; position: absolute; left: 0; top: 0.45em; width: 7px; height: 7px; background: var(--lime); }
.app-name { font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -0.02em; line-height: 1.05; position: relative; }
.app-story { display: grid; gap: 10px; position: relative; }
.app-story { gap: 16px; }
.app-story div { display: grid; gap: 4px; }
.app-story dt { color: var(--ash); font-size: 11px; }
.app-story dd { font-size: 17px; line-height: 1.4; }

/* ═══════════ 5 · NOS PRODUCTIONS ═══════════ */
/* la section Applications (fond noir) a été retirée : la collection prend son
   fond pour que deux sections voisines n'aient jamais la même couleur */
.collection { margin-top: 0; background: var(--bone); }
.card-img { display: block; position: relative; overflow: hidden; clip-path: inset(0 round var(--radius)); isolation: isolate; }
.prod-card .card-img img { height: auto; }
.prod-over {
  position: absolute; inset: -2px; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  padding: 22px;
  background: linear-gradient(to top, rgba(12, 11, 10, 0.96) 0%, rgba(12, 11, 10, 0.86) 55%, rgba(12, 11, 10, 0.6) 100%);
  color: #f2f1ec;
  opacity: 0; transition: opacity .45s var(--ease-out);
}
.prod-resume { font-size: 18px; line-height: 1.35; transform: translateY(12px); transition: transform .6s var(--ease-out); }
.prod-cta { color: #f2f1ec; }
.prod-cta::before { content: ''; display: inline-block; width: 18px; height: 1px; background: var(--lime); vertical-align: middle; margin-right: 10px; }
.prod-card:hover .prod-over, .card-img:focus-visible .prod-over { opacity: 1; }
.prod-card:hover .prod-resume { transform: translateY(0); }
/* sans survol possible (tactile), l'affiche seule mène à la fiche */
@media (hover: none) {
  .prod-over { display: none; }
}

/* ═══════════ 6 · DEVISE — plus courte, avec définition ═══════════ */
.motto-kicker { font-size: 12px; font-weight: 400; opacity: 1; }
.motto-hint {
  font-family: var(--sans); font-size: clamp(17px, 1.55vw, 23px);
  text-transform: none; letter-spacing: -0.005em; line-height: 1.35;
  max-width: min(34em, 84vw); bottom: 12vh;
}

/* ═══════════ 8 · LE STUDIO ═══════════ */
.studio {
  position: relative; z-index: 2;
  background: var(--white);
  padding: 16vh var(--gutter);
  display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 110px); align-items: center;
}
.studio-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); max-width: 520px; width: 100%; justify-self: end; }
.studio-photo img { width: 100%; height: 100%; object-fit: cover; }
.studio-photo.is-placeholder {
  background: var(--bone); border: 1px solid rgba(var(--ink-rgb), 0.08);
  display: flex; align-items: center; justify-content: center;
}
.studio-ph { width: 46%; }
.studio-ph img { width: 100%; height: auto; object-fit: contain; }
.studio-copy { max-width: 620px; }
.studio-text { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; margin-top: 8px; }
.studio-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px;
  margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--ink-faint);
}
.studio-facts dd { margin-top: 6px; font-size: 17px; line-height: 1.35; }

/* ═══════════ 9 · AVIS ═══════════ */
.reviews {
  position: relative; z-index: 2;
  background: var(--white);
  padding: 16vh var(--gutter) 14vh;
}
.reviews .sec-head--row { max-width: 1320px; margin-left: auto; margin-right: auto; }
.g-badge {
  display: grid; grid-template-columns: auto auto; column-gap: 14px; row-gap: 4px;
  align-items: center; justify-items: start;
  padding: 16px 20px; border: 1px solid var(--ink-faint); border-radius: var(--radius);
  transition: border-color .3s;
}
.g-badge:hover { border-color: var(--ink); }
.g-note { grid-row: span 2; font-size: 46px; font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.g-note small { font-size: 0.42em; color: var(--ash); margin-left: 2px; }
.g-stars, .review-stars { color: #fbbc04; letter-spacing: 0.12em; font-size: 16px; }
.reviews-list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
  max-width: 1320px; margin: 0 auto;
}
.review {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--bone); border-radius: var(--radius);
  border: 1px solid rgba(var(--ink-rgb), 0.06);
  padding: clamp(24px, 2.4vw, 36px);
}
.review-text { font-size: clamp(19px, 1.55vw, 23px); line-height: 1.38; letter-spacing: -0.01em; flex: 1; }
.review figcaption { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; border-top: 1px solid var(--ink-faint); }
.review-name { font-weight: 500; }

/* ═══════════ 10 · CONTACT ═══════════ */
.contact {
  position: relative; z-index: 2;
  background: var(--bone);
  padding: 16vh var(--gutter) 12vh;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 110px);
  max-width: 1440px; margin: 0 auto;
}
.contact-title { font-size: clamp(40px, 5vw, 76px); letter-spacing: -0.025em; line-height: 1.02; margin: 14px 0 16px; }
.contact-sub { font-size: clamp(20px, 1.8vw, 26px); color: var(--ash); line-height: 1.3; }
.contact-infos { display: grid; gap: 16px; margin-top: 48px; }
.contact-infos div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; }
.contact-infos dd { font-size: 17px; }
.contact-infos a { border-bottom: 1px solid var(--ink-faint); transition: border-color .3s; }
.contact-infos a:hover { border-color: var(--ink); }

.contact-form {
  display: grid; gap: 22px; align-content: start;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid rgba(var(--ink-rgb), 0.06);
  padding: clamp(24px, 3vw, 44px);
}
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.f-field { display: grid; gap: 8px; }
/* champ piège anti-robots : invisible pour les visiteurs, rempli seulement par les robots */
.f-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-label { color: var(--ash); font-size: 11px; }
.f-field input, .f-field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(var(--ink-rgb), 0.24);
  border-radius: 0; padding: 8px 0 10px; transition: border-color .3s;
}
.f-field textarea { resize: vertical; min-height: 130px; line-height: 1.45; }
.f-field input:focus, .f-field textarea:focus { outline: none; border-bottom-color: var(--lime); }
.f-field textarea::placeholder { color: rgba(var(--ink-rgb), 0.38); }
.f-field .is-invalid, .f-field [aria-invalid="true"] { border-bottom-color: var(--lime); }
.f-needs { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.f-needs legend { margin-bottom: 12px; }
.f-chip { position: relative; cursor: pointer; }
.f-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.f-chip span {
  display: inline-block; padding: 9px 14px;
  border: 1px solid rgba(var(--ink-rgb), 0.24); border-radius: 40px;
  font-size: 15px; transition: background .25s, border-color .25s, color .25s;
}
.f-chip:hover span { border-color: var(--ink); }
.f-chip input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.f-chip input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 3px; }
.f-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ash); cursor: pointer; }
.f-consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--lime); flex: none; }
.f-consent a { color: var(--ink); border-bottom: 1px solid var(--ink-faint); }
.f-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.f-status { font-size: 15px; color: var(--ash); }
.f-status.is-error { color: var(--ink); padding-left: 12px; border-left: 3px solid var(--lime); }

/* ═══════════ 11 · FOOTER COMPLET ═══════════ */
.footer { padding-top: 12vh; text-align: left; border-top: 1px solid var(--ink-faint); }
.footer-name { margin-top: 0; text-align: center; }
.footer-cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px; margin-top: 9vh;
}
.f-col { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.f-col > .mono { margin-bottom: 6px; }
.f-col a { width: fit-content; border-bottom: 1px solid transparent; transition: border-color .3s; }
.f-col a:hover { border-color: var(--ink); }
.f-col--brand img { width: 220px; height: auto; border-radius: 0; margin-bottom: 8px; }
.f-col--brand p { color: var(--ash); }
.f-manifest { color: var(--ink) !important; margin-top: 8px; font-size: 19px; }
.footer-bottom { border-top-color: var(--ink-faint); flex-wrap: wrap; }
.footer-bottom p { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1100px) {
  .apps-grid { grid-template-columns: 1fr 1fr; }
  .xp-item {
    grid-template-columns: 48px 1fr;
    grid-template-areas: "num name" "num pitch" "num tags" "num cta";
  }
  .xp-cta { justify-self: start; margin-top: 4px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-extra { margin-top: 20px; }
  .hero-intro { font-size: 15px; }
  .hero-ctas { margin-top: 18px; gap: 10px; }
  .hero-ctas .btn { padding: 12px 16px; font-size: 11px; }
  .fill-wrap { width: auto; padding: 0 var(--gutter); }
  .fill-title { font-size: clamp(19px, 5vw, 24px); margin-bottom: 20px; }
  .sec-head { margin-bottom: 6vh; }
  .sec-head--row { flex-direction: column; align-items: flex-start; }
  .sec-title { font-size: clamp(28px, 7.4vw, 40px); }
  .sec-sub { font-size: 16px; }
  .xp { padding: 11vh var(--gutter) 9vh; }
  .xp-item { padding: 26px 0; column-gap: 14px; }
  .xp-name { font-size: clamp(28px, 8vw, 38px); }
  .xp-pitch { font-size: 16px; padding-top: 0; }
  .apps { padding: 11vh var(--gutter) 10vh; }
  .apps-grid { grid-template-columns: 1fr; }
  .app-card { padding-top: 64px; }
  .app-story div { grid-template-columns: 1fr; gap: 2px; }
  .app-story dd { font-size: 16px; }
  .prod-resume { font-size: 15px; }
  .motto-hint { font-size: 16px; bottom: 10vh; }
  .studio { grid-template-columns: 1fr; padding: 11vh var(--gutter); }
  .studio-photo { justify-self: stretch; max-width: 420px; }
  .studio-facts { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
  .reviews { padding: 11vh var(--gutter) 10vh; }
  /* avis : défilement horizontal manuel, sans slider automatique */
  .reviews-list {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px;
    scrollbar-width: thin;
  }
  .review { flex: 0 0 84%; scroll-snap-align: start; }
  .review-text { font-size: 18px; }
  .contact { grid-template-columns: 1fr; padding: 11vh var(--gutter) 9vh; }
  .contact-infos { margin-top: 30px; }
  .contact-infos div { grid-template-columns: 1fr; gap: 2px; }
  .f-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom p { gap: 8px 16px; }
}

/* reduced motion : les ajouts restent lisibles sans animation */
body.static .hero-extra { opacity: 1 !important; transform: none !important; pointer-events: auto; }
body.static .xp { margin-top: 0; }

/* ═══════════ HERO MOBILE — nuage en deux bandes autour du texte ═══════════
   Le hero porte désormais kicker + titre + introduction + 2 CTA : sur
   téléphone ce bloc occupe le centre de l'écran. Les visuels sont donc
   calés sur le CENTRE (50 %) ± la demi-hauteur du bloc (--hb), et non plus
   en pourcentages fixes : la bande haute est ancrée par son arête basse,
   la bande basse par son arête haute. Le décalage --dy varie d'un visuel
   à l'autre pour que les bandes ne se lisent pas comme une grille. */
@media (max-width: 900px) {
  .s-hero { --hb: 165px; }
  .floaters .fl:nth-child(-n+5) { top: auto !important; bottom: calc(50% + var(--hb) + var(--dy, 0px)); }
  .floaters .fl:nth-child(n+6) { bottom: auto; top: calc(50% + var(--hb) + var(--dy, 0px)) !important; }
  .floaters .fl:nth-child(1) { --dy: 4px; }
  .floaters .fl:nth-child(2) { --dy: 26px; }
  .floaters .fl:nth-child(3) { --dy: 10px; }
  .floaters .fl:nth-child(4) { --dy: 32px; }
  .floaters .fl:nth-child(5) { --dy: 14px; }
  .floaters .fl:nth-child(6) { --dy: 22px; left: -8%; }
  .floaters .fl:nth-child(7) { --dy: 6px;  left: 22%; }
  .floaters .fl:nth-child(8) { --dy: 30px; left: 44%; }
  .floaters .fl:nth-child(9) { --dy: 4px;  left: 66%; }
  .floaters .fl:nth-child(10) { --dy: 18px; left: 86%; }
}
@media (max-width: 480px) {
  .s-hero { --hb: 192px; }
  .hero-intro { font-size: 14.5px; }
}

/* nom géant du footer : « Réalisateur Web » est long — sa taille suit la
   largeur utile de l'écran (≈ 6,8 fois la taille de police) pour ne jamais déborder */
@media (max-width: 900px) {
  .footer-name { font-size: calc((100vw - 2 * var(--gutter)) / 6.9); }
}

/* ═══════════ SOUS-MENU « EXPERTISES » ═══════════ */
.dock-drop { position: relative; }
.dock-drop-btn {
  background: none; border: 0; color: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.dock-drop-btn::before {
  content: ''; order: 2; width: 6px; height: 6px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease-out);
}
.dock-drop.is-open .dock-drop-btn::before { transform: translateY(1px) rotate(-135deg); }
.dock-drop-menu {
  position: absolute; top: calc(100% + 14px); left: -8px; min-width: 220px;
  display: flex; flex-direction: column; padding: 8px;
  background: var(--white); border: 1px solid rgba(var(--ink-rgb), 0.08); border-radius: var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility 0s .25s;
}
.dock-drop-menu .dock-link { padding: 11px 12px; }
.dock-drop.is-open .dock-drop-menu,
.dock-drop:hover .dock-drop-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
/* pont invisible entre le bouton et le menu, pour que le survol ne se coupe pas */
.dock-drop-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.dock-link[aria-current="page"], .dock-drop-btn[aria-current="true"] { color: var(--ink); }
.dock-link[aria-current="page"]::after { transform: scaleX(1); background: var(--lime); }

/* dans le panneau déroulant (< 1180 px) : sous-menu déplié, en retrait */
@media (max-width: 1180px) {
  .dock .dock-drop-btn { display: block; width: 100%; text-align: left; padding: 13px 12px; font-size: 12px; pointer-events: none; color: var(--ash); }
  .dock .dock-drop-btn::before { display: none; }
  .dock .dock-drop-menu {
    position: static; opacity: 1; visibility: inherit; transform: none;   /* suit le panneau : invisible ET non cliquable quand il est fermé */
    min-width: 0; padding: 0 0 6px 14px; border: 0; background: none;
    border-left: 1px solid var(--ink-faint); margin-left: 12px;
  }
  .dock .dock-drop-menu::before { display: none; }
}

/* ═══════════ SIGNATURE DU FOOTER : « Web » en rouge, comme le logo ═══════════
   Exception à la règle « pas de texte rouge » : le mot est en très grand corps,
   donc lisible. Les lettres sont découpées en spans par le script d'animation :
   les 3 dernières (W, e, b) prennent l'accent ; .fn-accent couvre le cas sans
   découpage (JavaScript désactivé, animations réduites). */
.footer-name .fn-accent,
.footer-name .ch:nth-last-child(-n+3) .chi { color: var(--lime); }

/* ═══════════ HERO — affiches 16:9 en arrière-plan (teaser du catalogue) ═══════════
   Même univers que le mur d'affiches de la section « Nos productions », mais
   en retrait : luminosité baissée et léger voile noir, couleurs et contraste
   conservés (pas de gris uniforme), ni bordure ni halo. Le ratio 16:9 est
   imposé (object-fit: cover) quelle que soit la largeur --w de la carte. */
.floaters .fl { border-radius: 3px; }
.floaters .fl img {
  aspect-ratio: 16 / 9; height: auto; object-fit: cover;
  filter: brightness(0.62) contrast(1.06) saturate(1.04);
}
.floaters .fl::after { content: ''; position: absolute; inset: 0; background: rgba(10, 10, 9, 0.16); pointer-events: none; }
/* protection du bloc central : un fondu radial invisible fait disparaître les
   affiches qui s'approchent du surtitre, du titre, du texte et des CTA */
.floaters::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse 46% 42% at 50% 52%, rgba(20, 19, 17, 0.94) 0%, rgba(20, 19, 17, 0.78) 45%, rgba(20, 19, 17, 0) 100%);
}
/* grands écrans : les cartes grandissent avec la largeur (px fixes sinon) */
@media (min-width: 1441px) {
  .floaters .fl { width: calc(var(--w) + (100vw - 1440px) * 0.16); }
}
/* tablette / mobile : cartes 16:9 plus présentes (un 16:9 est moins haut
   qu'une capture portrait) ; le masque suit la hauteur du bloc texte (--hb)
   pour ne jamais recouvrir les deux bandes d'affiches */
@media (max-width: 900px) {
  .floaters .fl { width: calc(var(--w) * 0.46 + 7vw); }
  .floaters::after { background: radial-gradient(ellipse 78% calc(var(--hb) + 14px) at 50% 50%, rgba(20, 19, 17, 0.92) 0%, rgba(20, 19, 17, 0.8) 70%, rgba(20, 19, 17, 0) 100%); }
}
@media (max-width: 480px) {
  .s-hero { --hb: 248px; }   /* + marge pour le resserrement de début de scène (pull 16 %) */
}

/* ═══════════ ÉCRAN DE CHARGEMENT — logo deux fois plus grand ═══════════
   3em au lieu de 1.5em ; plafonné à la largeur de l'écran sur mobile (le logo
   complet fait ~5,4 fois sa hauteur). Le moteur calcule l'échelle d'arrivée
   vers le menu à partir de la taille réelle : l'atterrissage reste juste. */
.loader-wordmark img { height: min(3em, calc((100vw - 48px) / 5.5)); }

/* ═══════════ HALO SOUS LE CURSEUR — tout le site ═══════════
   Une seule lumière diffuse, fixée à l'écran, qui suit la souris avec
   inertie (site.js) : cœur d'environ 150 px, fondu jusqu'à ~220 px, sans
   contour. Blanc chaud avec une pointe infime du rouge de la charte,
   opacité ≤ 5,5 %. En mode « screen » elle ne fait qu'éclaircir : visible
   sur les fonds sombres, sans effet sur les textes clairs ni le rouge.
   Aucun rendu au tactile ni en « mouvement réduit ». */
.spotlight {
  position: fixed; top: 0; left: 0; z-index: 150;
  width: 312px; height: 312px; border-radius: 50%;
  pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle closest-side,
    rgba(255, 246, 236, 0.055) 0%,
    rgba(255, 244, 234, 0.051) 12%,
    rgba(255, 240, 230, 0.043) 25%,
    rgba(255, 234, 226, 0.033) 38%,
    rgba(252, 222, 216, 0.023) 50%,
    rgba(248, 200, 196, 0.014) 62%,
    rgba(240, 150, 150, 0.007) 74%,
    rgba(228, 4, 39, 0.003) 86%,
    rgba(228, 4, 39, 0) 100%);
  filter: blur(19px);          /* flou fort : fondu continu, aucun anneau */
  opacity: 0; transition: opacity .8s var(--ease-out);
  will-change: transform;
}
.spotlight.on { opacity: 1; }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .spotlight { display: none; }
}

/* ═══════════ LOGO DE LA BARRE DE MENU — plus présent ═══════════
   38 px de haut sur ordinateur (au lieu de ~28), 34 px en dessous de 1180 px
   (logo complet) et pour l'icône RW seule sur petit téléphone. Le logo du
   chargement se pose sur cette taille : l'atterrissage reste juste. */
.dock-wordmark img { height: 38px; }
.dock { padding-top: 7px; padding-bottom: 7px; }
@media (max-width: 1180px) { .dock-wordmark img { height: 34px; } }
@media (max-width: 479px) { .dock-wordmark img.logo-icon { height: 34px; } }

/* ═══════════ HERO — indication de défilement ═══════════
   « Défiler » + filet vertical fin où glisse un court trait rouge (accent).
   Apparaît après l'intro, s'efface dès que le visiteur fait défiler
   (classe .is-hidden posée par site.js), revient en haut de page. */
.scroll-cue { position: absolute; left: 50%; bottom: max(22px, 3.5vh); z-index: 6; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: none;
  opacity: 0; animation: cue-in 1s var(--ease-out) 2.6s forwards; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
/* halo sombre très doux : lisible même quand une affiche passe derrière */
.scroll-cue::before { content: ''; position: absolute; left: 50%; top: 50%; width: 190px; height: 150px; transform: translate(-50%, -50%); z-index: -1; background: radial-gradient(closest-side, rgba(20, 19, 17, .9), rgba(20, 19, 17, .55) 55%, rgba(20, 19, 17, 0)); }
.scroll-cue-l { font-size: 10px; letter-spacing: .22em; color: rgba(var(--ink-rgb), .6); }
.scroll-cue-line { position: relative; width: 1px; height: 46px; overflow: hidden; background: rgba(var(--ink-rgb), .18); }
.scroll-cue-line i { position: absolute; left: 0; top: 0; width: 1px; height: 16px; background: var(--lime); animation: cue-drop 2.2s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes cue-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes cue-drop { 0% { transform: translateY(-16px); } 70%, 100% { transform: translateY(46px); } }
/* !important l'emporte sur l'animation terminée : en retirant la classe, l'indication réapparaît aussitôt */
.scroll-cue.is-hidden { opacity: 0 !important; transform: translate(-50%, 8px); }
@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation: none; opacity: 1; }
  .scroll-cue-line i { animation: none; transform: translateY(15px); }
}
body.static .scroll-cue { display: none; }
/* hero : l'affiche du bas (9e) reste hors de la zone de l'indication de défilement ;
   entre 901 et 1180 px, l'écran est plus étroit, on la décale un peu plus */
@media (min-width: 901px) and (max-width: 1180px) { .floaters .fl:nth-child(9) { --x: 64% !important; } .floaters .fl:nth-child(8) { --x: 7% !important; } .floaters .fl:nth-child(1) { --x: -7% !important; } .floaters .fl:nth-child(6) { --x: -5% !important; } }   /* !important : la position est écrite dans index.html */
@media (min-width: 901px) and (max-width: 1000px) { .floaters .fl:nth-child(1) { --x: -12% !important; } .floaters .fl:nth-child(6) { --x: -10% !important; } .floaters .fl:nth-child(8) { --x: 2% !important; } }

/* ═══════════ 3 ACTES — le texte avance vers la droite d'un acte à l'autre ═══════════
   Ordinateur uniquement : acte 1 à gauche, acte 2 décalé, acte 3 plus proche
   du chiffre géant, sans le toucher. Sur mobile, les textes restent empilés. */
/* décalages calculés par site.js (--a2, --a3) selon l'espace libre avant le chiffre */
@media (min-width: 901px) {
  body:not(.static) .pstep { width: 100%; }
  body:not(.static) .pstep:nth-child(2) { left: var(--a2, 0px); }
  body:not(.static) .pstep:nth-child(3) { left: var(--a3, 0px); }
}

/* ═══════════ BANDEAU COOKIES (mesure d'audience) ═══════════
   Discret, en bas à gauche ; « Refuser » et « Accepter » à égalité (exigence CNIL). */
.cookies {
  position: fixed; left: 24px; bottom: 24px; z-index: 350;
  width: min(410px, calc(100vw - 32px)); padding: 22px 22px 20px;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--ink-faint); border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  animation: cookies-in .6s var(--ease-out) both;
}
.cookies[hidden] { display: none; }
.cookies p { font-size: 14px; line-height: 1.55; color: rgba(var(--ink-rgb), .82); }
.cookies p + p { margin-top: 8px; }
.cookies .cookies-titre { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ash); margin-bottom: 10px; }
.cookies a { color: var(--ink); border-bottom: 1px solid rgba(var(--ink-rgb), .35); transition: border-color .25s; }
.cookies a:hover { border-color: var(--ink); }
.cookies-actions { display: flex; gap: 10px; margin-top: 18px; }
.cookies-actions .btn { flex: 1; padding: 12px 16px; background: transparent; }
@keyframes cookies-in { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 600px) { .cookies { left: 16px; right: 16px; bottom: 16px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .cookies { animation: none; } }
