/* ==========================================================================
   STUDIO RANEEM — SECTIONS ÉDITORIALES
   Marquee, liste prestations, grille réalisations, timeline process, clients,
   avis, pourquoi nous, FAQ, CTA.
   Chaque bloc correspond à une section du prototype, dans l'ordre.
   ========================================================================== */

/* --------------------------------------------------------------------------
   SQUELETTE DES PAGES INTÉRIEURES
   Fil d'Ariane + en-tête de page. Posés une fois dans le Theme Builder,
   identiques sur les onze pages : c'est ce qui tient l'identité pendant que
   le corps de chaque page varie librement.
   -------------------------------------------------------------------------- */

.sr-page-hero {
  position: relative; overflow: hidden;
  background: var(--sr-bg-deep);
  padding: calc(var(--sr-header-h) + clamp(56px, 8vw, 110px)) 0 clamp(56px, 8vw, 110px);
}
/* Le hero reproduit EXACTEMENT la géométrie d'une section Divi, en deux
   niveaux : 5 % de retrait sur le conteneur extérieur, puis une largeur
   plafonnée et centrée à l'intérieur. C'est la seule façon d'aligner son
   texte sur celui des sections qui suivent — avec une gouttière fixe, le
   décalage variait avec la largeur de l'écran (56 px de trop à 1920, 14 px
   de moins à 1400). Le fond, lui, reste bord à bord : il est en position
   absolue sur .sr-page-hero, en dehors de ce retrait. */
.sr-page-hero__in {
  position: relative; z-index: 4; width: 100%;
  padding: 0 5%;
}
.sr-page-hero__wrap {
  max-width: var(--sr-maxw); margin: 0 auto; padding: 0;
}
/* Fond de repli quand la page n'a pas encore d'image mise en avant. */
.sr-page-hero__fallback {
  position: absolute; inset: 0; display: block;
  background:
    radial-gradient(58% 74% at 70% 38%, rgba(28,126,128,.62), transparent 64%),
    radial-gradient(44% 62% at 26% 84%, rgba(41,182,186,.2), transparent 62%),
    radial-gradient(90% 90% at 50% 50%, #15171a, #0a0a0c);
}
.sr-page-hero h1 { margin: 14px 0 0; max-width: 18ch; }
.sr-page-hero .sr-lead { margin: 22px 0 0; max-width: 54ch; }

/* Image de fond : très assombrie et désaturée. Elle donne une couleur et une
   matière à la page sans jamais concurrencer le titre — le contraste du texte
   ne doit dépendre d'aucune image que le client téléversera plus tard. */
.sr-page-hero__bg { position: absolute; inset: 0; z-index: 1; }
.sr-page-hero__bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(.7) brightness(.34) contrast(1.1);
}
.sr-page-hero--img::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--sr-bg-deep) 12%, rgba(14,14,16,.55) 62%, transparent),
    linear-gradient(rgba(14,14,16,.7), transparent 40%, rgba(14,14,16,.85));
}

/* --------------------------------------------------------------------------
   EN-TÊTE DE SECTION (utilisé 9 fois : eyebrow + H2 + phrase à droite)
   -------------------------------------------------------------------------- */

.sr-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px);
}
.sr-head__aside { margin: 0; max-width: 340px; color: var(--sr-text-2); font-size: 15px; }

/* Version « ligne Divi » du même en-tête.
   Divi fait flotter ses colonnes : le bloc de droite se cale donc en haut,
   alors que le prototype l'aligne sur le bas du titre. On repasse la ligne
   en flex — les largeurs en pourcentage de Divi restent valides. */
.sr-row--bottom.et_pb_row {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  /* L'écart en-tête / contenu, identique sur toutes les sections du site.
     Sans !important : dès que le client règle cet espacement DANS le Builder,
     Divi émet `.et_pb_row_N.et_pb_row { margin-bottom: … !important }` et
     l'emporte. En revanche une valeur écrite directement dans le contenu est
     ignorée par Divi — c'est ce qui produisait 30 px sous une section et
     180 px sous la suivante. */
  margin-bottom: var(--sr-gap-head);
}
.sr-row--bottom.et_pb_row > .et_pb_column {
  float: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 16px;
}
.sr-row--bottom.et_pb_row > .et_pb_column .et_pb_module { margin-bottom: 0 !important; }

/* Le prototype utilise justify-content:space-between : le bloc secondaire
   est plaqué contre le bord droit du conteneur. Avec les colonnes Divi, il
   se retrouverait au milieu de la page — on le renvoie à droite.
   Le texte reste aligné à gauche à l'intérieur : c'est la BOÎTE qui va à
   droite, pas le texte, exactement comme dans le prototype. */
.sr-row--bottom.et_pb_row > .et_pb_column:last-child { align-items: flex-end; }
.sr-row--bottom.et_pb_row > .et_pb_column:last-child > .et_pb_module { max-width: 340px; }

/* Le titre prend 60 % de la largeur, l'accroche 40 %. Divi pose 47,25 % sur
   chaque colonne 1_2 ; comme la ligne est déjà en flex, il suffit de redonner
   une base. On garde la gouttière de 5,5 % de Divi.

   Les deux sélecteurs sont gardés par :not() : une ligne d'en-tête à colonne
   unique verrait sinon son unique colonne matcher les DEUX règles, et la
   seconde l'emporterait — elle se retrouverait à 36,5 % de large. */
@media (min-width: 981px) {
  .sr-row--bottom.et_pb_row > .et_pb_column:first-child:not(:last-child) {
    flex: 0 0 57.25%; width: 57.25%; max-width: 57.25%;
  }
  .sr-row--bottom.et_pb_row > .et_pb_column:last-child:not(:first-child) {
    flex: 0 0 37.25%; width: 37.25%; max-width: 37.25%;
  }
}

/* Variante à colonnes centrées l'une sur l'autre. Divi fait flotter ses
   colonnes : sans passer la ligne en flex, un bloc court se cale en haut face
   à un texte long au lieu de lui faire face. */
.sr-row--middle.et_pb_row { display: flex; align-items: center; flex-wrap: wrap; }
.sr-row--middle.et_pb_row > .et_pb_column { float: none; }
@media (max-width: 980px) {
  .sr-row--middle.et_pb_row { align-items: flex-start; }
}

