/* ============================================================
   chouic.com — Design System
   Source de vérité : docs/DESIGN-SYSTEM.md
   ============================================================ */

/* ------------------------------------------------------------
   1. TOKENS — custom properties
   ------------------------------------------------------------ */
:root {
  /* Couleurs — noirs & neutres */
  --color-black:        #0A0A0A;
  --color-ink:          #1A1A1A;
  --color-graphite:     #2A2A2A;
  --color-gray:         #6B6B6B;
  --color-mist:         #E7E5E2;
  --color-bg:           #FAF8F5;
  --color-white:        #FFFFFF;

  /* Couleurs — orange Chouic (extrait du logo) */
  --color-orange:       #E2541C;
  --color-orange-bright:#F0641E;
  --color-orange-deep:  #C0341A;
  --color-brick:        #AC1F12;

  /* Dégradé signature */
  --gradient-orange: linear-gradient(135deg, #F0641E 0%, #E2541C 45%, #AC1F12 100%);

  /* Sémantique */
  --color-text:         var(--color-ink);
  --color-text-invert:  var(--color-white);
  --color-accent:       var(--color-orange);
  --color-surface:      var(--color-white);
  --color-surface-dark: var(--color-black);

  /* Typographie */
  /* Gros titres (hero, titres de section) : condensée à fort caractère */
  --font-display-xl: 'Anton', 'Archivo', system-ui, sans-serif;
  /* UI display (nav, boutons, labels, titres de carte) */
  --font-display:    'Archivo', 'Archivo Narrow', system-ui, sans-serif;
  /* Corps */
  --font-body:       'IBM Plex Sans', system-ui, -apple-system, sans-serif;

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-bold:    700;
  --fw-black:   900;

  /* Échelle typographique fluide — une seule échelle, respectée partout */
  --fs-hero:    clamp(3rem, 9vw, 6.5rem);     /* titre hero */
  --fs-section: clamp(2.5rem, 6vw, 5rem);     /* titre de section (H2) */
  --fs-h1:      clamp(2.25rem, 5vw, 3.5rem);
  --fs-h2:      var(--fs-section);
  --fs-h3:      clamp(1.4rem, 2.5vw, 2rem);   /* titre de carte */
  --fs-body:    clamp(1rem, 1.2vw, 1.125rem);
  --fs-small:   0.875rem;
  --fs-overline:0.8rem;                        /* suréticage de section */
  --lh-tight:   0.98;
  --lh-body:    1.6;

  /* Espacements (base 4px) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Conteneur */
  --container-max: 1200px;
  --container-pad: clamp(1.25rem, 5vw, 4rem);

  /* Rayons */
  --radius-sm:       8px;
  --radius-md:       16px;
  --radius-lg:       28px;
  --radius-pill:     999px;
  --radius-app-icon: 22%;

  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);

  /* Animations */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 160ms;
  --dur:      320ms;
  --dur-slow: 600ms;

  /* Nav */
  --nav-height: 72px;
}

/* ------------------------------------------------------------
   2. RESET
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Décalage d'ancre pour compenser la nav fixe (liens #equipe, #produits, etc.) */
section[id] {
  scroll-margin-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ------------------------------------------------------------
   3. TYPOGRAPHIE
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* Gros titres : Anton, plus serrés, plus impactants */
h1, h2, .hero__title, .h1, .h2 {
  font-family: var(--font-display-xl);
  font-weight: 400;            /* Anton n'a qu'un poids */
  letter-spacing: -0.01em;
  /* Un peu d'air vertical : sur deux lignes, les accents des majuscules
     (É, À) de la 2e ligne débordaient sinon sur la 1re. */
  line-height: 1.08;
}

.hero-title { font-size: var(--fs-hero); }

h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); }

p {
  max-width: 65ch;
}

