/* =========================================================================
   EVA DUBARD — STYLES
   Couleurs, typographies et espacements : tout est dans :root ci-dessous.
   ========================================================================= */
:root {
  --bg: #F7F6F2;        /* blanc cassé */
  --bg-2: #EFEDE7;      /* nuance très légère pour les vignettes */
  --ink: #222222;       /* noir charbon */
  --ink-2: #5B5955;     /* texte secondaire (contraste AA sur le fond) */
  --warm: #B8B5AC;      /* gris chaud — éléments secondaires */
  --accent: #5B3A72;    /* aubergine — boutons et chiffres (change-la ici) */
  --accent-dark: #452A58;
  --line: rgba(34, 34, 34, .14);
  --line-strong: rgba(34, 34, 34, .9);

  --font-title: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --max: 1440px;
  --pad: clamp(20px, 4.4vw, 72px);
  --gap: clamp(16px, 1.8vw, 28px);
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .5s; animation-timing-function: var(--ease); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { overflow-x: clip; }
img, iframe, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 4px; }
::selection { background: var(--ink); color: var(--bg); }

/* Page entrance */
.js body { animation: pageIn .8s var(--ease) both; }
.js body.is-leaving { opacity: 0; transition: opacity .35s var(--ease); }
@keyframes pageIn { from { opacity: 0; } }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: var(--bg); padding: 10px 16px; font-size: 14px; }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(80px, 11vw, 168px) 0; }
.section + .section { padding-top: 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; margin: 0; }
.t-display { font-size: clamp(44px, 7.6vw, 128px); letter-spacing: -.045em; line-height: .98; }
.t-h1 { font-size: clamp(40px, 5.8vw, 96px); letter-spacing: -.04em; }
.t-h2 { font-size: clamp(32px, 4.2vw, 64px); }
.t-h3 { font-size: clamp(22px, 2vw, 30px); letter-spacing: -.025em; line-height: 1.15; }
.t-lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; letter-spacing: -.01em; color: var(--ink); max-width: 40ch; }
.t-body { color: var(--ink-2); max-width: 58ch; }
.soft { color: var(--warm); }
.ink-2 { color: var(--ink-2); }

.label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-2); font-weight: 400;
}
.section-label {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap);
  padding-top: 18px; border-top: 1px solid var(--line-strong); margin-bottom: clamp(40px, 6vw, 88px);
}
.section-label span:last-child { text-align: right; }

/* ---------- Links & buttons ---------- */
.link {
  position: relative; display: inline-flex; gap: 8px; align-items: center; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px; transition: background-size .6s var(--ease-out);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link .arr { transition: transform .5s var(--ease-out); }
.link:hover .arr { transform: translateX(4px); }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px; overflow: hidden; isolation: isolate;
  padding: 16px 26px; border: 1px solid var(--ink); border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  transition: color .5s var(--ease-out);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform .6s var(--ease-out);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: translateY(0); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid::before { background: var(--bg); }
.btn--solid:hover { color: var(--ink); }
.btn .arr { transition: transform .5s var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; transition: background .5s var(--ease), border-color .5s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(247, 246, 242, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { font-family: var(--font-title); font-weight: 600; font-size: 17px; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 10px; }
.logo .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.nav ul { list-style: none; display: flex; gap: clamp(20px, 2.6vw, 40px); margin: 0; padding: 0; }
.nav a { font-size: 14.5px; position: relative; padding: 4px 0; color: var(--ink-2); transition: color .4s var(--ease); }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .nav-num { display: none; }
.header-contact { font-size: 14.5px; }
.menu-toggle { display: none; font-size: 14.5px; font-weight: 500; }

@media (max-width: 860px) {
  .header-contact { display: none; }
  .menu-toggle { display: inline-block; position: relative; z-index: 102; }
  .nav {
    position: fixed; inset: 0; z-index: 101; background: var(--bg);
    display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad);
    opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-top: 1px solid var(--line); }
  .nav li:last-child { border-bottom: 1px solid var(--line); }
  .nav a { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-title); font-size: clamp(36px, 10vw, 56px); letter-spacing: -.04em; color: var(--ink); padding: 14px 0; }
  .nav a::after { display: none; }
  .nav .nav-num { display: inline; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-2); }
  body.menu-open .logo { position: relative; z-index: 102; }
}

/* ---------- Home hero ---------- */
.hero { padding: clamp(56px, 9vw, 140px) 0 clamp(40px, 5vw, 72px); }
.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-bottom: clamp(40px, 6vw, 96px); }
.hero-meta > :nth-child(2) { text-align: center; }
.hero-meta > :last-child { text-align: right; }
.hero h1 { max-width: 13ch; }
.hero-foot { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: clamp(40px, 5vw, 72px); align-items: end; }
.hero-foot .btn-row { justify-content: flex-end; }

/* Line reveal for big titles */
.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-line > span { display: block; }
.js .split-line > span { transform: translateY(105%); transition: transform 1.3s var(--ease-out); }
.js .is-in .split-line > span, .js .split-line.is-in > span { transform: none; }

/* Showreel */
.reel { position: relative; }
.reel-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); width: 100%; display: block; text-align: left; }
.reel-frame .media { position: absolute; inset: 0; }
.reel-caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; }

/* ---------- Media / thumbnails ---------- */
.media {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-2);
}
.media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.4s var(--ease-out), opacity 1.2s var(--ease); }
.js .media img { opacity: 0; }
.js .media img.is-loaded { opacity: 1; }
.ph {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #F1EFEA 0%, #E6E3DC 55%, #DEDAD2 100%);
  transition: transform 1.4s var(--ease-out);
}
.ph::before, .ph::after { content: ''; position: absolute; background: rgba(34, 34, 34, .07); }
.ph::before { left: 33.33%; top: 0; bottom: 0; width: 1px; }
.ph::after { top: 33.33%; left: 0; right: 0; height: 1px; }
.ph-grid { position: absolute; inset: 0; pointer-events: none; }
.ph-grid::before, .ph-grid::after { content: ''; position: absolute; background: rgba(34, 34, 34, .07); }
.ph-grid::before { left: 66.66%; top: 0; bottom: 0; width: 1px; }
.ph-grid::after { top: 66.66%; left: 0; right: 0; height: 1px; }
.ph-tag { position: absolute; left: 16px; bottom: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.corner { position: absolute; width: 14px; height: 14px; border-color: rgba(34, 34, 34, .35); border-style: solid; border-width: 0; }
.corner.tl { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.corner.tr { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.corner.bl { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.corner.br { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.media .ph-tag { left: 34px; bottom: 15px; }

.play {
  position: absolute; left: 50%; top: 50%; z-index: 2; translate: -50% -50%;
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  background: rgba(247, 246, 242, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .8s var(--ease-out), background .5s var(--ease);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
}
.play svg { width: 14px; height: 14px; margin-left: 2px; }
.reel .play { width: 104px; height: 104px; }

.timecode {
  position: absolute; right: 16px; bottom: 14px; z-index: 2; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-2);
  opacity: 0; transform: translateY(4px); transition: opacity .6s var(--ease), transform .6s var(--ease-out);
}
.media img ~ .timecode { color: var(--bg); }

/* hover */
.work-link:hover .media img, .work-link:hover .ph, .reel-frame:hover .ph, .reel-frame:hover img { transform: scale(1.035); }
.work-link:hover .play, .reel-frame:hover .play { transform: scale(1.08); background: rgba(247, 246, 242, .96); }
.work-link:hover .timecode, .reel-frame:hover .timecode { opacity: 1; transform: none; }

/* ---------- Gallery (justified rows: vertical & horizontal at equal height) ---------- */
.gallery { display: flex; flex-wrap: wrap; gap: clamp(36px, 4vw, 64px) var(--gap); }
.gallery::after { content: ''; flex: 1000 1 0; }
.work { --ar: 1.7778; flex: var(--ar) 1 calc(var(--ar) * 350px); min-width: 0; }
.work--vertical { max-width: calc(var(--ar) * 640px); }
.work--vertical { --ar: .5625; }
.work .media { aspect-ratio: var(--ar); }
.work-link { display: block; width: 100%; text-align: left; }
.work-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding-top: 16px; border-top: 1px solid transparent; }
.work-index { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-2); padding-top: 4px; letter-spacing: .04em; }
.work-meta h3 { font-size: clamp(18px, 1.35vw, 21px); letter-spacing: -.02em; line-height: 1.25; }
.work-meta .sub { grid-column: 2; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.work-meta .cats { grid-column: 2; margin-top: 6px; }
.work.is-hidden { display: none; }
.work.is-showing { animation: fadeUp .9s var(--ease-out) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px 28px; padding: 18px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); margin-bottom: clamp(40px, 5vw, 72px); }
.filter { font-size: 15px; color: var(--ink-2); position: relative; padding: 4px 0; transition: color .4s var(--ease); }
.filter sup { font-family: var(--font-mono); font-size: 10px; margin-left: 3px; letter-spacing: .04em; }
.filter::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); }
.filter:hover { color: var(--ink); }
.filter[aria-pressed="true"] { color: var(--ink); }
.filter[aria-pressed="true"]::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Editorial rows (expertise / experience / services) ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.row {
  display: grid; grid-template-columns: 80px 1.1fr 1.4fr; gap: var(--gap); align-items: baseline;
  padding: clamp(22px, 2.6vw, 36px) 0; border-bottom: 1px solid var(--line);
  transition: padding .7s var(--ease-out);
}
.row .label { padding-top: 6px; }
.row p { margin: 0; color: var(--ink-2); max-width: 52ch; }
a.row:hover, .row--hover:hover { padding-left: 14px; }
a.row .t-h3 { transition: color .4s; }
.row-arrow { justify-self: end; transition: transform .6s var(--ease-out); }
a.row:hover .row-arrow { transform: translateX(4px); }

/* ---------- Two-column editorial ---------- */
.cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.c-1-5 { grid-column: 1 / span 5; } .c-6-12 { grid-column: 6 / -1; } .c-7-12 { grid-column: 7 / -1; }
.c-1-4 { grid-column: 1 / span 4; } .c-5-12 { grid-column: 5 / -1; } .c-1-6 { grid-column: 1 / span 6; }
.c-8-12 { grid-column: 8 / -1; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.stat { padding: 24px 0 0; border-right: 1px solid var(--line); padding-right: var(--gap); }
.stat + .stat { padding-left: var(--gap); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-title); font-weight: 400; font-size: clamp(48px, 6vw, 96px); letter-spacing: -.05em; line-height: 1; }
.stat span { display: block; margin-top: 12px; color: var(--ink-2); font-size: 14.5px; }

/* ---------- Inline lists ---------- */
.inline-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.inline-list li { font-family: var(--font-title); font-size: clamp(22px, 2.6vw, 40px); letter-spacing: -.035em; line-height: 1.2; }
.inline-list li:not(:last-child)::after { content: '/'; color: var(--warm); margin: 0 .45em; font-weight: 300; }

/* ---------- Big contact CTA ---------- */
.cta-block { padding-top: clamp(80px, 11vw, 168px); padding-bottom: clamp(80px, 11vw, 168px); }
.cta-block > .cols { padding-top: 18px; border-top: 1px solid var(--line-strong); }
.cta-mail { display: inline-block; font-family: var(--font-title); font-size: clamp(30px, 5.4vw, 88px); letter-spacing: -.045em; line-height: 1.05; word-break: break-word; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .9s var(--ease-out); padding-bottom: 4px; }
.cta-mail:hover { background-size: 100% 1px; }

/* ---------- Page heads ---------- */
.page-head { padding: clamp(56px, 9vw, 140px) 0 clamp(48px, 6vw, 96px); }
.page-head .label { display: block; margin-bottom: clamp(24px, 3vw, 40px); }
.page-head .t-lead { margin-top: clamp(24px, 3vw, 40px); }

/* ---------- About ---------- */
.portrait .media { aspect-ratio: 4 / 5; }
.portrait figcaption { margin-top: 12px; }
.prose p { margin: 0 0 1.2em; color: var(--ink-2); max-width: 58ch; }
.prose p:first-child { color: var(--ink); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; letter-spacing: -.01em; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; vertical-align: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.table tr:first-child th, .table tr:first-child td { border-top: 1px solid var(--line-strong); }
.table th { width: 30%; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-2); padding-right: 16px; }
.table td strong { display: block; font-family: var(--font-title); font-weight: 500; font-size: clamp(19px, 1.6vw, 24px); letter-spacing: -.02em; line-height: 1.25; }
.table td span { color: var(--ink-2); font-size: 15px; }
.tools { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-strong); }
.tool { padding: 22px var(--gap) 22px 0; border-right: 1px solid var(--line); }
.tool + .tool { padding-left: var(--gap); }
.tool:last-child { border-right: 0; }
.tool .label { display: block; margin-bottom: 36px; }
.tool strong { font-family: var(--font-title); font-weight: 500; font-size: clamp(17px, 1.4vw, 21px); letter-spacing: -.02em; }

