:root {
  --noir: #111111;
  --gris: #1d1d1d;
  --texte: #1a1a1a;
  --doux: #6b6b6b;
  --creme: #f6f3ee;
  --jaune: #ffc93c;
  --rouge: #ff4d2e;
  --rayon: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--creme);
  color: var(--texte);
  line-height: 1.6;
}

h1, h2, .nav__logo, .stat strong, .card__num {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
}

a { color: inherit; text-decoration: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  background: var(--jaune);
  color: var(--noir);
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid var(--jaune);
  transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--small { padding: 8px 18px; font-size: .9rem; }

.eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 12px;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px max(5vw, calc((100% - 1180px) / 2));
  background: rgba(246, 243, 238, .9);
  backdrop-filter: blur(8px);
}
.nav__logo { font-size: 1.5rem; }
.nav__logo span { color: var(--rouge); }
.nav__links { display: flex; gap: 28px; align-items: center; font-weight: 600; }

/* Menu déroulant « Univers » */
.nav__univers { position: relative; }
.nav__univers-bouton { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.nav__univers-bouton span { display: inline-block; font-size: .8em; transition: rotate .2s; }
.nav__univers-bouton[aria-expanded="true"] span { rotate: 180deg; }
.nav__univers-bouton:focus-visible { outline: 3px solid var(--jaune); outline-offset: 4px; border-radius: 4px; }
.nav__menu {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0;
  min-width: 230px;
  list-style: none;
  background: var(--noir);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  animation: menuOuvre .18s ease;
}
.nav__menu a { display: block; color: #fff; padding: 9px 14px; border-radius: 8px; white-space: nowrap; }
.nav__menu a:hover, .nav__menu a:focus-visible { background: var(--jaune); color: var(--noir); outline: none; }
.nav__menu .filtre__nb { font-size: .8rem; opacity: .6; }
@keyframes menuOuvre { from { opacity: 0; translate: -50% -6px; } }
.filtres { scroll-margin-top: 100px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px max(5vw, calc((100% - 1180px) / 2)) 80px;
}
.hero h1 { font-size: clamp(3rem, 8vw, 6.5rem); }
.hero h1 em { font-style: normal; color: var(--rouge); }
.hero__lead { font-size: 1.15rem; color: var(--doux); max-width: 34em; margin: 24px 0 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__dispo { margin-top: 28px; font-weight: 600; font-size: .95rem; display: flex; align-items: center; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #2ecc71; box-shadow: 0 0 0 4px rgba(46,204,113,.25); }

.hero__visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: min(320px, 80%);
  aspect-ratio: 9 / 16;
  background: var(--noir);
  border-radius: 36px;
  padding: 10px;
  transform: rotate(3deg);
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
  position: relative;
  transition: transform .4s ease;
}
/* Pendant la lecture, le téléphone se redresse pour une vidéo bien droite */
.phone.en-lecture { transform: rotate(0); }
.phone iframe.phone__video { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
/* Les stickers s'effacent pour ne pas cacher les commandes du lecteur */
.sticker { transition: opacity .3s; }
.hero__visual:has(.en-lecture) .sticker { opacity: 0; pointer-events: none; }
.phone__lecture {
  position: absolute; left: 50%; bottom: 32px;
  translate: -50% 0;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px 14px 18px;
  border-radius: 999px; border: none;
  background: var(--jaune); color: var(--noir);
  font: inherit; font-weight: 700; white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
  transition: transform .2s;
  animation: pulse 2.4s ease-in-out infinite;
}
.phone__lecture:hover { transform: scale(1.06); }
.phone__lecture:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.phone__lecture svg { width: 18px; height: 18px; fill: currentColor; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(0,0,0,.3), 0 0 0 0 rgba(255,201,60,.6); }
  50%      { box-shadow: 0 8px 20px rgba(0,0,0,.3), 0 0 0 12px rgba(255,201,60,0); }
}
@media (prefers-reduced-motion: reduce) { .phone__lecture { animation: none; } }
.phone__video {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 28px;
}
.sticker {
  position: absolute;
  background: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
  white-space: nowrap;
}
.sticker--1 { top: 12%; left: 0; transform: rotate(-6deg); }
.sticker--2 { bottom: 27%; right: 0; transform: rotate(4deg); background: var(--jaune); }
.sticker--3 { top: 3%; right: -2%; transform: rotate(5deg); background: var(--noir); color: #fff; }
.sticker--4 { top: 40%; left: -2%; transform: rotate(-3deg); background: var(--jaune); }
.sticker--5 { bottom: 20%; left: 0; transform: rotate(-4deg); }

/* Les stickers « poppent » un par un à l'arrivée, puis flottent doucement */
.sticker { animation: stickerPop .5s cubic-bezier(.34, 1.56, .64, 1) both, stickerFlotte 4s ease-in-out infinite; }
.sticker--1 { animation-delay: .3s, 1s; }
.sticker--3 { animation-delay: .5s, 1.6s; }
.sticker--4 { animation-delay: .7s, 2.2s; }
.sticker--2 { animation-delay: .9s, 1.3s; }
.sticker--5 { animation-delay: 1.1s, 1.9s; }
@keyframes stickerPop {
  from { opacity: 0; scale: .4; }
  to   { opacity: 1; scale: 1; }
}
@keyframes stickerFlotte {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -6px; }
}
@media (prefers-reduced-motion: reduce) { .sticker { animation: none; } }

/* ---------- Marques ---------- */
.brands {
  background: var(--noir);
  color: #fff;
  padding: 80px max(5vw, calc((100% - 1180px) / 2));
  text-align: center;
  overflow: hidden;
}
.brands .eyebrow { color: var(--jaune); margin-bottom: 48px; }
/* Défilement en boucle de droite à gauche (les logos sont dupliqués en JS) */
.brands__defile {
  margin-inline: calc(-1 * max(5vw, (100vw - 1180px) / 2));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brands__grid {
  display: flex;
  width: max-content;
  align-items: center;
  padding: 12px 0;
  animation: defile var(--duree, 80s) linear infinite;
}
@keyframes defile { to { transform: translateX(-50%); } }
.brand-chip {
  background: #fff;
  border-radius: 16px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 96px;
  flex-shrink: 0;
  margin-right: 20px; /* marge plutôt que gap : la boucle tombe pile à -50 % */
  transition: box-shadow .2s, transform .2s;
}
/* Taille réelle calculée en JS selon les proportions du logo (même poids visuel pour tous) */
.brand-chip img {
  max-width: 100%;
  max-height: 44px;
  object-fit: contain;
  display: block;
}
.brand-chip:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

/* Sans animation (réglage d'accessibilité) : grille fixe, sans les copies */
@media (prefers-reduced-motion: reduce) {
  .brands__defile { margin-inline: 0; -webkit-mask-image: none; mask-image: none; }
  .brands__grid { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: 20px; }
  .brands__grid .brand-chip { margin-right: 0; }
  .brands__grid [aria-hidden] { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 100px max(5vw, calc((100% - 1180px) / 2)); }
.section h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 48px; }
.section--dark { background: var(--gris); color: #fff; }
.section--accent { background: var(--jaune); }
.section--accent .eyebrow { color: var(--noir); opacity: .7; }

/* Résultats */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.stat {
  background: #fff;
  border-radius: var(--rayon);
  padding: 24px;
  border-top: 6px solid var(--rouge);
}
.stat strong { display: block; font-size: 3rem; margin-bottom: 10px; }
.stat span { color: var(--doux); font-size: .95rem; }

/* Portfolio */
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.videos .video[hidden] { display: none; }

/* Lecture sur place : le lecteur YouTube prend la place de la miniature */
.video.en-lecture { cursor: default; }
.video.en-lecture .video__frame { background: #000; outline: 3px solid var(--jaune); outline-offset: 4px; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; transition: opacity .3s; }
iframe.en-chargement { opacity: 0; }
.phone iframe.phone__video { transition: opacity .3s; }
/* Miniature floutée + indicateur pendant le chargement du lecteur YouTube */
.video__fond { filter: brightness(.55) blur(2px); }
.video.en-lecture .video__frame img.video__fond { transform: none; opacity: 1; }
.video__chargement {
  position: absolute; inset: 0; margin: auto;
  width: fit-content; height: fit-content;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: #fff; font-weight: 700; font-size: .9rem;
}
.video__chargement::before {
  content: "";
  width: 42px; height: 42px; border-radius: 50%;
  border: 4px solid rgba(255,255,255,.3); border-top-color: var(--jaune);
  animation: tourne .8s linear infinite;
}
@keyframes tourne { to { rotate: 360deg; } }
.videos.filtrees .video.en-lecture { animation: none; }
.video__resultats { list-style: none; margin-top: 10px; padding-left: 10px; border-left: 3px solid var(--jaune); display: grid; gap: 4px; }
.video__resultats li { color: #bbb; font-size: .85rem; line-height: 1.35; }
.video__resultats strong { color: var(--jaune); font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: 1.15rem; }

/* Filtres par thématique */
.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filtre {
  font: inherit; font-weight: 600; font-size: .95rem;
  color: #fff; background: transparent;
  border: 2px solid #444; border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.filtre:hover { border-color: var(--jaune); }
.filtre:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; }
.filtre[aria-pressed="true"] { background: var(--jaune); border-color: var(--jaune); color: var(--noir); }
.filtre__nb { font-size: .8rem; opacity: .6; margin-left: 2px; }
.videos.filtrees .video:not([hidden]) { animation: videoApparait .4s ease both; animation-delay: calc(min(var(--i, 0), 8) * 40ms); }
@keyframes videoApparait {
  from { opacity: 0; translate: 0 14px; }
  to   { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .videos.filtrees .video:not([hidden]) { animation: none; }
}
.video {
  all: unset;
  cursor: pointer;
  display: block;
}
.video__frame {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: var(--rayon);
  overflow: hidden;
  background: #000;
}
.video__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s, opacity .3s;
}
.video:hover .video__frame img { transform: scale(1.05); opacity: .8; }
.video__play {
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--jaune);
  color: var(--noir);
  display: grid; place-items: center;
  font-size: 1.4rem;
  padding-left: 4px;
  transition: transform .2s;
}
.video:hover .video__play { transform: scale(1.12); }
.video:focus-visible .video__frame { outline: 3px solid var(--jaune); outline-offset: 4px; }
.video__duree {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(0,0,0,.7); color: #fff;
  font-size: .8rem; font-weight: 600;
  padding: 3px 8px; border-radius: 6px;
}
.video__legende { display: block; margin-top: 14px; color: #bbb; font-size: .9rem; }
.video__legende b { display: block; color: #fff; font-size: 1.05rem; }

/* Badge résultat sur la miniature : en haut à gauche, hors du visage et de la durée */
.video__badges {
  position: absolute; top: 10px; left: 10px; right: 10px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  pointer-events: none;
}
.video__resultat {
  background: var(--jaune); color: var(--noir);
  font-size: .75rem; font-weight: 700; line-height: 1.3;
  padding: 5px 10px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
/* Les badges « poppent » un par un quand la miniature arrive à l'écran */
.video__badges.a-animer .video__resultat { opacity: 0; scale: .6; }
.video__badges.vu .video__resultat {
  animation: badgePop .45s cubic-bezier(.34, 1.56, .64, 1) both;
  animation-delay: calc(var(--n) * 180ms + 150ms);
}
@keyframes badgePop {
  from { opacity: 0; scale: .6; translate: -8px 0; }
  to   { opacity: 1; scale: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .video__badges.a-animer .video__resultat { opacity: 1; scale: 1; animation: none; }
}

/* Lecteur vidéo (LinkedIn / YouTube) + carte résultats à côté */
.lecteur {
  border: none;
  padding: 0;
  margin: auto;
  max-width: none; max-height: none;
  background: transparent;
  overflow: visible;
}
.lecteur[open] { display: flex; align-items: center; gap: 20px; }
.lecteur::backdrop { background: rgba(0,0,0,.8); }
.lecteur__video {
  position: relative;
  height: min(860px, 90vh);
  aspect-ratio: 9 / 16;
  max-width: 92vw;
  background: #000;
  border-radius: var(--rayon);
}
.lecteur iframe { width: 100%; height: 100%; border: 0; border-radius: var(--rayon); }
.lecteur__resultats {
  width: 250px;
  background: var(--creme);
  border-radius: var(--rayon);
  border-top: 6px solid var(--rouge);
  padding: 22px;
  animation: resultatsPop .5s .3s cubic-bezier(.22, 1, .36, 1) both;
}
.lecteur__resultats .eyebrow { margin-bottom: 10px; }
.lecteur__resultats ul { list-style: none; display: grid; gap: 12px; }
.lecteur__resultats li { color: var(--doux); font-size: .95rem; line-height: 1.35; }
.lecteur__resultats strong { color: var(--texte); font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: 1.5rem; letter-spacing: .01em; line-height: 1.1; }
@keyframes resultatsPop {
  from { opacity: 0; translate: -12px 0; scale: .96; }
  to   { opacity: 1; translate: 0 0; scale: 1; }
}
.lecteur__fermer {
  position: absolute; top: -14px; right: -14px;
  width: 40px; height: 40px;
  border-radius: 50%; border: none;
  background: var(--jaune); color: var(--noir);
  font-size: 1.1rem; font-weight: 700;
  cursor: pointer;
}

/* Méthode */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border-radius: var(--rayon); padding: 32px; }
.card__num { font-size: 2.6rem; color: var(--rouge); }
.card h3 { font-size: 1.3rem; margin: 8px 0 10px; }
.card p { color: var(--doux); }

/* Univers */
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; }
.tag {
  display: inline-block;
  font: inherit; font-weight: 600;
  background: var(--noir); color: #fff;
  padding: 12px 22px; border-radius: 999px; border: 2px solid var(--noir);
  text-align: left;
}
@media (max-width: 600px) {
  .tags { gap: 10px; }
  .tag { font-size: .9rem; padding: 10px 16px; border-radius: 22px; }
}
/* Tags cliquables : flèche + petit soulèvement au survol */
button.tag { cursor: pointer; transition: transform .15s, background .15s, color .15s; }
button.tag::after { content: "→"; display: inline-block; margin-left: 8px; opacity: .5; transition: translate .15s, opacity .15s; }
button.tag:hover, button.tag:focus-visible { transform: translateY(-2px); background: #fff; color: var(--noir); outline: none; }
button.tag:hover::after, button.tag:focus-visible::after { opacity: 1; translate: 3px 0; }
/* Tags non cliquables (pas encore de vidéo) : en contour */
span.tag { background: transparent; color: var(--noir); }
.univers__note { margin-top: 40px; max-width: 46em; font-size: 1.1rem; }
.univers__note + .univers__note { margin-top: 16px; }

/* Avis clients : cartes en mosaïque, légèrement penchées, qui arrivent en rebondissant */
.avis h2 { margin-bottom: 48px; }
.avis__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.avis__colonne { display: grid; gap: 24px; }
.avis__carte {
  break-inside: avoid;
  margin: 0;
  background: #fff;
  border-radius: var(--rayon);
  padding: 28px 26px 22px;
  box-shadow: 0 14px 36px rgba(0,0,0,.08);
  position: relative;
  rotate: var(--penche, 0deg);
  transition: rotate .3s, translate .3s, box-shadow .3s;
}
.avis__carte:nth-child(odd) { --penche: -1.2deg; }
.avis__carte:nth-child(even) { --penche: 1deg; }
.avis__colonne:nth-child(2) .avis__carte:nth-child(odd) { --penche: 1.3deg; }
.avis__colonne:nth-child(2) .avis__carte:nth-child(even) { --penche: -.8deg; }
.avis__carte:hover { rotate: 0deg; translate: 0 -4px; box-shadow: 0 20px 44px rgba(0,0,0,.12); }
/* Grand guillemet jaune en haut de chaque citation */
.avis__carte blockquote { position: relative; font-size: 1.02rem; line-height: 1.55; }
.avis__carte blockquote::before {
  content: "“";
  display: block;
  height: 1.6rem;
  font-family: "Anton", Impact, sans-serif;
  font-size: 4rem; line-height: 1;
  color: var(--jaune);
  margin-bottom: 8px;
}
.avis__carte mark { background: var(--jaune); padding: 0 4px; border-radius: 4px; font-weight: 700; }
.avis__carte--vedette { background: var(--noir); color: #fff; }
.avis__carte--vedette blockquote { font-size: 1.15rem; }
.avis__carte--vedette figcaption span:last-child { color: #aaa; }
.avis__carte figcaption { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: .85rem; color: var(--doux); }
.avis__carte figcaption b { display: block; color: inherit; font-size: .95rem; }
.avis__carte:not(.avis__carte--vedette) figcaption b { color: var(--texte); }
.avis__avatar {
  flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--jaune); color: var(--noir);
  font-family: "Anton", Impact, sans-serif; font-size: 1.1rem;
}
.avis__avatar--noir { background: var(--noir); color: #fff; }
.avis__avatar--rouge { background: var(--rouge); font-family: inherit; font-size: 1rem; }
/* Avis noté (plateforme) */
.avis__etoiles { color: #f5b301; font-size: 1.3rem; letter-spacing: 2px; margin-bottom: 8px; }
.avis__etoiles b { color: var(--texte); font-size: 1rem; letter-spacing: 0; margin-left: 4px; }
.avis__carte--note blockquote::before { display: none; }
.avis__criteres { list-style: none; margin-top: 14px; display: grid; gap: 6px; font-size: .85rem; color: var(--doux); }
.avis__criteres li { display: flex; justify-content: space-between; border-bottom: 1px dashed #e4e0d8; padding-bottom: 4px; }
.avis__criteres b { color: var(--texte); }
/* Message privé : bulles de discussion */
.avis__carte--chat { background: #e9f8ec; }
.avis__bulle {
  width: fit-content;
  background: #fff;
  padding: 10px 16px;
  border-radius: 18px 18px 18px 4px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.avis__bulle + .avis__bulle { margin-top: 8px; }
/* Arrivée « hip-hop » : chaque carte tombe, rebondit et se penche, en cascade */
.avis__grille.a-animer .avis__carte { opacity: 0; }
/* "backwards" : une fois arrivée, la carte reprend ses styles normaux (le survol fonctionne) */
.avis__grille.vu .avis__carte {
  opacity: 1;
  animation: avisArrive .7s cubic-bezier(.34, 1.56, .64, 1) backwards;
  animation-delay: calc(var(--n) * 120ms);
}
@keyframes avisArrive {
  0%   { opacity: 0; translate: 0 60px; scale: .85; rotate: calc(var(--penche) * 6); }
  60%  { opacity: 1; }
  100% { opacity: 1; translate: 0 0; scale: 1; rotate: var(--penche); }
}
@media (prefers-reduced-motion: reduce) {
  .avis__grille.a-animer .avis__carte { opacity: 1; animation: none; }
}
/* Tablette : les colonnes s'effacent et les cartes se rangent sur 2 colonnes ; mobile : 1 seule */
@media (max-width: 900px) {
  .avis__grille { display: block; columns: 2; column-gap: 20px; }
  .avis__colonne { display: contents; }
  .avis__carte { margin-bottom: 20px; }
}
@media (max-width: 600px) {
  .avis__grille { columns: 1; }
  .avis h2 { margin-bottom: 32px; }
}

/* Duo */
.duo { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.duo h2 { margin-bottom: 20px; }
.duo p:not(.eyebrow) { font-size: 1.1rem; color: var(--doux); }
.duo__visual .video { max-width: 340px; }
/* Contact */
.contact { text-align: center; }
.contact h2 { margin-bottom: 20px; }
.contact > p:not(.eyebrow) { color: #bbb; margin-bottom: 32px; font-size: 1.1rem; }
.contact .hero__cta { justify-content: center; }

.contact__mail { margin-top: 24px; color: #bbb; }
.contact__mail a { color: var(--jaune); text-decoration: underline; }

/* Formulaire */
.formulaire {
  border: none;
  border-radius: var(--rayon);
  padding: 40px;
  margin: auto;
  width: min(640px, 92vw);
  max-height: 92vh;
  background: var(--creme);
  color: var(--texte);
  overflow: visible;
}
.formulaire::backdrop { background: rgba(0,0,0,.75); }
.formulaire h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 24px; }
.formulaire form { max-height: calc(92vh - 80px); overflow-y: auto; }
.formulaire__fermer {
  position: absolute; top: -14px; right: -14px;
  width: 40px; height: 40px;
  border-radius: 50%; border: none;
  background: var(--jaune); color: var(--noir);
  font-size: 1.1rem; font-weight: 700;
  cursor: pointer;
}
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.champs label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; }
.champs__large { grid-column: 1 / -1; }
.champs input, .champs select, .champs textarea {
  font: inherit; font-weight: 400;
  padding: 12px 14px;
  border: 2px solid #d8d2c8;
  border-radius: 10px;
  background: #fff;
}
.champs input:focus, .champs select:focus, .champs textarea:focus { outline: none; border-color: var(--noir); }
.formulaire .btn { cursor: pointer; font: inherit; font-weight: 700; }
.formulaire .btn:disabled { opacity: .6; cursor: wait; }
.formulaire__statut { margin-top: 16px; font-weight: 600; }
.formulaire__statut.ok { color: #1f9d55; }
.formulaire__statut.erreur { color: var(--rouge); }
.piege { position: absolute; left: -9999px; }

.footer { text-align: center; padding: 28px; font-size: .85rem; color: var(--doux); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .hero, .duo { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 20px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .videos { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav__links > a:not(.btn) { display: none; }
  .nav__links { gap: 14px; }
  .nav__logo { font-size: 1.25rem; }
  /* Mobile : le menu s'aligne à gauche du bouton pour ne pas sortir de l'écran */
  .nav__menu { left: auto; right: -110px; translate: 0 0; }
  .nav__menu a { padding: 10px 14px; }
  @keyframes menuOuvre { from { opacity: 0; translate: 0 -6px; } }
  .section { padding: 70px 16px; }
  .hero { padding: 40px 16px 60px; }
  .stats, .cards { grid-template-columns: 1fr; }
  .videos { grid-template-columns: 1fr 1fr; gap: 14px; }
  /* Mobile : filtres sur une ligne qui défile au doigt */
  .filtres { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 24px; padding: 0 16px 4px; scrollbar-width: none; }
  .filtres::-webkit-scrollbar { display: none; }
  .filtre { flex: none; font-size: .9rem; }
  .video__badges { top: 8px; left: 8px; right: 8px; gap: 4px; }
  .video__resultat { font-size: .65rem; padding: 4px 8px; }
  .lecteur__fermer, .formulaire__fermer { top: 8px; right: 8px; }
  /* Mobile : carte résultats au-dessus de la vidéo, en version compacte */
  .lecteur[open] { flex-direction: column-reverse; gap: 10px; }
  .lecteur:has(.lecteur__resultats:not([hidden])) .lecteur__video { height: min(860px, 90vh - 120px); }
  .lecteur__resultats { width: min(92vw, 360px); padding: 12px 16px; border-top-width: 4px; }
  .lecteur__resultats .eyebrow { margin-bottom: 4px; font-size: .7rem; }
  .lecteur__resultats ul { gap: 4px; }
  .lecteur__resultats li { font-size: .85rem; }
  .lecteur__resultats strong { font-size: 1.05rem; }
  .formulaire { padding: 28px 16px; }
  .champs { grid-template-columns: 1fr; }
  .sticker { font-size: .85rem; }
  .brand-chip { width: 150px; height: 72px; padding: 0 16px; margin-right: 12px; }
}

/* Missions */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step { border: 2px solid var(--noir); border-radius: var(--rayon); padding: 24px 20px; }
.step span { font-size: 2rem; }
.step h3 { font-size: 1.2rem; margin: 10px 0 8px; }
.step p { color: var(--doux); font-size: .95rem; }
.formats__titre { font-size: 1.2rem; margin: 48px 0 16px; }
.formats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.formats li { border: 2px solid var(--noir); padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.steps__note { margin-top: 36px; max-width: 46em; font-size: 1.1rem; font-weight: 500; }
/* Sur 2 colonnes, l'analyse (1re étape) prend toute la largeur pour éviter une carte seule en bas */
@media (max-width: 1100px) { .steps { grid-template-columns: 1fr 1fr; } .step:first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
