/* ==========================================================================
   Tarateyna — Atelier de communication éditoriale
   Feuille de style principale
   ========================================================================== */

:root {
  /* Charte Tarateyna — d'après le Book « Sens & Influence » */
  --paper: #F1F0EE;
  --paper-2: #E7E5E1;
  --paper-3: #D8D4CD;
  --ink: #30363A;
  --ink-soft: #5E554B;
  --muted: #8A847B;
  --line: rgba(48, 54, 58, 0.14);
  --line-strong: rgba(48, 54, 58, 0.30);
  --accent: #E5792A;        /* orange Tarateyna */
  --accent-ink: #B8581B;    /* orange lisible pour petits textes sur fond clair */
  --accent-soft: #F0974F;
  --orange-band: #DC6F22;
  --coral: #CB5853;
  --taupe: #5E554B;
  --deep: #353C40;          /* anthracite */
  --deep-2: #42494D;
  --on-deep: #F1F0EE;
  --on-deep-muted: #ABA69E;

  --display: "Libre Caslon Display", "Big Caslon", "Big Caslon FB", Georgia, serif;
  --serif: "Libre Caslon Text", "Big Caslon", Georgia, serif;
  --italic: "EB Garamond", "Garamond Premier Pro", Garamond, Georgia, serif;
  --sans: "Gill Sans", "Gill Sans MT", "Cabin", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--paper); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typographie ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor;
}
.eyebrow--plain::before { display: none; }

.display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 6.4vw, 100px);
  line-height: .94;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}
.display em, .h2 em, .h3 em, .lead-serif em {
  font-family: var(--italic);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.display em, .h2 em { font-size: 1.12em; line-height: .8; }

.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.008em;
  text-transform: uppercase;
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 29px);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.lead {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 58ch;
}
.lead-serif {
  font-family: var(--italic);
  font-weight: 400;
  font-size: clamp(28px, 3.3vw, 46px);
  line-height: 1.22;
  letter-spacing: -0.012em;
}
.small { font-size: 14px; color: var(--muted); }
.muted { color: var(--muted); }

/* ---------- Boutons & liens ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent-ink); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--light { background: var(--on-deep); color: var(--deep); border-color: var(--on-deep); }
.btn--light:hover { background: var(--accent); color: var(--paper); border-color: var(--accent-ink); }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding-bottom: 4px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .4s var(--ease), color .3s;
}
.link:hover { color: var(--accent-ink); }
.link .arrow { transition: transform .3s var(--ease); }
.link:hover .arrow { transform: translateX(4px); }

/* ---------- En-tête ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: baseline; gap: 14px; }
.brand__name {
  font-family: var(--sans);
  font-size: 25px; font-weight: 400; letter-spacing: .06em; line-height: 1;
}
.brand__a { color: var(--accent); }
.brand__tag {
  font-family: var(--italic); font-style: italic;
  font-size: 18px; color: var(--muted);
  padding-left: 14px; border-left: 1px solid var(--line-strong);
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 32px; }
.nav__list a {
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  position: relative; padding: 6px 0;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list a[aria-current="page"] { color: var(--accent-ink); }
.nav .btn { padding: 12px 20px; font-size: 12px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .brand__tag { display: none; }
  .nav-toggle { display: block; z-index: 60; }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    background: var(--paper);
    flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 100px var(--gutter) 40px;
    gap: 40px;
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 6px; }
  .nav__list a {
    font-family: var(--serif); font-weight: 300; font-size: 40px; letter-spacing: -0.02em;
  }
  .nav-open { overflow: hidden; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(80px, 11vw, 160px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--alt { background: var(--paper-2); }
.section--deep { background: var(--deep); color: var(--on-deep); }
.section--deep .eyebrow, .section--deep .muted, .section--deep .small { color: var(--on-deep-muted); }
.section--deep .lead { color: var(--on-deep-muted); }
.section--deep em { color: var(--accent-soft) !important; }
.section--deep .link:hover { color: var(--accent-soft); }

.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px 80px; align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section-head .eyebrow { grid-column: 1 / -1; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Folio : la petite ligne éditoriale en haut des pages */
.folio {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding: 18px 0; border-bottom: 1px solid var(--line);
}

/* ---------- Hero accueil ---------- */

.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 130px); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center;
  margin-top: clamp(40px, 6vw, 80px);
}
.hero__text .lead { margin: 36px 0 44px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* Composition de couvertures */
.stack {
  position: relative; height: clamp(420px, 46vw, 620px);
}
.stack .cover { position: absolute; width: 52%; box-shadow: 0 30px 60px -30px rgba(26,24,20,.45), 0 2px 6px rgba(26,24,20,.08); }
.stack .cover:nth-child(1) { left: 0; top: 10%; transform: rotate(-5deg); z-index: 1; }
.stack .cover:nth-child(2) { left: 26%; top: 0; transform: rotate(2deg); z-index: 3; }
.stack .cover:nth-child(3) { right: 0; top: 22%; transform: rotate(7deg); z-index: 2; width: 46%; }
.stack .cover { transition: transform .8s var(--ease); }
.stack:hover .cover:nth-child(1) { transform: rotate(-8deg) translateX(-10px); }
.stack:hover .cover:nth-child(3) { transform: rotate(10deg) translateX(10px); }
@media (max-width: 960px) {
  .stack { height: 115vw; max-height: 560px; max-width: 560px; margin: 0 auto; width: 100%; }
}

/* ---------- Couvertures (maquettes CSS) ---------- */

.cover {
  aspect-ratio: 210 / 297;
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 9% 9% 8%;
  overflow: hidden;
  border-radius: 1px;
  isolation: isolate;
  container-type: inline-size;
}
.cover__kicker {
  font-family: var(--sans); font-size: max(8px, 4.2cqi); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
}
.cover__title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: 11.5cqi; line-height: .95; letter-spacing: -0.01em;
}
.cover__title em { font-family: var(--italic); font-style: italic; text-transform: none; font-size: 1.15em; }
.cover__foot {
  display: flex; justify-content: space-between; align-items: end;
  font-size: max(7px, 3.6cqi); letter-spacing: .12em; text-transform: uppercase;
}
.cover__big {
  font-family: var(--display); font-weight: 400; font-size: 44cqi; line-height: .8; letter-spacing: -0.04em;
}

/* Variante : rapport annuel */
.cover--report { background: var(--deep); color: var(--on-deep); }
.cover--report::before {
  content: ""; position: absolute; z-index: -1;
  width: 120%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(237,231,218,.22);
  right: -60%; top: 22%;
  box-shadow: 0 0 0 7cqi rgba(237,231,218,.04), 0 0 0 14cqi rgba(237,231,218,.03);
}
.cover--report .cover__big { color: var(--accent); }

/* Variante : magazine */
.cover--mag { background: var(--accent); color: var(--paper); }
.cover--mag .cover__masthead {
  font-family: var(--italic); font-weight: 500; font-style: italic;
  font-size: 23cqi; line-height: .9; letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(244,240,231,.5); padding-bottom: 4cqi;
}
.cover--mag::after {
  content: ""; position: absolute; z-index: -1; left: 9%; right: 9%; top: 38%; bottom: 26%;
  background:
    radial-gradient(circle at 30% 40%, rgba(244,240,231,.35) 0 18%, transparent 19%),
    linear-gradient(160deg, rgba(26,24,20,.35), rgba(26,24,20,0) 70%);
  border-radius: 50% 50% 2px 2px / 40% 40% 2px 2px;
}

