/* ===========================================================
   Victoire Bominos — Design system
   Basé sur la Charte Graphique v1.0 (Août 2026)
   Graphite #101114 / Ardoise #1C1F26 / Crème #E9E4DA
   Bleu lumière du jour #4C7BE8 / Ambre tungstène #F0A93B
   Typo: Syne (titres) / Plus Jakarta Sans (texte)
=========================================================== */

:root {
  --graphite: #101114;
  --ardoise: #1c1f26;
  --creme: #e9e4da;
  --creme-dim: #dcd6c8;
  --blue: #4c7be8;
  --blue-soft: #8ca7ef;
  --amber: #f0a93b;
  --white: #ffffff;

  --ink: var(--graphite);
  --paper: var(--creme);

  --font-display: "Syne", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  --wrap: 1180px;
  --gap: clamp(1.5rem, 4vw, 3rem);
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --section-pad: clamp(5rem, 10vw, 8rem);
  --ease: cubic-bezier(.16,.8,.24,1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  /* Décale les ancres pour que les titres ne passent pas sous l'en-tête fixe */
  scroll-padding-top: 90px;
  /* Filet de sécurité : rien ne peut élargir la page horizontalement.
     `clip` (plutôt que `hidden`) ne crée pas de conteneur de défilement,
     donc l'en-tête fixe et les ancres continuent de fonctionner. */
  overflow-x: hidden;
  overflow-x: clip;
}

/* Focus clavier visible partout */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--blue);
  margin: 0 0 1rem;
}
.eyebrow-light { color: var(--blue-soft); }

.section-title {
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.section-title-light { color: var(--creme); }

.text-accent { color: var(--blue); }

/* Trait décoratif au-dessus de chaque en-tête de section */
.section-head::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin: 0 auto 1.4rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
}

/* En-têtes de section : toujours centrés, comme les blocs de contenu */
.section-head {
  max-width: 640px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-intro {
  font-size: 1rem;
  color: rgba(233,228,218,0.72);
  margin: 0 auto;
  max-width: 52ch;
}
/* Sections sur fond clair : on repasse le texte en encre sombre */
.reels .section-intro { color: #55544f; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-primary {
  background: var(--graphite);
  color: var(--creme);
  box-shadow: 0 10px 24px -12px rgba(16,17,20,0.5);
}
.btn-primary:hover { background: var(--ardoise); box-shadow: 0 16px 32px -12px rgba(16,17,20,0.55); }

.btn-accent {
  background: linear-gradient(135deg, var(--blue), #3d68d1);
  color: var(--white);
  box-shadow: 0 12px 28px -10px rgba(76,123,232,0.55);
}
.btn-accent:hover { box-shadow: 0 18px 36px -10px rgba(76,123,232,0.65); }

.btn-ghost { background: transparent; color: var(--graphite); border-color: rgba(16,17,20,0.3); }
.btn-ghost:hover { border-color: var(--graphite); }
.btn-ghost.on-dark { color: var(--creme); border-color: rgba(233,228,218,0.35); }
.btn-ghost.on-dark:hover { border-color: var(--creme); }

.section-cta { text-align: center; margin-top: 2.5rem; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Header (minimal : logo + menu déroulant unique) ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(16,17,20,0.75);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(233,228,218,0.06);
  padding: 1rem 0;
  transition: box-shadow .4s var(--ease), padding .4s var(--ease), background .4s var(--ease);
}
.site-header.is-scrolled {
  padding: 0.75rem 0;
  background: rgba(16,17,20,0.9);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; }
.brand-logo { height: 38px; width: auto; display: block; }

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  padding: 0;
  flex-shrink: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--creme);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Panneau de navigation : identique en mobile et desktop, ancré à droite */
.nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  min-width: 210px;
  background: rgba(28,31,38,0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(233,228,218,0.08);
  border-radius: var(--radius);
  padding: 0.5rem 1.5rem;
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  z-index: 90;
  max-height: 80vh;
  overflow-y: auto;
}
.nav-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.nav-panel a {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(233,228,218,0.08);
  color: rgba(233,228,218,0.75);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: right;
  transition: color .2s;
}
.nav-panel a:last-child { border-bottom: none; }
.nav-panel a:hover { color: var(--creme); }
.nav-panel a.is-current {
  color: var(--creme);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 2px;
}

/* ---------- Hero (sombre, texturé) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--graphite);
  color: var(--creme);
  overflow: hidden;
  padding: 8rem 0 4rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.4;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

.hero-split {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.hero-content { max-width: 700px; text-align: center; }
.hero-title {
  /* « mises au point. » doit tenir sur une seule ligne, même sur un petit téléphone */
  font-size: clamp(2rem, 9vw, 5.5rem);
  letter-spacing: -0.03em;
  margin: 0 0 1.75rem;
}
.hero-title .text-accent {
  background: linear-gradient(135deg, var(--blue-soft), var(--blue) 55%, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--blue);
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .hero-title .text-accent { color: transparent; }
}

.hero-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 0 2.5rem;
}
.hero-services li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(233,228,218,0.14);
  border-radius: 999px;
  background: rgba(233,228,218,0.04);
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.hero-services li:hover {
  border-color: rgba(76,123,232,0.5);
  background: rgba(76,123,232,0.08);
  transform: translateY(-2px);
}
.hero-services svg { width: 17px; height: 17px; color: var(--amber); flex-shrink: 0; }

.hero-cta { position: relative; display: inline-flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero .btn-primary { background: var(--creme); color: var(--graphite); }
.hero .btn-primary:hover { background: var(--white); }
.hero .btn-ghost { color: var(--creme); border-color: rgba(233,228,218,0.35); }
.hero .btn-ghost:hover { border-color: var(--creme); }

.hero .social-icons { justify-content: center; }

.social-icons { display: flex; gap: 0.9rem; }
.social-icons a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(16,17,20,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--graphite);
  transition: border-color .25s, background .25s, color .25s, transform .3s var(--ease);
}
.social-icons a:hover { border-color: var(--graphite); background: var(--graphite); color: var(--creme); transform: translateY(-2px); }
.social-icons svg { width: 18px; height: 18px; }

/* Variante sombre (hero, footer, sections sur fond graphite) */
.social-icons.on-dark a { border-color: rgba(233,228,218,0.25); color: var(--creme); }
.social-icons.on-dark a:hover { border-color: var(--creme); background: var(--creme); color: var(--graphite); }