/* ---------- Services ---------- */
.service { display: grid; grid-template-columns: 80px 1fr 1.25fr; gap: var(--gap); padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line-strong); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service .t-h2 { font-size: clamp(30px, 3.4vw, 52px); }
.service-intro { margin: 18px 0 0; color: var(--ink-2); max-width: 36ch; }
.service-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--gap); }
.service-list li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.service-list li:first-child { padding-top: 0; }
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.audience article { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.audience h3 { margin: 28px 0 12px; }
.audience p { margin: 0; color: var(--ink-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); counter-reset: s; }
.steps li { list-style: none; border-top: 1px solid var(--line-strong); padding-top: 20px; }
.steps h3 { margin: 40px 0 10px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }
.steps { padding: 0; margin: 0; }

/* ---------- Contact ---------- */
.form { display: grid; gap: 4px; }
.field { display: grid; gap: 6px; padding: 16px 0 10px; border-bottom: 1px solid var(--line); transition: border-color .5s var(--ease); }
.field:focus-within { border-bottom-color: var(--ink); }
.field label, .field legend { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea { font: inherit; font-size: 18px; color: var(--ink); background: transparent; border: 0; padding: 4px 0 6px; outline: none; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--warm); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
fieldset.field { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 16px 0 16px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.checks label { position: relative; font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 14.5px; color: var(--ink); }
.checks input { position: absolute; opacity: 0; }
.checks span { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: background .4s var(--ease), color .4s, border-color .4s; }
.checks label:hover span { border-color: var(--ink); }
.checks input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.checks input:focus-visible + span { outline: 1.5px solid var(--ink); outline-offset: 3px; }
.form .btn { margin-top: 28px; justify-self: start; }
.form-status { min-height: 1.6em; margin: 14px 0 0; color: var(--ink-2); font-size: 15px; }
.socials { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.socials a { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease-out); }
.socials a:hover { padding-left: 10px; }
.copy-btn { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-top: 14px; }
.copy-btn:hover { color: var(--ink); }

/* ---------- Modal ---------- */
.modal { border: 0; padding: 0; background: transparent; width: min(1200px, 94vw); max-height: 92vh; overflow: visible; color: var(--ink); }
.modal::backdrop { background: rgba(34, 34, 34, .88); }
.modal[open] { animation: modalIn .7s var(--ease-out); }
.modal[open]::backdrop { animation: fadeIn .5s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px); } }
@keyframes fadeIn { from { opacity: 0; } }
.modal-inner { background: var(--bg); border-radius: var(--radius); overflow: auto; max-height: 92vh; display: grid; grid-template-columns: 1.6fr 1fr; }
.modal-inner.is-vertical { grid-template-columns: minmax(260px, 400px) 1fr; }
.modal-media { position: relative; aspect-ratio: 16 / 9; background: #1b1b1b; align-self: start; }
.modal-inner.is-vertical .modal-media { aspect-ratio: 9 / 16; }
.modal-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal-media .ph { border-radius: 0; }
.modal-media .ph-note { position: absolute; left: 24px; right: 24px; bottom: 24px; font-size: 14px; color: var(--ink-2); max-width: 34ch; line-height: 1.5; }
.modal-body { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.modal-body h2 { font-size: clamp(28px, 2.8vw, 42px); }
.modal-body p { margin: 0; color: var(--ink-2); }
.modal-body .btn { margin-top: auto; align-self: flex-start; }
.modal-close { position: absolute; top: -40px; right: 0; color: var(--bg); font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-strong); padding: clamp(48px, 6vw, 88px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--gap); }
.footer-grid h4 { font-family: var(--font-mono); font-weight: 400; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { transition: color .4s; }
.footer-grid a:hover { color: var(--ink-2); }
.footer-title { font-family: var(--font-title); font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -.035em; line-height: 1.1; max-width: 16ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(56px, 7vw, 112px); padding-top: 20px; border-top: 1px solid var(--line); }
.footer-name { font-family: var(--font-title); font-weight: 500; font-size: clamp(64px, 15.5vw, 252px); letter-spacing: -.06em; line-height: .8; margin-top: clamp(40px, 6vw, 96px); color: var(--ink); white-space: nowrap; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-fade { opacity: 0; transition: opacity 1.6s var(--ease); }
.js .reveal-fade.is-in { opacity: 1; }
.d1 { transition-delay: .1s !important; } .d2 { transition-delay: .2s !important; } .d3 { transition-delay: .3s !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .tools { grid-template-columns: repeat(3, 1fr); }
  .tool:nth-child(3) { border-right: 0; }
  .tool:nth-child(4) { padding-left: 0; border-top: 1px solid var(--line); }
  .tool:nth-child(5) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; margin-bottom: 24px; }
}
@media (max-width: 860px) {
  .cols { grid-template-columns: 1fr; }
  .cols > * { grid-column: 1 / -1 !important; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hero-meta > :nth-child(2) { display: none; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-foot .btn-row { justify-content: flex-start; }
  .row, .service { grid-template-columns: 48px 1fr; }
  .row > :last-child, .service > :last-child { grid-column: 2; }
  .audience, .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .modal-inner, .modal-inner.is-vertical { grid-template-columns: 1fr; }
  .modal-inner.is-vertical .modal-media { aspect-ratio: auto; height: 68vh; }
  .work { flex-basis: calc(var(--ar) * 220px); }
}
@media (max-width: 560px) {
  .section-label { grid-template-columns: 1fr auto; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { border-right: 0; padding-left: 0; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .audience, .steps { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr 1fr; }
  .tool, .tool + .tool { padding-left: 0; border-right: 0; border-top: 1px solid var(--line); }
  .tool .label { margin-bottom: 18px; }
  .service-list { columns: 1; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .work { flex-basis: calc(var(--ar) * 300px); }
  .work--vertical { max-width: 68%; }
  .gallery { row-gap: 40px; }
  .play { width: 60px; height: 60px; }
  .reel .play { width: 76px; height: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-fade { opacity: 1; transform: none; }
  .js .split-line > span { transform: none; }
  .js .media img { opacity: 1; }
}

/* Vavou videos: three equal columns */
#vavou-videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
#vavou-videos::after { display: none; }
#vavou-videos .work { max-width: none; }
@media (max-width: 760px) { #vavou-videos { grid-template-columns: 1fr; row-gap: 40px; } }

/* Logo */
.logo img { height: 44px; width: auto; display: block; }
.footer-logo { display: block; width: clamp(180px, 26vw, 380px); height: auto; margin-top: clamp(48px, 7vw, 112px); }

/* Vidéos locales : aperçu au survol + lecteur */
.media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media .preview { opacity: 0; transition: opacity .9s var(--ease); z-index: 1; }
.media .preview.is-playing { opacity: 1; }
.work-link[data-preview]:hover .play { opacity: 0; transform: scale(.9); }
.work-link .play { transition: transform .8s var(--ease-out), background .5s var(--ease), opacity .6s var(--ease); }
.modal-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #111; }

/* Description de catégorie (portfolio) */
.filter-desc { max-width: 62ch; color: var(--ink-2); margin: -24px 0 clamp(40px, 5vw, 72px); min-height: 1.6em; opacity: 0; transform: translateY(6px); transition: opacity .8s var(--ease), transform .8s var(--ease-out); }
.filter-desc.is-in { opacity: 1; transform: none; }

/* Témoignages */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 72px) var(--gap); }
.quote { margin: 0; border-top: 1px solid var(--line); padding-top: 24px; }
.quote--main { grid-column: 1 / -1; border-top: 0; padding-top: 0; }
.quote blockquote { margin: 0; font-family: var(--font-title); font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.02em; line-height: 1.35; }
.quote--main blockquote { font-size: clamp(26px, 3.2vw, 48px); letter-spacing: -.035em; line-height: 1.18; max-width: 28ch; }
.quote figcaption { display: flex; gap: 16px; align-items: center; margin-top: 22px; font-size: 14.5px; color: var(--ink-2); }
.stars { font-size: 11px; letter-spacing: .2em; color: var(--ink); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* Infos pratiques (contact) */
.facts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts .label { padding-top: 3px; }

/* Offres (services) */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.offer { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.offer h3 { margin: 28px 0 14px; font-size: clamp(30px, 3.4vw, 52px); }
.offer p { color: var(--ink-2); margin: 0 0 24px; max-width: 46ch; }
.offer ul { list-style: none; padding: 0; margin: 0; }
.offer li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
@media (max-width: 760px) { .offers { grid-template-columns: 1fr; row-gap: 56px; } }

/* =========================================================================
   Couleur d'accent : boutons et chiffres
   ========================================================================= */
.btn { border-color: var(--accent); color: var(--accent); }
.btn::before { background: var(--accent); }
.btn:hover { color: var(--bg); }
.btn--solid { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn--solid::before { background: var(--accent-dark); }
.btn--solid:hover { color: var(--bg); }

.stat strong, .step .label, .row > .label, .service > .label, .work-index,
.section-label span:first-child, .steps .label, .tool .label, .offer .label { color: var(--accent); }
.stars { color: var(--accent); }
.logo .dot, .hero-meta .rec-dot { background: var(--accent); }
.play { color: var(--accent); }
.filter[aria-pressed="true"] { color: var(--accent); }
.filter sup { color: var(--accent); }
.link:hover, .nav a:hover, .footer-grid a:hover { color: var(--accent); }
.cta-mail:hover { color: var(--accent); }
.checks input:checked + span { background: var(--accent); border-color: var(--accent); }
.field:focus-within { border-bottom-color: var(--accent); }
.edu-year, .table th { color: var(--accent); }
::selection { background: var(--accent); color: var(--bg); }

/* Logo plus visible */
.header-inner { height: 96px; }
.logo img { height: 66px; }
@media (max-width: 860px) { .header-inner { height: 80px; } .logo img { height: 54px; } }

/* Expertises en bulles (accueil) */
.bubbles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); }
.bubbles li { grid-column: span 2; }
.bubbles li:nth-child(4), .bubbles li:nth-child(5) { grid-column: span 3; }
.bubble {
  position: relative; display: flex; flex-direction: column; height: 100%; min-height: 260px;
  padding: clamp(26px, 2.6vw, 40px); border-radius: 28px;
  background: var(--accent); color: #fff;
  transition: background .6s var(--ease), transform .8s var(--ease-out);
}
.bubble:hover { background: var(--accent-dark); transform: translateY(-4px); }
.bubble-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; opacity: .85; }
.bubble h3 { font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.03em; line-height: 1.08; margin: auto 0 14px; padding-top: 40px; color: #fff; }
.bubble p { margin: 0; font-size: 15px; line-height: 1.55; color: #fff; max-width: 40ch; }
.bubble-arr { position: absolute; top: clamp(22px, 2.4vw, 36px); right: clamp(24px, 2.6vw, 40px); font-size: 20px; transition: transform .6s var(--ease-out); }
.bubble:hover .bubble-arr { transform: translateX(4px) rotate(-45deg); }
@media (max-width: 860px) {
  .bubbles { grid-template-columns: 1fr 1fr; }
  .bubbles li, .bubbles li:nth-child(4) { grid-column: span 1; }
  .bubbles li:nth-child(5) { grid-column: 1 / -1; }
  .bubble { min-height: 220px; }
}
@media (max-width: 560px) {
  .bubbles { grid-template-columns: 1fr; }
  .bubbles li, .bubbles li:nth-child(n) { grid-column: 1 / -1; }
  .bubble { min-height: 0; }
}

/* Accueil : la sélection remplit toute la largeur */
#gallery[data-featured]::after { display: none; }
#gallery[data-featured] .work--vertical { max-width: none; }

/* Bulles de l'introduction (3 colonnes, titres en capitales grasses) */
.bubbles--3 li, .bubbles--3 li:nth-child(n) { grid-column: span 2; }
.bubbles--3 .bubble { min-height: 320px; }
.bubbles--3 .bubble h3 { font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(24px, 2.3vw, 36px); line-height: 1.02; max-width: 12ch; }
.bubbles--3 .bubble p { opacity: .95; }
div.bubble:hover { background: var(--accent); transform: none; }
@media (max-width: 860px) { .bubbles--3 { grid-template-columns: 1fr; } .bubbles--3 li, .bubbles--3 li:nth-child(n) { grid-column: 1 / -1; } .bubbles--3 .bubble { min-height: 0; } }
.bubbles--3 .bubble h3 { margin: 48px 0 18px; padding-top: 0; }
.bubble-emoji { font-size: clamp(34px, 3vw, 44px); line-height: 1; }
.bubble-num--right { position: absolute; top: clamp(30px, 3vw, 44px); right: clamp(26px, 2.6vw, 40px); }
.bubbles--3 .bubble h3 { margin-top: 32px; }
.bubble-icon { display: block; width: clamp(34px, 3vw, 42px); height: clamp(34px, 3vw, 42px); color: #fff; }
.bubble-icon svg { width: 100%; height: 100%; display: block; }

/* =========================================================================
   Sans traits entre les sections + espacements resserrés
   ========================================================================= */
.section { padding: clamp(48px, 6vw, 96px) 0; }
.section-label { border-top: 0; padding-top: 0; margin-bottom: clamp(24px, 3vw, 44px); }
.cta-block { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 96px); }
.cta-block > .cols { border-top: 0; padding-top: 0; }
.site-footer { border-top: 0; padding-top: clamp(32px, 4vw, 56px); }
.footer-logo { margin-top: clamp(32px, 4vw, 64px); }
.footer-bottom { margin-top: clamp(32px, 4vw, 56px); }
.page-head { padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 56px); }
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 56px); }
.hero-meta { margin-bottom: clamp(28px, 4vw, 56px); }
.hero-foot { margin-top: clamp(28px, 3.5vw, 48px); }
.service { padding: clamp(28px, 3.5vw, 48px) 0; border-top: 0; }
.service:last-child { border-bottom: 0; }
.service + .service { border-top: 1px solid var(--line); }
.filters { border-top: 0; margin-bottom: clamp(28px, 3vw, 48px); }
.filter-desc { margin-top: -8px; margin-bottom: clamp(28px, 3vw, 48px); }
.gallery { row-gap: clamp(28px, 3vw, 44px); }
.audience article, .offer, .steps li { border-top: 0; padding-top: 0; }
.audience h3, .offer h3 { margin-top: 16px; }
.steps h3 { margin-top: 20px; }
.stats { border-top: 0; }
.stat { padding-top: 0; }
.tools { border-top: 0; }
.rows { border-top: 0; }
.socials { border-top: 0; }
.facts { border-top: 0; }
.table tr:first-child th, .table tr:first-child td { border-top: 0; }

/* =========================================================================
   Sections plus compactes, sans traits de séparation
   ========================================================================= */
.section { padding: clamp(48px, 6vw, 96px) 0; }
.section + .section { padding-top: 0; }
.section-label { border-top: 0; padding-top: 0; margin-bottom: clamp(24px, 3vw, 40px); }
.cta-block { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(56px, 7vw, 112px); }
.cta-block > .cols { border-top: 0; padding-top: 0; }
.cta-block h2 { margin: clamp(24px, 3vw, 48px) 0 clamp(20px, 2.4vw, 36px) !important; }
.site-footer { border-top: 0; padding-top: clamp(40px, 5vw, 72px); }
.footer-bottom { border-top: 0; margin-top: clamp(32px, 4vw, 56px); }
.footer-logo { margin-top: clamp(32px, 4vw, 64px); }
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 56px); }
.hero-meta { margin-bottom: clamp(28px, 4vw, 56px); }
.page-head { padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 56px); }
.filters { border-top: 0; border-bottom: 0; padding: 0; margin-bottom: clamp(28px, 3vw, 44px); }
.filter-desc { margin-top: 0; margin-bottom: clamp(28px, 3vw, 48px); }
.gallery { row-gap: clamp(28px, 3vw, 44px); }
.service { border-top: 0; padding: clamp(28px, 3.4vw, 48px) 0; }
.service:last-child { border-bottom: 0; }
.service + .service { border-top: 1px solid var(--line); }
.offer, .audience article, .steps li { border-top: 0; padding-top: 0; }
.quote { border-top: 0; padding-top: 0; }
.stats { border-top: 0; }
.stat { padding-top: 0; }
.tools { border-top: 0; }
.rows, .socials, .facts { border-top-color: var(--line); }
.table tr:first-child th, .table tr:first-child td { border-top: 0; }
.stat, .tool { border-right: 0 !important; }

/* =========================================================================
   Carrousel des projets sélectionnés (accueil)
   ========================================================================= */
.carousel { margin-right: calc(-1 * var(--pad)); }
.gallery--carousel {
  display: flex; flex-wrap: nowrap; gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-right: var(--pad); scrollbar-width: none; cursor: grab;
}
.gallery--carousel::-webkit-scrollbar { display: none; }
.gallery--carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.gallery--carousel.is-dragging .work-link { pointer-events: none; }
.gallery--carousel::after { display: none; }
.gallery--carousel .work,
#gallery[data-featured].gallery--carousel .work--vertical { flex: 0 0 auto; width: clamp(240px, 24vw, 340px); max-width: none; scroll-snap-align: start; }
.gallery--carousel .work--horizontal { width: clamp(420px, 46vw, 640px); }
.carousel-foot { display: flex; align-items: center; gap: 24px; margin-top: clamp(28px, 3vw, 44px); }
.carousel-progress { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.carousel-progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--accent); transition: transform .4s var(--ease-out), width .4s var(--ease-out); }
.carousel-nav { display: flex; gap: 10px; }
.carousel-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent);
  display: grid; place-items: center; font-size: 18px; transition: background .4s var(--ease), color .4s var(--ease), opacity .4s;
}
.carousel-btn:hover:not(:disabled) { background: var(--accent); color: #fff; }
.carousel-btn:disabled { opacity: .3; cursor: default; }
@media (max-width: 560px) {
  .gallery--carousel .work, #gallery[data-featured].gallery--carousel .work--vertical { width: 62vw; }
  .carousel-foot { flex-wrap: wrap; }
  .carousel-foot .btn { order: 3; }
}

/* Témoignages centrés, en gras */
.quotes { grid-template-columns: 1fr; gap: clamp(48px, 6vw, 88px); justify-items: center; text-align: center; }
.quote, .quote--main { grid-column: auto; max-width: 820px; border: 0; padding: 0; }
.quote blockquote, .quote--main blockquote { font-weight: 600; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.4; letter-spacing: -.02em; max-width: none; }
.quote figcaption { flex-direction: column; justify-content: center; gap: 8px; margin-top: 24px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
/* Étoiles plus grandes */
.quote .stars { font-family: var(--font-body); font-size: clamp(22px, 2vw, 30px); letter-spacing: .12em; line-height: 1; margin-bottom: 4px; }
.quote figcaption { gap: 14px; }
/* Guillemets agrandis */
.quote .qm { display: inline-block; font-family: var(--font-title); font-weight: 500; font-size: 2.1em; line-height: 0; color: var(--accent); vertical-align: -0.18em; }
/* Guillemet façon magazine */
.quote-mark { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(110px, 11vw, 170px); line-height: .7; height: .42em; color: var(--accent); margin: 0 auto 4px; }
.quote-mark { font-size: clamp(140px, 13vw, 200px); margin-bottom: 18px; }

/* Logos clients */
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(28px, 4vw, 64px) clamp(36px, 5vw, 80px); }
.logo-item { display: flex; align-items: center; justify-content: center; min-height: 80px; }
.logo-item img { display: block; height: auto; max-width: 220px; opacity: 0; transition: opacity 1s var(--ease), transform .6s var(--ease-out); }
.logo-item img.is-loaded { opacity: 1; }
.logo-item:hover img { transform: scale(1.06); }
@media (max-width: 560px) { .logo-item { min-height: 56px; } .logo-item img { max-width: 150px; } }
.logos { max-width: 1040px; margin: 0 auto; row-gap: clamp(24px, 3vw, 44px); } .logo-item { min-height: 72px; }

/* Logos : une seule ligne qui défile en continu */
.logo-marquee {
  overflow: hidden; margin: 0 calc(-1 * var(--pad));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee .logos {
  display: flex; flex-wrap: nowrap; justify-content: flex-start; width: max-content; max-width: none; margin: 0;
  gap: 0; animation: logoScroll 45s linear infinite;
}
.logo-marquee:hover .logos { animation-play-state: paused; }
.logo-marquee .logo-item { flex: 0 0 auto; padding: 0 clamp(28px, 3.4vw, 56px); min-height: 90px; }
@keyframes logoScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { overflow-x: auto; }
  .logo-marquee .logos { animation: none; }
  .logo-marquee .logo-item[aria-hidden="true"] { display: none; }
}
/* Logos plus grands */
.logo-marquee .logo-item { min-height: 130px; padding: 0 clamp(32px, 3.6vw, 64px); }
.logo-item img { max-width: 320px; }
@media (max-width: 560px) { .logo-marquee .logo-item { min-height: 96px; } .logo-item img { max-width: 220px; } }
/* Noms de catégories (sections) masqués */
.section-label { display: none; }

/* Bulles de l'introduction : mise en avant au survol */
.bubbles--3 .bubble { transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out), background .5s var(--ease), opacity .5s var(--ease); will-change: transform; }
.bubbles--3 li { position: relative; z-index: 0; }
.bubbles--3 li:hover { z-index: 2; }
.bubbles--3 div.bubble:hover { transform: scale(1.06); background: var(--accent-dark); box-shadow: 0 24px 50px -18px rgba(69, 42, 88, .5); }
.bubbles--3 .bubble-icon { transition: transform .7s var(--ease-out); }
.bubbles--3 div.bubble:hover .bubble-icon { transform: scale(1.15) rotate(-6deg); }
@media (hover: hover) { .bubbles--3:has(.bubble:hover) .bubble:not(:hover) { opacity: .55; transform: scale(.98); } }
@media (hover: hover) { .bubbles--3:has(.bubble:hover) .bubble:not(:hover) { opacity: .72; } }
/* Icônes des bulles : bien agrandies au survol */
.bubbles--3 .bubble-icon { transform-origin: left center; transition: transform .7s cubic-bezier(.34, 1.56, .64, 1); }
.bubbles--3 div.bubble:hover .bubble-icon { transform: scale(1.6) rotate(-6deg); }

/* Projets vidéo : mise en avant au survol (carrousel + portfolio) */
.gallery--carousel { padding-top: 22px; padding-bottom: 28px; margin-top: -22px; margin-bottom: -28px; }
.gallery .work { transition: transform .7s var(--ease-out), opacity .5s var(--ease); }
.gallery .work .media { transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out); }
@media (hover: hover) {
  .gallery .work:hover { transform: translateY(-6px); z-index: 2; }
  .gallery .work:hover .media { transform: scale(1.04); box-shadow: 0 26px 50px -20px rgba(69, 42, 88, .45); }
  .gallery .work:hover .work-meta h3 { color: var(--accent); }
  .gallery:has(.work:hover) .work:not(:hover) { opacity: .6; }
}
.work-meta h3 { transition: color .4s var(--ease); }