/* Sur mobile les colonnes s'empilent : l'alignement bas n'a plus de sens. */
@media (max-width: 980px) {
  .sr-row--bottom.et_pb_row { align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   BANDEAU DÉFILANT
   -------------------------------------------------------------------------- */

.sr-marq {
  background: var(--sr-bg-deep); border-bottom: 1px solid var(--sr-line-soft);
  padding: clamp(26px, 4vw, 46px) 0; overflow: clip;
}
.sr-marq__track {
  display: flex; width: max-content;
  animation: sr-marqX 52s linear infinite;
  will-change: transform;
}
.sr-marq:hover .sr-marq__track { animation-play-state: paused; }
.sr-marq__group {
  display: flex; align-items: center;
  gap: clamp(28px, 4vw, 56px); padding-right: clamp(28px, 4vw, 56px);
}
.sr-marq__word {
  font-family: var(--sr-font-display); font-weight: 700;
  font-size: var(--sr-marquee); line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22);
}
.sr-marq__word--teal { -webkit-text-stroke-color: rgba(41,182,186,.38); }
.sr-marq__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--sr-teal); flex: none; }

/* --------------------------------------------------------------------------
   SECTION 01 — LE STUDIO
   -------------------------------------------------------------------------- */

.sr-studio__grid {
  display: grid; gap: clamp(36px, 5vw, 80px); align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.sr-stats { display: flex; gap: clamp(28px, 4vw, 60px); flex-wrap: wrap; }
.sr-stat__n {
  font-family: var(--sr-font-display); font-weight: 600;
  font-size: clamp(30px, 3vw, 44px); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.sr-stat__n span { color: var(--sr-teal-glow); }
.sr-stat__l {
  font-family: var(--sr-font-mono); font-size: 10.5px; letter-spacing: .16em;
  color: var(--sr-text-2); margin-top: 8px;
}

.sr-figures {
  display: grid; gap: clamp(16px, 2vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  margin-top: clamp(56px, 7vw, 100px);
}
.sr-figure { margin: 0; }
.sr-figure:nth-child(2) { padding-top: clamp(0px, 3vw, 44px); }
.sr-figure__media {
  position: relative; aspect-ratio: 4/5;
  background: var(--sr-surface); border: 1px solid var(--sr-line); overflow: hidden;
}
.sr-figure__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sr-figure figcaption,
.sr-figure__cap {
  font-family: var(--sr-font-mono); font-size: 10px; letter-spacing: .16em;
  color: var(--sr-text-3-aa); margin-top: 12px;
}

/* --- Variante « module Image Divi » ---------------------------------------
   Divi enveloppe l'image dans .et_pb_image_wrap : c'est lui qui doit porter
   le cadre 4:5, pas le module. Sans ça, l'image déborde ou le cadre reste vide.
   La classe sr-parallax--N va sur le MODULE (l'élément qu'on translate),
   le cadre sur son enveloppe interne. */
/* Le module n'est qu'un conteneur de positionnement : il ne doit porter NI
   fond, NI bordure, NI ratio. Sinon le décalage sr-figure--offset découvre
   38 px de son fond au-dessus du cadre — une bande grise pleine largeur.
   Tout l'habillage appartient à .et_pb_image_wrap, juste en dessous. */
.sr-figure__media.et_pb_image {
  display: block;
  margin: 0 !important;          /* Divi ajoute 28 px sous ses images */
  background: none;
  border: 0;
  aspect-ratio: auto;
  overflow: visible;
  will-change: transform;
}
.sr-figure__media .et_pb_image_wrap {
  display: block; position: relative; aspect-ratio: 4/5; overflow: hidden;
  background: var(--sr-surface); border: 1px solid var(--sr-line);
  width: 100%;
}
/* L'image déborde volontairement en hauteur : c'est cette réserve qui permet
   au second plan de glisser sans découvrir le cadre.
   26 % au total, soit 13 % de marge de chaque côté — mesuré pour couvrir le
   déplacement maximal à --sr-para-boost: 1.6. Au-delà, le JS borne le
   mouvement sur la réserve réelle plutôt que de laisser le fond apparaître. */
.sr-figure__media .et_pb_image_wrap img {
  position: absolute; left: 0; top: -13%;
  width: 100%; height: 126%;
  object-fit: cover; display: block;
  will-change: transform;
}
/* Décalage vertical de la figure centrale — reprend le rythme du prototype. */
.sr-figure--offset { padding-top: clamp(0px, 3vw, 44px); }

/* La parallaxe translate l'élément : on prévient le compositeur. */
[class*="sr-parallax--"] { will-change: transform; }

/* --------------------------------------------------------------------------
   SECTION 02 — PRESTATIONS
   Construit avec des modules Blurb Divi : le numéro vient d'un compteur CSS,
   la flèche d'un ::after. Zéro balisage custom, 100 % éditable.
   -------------------------------------------------------------------------- */

.sr-presta { counter-reset: presta; border-bottom: 1px solid var(--sr-line); }
.sr-presta__row { counter-increment: presta; position: relative; }

/* Divi réserve une zone d'image même quand l'icône est désactivée. */
.sr-presta__row .et_pb_main_blurb_image { display: none; }

/* Le lien ne porte que le titre, mais la zone cliquable doit couvrir toute
   la ligne. On étire un pseudo-élément transparent depuis l'ancre plutôt que
   d'utiliser le « lien de module » Divi, qui produit un <a> vide — sans texte
   pour les lecteurs d'écran ni pour le maillage interne. */
.sr-presta__row .et_pb_module_header a { color: inherit; text-decoration: none; }
.sr-presta__row .et_pb_module_header a::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
}
.sr-presta__row:focus-within { outline: none; }
.sr-presta__row .et_pb_module_header a:focus-visible::after {
  outline: 2px solid var(--sr-teal-glow); outline-offset: -4px;
}

.sr-presta__row .et_pb_blurb_content {
  display: flex; flex-direction: column; gap: 6px; max-width: none;
  padding: clamp(20px, 2.6vw, 30px) 0;
  border-top: 1px solid var(--sr-line);
  transition: padding-left .45s var(--sr-ease-expo),
              background var(--sr-d-base), color var(--sr-d-base);
}
.sr-presta__row:hover .et_pb_blurb_content,
.sr-presta__row:focus-within .et_pb_blurb_content {
  padding-left: 22px;
  background: linear-gradient(90deg, var(--sr-teal-a07), transparent 60%);
}
/* Divi enrobe le titre dans .et_pb_module_header */
.sr-presta__row .et_pb_module_header {
  display: flex; align-items: baseline; gap: clamp(14px, 2vw, 24px);
  font-family: var(--sr-font-display); font-weight: 500;
  font-size: var(--sr-presta-title); line-height: 1.05;
  margin: 0; color: var(--sr-text);
  transition: color var(--sr-d-base);
}
.sr-presta__row:hover .et_pb_module_header,
.sr-presta__row:focus-within .et_pb_module_header { color: var(--sr-teal-glow); }

/* Numéro « 01 » — généré, donc jamais à ressaisir si l'ordre change */
.sr-presta__row .et_pb_module_header::before {
  content: counter(presta, decimal-leading-zero);
  font-family: var(--sr-font-mono); font-size: 11.5px; letter-spacing: .14em;
  color: var(--sr-teal-glow); flex: none; width: 34px;
}
.sr-presta__row .et_pb_module_header::after {
  content: '→'; margin-left: auto;
  font-size: clamp(18px, 2vw, 26px); color: inherit;
}
.sr-presta__row .et_pb_blurb_description {
  padding-left: clamp(0px, 5vw, 58px);
  color: var(--sr-text-2); font-size: 14.5px;
}
.sr-presta__row a { text-decoration: none; }

/* --------------------------------------------------------------------------
   SECTION 03 — RÉALISATIONS
   -------------------------------------------------------------------------- */

/* Orbes flottantes du fond */
.sr-orb {
  position: absolute; aspect-ratio: 1; pointer-events: none;
  filter: blur(30px); border-radius: 50%;
}
.sr-orb--a {
  left: -8%; top: 10%; width: min(48vw, 620px);
  background: radial-gradient(circle, var(--sr-teal-a14) 0%, transparent 60%);
  animation: sr-orbFloat 26s ease-in-out infinite alternate;
}
.sr-orb--b {
  right: -10%; bottom: 4%; width: min(54vw, 700px);
  background: radial-gradient(circle, rgba(41,182,186,.10) 0%, transparent 60%);
  animation: sr-orbFloat 34s ease-in-out infinite alternate-reverse;
}

.sr-reels { columns: 3 320px; column-gap: clamp(18px, 2vw, 28px); }

.sr-reel {
  position: relative; display: block; break-inside: avoid;
  margin-bottom: clamp(18px, 2vw, 28px);
  background: var(--sr-surface); border: 1px solid var(--sr-line);
  overflow: hidden; text-decoration: none;
  transition: transform .5s var(--sr-ease-expo), border-color var(--sr-d-base), box-shadow var(--sr-d-base);
}
.sr-reel:hover, .sr-reel:focus-visible {
  border-color: var(--sr-teal-a50);
  box-shadow: var(--sr-shadow-tile);
}

/* L'aspect-ratio est posé sur le conteneur : la hauteur est connue AVANT
   le chargement de l'image → CLS nul malgré le masonry en colonnes. */
.sr-reel__frame { position: relative; display: block; overflow: hidden; aspect-ratio: 16/9; }
.sr-reel--4-5  .sr-reel__frame { aspect-ratio: 4/5;  }
.sr-reel--1-1  .sr-reel__frame { aspect-ratio: 1/1;  }
.sr-reel--16-10 .sr-reel__frame { aspect-ratio: 16/10; }

.sr-reel__media { position: absolute; inset: 0; display: block; transition: transform var(--sr-d-media) var(--sr-ease-expo); }
.sr-reel__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sr-reel:hover .sr-reel__media, .sr-reel.is-active .sr-reel__media { transform: scale(1.07); }

.sr-reel__scan {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity var(--sr-d-base);
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px);
}
.sr-reel:hover .sr-reel__scan, .sr-reel.is-active .sr-reel__scan { opacity: .5; }

.sr-reel__shade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  background: linear-gradient(transparent, rgba(14,14,16,.88)); pointer-events: none;
}