.text-accent {
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted {
  color: var(--color-gray);
}

/* ------------------------------------------------------------
   4. LAYOUT
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-16);
}

@media (min-width: 768px) {
  .section {
    padding-block: var(--space-24);
  }
}

.section--alt {
  background: var(--color-bg);
}

.section--white {
  background: var(--color-white);
}

.section--light {
  background: var(--color-bg);
}

.section--dark {
  background: var(--color-black);
  color: var(--color-text-invert);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section-header {
  margin-bottom: var(--space-12);
}

.section-header p {
  color: var(--color-gray);
  margin-top: var(--space-4);
  font-size: var(--fs-body);
}

.section--dark .section-header p {
  color: var(--color-mist);
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-overline);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-orange);
  margin-bottom: var(--space-4);
}

/* ------------------------------------------------------------
   5. BOUTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75em 1.75em;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              opacity var(--dur-fast) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--gradient-orange);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(226, 84, 28, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}

.btn-secondary--invert {
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  padding-inline: 0;
  border-radius: 0;
  border-bottom: 2px solid var(--color-orange);
}

.btn-ghost--invert {
  color: var(--color-white);
}

.btn-lg {
  padding: 1em 2.25em;
  font-size: var(--fs-small);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

@media (prefers-reduced-motion: no-preference) {
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }

  .btn-primary:hover {
    box-shadow: 0 8px 30px rgba(226, 84, 28, 0.45);
  }
}

/* Bouton CTA animé */
@media (prefers-reduced-motion: no-preference) {
  @keyframes btn-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(226,84,28,0.35); }
    50%       { box-shadow: 0 4px 40px rgba(226,84,28,0.7), 0 0 0 6px rgba(226,84,28,0.1); }
  }
  .btn-primary--pulse {
    animation: btn-pulse 2.6s ease-in-out infinite;
  }
}

/* ------------------------------------------------------------
   6. NAVIGATION
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* Pages sans hero sombre (contenu clair dès le haut) : nav toujours sombre,
   sinon le logo blanc et les liens blancs deviennent illisibles sur fond clair. */
.nav--solid {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  height: 32px;
  width: auto;
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  opacity: 0.75;
  transition: opacity var(--dur-fast) var(--ease);
}

.nav__link:hover {
  opacity: 1;
}

.nav__link--cta {
  color: var(--color-orange);
  opacity: 1;
}

.nav__cta {
  display: none;
}

/* Hamburger */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease);
}

.nav__burger:hover {
  background: rgba(255,255,255,0.08);
}

.nav__burger-line {
  display: block;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease),
              opacity var(--dur) var(--ease);
  transform-origin: center;
}

.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__burger[aria-expanded="true"] .nav__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu mobile overlay */
.nav__mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-black);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}

.nav__mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile-link {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: var(--fs-h2);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--color-white);
  transition: color var(--dur-fast) var(--ease);
}

.nav__mobile-link:hover {
  color: var(--color-orange);
}

.nav__mobile-link--cta {
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Focus visible global */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (min-width: 900px) {
  .nav__links {
    display: flex;
  }

  .nav__cta {
    display: inline-flex;
  }

  .nav__burger {
    display: none;
  }
}

/* ------------------------------------------------------------
   7. FOOTER
   ------------------------------------------------------------ */
.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding-block: var(--space-12);
}

.footer__inner {
  display: grid;
  gap: var(--space-8);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
}

.footer__logo {
  height: 28px;
  width: auto;
}

.footer__tagline {
  color: var(--color-gray);
  font-size: var(--fs-small);
  max-width: 28ch;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--fs-small);
  color: var(--color-gray);
  transition: color var(--dur-fast) var(--ease);
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__bottom {
  border-top: 1px solid var(--color-graphite);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
  color: var(--color-gray);
  font-size: var(--fs-small);
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-12);
  }
}

/* ------------------------------------------------------------
   8. MOTIF SIGNATURE — disques qui se chevauchent
   Composant réutilisable. Usage ciblé : hero, équipe, transitions,
   bloc vedette produits. Pas partout.
   ------------------------------------------------------------ */

/* Conteneur de section qui héberge des disques débordants */
.has-circles {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Disque générique — placé en absolu par le contexte */
.circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.circle--orange {
  background: var(--gradient-orange);
}

.circle--dark {
  background: var(--color-graphite);
}

/* Disque orange en lueur diffuse (halo) */
.circle--glow {
  background: var(--gradient-orange);
  filter: blur(70px);
  opacity: 0.35;
}

/* Disque contenant une photo désaturée façon supports print */
.circle--photo {
  border-radius: 50%;
  overflow: hidden;
  filter: grayscale(0.5) contrast(1.05);
}

.circle-mark {
  border-radius: 50%;
  background: var(--gradient-orange);
  flex-shrink: 0;
}

.circle-mark--photo {
  border-radius: 50%;
  overflow: hidden;
  filter: grayscale(0.5) contrast(1.05);
}

.circles-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.circles-deco__item {
  position: absolute;
  border-radius: 50%;
}

/* ------------------------------------------------------------
   9. HERO
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--color-black);
  color: var(--color-white);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-orange);
  margin-bottom: var(--space-4);
  display: block;
}

.hero__title {
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
  font-family: var(--font-display-xl);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

.hero__desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  max-width: 52ch;
  line-height: var(--lh-body);
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* Composition signature : disques qui se chevauchent (droite du hero) */
.hero__discs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hero__disc {
  position: absolute;
  border-radius: 50%;
}

/* Lueur orange diffuse, derrière tout */
.hero__disc--glow {
  width: clamp(500px, 60vw, 900px);
  height: clamp(500px, 60vw, 900px);
  right: -16%;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-orange);
  opacity: 0.30;
  filter: blur(90px);
}