/* Expertises : 3 bulles égales, titres en gras */
.bubbles--even li, .bubbles--even li:nth-child(n) { grid-column: span 2; }
.bubbles--even .bubble { min-height: 280px; }
.bubbles--even .bubble h3 { font-weight: 700; font-size: clamp(24px, 2.3vw, 34px); }
@media (max-width: 860px) { .bubbles--even { grid-template-columns: 1fr; } .bubbles--even li, .bubbles--even li:nth-child(n) { grid-column: 1 / -1; } .bubbles--even .bubble { min-height: 0; } }

/* Showreel en boucle dans le grand cadre */
.reel-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.reel-frame:hover .reel-loop { transform: scale(1.02); }
.reel-cta { position: absolute; left: 50%; top: calc(50% + 72px); translate: -50% 0; z-index: 2; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); opacity: 0; transition: opacity .5s var(--ease); }
.reel-frame:hover .reel-cta { opacity: 1; }
.reel-empty { background: var(--accent); cursor: default; }
.work-meta .cats { display: flex; flex-direction: column; gap: 3px; }

/* Miniatures YouTube qui défilent (Mon propre terrain de jeu) */
.yt-marquee { overflow: hidden; margin: clamp(40px, 5vw, 72px) calc(-1 * var(--pad)) 0; padding: 10px 0 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.yt-track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; gap: var(--gap); animation: logoScroll 60s linear infinite; }
.yt-marquee:hover .yt-track { animation-play-state: paused; }
.yt-item { flex: 0 0 auto; width: clamp(240px, 24vw, 360px); }
.yt-card { display: block; width: 100%; text-align: left; }
.yt-card .media { aspect-ratio: 16 / 9; transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.yt-card:hover .media { transform: scale(1.04); box-shadow: 0 20px 40px -18px rgba(69, 42, 88, .45); }
.yt-card .play { width: 54px; height: 54px; }
.yt-title { display: block; margin-top: 10px; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (prefers-reduced-motion: reduce) { .yt-marquee { overflow-x: auto; } .yt-track { animation: none; } .yt-item[aria-hidden="true"] { display: none; } }

/* Miniatures Vavou : défilement manuel (plus d'animation automatique) */
.yt-strip { margin-top: clamp(40px, 5vw, 72px); }
.yt-strip .yt-track { animation: none; width: auto; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 0 14px; }
.yt-strip .yt-track::-webkit-scrollbar { display: none; }
.yt-strip .yt-item { flex: 0 0 calc((100% - 72px) / 4); width: auto; scroll-snap-align: start; }
.yt-strip .yt-card { color: inherit; }
.yt-strip .yt-title { color: var(--ink); font-family: var(--font-title); font-weight: 500; font-size: 17px; }
.yt-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
@media (max-width: 860px) { .yt-strip .yt-item { flex-basis: 62%; } }
/* Vavou : 3 miniatures visibles, plus grandes, la suite au glissé / flèches */
.yt-strip .yt-item { flex: 0 0 calc((100% - 48px) / 3); }
.yt-strip .yt-title { font-size: 19px; margin-top: 14px; }
.yt-strip .yt-card .play { width: 68px; height: 68px; }
@media (max-width: 860px) { .yt-strip .yt-item { flex-basis: 78%; } }
.yt-strip .yt-track { cursor: grab; } .yt-strip .yt-track.is-dragging { cursor: grabbing; scroll-snap-type: none; } .yt-strip .yt-track.is-dragging .yt-card { pointer-events: none; }
.yt-strip .yt-title { display: none; }

/* Témoignages en bulles, plus compacts, avec photo ronde */
.quotes { grid-template-columns: 1fr 1fr; gap: var(--gap); justify-items: stretch; text-align: left; align-items: stretch; }
.quote.quote-card, .quote.quote-card.quote--main { max-width: none; background: #EFEDE7; border-radius: 28px; padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out); }
.quote-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(69, 42, 88, .35); }
.quote-card .quote-mark { font-size: 72px; height: .45em; margin: 0 0 14px; line-height: .8; }
.quote-card blockquote, .quote-card.quote--main blockquote { font-weight: 500; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; letter-spacing: -.01em; color: var(--ink); }
.quote-card figcaption { flex-direction: row; justify-content: flex-start; align-items: center; gap: 14px; margin-top: auto; padding-top: 28px; font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 14px; }
.quote-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.quote-who { display: flex; flex-direction: column; line-height: 1.3; }
.quote-who strong { color: var(--ink); font-weight: 600; font-size: 15px; }
.quote-who span { color: var(--ink-2); font-size: 13.5px; }
.quote-card .stars { margin: 0 0 0 auto; font-size: 18px; letter-spacing: .08em; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } .quote-card .stars { font-size: 15px; } }
/* Extrait YouTube au survol */
.yt-card .media .yt-preview { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); border: 0; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); z-index: 1; }
.yt-card .media .yt-preview.is-on { opacity: 1; }
.yt-card[data-ytpreview]:hover .play { opacity: 0; }
.yt-card[data-preview]:hover .play { opacity: 0; } .yt-card .play { transition: opacity .5s var(--ease), transform .8s var(--ease-out); }
/* Avis : texte agrandi au survol, étoiles plus grandes */
.quote-card blockquote { transition: font-size .5s var(--ease-out), color .4s var(--ease); }
.quote-card:hover blockquote { font-size: clamp(18px, 1.5vw, 22px); }
.quote-card .stars { font-size: 26px; transition: transform .5s var(--ease-out); transform-origin: right center; }
.quote-card:hover .stars { transform: scale(1.15); }
.quote-card .quote-mark { transition: transform .5s var(--ease-out); transform-origin: left top; }
.quote-card:hover .quote-mark { transform: scale(1.2); }
@media (max-width: 760px) { .quote-card .stars { font-size: 20px; } }
/* Pied de page sans le bloc « Un projet en tête ? » */
.footer-grid { grid-template-columns: repeat(3, 1fr); }
.footer-grid > :first-child { grid-column: auto; margin-bottom: 0; }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* Bloc contact centré, email plus discret */
.cta-block { text-align: center; }
.cta-block > .cols { display: block; max-width: 640px; margin: 0 auto; }
.cta-block > .cols .label { display: none; }
.cta-block h2 { margin-left: auto !important; margin-right: auto !important; }
.cta-block .cta-mail { font-size: clamp(20px, 2vw, 28px); letter-spacing: -.02em; }
.cta-block .btn-row { justify-content: center; }