/* ---------- Ils me font confiance (bande logos) ---------- */
.trust-bar { padding: clamp(3rem, 6vw, 4rem) 0; background: var(--creme); }
.trust-bar-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8a8a86;
  margin: 0 0 2rem;
}
.trust-track span {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: #8a8275;
  white-space: nowrap;
  transition: color .3s;
}
.trust-track span:hover { color: var(--graphite); }
.trust-track .trust-logo {
  height: clamp(28px, 4vw, 38px);
  padding: 0;
}
.trust-track .trust-logo img {
  height: 100%;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter .3s, opacity .3s;
}
.trust-track .trust-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}
.trust-track .trust-logo--labeled {
  height: auto;
  align-items: center;
  gap: 0.55rem;
}
.trust-track .trust-logo--labeled img {
  height: clamp(28px, 4vw, 38px);
  max-width: none;
  flex-shrink: 0;
}
.trust-track .trust-logo-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0.55;
  transition: opacity .3s;
}
.trust-track .trust-logo--labeled:hover .trust-logo-label { opacity: 1; }
.trust-track .trust-logo--gov {
  height: auto;
  align-items: center;
  gap: 0.5rem;
}
.trust-track .trust-logo--gov img {
  height: clamp(28px, 4vw, 38px);
  max-width: none;
  flex-shrink: 0;
}
.trust-track .trust-gov-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.62rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: left;
  white-space: normal;
  opacity: 0.75;
}

/* ---------- Sections alternées (fond sombre / clair) ---------- */
.showcase, .motion-section, .design-section { padding: var(--section-pad) 0; background: var(--graphite); color: var(--creme); }
/* Les cartes latérales du carrousel dépassent volontairement : on les coupe
   au bord de la section plutôt que de laisser la page s'élargir. */
.reels {
  padding: var(--section-pad) 0;
  background: var(--creme);
  color: var(--graphite);
  overflow-x: hidden;
  overflow-x: clip;
}

/* ---------- Grilles de médias (Motion / Design) ---------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.4rem); }
/* La grille s'adapte au nombre de vidéos et reste centrée, même avec une seule */
.grid-motion { grid-template-columns: repeat(auto-fit, minmax(220px, 320px)); justify-content: center; align-items: center; }
.grid-design { grid-template-columns: repeat(3, 1fr); }

/* ---------- Réalisations : un grand lecteur + une bande de miniatures ---------- */
/* Filtres par catégorie : cliquer sur une pastille ne montre plus que les
   réalisations de cette catégorie, dans le lecteur et dans les miniatures. */
.realisation-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 auto 2.5rem;
}
.realisation-filter {
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid rgba(233,228,218,0.2);
  background: rgba(233,228,218,0.03);
  color: rgba(233,228,218,0.75);
  font-weight: 700;
  font-size: 0.85rem;
  transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease);
}
.realisation-filter:hover { border-color: rgba(233,228,218,0.5); color: var(--creme); }
.realisation-filter.is-active {
  background: linear-gradient(135deg, var(--blue), #3d68d1);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-1px);
}

.realisation-player { position: relative; max-width: 880px; margin: 0 auto; }
.realisation-player::before {
  content: "";
  position: absolute;
  inset: -10% -6%;
  z-index: -1;
  background: radial-gradient(60% 60% at 50% 40%, rgba(76,123,232,0.22), transparent 70%);
  filter: blur(10px);
}
.realisation-player .media-card {
  width: 100%;
  cursor: pointer;
  box-shadow: 0 40px 70px -24px rgba(0,0,0,0.55);
}

/* Bande de miniatures défilante — la réalisation active est en surbrillance */
.realisation-thumbs-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.realisation-thumbs {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.realisation-thumbs::-webkit-scrollbar { display: none; }
.realisation-thumbs-nav {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(233,228,218,0.25);
  color: var(--creme);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.realisation-thumbs-nav svg { width: 18px; height: 18px; }
.realisation-thumbs-nav:hover { border-color: var(--creme); background: rgba(233,228,218,0.08); }
.realisation-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 220px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--ardoise);
  border: 2px solid transparent;
  padding: 0;
  opacity: 0.5;
  scroll-snap-align: center;
  transition: opacity .25s, border-color .25s, transform .25s var(--ease);
}
.realisation-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.realisation-thumb:hover { opacity: 0.85; transform: translateY(-2px); }
.realisation-thumb.is-active { opacity: 1; border-color: var(--blue); }
.realisation-thumb-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.3rem 0.5rem;
  background: linear-gradient(to top, rgba(16,17,20,0.9), transparent);
  color: var(--creme);
  font-size: 0.68rem;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.realisation-thumb.is-todo {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed rgba(233,228,218,0.3);
  padding: 0.5rem;
  text-align: center;
}
.realisation-thumb.is-todo span {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(233,228,218,0.5);
}
.realisation-thumb.is-todo.is-active { border-style: solid; border-color: var(--blue); }

.media-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ardoise);
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.media-card:hover { transform: translateY(-4px); box-shadow: 0 28px 48px -16px rgba(76,123,232,0.35), 0 12px 24px rgba(0,0,0,0.3); }
.media-card--16-9 { aspect-ratio: 16 / 9; }
.media-card--9-16 { aspect-ratio: 9 / 16; }
.media-card--1-1 { aspect-ratio: 1 / 1; }

.media-card img, .media-card iframe, .media-card video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
}
.media-card video { background: #000; object-fit: contain; }
.media-card img { transition: transform .6s var(--ease); }
.media-card:hover img { transform: scale(1.05); }

.media-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to top, rgba(16,17,20,0.78), rgba(16,17,20,0.05) 50%);
  transition: opacity .3s;
}
.media-card.is-playing .media-overlay,
.media-card.is-playing > img { display: none; }

.play-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(233,228,218,0.92);
  color: var(--graphite);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.media-card:hover .play-icon { transform: scale(1.08); }
.play-icon svg { width: 22px; height: 22px; margin-left: 2px; }
.reel-card .play-icon, .grid-motion .media-card--9-16 .play-icon { width: 46px; height: 46px; }
.reel-card .play-icon svg, .grid-motion .media-card--9-16 .play-icon svg { width: 17px; height: 17px; }

.media-caption {
  position: absolute;
  left: 1.1rem; right: 1.1rem; bottom: 1rem;
  color: var(--creme);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  pointer-events: none;
}
.media-card.is-playing .media-caption { display: none; }
.media-caption span {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.65rem;
  color: var(--blue-soft);
  margin-bottom: 0.2rem;
}
.reel-card .media-caption, .grid-motion .media-card--9-16 .media-caption { font-size: 0.82rem; }