.sr-reel__rec {
  position: absolute; top: 14px; left: 14px;
  display: flex; align-items: center; gap: 7px;
  opacity: 0; transition: opacity var(--sr-d-fast); pointer-events: none;
}
.sr-reel:hover .sr-reel__rec, .sr-reel.is-active .sr-reel__rec { opacity: 1; }
.sr-reel__rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--sr-teal-glow); animation: sr-pulseDot 1.2s ease-in-out infinite; }
.sr-reel__rec span { font-family: var(--sr-font-mono); font-size: 9.5px; letter-spacing: .2em; color: #fff; }

.sr-reel__tc {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--sr-font-mono); font-size: 10px; letter-spacing: .1em;
  color: var(--sr-text-nav); background: rgba(14,14,16,.55);
  padding: 4px 8px; pointer-events: none;
  font-variant-numeric: tabular-nums;
}

.sr-reel__cap { position: absolute; left: 16px; right: 16px; bottom: 14px; pointer-events: none; }
.sr-reel__title {
  display: block; font-family: var(--sr-font-display); font-weight: 500;
  font-size: 21px; color: #fff; line-height: 1.15;
}
.sr-reel__meta {
  display: block; font-family: var(--sr-font-mono); font-size: 9.5px;
  letter-spacing: .16em; color: var(--sr-text-2); margin-top: 6px;
}

/* AUDIT MOBILE : sans survol, toute la couche REC / scanlines / timecode
   est morte au doigt. reels.js ajoute .is-active sur la tuile la plus
   proche du centre de l'écran — l'effet vit, en tactile aussi. */

/* --------------------------------------------------------------------------
   SECTION 04 — TIMELINE PROCESS
   -------------------------------------------------------------------------- */

.sr-timeline__scroll { overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.sr-timeline {
  min-width: 940px; position: relative;
  border: 1px solid var(--sr-line); background: var(--sr-bg-panel);
  padding: 0 0 22px;
}
.sr-timeline__ruler { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--sr-line); }
.sr-timeline__ruler span {
  border-right: 1px solid var(--sr-line); padding: 10px 0 10px 12px;
  font-family: var(--sr-font-mono); font-size: 10px; color: var(--sr-text-3-aa);
}
.sr-timeline__ruler span:last-child { border-right: 0; }

.sr-timeline__body { padding: 18px 18px 0; }
.sr-timeline__track {
  font-family: var(--sr-font-mono); font-size: 9.5px; letter-spacing: .18em;
  color: var(--sr-text-3-aa); margin-bottom: 10px;
}
.sr-clips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sr-clip {
  background: var(--sr-surface); border: 1px solid var(--sr-line);
  padding: 0 20px 16px;
  transition: transform var(--sr-d-base), border-color var(--sr-d-base);
}
.sr-clip:hover { transform: translateY(-3px); border-color: var(--sr-teal-a50); }
.sr-clip__bar { height: 3px; background: linear-gradient(90deg, var(--sr-teal), var(--sr-teal-glow)); margin: 0 -20px 16px; }
.sr-clip__seq { font-family: var(--sr-font-mono); font-size: 10px; letter-spacing: .18em; color: var(--sr-teal-glow); }
.sr-clip h3 { margin: 10px 0 6px; font-size: 20px; }
.sr-clip p  { margin: 0 0 14px; font-size: 13.5px; line-height: 1.55; color: var(--sr-text-2); }
.sr-clip__io { font-family: var(--sr-font-mono); font-size: 9.5px; color: var(--sr-text-3-aa); }

.sr-timeline__audio { height: 14px; opacity: .6; background: repeating-linear-gradient(90deg, rgba(41,182,186,.28) 0 2px, transparent 2px 6px); }