/* Grand disque orange plein, débordant à droite
   (ancré en px depuis la droite → reste solidaire du disque sombre) */
.hero__disc--orange {
  width: clamp(360px, 38vw, 560px);
  height: clamp(360px, 38vw, 560px);
  right: -70px;
  top: 46%;
  transform: translateY(-50%);
  background: var(--gradient-orange);
  box-shadow: 0 30px 80px rgba(192,52,26,0.45);
}

/* Disque sombre qui chevauche le disque orange (motif signature)
   ancré en px depuis la droite, juste sur le bord gauche de l'orange */
.hero__disc--dark {
  width: clamp(220px, 24vw, 340px);
  height: clamp(220px, 24vw, 340px);
  right: 270px;
  top: 62%;
  transform: translateY(-50%);
  background: var(--color-graphite);
  border: 1px solid rgba(255,255,255,0.06);
}

/* Grand écran : on rapproche les disques du texte au lieu de les laisser
   filer vers le bord droit du viewport. On décale vers la gauche une fraction
   de la largeur en excès (au-delà du container de 1200px), pour qu'ils restent
   solidaires de la zone de contenu. */
@media (min-width: 1200px) {
  .hero__disc--glow   { right: calc(-16% + (100vw - var(--container-max)) * 0.30); }
  .hero__disc--orange { right: calc(-70px + (100vw - var(--container-max)) * 0.30); }
  .hero__disc--dark   { right: calc(270px + (100vw - var(--container-max)) * 0.30); }
}

/* Mobile / tablette : disques signature qui dépassent légèrement du coin bas-droit */
@media (max-width: 899px) {
  /* Le contenu remplit toute la hauteur du hero ; titre + desc en haut,
     CTA repoussé tout en bas (juste au-dessus de l'indicateur scroll). */
  .hero {
    align-items: stretch;
    padding-top: calc(var(--nav-height) + var(--space-16));
    padding-bottom: var(--space-24);
  }
  .hero > .container { display: flex; flex-direction: column; width: 100%; min-width: 0; }
  .hero__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  /* CTA centré pour s'aligner avec l'indicateur scroll (lui aussi centré) */
  .hero__actions { margin-top: auto; justify-content: center; }

  /* Disques ancrés par le HAUT (en rem) → restent juste sous le CTA,
     léger chevauchement constant quelle que soit la hauteur d'écran */
  .hero__disc--glow {
    width: 80vw; height: 80vw;
    right: -26vw; top: 27rem; bottom: auto;
    transform: none;
    opacity: 0.28;
  }
  .hero__disc--orange {
    width: 54vw; height: 54vw;
    right: -16vw; top: 30rem; bottom: auto;
    transform: none;
    animation: none;
  }
  .hero__disc--dark {
    width: 33vw; height: 33vw;
    right: 21vw; top: 36rem; bottom: auto;
    transform: none;
    animation: none;
  }
}

/* Parallaxe douce */
@media (prefers-reduced-motion: no-preference) {
  @keyframes hero-float {
    0%, 100% { transform: translateY(-50%); }
    50%      { transform: translateY(calc(-50% - 16px)); }
  }
  .hero__disc--orange { animation: hero-float 9s ease-in-out infinite; }
  .hero__disc--dark   { animation: hero-float 7s ease-in-out infinite reverse; }
}

/* Indicateur de scroll */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: var(--space-8);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.6);
  transition: color var(--dur-fast) var(--ease);
}

.hero__scroll:hover { color: var(--color-orange); }