/* ---------- Carrousel "coverflow" (Reels & Shorts) ---------- */
.reel-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.reel-track {
  position: relative;
  width: 100%;
  height: clamp(340px, 44vw, 520px);
  touch-action: pan-y;
  cursor: grab;
}
.reel-track.is-dragging { cursor: grabbing; }
.reel-card {
  position: absolute;
  top: 50%; left: 50%;
  width: clamp(175px, 22vw, 290px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(233,228,218,0.14);
  box-shadow: 0 20px 50px -18px rgba(0,0,0,0.55);
  filter: grayscale(0.2) brightness(0.8);
  transition: transform .55s cubic-bezier(.22,.9,.3,1), opacity .55s var(--ease), filter .55s var(--ease);
}
.reel-track.is-dragging .reel-card { transition: none; }
.reel-card:hover { filter: grayscale(0.05) brightness(0.9); }
.reel-card.is-active {
  filter: none;
  box-shadow: 0 26px 60px -14px rgba(0,0,0,0.6);
  border-color: rgba(233,228,218,0.22);
}
.reel-card.is-active:hover { filter: none; }
.reel-card:not(.is-active) .media-caption,
.reel-card:not(.is-active) .media-overlay { opacity: 0; }
.reel-nav {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(16,17,20,0.25);
  color: var(--graphite);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .25s, background .25s, opacity .25s;
  /* Doit rester au-dessus de la carte active (z-index 600 max, voir
     script.js) — sinon une carte qui dépasse par-dessus intercepte le clic. */
  position: relative;
  z-index: 700;
}
.reel-nav svg { width: 18px; height: 18px; }
.reel-nav:hover { border-color: var(--graphite); background: rgba(16,17,20,0.06); }

/* Emplacements à compléter (data/projets.js) */
.todo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1.5px dashed rgba(233,228,218,0.3);
  color: rgba(233,228,218,0.7);
  cursor: default;
}
.reels .todo-card {
  border-color: rgba(16,17,20,0.22);
  color: rgba(16,17,20,0.62);
}
.todo-card svg { width: 26px; height: 26px; opacity: 0.7; }
.todo-card strong {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.todo-card span { font-size: 0.8rem; }
.reel-card.todo-card { padding: 1rem; }

/* ---------- Bannière CTA (motif de marque + halos d'accent) ---------- */
.cta-banner {
  position: relative;
  padding: clamp(6rem, 14vw, 9rem) 0;
  background: var(--ardoise);
  color: var(--creme);
  text-align: center;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/logo/mark-white.png");
  background-repeat: repeat;
  background-size: 90px 162px;
  opacity: 0.04;
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(65% 85% at 50% 0%, rgba(76,123,232,0.32), transparent 70%),
    radial-gradient(55% 70% at 85% 100%, rgba(240,169,59,0.16), transparent 70%);
}
.cta-banner .wrap { position: relative; z-index: 2; max-width: 720px; }
.cta-banner h2 {
  font-size: clamp(2.25rem, 5.5vw, 3.6rem);
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}
.cta-banner p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(233,228,218,0.8);
  margin: 0 0 2.25rem;
}

/* ---------- About ---------- */
.about { padding: var(--section-pad) 0; background: var(--graphite); color: var(--creme); }

/* Les trois colonnes font la même hauteur : les pastilles de gauche et les
   chiffres de droite s'alignent exactement sur les bords du portrait. */
/* La photo reste discrète : c'est le texte qui porte la section */
.about-grid {
  display: grid;
  grid-template-columns: minmax(200px, 300px) 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-bio { display: flex; flex-direction: column; gap: 1.4rem; }
.about-bio-text {
  margin: 0;
  font-size: clamp(0.95rem, 1.15vw, 1.04rem);
  line-height: 1.7;
  color: rgba(233,228,218,0.9);
}
/* Phrase de clientèle, plus discrète que la présentation */
.about-bio-text--small { margin-top: -0.6rem; font-size: clamp(0.88rem, 1.05vw, 0.95rem); color: rgba(233,228,218,0.62); }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }


.stat-card {
  background: linear-gradient(155deg, rgba(233,228,218,0.07), rgba(233,228,218,0.02));
  border: 1px solid rgba(233,228,218,0.1);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border-color .3s, transform .3s var(--ease);
}
.stat-card:hover { border-color: rgba(76,123,232,0.35); transform: translateY(-2px); }
.stat-num {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: -0.03em;
  color: var(--blue-soft);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .stat-num {
    background: linear-gradient(135deg, var(--creme), var(--blue-soft));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.stat-num small { font-size: 0.9rem; font-weight: 700; color: var(--blue-soft); margin-left: 2px; }
.stat-label { font-size: 0.8rem; color: rgba(233,228,218,0.6); margin-top: 0.4rem; }

.about-portrait {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 24px 44px -24px rgba(0,0,0,0.6);
  border: 1px solid rgba(233,228,218,0.08);
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-identity { display: flex; flex-direction: column; gap: 0.9rem; }
.about-name {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--creme);
  letter-spacing: -0.03em;
}
.about-quote {
  margin: 0;
  padding-left: 1.1rem;
  border-left: 3px solid var(--blue);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.92rem, 1.2vw, 1.04rem);
  line-height: 1.5;
  color: var(--blue-soft);
}

/* ---------- Services ---------- */
.services { padding: var(--section-pad) 0; background: var(--ardoise); color: var(--creme); }
/* 3 colonnes : les 6 cartes forment deux rangées pleines, sans orphelin */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: linear-gradient(155deg, rgba(233,228,218,0.06), rgba(233,228,218,0.015));
  border: 1px solid rgba(233,228,218,0.1);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, background .35s;
}
.service-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(155deg, rgba(233,228,218,0.09), rgba(233,228,218,0.02));
  box-shadow: 0 30px 50px -20px rgba(76,123,232,0.3), 0 12px 24px -8px rgba(0,0,0,0.35);
  border-color: rgba(76,123,232,0.4);
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--ardoise), var(--graphite));
  border: 1px solid rgba(76,123,232,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  color: var(--blue-soft);
  transition: border-color .35s, transform .35s var(--ease);
}
.service-card:hover .service-icon { border-color: rgba(76,123,232,0.55); transform: scale(1.08); }
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; color: var(--creme); }
.service-card p { font-size: 0.92rem; color: rgba(233,228,218,0.6); margin: 0; }