.sr-playhead {
  position: absolute; top: 0; bottom: 0; left: 2%; width: 1px;
  background: var(--sr-teal-glow); box-shadow: 0 0 14px rgba(41,182,186,.8);
  pointer-events: none; z-index: 3;
}
.sr-playhead::before {
  content: ''; position: absolute; top: -1px; left: -4.5px;
  width: 9px; height: 9px; background: var(--sr-teal-glow); transform: rotate(45deg);
}
.sr-playhead__tc {
  position: absolute; top: 8px; left: 10px;
  font-family: var(--sr-font-mono); font-size: 9.5px; color: var(--sr-teal-glow);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}

/* AUDIT : sur mobile le prototype impose un défilement horizontal de 940 px
   pendant que le playhead est piloté par le scroll VERTICAL — l'utilisateur
   ne voit jamais la moitié droite avancer. On bascule en pile verticale
   avec un playhead vertical : même lecture « timeline », geste cohérent. */
@media (max-width: 900px) {
  .sr-timeline__scroll { overflow: visible; }
  .sr-timeline { min-width: 0; }
  .sr-timeline__ruler { display: none; }
  .sr-clips { grid-template-columns: 1fr; gap: 10px; }
  .sr-playhead {
    top: 0; bottom: auto; left: 0; right: 0;
    width: auto; height: 1px;
  }
  .sr-playhead::before { top: -4.5px; left: 12px; }
  .sr-playhead__tc { top: 8px; left: 28px; }
}

/* --------------------------------------------------------------------------
   SECTION 05 — CLIENTS
   -------------------------------------------------------------------------- */

/* Le prototype prévoyait 4 logos. Le studio en a une vingtaine — et c'est
   son meilleur argument commercial. On resserre donc la maille : cellules
   plus basses, colonnes plus étroites, ~6 par rangée sur grand écran.
   La grille s'adapte seule de 4 à 24 logos sans réglage. */
/* FLEX plutôt que GRID, volontairement.
   Une grille à colonnes fixes laisse des trous en bout de dernière rangée
   dès que le nombre de logos n'est pas un multiple du nombre de colonnes —
   et ce nombre change avec la largeur de l'écran, donc on ne peut pas le
   prévoir. En flex, les cellules de la dernière rangée s'étirent pour
   occuper toute la largeur : la grille est toujours pleine, à 12, 14 ou 19
   logos, sur n'importe quel écran. */
.sr-clients {
  display: flex; flex-wrap: wrap; gap: 1px;
  background: var(--sr-line); border: 1px solid var(--sr-line);
}
.sr-client {
  flex: 1 1 190px;          /* base 190px, mais autorisé à s'étirer */
  min-width: 150px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; height: clamp(112px, 11vw, 148px); padding: 16px 12px;
  background: var(--sr-bg); color: var(--sr-text-2); text-align: center;
  transition: background .6s, box-shadow .6s, color .6s;
}
/* Deux par ligne sur mobile — en dessous, les noms se coupent. */
@media (max-width: 520px) { .sr-client { flex-basis: 40%; min-width: 0; } }
.sr-client.is-on {
  background: var(--sr-surface-hi); color: var(--sr-text);
  box-shadow: inset 0 0 0 1px rgba(41,182,186,.55), 0 0 30px rgba(41,182,186,.1);
}
/* Le survol répond aussi : avec 18 cellules, attendre le cycle serait long. */
.sr-client:hover {
  background: var(--sr-surface-hi); color: var(--sr-text);
  box-shadow: inset 0 0 0 1px rgba(41,182,186,.55);
}
/* Les logos clients arrivent dans toutes les couleurs, dont plusieurs très
   sombres (collectivités, institutions) — illisibles sur fond charbon.
   `grayscale + brightness` ne suffit pas : un bleu marine reste sombre.
   `brightness(0) invert(1)` écrase TOUTE couleur en noir puis inverse :
   n'importe quel logo devient un aplat blanc pur, quelle que soit sa palette
   d'origine. Au survol on rend la couleur — c'est la récompense du geste. */
.sr-client img {
  display: block; width: min(140px, 84%); height: clamp(44px, 4.6vw, 62px);
  object-fit: contain;
  filter: brightness(0) invert(1); opacity: .45;
  transition: filter .6s, opacity .6s;
}
.sr-client.is-on img, .sr-client:hover img { filter: none; opacity: 1; }
.sr-client span {
  font-family: var(--sr-font-mono); font-size: 9px; letter-spacing: .18em;
  color: inherit; line-height: 1.3;
}

/* --------------------------------------------------------------------------
   SECTIONS 06 / 07 — AVIS + POURQUOI NOUS (même carte)
   -------------------------------------------------------------------------- */

.sr-cards-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.sr-cards-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

.sr-panel {
  margin: 0; background: var(--sr-surface); border: 1px solid var(--sr-line);
  padding: clamp(24px, 3vw, 36px);
  transition: transform .45s var(--sr-ease-expo), border-color var(--sr-d-base), box-shadow var(--sr-d-base);
}
.sr-panel:hover { border-color: rgba(41,182,186,.45); box-shadow: var(--sr-shadow-card); }
.sr-panel__rule { height: 2px; width: 44px; background: var(--sr-teal); margin-bottom: 20px; }
.sr-panel__tag  { font-family: var(--sr-font-mono); font-size: 9.5px; letter-spacing: .2em; color: var(--sr-teal-glow); }
.sr-panel__letter { font-family: var(--sr-font-mono); font-size: 10px; letter-spacing: .2em; color: var(--sr-text-3-aa); }
.sr-panel blockquote {
  margin: 14px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--sr-text-quote);
}
.sr-panel figcaption {
  margin-top: 18px; font-family: var(--sr-font-mono); font-size: 10px;
  letter-spacing: .16em; color: var(--sr-text-3-aa);
}
.sr-panel figcaption b { color: var(--sr-text-2); font-weight: 400; }
.sr-panel h3 { margin: 12px 0 10px; }
.sr-panel p  { margin: 0; font-size: 14.5px; color: var(--sr-text-2); }

/* --- Variante « module Résumé » pour la section Pourquoi nous -------------
   Le filet sarcelle et la lettre A/B/C/D sont générés : le client réordonne
   les cartes dans le Builder, les lettres se recalculent seules. Même
   principe que la numérotation des prestations. */
.sr-why { counter-reset: why; }

/* Hauteur égale sur toute la rangée.
   Divi fait flotter ses colonnes : chaque carte s'arrête à la hauteur de son
   propre texte, et une carte de 3 lignes dépasse celle de 2. Il existe bien
   un réglage « Égaliser la hauteur des colonnes » dans le Builder, mais il
   n'agit que sur la colonne — pas sur le module à l'intérieur. On étire donc
   toute la chaîne : ligne → colonne → module → carte. */