.hero__scroll-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero__scroll-arrow {
  display: flex;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50%      { transform: translateY(7px); opacity: 1; }
  }
  .hero__scroll-arrow { animation: scroll-bounce 1.8s ease-in-out infinite; }
}

/* On masque l'indicateur si le hero est court (paysage mobile) */
@media (max-height: 560px) {
  .hero__scroll { display: none; }
}

/* ------------------------------------------------------------
   10. CARTES PRODUIT
   ------------------------------------------------------------ */
/* — GRILLE BENTO asymétrique (section apps) — */
.products-bento {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .products-bento { gap: var(--space-8); }
}

@media (min-width: 900px) {
  .products-bento {
    grid-template-columns: repeat(12, 1fr);
  }
  /* Hiérarchie par rangée : 1 vedette pleine largeur, 2 moyens, 3 petits */
  .products-bento .product-card--lg { grid-column: span 12; }
  .products-bento .product-card--md { grid-column: span 6; }
  .products-bento .product-card--sm { grid-column: span 4; }
}

/* Grille simple jeux de société (refonte complète en §3) */
.products-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Carte de base */
.product-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-graphite);
  border: 1px solid rgba(255,255,255,0.07);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  color: var(--color-white);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

/* Halo orange au survol (cartes sombres) */
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 100% 0%, rgba(240,100,30,0.16) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  z-index: -1;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.14);
  }
  .product-card:hover::after { opacity: 1; }
  .product-card:hover .product-card__icon img,
  .product-card:hover .product-card__media-icon { transform: scale(1.05); }
}

/* — Bloc MOYEN (md) : sombre élégant, icône large — */
.product-card--md {
  background: linear-gradient(155deg, #2e2e2e 0%, #232323 100%);
  border-color: rgba(255,255,255,0.1);
  padding: var(--space-8);
}
.product-card--md .product-card__icon { width: 84px; height: 84px; }

/* — Bloc PETIT (sm) : compact mais confortable — */
.product-card--sm { padding: var(--space-6); }
.product-card--sm .product-card__icon { width: 60px; height: 60px; }
.product-card--sm .product-card__name { font-size: 1.2rem; }
.product-card--sm .product-card__pitch { font-size: 0.85rem; }

/* — Bloc VEDETTE (lg) : dégradé orange signature — */
.product-card--lg {
  background: var(--gradient-orange);
  border: none;
  padding: var(--space-8);
  color: var(--color-white);
  box-shadow: 0 20px 50px rgba(192,52,26,0.35);
}
.product-card--lg .product-card__name { font-size: clamp(2rem, 3.2vw, 3rem); }
.product-card--lg .product-card__pitch {
  color: rgba(255,255,255,0.92);
  font-size: var(--fs-body);
  max-width: 58ch;
}

/* Fond personnalisé (champ `bg` du produit) : ombre neutre, bordure discrète */
.product-card--custom-bg {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 14px 36px rgba(0,0,0,0.28);
}

/* Lisibilité du pitch renforcée sur fond coloré sombre */
.product-card--custom-bg:not(.product-card--on-light) .product-card__pitch {
  color: rgba(255,255,255,0.82);
}

/* Thème clair : fond clair → texte et UI sombres */
.product-card--on-light { color: var(--color-ink); }
.product-card--on-light .product-card__name  { color: var(--color-ink); }
.product-card--on-light .product-card__pitch  { color: rgba(0,0,0,0.62); }
.product-card--on-light .product-card__footer { border-top-color: rgba(0,0,0,0.14); }
.product-card--on-light .product-card__store-link {
  border-color: rgba(0,0,0,0.32);
  color: var(--color-ink);
  background: rgba(0,0,0,0.05);
}
.product-card--on-light .product-card__store-link:hover {
  border-color: var(--color-ink);
  background: var(--color-ink);
  color: var(--color-white);
}
.product-card--on-light .product-card__globe {
  border-color: rgba(0,0,0,0.28);
  color: rgba(0,0,0,0.55);
}
.product-card--on-light .product-card__globe:hover {
  border-color: var(--color-ink);
  background: var(--color-ink);
  color: var(--color-white);
}

/* Visuel du bloc vedette : icône de l'app */
.product-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-card__media-disc {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  z-index: 0;
}
.product-card__media-icon {
  position: relative;
  z-index: 1;
  width: 160px;
  height: 160px;
  border-radius: var(--radius-app-icon);
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur) var(--ease);
}
/* Cadre téléphone si screenshot fourni */
.product-card__phone {
  position: relative;
  z-index: 1;
  width: 168px;
  aspect-ratio: 9 / 19;
  border-radius: 26px;
  border: 6px solid rgba(0,0,0,0.55);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
}
.product-card__phone img { width: 100%; height: 100%; object-fit: cover; }

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1;
  min-width: 0;
}