/* ---------- Motif (pavage de marque) ---------- */
.pattern-band {
  height: 144px;
  background-color: var(--blue);
  background-image: url("assets/logo/mark-white.png");
  background-repeat: repeat;
  background-size: 40px 72px;
  background-position: 0 0;
  animation: pattern-scroll 14s linear infinite;
}

/* ---------- Contact ---------- */
.contact { padding: var(--section-pad) 0; background: var(--graphite); color: var(--creme); }
/* Deux colonnes : le brief à gauche, les accès directs à droite */
.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}
.contact-side { display: flex; flex-direction: column; gap: 0.85rem; }
/* Sur grand écran, les accès directs restent à portée pendant qu'on remplit le brief */
@media (min-width: 981px) { .contact-side { position: sticky; top: 110px; } }
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(233,228,218,0.06), rgba(233,228,218,0.015));
  border: 1px solid rgba(233,228,218,0.12);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, background .35s;
}
.contact-card::after {
  content: "";
  margin-left: auto;
  width: 9px; height: 9px;
  flex-shrink: 0;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  color: rgba(233,228,218,0.45);
  transition: transform .35s var(--ease), color .35s;
}
.contact-card:hover {
  transform: translateX(4px);
  box-shadow: 0 24px 44px -22px rgba(76,123,232,0.4);
  border-color: rgba(76,123,232,0.4);
  background: linear-gradient(155deg, rgba(233,228,218,0.09), rgba(233,228,218,0.02));
}
.contact-card:hover::after { transform: translateX(3px) rotate(45deg); color: var(--creme); }
.contact-card-primary {
  background: linear-gradient(135deg, var(--blue), #3d68d1);
  border-color: var(--blue);
  box-shadow: 0 20px 40px -18px rgba(76,123,232,0.55);
}
.contact-card-primary:hover {
  background: linear-gradient(135deg, var(--blue), #3d68d1);
  border-color: var(--blue-soft);
  box-shadow: 0 26px 48px -16px rgba(76,123,232,0.65);
}
.contact-card-primary::after { color: rgba(255,255,255,0.7); }
.contact-card-primary .contact-card-icon,
.contact-card-primary .contact-card-label,
.contact-card-primary .contact-card-value { color: var(--white); }
.contact-card-primary .contact-card-icon { background: rgba(255,255,255,0.16); }
.contact-card-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(233,228,218,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-soft);
  transition: transform .35s var(--ease);
}
.contact-card:hover .contact-card-icon { transform: scale(1.1) rotate(-6deg); }
.contact-card-icon svg { width: 20px; height: 20px; }
.contact-card-text { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.contact-card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: rgba(233,228,218,0.72);
}
.contact-card-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--creme);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contact-place {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.4rem 0 0;
  padding-left: 0.3rem;
  font-size: 0.88rem;
  color: rgba(233,228,218,0.55);
}
.contact-place svg { width: 18px; height: 18px; color: var(--amber); flex-shrink: 0; }

/* Brief de projet : prépare un message WhatsApp ou un email, rien n'est stocké */
.brief {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(233,228,218,0.07), rgba(233,228,218,0.015));
  border: 1px solid rgba(233,228,218,0.12);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.6);
  overflow: hidden;
}
.brief::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--amber));
}
.brief-title { font-size: clamp(1.3rem, 2.4vw, 1.6rem); color: var(--creme); margin-bottom: 0.4rem; }
.brief-sub { margin: 0; font-size: 0.92rem; color: rgba(233,228,218,0.62); }
.brief-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.brief-group legend,
.brief-field > span {
  display: block;
  margin-bottom: 0.55rem;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(233,228,218,0.72);
}
.brief-field em { font-style: normal; font-weight: 500; letter-spacing: 0.02em; text-transform: none; color: rgba(233,228,218,0.45); }
.brief-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.brief-chip { position: relative; cursor: pointer; }
.brief-chip input { position: absolute; opacity: 0; pointer-events: none; }
.brief-chip span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(233,228,218,0.18);
  background: rgba(233,228,218,0.03);
  color: rgba(233,228,218,0.78);
  font-size: 0.85rem;
  font-weight: 700;
  transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease);
}
.brief-chip:hover span { border-color: rgba(233,228,218,0.45); color: var(--creme); }
.brief-chip input:checked + span {
  background: linear-gradient(135deg, var(--blue), #3d68d1);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-1px);
}
.brief-chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }
.brief-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.brief-field { display: block; }
.brief-field input,
.brief-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(233,228,218,0.14);
  background: rgba(16,17,20,0.55);
  color: var(--creme);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.brief-field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.brief-field input::placeholder,