.sr-why.et_pb_row { display: flex; flex-wrap: wrap; align-items: stretch; }
.sr-why.et_pb_row > .et_pb_column { float: none; display: flex; }
.sr-why.et_pb_row > .et_pb_column > .et_pb_module { display: flex; width: 100%; }
.sr-why.et_pb_row .et_pb_blurb_content { flex: 1; }

.sr-why__card { counter-increment: why; }
.sr-why__card .et_pb_main_blurb_image { display: none; }

.sr-why__card .et_pb_blurb_content {
  max-width: none; padding: clamp(24px, 3vw, 36px);
  background: var(--sr-surface); border: 1px solid var(--sr-line);
  height: 100%;
  transition: transform .45s var(--sr-ease-expo),
              border-color var(--sr-d-fast), box-shadow var(--sr-d-fast);
}
.sr-why__card:hover .et_pb_blurb_content {
  border-color: rgba(41,182,186,.45); box-shadow: var(--sr-shadow-card);
}
/* Le filet */
.sr-why__card .et_pb_blurb_content::before {
  content: ''; display: block;
  height: 2px; width: 44px; background: var(--sr-teal);
  margin-bottom: 20px;
}
/* La lettre */
.sr-why__card .et_pb_blurb_container::before {
  content: counter(why, upper-alpha);
  display: block;
  font-family: var(--sr-font-mono); font-size: 10px; letter-spacing: .2em;
  color: var(--sr-text-3-aa); margin-bottom: 12px;
}
.sr-why__card .et_pb_module_header {
  margin: 0 0 10px; font-family: var(--sr-font-display); font-weight: 500;
  font-size: var(--sr-h3); line-height: 1.15; color: var(--sr-text);
}
.sr-why__card .et_pb_blurb_description {
  font-size: 14.5px; color: var(--sr-text-2); line-height: 1.6;
}

/* --------------------------------------------------------------------------
   CARROUSEL D'AVIS
   Défilement natif avec scroll-snap plutôt qu'une librairie.
   Le navigateur gère le glissement au doigt, l'inertie, la molette
   horizontale et le rattrapage sur la carte la plus proche — pour 0 Ko de
   JavaScript. Le script ne sert qu'aux deux flèches et à la barre d'avancement.
   -------------------------------------------------------------------------- */

/* Étoiles + source. Republier un avis Google sans dire d'où il vient, c'est
   perdre ce qui fait sa valeur : le fait qu'il soit vérifiable. */
.sr-stars {
  display: flex; align-items: center; gap: 3px;
  margin-bottom: 12px; line-height: 1;
}
.sr-stars span { color: var(--sr-line-strong); font-size: 14px; }
.sr-stars span.is-on { color: var(--sr-teal-glow); }
.sr-stars em {
  font-style: normal; margin-left: 8px;
  font-family: var(--sr-font-mono); font-size: 9.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--sr-text-3-aa);
}

.sr-carousel { position: relative; }

.sr-carousel__track {
  display: flex; gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* déborde jusqu'aux bords de l'écran, la carte suivante reste amorcée */
  padding-bottom: 4px;
  scrollbar-width: none;
}
.sr-carousel__track::-webkit-scrollbar { display: none; }
.sr-carousel__track:focus-visible { outline: 2px solid var(--sr-teal-glow); outline-offset: 6px; }

.sr-carousel__item {
  flex: 0 0 clamp(268px, 31.5%, 420px);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
}
.sr-carousel__item blockquote { flex: 1; }

@media (max-width: 900px) { .sr-carousel__item { flex-basis: 62%; } }
@media (max-width: 600px) { .sr-carousel__item { flex-basis: 84%; } }

/* Barre d'avancement + flèches */
.sr-carousel__nav {
  display: flex; align-items: center; gap: 24px;
  margin-top: clamp(20px, 2.4vw, 30px);
}
.sr-carousel__bar { flex: 1; height: 1px; background: var(--sr-line); overflow: hidden; }
.sr-carousel__bar i {
  display: block; height: 100%; width: 30%;
  background: var(--sr-teal-glow);
  transform-origin: left center;
  transition: transform .25s ease, width .25s ease;
  box-shadow: 0 0 10px rgba(41,182,186,.6);
}
.sr-carousel__btns { display: flex; gap: 8px; flex: none; }
.sr-carousel__btn {
  width: 46px; height: 46px; display: grid; place-content: center;
  background: transparent; color: var(--sr-text-nav);
  border: 1px solid var(--sr-line-strong); border-radius: var(--sr-radius);
  cursor: pointer;
  transition: border-color var(--sr-d-fast), color var(--sr-d-fast), background var(--sr-d-fast);
}
.sr-carousel__btn:hover:not(:disabled) {
  border-color: var(--sr-teal-glow); color: var(--sr-teal-glow);
  transition-duration: var(--sr-d-snap);
}
.sr-carousel__btn:disabled { opacity: .3; cursor: default; }
.sr-carousel__btn svg { width: 16px; height: 12px; }

.sr-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 4vw, 44px); }
.sr-badge {
  font-family: var(--sr-font-mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sr-text-2);
  border: 1px solid var(--sr-line-mid); border-radius: var(--sr-radius); padding: 10px 16px;
}

/* --------------------------------------------------------------------------
   SECTION 08 — FAQ (module Accordéon Divi restylé)
   -------------------------------------------------------------------------- */

.sr-faq .et_pb_accordion_item {
  border: 0; border-top: 1px solid var(--sr-line);
  background: transparent; padding: 0;
}
.sr-faq .et_pb_accordion_item:last-child { border-bottom: 1px solid var(--sr-line); }

/* --------------------------------------------------------------------------
   FAQ EN <details> NATIF
   Aucun JavaScript : l'ouverture/fermeture, la navigation clavier (Entrée et
   Espace), l'annonce « développé / réduit » aux lecteurs d'écran et la
   recherche Ctrl+F dans les réponses fermées sont gérées par le navigateur.
   Un accordéon fait main met une centaine de lignes à approcher ça, et le
   rate presque toujours sur un point.
   -------------------------------------------------------------------------- */

.sr-faq-list { counter-reset: faq; border-bottom: 1px solid var(--sr-line); }

.sr-faq-list details {
  counter-increment: faq;
  border-top: 1px solid var(--sr-line);
}

.sr-faq-list summary {
  display: flex; align-items: baseline; gap: clamp(14px, 2vw, 24px);
  padding: clamp(18px, 2.4vw, 26px) 0;
  font-family: var(--sr-font-display); font-weight: 500;
  font-size: clamp(19px, 2.2vw, 27px); line-height: 1.25;
  color: var(--sr-text); cursor: pointer;
  list-style: none;                 /* retire le triangle par défaut */
  transition: color var(--sr-d-fast);
}
.sr-faq-list summary::-webkit-details-marker { display: none; }
.sr-faq-list summary:hover { color: var(--sr-teal-glow); transition-duration: var(--sr-d-snap); }
.sr-faq-list summary:focus-visible { outline: 2px solid var(--sr-teal-glow); outline-offset: 4px; }

