/* =========================================================
   SOLID TRANSPORTS — feuille de style principale
   Les couleurs et tailles sont réunies ici (variables) :
   changez-les une fois, tout le site suit.
   ========================================================= */

/* Polices hébergées sur le site (licence SIL Open Font License) */
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --rouge: #B3202A;          /* couleur d'action (boutons, accents) */
  --rouge-fonce: #8E1820;
  --rouge-clair: #F2A3A3;
  --texte: #1E2226;           /* texte principal, fond sombre */
  --texte-doux: #4A4F55;
  --texte-gris: #5E636A;
  --fond-clair: #F5F3F0;
  --bordure: #E6E3DF;
  --blanc: #FFFFFF;

  --police-titres: 'Barlow Condensed', system-ui, sans-serif;
  --police-texte: 'Barlow', system-ui, sans-serif;

  --largeur-max: 1200px;
  --rayon: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--police-texte);
  font-size: 17px;
  line-height: 1.55;
  color: var(--texte);
  background: var(--blanc);
}

img { max-width: 100%; display: block; }
a { color: var(--rouge); }
a:hover { color: var(--rouge-fonce); }

h1, h2, h3 { font-family: var(--police-titres); font-weight: 700; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 76px); line-height: 0.98; }
h2 { font-size: clamp(34px, 4.5vw, 52px); }
h3 { font-size: 27px; }
p { margin: 0; }

.conteneur { max-width: var(--largeur-max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--claire { background: var(--fond-clair); }
.section--sombre { background: var(--texte); color: var(--blanc); }

.surtitre {
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rouge);
}
.section--sombre .surtitre { color: var(--rouge-clair); }
.intro { font-size: 19px; color: var(--texte-doux); max-width: 700px; margin: 16px 0 48px; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.bouton--principal { background: var(--rouge); color: var(--blanc); }
.bouton--principal:hover { background: var(--rouge-fonce); color: var(--blanc); }
.bouton--secondaire { background: var(--blanc); color: var(--texte); border-color: var(--texte); }
.bouton--secondaire:hover { background: var(--texte); color: var(--blanc); }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 10; background: var(--blanc); border-bottom: 1px solid var(--bordure); }
.entete__ligne { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; max-width: var(--largeur-max); margin: 0 auto; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--texte); }
.marque img { width: 64px; height: 64px; object-fit: contain; }
.marque span { font-family: var(--police-titres); font-weight: 700; font-size: 23px; letter-spacing: 0.04em; white-space: nowrap; }
.menu { display: flex; gap: 24px; font-weight: 500; }
.menu a { color: var(--texte); text-decoration: none; white-space: nowrap; }
.menu a:hover { color: var(--rouge); }
.entete__actions { display: flex; align-items: center; gap: 16px; }
.entete__tel { color: var(--texte); text-decoration: none; font-weight: 600; white-space: nowrap; }
.entete__actions .bouton { white-space: nowrap; }
@media (max-width: 1400px) { .entete__tel { display: none; } }
.marque { flex-shrink: 0; }
.bouton-menu { display: none; background: none; border: 0; padding: 10px; min-width: 44px; min-height: 44px; cursor: pointer; }

/* ---------- Accueil : bandeau principal ---------- */
.hero { background: var(--fond-clair); }
.hero__grille { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: 88px 24px 96px; max-width: var(--largeur-max); margin: 0 auto; }
.hero__texte { flex: 1 1 520px; min-width: 0; }
.hero__texte h1 { margin-bottom: 24px; }
.hero__texte .intro { margin: 0 0 36px; font-size: 20px; max-width: 560px; }
.hero__boutons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.atouts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 500; }
.atouts li { display: flex; align-items: center; gap: 8px; }
.hero__visuel { flex: 1 1 420px; min-width: 0; }
.photo-a-venir {
  height: 440px; border-radius: var(--rayon);
  background: repeating-linear-gradient(135deg, #E9E5E0 0 14px, #E1DCD6 14px 28px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--texte-gris); font-weight: 600; padding: 24px;
}

/* ---------- Bande clients ---------- */
.clients { border-bottom: 1px solid var(--bordure); }
.clients__ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding: 36px 24px; max-width: var(--largeur-max); margin: 0 auto; }
.clients__titre { font-weight: 600; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--texte-gris); }
.clients__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 64px; font-family: var(--police-titres); font-weight: 700; font-size: 30px; letter-spacing: 0.04em; color: #8A8F95; }