.brief-field textarea::placeholder { color: rgba(233,228,218,0.35); }
.brief-field input:focus,
.brief-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(16,17,20,0.8);
  box-shadow: 0 0 0 4px rgba(76,123,232,0.18);
}
.brief-field.is-invalid input,
.brief-field.is-invalid textarea,
.brief-group.is-invalid .brief-chip span { border-color: rgba(240,169,59,0.7); }
.brief-status { margin: 0; min-height: 1.4em; font-size: 0.88rem; font-weight: 600; color: var(--amber); }
.brief-status.is-ok { color: #6fdc9c; }
.brief-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.brief-actions .btn svg { width: 18px; height: 18px; }

/* ---------- Lightbox (galerie Design) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  background: rgba(16,17,20,0.94);
}
.lightbox[hidden] { display: none; }
.lightbox-figure { max-width: 100%; max-height: 100%; margin: 0; }
.lightbox-figure img { max-width: 100%; max-height: 80vh; border-radius: 8px; margin: 0 auto; }
.lightbox-figure figcaption { color: var(--creme); text-align: center; margin-top: 1rem; font-size: 0.9rem; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(233,228,218,0.1);
  border: none; color: var(--creme);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close svg { width: 20px; height: 20px; }

/* ---------- Footer (centré, façon carte de visite) ---------- */
.site-footer { background: var(--graphite); color: rgba(233,228,218,0.6); padding: clamp(4rem, 9vw, 6rem) 0 2rem; text-align: center; }

.footer-contact {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 8vw, 5rem);
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.footer-contact div { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-contact span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(233,228,218,0.65);
}
.footer-contact a { font-weight: 700; color: var(--creme); font-size: 1.05rem; }
.footer-contact a:hover { color: var(--blue-soft); }

.footer-social-label { font-size: 0.85rem; margin: 0 0 1rem; color: rgba(233,228,218,0.5); }
.site-footer .social-icons { justify-content: center; margin-bottom: 3.5rem; }

.footer-tagline {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  letter-spacing: -0.02em;
  color: var(--creme);
  margin: 0 0 3rem;
}

.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.footer-nav a { font-size: 0.85rem; transition: color .25s; }
.footer-nav a:hover { color: var(--creme); }
.footer-brand { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.footer-brand .brand-logo { height: 32px; opacity: 0.8; }
.footer-copy { font-size: 0.8rem; margin: 0; }
.footer-legal { font-size: 0.78rem; margin: 0.6rem 0 0; color: rgba(233,228,218,0.4); }
.footer-legal a { transition: color .2s; }
.footer-legal a:hover { color: var(--creme); }
.footer-legal span { margin: 0 0.5em; }

/* ---------- Pages légales (mentions, confidentialité) ---------- */
.legal-page { padding: calc(var(--section-pad) + 3rem) 0 var(--section-pad); background: var(--graphite); color: rgba(233,228,218,0.85); }
.legal-page .wrap { max-width: 760px; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  color: var(--blue-soft);
  font-weight: 600;
  font-size: 0.9rem;
}
.legal-back svg { width: 16px; height: 16px; }
.legal-back:hover { color: var(--creme); }
.legal-page h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  letter-spacing: -0.02em;
  color: var(--creme);
  margin-bottom: 0.75rem;
}
.legal-updated { font-size: 0.85rem; color: rgba(233,228,218,0.5); margin: 0 0 3rem; }
.legal-page section { margin-bottom: 2.5rem; }
.legal-page h2 {
  font-size: 1.3rem;
  color: var(--creme);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.legal-page h2 .legal-num { color: var(--blue-soft); font-size: 1rem; }
.legal-page p { margin: 0 0 1rem; line-height: 1.7; }
.legal-page ul { list-style: disc; padding-left: 1.3rem; margin: 0 0 1rem; }
.legal-page li { margin-bottom: 0.5rem; line-height: 1.7; }
.legal-page a:not(.legal-back) { color: var(--blue-soft); text-decoration: underline; text-decoration-color: rgba(140,167,239,0.4); text-underline-offset: 3px; }
.legal-page a:not(.legal-back):hover { color: var(--creme); }
.legal-todo {
  background: rgba(240,169,59,0.14);
  color: var(--amber);
  border: 1px solid rgba(240,169,59,0.3);
  border-radius: 6px;
  padding: 0.1rem 0.5rem;
  font-weight: 700;
  font-size: 0.88em;
  font-style: normal;
}

/* ---------- Lien d'évitement (accessibilité clavier) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--blue);
  color: var(--white);
  padding: 0.8rem 1.4rem;
  border-radius: 0 0 10px 0;
  font-weight: 700;
  font-size: 0.9rem;
}
.skip-link:focus { left: 0; }

/* ---------- Noise overlay (subtle texture, on-brand editorial feel) ---------- */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Animations & effets dynamiques ---------- */

/* Tilt 3D au survol (cartes) */
.tilt {
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  --mx: 50%;
  --my: 50%;
  transition: transform .25s var(--ease);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
}
.tilt:hover { --lift: -6px; }

/* Halo qui suit le curseur à l'intérieur de la carte */
.tilt-glow { position: relative; overflow: hidden; }
.tilt-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(76,123,232,0.2), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.tilt-glow:hover::after { opacity: 1; }
.tilt-glow > * { position: relative; z-index: 1; }

/* Halo qui suit le curseur sur toute la page (souris fine uniquement) */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 480px; height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(76,123,232,0.16) 0%, rgba(76,123,232,0) 70%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity .4s;
  will-change: transform;
}
.cursor-glow.is-active { opacity: 1; }

/* Bande logos en défilement continu (marquee), estompée sur les bords */
.trust-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.trust-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(2rem, 6vw, 4rem);
  animation: marquee 26s linear infinite;
}
.trust-marquee:hover .trust-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Motif : défilement horizontal continu */
@keyframes pattern-scroll {
  from { background-position: 0 0; }
  to { background-position: -320px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .trust-track, .pattern-band { animation: none !important; }
  /* Le contenu reste visible sans animation d'apparition */
  .reveal { opacity: 1; transform: none; transition: none; }
  .tilt { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-content { max-width: 100%; margin: 0 auto; }

  .about-grid { grid-template-columns: 1fr; gap: 1rem; }
  .about-portrait { width: 100%; max-width: 280px; margin: 0 auto 0.75rem; order: -1; }

  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-design { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-side { order: -1; }
}

@media (max-width: 560px) {
  /* Les cartes de texte passent en pleine largeur, les visuels restent en
     deux colonnes : six carrés empilés feraient une colonne interminable. */
  .service-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .pattern-band { height: 90px; background-size: 25px 45px; }
  .footer-contact { flex-direction: column; gap: 2rem; align-items: center; }
  .reel-carousel { gap: 0.4rem; }
  .about-stats { grid-template-columns: 1fr; }
  .about-portrait { max-width: 240px; }
  .about-name { font-size: 1.65rem; }
  .brief-row { grid-template-columns: 1fr; }
  .brief-actions .btn { flex: 1 1 100%; }

  .realisation-thumb { width: 170px; }
  .realisation-thumbs-wrap { gap: 0.6rem; }
  .realisation-thumbs-nav { width: 40px; height: 40px; }
}

/* ---------- Bulle WhatsApp flottante ---------- */
.whatsapp-bubble {
  position: fixed;
  right: clamp(1rem, 4vw, 2rem);
  bottom: clamp(1rem, 4vw, 2rem);
  z-index: 300;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px -8px rgba(37,211,102,0.55);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.whatsapp-bubble:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -8px rgba(37,211,102,0.65); }
.whatsapp-bubble svg { width: 30px; height: 30px; }

/* ---------- Témoignages ---------- */
.testimonials { padding: var(--section-pad) 0; background: var(--ardoise); color: var(--creme); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.testimonial-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--graphite);
  border: 1px solid rgba(233,228,218,0.08);
}
.testimonial-card blockquote {
  margin: 0;
  position: relative;
  padding-top: 2.4rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(233,228,218,0.88);
}
.testimonial-card blockquote::before {
  content: "\201C";
  position: absolute;
  top: -0.4rem; left: 0;
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: 1;
  color: var(--blue);
}
.testimonial-card figcaption { display: flex; align-items: center; gap: 0.9rem; }
.testimonial-avatar {
  flex-shrink: 0;
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue), #3d68d1);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  border: 2px solid rgba(233,228,218,0.18);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; background: rgba(233,228,218,0.94); }
.testimonial-avatar.is-logo { background: rgba(233,228,218,0.94); }
.testimonial-avatar.is-logo img { object-fit: contain; padding: 7px; }
.testimonial-who { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.testimonial-who strong { font-family: var(--font-display); color: var(--creme); }
.testimonial-who span { font-size: 0.85rem; color: rgba(233,228,218,0.6); }
.testimonial-card--todo { min-height: 220px; background: transparent; }
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* ---------- Logiciels maîtrisés : même bandeau que « Ils me font confiance » ---------- */
.tools-bar .trust-track { animation-duration: 24s; }
.tools-bar .trust-logo--labeled img { width: clamp(28px, 4vw, 38px); border-radius: 8px; }

/* ---------- Pourquoi me choisir ---------- */
.why { padding: var(--section-pad) 0; background: var(--ardoise); color: var(--creme); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: why;
}
/* Style éditorial : grand numéro en dégradé, ligne d'accent en haut,
   halo bleu qui descend, points en pastilles */
.why-card {
  counter-increment: why;
  padding: 2.2rem 1.8rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(233,228,218,0.07);
  background:
    linear-gradient(90deg, var(--blue), var(--amber)) top left / 0% 3px no-repeat,
    linear-gradient(180deg, rgba(76,123,232,0.12), rgba(76,123,232,0) 55%),
    rgba(16,17,20,0.35);
  transition: opacity .8s var(--ease), transform .25s var(--ease), background-size .9s var(--ease), border-color .35s, box-shadow .35s var(--ease);
}
/* La ligne d'accent se déploie à l'apparition, puis entièrement au survol */
.why-card.is-visible { background-size: 38% 3px, auto, auto; }
.why-card:hover {
  background-size: 100% 3px, auto, auto;
  border-color: rgba(76,123,232,0.3);
  box-shadow: 0 34px 60px -28px rgba(76,123,232,0.45), 0 12px 24px -10px rgba(0,0,0,0.4);
}
.why-card::before {
  content: counter(why, decimal-leading-zero);
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 1.4rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--blue-soft);
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .why-card::before {
    background: linear-gradient(135deg, var(--blue-soft), var(--blue) 45%, var(--amber));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.why-icon {
  position: absolute;
  top: 2.3rem; right: 1.8rem;
  color: var(--amber);
  transition: transform .4s var(--ease);
}
.why-card:hover .why-icon { transform: translateY(-3px) rotate(-8deg); }
.why-icon svg { width: 30px; height: 30px; }
.why-card h3 { font-size: 1.35rem; margin-bottom: 0.75rem; color: var(--creme); }
.why-card p { font-size: 0.93rem; line-height: 1.7; color: rgba(233,228,218,0.66); margin: 0; }
/* Points concrets : pastilles */
.why-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.why-points li {
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(233,228,218,0.14);
  background: rgba(233,228,218,0.04);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(233,228,218,0.85);
  transition: border-color .3s, background .3s;
}
.why-card:hover .why-points li { border-color: rgba(240,169,59,0.35); background: rgba(240,169,59,0.06); }
/* Trois piliers : côte à côte sur grand écran, empilés sinon */
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }

/* Nombre impair de cartes de services : la dernière est centrée plutôt que collée à gauche */
@media (min-width: 901px) {
  .service-grid > .service-card:last-child:nth-child(3n + 1) { grid-column: 2; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .service-grid > .service-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 0.625rem);
  }
}

.hero-split { z-index: 2; }

/* Titre : chaque mot monte depuis une ligne masquée */
.hero-title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.04em 0.12em;
  margin-bottom: -0.12em;
}
.hero-title .word > span {
  display: inline-block;
  transform: translateY(110%);
  filter: blur(14px);
  opacity: 0;
  transition: transform 1.1s var(--ease), filter 1.4s var(--ease), opacity .8s ease;
}
.hero-title.is-in .word > span { transform: none; filter: none; opacity: 1; }

/* Le reste du hero arrive en cascade, juste après le titre */
.hero .hero-services.reveal { transition-delay: 0.55s; }
.hero .hero-cta.reveal { transition-delay: 0.7s; }
.hero .social-icons.reveal { transition-delay: 0.85s; }

/* Indicateur « défiler » en bas du hero */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 4vh, 2.25rem);
  z-index: 2;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1.5px solid rgba(233,228,218,0.4);
  border-radius: 999px;
  transition: border-color .3s;
}
.hero-scroll:hover { border-color: var(--creme); }
.hero-scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--amber);
  animation: hero-scroll-dot 1.8s var(--ease) infinite;
}
@keyframes hero-scroll-dot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  80% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