/* =========================================================================
   Portfolio : sous-catégories en bulles aubergine qui se déroulent
   ========================================================================= */
.acc { display: grid; gap: 14px; }
.acc-item { border-radius: 28px; background: var(--accent); color: #fff; overflow: hidden; transition: background .5s var(--ease), box-shadow .6s var(--ease-out); }
.acc-item.is-open { background: var(--accent-dark); box-shadow: 0 30px 60px -30px rgba(69, 42, 88, .55); }
.acc-head { width: 100%; display: grid; grid-template-columns: 56px 1fr auto 52px; align-items: center; gap: 18px; padding: clamp(22px, 2.4vw, 32px) clamp(24px, 3vw, 44px); text-align: left; color: #fff; cursor: pointer; }
.acc-num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; opacity: .75; }
.acc-title { font-family: var(--font-title); font-weight: 700; font-size: clamp(24px, 2.6vw, 40px); letter-spacing: -.03em; line-height: 1.05; transition: transform .6s var(--ease-out); }
.acc-head:hover .acc-title { transform: translateX(6px); }
.acc-count { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; white-space: nowrap; }
.acc-icon { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; justify-self: end; transition: transform .6s var(--ease-out), background .4s, color .4s; }
.acc-icon svg { width: 20px; height: 20px; }
.acc-head:hover .acc-icon { background: #fff; color: var(--accent); }
.acc-item.is-open .acc-icon { transform: rotate(45deg); background: #fff; color: var(--accent-dark); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; min-height: 0; padding: 0 clamp(24px, 3vw, 44px); }
.acc-item.is-open .acc-inner { padding-bottom: clamp(28px, 3vw, 44px); }
.acc-desc { margin: 0 0 clamp(24px, 3vw, 40px); max-width: 64ch; color: rgba(255,255,255,.85); padding-left: 74px; }
.acc-gallery { background: var(--bg); border-radius: 20px; padding: clamp(20px, 2.4vw, 36px); color: var(--ink); }
.acc-item:not(.is-open) .acc-gallery { visibility: hidden; }
@media (max-width: 760px) {
  .acc-head { grid-template-columns: 1fr auto; gap: 6px 14px; }
  .acc-num { display: none; }
  .acc-count { grid-row: 2; grid-column: 1; }
  .acc-icon { grid-row: 1 / span 2; grid-column: 2; }
  .acc-desc { padding-left: 0; }
}

/* Rubriques du portfolio : missions, avis, sous-parties */
.acc-bullets { list-style: none; margin: 0 0 clamp(24px, 3vw, 40px); padding: 0 0 0 74px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; max-width: 1100px; }
.acc-bullets li { position: relative; padding-left: 22px; color: rgba(255,255,255,.92); line-height: 1.5; font-size: 15.5px; }
.acc-bullets li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); }
.acc-quote { margin: 0 0 clamp(24px, 3vw, 40px) 74px; padding: clamp(20px, 2.4vw, 30px); border-radius: 20px; background: rgba(255,255,255,.1); max-width: 900px; }
.acc-quote blockquote { margin: 0; font-weight: 500; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; color: #fff; }
.acc-quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.85); }
.acc-quote img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.7); }
.acc-quote .stars { margin-left: auto; color: #fff; font-size: 18px; letter-spacing: .1em; }
.acc-group + .acc-group { margin-top: clamp(20px, 2.4vw, 32px); }
.acc-group-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 0 0 14px 74px; }
.acc-group-head h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; color: #fff; letter-spacing: -.02em; }
.acc-group-head p { margin: 0; color: rgba(255,255,255,.8); font-size: 15px; }
@media (max-width: 760px) {
  .acc-bullets { grid-template-columns: 1fr; padding-left: 0; }
  .acc-quote, .acc-group-head { margin-left: 0; }
}
/* Galeries des rubriques : tailles fixes et régulières */
.acc-gallery { display: flex; flex-wrap: wrap; gap: 28px 20px; }
.acc-gallery::after { display: none; }
.acc-gallery .work, .acc-gallery .work--vertical { flex: 0 0 clamp(170px, 15vw, 220px); max-width: none; }
.acc-gallery .work--horizontal { flex-basis: clamp(300px, 30vw, 420px); }
@media (max-width: 560px) { .acc-gallery .work, .acc-gallery .work--vertical { flex-basis: calc(50% - 10px); } .acc-gallery .work--horizontal { flex-basis: 100%; } }