/* Numéro généré : réordonner les questions renumérote tout seul. */
.sr-faq-list summary::before {
  content: counter(faq, decimal-leading-zero);
  font-family: var(--sr-font-mono); font-size: 11px; letter-spacing: .14em;
  color: var(--sr-teal-glow); flex: none; width: 30px;
}
.sr-faq-list summary::after {
  content: '+';
  font-family: var(--sr-font-mono); font-size: 20px; line-height: 1;
  color: var(--sr-teal-glow);
  margin-left: auto; flex: none;
  transition: transform .45s var(--sr-ease-expo);
}
.sr-faq-list details[open] summary::after { transform: rotate(45deg); }

.sr-faq-list details > div {
  padding: 0 clamp(30px, 6vw, 84px) 26px clamp(44px, 4vw, 54px);
  color: var(--sr-text-2); font-size: 15.5px; line-height: 1.65;
  max-width: 70ch;
}

/* Ouverture animée là où le navigateur sait le faire (Chrome, Edge, Safari
   récents). Ailleurs, l'ouverture est instantanée — le contenu s'affiche
   toujours, seule l'animation manque. Amélioration progressive, aucun risque. */
@supports (interpolate-size: allow-keywords) {
  .sr-faq-list { interpolate-size: allow-keywords; }
  .sr-faq-list details::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size .5s var(--sr-ease-expo), content-visibility .5s allow-discrete;
  }
  .sr-faq-list details[open]::details-content { block-size: auto; }
}

/* Ancien module Accordéon Divi — conservé au cas où il resterait en place. */
.sr-faq { counter-reset: faq; }

/* ATTENTION — Divi utilise ::before du titre pour SON icône de bascule, en
   police ETmodules et en position absolue à droite. Remplacer seulement
   `content` ne suffit pas : le numéro hérite de la police d'icônes (où « 0 »
   et « 1 » sont des glyphes de flèches) et va se coller à droite.
   Il faut donc réinitialiser police, position ET couleur. */
.sr-faq .et_pb_toggle_title,
.sr-faq .et_pb_toggle .et_pb_toggle_title {
  counter-increment: faq;
  display: flex; align-items: baseline; gap: clamp(14px, 2vw, 24px);
  font-family: var(--sr-font-display) !important; font-weight: 500;
  font-size: clamp(19px, 2.2vw, 27px); line-height: 1.2;
  color: var(--sr-text) !important;
  padding: clamp(18px, 2.4vw, 26px) 0 !important;
  margin: 0; cursor: pointer;
  transition: color var(--sr-d-fast);
}
.sr-faq .et_pb_toggle_title:hover,
.sr-faq .et_pb_toggle .et_pb_toggle_title:hover { color: var(--sr-teal-glow) !important; }

/* Le numéro — ::before entièrement repris à Divi */
.sr-faq .et_pb_toggle_title::before,
.sr-faq .et_pb_toggle .et_pb_toggle_title::before {
  content: counter(faq, decimal-leading-zero) !important;
  font-family: var(--sr-font-mono) !important;
  font-size: 11px !important; font-weight: 400 !important;
  letter-spacing: .14em;
  color: var(--sr-teal-glow) !important;
  position: static !important;
  top: auto !important; right: auto !important; left: auto !important;
  margin: 0 !important; padding: 0 !important;
  flex: none; width: 30px; line-height: inherit !important;
}

/* Le « + », qui pivote à l'ouverture */
.sr-faq .et_pb_toggle_title::after,
.sr-faq .et_pb_toggle .et_pb_toggle_title::after {
  content: '+' !important;
  font-family: var(--sr-font-mono) !important;
  font-size: 20px !important;
  color: var(--sr-teal-glow) !important;
  position: static !important;
  top: auto !important; right: auto !important;
  margin-left: auto !important; flex: none;
  transition: transform .45s var(--sr-ease-expo);
}
.sr-faq .et_pb_toggle_open .et_pb_toggle_title::after { transform: rotate(45deg); }

.sr-faq .et_pb_toggle_content,
.sr-faq .et_pb_toggle .et_pb_toggle_content {
  padding: 0 clamp(30px, 6vw, 84px) 26px clamp(44px, 4vw, 54px) !important;
  color: var(--sr-text-2) !important;
  font-family: var(--sr-font-body) !important;
  font-size: 15.5px; line-height: 1.65;
  max-width: 70ch;
}
.sr-faq .et_pb_toggle_content p { color: inherit; margin: 0; }
/* AUDIT : le prototype fige max-height:360px — une réponse un peu longue
   écrite par le client serait tronquée. Divi calcule la hauteur réelle en JS,
   le problème disparaît de lui-même. */

/* --------------------------------------------------------------------------
   SECTION 09 — CTA CONTACT
   -------------------------------------------------------------------------- */

/* La seule section centrée de la page. Le H2 est bridé à 14 caractères de
   large : c'est ce qui lui fait faire trois lignes courtes et empilées,
   comme dans le prototype, au lieu d'une longue ligne molle. */
/* Divi impose text-align:left à ses modules Texte, avec une spécificité
   supérieure à une classe posée sur la ligne. On recentre explicitement
   chaque niveau — sinon seules les BOÎTES sont centrées, pas leur contenu. */
.sr-cta-block { position: relative; z-index: 2; }
.sr-cta-block,
.sr-cta-block .et_pb_column,
.sr-cta-block .et_pb_module,
.sr-cta-block .et_pb_text,
.sr-cta-block .et_pb_text_inner,
.sr-cta-block h2,
.sr-cta-block p,
.sr-cta-block .sr-eyebrow { text-align: center !important; }

.sr-cta-block .sr-eyebrow { justify-content: center; }
.sr-cta-block h2 {
  max-width: 14ch;
  margin-left: auto !important; margin-right: auto !important;
  font-size: var(--sr-h2-xl); text-wrap: balance;
}
.sr-cta-block p,
.sr-cta-block .sr-lead {
  max-width: 46ch;
  margin-left: auto !important; margin-right: auto !important;
}
.sr-cta-block .sr-btns {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-top: 40px;
}