@media (max-width: 700px), (max-height: 760px) { .hero-scroll { display: none; } }

/* Barre de progression de lecture, sous l'en-tête */
.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  pointer-events: none;
}

/* ===========================================================
   Menu complet sur grand écran : liens visibles + « Contact »
   en bouton ; le burger reste réservé aux écrans plus petits.
=========================================================== */
@media (min-width: 1200px) {
  .burger { display: none; }
  .nav-panel {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
    min-width: 0;
    margin-left: auto;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    max-height: none;
    overflow: visible;
  }
  .nav-panel a {
    position: relative;
    padding: 0.35rem 0;
    border: 0;
    font-size: 0.9rem;
    white-space: nowrap;
    text-decoration: none;
  }
  .nav-panel a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
  }
  .nav-panel a:hover::after, .nav-panel a.is-current::after { transform: scaleX(1); }
  .nav-panel a.is-current { text-decoration: none; }
  .nav-panel a[href="#contact"] {
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), #3d68d1);
    color: var(--white);
    box-shadow: 0 10px 24px -12px rgba(76,123,232,0.7);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  }
  .nav-panel a[href="#contact"]::after { display: none; }
  .nav-panel a[href="#contact"]:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(76,123,232,0.8); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title .word > span { transform: none; filter: none; opacity: 1; transition: none; }
  .hero-scroll span { animation: none; opacity: 1; }
}

/* ===========================================================
   Finitions dynamiques
=========================================================== */

