/* The Tactic One — charte « Or de finale », version mixte (sombre + ivoire) */

:root {
  /* Sombre */
  --encre: #0E0D0C;
  --surface-1: #1A1816;
  --surface-2: #24211E;
  --ligne-sombre: #34302A;
  --texte-clair: #F4EEE3;
  --texte-doux-sombre: #A39A8A;
  --or: #D9B36C;
  --or-clair: #F0D9A8;
  --argent: #808A96;
  /* Clair */
  --ivoire: #F2ECE2;
  --ivoire-alt: #EAE3D6;
  --carte: #FAF7F1;
  --bord: #E2D8C6;
  --ligne-claire: #D8CDBA;
  --texte: #1A1816;
  --texte-doux: #5F574B;
  --or-texte: #7A5C2B;      /* or lisible sur ivoire (petits textes) */
  --or-titre: #8A6A35;      /* or lisible sur ivoire (grands textes) */
  --or-trait: #C49A4E;
  --erreur: #9E2A3A;

  --police-titre: 'Big Shoulders Display', 'Arial Narrow', 'Bahnschrift', sans-serif;
  --police-texte: Manrope, 'Segoe UI', system-ui, sans-serif;
  --coupe: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  --coupe-petite: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  --largeur: 1240px;
  --courbe: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ivoire);
  color: var(--texte);
  font-family: var(--police-texte);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: var(--or-texte); text-underline-offset: 3px; }
a:hover { color: #4F3B1B; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.or { color: var(--or); }
.doux { color: var(--texte-doux); }
.sombre .doux { color: var(--texte-doux-sombre); }
.centre { text-align: center; margin-top: 40px; }

.evitement { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--or); color: var(--encre); padding: 10px 16px; font-weight: 700; }
.evitement:focus { top: 12px; }
.bandeau-apercu { background: var(--or); color: var(--encre); text-align: center; font-size: 13px; font-weight: 700; padding: 6px 16px; }

.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 24px; }
.etroit { max-width: 860px; }

/* ---------- Zones sombres ---------- */
.sombre { background: var(--encre); color: var(--texte-clair); position: relative; }
.sombre a:not(.bouton) { color: var(--texte-clair); }
.sombre .lien-or, .sombre a.lien-or { color: var(--or); }
.clair-alt { background: var(--ivoire-alt); }

.poussiere {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 22%, rgba(217,179,108,.55), transparent 60%),
    radial-gradient(1px 1px at 19% 74%, rgba(217,179,108,.4), transparent 60%),
    radial-gradient(1.2px 1.2px at 34% 12%, rgba(217,179,108,.35), transparent 60%),
    radial-gradient(2px 2px at 47% 58%, rgba(217,179,108,.25), transparent 60%),
    radial-gradient(1.5px 1.5px at 61% 86%, rgba(217,179,108,.5), transparent 60%),
    radial-gradient(1px 1px at 72% 30%, rgba(217,179,108,.4), transparent 60%),
    radial-gradient(1.8px 1.8px at 88% 18%, rgba(217,179,108,.45), transparent 60%),
    radial-gradient(1.2px 1.2px at 93% 68%, rgba(217,179,108,.3), transparent 60%);
  animation: derive 40s linear infinite alternate;
}
@keyframes derive { from { transform: translate3d(0,0,0); } to { transform: translate3d(-18px, 12px, 0); } }