.sr-cta-rings, .sr-cta-glow { position: absolute; left: 50%; top: 50%; pointer-events: none; }
.sr-cta-glow {
  transform: translate(-50%,-50%); width: min(70vw, 760px); aspect-ratio: 1;
  background: radial-gradient(circle, var(--sr-teal-a14) 0%, transparent 62%);
  filter: blur(28px);
}
.sr-cta-rings i {
  position: absolute; left: 50%; top: 50%; aspect-ratio: 1;
  border-radius: 50%; border: 1px dashed var(--sr-teal-a22);
  animation: sr-spinSlow 70s linear infinite;
}
.sr-cta-rings i:first-child  { width: min(88vw, 560px); }
.sr-cta-rings i:last-child   { width: min(110vw, 820px); border-color: rgba(255,255,255,.09); animation-duration: 110s; animation-direction: reverse; }

/* --------------------------------------------------------------------------
   FAÇADE VIDÉO YOUTUBE
   L'iframe YouTube pèse ~900 Ko et pose 12 requêtes tierces AVANT toute
   lecture. La façade : une image (~40 Ko) + un bouton. L'iframe n'est
   injectée qu'au clic. Domaine -nocookie : pas de traceur avant consentement.
   -------------------------------------------------------------------------- */

.sr-video { position: relative; aspect-ratio: 16/9; background: var(--sr-bg-deep); overflow: hidden; border: 1px solid var(--sr-line); }
.sr-video img, .sr-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.sr-video__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer; color: #fff;
  transition: background var(--sr-d-base);
}
.sr-video__play:hover { background: rgba(14,14,16,.35); }
.sr-video__play i {
  display: flex; align-items: center; justify-content: center;
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(28,126,128,.9); border: 1px solid var(--sr-teal-a35);
  box-shadow: 0 0 0 10px rgba(28,126,128,.16);
  transition: transform .45s var(--sr-ease-expo), box-shadow var(--sr-d-base);
}
.sr-video__play:hover i { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(28,126,128,.12); }
.sr-video__play i::after {
  content: ''; border-left: 15px solid #fff;
  border-top: 9px solid transparent; border-bottom: 9px solid transparent;
  margin-left: 4px;
}

/* --------------------------------------------------------------------------
   FICHE RÉALISATION
   L'en-tête et le lecteur. Le cadre vidéo est déjà porté par .sr-video
   (ratio, bordure, overflow) : on ne redéfinit que l'espacement et le cas
   « pas de vidéo renseignée », où le still prend la place du lecteur.
   -------------------------------------------------------------------------- */

.sr-rea-head h1 { margin: 14px 0 0; max-width: 20ch; }

.sr-rea-media { margin-top: clamp(32px, 4vw, 56px); }
.sr-rea-media > img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--sr-line);
}

/* --------------------------------------------------------------------------
   ÉQUIPE
   Le portrait déborde du cadre de la carte pour venir toucher ses bords :
   c'est ce qui distingue une fiche personne d'un simple bloc de texte.
   Rien d'autre à styler — .sr-panel fournit le fond, le filet et le survol.
   -------------------------------------------------------------------------- */

.sr-membre { padding-top: 0; overflow: hidden; }
.sr-membre__photo {
  margin: 0 calc(-1 * clamp(24px, 3vw, 36px)) clamp(20px, 2.4vw, 28px);
  aspect-ratio: 4/5; overflow: hidden; background: var(--sr-bg-deep);
}
.sr-membre__photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1) contrast(1.05);
  transition: filter .6s var(--sr-ease-expo), transform .8s var(--sr-ease-expo);
}
.sr-membre:hover .sr-membre__photo img { filter: none; transform: scale(1.03); }
.sr-membre h3 { margin: 6px 0 0; }

/* --------------------------------------------------------------------------
   APERÇU AU SURVOL
   L'iframe se pose par-dessus le still, dans le cadre existant. Elle est
   volontairement plus grande que la tuile : YouTube ajoute des bandes noires
   sur les formats qui ne collent pas, et cette surcote les fait sortir du
   cadre plutôt que de les afficher.
   -------------------------------------------------------------------------- */
.sr-reel__media { position: relative; }

.sr-reel__apercu {
  position: absolute; top: 50%; left: 50%;
  width: 178%; height: 178%;             /* couvre le cadre quel que soit le ratio */
  transform: translate(-50%, -50%);
  border: 0; pointer-events: none;
  opacity: 0; animation: sr-apercu-in .5s var(--sr-ease-inout) .18s forwards;
}
@keyframes sr-apercu-in { to { opacity: 1; } }

/* Le still reste sous l'aperçu et s'efface doucement : sans ça, le passage
   au noir du premier frame de YouTube fait un clignotement. */
.sr-reel.is-apercu .sr-reel__media img { opacity: 0; transition: opacity .5s .18s; }
.sr-reel.is-apercu .sr-reel__tc,
.sr-reel.is-apercu .sr-reel__scan { opacity: 0; transition: opacity .3s; }

/* --------------------------------------------------------------------------
   MODALE VIDÉO
   -------------------------------------------------------------------------- */
html.sr-fige { overflow: hidden; }