/* Titres de section : chaque ligne monte depuis un masque */
.split-lines .line {
  display: block;
  overflow: hidden;
  padding: 0.08em 0.04em 0.14em;
  margin: -0.08em -0.04em -0.14em;
}
.split-lines .line > span {
  display: inline-block;
  transform: translateY(108%);
  transition: transform 1s var(--ease);
}
.is-visible > .split-lines .line > span,
.split-lines.is-visible .line > span { transform: none; }

/* Mots en couleur : un reflet ambré glisse lentement dans le dégradé */
.hero-title .text-accent,
.cta-banner h2 .text-accent {
  background-image: linear-gradient(110deg, var(--blue-soft), var(--blue) 30%, var(--amber) 50%, var(--blue) 70%, var(--blue-soft));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: accent-sweep 9s linear infinite;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .cta-banner h2 .text-accent { color: transparent; }
}
@keyframes accent-sweep {
  from { background-position: 0% 50%; }
  to { background-position: 200% 50%; }
}

/* Bannière CTA : le motif de marque dérive lentement */
.cta-banner::before { animation: pattern-drift 40s linear infinite; }
@keyframes pattern-drift {
  from { background-position: 0 0; }
  to { background-position: 90px 324px; }
}

/* Réalisations : fondu à chaque changement de projet + compteur */
.media-card.is-swapping > img { animation: media-swap .8s var(--ease); }
@keyframes media-swap {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}
.realisation-counter {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 2;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(16,17,20,0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(233,228,218,0.16);
  color: var(--creme);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.realisation-counter b { color: var(--amber); font-weight: 800; }
.media-card.is-playing .realisation-counter { display: none; }

/* Reels : halo vivant autour de la carte active + pastilles de position */
.reel-card.is-active { animation: reel-glow 5s ease-in-out infinite; }
@keyframes reel-glow {
  0%, 100% { box-shadow: 0 26px 60px -14px rgba(0,0,0,0.6), 0 0 0 0 rgba(76,123,232,0); }
  50% { box-shadow: 0 26px 60px -14px rgba(0,0,0,0.6), 0 0 46px -4px rgba(76,123,232,0.45); }
}
.reel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.reel-dot {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(16,17,20,0.2);
  transition: width .4s var(--ease), background .3s;
}
.reel-dot:hover { background: rgba(16,17,20,0.45); }
.reel-dot.is-active { width: 28px; background: linear-gradient(90deg, var(--blue), var(--amber)); }

/* Services : numéro de carte + icône qui se dessine à l'apparition */
.service-grid { counter-reset: service; }
.service-card { counter-increment: service; }
.service-card::before {
  content: counter(service, decimal-leading-zero);
  position: absolute;
  top: 1.6rem; right: 1.5rem;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: rgba(233,228,218,0.22);
  transition: color .35s;
}
.service-card:hover::before { color: var(--amber); }
.draw-icons .service-icon svg :is(path, circle, rect) {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s var(--ease) .3s;
}
.draw-icons .service-card.is-visible .service-icon svg :is(path, circle, rect) { stroke-dashoffset: 0; }
.draw-icons .service-icon.is-drawn svg :is(path, circle, rect) { stroke-dasharray: none; }

/* Curseur « Lire » au survol des vidéos (souris uniquement) */
.play-cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 350;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1rem 0.6rem 0.8rem;
  border-radius: 999px;
  background: rgba(233,228,218,0.95);
  color: var(--graphite);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.5);
  pointer-events: none;
  opacity: 0;
  scale: 0.4;
  transition: opacity .2s, scale .3s var(--ease);
  will-change: transform;
}
.play-cursor svg { width: 14px; height: 14px; color: var(--blue); }
.play-cursor.is-active { opacity: 1; scale: 1; }
.has-play-cursor .media-card[data-yt]:not(.is-playing) { cursor: none; }
.has-play-cursor .media-card[data-yt]:not(.is-playing):hover .play-icon { opacity: 0; transform: scale(0.6); }
.play-icon { transition: transform .3s var(--ease), opacity .25s; }

/* Bulle WhatsApp : onde lumineuse + étiquette */
.whatsapp-bubble { transition: transform .35s var(--ease), box-shadow .25s var(--ease), opacity .35s; }
.whatsapp-bubble::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-ping 3.2s var(--ease) infinite;
  pointer-events: none;
}
@keyframes wa-ping {
  0% { transform: scale(1); opacity: 0.7; }
  60%, 100% { transform: scale(1.65); opacity: 0; }
}
.whatsapp-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--graphite);
  color: var(--creme);
  border: 1px solid rgba(233,228,218,0.14);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translate(8px, -50%);
  transition: opacity .3s, transform .4s var(--ease);
  pointer-events: none;
}
.whatsapp-bubble:hover .whatsapp-label,
.whatsapp-bubble:focus-visible .whatsapp-label,
.whatsapp-bubble.show-label .whatsapp-label { opacity: 1; transform: translate(0, -50%); }
/* Inutile quand la section Contact est déjà à l'écran */
.whatsapp-bubble.is-tucked { opacity: 0; transform: scale(0.6); pointer-events: none; }

/* Pied de page : retour en haut */
.back-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin: 0 auto 2.5rem;
  border-radius: 50%;
  border: 1.5px solid rgba(233,228,218,0.25);
  color: var(--creme);
  transition: border-color .3s, background .3s, transform .35s var(--ease);
}
.back-top svg { width: 20px; height: 20px; }
.back-top:hover { border-color: var(--creme); background: rgba(233,228,218,0.08); transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  .split-lines .line > span { transform: none; transition: none; }
  .hero-title .text-accent, .cta-banner h2 .text-accent,
  .cta-banner::before, .reel-card.is-active, .whatsapp-bubble::before { animation: none; }
  .draw-icons .service-icon svg :is(path, circle, rect) { stroke-dasharray: none; transition: none; }
  .media-card.is-swapping > img { animation: none; }
}

/* ===========================================================
   Hero vivant, sans image de fond : le mouvement vient du
   contenu lui-même.
=========================================================== */

/* Le point final, ambré, respire comme le voyant d'une caméra */
.hero-dot { color: var(--amber); animation: dot-breathe 2.6s ease-in-out 2s infinite; }
@keyframes dot-breathe {
  0%, 100% { text-shadow: 0 0 0 rgba(240,169,59,0); opacity: 1; }
  50% { text-shadow: 0 0 22px rgba(240,169,59,0.85); opacity: 0.55; }
}