/* Variante : newsletter */
.cover--letter { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.cover--letter .cover__lines { display: grid; gap: 3cqi; }
.cover--letter .cover__lines i { display: block; height: 1.6cqi; background: var(--paper-3); }
.cover--letter .cover__lines i:nth-child(2) { width: 84%; }
.cover--letter .cover__lines i:nth-child(3) { width: 92%; }
.cover--letter .cover__lines i:nth-child(4) { width: 60%; }
.cover--letter .cover__block { height: 26cqi; background: var(--ink); margin: 2cqi 0; position: relative; }
.cover--letter .cover__block::after {
  content: ""; position: absolute; right: 8cqi; top: 50%; width: 14cqi; height: 14cqi;
  transform: translateY(-50%); border-radius: 50%; background: var(--accent);
}

/* Variante : brochure produit */
.cover--brochure { background: var(--paper-3); color: var(--ink); }
.cover--brochure::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 30%;
  width: 56%; aspect-ratio: 1; transform: translateX(-50%);
  background: linear-gradient(140deg, #fff 0%, var(--paper-2) 45%, #b9ad94 100%);
  border-radius: 50%;
  box-shadow: 0 6cqi 10cqi -4cqi rgba(26,24,20,.35);
}

/* Variante : rapport RSE */
.cover--csr { background: var(--coral); color: #fff; }
.cover--csr::before {
  content: ""; position: absolute; z-index: -1; inset: auto 0 0 0; height: 48%;
  background: repeating-linear-gradient(0deg, transparent 0 4cqi, rgba(255,255,255,.2) 4cqi calc(4cqi + 1px));
}
.cover--csr::after {
  content: ""; position: absolute; z-index: -1; left: 9%; bottom: 14%; width: 40cqi; height: 40cqi;
  background: var(--deep); clip-path: polygon(0 100%, 50% 0, 100% 100%);
  opacity: .9;
}

/* Variante : livre / ouvrage */
.cover--book { background: var(--taupe); color: #F1EBE2; }
.cover--book::before {
  content: ""; position: absolute; z-index: -1; inset: 6%;
  border: 1px solid rgba(241,235,226,.4);
}
.cover--book .cover__title { text-align: center; font-style: italic; }
.cover--book .cover__kicker, .cover--book .cover__foot { justify-content: center; text-align: center; }

/* ---------- Manifeste ---------- */

.manifesto { display: grid; grid-template-columns: 220px 1fr; gap: 40px 80px; }
.manifesto > .eyebrow { align-self: start; margin-top: 14px; }
.manifesto .lead-serif { max-width: 30ch; }
.manifesto__sign { margin-top: 40px; display: flex; gap: 40px; flex-wrap: wrap; }
@media (max-width: 860px) { .manifesto { grid-template-columns: 1fr; } }

/* ---------- Liste d'expertises (accueil) ---------- */

.offer-list { display: grid; }
.offer {
  display: grid; grid-template-columns: 80px 1.1fr 1.4fr 40px; gap: 16px 40px; align-items: center;
  padding: 38px 44px;
  position: relative; overflow: hidden;
  background: var(--band, var(--taupe)); color: #fff;
  transition: padding .5s var(--ease), filter .3s;
}
.offer:nth-child(4n+1) { --band: var(--taupe); }
.offer:nth-child(4n+2) { --band: var(--orange-band); }
.offer:nth-child(4n+3) { --band: var(--deep); }
.offer:nth-child(4n+4) { --band: var(--coral); }
.offer::after {
  content: ""; position: absolute; right: 70px; top: -30%; width: 120px; height: 160%;
  background: url("../img/ornement.svg") center / contain no-repeat; opacity: .12; pointer-events: none;
}
.offer__num { font-family: var(--italic); font-style: italic; font-size: 20px; opacity: .75; }
.offer__title { font-family: var(--sans); font-style: italic; font-weight: 600; font-size: clamp(26px, 3vw, 40px); line-height: 1.05; letter-spacing: -0.005em; }
.offer__desc { color: rgba(255,255,255,.92); margin: 0; max-width: 52ch; font-style: italic; font-size: 16.5px; }
.offer__arrow { font-size: 24px; justify-self: end; transition: transform .4s var(--ease); }
.offer:hover { filter: brightness(1.06); }
.offer:hover .offer__arrow { transform: translateX(6px); }
@media (min-width: 861px) { .offer:hover { padding-left: 58px; } }
@media (max-width: 860px) {
  .offer { grid-template-columns: 40px 1fr 24px; padding: 30px 22px; }
  .offer__desc { grid-column: 2 / -1; }
  .offer__arrow { grid-row: 1; grid-column: 3; }
}

/* ---------- Principes / grille ---------- */

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.grid-4 > * { padding: 36px 32px 8px 0; border-right: 1px solid var(--line); }
.grid-4 > *:not(:first-child) { padding-left: 32px; }
.grid-4 > *:last-child { border-right: 0; }
.section--deep .grid-4 { border-top-color: rgba(237,231,218,.3); }
.section--deep .grid-4 > * { border-right-color: rgba(237,231,218,.14); }
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-4 > * { padding: 32px 24px 24px 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .grid-4 > *:nth-child(even) { padding-left: 24px !important; border-left: 1px solid var(--line); }
  .section--deep .grid-4 > * { border-color: rgba(237,231,218,.14); }
}
@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-4 > *:nth-child(even) { padding-left: 0 !important; border-left: 0; }
}

.principle__num {
  font-family: var(--italic); font-style: italic; font-size: 19px; color: var(--accent-ink);
  display: block; margin-bottom: 28px;
}
.section--deep .principle__num { color: var(--accent-soft); }
.principle h3 { margin-bottom: 14px; }
.principle p { font-size: 15.5px; color: var(--ink-soft); }
.section--deep .principle p { color: var(--on-deep-muted); }

/* ---------- Cartes réalisations ---------- */

.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; }
.works--home .work:nth-child(2) { margin-top: 80px; }
.works--home .work:nth-child(3) { margin-top: 160px; }
@media (max-width: 960px) {
  .works { grid-template-columns: 1fr 1fr; }
  .works--home .work:nth-child(n) { margin-top: 0; }
}
@media (max-width: 600px) { .works { grid-template-columns: 1fr; } }

.work { display: block; }
.work__visual {
  background: var(--paper-2);
  padding: 14% 18%;
  position: relative; overflow: hidden;
  transition: background .5s var(--ease);
}
.section--alt .work__visual { background: var(--paper-3); }
.work__visual .cover {
  box-shadow: 0 24px 40px -22px rgba(26,24,20,.5), 0 1px 3px rgba(26,24,20,.1);
  transition: transform .7s var(--ease);
}
.work:hover .work__visual .cover { transform: translateY(-8px) rotate(-1.5deg); }
.work__meta {
  display: flex; justify-content: space-between; gap: 16px; margin-top: 20px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.work__title { margin-top: 10px; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; }
.work__client { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }
.work.is-hidden { display: none; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 56px; }
.filter {
  border: 1px solid var(--line-strong); background: transparent; padding: 10px 18px;
  border-radius: 100px; font-size: 13px; font-weight: 500; cursor: pointer;
  transition: all .25s var(--ease);
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Méthode (étapes) ---------- */

.steps { counter-reset: step; }
.step {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px 80px;
  padding: 48px 0; border-top: 1px solid var(--line-strong);
}
.step:last-child { border-bottom: 1px solid var(--line-strong); }
.step__head { display: flex; gap: 28px; align-items: baseline; }
.step__num { font-family: var(--italic); font-style: italic; font-size: 21px !important; color: var(--accent-ink); font-size: 18px; min-width: 32px; }
.step__body p { color: var(--ink-soft); max-width: 60ch; }
.step__deliv { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  font-size: 12px; letter-spacing: .04em; padding: 6px 12px;
  border: 1px solid var(--line-strong); border-radius: 100px; color: var(--ink-soft);
}
@media (max-width: 860px) { .step { grid-template-columns: 1fr; } }

/* ---------- Pages intérieures : en-tête ---------- */

.page-hero { padding: clamp(56px, 8vw, 120px) 0 clamp(56px, 7vw, 100px); }
.page-hero__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px 80px; align-items: end; margin-top: 48px; }
.page-hero .display { font-size: clamp(44px, 6.6vw, 100px); }
@media (max-width: 860px) { .page-hero__grid { grid-template-columns: 1fr; } }

/* ---------- Expertise détaillée ---------- */

.expertise {
  display: grid; grid-template-columns: 5fr 7fr; gap: 48px 96px;
  padding: clamp(72px, 9vw, 130px) 0;
  border-top: 1px solid var(--line-strong);
  scroll-margin-top: 90px;
}
.expertise:nth-of-type(even) .expertise__visual { order: 2; }
.expertise__visual { position: sticky; top: 120px; align-self: start; }
.expertise__visual .work__visual { padding: 12% 20%; }
.expertise__num { font-family: var(--italic); font-style: italic; color: var(--accent-ink); font-size: 18px; margin-bottom: 20px; display: block; }
.expertise h2 { margin-bottom: 28px; }
.expertise .lead { margin-bottom: 40px; }
.columns-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.list-title { font-size: 17px; font-weight: 700; font-style: italic; color: var(--accent-ink); margin-bottom: 10px; }
.check-list li {
  padding: 12px 0; border-bottom: 1px solid var(--line);
  display: flex; gap: 14px; font-size: 15.5px;
}
.check-list li { font-style: italic; }
.check-list li::before { content: ">"; color: var(--accent-ink); flex-shrink: 0; font-style: normal; }
@media (max-width: 960px) {
  .expertise { grid-template-columns: 1fr; }
  .expertise:nth-of-type(even) .expertise__visual { order: 0; }
  .expertise__visual { position: static; max-width: 440px; }
}
@media (max-width: 600px) { .columns-2 { grid-template-columns: 1fr; } }

.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Services transverses ---------- */

.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(237,231,218,.3); }
.service { padding: 32px 32px 32px 0; border-bottom: 1px solid rgba(237,231,218,.14); }
.service:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid rgba(237,231,218,.14); }
.service h3 { font-size: 22px; margin-bottom: 10px; }
.service p { font-size: 15px; color: var(--on-deep-muted); margin: 0; }
@media (max-width: 900px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service:nth-child(n) { padding: 28px 24px 28px 0; border-left: 0; }
  .service:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(237,231,218,.14); }
}
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
  .service:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---------- Atelier ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 96px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.prose p { color: var(--ink-soft); }
.prose p:first-child::first-letter {
  font-family: var(--display); font-weight: 400; float: left;
  font-size: 4.6em; line-height: .82; padding: 6px 12px 0 0; color: var(--accent-ink);
}