/* Rubriques : vidéos à la suite, défilement manuel */
.acc-track-wrap { background: var(--bg); border-radius: 20px; padding: clamp(14px, 1.8vw, 24px) 0 clamp(16px, 2vw, 24px); }
.acc-track-wrap .acc-gallery { background: none; border-radius: 0; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 20px; padding: 16px clamp(20px, 2.4vw, 36px) 20px; scroll-padding-left: clamp(20px, 2.4vw, 36px); cursor: grab; }
.acc-track-wrap .acc-gallery::-webkit-scrollbar { display: none; }
.acc-track-wrap .acc-gallery .work { scroll-snap-align: start; flex: 0 0 clamp(190px, 17vw, 240px); }
.acc-track-wrap .acc-gallery .work--horizontal { flex-basis: clamp(320px, 32vw, 440px); }
.acc-track-wrap .acc-gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.acc-track-wrap .acc-gallery.is-dragging .work-link { pointer-events: none; }
.acc-nav { display: flex; justify-content: flex-end; gap: 10px; padding: 0 clamp(20px, 2.4vw, 36px); }
@media (max-width: 560px) { .acc-track-wrap .acc-gallery .work { flex-basis: 62%; } }

/* Mots surlignés dans les rubriques (**…** dans content.js) */
.acc-bullets mark.hl, .acc-desc mark.hl { background: linear-gradient(transparent 12%, rgba(255,255,255,.2) 12%, rgba(255,255,255,.2) 92%, transparent 92%); color: #fff; font-weight: 600; padding: 0 .22em; margin: 0 -.06em; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Mots en gras (sans surlignage) + phrase agrandie au survol */
.acc-bullets mark.hl, .acc-desc mark.hl { background: none; padding: 0; margin: 0; border-radius: 0; color: #fff; font-weight: 700; }
.acc-bullets li { transform-origin: left center; transition: transform .45s cubic-bezier(.2,.7,.2,1), color .3s ease; }
.acc-bullets li:hover { transform: scale(1.06); color: #fff; }
@media (prefers-reduced-motion: reduce) { .acc-bullets li { transition: none; } .acc-bullets li:hover { transform: none; } }

/* Portfolio : pas de mots-clés sous les vidéos des rubriques */
.acc-gallery .work .cats { display: none; }

/* Petite phrase sous le nom du client (UGC) */
.acc-gallery .work-meta .client-desc { grid-column: 2; display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); max-width: 26ch; }

/* Rubrique sans titres sous les vidéos (hideTitles) */
.acc-track-wrap--notitle .work-meta { display: none; }

/* Rubrique avec peu de vidéos : affichage plus grand et centré (large: true) */
.acc-track-wrap--large .acc-gallery { justify-content: safe center; gap: clamp(24px, 3vw, 48px); }
.acc-track-wrap--large .acc-gallery .work { flex-basis: clamp(260px, 26vw, 380px); }
.acc-track-wrap--large .work-meta h3 { font-size: clamp(19px, 1.5vw, 23px); }
.acc-track-wrap--large .acc-gallery .work--horizontal { flex-basis: clamp(340px, 62vw, 860px); }

/* Retours à la ligne plus harmonieux */
p, li, blockquote, figcaption, .sub, .t-lead, .t-body { text-wrap: pretty; }
h1, h2, h3, .t-h1, .t-h2 { text-wrap: balance; }
.bubble h3 { text-wrap: wrap; }
.bubbles--3 .bubble h3 { max-width: 18ch; }
.no-typo { text-wrap: wrap; }
@media (min-width: 600px) { .nowrap-d { white-space: nowrap; } }
.acc-link { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: opacity .3s ease; }
.acc-link:hover { opacity: .75; }

/* Pas de gras dans les rubriques */
.acc-bullets mark.hl, .acc-desc mark.hl { font-weight: inherit; }
.acc-link { font-weight: inherit; }
/* Rubriques sans titres : pas de fond blanc */
.acc-track-wrap--notitle { background: none; padding: 0; }
.acc-track-wrap--notitle .acc-gallery { padding-left: 0; padding-right: 0; scroll-padding-left: 0; }
.acc-track-wrap--notitle .acc-nav { padding: 0; }
.acc-track-wrap--notitle .carousel-btn { border-color: rgba(255,255,255,.55); color: #fff; }
.acc-track-wrap--notitle .carousel-btn:disabled { opacity: .35; }
.acc-track-wrap--notitle .carousel-btn:hover:not(:disabled) { background: #fff; color: var(--accent); border-color: #fff; }

/* Pied de page : logo plus discret + icônes réseaux */
.footer-brand { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: clamp(32px, 4vw, 64px); }
.footer-brand .footer-logo { width: clamp(110px, 12vw, 170px); margin-top: 0; }
.footer-social { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.footer-social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink); transition: background .35s ease, color .35s ease, border-color .35s ease, transform .45s cubic-bezier(.34,1.56,.64,1); }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 21px; height: 21px; }

/* À propos : logiciels de prédilection (cartes animées) */
.soft-section { text-align: center; }
.soft-title { margin: 0 auto 12px; }
.soft-hint { margin: 0 0 clamp(36px, 4vw, 56px); color: var(--ink-3, var(--grey)); }
.soft-grid { display: flex; justify-content: center; gap: clamp(20px, 3vw, 44px); flex-wrap: wrap; }
.soft { width: min(100%, 340px); aspect-ratio: 1 / 1.08; perspective: 1400px; outline: none; cursor: pointer; }
.soft-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.soft:hover .soft-inner, .soft:focus-visible .soft-inner, .soft.is-flipped .soft-inner { transform: rotateY(180deg); }
.soft-face { position: absolute; inset: 0; border-radius: 28px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(24px, 3vw, 36px); }
.soft-front { background: #fff; color: var(--accent); box-shadow: 0 1px 0 rgba(34,34,34,.04), 0 24px 60px -30px rgba(91,58,114,.45); }
.soft-back { background: var(--accent); color: #fff; transform: rotateY(180deg); text-align: left; align-items: flex-start; justify-content: center; }
.soft-back h3 { margin: 0 0 14px; font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; }
.soft-back p { margin: 0; font-size: 15px; line-height: 1.6; opacity: .95; }
.soft-icon { width: 46%; height: auto; animation: softFloat 5s ease-in-out infinite; }
.soft:nth-child(2) .soft-icon { animation-delay: -2.5s; }
.soft-icon circle:first-child, .soft-icon rect:first-child { transform-origin: 32px 32px; }
.soft:first-child .soft-icon { animation: softFloat 5s ease-in-out infinite, softSpin 18s linear infinite; }
.soft-name { margin-top: 22px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-family: var(--mono, monospace); color: var(--ink); }
@keyframes softFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes softSpin { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .soft-icon { animation: none !important; } .soft-inner { transition: none; } }
.soft-back p { text-wrap: wrap; } .soft-title { margin-bottom: 16px; }
/* Logos fournis : pas de rotation, flottement doux */
.soft-icon { width: 44%; }
.soft:first-child .soft-icon { animation: softFloat 5s ease-in-out infinite; }
.soft:hover .soft-icon { animation-play-state: paused; }
img.soft-icon { border-radius: 18%; }
/* 4 logiciels sur une ligne */
.soft { width: clamp(230px, 20.5vw, 290px); }
.soft-back { padding: clamp(20px, 2vw, 28px); }
.soft-back h3 { font-size: clamp(19px, 1.6vw, 24px); margin-bottom: 10px; }
.soft-back p { font-size: 14px; line-height: 1.55; }
.soft:nth-child(3) .soft-icon { animation-delay: -1.2s; } .soft:nth-child(4) .soft-icon { animation-delay: -3.7s; }
@media (max-width: 560px) { .soft { width: min(100%, 320px); } }
.soft-section + .section { padding-top: 0; }

/* À propos : en-tête titre + photo côte à côte */
.about-head .portrait .media { aspect-ratio: 4 / 5; max-height: 72vh; margin-left: auto; border-radius: 20px; overflow: hidden; }
.about-intro { margin-top: 28px; max-width: 46ch; }
.about-intro p { font-size: 17px; line-height: 1.65; }
@media (max-width: 860px) { .about-head .portrait { margin-top: 40px !important; } }
.about-intro p, .about-intro p:first-child { font-size: 16.5px; line-height: 1.65; color: var(--ink-2, #555); margin: 0 0 14px; }
/* 3 logiciels */
.soft { width: clamp(240px, 24vw, 310px); }
.soft-back p { font-size: 15px; line-height: 1.55; }

/* ================= Contact ================= */
.ct-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: #fff; font-size: 13px; color: var(--ink); box-shadow: 0 10px 30px -18px rgba(91,58,114,.5); margin-bottom: 28px; }
.ct-dot { width: 9px; height: 9px; border-radius: 50%; background: #3fb86b; position: relative; }
.ct-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #3fb86b; opacity: 0; animation: ctPulse 2s ease-out infinite; }
@keyframes ctPulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.ct-head .t-lead { max-width: 52ch; }

.ct-main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 2.5vw, 36px); align-items: start; padding-bottom: clamp(48px, 6vw, 88px); }
.ct-k { display: block; font-family: var(--font-mono, monospace); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }

.ct-card { position: sticky; top: 110px; background: var(--accent); color: #fff; border-radius: 28px; padding: clamp(28px, 3vw, 44px); overflow: hidden; isolation: isolate; }
.ct-card::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 65%); z-index: -1; animation: ctGlow 9s ease-in-out infinite alternate; }
@keyframes ctGlow { to { transform: translate(-60px, 70px) scale(1.15); } }
.ct-me { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); }
.ct-me img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 2px solid rgba(255,255,255,.35); }
.ct-me strong { display: block; font-size: 17px; }
.ct-me span { font-size: 13.5px; opacity: .8; }
.ct-mail { display: inline-block; margin: 10px 0 14px; color: #fff; font-family: var(--font-title); font-size: clamp(22px, 2.3vw, 32px); letter-spacing: -.03em; text-decoration: none; background: linear-gradient(#fff, #fff) 0 100% / 0 1.5px no-repeat; transition: background-size .5s cubic-bezier(.2,.8,.2,1); }
.ct-mail:hover { background-size: 100% 1.5px; }
.ct-copy { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 13.5px; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .4s cubic-bezier(.34,1.56,.64,1); }
.ct-copy svg { width: 16px; height: 16px; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .5s .1s ease; width: 0; }
.ct-copy:hover { background: #fff; color: var(--accent); border-color: #fff; transform: translateY(-2px); }
.ct-copy.is-done { background: #fff; color: var(--accent); }
.ct-copy.is-done svg { width: 16px; stroke-dashoffset: 0; }
.ct-info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: clamp(32px, 4vw, 48px) 0; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.ct-info span:last-child { display: block; margin-top: 6px; font-size: 15.5px; }
.ct-social { list-style: none; margin: 14px 0 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.ct-social a { display: inline-flex; align-items: center; gap: 0; height: 46px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); color: #fff; text-decoration: none; font-size: 14px; transition: background .3s, color .3s, gap .4s ease, padding .4s ease; }
.ct-social svg { width: 21px; height: 21px; flex: none; }
.ct-social a span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .45s ease; }
.ct-social a:hover { background: #fff; color: var(--accent); gap: 8px; padding: 0 16px 0 12px; }
.ct-social a:hover span { max-width: 90px; }

.ct-form { position: relative; background: #fff; border-radius: 28px; padding: clamp(28px, 3.2vw, 48px); box-shadow: 0 30px 80px -50px rgba(91,58,114,.45); overflow: hidden; }
.ct-progress { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: rgba(91,58,114,.08); }
.ct-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.ct-form-head { display: flex; justify-content: space-between; margin-bottom: 18px; color: var(--accent); }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.ct-field { position: relative; margin-top: 18px; }
.ct-field input, .ct-field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; padding: 26px 0 10px; font: inherit; font-size: 17px; color: var(--ink); outline: none; border-radius: 0; }
.ct-field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.ct-field label { position: absolute; left: 0; top: 26px; font-size: 17px; color: #8d8a84; pointer-events: none; transform-origin: left top; transition: transform .35s cubic-bezier(.2,.8,.2,1), color .3s; }
.ct-field input:focus + label, .ct-field input:not(:placeholder-shown) + label,
.ct-field textarea:focus + label, .ct-field textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(.72); color: var(--accent); }
.ct-field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.ct-field--area::after { bottom: 6px; }
.ct-field:focus-within::after { transform: scaleX(1); }
.ct-field.is-valid label::after { content: " ✓"; }
.ct-count { position: absolute; right: 0; bottom: 16px; font-size: 12px; color: #8d8a84; font-family: var(--font-mono, monospace); }
.ct-needs { border: 0; padding: 0; margin: 30px 0 4px; }
.ct-needs legend { font-size: 15px; color: var(--ink); margin-bottom: 14px; padding: 0; }
.ct-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-chips label { position: relative; cursor: pointer; }
.ct-chips input { position: absolute; opacity: 0; pointer-events: none; }
.ct-chips span { display: inline-flex; align-items: center; gap: 0; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14.5px; transition: background .3s, color .3s, border-color .3s, transform .4s cubic-bezier(.34,1.56,.64,1), gap .3s; }
.ct-chips span::before { content: ""; width: 0; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 10 17 19 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 10 17 19 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: width .3s ease; }
.ct-chips label:hover span { border-color: var(--accent); transform: translateY(-2px); }
.ct-chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; gap: 8px; }
.ct-chips input:checked + span::before { width: 14px; }
.ct-chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.ct-send { margin-top: 34px; display: inline-flex; align-items: center; gap: 14px; border: 0; cursor: pointer; background: var(--accent); color: #fff; font: inherit; font-size: 16px; padding: 8px 8px 8px 26px; border-radius: 999px; transition: background .3s, transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .4s; }
.ct-send-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--accent); transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.ct-send:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 18px 40px -20px rgba(91,58,114,.7); }
.ct-send:hover .ct-send-ico { transform: translateX(4px) rotate(-45deg); }
.ct-form .form-status { margin: 16px 0 0; font-size: 14.5px; color: var(--accent); }

.ct-steps-wrap { padding-bottom: clamp(56px, 7vw, 104px); }
.ct-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.ct-steps li { background: #fff; border-radius: 22px; padding: clamp(22px, 2.4vw, 32px); transition: transform .5s cubic-bezier(.34,1.56,.64,1), background .4s, color .4s; }
.ct-steps li span { font-family: var(--font-mono, monospace); font-size: 12px; color: var(--accent); }
.ct-steps h3 { margin: 18px 0 8px; font-size: 20px; letter-spacing: -.02em; }
.ct-steps p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2, #555); }
.ct-steps li:hover { transform: translateY(-6px); background: var(--accent); color: #fff; }
.ct-steps li:hover span, .ct-steps li:hover p { color: #fff; }

@media (max-width: 900px) {
  .ct-main { grid-template-columns: 1fr; }
  .ct-card { position: relative; top: 0; }
  .ct-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .ct-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ct-dot::after, .ct-card::before { animation: none; } }

/* Avis : piste défilante */
.quotes.quotes--track { display: flex; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 24px; padding: 6px 2px 18px; cursor: grab; }
.quotes--track::-webkit-scrollbar { display: none; }
.quotes--track .quote-card { flex: 0 0 calc(50% - 12px); scroll-snap-align: start; }
.quotes--track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.quotes-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
@media (max-width: 860px) { .quotes--track .quote-card { flex-basis: 86%; } }

/* À propos : pictogrammes de l'approche */
.row--ico .row-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--accent); color: #fff; transition: transform .6s cubic-bezier(.34,1.56,.64,1), border-radius .5s ease, box-shadow .5s; box-shadow: 0 12px 28px -16px rgba(91,58,114,.8); }
.row--ico .row-ico svg { width: 26px; height: 26px; }
.row--ico:hover .row-ico { transform: rotate(-8deg) scale(1.1); border-radius: 50%; }
.row--ico { align-items: center; }
.row--ico .t-h3 { transition: color .4s; }
.row--ico:hover .t-h3 { color: var(--accent); }

/* Flèche « c'est moi ! » sur le portrait */
.about-head .portrait { position: relative; }
.me-arrow { position: absolute; left: -2%; top: 14%; width: clamp(110px, 12vw, 170px); color: var(--accent); pointer-events: none; animation: meBob 3.2s ease-in-out infinite; z-index: 2; }
.me-arrow svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 6px rgba(255,255,255,.7)); }
.me-arrow-txt { position: absolute; left: -6%; top: -34px; font-family: "Caveat", "Segoe Print", "Bradley Hand", cursive; font-size: clamp(22px, 2vw, 30px); font-weight: 700; white-space: nowrap; transform: rotate(-8deg); color: var(--accent); background: rgba(255,255,255,.85); padding: 0 10px; border-radius: 999px; }
.me-arrow-line, .me-arrow-head { stroke-dasharray: 260; stroke-dashoffset: 260; }
.portrait.is-in .me-arrow-line { animation: meDraw 1.1s .6s cubic-bezier(.6,0,.2,1) forwards; }
.portrait.is-in .me-arrow-head { animation: meDraw .5s 1.6s ease forwards; }
@keyframes meDraw { to { stroke-dashoffset: 0; } }
@keyframes meBob { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(8px, 6px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .me-arrow { animation: none; } .me-arrow-line, .me-arrow-head { stroke-dashoffset: 0; } }
/* Flèche seule, plus grande, qui déborde de la photo */
.me-arrow { left: -16%; top: 10%; width: clamp(150px, 17vw, 250px); }
.me-arrow svg { filter: none; }
@media (max-width: 860px) { .me-arrow { left: -4%; top: 4%; width: 120px; } }
.me-arrow { top: 22%; } @media (max-width: 860px) { .me-arrow { top: 12%; } }
.me-arrow svg { transform: rotate(-28deg); transform-origin: 50% 50%; } .me-arrow { top: 30%; left: -14%; } @media (max-width: 860px) { .me-arrow { top: 16%; left: -3%; } }
.me-arrow { top: 17%; left: -17%; } @media (max-width: 860px) { .me-arrow { top: 8%; left: -3%; } }
.me-arrow { top: 6%; } @media (max-width: 860px) { .me-arrow { top: 2%; } }

/* ================= Services ================= */
.sv-offers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); padding-bottom: clamp(24px, 3vw, 48px); }
.sv-offer { position: relative; overflow: hidden; isolation: isolate; background: #fff; border-radius: 28px; padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; gap: 18px; transition: transform .6s cubic-bezier(.34,1.56,.64,1), box-shadow .6s; box-shadow: 0 30px 70px -50px rgba(91,58,114,.5); }
.sv-offer:hover { transform: translateY(-8px); box-shadow: 0 40px 80px -40px rgba(91,58,114,.55); }
.sv-offer h2 { margin: 0; font-size: clamp(34px, 4vw, 60px); letter-spacing: -.04em; line-height: 1; }
.sv-offer p { margin: 0; font-size: 17px; line-height: 1.55; max-width: 38ch; opacity: .85; }
.sv-tag { align-self: flex-start; font-family: var(--font-mono, monospace); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; border: 1px solid currentColor; opacity: .75; }
.sv-chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sv-chips li { padding: 8px 14px; border-radius: 999px; background: rgba(91,58,114,.08); font-size: 14px; transition: background .3s, color .3s, transform .4s cubic-bezier(.34,1.56,.64,1); }
.sv-chips li:hover { transform: translateY(-2px); background: var(--accent); color: #fff; }
.sv-more { margin-top: auto; padding-top: 10px; align-self: flex-start; color: inherit; text-decoration: none; font-weight: 600; }
.sv-more span { display: inline-block; transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
.sv-more:hover span { transform: translateX(6px); }
.sv-offer--dark { background: var(--accent); color: #fff; }
.sv-offer--dark .sv-chips li { background: rgba(255,255,255,.14); }
.sv-offer--dark .sv-chips li:hover { background: #fff; color: var(--accent); }
.sv-offer::after { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; bottom: -160px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(91,58,114,.12), transparent 65%); transition: transform 1s ease; }
.sv-offer--dark::after { background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%); }
.sv-offer:hover::after { transform: translate(-50px, -50px) scale(1.2); }

/* Cartes à retourner : icônes dessinées + listes */
.soft-icon--svg { width: 40%; color: var(--accent); }
.soft-grid--5 { max-width: 1120px; margin: 0 auto; }
.soft-grid--5 .soft { width: clamp(220px, 19vw, 260px); }
.soft-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.soft-list li { position: relative; padding-left: 18px; }
.soft-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.7); }
.soft:nth-child(5) .soft-icon { animation-delay: -1.8s; }
.sv-gear { padding-top: 0; }
.ct-steps--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .sv-offers { grid-template-columns: 1fr; } .ct-steps--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ct-steps--4 { grid-template-columns: 1fr; } }
/* Cartes services : listes plus serrées, titres plus marqués */
.soft-grid--5 .soft-back h3 { font-size: clamp(22px, 1.9vw, 27px); line-height: 1.05; margin-bottom: 16px; }
.soft-grid--5 .soft-list { gap: 4px; font-size: 13.5px; line-height: 1.4; }
.soft-grid--5 .soft-list li::before { width: 5px; height: 5px; top: .55em; }
.soft-grid--5 .soft-list li { padding-left: 14px; }
.soft-back h3 { overflow-wrap: break-word; hyphens: manual; } .soft-grid--5 .soft-back h3 { font-size: clamp(20px, 1.7vw, 24px); }

/* ================= Vidéo d'accueil en boucle ================= */
.hero-film { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius, 20px); overflow: hidden; background: #1c1622; color: #fff; isolation: isolate; }
.hero-film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: hfZoom 18s ease-in-out infinite alternate; }
@keyframes hfZoom { to { transform: scale(1.12); } }
.hero-film-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,20,48,.82) 0%, rgba(35,20,48,.45) 42%, rgba(35,20,48,0) 70%), linear-gradient(0deg, rgba(20,12,28,.55) 0%, rgba(20,12,28,0) 30%); }
.hero-film-top { position: absolute; top: clamp(16px, 2.2vw, 30px); left: clamp(18px, 2.6vw, 40px); right: clamp(18px, 2.6vw, 40px); display: flex; justify-content: space-between; font-family: var(--font-mono, monospace); font-size: 12px; letter-spacing: .14em; }
.hf-rec { display: inline-flex; align-items: center; gap: 8px; }
.hf-rec i { width: 9px; height: 9px; border-radius: 50%; background: #ff4d4d; animation: hfBlink 1.2s steps(2, start) infinite; }
@keyframes hfBlink { to { visibility: hidden; } }
.hf-tc { opacity: .85; font-variant-numeric: tabular-nums; }
.hero-film-copy { position: absolute; left: clamp(18px, 3.4vw, 56px); bottom: clamp(64px, 8vw, 110px); max-width: 640px; }
.hf-kicker { margin: 0; font-size: clamp(16px, 1.5vw, 20px); opacity: .85; }
.hf-line { margin: 6px 0 clamp(18px, 2.4vw, 30px); font-family: var(--font-title); font-size: clamp(28px, 4.2vw, 64px); line-height: 1.04; letter-spacing: -.035em; font-weight: 500; }
.hf-rot { display: inline-grid; vertical-align: bottom; overflow: hidden; height: 1.08em; }
.hf-rot span { grid-area: 1 / 1; white-space: nowrap; color: #e9d8f5; transform: translateY(110%); opacity: 0; transition: transform .75s cubic-bezier(.2,.8,.2,1), opacity .5s; }
.hf-rot span.is-on { transform: none; opacity: 1; }
.hf-rot span.is-out { transform: translateY(-110%); opacity: 0; }
.hf-btn { display: inline-flex; align-items: center; gap: 12px; padding: 13px 22px; border-radius: 999px; background: #fff; color: var(--accent); font-weight: 600; text-decoration: none; transition: transform .45s cubic-bezier(.34,1.56,.64,1), background .3s, color .3s; }
.hf-btn span { transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.hf-btn:hover { transform: translateY(-3px); background: var(--accent); color: #fff; }
.hf-btn:hover span { transform: translateX(5px); }
.hf-marquee { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 0; overflow: hidden; background: rgba(91,58,114,.88); backdrop-filter: blur(6px); }
.hf-track { display: flex; width: max-content; gap: 22px; align-items: center; animation: hfMarq 32s linear infinite; font-family: var(--font-mono, monospace); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.hf-track i { font-style: normal; opacity: .6; }
@keyframes hfMarq { to { transform: translateX(-50%); } }
@media (max-width: 760px) {
  .hero-film { aspect-ratio: 4 / 5; }
  .hero-film-shade { background: linear-gradient(0deg, rgba(35,20,48,.88) 0%, rgba(35,20,48,.35) 55%, rgba(35,20,48,.1) 100%); }
  .hero-film-copy { right: 18px; bottom: 70px; }
}
@media (prefers-reduced-motion: reduce) { .hero-film-video, .hf-track, .hf-rec i { animation: none; } }
.hero-film-copy { bottom: clamp(28px, 4vw, 60px); } @media (max-width: 760px) { .hero-film-copy { bottom: 26px; } }

/* 3 formules : Edit / Create / Grow */
.sv-offers--3 { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.sv-offers--3 .sv-offer { gap: 14px; padding: clamp(26px, 2.6vw, 40px); }
.sv-offers--3 .sv-offer h2 { font-size: clamp(40px, 4.4vw, 68px); text-transform: uppercase; letter-spacing: -.05em; }
.sv-sub { font-size: 18px !important; font-weight: 600; opacity: 1 !important; margin-top: -4px !important; }
.sv-offers--3 .sv-offer > p:not(.sv-sub):not(.sv-ideal) { font-size: 15.5px; }
.sv-checks { list-style: none; margin: 6px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(91,58,114,.15); display: grid; gap: 9px; font-size: 14.5px; line-height: 1.4; }
.sv-offer--dark .sv-checks { border-top-color: rgba(255,255,255,.22); }
.sv-checks li { position: relative; padding-left: 28px; transition: transform .35s ease; }
.sv-checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5 10 16.5 18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.sv-offer--dark .sv-checks li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5 10 16.5 18 8' fill='none' stroke='%235B3A72' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.sv-checks li:hover { transform: translateX(4px); }
.sv-ideal { margin-top: 8px !important; padding: 14px 16px; border-radius: 14px; background: rgba(91,58,114,.07); font-size: 14px !important; font-style: italic; opacity: 1 !important; }
.sv-offer--dark .sv-ideal { background: rgba(255,255,255,.12); }
@media (max-width: 1100px) { .sv-offers--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .sv-offers--3 { grid-template-columns: 1fr; } }
.sv-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sv-foot .sv-more { margin-top: 0; padding-top: 0; }
.sv-price { font-family: var(--font-title); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.sv-note { grid-column: 1 / -1; margin: 6px auto 0; text-align: center; font-size: 15px; color: var(--ink-2, #555); max-width: 60ch; }
/* GROW en pleine largeur */
.sv-offers--3 { grid-template-columns: 1fr 1fr; }
.sv-offer--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 80px); row-gap: 14px; align-items: start; }
.sv-offer--wide > * { grid-column: 1; }
.sv-offer--wide .sv-checks { grid-column: 2; grid-row: 1 / span 5; border-top: 0; border-left: 1px solid rgba(91,58,114,.15); padding: 6px 0 6px clamp(24px, 3vw, 48px); margin: 0; align-self: center; gap: 12px; font-size: 15.5px; }
.sv-offer--wide .sv-foot { grid-column: 1 / -1; border-top: 1px solid rgba(91,58,114,.12); padding-top: 18px; margin-top: 8px; }
@media (max-width: 760px) {
  .sv-offers--3 { grid-template-columns: 1fr; }
  .sv-offer--wide { display: flex; }
  .sv-offer--wide .sv-checks { border-left: 0; border-top: 1px solid rgba(91,58,114,.15); padding: 18px 0 0; }
}
.sv-offer--wide .sv-tag { justify-self: start; }

/* Sélecteur de langue FR / EN */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line-strong); margin-left: clamp(14px, 2vw, 28px); font-family: var(--font-mono, monospace); font-size: 11.5px; letter-spacing: .1em; flex: none; }
.lang-switch a { padding: 5px 9px; border-radius: 999px; color: var(--ink-2, #555); text-decoration: none; transition: background .3s, color .3s; }
.lang-switch a:hover { color: var(--accent); }
.lang-switch a[aria-current] { background: var(--accent); color: #fff; }
@media (max-width: 860px) { .lang-switch { margin-left: auto; margin-right: 10px; } }
@media (min-width: 861px) { .header-inner .nav { margin-left: auto; } }