/* ---------- Typographie ---------- */
.etiquette { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); }
.sombre .etiquette { color: var(--texte-doux-sombre); }
.etiquette--or { color: var(--or-texte); }
.sombre .etiquette--or { color: var(--or); }
.titre-section { font-family: var(--police-titre); font-weight: 800; font-size: clamp(40px, 5vw, 60px); line-height: .95; text-transform: uppercase; letter-spacing: .005em; }
.surtitre { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-doux-sombre); }
.surtitre__trait { display: block; width: 56px; height: 4px; background: var(--or); position: relative; margin-left: 14px; }
.surtitre__trait::before { content: ''; position: absolute; left: -14px; top: -2px; width: 8px; height: 8px; border-radius: 50%; background: var(--or); }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 24px; border: 2px solid transparent;
  font: 700 16px/1.2 var(--police-texte); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--courbe), background-color .2s, color .2s, border-color .2s;
}
.bouton:hover { transform: translateY(-2px); }
.bouton--or { background: var(--or); color: var(--encre); clip-path: var(--coupe-petite); }
.bouton--or:hover { background: var(--or-clair); color: var(--encre); }
.bouton--sombre { background: var(--texte); color: var(--texte-clair); }
.bouton--sombre:hover { background: #000; color: var(--or-clair); }
.bouton--contour { border-color: var(--texte); color: var(--texte); }
.bouton--contour-clair { border-color: var(--ligne-sombre); color: var(--texte-clair); }
.sombre a.bouton--contour-clair { color: var(--texte-clair); }
.bouton--contour-clair:hover { border-color: var(--or); }
.bouton--petit { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.bouton--large { width: 100%; }
.lien-fleche { font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; }
.lien-fleche span { transition: transform .25s var(--courbe); }
.lien-fleche:hover span { transform: translateX(4px); }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(14,13,12,.94); backdrop-filter: blur(8px); border-bottom: 2px solid var(--ligne-sombre); color: var(--texte-clair); }
.entete__barre { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.marque { display: flex; align-items: center; gap: 12px; color: var(--texte-clair); text-decoration: none; }
.marque__logo { display: flex; width: 48px; height: 48px; border-radius: 50%; background: var(--texte-clair); flex-shrink: 0; }
.marque__logo img { width: 100%; height: 100%; }
.marque__logo--grand { width: 72px; height: 72px; }
.marque__nom { font-family: var(--police-titre); font-weight: 800; font-size: 24px; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.nav a:not(.bouton) { color: var(--texte-doux-sombre); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:not(.bouton):hover, .nav a[aria-current="page"] { color: var(--texte-clair); border-bottom-color: var(--or); }
.menu-bouton { display: none; }

@media (max-width: 860px) {
  .menu-bouton { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: transparent; border: 2px solid var(--ligne-sombre); cursor: pointer; }
  .menu-bouton__barres, .menu-bouton__barres::before, .menu-bouton__barres::after { display: block; width: 20px; height: 2px; background: var(--texte-clair); position: relative; transition: transform .25s; }
  .menu-bouton__barres::before, .menu-bouton__barres::after { content: ''; position: absolute; left: 0; }
  .menu-bouton__barres::before { top: -6px; } .menu-bouton__barres::after { top: 6px; }
  .menu-bouton[aria-expanded="true"] .menu-bouton__barres { background: transparent; }
  .menu-bouton[aria-expanded="true"] .menu-bouton__barres::before { transform: translateY(6px) rotate(45deg); }
  .menu-bouton[aria-expanded="true"] .menu-bouton__barres::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--encre); border-bottom: 2px solid var(--ligne-sombre); padding: 8px 24px 20px; }
  .nav.est-ouvert { display: flex; }
  .nav a:not(.bouton) { padding: 14px 0; border-bottom: 1px solid var(--ligne-sombre); font-size: 17px; }
  .nav .bouton { margin-top: 16px; }
  .marque__nom { font-size: 21px; }
  .marque__logo { width: 42px; height: 42px; }
}

/* ---------- Trait de passe (signature) ---------- */
.trait { position: relative; width: 160px; height: 12px; margin-bottom: 24px; }
.trait svg { width: 100%; height: 12px; overflow: visible; }
.trait line { stroke: var(--or-trait); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--courbe) .1s; }
.trait__point { position: absolute; left: 2px; top: 1px; width: 10px; height: 10px; border-radius: 50%; background: var(--or-trait); transform: scale(0); transition: transform .35s var(--courbe); }
.trait--clair line { stroke: var(--or); } .trait--clair .trait__point { background: var(--or); }
.trait.est-visible line { stroke-dashoffset: 0; }
.trait.est-visible .trait__point { transform: scale(1); }

/* ---------- Apparitions au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--courbe) var(--d, 0s), transform .7s var(--courbe) var(--d, 0s); }
.js .reveal.est-visible { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--serree { padding: 56px 0 80px; }
.section__tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: 48px; }
.section__intro { max-width: 480px; color: var(--texte-doux); font-size: 16px; }
.sombre .section__intro { color: var(--texte-doux-sombre); }

/* ---------- Hero ---------- */
.hero { overflow: hidden; }
.hero__grille { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 104px; }
.hero__texte { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero__titre { font-family: var(--police-titre); font-weight: 800; font-size: clamp(44px, 11vw, 108px); line-height: .92; text-transform: uppercase; }
.hero__intro { max-width: 540px; font-size: 19px; color: #CFC6B6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { font-size: 14px; font-weight: 600; color: var(--texte-doux-sombre); }

.terrain { flex: 1 1 420px; min-width: 0; margin: 0; background: var(--surface-1); padding: 28px; clip-path: var(--coupe); }
.terrain svg { width: 100%; height: auto; }
.terrain__lignes * { fill: none; stroke: var(--ligne-sombre); stroke-width: 2; }
.terrain__joueur { fill: var(--argent); opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); }
.terrain__passe { fill: none; stroke: var(--or); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.terrain__depart, .terrain__cible { fill: var(--or); opacity: 0; }
.terrain__halo { fill: none; stroke: var(--or); stroke-opacity: .35; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.terrain.est-visible .terrain__joueur { animation: apparition .5s var(--courbe) var(--d) forwards; }
.terrain.est-visible .terrain__depart { animation: fondu .3s ease .8s forwards; }
.terrain.est-visible .terrain__passe { animation: tracer 1s var(--courbe) .9s forwards; }
.terrain.est-visible .terrain__cible { animation: fondu .3s ease 1.7s forwards; }
.terrain.est-visible .terrain__halo { animation: pulse 2.4s ease-out 1.9s infinite; }
@keyframes apparition { to { opacity: 1; transform: scale(1); } }
@keyframes fondu { to { opacity: 1; } }
@keyframes tracer { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(1.6); } }

/* ---------- Familles (accueil) ---------- */
.grille-familles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.famille { background: var(--carte); border: 2px solid var(--bord); clip-path: var(--coupe); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.famille__nom { font-family: var(--police-titre); font-weight: 800; font-size: 44px; line-height: 1; text-transform: uppercase; }
.famille__accroche { color: var(--texte-doux); font-size: 15px; }
.famille__des { font-size: 15px; }
.famille__des strong { font-family: var(--police-titre); font-size: 34px; color: var(--or-titre); margin-left: 4px; }
.famille__liste { list-style: none; border-top: 2px solid var(--bord); }
.famille__liste a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 2px solid var(--bord); color: var(--texte); text-decoration: none; font-weight: 700; }
.famille__liste a:hover { color: var(--or-texte); }
.famille__liste small { display: block; font-weight: 500; font-size: 13px; color: var(--texte-doux); }
.famille__prix { font-family: var(--police-titre); font-weight: 700; font-size: 26px; color: var(--or-titre); white-space: nowrap; }
.famille .lien-fleche { margin-top: auto; padding-top: 8px; }

/* ---------- Étapes ---------- */
.etapes { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 32px 0; }
.etape { display: flex; flex-direction: column; gap: 10px; padding-right: 22px; }
.etape__repere { display: flex; align-items: center; margin-bottom: 6px; }
.etape__point { width: 16px; height: 16px; border-radius: 50%; background: var(--or-trait); flex-shrink: 0; }
.etape__ligne { height: 4px; flex: 1; background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--courbe) calc(var(--d, 0s) + .2s); }
.etape.est-visible .etape__ligne { transform: scaleX(1); }
.etape__num { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--or-texte); }
.etape__titre { font-size: 19px; font-weight: 700; }
.etape__texte { font-size: 15px; color: var(--texte-doux); }

/* ---------- Analyses ---------- */
.grille-analyses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.carte-analyse { display: flex; flex-direction: column; background: var(--carte); border: 2px solid var(--bord); clip-path: var(--coupe); color: var(--texte); text-decoration: none; transition: transform .3s var(--courbe); }
.carte-analyse:hover { transform: translateY(-4px); color: var(--texte); }
.sombre .carte-analyse { background: var(--surface-1); border-color: var(--surface-1); color: var(--texte-clair); }
.sombre .carte-analyse:hover { color: var(--texte-clair); }
.vignette { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.vignette img, .vignette video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vignette video { opacity: 0; transition: opacity .4s; }
.vignette video.en-lecture { opacity: 1; }
.vignette__vide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.vignette__vide svg { width: 50%; } .vignette__vide svg * { fill: none; stroke: var(--ligne-sombre); stroke-width: 2; }
.carte-analyse__corps { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.carte-analyse__titre { font-size: 20px; font-weight: 700; line-height: 1.3; }
.carte-analyse__resume { font-size: 14px; color: var(--texte-doux); }
.sombre .carte-analyse__resume { color: var(--texte-doux-sombre); }
@media (min-width: 900px) {
  .grille-analyses:not(.grille-analyses--egale) { grid-template-columns: 2fr 1fr; }
  .carte-analyse--grande { grid-row: span 2; }
}

.bientot { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.bientot__cadres { flex: 2 1 480px; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; min-height: 280px; }
.bientot__cadre { background: var(--surface-1); clip-path: var(--coupe); position: relative; display: flex; align-items: center; justify-content: center; }
.bientot__cadre:first-child { grid-row: span 2; }
.bientot__texte { flex: 1 1 280px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; color: var(--texte-doux-sombre); }
.lecture { display: block; width: 64px; height: 64px; border-radius: 50%; background: var(--or); position: relative; }
.lecture::after { content: ''; position: absolute; left: 26px; top: 20px; border-left: 16px solid var(--encre); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }

/* ---------- Démarche ---------- */
.piliers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 0; border-top: 4px solid var(--or); }
.pilier { padding: 28px 28px 0 0; display: flex; flex-direction: column; gap: 10px; }
.pilier__num { font-family: var(--police-titre); font-weight: 700; font-size: 40px; color: var(--or-titre); line-height: 1; }
.pilier h3 { font-size: 20px; }
.pilier p { font-size: 15px; color: var(--texte-doux); }

/* ---------- Appel final ---------- */
.appel { overflow: hidden; }
.appel__grille { position: relative; padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.appel__titre { font-family: var(--police-titre); font-weight: 800; font-size: clamp(44px, 6vw, 76px); line-height: .95; text-transform: uppercase; }

/* ---------- En-têtes de page ---------- */
.tete-page { overflow: hidden; }
.tete-page .conteneur { position: relative; padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 22px; }
.tete-page--courte .conteneur { padding-top: 64px; padding-bottom: 64px; }
.tete-page__titre { font-family: var(--police-titre); font-weight: 800; font-size: clamp(40px, 10vw, 92px); line-height: .93; text-transform: uppercase; }
.tete-page__titre--moyen { font-size: clamp(38px, 4.6vw, 64px); }
.tete-page__intro { max-width: 640px; font-size: 18px; color: #CFC6B6; }
.sommaire { display: flex; flex-wrap: wrap; gap: 10px; }
.sommaire a { border: 2px solid var(--ligne-sombre); padding: 10px 16px; font-weight: 700; font-size: 15px; text-decoration: none; }
.sommaire a:hover { border-color: var(--or); }
.fil { font-size: 14px; color: var(--texte-doux-sombre); }
.question { display: flex; flex-direction: column; gap: 6px; font-size: 20px; font-weight: 600; max-width: 720px; border-left: 4px solid var(--or); padding-left: 18px; }

/* ---------- Offres (page Prestations) ---------- */
.famille-section { margin-bottom: 88px; }
.famille-section__tete { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.famille-section__tete p { max-width: 720px; }
.grille-offres { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.offre { background: var(--carte); border: 2px solid var(--bord); clip-path: var(--coupe); padding: 30px; display: flex; flex-direction: column; gap: 20px; }
.offre:target { border-color: var(--or); }
.offre__tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 16px; padding-bottom: 18px; border-bottom: 2px solid var(--bord); }
.offre__nom { font-family: var(--police-titre); font-weight: 800; font-size: 34px; line-height: 1; text-transform: uppercase; margin-top: 4px; overflow-wrap: anywhere; }
.offre__tete > div { flex: 1 1 160px; min-width: 0; }
.offre__tete > div:first-child { flex-basis: 100%; } /* le prix passe toujours sous le nom, quelle que soit la largeur */
.offre__tete > .offre__tarif { flex: 1 1 100%; }
.offre__prix { font-family: var(--police-titre); font-weight: 800; font-size: 52px; line-height: .9; color: var(--or-titre); white-space: nowrap; }
.offre__tarif { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.offre__prix--fourchette { font-size: 38px; }
.offre__par-match { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--or-texte); }
.offre__note { display: block; margin-top: 2px; font-size: 13px; color: var(--texte-doux); }
.famille__prix small { display: block; text-align: right; font-family: var(--police-texte); font-size: 13px; font-weight: 600; color: var(--texte-doux); margin-left: 4px; }
.offre__question { margin-top: 8px; font-style: italic; font-weight: 600; color: var(--texte-doux); }
.offre__corps { display: flex; flex-direction: column; gap: 14px; }
.offre__contenu { font-size: 15.5px; line-height: 1.5; gap: 8px; }
.offre__inclus { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.offre__inclus li { font-size: 13px; font-weight: 600; padding: 5px 10px; border: 1.5px solid var(--bord); background: var(--ivoire); }
.offre__deroule { background: var(--ivoire); padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.deroule { list-style: none; counter-reset: etape; display: flex; flex-direction: column; gap: 12px; padding: 0; margin: 0; font-size: 15px; }
.deroule > li { counter-increment: etape; position: relative; padding-left: 38px; min-height: 26px; }
.deroule > li::before { content: counter(etape); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; display: grid; place-items: center; font-family: var(--police-titre); font-weight: 800; font-size: 14px; background: var(--texte); color: var(--or); }
.deroule .puces { margin-top: 8px; }
.offre__infos { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.offre__infos li { display: grid; grid-template-columns: 112px 1fr; gap: 12px; }
.offre__cle { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-doux); padding-top: 3px; }
.offre__delai { font-weight: 700; }
.offre__prerequis { background: var(--ivoire); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.puces { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.puces li { position: relative; padding-left: 18px; }
.puces li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--or-trait); }
.offre__cta { margin-top: auto; }
.note-delai { font-size: 14px; color: var(--texte-doux); border-top: 2px solid var(--bord); padding-top: 16px; }

.savoir { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 28px 40px; margin-top: 32px; }
.savoir h3 { font-size: 18px; margin-bottom: 6px; }
.savoir p { color: var(--texte-doux); font-size: 15px; }

/* ---------- Bibliothèque ---------- */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filtre { min-height: 44px; padding: 10px 18px; background: transparent; border: 2px solid var(--ligne-claire); font: 700 15px var(--police-texte); color: var(--texte); cursor: pointer; }
.filtre[aria-pressed="true"] { background: var(--texte); border-color: var(--texte); color: var(--texte-clair); }
.vide { padding: 32px; border: 2px dashed var(--ligne-claire); text-align: center; color: var(--texte-doux); }
.vide-grand { padding: 64px 32px; border: 2px dashed var(--ligne-claire); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.vide-grand p:not(.titre-section) { max-width: 520px; color: var(--texte-doux); }

/* ---------- Page analyse ---------- */
.badge-brouillon { align-self: flex-start; background: var(--erreur); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 10px; }
.lecteur { position: relative; aspect-ratio: 16 / 9; background: var(--encre); margin-bottom: 32px; clip-path: var(--coupe); }
.lecteur iframe, .lecteur video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lecteur--vide { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--texte-doux-sombre); font-weight: 600; }
.chapeau { font-size: 20px; font-weight: 600; margin-bottom: 24px; }
.texte h2 { font-family: var(--police-titre); font-weight: 800; font-size: 34px; text-transform: uppercase; margin: 40px 0 12px; }
.texte h3 { font-size: 20px; margin: 28px 0 8px; }
.texte p, .texte ul, .texte ol { margin-bottom: 16px; }
.texte ul, .texte ol { padding-left: 22px; }
.texte li { margin-bottom: 6px; }
.texte blockquote { margin: 0 0 24px; padding: 16px 20px; background: var(--carte); border-left: 4px solid var(--or); }
.texte blockquote p:last-child { margin: 0; }
.texte--legal h2 { font-size: 28px; }
.encart { margin-top: 48px; padding: 28px; background: var(--carte); border: 2px solid var(--bord); clip-path: var(--coupe); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }

/* ---------- Contact ---------- */
.contact__grille { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.formulaire { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact__aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 110px; }
.contact__bloc { background: var(--carte); border: 2px solid var(--bord); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.mini-etapes { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--texte-doux); }
.mini-etapes strong { color: var(--texte); }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
legend { font-family: var(--police-titre); font-weight: 800; font-size: 32px; text-transform: uppercase; margin-bottom: 14px; padding: 0; }
.champs-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ label { font-weight: 700; font-size: 15px; }
.requis { color: var(--erreur); }
.facultatif { font-weight: 500; color: var(--texte-doux); }
.champ input:not([type="checkbox"]), .champ select, .champ textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; background: #fff; color: var(--texte);
  border: 2px solid var(--ligne-claire); border-radius: 0; font: 500 16px var(--police-texte);
}
.champ textarea { resize: vertical; min-height: 140px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--or-titre); box-shadow: 0 0 0 3px rgba(217,179,108,.35); }
.champ [aria-invalid="true"] { border-color: var(--erreur); }
.champ__aide { font-size: 14px; color: var(--texte-doux); }
.champ__aide strong { color: var(--texte); }
.champ__erreur { color: var(--erreur); font-size: 14px; font-weight: 600; }
.case { flex-direction: row; align-items: flex-start; gap: 12px; }
.case input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--texte); flex-shrink: 0; }
.case label { font-weight: 600; }
.champ-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mention { font-size: 14px; color: var(--texte-doux); }
.formulaire__erreur { background: #F6E3E5; border-left: 4px solid var(--erreur); padding: 14px 16px; font-weight: 600; color: #6E1C28; }
.formulaire__succes { background: var(--encre); color: var(--texte-clair); padding: 28px; clip-path: var(--coupe); display: flex; flex-direction: column; gap: 8px; }
.formulaire__succes-titre { font-family: var(--police-titre); font-weight: 800; font-size: 34px; text-transform: uppercase; color: var(--or); }
.formulaire.est-envoye fieldset, .formulaire.est-envoye [data-envoyer], .formulaire.est-envoye .mention { display: none; }
[data-envoyer][disabled] { opacity: .7; cursor: wait; }

/* ---------- Pied de page ---------- */
.pied { padding: 64px 0 28px; }
.pied__grille { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 56px; }
.pied__marque { display: flex; gap: 18px; max-width: 380px; }
.pied__marque > div { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.pied__nom { font-family: var(--police-titre); font-weight: 800; font-size: 24px; }
.pied__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; margin-top: 12px; }
.pied__col a { text-decoration: none; }
.pied__col a:hover { color: var(--or); }
.pied__bas { margin-top: 48px; padding-top: 20px; border-top: 2px solid var(--ligne-sombre); font-size: 13px; }

/* ---------- Bouton fixe mobile ---------- */
.cta-mobile { display: none; }
@media (max-width: 860px) {
  .cta-mobile {
    display: flex; align-items: center; justify-content: center; position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40;
    min-height: 52px; background: var(--or); color: var(--encre); font-weight: 700; text-decoration: none; clip-path: var(--coupe-petite);
    transform: translateY(140%); transition: transform .35s var(--courbe);
  }
  .cta-mobile.est-visible { transform: none; }
  .cta-mobile:hover { color: var(--encre); }
  body.page-contact .cta-mobile { display: none; }
  .pied { padding-bottom: 96px; }
}

/* ---------- Petits écrans ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .conteneur { padding: 0 16px; }
  .hero__grille { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .terrain { padding: 16px; }
  .offre { padding: 24px 20px; }
  .offre__prix { font-size: 42px; }
  .offre__prix--fourchette { font-size: 32px; }
  .offre__tarif { align-items: flex-start; text-align: left; }
  .offre__nom { font-size: 28px; }
  .offre__infos li { grid-template-columns: 1fr; gap: 2px; }
  .famille { padding: 26px 22px; }
  .bientot__cadres { min-height: 200px; }
  .contact__aside { position: static; }
}

/* ---------- Mouvements réduits ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .trait line, .terrain__passe { stroke-dashoffset: 0; }
  .trait__point { transform: none; }
  .terrain__joueur, .terrain__depart, .terrain__cible { opacity: 1; transform: none; }
  .etape__ligne { transform: none; }
}

/* ---------- Mon travail : vidéos YouTube ---------- */
.filtre span { font-weight: 500; opacity: .6; margin-left: 4px; }
.grille-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 22px; }
.carte-video { display: flex; flex-direction: column; background: var(--carte); border: 2px solid var(--bord); clip-path: var(--coupe); color: var(--texte); text-decoration: none; transition: transform .3s var(--courbe), border-color .3s; }
.carte-video:hover { transform: translateY(-4px); border-color: var(--or); }
.carte-video[hidden] { display: none; }
.carte-video__image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--encre); }
.carte-video__image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--courbe); }
.carte-video:hover .carte-video__image img { transform: scale(1.05); }
.carte-video__duree { position: absolute; right: 8px; bottom: 8px; background: rgba(14,13,12,.85); color: #F4EEE3; font: 700 12px var(--police-texte); padding: 3px 7px; }
.carte-video__jouer { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(217,179,108,.92); opacity: 0; transform: scale(.85); transition: all .3s var(--courbe); }
.carte-video__jouer::after { content: ""; position: absolute; left: 21px; top: 16px; border-left: 16px solid #0E0D0C; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.carte-video:hover .carte-video__jouer, .carte-video:focus-visible .carte-video__jouer { opacity: 1; transform: none; }
.carte-video__corps { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.carte-video__titre { font-weight: 800; font-size: 17px; line-height: 1.3; }
.carte-video__resume { font-size: 14px; color: var(--texte-doux); }
.carte-video__date { margin-top: auto; font-size: 13px; color: var(--texte-doux); }
.sombre .carte-video { background: var(--surface-1); border-color: var(--surface-1); color: var(--texte-clair); }
.sombre .carte-video__date, .sombre .carte-video__resume { color: var(--texte-doux-sombre); }
.travaux-vide { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 32px; border: 2px dashed rgba(217,179,108,.35); }
.travaux-vide p { max-width: 640px; }