.quote {
  font-family: var(--italic); font-weight: 400; font-style: italic;
  font-size: clamp(30px, 4vw, 56px); line-height: 1.12; letter-spacing: -0.015em;
  max-width: 24ch;
}
.quote::before { content: "« "; color: var(--accent-soft); }
.quote::after { content: " »"; color: var(--accent-soft); }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.member__portrait {
  aspect-ratio: 4 / 5; background: var(--paper-3); position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.member__portrait span {
  font-family: var(--italic); font-style: italic; font-weight: 400; font-size: 84px; color: var(--paper);
  mix-blend-mode: normal; opacity: .9;
}
.member:nth-child(1) .member__portrait { background: var(--deep); }
.member:nth-child(2) .member__portrait { background: var(--accent); }
.member:nth-child(3) .member__portrait { background: var(--taupe); }
.member h3 { margin-top: 20px; font-size: 24px; }
.member p { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 860px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px 96px; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info dl { margin: 0; }
.contact-info dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 32px; }
.contact-info dd { margin: 8px 0 0; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.contact-info dd a:hover { color: var(--accent-ink); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend {
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.field .req { color: var(--accent-ink); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 0; border-bottom: 1px solid var(--line-strong);
  background: transparent; padding: 12px 0; font-size: 17px; border-radius: 0;
  transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 10px) 50%, calc(100% - 5px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; cursor: pointer;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent-ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 1px 0 0 var(--accent); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
/* la case elle-même est cachée : un point, pour qu'elle ne fasse jamais déborder la page */
.chip input, .field .chip input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; }
.chip span {
  display: inline-block; padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 100px;
  font-size: 14px; cursor: pointer; transition: all .25s var(--ease);
}
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.consent input { margin-top: 4px; accent-color: var(--accent-ink); width: 16px; height: 16px; flex-shrink: 0; }
.form__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form__status { font-size: 15px; }
.form__status.is-success { color: var(--deep-2); }
.form__status.is-error { color: var(--accent-ink); }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ---------- Bandeau CTA ---------- */

.cta { text-align: left; }
.cta__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px 80px; align-items: end; }
.cta .display { font-size: clamp(44px, 6.4vw, 96px); }
.cta__side p { color: var(--on-deep-muted); margin-bottom: 32px; }
@media (max-width: 860px) { .cta__inner { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */

.site-footer { background: var(--deep); color: var(--on-deep); padding: 80px 0 32px; border-top: 1px solid rgba(237,231,218,.12); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand .brand__name { font-size: 34px; }
.footer__brand p { color: var(--on-deep-muted); margin-top: 16px; max-width: 32ch; font-size: 15px; }
.footer__title { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-deep-muted); margin-bottom: 18px; }
.footer__list li { margin-bottom: 10px; font-size: 15px; }
.footer__list a:hover { color: var(--accent-soft); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(237,231,218,.14);
  font-size: 13px; color: var(--on-deep-muted);
}
.footer__bottom a:hover { color: var(--on-deep); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Mentions légales ---------- */

.legal { max-width: 760px; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 56px 0 16px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { list-style: disc; padding-left: 20px; margin-bottom: 1em; }
.placeholder { background: rgba(154,59,38,.1); color: var(--accent-ink); padding: 0 4px; }

/* ---------- Apparition au défilement ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .stack .cover, .work__visual .cover { transition: none; }
}

/* ---------- Divers ---------- */

.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 22px 0; white-space: nowrap;
}
.marquee__track { display: inline-flex; gap: 48px; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--italic); font-weight: 400; font-style: italic; font-size: clamp(22px, 2.4vw, 32px); color: var(--ink-soft); }
.marquee__track span.dot { color: var(--accent-ink); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.center { text-align: center; }
/* un point, quoi qu'en disent les autres règles (.field input { width: 100% }) : sinon la page défile de côté */
.visually-hidden {
  position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}


/* ==========================================================================
   Signatures de la charte : ornement végétal, numéros géants, bandeaux
   ========================================================================== */

.hero { position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 6%; bottom: -4%;
  width: min(34vw, 420px); height: 110%;
  background: url("../img/ornement-sombre.svg") left bottom / contain no-repeat;
  opacity: .06; pointer-events: none;
}
.section--deep, .site-footer { position: relative; isolation: isolate; overflow: hidden; }
.section--deep::before, .site-footer::before {
  content: ""; position: absolute; z-index: -1; right: 4%; bottom: -6%;
  width: min(36vw, 440px); height: 115%;
  background: url("../img/ornement.svg") right bottom / contain no-repeat;
  opacity: .06; pointer-events: none;
}
.site-footer::before { left: 2%; right: auto; opacity: .05; }

/* Filet horizontal qui entre dans le titre, comme sur la couverture du Book */
.hero .display { position: relative; }
.hero .display::before {
  content: ""; position: absolute; right: 100%; top: .5em; width: 100vw; height: 1px;
  background: var(--ink); margin-right: 22px; opacity: .55;
}

.expertise { position: relative; isolation: isolate; }
.expertise::after {
  content: attr(data-num);
  position: absolute; z-index: -1; right: -1%; top: clamp(30px, 5vw, 70px);
  font-family: var(--display); font-size: clamp(220px, 30vw, 440px); line-height: .8;
  color: var(--paper-2); pointer-events: none;
}

.section--taupe { background: var(--taupe); color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.section--taupe::before {
  content: ""; position: absolute; z-index: -1; right: 6%; top: -10%; width: 300px; height: 130%;
  background: url("../img/ornement.svg") center / contain no-repeat; opacity: .08;
}
.section--taupe .quote::before, .section--taupe .quote::after { color: var(--accent-soft); }

.site-footer .brand__a, .section--deep .brand__a { color: var(--accent); }
.footer__brand .brand__tag { display: block; border: 0; padding: 0; margin-top: 10px; color: var(--on-deep-muted); }

.btn { font-family: var(--sans); letter-spacing: .08em; }
.btn:hover { background: var(--orange-band); border-color: var(--orange-band); }
.btn--light:hover { color: #fff; }
/* Le numéro géant se place côté texte */
.expertise:nth-of-type(even)::after { right: auto; left: -1%; }
@media (max-width: 960px) { .expertise::after, .expertise:nth-of-type(even)::after { left: auto; right: 0; top: 20px; } }

/* ---------- Références clients ---------- */
.clients {
  display: flex; flex-wrap: wrap; gap: 6px 0;
  font-family: var(--italic); font-style: italic; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.5; color: var(--ink-soft);
  border-top: 1px solid var(--line-strong); padding-top: 32px;
}
.clients li { white-space: nowrap; }
.clients li:not(:last-child)::after { content: "·"; color: var(--accent); margin: 0 .55em; font-style: normal; }
.refs { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--italic); font-style: italic; font-size: 19px; color: var(--ink-soft); }
.refs span { font-family: var(--sans); font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); margin-right: 10px; }
.offer:not(a) { cursor: default; }
.offer:not(a):hover { padding-left: 44px; filter: none; }

/* ---------- Fondateur ---------- */
.founder { display: grid; grid-template-columns: 5fr 7fr; gap: 48px 96px; align-items: start; }
.founder__photo { margin: 0; position: sticky; top: 120px; }
.founder__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.85); }
.founder__photo::after { content: ""; display: block; height: 6px; background: var(--accent); width: 34%; margin-top: 14px; }
.founder__role { font-family: var(--italic); font-style: italic; font-size: 22px; color: var(--muted); margin: 10px 0 36px; }
.founder__quote { font-style: italic; margin-bottom: 28px; }
@media (max-width: 960px) { .founder { grid-template-columns: 1fr; } .founder__photo { position: static; max-width: 420px; } }
/* Portrait du fondateur (photo paysage recadrée sur le sujet) */
.founder__photo img { object-position: 40% 30%; filter: none; }

/* ---------- Publics (Expertises) ---------- */
.audiences { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.audience { padding: 32px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 100px; }
.audience__num { font-family: var(--italic); font-style: italic; font-size: 19px; color: var(--accent-ink); }
.audience .h3 { min-height: 2.36em; }
.audience dl { margin: 0; }
.audience dt { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.audience dd { margin: 4px 0 0; font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.audience .step__deliv { margin-top: auto; padding-top: 10px; }
.audience .tag { font-size: 11.5px; }
.audience--cta { background: var(--taupe); color: #fff; }
.audience--cta .h3 em { color: var(--accent-soft); }
.audience--cta p { color: rgba(255,255,255,.85); font-size: 15px; margin: 0; }
.audience--cta .link { margin-top: auto; align-self: flex-start; }
.audience--cta .link:hover { color: var(--accent-soft); }
@media (max-width: 1100px) { .audiences { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .audiences { grid-template-columns: 1fr; } .audience .h3 { min-height: 0; } }

/* ---------- Confidentialité & agilité (Atelier) ---------- */
.pillar { border-top: 2px solid var(--ink); padding-top: 28px; }
.pillar + .pillar { border-top-color: var(--accent); }
.pillar__num { display: block; font-family: var(--display); font-size: 64px; line-height: 1; color: var(--paper-3); margin-bottom: 18px; }
.pillar .h3 { margin-bottom: 14px; }
.pillar > p { color: var(--ink-soft); max-width: 52ch; }
.pillar .check-list { margin-top: 20px; }

/* ---------- Couvertures film & portrait ---------- */
.cover--film { background: #23282B; color: var(--on-deep); }
.cover--film::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 8%; height: 5cqi;
  background: repeating-linear-gradient(90deg, rgba(241,240,238,.18) 0 5cqi, transparent 5cqi 9cqi);
  box-shadow: 0 calc(84cqi * 1.414 - 10cqi) 0 0 transparent;
}
.cover--film::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 8%; height: 5cqi;
  background: repeating-linear-gradient(90deg, rgba(241,240,238,.18) 0 5cqi, transparent 5cqi 9cqi);
}
.cover__play {
  align-self: center; width: 30cqi; height: 30cqi; border-radius: 50%; border: 1px solid var(--accent); position: relative;
}
.cover__play::after {
  content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-left: 9cqi solid var(--accent); border-top: 5.5cqi solid transparent; border-bottom: 5.5cqi solid transparent;
}
.cover--portrait { background: var(--paper-2); color: var(--ink); }
.cover__face {
  align-self: center; width: 40cqi; height: 50cqi; position: relative;
  background:
    radial-gradient(circle at 50% 30%, var(--taupe) 0 13cqi, transparent 13.3cqi),
    radial-gradient(ellipse 22cqi 16cqi at 50% 100%, var(--taupe) 0 99%, transparent 100%);
  border-bottom: 1px solid var(--line-strong);
}
.cover--film::before { top: 2.5%; height: 4cqi; box-shadow: none; }
.cover--film::after { bottom: 2.5%; height: 4cqi; }

/* ==========================================================================
   Bouton d'appel (mobile)
   ========================================================================== */
.header-call { display: none; }
@media (max-width: 960px) {
  .header-call {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto; margin-right: 4px;
    border-radius: 50%; background: var(--accent); color: #fff; position: relative; z-index: 60;
  }
}

/* ==========================================================================
   Film « La fabrique à idées » (animation SVG de 30 s)
   ========================================================================== */
.film { max-width: 1120px; margin: 0 auto; }
.film__stage {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.6);
}
.film__svg { width: 100%; height: 100%; display: block; }
.film__caption {
  position: absolute; left: 4%; bottom: 5%; right: 30%; margin: 0;
  font-family: var(--italic); font-style: italic; font-size: clamp(16px, 2.3vw, 30px); line-height: 1.2;
  color: var(--ink); background: rgba(241,240,238,.88); padding: .35em .7em; border-left: 4px solid var(--accent);
  opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s;
}
.film__caption.is-on { opacity: 1; transform: none; }
.film__time {
  position: absolute; top: 4%; left: 4%; font-family: var(--sans); font-size: clamp(10px, 1.1vw, 13px);
  letter-spacing: .14em; color: var(--muted); background: rgba(241,240,238,.8); padding: 3px 8px;
}
.film.is-end .film__time { color: var(--on-deep-muted); background: transparent; }
.film__poster {
  position: absolute; inset: 0; border: 0; cursor: pointer; color: var(--on-deep);
  background: var(--deep) url("../img/ornement.svg") 88% 60% / auto 80% no-repeat;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  transition: opacity .5s, visibility .5s;
}
.film.is-started .film__poster { opacity: 0; visibility: hidden; }
.film__play {
  width: clamp(64px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); position: relative;
  transition: transform .3s var(--ease);
}
.film__play::after {
  content: ""; position: absolute; left: 56%; top: 50%; transform: translate(-50%, -50%);
  border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent;
}
.film__poster:hover .film__play { transform: scale(1.08); }
.film__poster-title { font-family: var(--display); text-transform: uppercase; font-size: clamp(24px, 4vw, 52px); letter-spacing: .01em; }
.film__poster-sub { font-family: var(--italic); font-style: italic; font-size: clamp(16px, 1.8vw, 22px); color: var(--on-deep-muted); }

.film__controls { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.film__btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(237,231,218,.35); background: transparent;
  color: var(--on-deep); display: grid; place-items: center; cursor: pointer; transition: background .25s, border-color .25s;
}
.film__btn:hover { background: var(--accent); border-color: var(--accent); }
.film__btn .i-pause { display: none; }
.film.is-playing .film__btn .i-pause { display: inline; }
.film.is-playing .film__btn .i-play { display: none; }
.film__bar { flex: 1; height: 3px; background: rgba(237,231,218,.2); position: relative; }
.film__progress { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); }

/* Scènes */
.film .scene { opacity: 0; visibility: hidden; transition: opacity .45s ease; }
.film .scene.is-on { opacity: 1; visibility: visible; }
.film.is-paused .scene, .film.is-paused .scene * { animation-play-state: paused !important; }
.film .scene [class] { transform-box: fill-box; }
/* éléments déjà tournés par un attribut transform : repère SVG d'origine */
.film .scene .s4-mark { transform-box: view-box; transform-origin: 0 0; }

/* Scène 1 — le brief */
.scene.is-on .s1-env { animation: s1-env 1.3s cubic-bezier(.2,.8,.3,1.2) both; }
@keyframes s1-env { from { transform: translate(-900px, -420px) rotate(-30deg); } to { transform: none; } }
.s1-flap { transform-origin: 50% 0; }
.scene.is-on .s1-flap { animation: s1-flap .5s 1.5s ease-in-out both; }
@keyframes s1-flap { to { transform: scaleY(-1); } }
.s1-letter { opacity: 0; }
.scene.is-on .s1-letter { animation: s1-letter .9s 1.9s cubic-bezier(.2,.8,.3,1.2) both; }
@keyframes s1-letter { 0% { opacity: 0; transform: translateY(40px); } 25% { opacity: 1; } 100% { opacity: 1; transform: translateY(-160px); } }
.steam { opacity: 0; }
.scene.is-on .steam { animation: steam 2.2s ease-in-out infinite; }
.scene.is-on .steam--2 { animation-delay: .6s; }
.scene.is-on .steam--3 { animation-delay: 1.2s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(10px); } 40% { opacity: .55; } 100% { opacity: 0; transform: translateY(-40px); } }
.s1-hand { transform-origin: 50% 100%; }
.scene.is-on .s1-hand { animation: s1-hand 5s ease-in both; }
.s1-hand { transform: rotate(342deg); }
/* L'horloge démarre à 8 h 57 pile, puis les aiguilles s'emballent */
@keyframes s1-hand { 0%, 25% { transform: rotate(342deg); } 100% { transform: rotate(1062deg); } }
.s1-hour { transform-origin: 50% 100%; transform: rotate(268.5deg); }
.scene.is-on .s1-hour { animation: s1-hour 5s ease-in both; }
@keyframes s1-hour { 0%, 25% { transform: rotate(268.5deg); } 100% { transform: rotate(328.5deg); } }

/* Scène 2 — l'écoute */
.scene.is-on .s2-bubble { animation: pop .5s .2s cubic-bezier(.2,.8,.3,1.4) both; }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.s2-word, .s2-note { transform-origin: 0 50%; transform: scaleX(0); }
.scene.is-on .s2-word { animation: grow .9s ease-out both, chatter 1.4s 1s ease-in-out infinite; }
.scene.is-on .s2-word--1 { animation-delay: .6s, 1.6s; }
.scene.is-on .s2-word--2 { animation-delay: 1.2s, 2.2s; }
.scene.is-on .s2-word--3 { animation-delay: 1.8s, 2.8s; }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes chatter { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.6); } }
.scene.is-on .s2-note { animation: grow .7s ease-out both; }
.scene.is-on .s2-note--1 { animation-delay: 1s; }
.scene.is-on .s2-note--2 { animation-delay: 1.8s; }
.scene.is-on .s2-note--3 { animation-delay: 2.6s; }
.scene.is-on .s2-note--4 { animation-delay: 3.4s; }
.scene.is-on .s2-hmm { animation: pop .5s 3.2s cubic-bezier(.2,.8,.3,1.4) both; }

/* Scène 3 — la fabrique à idées */
.s3-word { opacity: 0; }
.scene.is-on .s3-word { animation: s3-fall 1.3s ease-in both; }
.scene.is-on .s3-word--1 { animation-delay: .2s; }
.scene.is-on .s3-word--2 { animation-delay: .8s; }
.scene.is-on .s3-word--3 { animation-delay: 1.4s; }
.scene.is-on .s3-word--4 { animation-delay: 2s; }
@keyframes s3-fall { 0% { opacity: 0; transform: translateY(-40px); } 20% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(230px) scale(.6); } }
.s3-gear { transform-origin: 50% 50%; }
.scene.is-on .s3-gear--a { animation: spin 2.4s linear infinite; }
.scene.is-on .s3-gear--b { animation: spin 1.8s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.s3-crank { transform-box: view-box; transform-origin: 590px 470px; }
.scene.is-on .s3-crank { animation: spin 1.6s linear infinite; }
.s3-puff { opacity: 0; }
.scene.is-on .s3-puff { animation: puff 1.6s ease-out infinite; }
.scene.is-on .s3-puff--2 { animation-delay: .8s; }
@keyframes puff { 0% { opacity: .9; transform: translate(0,0) scale(.6); } 100% { opacity: 0; transform: translate(-30px,-110px) scale(2); } }
.s3-bulb { opacity: 0; }
.scene.is-on .s3-bulb { animation: s3-bulb .7s cubic-bezier(.2,.8,.3,1.5) both; }
.scene.is-on .s3-bulb--1 { animation-delay: 2.4s; }
.scene.is-on .s3-bulb--2 { animation-delay: 3.1s; }
.scene.is-on .s3-bulb--3 { animation-delay: 3.8s; }
@keyframes s3-bulb { 0% { opacity: 0; transform: translate(-150px, 0) scale(.2); } 60% { opacity: 1; transform: translate(0, -60px) scale(1.1); } 100% { opacity: 1; transform: none; } }
.s3-glow { transform-origin: 50% 50%; }
.scene.is-on .s3-glow { animation: glow 1.2s ease-out infinite; }
@keyframes glow { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(1.9); } }

/* Scène 4 — contrôle qualité */
.scene.is-on .s4-stamp { animation: s4-stamp 5s ease-in-out both; }
@keyframes s4-stamp {
  0%, 14% { transform: translateY(-260px); } 20% { transform: translateY(300px); } 27% { transform: translateY(-260px); }
  58% { transform: translateY(-260px); } 64% { transform: translateY(310px); } 71%, 100% { transform: translateY(-260px); }
}
.scene.is-on .s4-page--1 { animation: s4-p1 5s ease-in-out both; }
/* La page « À REFAIRE » se froisse et file droit dans la poubelle (centre de l'ouverture : x 1385) */
.film .scene .s4-page--1 { transform-origin: 50% 50%; }
@keyframes s4-p1 {
  0% { transform: translateX(-1000px); } 12% { transform: none; } 30% { transform: none; opacity: 1; }
  34% { transform: scale(.45) rotate(40deg); opacity: 1; }
  41% { transform: translate(330px, -170px) scale(.3) rotate(200deg); opacity: 1; }
  47% { transform: translate(585px, 10px) scale(.18) rotate(340deg); opacity: 1; }
  50%, 100% { transform: translate(585px, 60px) scale(.15) rotate(360deg); opacity: 0; }
}
.scene.is-on .s4-page--2 { animation: s4-p2 5s ease-in-out both; }
@keyframes s4-p2 {
  0%, 44% { transform: translateX(-1000px); } 54%, 74% { transform: none; }
  80% { transform: translateY(-36px); } 84% { transform: translateY(-30px); }   /* la fusée allume, la page se soulève */
  100% { transform: translateY(-1100px); }                                     /* décollage */
}
/* Fusée sous la page « PARFAIT » */
.s4-rocket, .s4-smoke { opacity: 0; }
.scene.is-on .s4-rocket { animation: s4-rocket 5s steps(1) both; }
@keyframes s4-rocket { 0% { opacity: 0; } 70% { opacity: 1; } }
.s4-flame { transform-origin: 50% 0%; }
.scene.is-on .s4-flame { animation: s4-flame .12s ease-in-out infinite alternate; }
@keyframes s4-flame { from { transform: scaleY(.7); } to { transform: scaleY(1.25); } }
.scene.is-on .s4-smoke { animation: s4-smoke 5s ease-out both; }
@keyframes s4-smoke { 0%, 76% { opacity: 0; transform: scale(.4); } 86% { opacity: .9; } 100% { opacity: 0; transform: scale(2.2); } }
.s4-smoke { transform-origin: 50% 50%; }
/* Poubelle qui se dissipe : son contenu n'est pas conservé */
.scene.is-on .s4-bin { animation: s4-bin 5s ease-in both; }
@keyframes s4-bin { 0%, 50% { opacity: 1; filter: blur(0); transform: none; } 66%, 100% { opacity: 0; filter: blur(8px); transform: translateY(-14px) scale(1.06); } }
.s4-bin { transform-origin: 50% 100%; }
.s4-dust { opacity: 0; }
.scene.is-on .s4-dust { animation: s4-dust 5s ease-out both; }
.scene.is-on .s4-dust--2 { animation-delay: .1s; } .scene.is-on .s4-dust--3 { animation-delay: .2s; }
.scene.is-on .s4-dust--4 { animation-delay: .15s; } .scene.is-on .s4-dust--5 { animation-delay: .25s; }
.scene.is-on .s4-dust--6 { animation-delay: .05s; } .scene.is-on .s4-dust--7 { animation-delay: .3s; }
@keyframes s4-dust { 0%, 50% { opacity: 0; transform: none; } 56% { opacity: .8; } 72%, 100% { opacity: 0; transform: translate(10px, -70px) scale(.3); } }
.s4-mark { opacity: 0; }
.scene.is-on .s4-mark--ko { animation: s4-ko 5s steps(1) both; }
@keyframes s4-ko { 0% { opacity: 0; } 20% { opacity: 1; } }
.scene.is-on .s4-mark--ok { animation: s4-ok 5s steps(1) both; }
@keyframes s4-ok { 0% { opacity: 0; } 64% { opacity: 1; } }

/* Scène 5 — assemblage */
.s5-cover { opacity: 0; transform-origin: 50% 100%; }
.scene.is-on .s5-cover--1 { animation: s5-c1 .9s .2s cubic-bezier(.2,.8,.3,1.3) both; }
.scene.is-on .s5-cover--2 { animation: s5-c2 .9s .9s cubic-bezier(.2,.8,.3,1.3) both; }
.scene.is-on .s5-cover--3 { animation: s5-c3 .9s 1.6s cubic-bezier(.2,.8,.3,1.3) both; }
@keyframes s5-c1 { from { opacity: 0; transform: translateY(-700px); } to { opacity: 1; transform: translateX(-170px) rotate(-9deg); } }
@keyframes s5-c2 { from { opacity: 0; transform: translateY(-700px); } to { opacity: 1; transform: translateY(-10px); } }
@keyframes s5-c3 { from { opacity: 0; transform: translateY(-700px); } to { opacity: 1; transform: translateX(170px) rotate(9deg); } }
.s5-tag { opacity: 0; transform-box: view-box; transform-origin: 0 0; }
.scene.is-on .s5-tag { animation: s5-tag 2.4s 2.4s ease-in-out both; }
@keyframes s5-tag { 0% { opacity: 0; transform: rotate(40deg); } 15% { opacity: 1; } 40% { transform: rotate(-18deg); } 65% { transform: rotate(9deg); } 85% { transform: rotate(-4deg); } 100% { opacity: 1; transform: rotate(0); } }
.s5-spark { opacity: 0; transform-origin: 50% 50%; }
.scene.is-on .s5-spark { animation: like 1.6s cubic-bezier(.2,.8,.3,1.3) infinite; }
.scene.is-on .s5-spark--1 { animation-delay: 2.6s; }
.scene.is-on .s5-spark--2 { animation-delay: 3s; }
.scene.is-on .s5-spark--3 { animation-delay: 3.4s; }
@keyframes sparkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }

/* Scène 6 — signature */
.s6-a, .s6-b, .s6-c, .s6-d { opacity: 0; }
.scene.is-on .s6-a { animation: rise .8s .2s ease-out both; }
.scene.is-on .s6-b { animation: rise .9s .5s ease-out both; }
.scene.is-on .s6-c { animation: rise .9s 1.3s ease-out both; }
.scene.is-on .s6-d { animation: rise .9s 2.1s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

@media (max-width: 600px) {
  .film__caption { right: 4%; bottom: 4%; }
}
.film .scene .s3-crank { transform-box: view-box; transform-origin: 590px 470px; }
.film .scene .s5-tag { transform-box: fill-box; transform-origin: 50% 0; }
.tel-inline { color: var(--accent-ink); font-weight: 600; white-space: nowrap; border-bottom: 1px solid currentColor; }
.cta__side .hero__actions, .cta__inner .hero__actions { margin-top: 8px; }
.section--deep .hero__actions .link { color: var(--on-deep); }
.field .chip { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; color: var(--ink); }

/* ==========================================================================
   Savoir-faire (accueil) : cartes interactives avec pictos animés
   ========================================================================== */
.skills { display: flex; gap: 14px; min-height: 470px; }
.skill {
  --band: var(--taupe); --skill-bg: #fff;
  position: relative; flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column;
  padding: 26px 26px 28px; border-radius: 20px; overflow: hidden;
  background: var(--skill-bg); color: var(--ink);
  box-shadow: 0 1px 0 rgba(48,54,58,.05), 0 22px 44px -30px rgba(48,54,58,.55);
  transition: flex-grow .65s var(--ease), background-color .45s ease, color .45s ease, transform .4s var(--ease), box-shadow .4s;
}
.skill--rapports    { --band: var(--taupe); }
.skill--magazines   { --band: var(--orange-band); }
.skill--newsletters { --band: var(--deep); }
.skill--brochures   { --band: var(--coral); }
.skill--films       { --band: #4A5257; }
.skill.is-active { flex-grow: 2.8; --skill-bg: var(--band); color: #fff; box-shadow: 0 30px 60px -30px rgba(48,54,58,.7); }
.skill:not(.is-active):hover { transform: translateY(-6px); }
.skill::after { /* ornement discret sur la carte active */
  content: ""; position: absolute; right: -30px; bottom: -40px; width: 180px; height: 300px; pointer-events: none;
  background: url("../img/ornement.svg") center / contain no-repeat; opacity: 0; transition: opacity .6s;
}
.skill.is-active::after { opacity: .1; }

.skill__toggle {
  position: absolute; inset: 0; z-index: 1; width: 100%; border: 0; padding: 0; margin: 0;
  background: transparent; cursor: pointer; border-radius: inherit;
}
.skill__toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.skill.is-active .skill__toggle { cursor: default; }

.skill__top { display: flex; justify-content: space-between; align-items: center; }
.skill__num { font-family: var(--italic); font-style: italic; font-size: 20px; opacity: .7; }
.skill__plus { width: 30px; height: 30px; border-radius: 50%; border: 1px solid currentColor; position: relative; opacity: .55; transition: transform .5s var(--ease), opacity .3s; }
.skill__plus::before, .skill__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.skill__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.skill.is-active .skill__plus { transform: rotate(135deg); opacity: .9; }

.skill__main { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.skill__icon {
  width: 84px; height: 84px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--paper); color: var(--accent-ink);
  transition: background-color .45s, color .45s, transform .5s var(--ease);
}
.skill:not(.is-active):hover .skill__icon { transform: scale(1.08) rotate(-4deg); background: var(--paper-2); }
.skill.is-active .skill__icon { background: rgba(255,255,255,.14); color: #fff; transform: scale(1.06); }
.skill__icon svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.skill__icon svg * { transform-box: fill-box; }
.skill__icon .ic-fill { fill: var(--skill-bg); transition: fill .45s; }
.skill.is-active .skill__icon .ic-fill { fill: color-mix(in srgb, var(--band) 86%, #fff); }

.skill__title {
  font-family: var(--sans); font-style: italic; font-weight: 600;
  font-size: clamp(19px, 1.6vw, 23px); line-height: 1.15; letter-spacing: -0.005em;
  transition: font-size .5s var(--ease);
}
.skill.is-active .skill__title { font-size: clamp(24px, 2.3vw, 32px); }

.skill__body {
  max-height: 0; opacity: 0; overflow: hidden; width: min(440px, 100%);
  transition: max-height .5s var(--ease), opacity .35s ease, margin-top .5s var(--ease);
}
.skill.is-active .skill__body { max-height: 280px; opacity: 1; margin-top: 18px; transition-delay: .18s, .3s, .18s; }
.skill__body p { margin: 0 0 16px; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.92); }
.skill .tag { border-color: rgba(255,255,255,.45); color: #fff; }
.skill__link {
  position: relative; z-index: 2; display: inline-flex; gap: 10px; margin-top: 18px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 3px;
}
.skill__link .arrow { transition: transform .3s var(--ease); }
.skill__link:hover .arrow { transform: translateX(4px); }

/* Pictos : états animés */
.ic-bar { fill: currentColor; stroke: none; transform-origin: 50% 100%; transform: scaleY(.35); transition: transform .6s var(--ease); }
.skill.is-active .ic-bar { transform: scaleY(1); }
.skill.is-active .ic-bar--2 { transition-delay: .1s; }
.skill.is-active .ic-bar--3 { transition-delay: .2s; }
.ic-draw { stroke-dasharray: 46; stroke-dashoffset: 46; transition: stroke-dashoffset .8s .25s var(--ease); stroke: var(--accent); }
.skill.is-active .ic-draw { stroke-dashoffset: 0; stroke: #fff; }

.ic-cover { transform-origin: 0% 100%; transition: transform .6s var(--ease); }
.skill:hover .ic-cover, .skill.is-active .ic-cover { transform: rotate(-10deg) translate(-3px, 2px); }

.ic-letter { transition: transform .6s var(--ease); }
.skill.is-active .ic-letter { transform: translateY(-12px); }
.ic-dot { fill: var(--accent); stroke: none; transform-origin: 50% 50%; transform: scale(0); transition: transform .45s .35s cubic-bezier(.2,.8,.3,1.6); }
.skill.is-active .ic-dot { transform: scale(1); fill: #fff; }

.ic-tag { transform-origin: 85% 15%; transition: transform .7s cubic-bezier(.2,.8,.3,1.5); }
.skill:hover .ic-tag, .skill.is-active .ic-tag { transform: rotate(-14deg); }
.ic-spark { fill: var(--accent); stroke: none; transform-origin: 50% 50%; transform: scale(0) rotate(0); transition: transform .5s .2s cubic-bezier(.2,.8,.3,1.6); }
.skill.is-active .ic-spark { transform: scale(1) rotate(45deg); fill: #fff; }

.ic-play { fill: currentColor; transform-origin: 50% 50%; transition: transform .5s var(--ease); }
.skill:hover .ic-play, .skill.is-active .ic-play { transform: scale(1.18); }
.ic-rec { fill: var(--coral); stroke: none; opacity: 0; }
.skill.is-active .ic-rec { opacity: 1; animation: rec 1.1s steps(2, jump-none) infinite; fill: #fff; }
@keyframes rec { 50% { opacity: 0; } }

/* Tablette & mobile : liste en accordéon */
@media (max-width: 900px) {
  .skills { flex-direction: column; min-height: 0; gap: 10px; }
  .skill { flex: none; padding: 18px 20px; border-radius: 16px; }
  .skill.is-active { flex-grow: 0; }
  .skill__top { position: absolute; right: 20px; top: 22px; }
  .skill__num { display: none; }
  .skill__main { margin-top: 0; flex-direction: row; align-items: center; gap: 16px; padding-right: 40px; }
  .skill__icon { width: 56px; height: 56px; }
  .skill__icon svg { width: 32px; height: 32px; }
  .skill.is-active .skill__title { font-size: 24px; }
  .skill__body { width: 100%; }
  .skill:not(.is-active):hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .skill, .skill *, .skill *::before, .skill *::after { transition-duration: .01s !important; animation: none !important; }
}

/* ==========================================================================
   Test de compatibilité (accueil)
   ========================================================================== */
.quiz {
  position: relative; max-width: 980px; margin: 0 auto;
  background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(48,54,58,.05), 0 30px 70px -40px rgba(48,54,58,.6);
  min-height: 460px;
}
.quiz::before { /* liseré de couleur, façon onglet */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, var(--taupe) 0 20%, var(--orange-band) 20% 40%, var(--deep) 40% 60%, var(--coral) 60% 80%, #4A5257 80%);
}
.quiz__screen { display: none; padding: clamp(32px, 5vw, 64px); }
.quiz__screen.is-on { display: block; animation: quiz-in .5s var(--ease) both; }
@keyframes quiz-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.quiz__kicker { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.quiz__note { font-family: var(--italic); font-style: italic; color: var(--muted); margin: 8px 0 0; }

/* Accueil du test */
.quiz__intro.is-on { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; min-height: 460px;
  background: url("../img/ornement-sombre.svg") right 6% center / auto 90% no-repeat; }
.quiz__big { font-family: var(--display); text-transform: uppercase; font-size: clamp(36px, 5.4vw, 72px); line-height: .95; margin: 0; }
.quiz__big em { font-family: var(--italic); text-transform: none; color: var(--accent); font-size: 1.12em; }

/* Questions */
.quiz__progress { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.quiz__count { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); white-space: nowrap; }
.quiz__bar { flex: 1; height: 4px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .5s var(--ease); }
.quiz__q { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.2; margin: 0 0 28px; outline: none; }
.quiz__answers { display: grid; gap: 12px; }
.quiz__answer {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; cursor: pointer;
  padding: 18px 20px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff;
  font-size: 17px; color: var(--ink);
  transition: border-color .25s, background .25s, transform .25s var(--ease), color .25s;
}
.quiz__answer:hover { border-color: var(--accent); transform: translateX(6px); }
.quiz__answer:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.quiz__letter {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); font-family: var(--italic); font-style: italic; font-size: 20px; color: var(--accent-ink);
  transition: background .25s, color .25s;
}
.quiz__answer:hover .quiz__letter { background: var(--accent); color: #fff; }
.quiz__answer.is-picked { background: var(--deep); border-color: var(--deep); color: #fff; transform: scale(.99); }
.quiz__answer.is-picked .quiz__letter { background: var(--accent); color: #fff; }
.quiz__question.is-leaving .quiz__q, .quiz__question.is-leaving .quiz__answers { opacity: 0; transform: translateX(-20px); transition: opacity .2s, transform .2s; }
.quiz__back { margin-top: 22px; border: 0; background: none; color: var(--muted); font-size: 14px; cursor: pointer; padding: 6px 0; }
.quiz__back:hover { color: var(--accent-ink); }

/* La fabrique calcule */
.quiz__factory.is-on { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 460px; background: var(--paper); }
.qz-svg { width: min(560px, 100%); height: auto; }
.qz-svg * { transform-box: fill-box; }
.qz-card { opacity: 0; animation: qz-fall 1.4s ease-in infinite; }
.qz-card--2 { animation-delay: .3s; } .qz-card--3 { animation-delay: .6s; } .qz-card--4 { animation-delay: .9s; } .qz-card--5 { animation-delay: 1.2s; }
@keyframes qz-fall { 0% { opacity: 0; transform: translateY(-10px) rotate(-20deg); } 20% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(95px) rotate(15deg) scale(.6); } }
.qz-gear { transform-origin: 50% 50%; }
.qz-gear--a { animation: spin 1.6s linear infinite; }
.qz-gear--b { animation: spin 1.2s linear infinite reverse; }
.qz-puff { opacity: 0; animation: puff 1.4s ease-out infinite; }
.qz-puff--2 { animation-delay: .7s; }
.qz-out { opacity: 0; transform-origin: 50% 50%; animation: qz-out 3.6s ease-out both; }
@keyframes qz-out { 0%, 62% { opacity: 0; transform: translate(-90px, 0) scale(.2); } 78% { opacity: 1; transform: translate(0, -24px) scale(1.15); } 88%, 100% { opacity: 1; transform: none; } }
.qz-glow { transform-origin: 50% 50%; animation: glow 1s ease-out infinite; }
.quiz__factory-text { font-family: var(--italic); font-style: italic; font-size: clamp(20px, 2.4vw, 28px); color: var(--ink-soft); margin: 18px 0 0; }

/* Résultat */
.quiz__result-head { display: grid; grid-template-columns: auto 1fr; gap: 28px 40px; align-items: center; margin-bottom: 40px; }
.quiz__score {
  width: clamp(130px, 16vw, 180px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; align-content: center;
  background: var(--accent); color: #fff; font-family: var(--display); font-size: clamp(48px, 6vw, 72px); line-height: 1;
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 18%, transparent);
  animation: pop .6s cubic-bezier(.2,.8,.3,1.4) both;
}
.quiz__score small { font-size: .38em; margin-top: 4px; font-family: var(--sans); }
.quiz[data-level="2"] .quiz__score { background: var(--orange-band); }
.quiz[data-level="3"] .quiz__score { background: var(--taupe); box-shadow: 0 0 0 10px rgba(94,85,75,.15); }
.quiz[data-level="4"] .quiz__score { background: var(--coral); box-shadow: 0 0 0 10px rgba(203,88,83,.15); }
.quiz__verdict { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.15; margin: 0 0 10px; outline: none; }
.quiz__sub { font-family: var(--italic); font-style: italic; font-size: clamp(20px, 2.2vw, 26px); color: var(--accent-ink); margin: 0; }
.quiz__build-title { border-top: 1px solid var(--line); padding-top: 24px; }
.quiz__traits { display: grid; gap: 10px; margin-bottom: 36px; }
.quiz__trait {
  display: grid; grid-template-columns: 28px 1fr 120px; gap: 14px; align-items: center;
  padding: 12px 16px; border-radius: 12px; background: var(--paper);
  opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s var(--ease);
}
.quiz__trait.is-built { opacity: 1; transform: none; }
.quiz__mark { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 700; color: #fff; background: var(--accent); }
.quiz__trait--2 .quiz__mark::before { content: "✓"; }
.quiz__trait--1 .quiz__mark { background: var(--taupe); }
.quiz__trait--1 .quiz__mark::before { content: "~"; }
.quiz__trait--0 .quiz__mark { background: var(--paper-3); color: var(--ink-soft); }
.quiz__trait--0 .quiz__mark::before { content: "?"; }
.quiz__trait--0 .quiz__label { color: var(--muted); }
.quiz__trait--bonus { background: color-mix(in srgb, var(--accent) 10%, #fff); }
.quiz__label { font-size: 16px; }
.quiz__meter { height: 6px; border-radius: 6px; background: var(--paper-3); overflow: hidden; }
.quiz__meter span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .8s .2s var(--ease); }
.quiz__trait--1 .quiz__meter span { background: var(--taupe); }
.quiz__trait.is-built.quiz__trait--2 .quiz__meter span { width: 100%; }
.quiz__trait.is-built.quiz__trait--1 .quiz__meter span { width: 55%; }
.quiz__trait.is-built.quiz__trait--0 .quiz__meter span { width: 12%; background: var(--muted); }
.quiz__actions { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.quiz__again { margin-left: auto; border: 0; background: none; color: var(--muted); font-size: 14px; cursor: pointer; }
.quiz__again:hover { color: var(--accent-ink); }
.quiz__nojs { padding: 40px; }

@media (max-width: 640px) {
  .quiz__result-head { grid-template-columns: 1fr; justify-items: start; }
  .quiz__trait { grid-template-columns: 28px 1fr; }
  .quiz__meter { grid-column: 2; }
  .quiz__again { margin-left: 0; }
  .quiz__answer { font-size: 16px; padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .quiz *, .quiz__screen.is-on { animation: none !important; transition-duration: .01s !important; }
  .qz-out, .qz-card { opacity: 1; }
}
.quiz__intro.is-on { background: none; position: relative; isolation: isolate; }
.quiz__intro.is-on::after {
  content: ""; position: absolute; z-index: -1; right: 4%; top: 6%; bottom: 0; width: 220px; pointer-events: none;
  background: url("../img/ornement-sombre.svg") center bottom / contain no-repeat; opacity: .08;
}
/* « Depuis 2015 », façon grande maison */
.site-header .brand { align-items: center; }
.site-header .brand__tag { display: flex; flex-direction: column; justify-content: center; line-height: 1.05; }
.brand__since {
  font-family: var(--sans); font-style: normal; font-size: 9.5px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent-ink); margin-top: 4px;
}

.legal-toc { font-size: 14px; color: var(--muted); margin: 8px 0 8px; line-height: 2; }
.legal-toc a { color: var(--accent-ink); border-bottom: 1px solid transparent; }
.legal-toc a:hover { border-bottom-color: currentColor; }
.legal-h3 { font-family: var(--serif); font-size: 20px; margin: 28px 0 10px; }
.legal h2 { scroll-margin-top: 100px; }
.legal p strong { color: var(--ink); }
[hidden] { display: none !important; }
@media (max-width: 960px) { .site-header .brand__tag { display: none; } }

/* ==========================================================================
   Secteurs d'expertise (page Expertises)
   ========================================================================== */
.sectors-note { margin-top: 16px; font-family: var(--italic); font-style: italic; font-size: 18px; color: var(--accent-ink); }
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sector {
  --band: var(--taupe);
  position: relative; display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; column-gap: 20px; align-items: center;
  padding: 24px 26px; border-radius: 18px; background: #fff; color: var(--ink); overflow: hidden;
  box-shadow: 0 1px 0 rgba(48,54,58,.05), 0 20px 40px -30px rgba(48,54,58,.5);
  transition: background-color .4s ease, color .4s ease, transform .4s var(--ease), box-shadow .4s;
}
.sector:nth-child(5n+1) { --band: var(--taupe); }
.sector:nth-child(5n+2) { --band: var(--orange-band); }
.sector:nth-child(5n+3) { --band: var(--deep); }
.sector:nth-child(5n+4) { --band: var(--coral); }
.sector:nth-child(5n+5) { --band: #4A5257; }
.sector__icon {
  grid-row: 1 / span 2; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); color: var(--accent-ink); transition: background-color .4s, color .4s, transform .5s var(--ease);
}
.sector__icon svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.sector__icon svg * { transform-box: fill-box; }
.sector__name { margin: 0; font-family: var(--sans); font-style: italic; font-weight: 600; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.2; align-self: end; }
.sector__refs { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; align-self: start; transition: color .4s; }
.sector:hover { background: var(--band); color: #fff; transform: translateY(-4px); box-shadow: 0 30px 50px -28px rgba(48,54,58,.7); }
.sector:hover .sector__icon { background: rgba(255,255,255,.14); color: #fff; transform: rotate(-6deg) scale(1.06); }
.sector:hover .sector__refs { color: rgba(255,255,255,.85); }

/* Petites animations des pictos au survol */
.sx-accent { fill: var(--accent); stroke: none; }
.sx-accent-stroke { stroke: var(--accent); }
.sector:hover .sx-accent { fill: #fff; }
.sector:hover .sx-accent-stroke { stroke: #fff; }
.sx-col { transform-origin: 50% 100%; transition: transform .45s var(--ease); }
.sector:hover .sx-col { transform: scaleY(1.12); }
.sx-draw { stroke: var(--accent); stroke-dasharray: 34; stroke-dashoffset: 0; }
.sector:hover .sx-draw { stroke: #fff; animation: sx-draw .7s var(--ease) both; }
@keyframes sx-draw { from { stroke-dashoffset: 34; } to { stroke-dashoffset: 0; } }
.sx-puff { fill: var(--accent); stroke: none; transform-origin: 50% 50%; }
.sector:hover .sx-puff { fill: #fff; animation: sx-puff 1.2s ease-out infinite; }
@keyframes sx-puff { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(-10px) scale(2.2); } }
.sx-tilt { transform-origin: 50% 50%; transition: transform .6s cubic-bezier(.2,.8,.3,1.5); }
.sector:hover .sx-tilt { transform: rotate(-30deg); }
.sx-beat { transform-origin: 50% 50%; }
.sector:hover .sx-beat { animation: sx-beat 1s ease-in-out infinite; }
@keyframes sx-beat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.12); } 50% { transform: scale(.98); } }
.sx-code { transition: transform .4s var(--ease); }
.sector:hover .sx-code:first-of-type { transform: translateX(-3px); }
.sector:hover .sx-code:nth-of-type(2) { transform: translateX(3px); }
.sx-win { stroke: var(--accent); transition: stroke .3s; }
.sector:hover .sx-win { stroke: #fff; animation: sx-blink 1.4s steps(2, jump-none) infinite; }
@keyframes sx-blink { 50% { opacity: .35; } }
.sx-ring { stroke: var(--accent); opacity: 0; transition: opacity .3s; }
.sector:hover .sx-ring { opacity: 1; stroke: #fff; animation: sx-ring .6s ease-in-out infinite alternate; }
@keyframes sx-ring { from { transform: translateX(0); } to { transform: translateX(2px); } }
.sx-bolt { fill: color-mix(in srgb, var(--accent) 22%, transparent); transform-origin: 50% 50%; }
.sector:hover .sx-bolt { fill: #fff; animation: sx-zap .5s ease-in-out 2; }
@keyframes sx-zap { 50% { transform: scale(1.12) rotate(-4deg); } }

@media (max-width: 1000px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .sectors { grid-template-columns: 1fr; }
  .sector { grid-template-columns: 56px 1fr; padding: 18px 20px; }
  .sector__icon { width: 56px; height: 56px; }
  .sector__icon svg { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) { .sector *, .sector { animation: none !important; transition-duration: .01s !important; } }

/* Sélecteur de langue avec petit drapeau stylisé */
.lang-switch {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 9px; border-radius: 100px;
  border: 1px solid var(--line-strong); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--ink);
  transition: border-color .25s, background .25s, transform .3s var(--ease);
}
.lang-switch:hover { border-color: var(--accent); background: #fff; transform: translateY(-1px); }
.lang-switch .flag { width: 22px; height: 16px; border-radius: 3px; clip-path: inset(0 round 3px); box-shadow: 0 0 0 1px rgba(48,54,58,.15); transition: transform .4s var(--ease); }
.lang-switch:hover .flag { transform: rotate(-6deg) scale(1.08); }
@media (max-width: 960px) { .lang-switch { font-size: 15px; padding: 10px 16px 10px 12px; } .lang-switch .flag { width: 28px; height: 20px; } }
/* Menu mobile : l'effet de flou de l'en-tête empêchait le menu de couvrir tout l'écran */
.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
/* Monuments stylisés à la place des drapeaux : statue de la Liberté (EN), tour Eiffel (FR) */
.lang-switch .flag.landmark { width: 16px; height: 20px; clip-path: none; box-shadow: none; border-radius: 0; color: var(--ink); transform-origin: 50% 100%; }
.lang-switch:hover .flag.landmark { transform: rotate(-8deg) scale(1.12); color: var(--accent-ink); }
@media (max-width: 960px) { .lang-switch .flag.landmark { width: 20px; height: 25px; } }

/* ==========================================================================
   Prise de rendez-vous et pièce jointe (page Contact)
   ========================================================================== */
.rdv { border: 1px solid var(--line-strong) !important; border-radius: 18px; padding: 26px 26px 22px !important; background: #fff; scroll-margin-top: 110px; }
.rdv legend { padding: 0 10px; margin-left: -10px; }
.rdv__opt { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); font-style: italic; }
.rdv__hint { margin: 4px 0 18px; font-size: 15px; color: var(--ink-soft); }
.rdv__step + .rdv__step { margin-top: 22px; }
.rdv__label { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 600; font-size: 15px; }
.rdv__label span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 12px; }
.rdv__picker { display: grid; gap: 14px; }
.rdv__days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rdv__day {
  flex: 0 0 64px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 6px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; cursor: pointer;
  transition: all .25s var(--ease); position: relative;
}
.rdv__day:hover { border-color: var(--accent); transform: translateY(-2px); }
.rdv__day.is-on { background: var(--deep); border-color: var(--deep); color: #fff; }
/* Jours fériés ou fermés : on les voit, grisés et hachurés, on ne peut pas les choisir */
.rdv__day.is-off, .rdv__day.is-off:hover {
  background: repeating-linear-gradient(135deg, var(--paper) 0 5px, var(--paper-2) 5px 6px); border: 1.5px dashed var(--line-strong);
  color: var(--muted); cursor: not-allowed; transform: none;
}
.rdv__day.is-off .rdv__num { opacity: .55; }
.rdv__day.is-off .rdv__mon { opacity: 1; letter-spacing: .06em; font-weight: 600; }
.rdv__day.has-slot::after { content: ""; position: absolute; top: 6px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.rdv__dow, .rdv__mon { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; opacity: .75; }
.rdv__num { font-family: var(--display); font-size: 24px; line-height: 1.1; }
.rdv__times { display: flex; flex-wrap: wrap; gap: 8px; min-height: 44px; }
.rdv__empty { margin: 0; color: var(--muted); font-style: italic; font-size: 15px; }
.rdv__time {
  padding: 8px 14px; border-radius: 100px; border: 1.5px solid var(--line-strong); background: #fff; cursor: pointer;
  font-size: 14px; font-variant-numeric: tabular-nums; transition: all .2s var(--ease);
}
.rdv__time:hover { border-color: var(--accent); }
.rdv__time.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.rdv__slots { display: grid; gap: 8px; margin-top: 16px; padding: 0; list-style: none; }
.rdv__slot { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; border: 1.5px dashed var(--line-strong); font-size: 15px; color: var(--muted); transition: all .3s var(--ease); }
.rdv__slot.is-set { border-style: solid; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, #fff); color: var(--ink); animation: pop .35s cubic-bezier(.2,.8,.3,1.4); }
.rdv__slot-n { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); white-space: nowrap; }
.rdv__slot-t { flex: 1; }
.rdv__slot-t::first-letter { text-transform: uppercase; }
.rdv__slot-x { border: 0; background: none; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 4px; }
.rdv__slot-x:hover { color: var(--coral); }
.rdv__flash { margin: 8px 0 0; font-size: 14px; color: var(--coral); min-height: 1em; }

.dropzone {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 20px; margin-top: 8px;
  border: 1.5px dashed var(--line-strong); border-radius: 16px; background: #fff; cursor: pointer; text-align: center;
  text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; transition: all .25s var(--ease);
}
.dropzone svg { width: 30px; height: 30px; color: var(--accent-ink); transition: transform .3s var(--ease); }
.dropzone:hover, .dropzone.is-over { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, #fff); }
.dropzone:hover svg, .dropzone.is-over svg { transform: translateY(-3px); }
.dropzone:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.dropzone__text { font-size: 16px; color: var(--ink); }
.dropzone__text u { color: var(--accent-ink); }
.dropzone__hint { font-size: 13px; color: var(--muted); }
.dropzone__file { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 0; padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 8%, #fff); border: 1.5px solid var(--accent); font-size: 15px; }
.dropzone__remove { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); }
.dropzone__remove:hover { color: var(--coral); }
.dropzone__error { margin: 6px 0 0; font-size: 14px; color: var(--coral); }
@media (max-width: 600px) { .rdv { padding: 20px 16px 16px !important; } }
/* Pot de miel anti-robots (invisible) */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions [type="submit"][disabled] { opacity: .6; cursor: wait; }
/* Format du rendez-vous : Teams ou en présentiel */
.rdv__formats { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 12px; }
.rdv__format { position: relative; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; }
.rdv__format input { position: absolute; opacity: 0; pointer-events: none; }
.rdv__format-box {
  display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; transition: all .25s var(--ease);
}
.rdv__format svg { grid-row: 1 / span 2; width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--accent-ink); transition: transform .4s var(--ease), color .25s; }
.rdv__dot { fill: var(--accent); stroke: none; }
.rdv__format-name { font-weight: 600; font-size: 16px; color: var(--ink); align-self: end; }
.rdv__format-sub { font-size: 13px; color: var(--muted); align-self: start; }
.rdv__format:hover .rdv__format-box { border-color: var(--accent); transform: translateY(-2px); }
.rdv__format:hover svg { transform: rotate(-6deg) scale(1.06); }
.rdv__format input:checked + .rdv__format-box { background: var(--deep); border-color: var(--deep); }
.rdv__format input:checked + .rdv__format-box svg { color: #fff; }
.rdv__format input:checked + .rdv__format-box .rdv__format-name { color: #fff; }
.rdv__format input:checked + .rdv__format-box .rdv__format-sub { color: var(--on-deep-muted); }
.rdv__format input:focus-visible + .rdv__format-box { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 600px) { .rdv__formats { grid-template-columns: 1fr 1fr; } .rdv__format-box { grid-template-columns: 1fr; text-align: center; justify-items: center; } .rdv__format svg { grid-row: auto; } }
.rdv__steam { stroke: var(--accent); }
.rdv__format input:checked + .rdv__format-box .rdv__steam { stroke: var(--accent-soft); }
.rdv__format:hover .rdv__steam { animation: steam 1.6s ease-in-out infinite; }
/* Deux cartes de même largeur et de même hauteur */
.rdv__formats { grid-template-columns: 1fr 1fr; align-items: stretch; }
.rdv__format, .rdv__format-box { height: 100%; }
.rdv__format-box { min-height: 76px; }

/* Film, scène 5 : des « j'aime » façon réseaux sociaux à la place des étoiles */
@keyframes like {
  0% { opacity: 0; transform: translateY(14px) scale(.3); }
  25% { opacity: 1; transform: translateY(0) scale(1.12); }
  45% { transform: scale(1) rotate(-8deg); }
  60% { transform: scale(1) rotate(4deg); }
  100% { opacity: 0; transform: translateY(-46px) scale(.9); }
}

/* Film, scène agenda : la date est calée en 48 h */
.scene.is-on .s7-card { animation: pop .55s cubic-bezier(.2,.8,.3,1.3) both; }
.s7-card { transform-origin: 50% 50%; }
.scene.is-on .s7-mail { animation: s7-mail 1s .4s ease-in-out 2; }
@keyframes s7-mail { 50% { transform: translateY(-6px) rotate(-6deg); } }
.s7-arc, .s7-arrow, .s7-ring, .s7-check, .s7-fill, .s7-badge { opacity: 0; }
.scene.is-on .s7-arc { animation: s7-in .1s .9s both, s7-dash 1.2s .9s linear both; }
@keyframes s7-in { to { opacity: 1; } }
@keyframes s7-dash { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
.scene.is-on .s7-arrow { animation: s7-in .2s 1.6s both; }
.s7-ring { stroke-dasharray: 290; stroke-dashoffset: 290; transform-origin: 50% 50%; transform: rotate(-90deg); }
.scene.is-on .s7-ring { animation: s7-ring .6s 1.75s ease-out both; }
@keyframes s7-ring { from { opacity: 1; stroke-dashoffset: 290; } to { opacity: 1; stroke-dashoffset: 0; } }
.scene.is-on .s7-fill { animation: s7-fill .4s 2.2s ease-out both; }
@keyframes s7-fill { to { opacity: .14; } }
.s7-check { stroke-dasharray: 60; stroke-dashoffset: 60; }
.scene.is-on .s7-check { animation: s7-check .35s 2.3s ease-out both; }
@keyframes s7-check { from { opacity: 1; stroke-dashoffset: 60; } to { opacity: 1; stroke-dashoffset: 0; } }
.s7-badge { transform-origin: 50% 50%; }
.scene.is-on .s7-badge { animation: s7-badge .9s 2.5s cubic-bezier(.2,.8,.3,1.5) both; }
@keyframes s7-badge { 0% { opacity: 0; transform: scale(.2) rotate(-30deg); } 60% { opacity: 1; transform: scale(1.12) rotate(6deg); } 100% { opacity: 1; transform: scale(1) rotate(-4deg); } }

.quiz__factory-text { text-align: center; padding: 0 16px; }

/* Film : bouton d'audiodescription et transcription */
.film__ad {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 100px;
  border: 1px solid rgba(237,231,218,.35); background: transparent; color: var(--on-deep); cursor: pointer;
  font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .04em; transition: background .25s, border-color .25s;
}
.film__ad:hover { border-color: var(--accent); }
.film__ad[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.film__ad .i-wave { opacity: .5; }
.film__ad[aria-pressed="true"] .i-wave { opacity: 1; animation: ad-wave 1s ease-in-out infinite alternate; }
@keyframes ad-wave { from { opacity: .4; } to { opacity: 1; } }
.film__ad:focus-visible, .film__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.film__transcript { margin-top: 18px; color: var(--on-deep-muted); font-size: 15px; }
.film__transcript summary { cursor: pointer; color: var(--on-deep); font-weight: 600; letter-spacing: .04em; display: inline-flex; gap: 8px; align-items: center; }
.film__transcript summary::marker { color: var(--accent-soft); }
.film__transcript ol { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 8px; max-width: 72ch; }
.film__transcript li { line-height: 1.55; }
@media (max-width: 600px) { .film__ad span { display: none; } .film__ad { padding: 0 12px; } }

.hero__text .lead strong { font-weight: 700; color: var(--ink); }

.section-head .lead strong { font-weight: 700; color: var(--ink); }

.section--deep .section-head .lead strong { color: #fff; }

.skill.is-active .skill__body { max-height: 380px; }
.skill .step__deliv { gap: 6px; }
.page-hero .lead strong { font-weight: 700; color: var(--ink); }

/* ---------- Ligne éditoriale (accueil) : trois colonnes ---------- */
.grid-4--3 { grid-template-columns: repeat(3, 1fr); }
.grid-4--3 .principle__num { font-size: 24px; margin-bottom: 22px; }
@media (max-width: 1000px) {
  .grid-4--3 { grid-template-columns: 1fr; }
  .grid-4--3 > *:nth-child(even) { padding-left: 0 !important; border-left: 0; }
}

/* ---------- Témoignages ---------- */
.exergue { margin: 0; }
.exergue__texte {
  margin: 0; font-family: var(--italic); font-style: italic; font-weight: 400;
  font-size: clamp(26px, 3.3vw, 46px); line-height: 1.16; letter-spacing: -0.012em; max-width: 31ch;
}
.exergue__texte::before, .temoin blockquote::before { content: "«\00a0"; color: var(--accent-soft); }
.exergue__texte::after, .temoin blockquote::after { content: "\00a0»"; color: var(--accent-soft); }
html[lang="en"] .exergue__texte::before, html[lang="en"] .temoin blockquote::before { content: "“"; }
html[lang="en"] .exergue__texte::after, html[lang="en"] .temoin blockquote::after { content: "”"; }
.exergue__qui, .temoin figcaption {
  margin-top: 22px; display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.exergue__qui::before, .temoin figcaption::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.exergue__qui { color: rgba(255, 255, 255, .74); }
.temoins {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px;
  margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line);
}
.temoins--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
@media (max-width: 860px) { .temoins, .temoins--3 { grid-template-columns: 1fr; } }
.temoins__titre { grid-column: 1 / -1; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.temoin { margin: 0; }
.temoin blockquote { margin: 0; font-family: var(--italic); font-style: italic; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.3; color: var(--ink); }
.temoin blockquote::before, .temoin blockquote::after { color: var(--accent); }
.temoin figcaption { margin-top: 18px; color: var(--muted); }

/* ---------- Film à voir (Réalisations) : lecteur chargé au clic ---------- */
.avoir {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px 64px; align-items: center;
  margin-bottom: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line); scroll-margin-top: 120px;
}
.avoir__titre { margin: 22px 0 14px; }
.avoir__texte p { color: var(--ink-soft); max-width: 44ch; }
.avoir__texte .small { color: var(--muted); margin: 18px 0 0; }
.lecteur { position: relative; aspect-ratio: 16 / 9; background: #23282B; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(35, 40, 43, .55); }
.lecteur iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lecteur__affiche {
  position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr auto;
  padding: clamp(26px, 4vw, 48px) clamp(20px, 3vw, 40px); color: var(--on-deep);
}
.lecteur__affiche::before, .lecteur__affiche::after { content: ""; position: absolute; left: 0; right: 0; height: 4.5%; background: #15191B; }
.lecteur__affiche::before { top: 0; }
.lecteur__affiche::after { bottom: 0; }
.lecteur__kicker { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-deep-muted); }
.lecteur__play {
  place-self: center; width: clamp(60px, 7vw, 92px); aspect-ratio: 1; border-radius: 50%;
  background: var(--accent); position: relative; transition: transform .35s var(--ease), background .35s var(--ease);
}
.lecteur__play::after {
  content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff;
}
.lecteur__affiche:hover .lecteur__play, .lecteur__affiche:focus-visible .lecteur__play { transform: scale(1.08); background: var(--accent-soft); }
.lecteur__bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.lecteur__titre { font-family: var(--display); text-transform: uppercase; font-size: clamp(18px, 2.3vw, 34px); line-height: 1; letter-spacing: -0.008em; }
.lecteur__titre em { font-family: var(--italic); font-style: italic; text-transform: none; color: var(--accent-soft); font-size: 1.14em; }
.lecteur__cta { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; padding-bottom: 4px; border-bottom: 1px solid currentColor; }
.work__voir { margin-top: 12px; }
.refs__voir { margin-top: 18px; }
@media (max-width: 860px) {
  .avoir { grid-template-columns: 1fr; }
  .lecteur__cta { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lecteur__play { transition: none; } }

/* ---------- Roue des thèmes (Contact) ---------- */
.contact-grid { grid-template-areas: "info form" "roue form"; grid-template-rows: auto 1fr; }
.contact-info { grid-area: info; }
#contact-form { grid-area: form; }
.roue-bloc { grid-area: roue; scroll-margin-top: 110px; min-width: 0; }
@media (max-width: 960px) { .contact-grid { grid-template-areas: "info" "form" "roue"; grid-template-rows: auto; } }

.roue { background: #fff; border: 1px solid var(--line-strong); border-radius: 18px; padding: 26px 24px 24px; }
@media (min-width: 961px) and (min-height: 900px) { .roue { position: sticky; top: 108px; } }
.roue__titre { margin: 16px 0 10px; font-size: clamp(21px, 1.9vw, 25px); }
.roue__intro { margin: 0; font-size: 15px; color: var(--ink-soft); }
.roue__cadran { display: grid; place-items: center; margin: 16px 0 18px; }
.roue__svg { width: min(100%, 300px); height: auto; overflow: visible; }
.roue__lunette { fill: #2B3135; }
.roue__graduations { fill: none; stroke: rgba(241, 240, 238, .42); stroke-width: 5; stroke-dasharray: 1.2 14.77; }
.roue__disque {
  transform-box: view-box; transform-origin: 50% 50%; transform: rotate(30deg);
  transition: transform 5.2s cubic-bezier(.38, .96, .74, 1); will-change: transform;   /* la même courbe que dans main.js (son de la roue) */
}
.roue__part > path { fill: #353C40; stroke: rgba(241, 240, 238, .16); stroke-width: 1; transition: fill .6s var(--ease); }
.roue__part:nth-child(even) > path { fill: #454C50; }
.roue__mot { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; fill: #F1F0EE; }
.roue__picto { fill: none; stroke: var(--accent-soft); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .6s var(--ease); }
.roue__part.is-gagnant > path { fill: var(--accent); }
.roue__part.is-gagnant .roue__picto { stroke: #fff; }
.roue__moyeu { fill: var(--paper); stroke: var(--accent); stroke-width: 1.5; }
.roue__lambda { font-family: var(--sans); font-size: 36px; fill: var(--accent); }
.roue__aiguille { fill: var(--accent); stroke: #fff; stroke-width: 2; stroke-linejoin: round; transform-box: fill-box; transform-origin: 50% 0; }
.roue.is-fini .roue__svg { animation: roue-halo 1.6s ease-out 1; }
.roue.is-fini .roue__aiguille { animation: roue-tic .6s var(--ease) 1; }
@keyframes roue-halo {
  0% { filter: drop-shadow(0 0 0 rgba(229, 121, 42, 0)); }
  35% { filter: drop-shadow(0 0 16px rgba(229, 121, 42, .5)); }
  100% { filter: drop-shadow(0 0 0 rgba(229, 121, 42, 0)); }
}
@keyframes roue-tic { 0% { transform: rotate(0); } 30% { transform: rotate(-9deg); } 60% { transform: rotate(4deg); } 100% { transform: rotate(0); } }

/* Le thème tiré : filet, titre et reflet « dorure » */
.roue__resultat { position: relative; margin: 0 0 18px; }
.roue__filet { display: block; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; margin-bottom: 14px; }
.roue__kicker { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.roue__theme {
  margin: 8px 0; font-family: var(--display); font-size: clamp(22px, 2vw, 26px); line-height: 1.05;
  text-transform: uppercase; letter-spacing: -0.006em; color: var(--ink);
}
.roue__theme em { font-family: var(--italic); font-style: italic; text-transform: none; font-size: 1.16em; color: var(--accent); }
.roue__question { margin: 0 0 10px; font-family: var(--italic); font-style: italic; font-size: 17px; line-height: 1.28; color: var(--ink-soft); }
.roue__ajout { margin: 0; font-size: 13px; color: var(--muted); }
.roue__retirer { border: 0; background: none; padding: 0; font: inherit; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.roue__resultat-picto {
  position: absolute; right: 0; top: 16px; width: 44px; height: 44px; overflow: visible; pointer-events: none;
  fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.roue__resultat-picto path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.roue__kicker, .roue__theme { padding-right: 56px; }
.roue__resultat.is-on .roue__filet { animation: roue-filet .9s var(--ease) both; }
.roue__resultat.is-on .roue__kicker { animation: roue-monte .6s .15s var(--ease) both; }
.roue__resultat.is-on .roue__theme { animation: roue-monte .8s .25s var(--ease) both; }
.roue__resultat.is-on .roue__question { animation: roue-monte .7s .55s var(--ease) both; }
.roue__resultat.is-on .roue__ajout { animation: roue-monte .7s .75s var(--ease) both; }
.roue__resultat.is-on .roue__resultat-picto path { animation: roue-trace 1.3s .3s var(--ease) forwards; }
@keyframes roue-filet { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes roue-monte { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes roue-trace { to { stroke-dashoffset: 0; } }
@keyframes roue-reflet { from { background-position: 100% 0; } to { background-position: 0 0; } }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .roue__theme {
    background: linear-gradient(100deg, var(--ink) 0%, var(--ink) 42%, #F2A968 50%, var(--ink) 58%, var(--ink) 100%) 100% 0 / 280% 100% no-repeat;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  }
  .roue__theme em { -webkit-text-fill-color: var(--accent); }
  .roue__resultat.is-on .roue__theme { animation: roue-monte .8s .25s var(--ease) both, roue-reflet 1.7s .8s ease-in-out both; }
}
.roue__bouton { width: 100%; justify-content: center; }
.roue__bouton:disabled { opacity: .55; cursor: default; }
.roue__bouton:disabled:hover { background: var(--ink); border-color: var(--ink); }

/* Rappel du thème dans le bloc rendez-vous */
.rdv__theme { margin: 18px 0 0; padding-top: 14px; border-top: 1px dashed var(--line-strong); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.rdv__theme span { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rdv__theme strong { font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--accent-ink); }
.rdv__roue-lien { display: none; margin: 16px 0 0; }
@media (max-width: 960px) { .rdv__roue-lien { display: block; } }

@media (prefers-reduced-motion: reduce) {
  .roue__disque { transition-duration: .01s; }
  .roue.is-fini .roue__svg, .roue.is-fini .roue__aiguille, .roue__resultat.is-on * { animation: none !important; }
  .roue__filet { transform: none; }
  .roue__resultat-picto path { stroke-dasharray: none; stroke-dashoffset: 0; }
}
.roue__retour { display: none; margin: 14px 0 0; }
@media (max-width: 960px) { .roue__retour { display: block; } }

/* ---------- Film : bouton de la musique (elle joue d'office ; le bouton la coupe) ---------- */
.film__son .i-barre { opacity: 0; transition: opacity .2s; }
.film__son .i-note { transition: opacity .2s; }
.film__son[aria-pressed="false"] .i-barre { opacity: 1; }                 /* musique coupée : la note est barrée */
.film__son[aria-pressed="false"] .i-note { opacity: .55; }
.film.is-musique .film__son svg { animation: son-danse .5s ease-in-out infinite alternate; }   /* la note danse quand la musique joue (120 à la noire) */
@keyframes son-danse { from { transform: translateY(1px); } to { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .film.is-musique .film__son svg { animation: none; } }

/* ---------- Coupes de lignes (voir aussi le début de main.js) ----------
   Titres et citations : des lignes équilibrées. Textes courants : jamais un mot seul sur la dernière ligne.
   .l : une phrase passée à la ligne, à la demande (chaque phrase forme son propre bloc). */
h1, h2, h3, h4, .display, .h2, .h3, .lead-serif, .quote, .exergue__texte, .temoin blockquote { text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; overflow-wrap: break-word; }
.l { display: block; }
.ens { display: inline-block; }   /* un groupe de mots qui reste d'un seul tenant tant que la ligne le permet (signatures, voir main.js) */
.exergue__texte.exergue__texte--lignes::before, .exergue__texte.exergue__texte--lignes::after,
html[lang="en"] .exergue__texte.exergue__texte--lignes::before, html[lang="en"] .exergue__texte.exergue__texte--lignes::after { content: none; }
.exergue__texte--lignes > .l:first-child::before { content: "«\00a0"; color: var(--accent-soft); }
.exergue__texte--lignes > .l:last-child::after { content: "\00a0»"; color: var(--accent-soft); }
html[lang="en"] .exergue__texte--lignes > .l:first-child::before { content: "“"; }
html[lang="en"] .exergue__texte--lignes > .l:last-child::after { content: "”"; }

/* ---------- Phrases en gras dans les chapôs ---------- */
.lead strong { font-weight: 700; color: var(--ink); }
.section--deep .lead strong { color: #fff; }

/* ---------- Fondateur : note sous la signature ---------- */
.founder__role + .founder__note { margin-top: -24px; }
.founder__note { font-size: 14px; line-height: 1.5; color: var(--muted); margin-bottom: 36px; max-width: 48ch; }