/* Les métiers arrivent un par un… */
.hero-services.is-visible li { animation: chip-in .7s var(--ease) backwards; animation-delay: calc(0.6s + var(--i, 0) * 0.09s); }
@keyframes chip-in {
  from { opacity: 0; transform: translateY(16px) scale(0.92); }
}
/* …puis une lumière ambrée passe de l'un à l'autre */
.hero-services li { transition: border-color .5s, background .5s, color .5s, box-shadow .5s, transform .25s var(--ease); }
.hero-services svg { transition: transform .5s var(--ease); }
.hero-services li.is-lit {
  border-color: rgba(240,169,59,0.65);
  background: rgba(240,169,59,0.08);
  color: var(--white);
  box-shadow: 0 0 28px -8px rgba(240,169,59,0.55);
}
.hero-services li.is-lit svg { transform: scale(1.18) rotate(-8deg); }


/* Reflet qui balaie régulièrement le bouton principal */
.hero .btn-primary { position: relative; overflow: hidden; }
.hero .btn-primary::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.95), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 6s ease-in-out 3s infinite;
  pointer-events: none;
}
@keyframes btn-shine {
  0% { left: -60%; }
  16%, 100% { left: 130%; }
}

/* Profondeur : le titre et les pastilles suivent la souris à des vitesses différentes */
@media (pointer: fine) {
  .hero-title { translate: calc(var(--hx, 0) * 20px) calc(var(--hy, 0) * 12px); }
  .hero-services { translate: calc(var(--hx, 0) * -12px) calc(var(--hy, 0) * -7px); }
  .hero-cta { translate: calc(var(--hx, 0) * -6px) calc(var(--hy, 0) * -4px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dot, .hero .btn-primary::after, .hero-services.is-visible li { animation: none; }
}

/* ===========================================================
   Emplacements vidéo « Bientôt en ligne » (entrées todo de
   data/projets.js) : la mise en page reste en place en
   attendant les vidéos.
=========================================================== */
.slot-card {
  position: relative;
  overflow: hidden;
  gap: 0.75rem;
  border: 1px solid rgba(233,228,218,0.1);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(76,123,232,0.2), transparent 60%),
    linear-gradient(160deg, #1f232b, #121318);
  color: rgba(233,228,218,0.8);
}
.slot-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/logo/mark-white.png");
  background-size: 54px 97px;
  opacity: 0.025;
  pointer-events: none;
}
/* Reflet qui balaie lentement la carte */
.slot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(233,228,218,0.07) 50%, transparent 65%);
  background-size: 250% 100%;
  animation: slot-shimmer 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes slot-shimmer {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}
.slot-card > :not(.realisation-counter) { position: relative; z-index: 1; }
.slot-card > .realisation-counter { z-index: 2; }
.slot-icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1.5px solid rgba(233,228,218,0.22);
  background: rgba(233,228,218,0.04);
  color: rgba(233,228,218,0.65);
}
.slot-card .slot-icon svg { width: 20px; height: 20px; opacity: 1; margin-left: 2px; }
.slot-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-soft);
}
.slot-card strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--creme);
}
/* Fond clair de la section Reels : la carte reste sombre, comme une vidéo */
.reels .slot-card { color: rgba(233,228,218,0.8); border-color: rgba(16,17,20,0.12); }
.realisation-player .slot-card { width: 100%; box-shadow: 0 40px 70px -24px rgba(0,0,0,0.55); }
.realisation-player .slot-card .slot-icon { width: 76px; height: 76px; }
.realisation-player .slot-card .slot-icon svg { width: 26px; height: 26px; }
.realisation-player .slot-card strong { font-size: 1.4rem; }
/* Dans le carrousel, la carte garde son placement absolu (calculé par script.js) */
.reel-card.slot-card { position: absolute; }
.reel-card.slot-card strong { font-size: 0.92rem; }
/* Comme pour les vidéos : seul le Short du centre affiche son texte */
.reel-card.slot-card:not(.is-active) .slot-label,
.reel-card.slot-card:not(.is-active) strong { opacity: 0; }

/* Miniatures « à venir » sous le grand lecteur */
.realisation-thumb.is-todo {
  border: 1.5px solid rgba(233,228,218,0.12);
  background: linear-gradient(160deg, #1f232b, #121318);
}
.realisation-thumb.is-todo span {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-soft);
}
.realisation-thumb.is-todo em {
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(233,228,218,0.55);
}

@media (prefers-reduced-motion: reduce) {
  .slot-card::after { animation: none; }
}

/* ===========================================================
   Showreel du hero : à droite du texte sur grand écran,
   sous les boutons sur tablette et téléphone.
=========================================================== */
.hero-showreel { position: relative; width: 100%; max-width: 760px; }
.hero-showreel::before {
  content: "";
  position: absolute;
  inset: -14% -10%;
  z-index: -1;
  background:
    radial-gradient(55% 55% at 40% 45%, rgba(76,123,232,0.3), transparent 70%),
    radial-gradient(40% 40% at 75% 75%, rgba(240,169,59,0.14), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}
.hero-showreel-frame > * {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.75), 0 0 0 1px rgba(233,228,218,0.08);
}
.hero-showreel .slot-card .slot-icon { width: 72px; height: 72px; }
.hero-showreel .slot-card .slot-icon svg { width: 24px; height: 24px; }
.hero-showreel .slot-card strong { font-size: 1.3rem; }
.hero .hero-showreel.reveal { transition-delay: 0.6s; }

@media (min-width: 900px) {
  .hero-split {
    display: grid;
    /* Le showreel prend la plus grande colonne ; le hero s'élargit un peu pour lui */
    max-width: 1320px;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
  }
  .hero-content { max-width: none; text-align: left; }
  .hero-services, .hero .social-icons { justify-content: flex-start; }
  .hero-title { font-size: clamp(2.5rem, 4.2vw, 3.8rem); }
  .hero-showreel { justify-self: end; max-width: none; }
  /* Légèrement de biais, il se redresse au survol (sur le cadre : le bloc garde son animation d'apparition) */
  .hero-showreel-frame { transform: perspective(1400px) rotateY(-8deg); transition: transform .7s var(--ease); }
  .hero-showreel:hover .hero-showreel-frame { transform: perspective(1400px) rotateY(0deg); }
}
@media (max-width: 899px) {
  .hero-split { flex-direction: column; align-items: center; }
  .hero-showreel { margin-top: 2.5rem; }
}
@media (pointer: fine) {
  .hero-showreel { translate: calc(var(--hx, 0) * -14px) calc(var(--hy, 0) * -8px); }
}