@media (min-width: 900px) {
  .product-card--lg {
    flex-direction: row;
    align-items: center;
    gap: var(--space-8);
  }
}

/* Icône */
.product-card__icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-app-icon);
  overflow: hidden;
  background: var(--color-black);
  flex-shrink: 0;
}

.product-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur) var(--ease);
}

.product-card__icon--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-ink);
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: 1.5rem;
  color: var(--color-gray);
  text-transform: uppercase;
}

.product-card__name {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: var(--fs-h3);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.product-card__pitch {
  font-size: var(--fs-small);
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  flex-grow: 1;
}

/* Footer carte : badges + globe */
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.product-card__stores {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.product-card__store-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4em 0.9em;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--color-white);
  background: rgba(255,255,255,0.05);
  transition: border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}

/* iOS conserve sa casse d'origine (pas de passage en majuscules) */
.product-card__store-link--ios { text-transform: none; }

.product-card__store-link:hover {
  border-color: var(--color-orange);
  background: rgba(226,84,28,0.12);
  color: var(--color-orange);
}

/* Bouton globe "voir le site" */
.product-card__globe {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.45);
  flex-shrink: 0;
  transition: border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}

.product-card__globe:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  background: rgba(226,84,28,0.1);
}

/* Badges & globe sur le bloc vedette (fond orange) */
.product-card--lg .product-card__footer { border-top-color: rgba(255,255,255,0.28); }

.product-card--lg .product-card__store-link {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.14);
}
.product-card--lg .product-card__store-link:hover {
  background: var(--color-white);
  color: var(--color-brick);
  border-color: var(--color-white);
}

.product-card--lg .product-card__globe {
  border-color: rgba(255,255,255,0.6);
  color: var(--color-white);
}
.product-card--lg .product-card__globe:hover {
  background: var(--color-white);
  color: var(--color-brick);
  border-color: var(--color-white);
}

/* ------------------------------------------------------------
   10b. JEUX DE SOCIÉTÉ — deux grands blocs sur fond clair
   ------------------------------------------------------------ */
.boardgames-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .boardgames-grid { grid-template-columns: repeat(2, 1fr); }
}

.boardgame-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-6);
  padding: var(--space-12) var(--space-8);
  min-height: 460px;
  background: var(--color-white);
  border: 1px solid var(--color-mist);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  color: var(--color-ink);
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

@media (prefers-reduced-motion: no-preference) {
  .boardgame-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
  }
  .boardgame-card:hover .boardgame-card__box { transform: scale(1.04); }
}

/* Visuel de la boîte de jeu */
.boardgame-card__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
}
.boardgame-card__box {
  max-width: 360px;
  width: 92%;
  height: auto;
  /* drop-shadow épouse la silhouette du PNG détouré (pas d'encadré rectangulaire) */
  filter: drop-shadow(0 22px 30px rgba(0,0,0,0.30));
  transition: transform var(--dur) var(--ease);
}

.boardgame-card__name {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: var(--fs-h3);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}
.boardgame-card__pitch {
  color: var(--color-gray);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  max-width: 38ch;
}

/* Actions : "Acheter le jeu" + lien site (globe) */
.boardgame-card__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.boardgame-card__globe {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--color-mist);
  color: var(--color-gray);
  flex-shrink: 0;
  transition: border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease);
}
.boardgame-card__globe:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
  background: rgba(226,84,28,0.08);
}

/* ------------------------------------------------------------
   11. SECTION ÉQUIPE
   ------------------------------------------------------------ */
.team-layout {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .team-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.team-photo-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  max-width: 520px;
  margin-inline: auto;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  filter: grayscale(0.3) contrast(1.05);
}

.team-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.team-content p {
  color: var(--color-gray);
  line-height: var(--lh-body);
}

/* ------------------------------------------------------------
   12. BLOC ANCRAGE NANTES
   ------------------------------------------------------------ */
.location-block {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-mist);
  box-shadow: var(--shadow-sm);
  max-width: 480px;
}