/* ---------- Grilles de cartes ---------- */
.grille { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grille--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.carte {
  display: flex; flex-direction: column; gap: 12px;
  padding: 32px; border: 1px solid var(--bordure); border-radius: var(--rayon);
  background: var(--blanc); color: var(--texte); text-decoration: none;
  transition: border-color .2s, transform .2s;
}
a.carte:hover { border-color: var(--rouge); transform: translateY(-3px); color: var(--texte); }
.carte p { color: var(--texte-doux); }
.carte__lien { margin-top: auto; font-weight: 600; color: var(--rouge); }
.carte--claire { background: var(--fond-clair); border-color: transparent; }

.etapes { list-style: none; margin: 0; padding: 0; }
.etape { background: var(--blanc); border-radius: var(--rayon); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.etape__num { font-family: var(--police-titres); font-weight: 700; font-size: 44px; line-height: 1; color: var(--rouge); }
.etape p { color: var(--texte-doux); }

.pourquoi { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid #E04848; padding-top: 20px; }
.pourquoi p { color: #C9CDD2; }

/* ---------- Engagements ---------- */
.engagements { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.engagements__titre { flex: 1 1 320px; }
.engagements__liste { flex: 2 1 480px; display: flex; flex-wrap: wrap; gap: 32px; }
.engagements__liste > div { flex: 1 1 240px; }
.engagements h3 { font-family: var(--police-texte); font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.engagements p { color: var(--texte-doux); }

/* ---------- Devis ---------- */
.devis { display: flex; flex-wrap: wrap; gap: 56px; }
.devis__texte { flex: 1 1 380px; min-width: 0; }
.devis__contacts { display: flex; flex-direction: column; gap: 14px; font-weight: 600; }
.devis__contacts a { color: var(--texte); text-decoration: none; }
.formulaire {
  flex: 1 1 520px; min-width: 0; background: var(--blanc); border-radius: var(--rayon); padding: 36px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px;
}
.formulaire label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.formulaire .pleine { grid-column: 1 / -1; }
.formulaire input, .formulaire select, .formulaire textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; min-height: 46px;
  border: 1px solid #C9C5BF; border-radius: 6px; background: var(--blanc);
}
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: 2px solid var(--rouge); outline-offset: 1px; }
.formulaire .consentement { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; color: var(--texte-doux); }
.formulaire .consentement input { min-height: 0; width: 20px; height: 20px; margin-top: 2px; }
.formulaire button { grid-column: 1 / -1; justify-content: center; font-size: 18px; }
.formulaire__message { grid-column: 1 / -1; font-weight: 600; color: #1E6B3A; }

/* ---------- Pied de page ---------- */
.pied { background: var(--texte); color: #C9CDD2; font-size: 15px; }
.pied a { color: #C9CDD2; text-decoration: none; }
.pied a:hover { color: var(--blanc); }
.pied__haut { display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between; padding: 56px 24px 32px; max-width: var(--largeur-max); margin: 0 auto; }
.pied__col { display: flex; flex-direction: column; gap: 8px; }
.pied__col strong { color: var(--blanc); }
.pied__marque { display: flex; align-items: center; gap: 12px; }
.pied__marque img { width: 44px; height: 44px; object-fit: contain; }
.pied__marque span { font-family: var(--police-titres); font-weight: 700; font-size: 22px; color: var(--blanc); letter-spacing: 0.04em; }
.pied__bas { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 20px 24px 32px; border-top: 1px solid #3A3F45; max-width: var(--largeur-max); margin: 0 auto; font-size: 14px; }

/* ---------- Animation douce à l'apparition ---------- */
.apparait { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.apparait.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .apparait { opacity: 1; transform: none; transition: none; } }

/* ---------- Mobile ---------- */
@media (max-width: 1100px) {
  .bouton-menu { display: inline-flex; align-items: center; justify-content: center; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--blanc); border-bottom: 1px solid var(--bordure); }
  .menu a { padding: 16px 24px; border-top: 1px solid var(--bordure); }
  .menu.ouvert { display: flex; }
  .entete__tel { display: none; }
  .section { padding: 64px 0; }
  .hero__grille { padding: 48px 24px 64px; }
  .photo-a-venir { height: 260px; }
  .formulaire { padding: 24px; }
}
@media (max-width: 520px) {
  .entete__actions .bouton { display: none; }
  .marque span { font-size: 19px; }
}

/* =========================================================
   PAGES SERVICES
   ========================================================= */
.hero--page .conteneur { padding-top: 56px; padding-bottom: 72px; }
.hero--page h1 { font-size: clamp(40px, 6vw, 64px); max-width: 900px; margin-bottom: 20px; }
.hero--page .intro { margin: 0 0 32px; font-size: 20px; }
.fil { font-size: 14px; color: var(--texte-gris); margin-bottom: 28px; }
.fil a { color: var(--texte-gris); }
.fil span { color: var(--texte); font-weight: 600; }

.prestations { display: grid; gap: 28px 40px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.prestation { display: flex; gap: 14px; align-items: flex-start; }
.prestation svg { flex-shrink: 0; margin-top: 4px; }
.prestation h3 { font-family: var(--police-texte); font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.prestation p { color: var(--texte-doux); }

.conteneur--etroit { max-width: 860px; }
.faq { border-top: 1px solid var(--bordure); }
.faq__item { border-bottom: 1px solid var(--bordure); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-weight: 600; font-size: 19px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 28px; font-weight: 400; color: var(--rouge);
}
.faq__item[open] summary::after { content: "–"; }
.faq__item p { padding: 0 0 22px; color: var(--texte-doux); max-width: 720px; }

.bande-cta { background: var(--rouge); color: var(--blanc); }
.bande-cta__ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: 56px; padding-bottom: 56px; }
.bande-cta h2 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 8px; }
.bande-cta p { color: #FBE3E3; font-size: 18px; }
.bouton--blanc { background: var(--blanc); color: var(--rouge); }
.bouton--blanc:hover { background: var(--fond-clair); color: var(--rouge-fonce); }
.bouton--contour-blanc { color: var(--blanc); border-color: var(--blanc); }
.bouton--contour-blanc:hover { background: var(--blanc); color: var(--rouge); }

.autres-services { display: flex; flex-wrap: wrap; gap: 12px; }
.autre-service {
  padding: 12px 18px; border: 1px solid var(--bordure); border-radius: 999px;
  color: var(--texte); text-decoration: none; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center;
}
.autre-service:hover { border-color: var(--rouge); color: var(--rouge); }

/* =========================================================
   VERSION 2 — retours client
   ========================================================= */
.grille--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.intro--sombre { color: #C9CDD2; }
.pourquoi__num { font-family: var(--police-titres); font-weight: 700; font-size: 18px; color: var(--rouge-clair); }
.moyen { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--rouge); padding-top: 20px; }
.moyen p { color: var(--texte-doux); }

/* Formulaire détaillé */
.formulaire--detaille { grid-template-columns: 1fr; border: 1px solid var(--bordure); }
.formulaire fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.formulaire legend { font-family: var(--police-titres); font-weight: 700; font-size: 24px; margin-bottom: 14px; padding: 0; }
.formulaire .aide { font-family: var(--police-texte); font-weight: 400; font-size: 14px; color: var(--texte-gris); }
.champs { display: grid; gap: 18px 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cases { display: grid; gap: 10px 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.formulaire .case { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; font-size: 16px; padding: 12px 14px; border: 1px solid #C9C5BF; border-radius: 6px; cursor: pointer; }
.formulaire .case input { min-height: 0; width: 20px; height: 20px; margin: 0; accent-color: var(--rouge); }
.formulaire .case:has(input:checked) { border-color: var(--rouge); background: #FBEDED; }
.formulaire input[type="file"] { padding: 10px; background: var(--fond-clair); }
#devis .devis__texte { flex: 1 1 300px; }
#devis .formulaire { flex: 2 1 560px; }

/* Barre fixe sur smartphone */
.barre-mobile { display: none; }
@media (max-width: 1100px) {
  .barre-mobile {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--blanc);
    border-top: 1px solid var(--bordure); box-shadow: 0 -4px 16px rgba(30,34,38,.08);
  }
  .barre-mobile .bouton { flex: 1; justify-content: center; }
  body { padding-bottom: 76px; }
}
.section--claire .carte--claire { background: var(--blanc); }

/* Logos clients : hauteurs ajustées pour un poids visuel équivalent */
.logo-client { width: auto; display: block; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.logo-client:hover { filter: none; opacity: 1; }
.logo-client--cfi { height: 54px; }
.logo-client--atoutek { height: 34px; }
.logo-client--ckdb { height: 58px; }
@media (max-width: 520px) {
  .clients__logos { gap: 28px 40px; }
  .logo-client--cfi { height: 44px; } .logo-client--atoutek { height: 24px; } .logo-client--ckdb { height: 48px; }
}

/* =========================================================
   Logo en filigrane sur toutes les pages
   Réglez l'intensité avec --filigrane-opacite (0 = invisible, 0.1 = marqué)
   ========================================================= */
:root { --filigrane-opacite: 0.06; --filigrane-taille: min(78vmin, 720px); }
body::after {
  content: "";
  position: fixed;
  left: 50%; top: 50%;
  width: var(--filigrane-taille); height: var(--filigrane-taille);
  transform: translate(-50%, -50%);
  background: url("../images/logo-filigrane.png") center / contain no-repeat;
  opacity: var(--filigrane-opacite);
  pointer-events: none;   /* ne gêne jamais les clics */
  z-index: 5;             /* sous l'en-tête et la barre mobile */
}
@media print { body::after { display: none; } }
.barre-mobile .bouton { white-space: nowrap; padding-left: 12px; padding-right: 12px; font-size: 16px; }

/* =========================================================
   VIDÉOS
   ========================================================= */
.video-bloc { position: relative; border-radius: var(--rayon); overflow: hidden; background: #E9E5E0; aspect-ratio: 16 / 10; }
.video-bloc video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.video-bloc.prete video { opacity: 1; }
.video-bloc.prete .video-bloc__attente { display: none; }
.video-bloc__attente {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 24px; color: var(--texte-gris); font-weight: 600;
  background: repeating-linear-gradient(135deg, #E9E5E0 0 14px, #E1DCD6 14px 28px);
}
.lien-video {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 12px; min-height: 48px;
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 17px; color: var(--texte);
}
.lien-video:hover { color: var(--rouge); }
.lien-video__icone { width: 40px; height: 40px; border-radius: 50%; background: var(--rouge); display: inline-flex; align-items: center; justify-content: center; }
.lien-video__duree { font-weight: 400; color: var(--texte-gris); }

.fenetre-video { width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 0; border-radius: 12px; padding: 24px; color: var(--texte); }
.fenetre-video::backdrop { background: rgba(30, 34, 38, .78); }
.fenetre-video__entete { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.fenetre-video__entete h2 { font-size: 30px; }
.fenetre-video__fermer { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--bordure); background: var(--blanc); font-size: 26px; line-height: 1; cursor: pointer; color: var(--texte); }
.fenetre-video__fermer:hover { border-color: var(--rouge); color: var(--rouge); }
.chapitres { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: chap; display: grid; gap: 10px 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.chapitres li { counter-increment: chap; display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; font-size: 15px; }
.chapitres li::before { content: counter(chap); grid-row: span 2; font-family: var(--police-titres); font-weight: 700; font-size: 22px; color: var(--rouge); }
.chapitres strong { font-weight: 600; }
.chapitres span { color: var(--texte-doux); }

/* =========================================================
   RSE
   ========================================================= */
.encadre-rse { display: flex; flex-wrap: wrap; gap: 40px 64px; padding: 48px; border-radius: 14px; background: var(--fond-clair); border-left: 0; }
.encadre-rse__texte { flex: 1 1 380px; min-width: 0; }
.encadre-rse__axes { flex: 1 1 360px; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-content: center; }
.encadre-rse__axes li { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; background: var(--blanc); border-radius: 8px; }
.encadre-rse__axes strong { font-weight: 600; font-size: 17px; }
.encadre-rse__axes span { color: var(--texte-doux); font-size: 15px; }
@media (max-width: 600px) { .encadre-rse { padding: 28px 20px; } }

.axes { display: flex; flex-direction: column; gap: 56px; }
.axe { display: grid; grid-template-columns: 64px 1fr; gap: 24px; }
.axe__lettre {
  width: 56px; height: 56px; border-radius: 50%; background: var(--rouge); color: var(--blanc);
  display: flex; align-items: center; justify-content: center; font-family: var(--police-titres); font-weight: 700; font-size: 28px;
}
.axe h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 12px; }
.axe__intro { color: var(--texte-doux); font-size: 18px; margin-bottom: 18px; }
.axe__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.axe__liste li { display: flex; gap: 10px; align-items: flex-start; }
.axe__liste svg { flex-shrink: 0; margin-top: 3px; }
.axe__note { margin-top: 18px; padding: 14px 18px; border-radius: 8px; background: var(--fond-clair); font-size: 15px; color: var(--texte-doux); }
@media (max-width: 600px) { .axe { grid-template-columns: 1fr; gap: 12px; } }
.fenetre-video .video-bloc { aspect-ratio: 16 / 9; }

/* Cartes RSE illustrées (accueil) */
.grille-rse { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.carte-rse { display: flex; flex-direction: column; border: 1px solid var(--bordure); border-radius: var(--rayon); overflow: hidden; background: var(--blanc); color: var(--texte); text-decoration: none; transition: border-color .2s, transform .2s; }
.carte-rse:hover { border-color: var(--rouge); transform: translateY(-3px); color: var(--texte); }
.carte-rse__media { aspect-ratio: 5 / 3; background: var(--fond-clair); }
.carte-rse__media img { width: 100%; height: 100%; object-fit: cover; }
.carte-rse__corps { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.carte-rse__corps h3 { font-size: 25px; }
.carte-rse__corps p { color: var(--texte-doux); }
.axe { scroll-margin-top: 100px; }

/* Nom « SOLID TRANSPORTS » à côté du logo : lettrage officiel en dessin vectoriel (SVG) */
.marque .marque__nom { height: 23px; width: auto; display: block; object-fit: initial; }
.pied__marque .marque__nom--pied { width: auto; height: 20px; object-fit: initial; }
@media (max-width: 520px) { .marque .marque__nom { height: 16px; } .marque img:first-child { width: 52px; height: 52px; } }

/* Pages légales */
.texte-legal h2 { font-size: 28px; margin: 40px 0 12px; }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal p, .texte-legal li { color: var(--texte-doux); }
.texte-legal p + p { margin-top: 10px; }
.texte-legal ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.formulaire .consentement a { color: var(--rouge); }

/* Vidéo intégrée dans une page service */
.video-page { width: 100%; display: block; border-radius: var(--rayon); background: #000; aspect-ratio: 16 / 9; }
/* Les médias (vidéos, illustrations) passent au-dessus du filigrane du logo */
.video-bloc, .video-page, .carte-rse__media { position: relative; z-index: 6; }
@media (max-width: 520px) { .lien-video__duree { display: none; } .lien-video { white-space: nowrap; } }

/* =========================================================
   BANDEAU AVEC VIDÉO EN ARRIÈRE-PLAN (style Atoutek)
   Intensité du voile sombre : modifier --voile-hero (0 = aucun, 1 = noir)
   ========================================================= */
.hero--video {
  --voile-hero: 0.72;
  position: relative; z-index: 6; isolation: isolate; overflow: hidden;
  background: #1E2226; color: var(--blanc);
  min-height: min(88vh, 760px); display: flex; align-items: center;
}
.hero--video .hero__fond {
  position: absolute; inset: 0; z-index: 0; border-radius: 0; aspect-ratio: auto;
  background: #1E2226 url("../videos/solid-court.jpg") center / cover no-repeat;
}
.hero--video .hero__fond video { object-fit: cover; }
.hero__voile {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(20,23,26,var(--voile-hero)) 0%, rgba(20,23,26,calc(var(--voile-hero) * .85)) 45%, rgba(20,23,26,calc(var(--voile-hero) * .35)) 100%),
    linear-gradient(0deg, rgba(20,23,26,.45) 0%, rgba(20,23,26,0) 35%);
}
.hero--video .hero__grille { position: relative; z-index: 2; width: 100%; padding-top: 96px; padding-bottom: 104px; }
.hero--video .hero__texte { flex: 0 1 720px; }
.hero--video h1 { color: var(--blanc); text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero--video .surtitre { color: var(--rouge-clair); }
.hero--video .intro { color: #E6E8EA; }
.hero--video .atouts { color: var(--blanc); margin-top: 28px; }
.hero--video .hero__boutons { margin-bottom: 8px; }
.lien-video--clair { color: var(--blanc); margin-top: 8px; }
.lien-video--clair:hover { color: var(--rouge-clair); }
.lien-video--clair .lien-video__duree { color: #C9CDD2; }
@media (max-width: 700px) {
  .hero--video { min-height: auto; }
  .hero--video .hero__grille { padding-top: 64px; padding-bottom: 72px; }
  .hero__voile { background: rgba(20,23,26,.74); }
}

/* Pictogrammes des axes RSE */
.axe { grid-template-columns: 88px 1fr; }
.axe__icone {
  width: 76px; height: 76px; border-radius: 22px; background: var(--rouge);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px #FBEDED; position: relative; z-index: 6;
}
.axe__etiquette { margin: 0 0 6px; font-weight: 600; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--rouge); }
@media (max-width: 600px) { .axe__icone { width: 64px; height: 64px; border-radius: 18px; } .axe__icone svg { width: 30px; height: 30px; } }