.sr-modale[hidden] { display: none; }
.sr-modale {
  position: fixed; inset: 0; z-index: var(--sr-z-modale);
  display: grid; place-items: center;
  padding: clamp(14px, 4vw, 48px);
}
.sr-modale__fond {
  position: absolute; inset: 0;
  background: rgba(4, 6, 8, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: sr-fond-in .35s var(--sr-ease-inout) forwards;
}
@keyframes sr-fond-in { from { opacity: 0; } to { opacity: 1; } }

.sr-modale__boite {
  position: relative; width: min(100%, 1180px);
  animation: sr-boite-in .5s var(--sr-ease-expo) forwards;
}
@keyframes sr-boite-in {
  from { opacity: 0; transform: translateY(22px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.sr-modale__cadre {
  position: relative; aspect-ratio: 16 / 9;
  background: #000; overflow: hidden;
  border-radius: var(--sr-radius, 4px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
}
.sr-modale__cadre iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.sr-modale__x {
  position: absolute; top: -14px; right: -14px; z-index: 2;
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--sr-text); color: var(--sr-bg);
  transition: transform .3s var(--sr-ease-expo), background .3s;
}
.sr-modale__x:hover  { transform: rotate(90deg); background: var(--sr-teal-glow); }
.sr-modale__x:focus-visible { outline: 2px solid var(--sr-teal-glow); outline-offset: 3px; }
.sr-modale__x svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 2; fill: none; }

.sr-modale__pied {
  display: flex; flex-wrap: wrap; gap: 14px 26px;
  align-items: baseline; justify-content: space-between;
  padding: 18px 2px 0;
}
.sr-modale__titre {
  font-family: var(--sr-font-display); font-weight: 600;
  font-size: clamp(17px, 1.8vw, 23px); color: var(--sr-text); margin: 0;
}
.sr-modale__meta {
  font-size: 11px; letter-spacing: .14em; margin: 5px 0 0;
  color: var(--sr-text-nav, rgba(255, 255, 255, .55));
}
.sr-modale__fiche {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sr-teal-glow); text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.sr-modale__fiche:hover { border-bottom-color: currentColor; }

@media (prefers-reduced-motion: reduce) {
  .sr-modale__fond, .sr-modale__boite { animation-duration: .01ms; }
  .sr-reel__apercu { animation: none; opacity: 1; }
}

/* --------------------------------------------------------------------------
   GRILLE VIDE — l'emplacement « bientôt votre projet ici »
   Reprend la proposition de l'archive, mais autonome : realisations.css ne
   charge que sur /realisations/, ces pages ne l'ont pas.
   -------------------------------------------------------------------------- */
/* .sr-reels est un conteneur MULTI-COLONNES (`columns: 3 320px`), pas une
   grille. `display: block` ne l'annule pas : le cadre en pointillés se
   fragmentait sur les trois colonnes — trois demi-boîtes au lieu d'une, et
   une hauteur écrasée à celle du texte. Il faut remettre le flux sur une
   colonne unique. */
.sr-reels--vide { display: block; columns: auto; column-gap: normal; }

.sr-reels--vide .sr-appel {
  display: flex; flex-direction: column; justify-content: center;
  min-height: clamp(220px, 26vw, 320px);
  padding: clamp(24px, 3vw, 40px);
  border: 1px dashed rgba(255, 255, 255, .18);
  border-radius: var(--sr-radius, 4px);
  text-decoration: none; text-align: left;
  transition: border-color .45s var(--sr-ease-inout), background .45s;
}
.sr-reels--vide .sr-appel:hover {
  border-color: var(--sr-teal-a, rgba(41, 182, 186, .5));
  background: rgba(41, 182, 186, .04);
}
.sr-reels--vide .sr-appel:focus-visible { outline: 2px solid var(--sr-teal-glow); outline-offset: 4px; }

.sr-reels--vide .sr-appel__plus {
  position: relative; width: 26px; height: 26px; margin-bottom: 18px;
  opacity: .55; transition: transform .5s var(--sr-ease-expo), opacity .4s;
}
.sr-reels--vide .sr-appel__plus::before,
.sr-reels--vide .sr-appel__plus::after {
  content: ''; position: absolute; background: var(--sr-teal-glow);
}
.sr-reels--vide .sr-appel__plus::before { left: 0; top: 50%; width: 100%; height: 1px; transform: translateY(-50%); }
.sr-reels--vide .sr-appel__plus::after  { top: 0; left: 50%; height: 100%; width: 1px; transform: translateX(-50%); }
.sr-reels--vide .sr-appel:hover .sr-appel__plus { transform: rotate(90deg); opacity: 1; }

.sr-reels--vide .sr-appel__t {
  font-family: var(--sr-font-display); font-weight: 500;
  font-size: clamp(19px, 2vw, 27px); line-height: 1.15;
  color: rgba(255, 255, 255, .5);
}
.sr-reels--vide .sr-appel__t b { color: var(--sr-text); font-weight: 500; }
.sr-reels--vide .sr-appel__c {
  margin-top: 14px; font-family: var(--sr-font-mono);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sr-teal-glow);
}

/* --------------------------------------------------------------------------
   PAGE 404 — les trois portes de rattrapage
   -------------------------------------------------------------------------- */
.sr-404 .sr-lead { margin-bottom: clamp(38px, 4.5vw, 62px); }

.sr-404__portes {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  background: var(--sr-line-soft, rgba(255, 255, 255, .1));
  border: 1px solid var(--sr-line-soft, rgba(255, 255, 255, .1));
  border-radius: var(--sr-radius, 4px); overflow: hidden;
}
.sr-404__porte {
  display: block; padding: clamp(22px, 2.6vw, 34px);
  background: var(--sr-bg-deep); text-decoration: none;
  transition: background .4s var(--sr-ease-inout);
}
.sr-404__porte:hover { background: var(--sr-surface, rgba(255, 255, 255, .04)); }
.sr-404__porte:focus-visible { outline: 2px solid var(--sr-teal-glow); outline-offset: -2px; }

.sr-404__n {
  display: block; font-family: var(--sr-font-mono);
  font-size: 11px; letter-spacing: .2em; color: var(--sr-teal-glow); margin-bottom: 14px;
}
.sr-404__t {
  display: block; font-family: var(--sr-font-display); font-weight: 500;
  font-size: clamp(17px, 1.7vw, 21px); color: var(--sr-text); margin-bottom: 7px;
}
.sr-404__d {
  display: block; font-size: 14px; line-height: 1.5;
  color: var(--sr-text-2, rgba(255, 255, 255, .58));
}

/* --------------------------------------------------------------------------
   RENVOI VERS LA CHAÎNE — une ligne sous la grille de films
   -------------------------------------------------------------------------- */
.sr-lien-ext { margin-top: clamp(22px, 2.6vw, 34px); }
.sr-lien-ext p {
  font-size: 14px; color: var(--sr-text-2, rgba(255, 255, 255, .58)); margin: 0;
}
.sr-lien-ext a {
  color: var(--sr-teal-glow); text-decoration: none;
  border-bottom: 1px solid rgba(41, 182, 186, .35);
  transition: border-color .3s;
}
.sr-lien-ext a:hover { border-bottom-color: currentColor; }
.sr-lien-ext a::after { content: ' ↗'; font-size: .85em; }

/* Titre au-dessus du formulaire de devis */
.sr-h2--form { margin: 0 0 4px; }

/* Illustration de section : cadrée large, jamais plein écran. */
.sr-illus img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 21 / 9; object-fit: cover;
  border-radius: var(--sr-radius, 2px);
  filter: grayscale(.25) contrast(1.05);
}

/* --------------------------------------------------------------------------
   ÉQUIPE — cadrage et substitut de portrait
   auto-fill et non auto-fit : avec deux membres, auto-fit effondre les pistes
   vides et étire chaque fiche sur 850 px, ce qui écrase un portrait en 4:5.
   auto-fill garde les pistes, les fiches restent à taille de portrait.
   -------------------------------------------------------------------------- */
.sr-cards-grid--equipe {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}

/* Initiales, en attendant les vrais portraits. Composées comme une ardoise :
   police mono, lettres espacées, cadre sombre et liseré discret. */
.sr-membre__ini {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-family: var(--sr-font-mono);
  font-size: clamp(34px, 4vw, 52px); letter-spacing: .12em;
  color: var(--sr-text-3);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 12px, transparent 12px 24px),
    var(--sr-bg-deep);
  box-shadow: inset 0 0 0 1px var(--sr-line);
  transition: color .5s var(--sr-ease-expo);
}
.sr-membre:hover .sr-membre__ini { color: var(--sr-teal-glow); }