.location-block__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-orange);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.location-block__text p {
  font-size: var(--fs-small);
  color: var(--color-gray);
  max-width: none;
}

.location-block__text a {
  color: var(--color-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ------------------------------------------------------------
   13. TEASER RECRUTEMENT
   ------------------------------------------------------------ */
.recruitment-teaser {
  background: var(--gradient-orange);
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  color: var(--color-white);
}

.recruitment-teaser h2 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.recruitment-teaser p {
  color: rgba(255,255,255,0.85);
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

/* ------------------------------------------------------------
   14. SECTION CONTACT
   ------------------------------------------------------------ */
/* Formulaire Airtable fondu dans la page (section blanche, comme le formulaire) :
   pas de cadre, pas d'ombre → l'iframe est à fleur de la page, intégration naturelle. */
.contact-embed {
  background: transparent;
}

.contact-embed iframe {
  display: block;
  width: 100%;
  /* Airtable ne communique pas sa hauteur (cross-origin) → impossible d'auto-dimensionner.
     On fixe donc une hauteur généreuse par paliers (plus l'écran est étroit, plus le
     formulaire est haut : libellés et texte RGPD sur plusieurs lignes). Le surplus
     éventuel est blanc-sur-blanc, donc invisible — et garantit l'absence de scroll
     même quand Airtable affiche des messages de validation. */
  height: 1240px;
  border: none;
}

@media (min-width: 600px) {
  .contact-embed iframe { height: 1120px; }
}

@media (min-width: 768px) {
  .contact-embed iframe { height: 1020px; }
}

/* ------------------------------------------------------------
   15. PAGE RECRUTEMENT
   ------------------------------------------------------------ */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.job-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
  border: 1px solid var(--color-mist);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}

.job-card:hover {
  border-color: var(--color-orange);
  box-shadow: var(--shadow-sm);
}

.job-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}

.job-card__title {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: var(--fs-h3);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}

.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.job-card__tag {
  display: inline-block;
  padding: 0.3em 0.8em;
  border-radius: var(--radius-pill);
  background: var(--color-mist);
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gray);
}

.job-card__tag--type {
  background: var(--color-ink);
  color: var(--color-white);
}

.job-card__desc {
  color: var(--color-gray);
  font-size: var(--fs-small);
  line-height: var(--lh-body);
}

/* En-tête de page (recrutement, contact) : lueur orange signature */
.recruit-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-height) + var(--space-12));
}

/* Conteneur étroit (pages éditoriales : contact) */
.container--narrow {
  max-width: 1080px;
}

/* ---- CONTACT : aiguillage support HelpShift ---- */
.support-redirect {
  background: var(--color-white);
  border: 1px solid var(--color-mist);
  border-left: 4px solid var(--color-orange);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-16);
}
.support-redirect__head {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  margin-bottom: var(--space-6);
}
.support-redirect__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(226, 84, 28, 0.12);
  color: var(--color-orange);
}
.support-redirect__title {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: var(--fs-h3);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}
.support-redirect__head p {
  color: var(--color-gray);
  font-size: var(--fs-small);
  line-height: var(--lh-body);
  margin-top: var(--space-2);
}
.support-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.helpshift-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.4rem 1rem 0.4rem 0.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-mist);
  background: var(--color-bg);
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--color-ink);
  transition: border-color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.helpshift-pill__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-app-icon);
  object-fit: cover;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .helpshift-pill:hover {
    border-color: var(--color-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
  }
}
.helpshift-pill:focus-visible {
  border-color: var(--color-orange);
}
.recruit-hero__glow {
  position: absolute;
  width: clamp(400px, 50vw, 700px);
  height: clamp(400px, 50vw, 700px);
  border-radius: 50%;
  background: var(--gradient-orange);
  opacity: 0.22;
  filter: blur(90px);
  right: -10%;
  top: -20%;
  pointer-events: none;
}

/* Bloc "qui est Chouic" + photo des bureaux */
.recruit-intro {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 768px) {
  .recruit-intro { grid-template-columns: 1fr 1.25fr; }
}
.recruit-intro__text { display: flex; flex-direction: column; }
.recruit-intro__text p {
  color: var(--color-gray);
  line-height: var(--lh-body);
  margin-top: var(--space-4);
}
.recruit-intro__text p a { color: var(--color-orange); text-decoration: underline; text-underline-offset: 2px; }

/* Composition deux photos qui se chevauchent + disque signature */
.recruit-photos {
  position: relative;
  isolation: isolate;
  padding-bottom: 16%;   /* place pour le débord de l'image insérée */
  padding-right: 8%;
}
.recruit-photos__main {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.recruit-photos__inset {
  position: absolute;
  width: 56%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 7px solid var(--color-white);
  box-shadow: var(--shadow-lg);
  right: 0;
  bottom: 0;
  transition: transform var(--dur) var(--ease);
}
/* Disque orange signature en arrière-plan */
.recruit-photos__disc {
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gradient-orange);
  top: -7%;
  left: -7%;
  z-index: -1;
  opacity: 0.9;
}
@media (prefers-reduced-motion: no-preference) {
  .recruit-photos:hover .recruit-photos__inset {
    transform: translateY(-6px);
  }
}

/* État "aucune offre" : candidature spontanée mise en avant */
.jobs-empty {
  text-align: center;
  padding: var(--space-16) var(--space-8);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-mist);
  box-shadow: var(--shadow-sm);
}
.jobs-empty .jobs-empty__title {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: var(--fs-h3);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  margin-bottom: var(--space-3);
}
.jobs-empty p {
  color: var(--color-gray);
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

/* Rappel candidature spontanée sous la liste d'offres */
.jobs-spontaneous {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding: var(--space-6) var(--space-8);
  background: var(--color-white);
  border: 1px solid var(--color-mist);
  border-radius: var(--radius-md);
}
.jobs-spontaneous p {
  color: var(--color-gray);
  font-size: var(--fs-small);
  margin: 0;
}

.apply-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  margin-top: var(--space-8);
}

.apply-embed iframe {
  display: block;
  width: 100%;
  min-height: 800px;
  border: none;
}

/* ------------------------------------------------------------
   16. PAGE MENTIONS LÉGALES
   ------------------------------------------------------------ */
.legal-content {
  max-width: 760px;
  margin-inline: auto;
  padding-top: calc(var(--nav-height) + var(--space-16));
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
  line-height: 1.1;
}

.legal-content h1 {
  margin-bottom: var(--space-6);
}

.legal-content h2 {
  font-size: var(--fs-h3);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.legal-content h3 {
  font-size: var(--fs-body);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-content p,
.legal-content li {
  color: var(--color-gray);
  font-size: var(--fs-small);
  line-height: var(--lh-body);
  max-width: none;
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* Liens en ligne (hors boutons) : visibles, dans l'esprit du reste du site */
.legal-content p a:not(.btn),
.legal-content li a:not(.btn) {
  color: var(--color-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content p a:not(.btn):hover,
.legal-content li a:not(.btn):hover {
  color: var(--color-orange-deep);
}

/* ------------------------------------------------------------
   17. PAGE 404
   ------------------------------------------------------------ */
.error-page {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--space-8);
}

.error-page__number {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: clamp(6rem, 20vw, 14rem);
  line-height: 1;
  background: var(--gradient-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  letter-spacing: -0.04em;
}

.error-page__title {
  font-size: var(--fs-h2);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.error-page__desc {
  color: rgba(255,255,255,0.55);
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

/* ------------------------------------------------------------
   18. ANIMATIONS AU SCROLL
   ------------------------------------------------------------ */
/* La classe .js est ajoutée sur <html> par main.js.
   Sans JS, les éléments .animate-in restent visibles. */
@media (prefers-reduced-motion: no-preference) {
  .js .animate-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity var(--dur-slow) var(--ease),
                transform var(--dur-slow) var(--ease);
  }

  .js .animate-in.is-visible {
    opacity: 1;
    transform: none;
  }

  /* Délais en cascade pour les grilles */
  .js .animate-in:nth-child(2) { transition-delay: 80ms; }
  .js .animate-in:nth-child(3) { transition-delay: 160ms; }
  .js .animate-in:nth-child(4) { transition-delay: 240ms; }
  .js .animate-in:nth-child(5) { transition-delay: 320ms; }
  .js .animate-in:nth-child(6) { transition-delay: 400ms; }
  .js .animate-in:nth-child(7) { transition-delay: 480ms; }
}

/* ------------------------------------------------------------
   19. UTILITAIRES
   ------------------------------------------------------------ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-right  { text-align: right; }

.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

.flex-gap-4 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}
