/* YANIK AUDIT & CONSEIL : feuille de style du site (couleurs et polices de la charte graphique v1.0) */

:root {
  --marine: #0A2C6B;
  --royal: #16408F;
  --or: #F5B800;
  --or-clair: #FFD43B;
  --encre: #0F1A2E;
  --ardoise: #5B6577;
  --brume: #EEF2F8;
  --ligne: #DCE2EC;
  --blanc: #FFFFFF;
  --succes: #1D7A46;
  --erreur: #C8323C;

  --titre: "Montserrat", "Arial Black", sans-serif;
  --texte: "Inter", Arial, sans-serif;
  --largeur: 1180px;
  --rayon: 14px;
  --ombre: 0 1px 2px rgba(15, 26, 46, .06), 0 8px 24px rgba(15, 26, 46, .07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--texte); font-size: 16px; line-height: 1.6; color: var(--encre); background: var(--blanc); -webkit-font-smoothing: antialiased; }
img, video, iframe { display: block; max-width: 100%; }
a { color: var(--royal); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; border-radius: 4px; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { font-family: var(--titre); color: var(--marine); line-height: 1.1; letter-spacing: -.01em; }
h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.surtitre { display: inline-flex; align-items: center; gap: 12px; font-family: var(--titre); font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ardoise); margin-bottom: 14px; }
.surtitre::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: var(--or); }
.chapo { font-size: 19px; color: var(--ardoise); max-width: 640px; margin-top: 16px; }
.surligne { background: linear-gradient(transparent 62%, var(--or-clair) 62%, var(--or-clair) 92%, transparent 92%); padding: 0 4px; margin: 0 -4px; }
.sur-fonce .surligne { background: none; color: var(--or); padding: 0; margin: 0; }

/* ---------- Boutons ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 10px; border: 2px solid transparent;
  font-family: var(--titre); font-weight: 700; font-size: 15px; text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.bouton:hover { transform: translateY(-1px); }
.bouton-or { background: var(--or); color: var(--marine); }
.bouton-or:hover { background: var(--or-clair); }
.bouton-marine { background: var(--marine); color: var(--blanc); }
.bouton-marine:hover { background: var(--royal); }
.bouton-contour { border-color: var(--ligne); color: var(--marine); background: var(--blanc); }
.bouton-contour:hover { border-color: var(--marine); }
.sur-fonce .bouton-contour { background: transparent; color: var(--blanc); border-color: rgba(255,255,255,.35); }
.sur-fonce .bouton-contour:hover { border-color: var(--blanc); }
.bouton[disabled] { opacity: .6; cursor: wait; transform: none; }
.groupe-boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--ligne); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marque svg { width: 44px; height: 44px; flex: none; }
.marque b { display: block; font-family: var(--titre); font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: .04em; color: var(--marine); }
.marque span { display: block; margin-top: 4px; font-family: var(--titre); font-weight: 600; font-size: 9.5px; letter-spacing: .24em; color: var(--marine); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 8px; font-family: var(--titre); font-weight: 600; font-size: 14.5px; color: var(--encre); text-decoration: none; }
.nav a:hover { background: var(--brume); }
.nav a[aria-current="page"] { color: var(--marine); box-shadow: inset 0 -3px 0 var(--or); border-radius: 0; }
.nav .bouton { margin-left: 10px; min-height: 44px; padding: 0 18px; font-size: 14px; color: var(--marine); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--ligne); border-radius: 10px; background: var(--blanc); align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--marine); position: relative; content: ""; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }

@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 20px; background: var(--blanc); border-bottom: 1px solid var(--ligne); box-shadow: var(--ombre); display: none; }
  .nav.ouvert { display: flex; }
  .nav a { padding: 14px 12px; font-size: 16px; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--or); }
  .nav .bouton { margin: 10px 0 0; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-brume { background: var(--brume); }
.section-marine { background: var(--marine); color: #C9D5EC; }
.sur-fonce h1, .sur-fonce h2, .sur-fonce h3 { color: var(--blanc); }
.sur-fonce .surtitre { color: var(--or-clair); }
.sur-fonce .chapo { color: #C9D5EC; }
.entete-section { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
@media (max-width: 720px) { .section { padding: 64px 0; } }

/* ---------- Héro accueil ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 96px; background: var(--blanc); }
.hero .conteneur { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero .chapo { font-size: 20px; }
.hero-visuel { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: end; width: 100%; }
.hero-visuel svg { width: 100%; height: 100%; }
.hero-preuves { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--ligne); }
@media (max-width: 520px) { .hero-preuves { grid-template-columns: 1fr 1fr; gap: 24px; } }
.hero-preuves b { display: block; font-family: var(--titre); font-weight: 800; font-size: 34px; color: var(--marine); line-height: 1; }
.hero-preuves span { display: block; margin-top: 6px; font-size: 14px; color: var(--ardoise); }
@media (max-width: 880px) {
  .hero { padding: 48px 0 64px; }
  .hero .conteneur { grid-template-columns: 1fr; }
  .hero-visuel { max-width: 240px; justify-self: start; order: -1; }
}

/* En-tête des pages intérieures */
.page-titre { background: var(--marine); padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-titre .lame { position: absolute; right: -80px; top: -40px; height: 140%; opacity: .95; pointer-events: none; }
.page-titre .conteneur { position: relative; }
.page-titre .chapo { color: #C9D5EC; }
.fil { font-size: 14px; color: #9FB0D3; margin-bottom: 18px; }
.fil a { color: #C9D5EC; text-decoration: none; }
.fil a:hover { text-decoration: underline; }
@media (max-width: 720px) { .page-titre .lame { display: none; } .page-titre { padding: 48px 0; } }

/* ---------- Grilles et cartes ---------- */
.grille { display: grid; gap: 20px; }
.grille-3 { grid-template-columns: repeat(3, 1fr); }
.grille-2 { grid-template-columns: repeat(2, 1fr); }
.grille-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grille-3, .grille-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grille-3, .grille-2, .grille-4 { grid-template-columns: 1fr; } }

.carte { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 28px; }
.section-brume .carte { border-color: transparent; }
.carte p { color: var(--ardoise); margin-top: 10px; font-size: 15.5px; }
.numero { display: flex; align-items: center; gap: 10px; font-family: var(--titre); font-weight: 800; font-size: 14px; letter-spacing: .06em; color: var(--marine); margin-bottom: 14px; }
.numero::before { content: ""; width: 20px; height: 3px; border-radius: 2px; background: var(--or); }
.liste-points { list-style: none; margin-top: 14px; }
.liste-points li { position: relative; padding-left: 22px; margin-top: 8px; font-size: 15px; color: var(--encre); }
.liste-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 3px; border-radius: 2px; background: var(--or); }
.carte-lien { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s, transform .15s; }
.carte-lien:hover { border-color: var(--marine); box-shadow: var(--ombre); transform: translateY(-2px); }

/* ---------- Chiffres ---------- */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.chiffre { padding: 28px; border-radius: var(--rayon); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.chiffre b { display: block; font-family: var(--titre); font-weight: 800; font-size: 44px; color: var(--blanc); line-height: 1; }
.chiffre span { display: block; margin-top: 10px; font-size: 15px; color: #C9D5EC; }
.chiffre:first-child b { color: var(--or-clair); }
@media (max-width: 860px) { .chiffres { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Progiciels ---------- */
.produit { padding: 0; overflow: hidden; }
.produit-visuel { aspect-ratio: 16 / 9; background: var(--marine); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.produit-visuel .lame { position: absolute; right: -30px; top: -20px; height: 140%; }
.produit-visuel strong { position: relative; font-family: var(--titre); font-weight: 800; font-size: 22px; color: var(--blanc); padding: 0 28px; text-align: left; width: 100%; line-height: 1.15; }
.produit-corps { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.produit-corps p { flex: 1; }
.produit-pied { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--ligne); }
.prix { font-family: var(--titre); font-weight: 800; font-size: 22px; color: var(--marine); }
.prix small { font-size: 13px; font-weight: 700; color: var(--ardoise); margin-left: 4px; }
.etiquette { display: inline-block; font-family: var(--titre); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; background: var(--brume); color: var(--marine); }
.etiquette-exemple { background: #FFF4D1; color: #6B4E00; }
.lien-fleche { font-family: var(--titre); font-weight: 700; font-size: 14.5px; color: var(--marine); text-decoration: none; }

/* Fiche produit */
.fiche { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.fiche-achat { position: sticky; top: 100px; }
.fiche-achat .prix { font-size: 36px; }
.fiche-achat .bouton { width: 100%; margin-top: 20px; }
.fiche-achat dl { margin-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 14.5px; }
.fiche-achat dt { color: var(--ardoise); }
.fiche-achat dd { font-weight: 600; color: var(--encre); text-align: right; }
.formules { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin-top: 18px; }
.formule { min-height: 64px; padding: 8px; border: 1.5px solid var(--ligne); border-radius: 10px; background: var(--blanc); text-align: center; line-height: 1.25; }
.formule b { display: block; font-family: var(--titre); font-size: 15px; color: var(--marine); }
.formule span { display: block; font-size: 13px; color: var(--ardoise); margin-top: 2px; }
.formule:hover { border-color: var(--marine); }
.formule[aria-checked="true"] { border-color: var(--marine); background: var(--brume); box-shadow: inset 0 -3px 0 var(--or); }
.paiement-moyens { margin-top: 18px; font-size: 13.5px; color: var(--ardoise); text-align: center; }
.video { aspect-ratio: 16 / 9; border-radius: var(--rayon); overflow: hidden; background: var(--marine); position: relative; }
.video iframe, .video video { width: 100%; height: 100%; border: 0; }
.video-attente { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #C9D5EC; text-align: center; padding: 24px; }
.video-attente svg { width: 64px; height: 64px; }
.bloc { margin-top: 48px; }
.bloc h2 { font-size: 26px; margin-bottom: 8px; }
.bloc p { color: var(--ardoise); margin-top: 12px; }
.faq details { border-bottom: 1px solid var(--ligne); padding: 18px 0; }
.faq summary { font-family: var(--titre); font-weight: 700; color: var(--marine); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--ardoise); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 10px; }
.avertissement { margin-top: 20px; padding: 14px 16px; border-radius: 10px; background: #FFF4D1; color: #4A3600; font-size: 14px; }
@media (max-width: 960px) { .fiche { grid-template-columns: 1fr; } .fiche-achat { position: static; } }

/* ---------- Références (portefeuille) ---------- */
.filtres { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ligne); background: var(--blanc); font-family: var(--titre); font-weight: 600; font-size: 14px; color: var(--encre); }
.puce:hover { border-color: var(--marine); }
.puce[aria-pressed="true"] { background: var(--marine); border-color: var(--marine); color: var(--blanc); }
.recherche { flex: 1; min-width: 220px; max-width: 340px; margin-left: auto; position: relative; }
.recherche input { width: 100%; min-height: 44px; padding: 0 16px 0 42px; border: 1.5px solid var(--ligne); border-radius: 10px; font: inherit; font-size: 15px; background: var(--blanc); }
.recherche input:focus { outline: none; border-color: var(--marine); }
.recherche svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ardoise); }
.select { min-height: 44px; padding: 0 14px; border: 1.5px solid var(--ligne); border-radius: 10px; font: inherit; font-size: 15px; background: var(--blanc); color: var(--encre); }

.ref-synthese { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; margin-bottom: 28px; }
.ref-compteurs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ref-compteurs div { background: var(--blanc); border-radius: 12px; padding: 18px 20px; }
.ref-compteurs b { display: block; font-family: var(--titre); font-weight: 800; font-size: 32px; color: var(--marine); line-height: 1; }
.ref-compteurs span { display: block; font-size: 13.5px; color: var(--ardoise); margin-top: 6px; }
.histogramme { background: var(--blanc); border-radius: 12px; padding: 18px 20px 14px; }
.histogramme h3 { font-size: 14px; letter-spacing: .04em; color: var(--ardoise); font-weight: 600; font-family: var(--texte); }
.barres { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin-top: 14px; }
.barre { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; background: none; border: 0; padding: 0; }
.barre i { display: block; width: 100%; max-width: 44px; background: var(--royal); border-radius: 4px 4px 0 0; transition: height .3s, background .15s; min-height: 2px; }
.barre:hover i, .barre[aria-pressed="true"] i { background: var(--or); }
.barre em { font-style: normal; font-family: var(--titre); font-weight: 700; font-size: 12.5px; color: var(--marine); }
.barre small { font-size: 12px; color: var(--ardoise); }
@media (max-width: 860px) { .ref-synthese { grid-template-columns: 1fr; } }

.ref-liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ref { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.ref h3 { font-size: 16px; }
.ref .meta { display: flex; flex-wrap: wrap; gap: 6px; }
.ref .meta span { font-size: 12.5px; padding: 3px 8px; border-radius: 6px; background: var(--brume); color: var(--marine); font-weight: 600; }
.ref .meta span.or { background: #FFF4D1; color: #6B4E00; }
.ref .exercices { font-size: 13.5px; color: var(--ardoise); }
.ref.anonyme h3 { color: var(--ardoise); font-style: italic; font-weight: 600; }
.vide { padding: 48px; text-align: center; color: var(--ardoise); background: var(--blanc); border-radius: 12px; grid-column: 1 / -1; }
@media (max-width: 960px) { .ref-liste { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ref-liste { grid-template-columns: 1fr; } .recherche { margin-left: 0; max-width: none; } }

/* ---------- Formations ---------- */
.session { display: grid; grid-template-columns: 220px 1fr auto; gap: 32px; align-items: start; }
.session-date { background: var(--marine); color: var(--blanc); border-radius: 12px; padding: 22px; }
.session-date b { display: block; font-family: var(--titre); font-weight: 800; font-size: 20px; line-height: 1.2; }
.session-date span { display: block; margin-top: 8px; font-size: 14px; color: #C9D5EC; }
.session-tarifs { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.session-tarifs span { font-size: 14px; padding: 8px 12px; border-radius: 8px; background: var(--brume); }
.session-tarifs b { color: var(--marine); }
.session-bilan { margin-top: 16px; font-size: 14px; color: var(--succes); font-weight: 600; }
.session-actions { display: flex; flex-direction: column; gap: 10px; min-width: 200px; }
.statut-termine { background: var(--brume); color: var(--ardoise); }
@media (max-width: 900px) { .session { grid-template-columns: 1fr; gap: 18px; } .session-actions { min-width: 0; } }

/* ---------- Interlocuteur ---------- */
.profil { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; }
.profil img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 5px solid var(--or); }
@media (max-width: 720px) { .profil { grid-template-columns: 1fr; } .profil img { width: 140px; height: 140px; } }

/* ---------- Bandeau d'appel ---------- */
.appel { background: var(--marine); border-radius: 20px; padding: 56px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.appel .lame { position: absolute; right: -60px; top: -40px; height: 160%; opacity: .9; }
.appel > * { position: relative; }
.appel .groupe-boutons { margin-top: 0; }
@media (max-width: 860px) { .appel { grid-template-columns: 1fr; padding: 36px 28px; } .appel .lame { display: none; } }

/* ---------- Formulaires ---------- */
.champ { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.champ label { font-weight: 600; font-size: 14.5px; color: var(--encre); }
.champ input, .champ textarea, .champ select { min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--ligne); border-radius: 10px; font: inherit; font-size: 16px; background: var(--blanc); color: var(--encre); }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--marine); box-shadow: 0 0 0 3px rgba(22,64,143,.15); }
.champ small { color: var(--ardoise); font-size: 13px; }
.case { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: var(--ardoise); }
.case input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--marine); flex: none; }
.message-erreur { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #FBEFF0; color: #8E1F27; font-size: 14.5px; }
.message-erreur[hidden] { display: none; }

/* Fenêtre d'achat */
dialog.achat { border: 0; border-radius: 18px; padding: 0; width: min(480px, calc(100vw - 32px)); max-height: calc(100vh - 32px); box-shadow: 0 24px 64px rgba(0,0,0,.28); }
dialog.achat::backdrop { background: rgba(10, 20, 45, .55); }
.achat-entete { background: var(--marine); color: var(--blanc); padding: 22px 26px; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.achat-entete h2 { font-size: 20px; color: var(--blanc); }
.achat-entete p { color: #C9D5EC; font-size: 14px; margin-top: 4px; }
.fermer { background: none; border: 0; color: var(--blanc); font-size: 26px; line-height: 1; width: 40px; height: 40px; border-radius: 8px; flex: none; }
.fermer:hover { background: rgba(255,255,255,.1); }
.achat form { padding: 8px 26px 26px; }
.achat .bouton { width: 100%; margin-top: 20px; }

/* Page de retour de paiement */
.etat { max-width: 620px; margin: 0 auto; text-align: center; }
.etat-icone { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; }
.etat-icone svg { width: 38px; height: 38px; }
.etat-attente .etat-icone { background: var(--brume); color: var(--marine); }
.etat-attente .etat-icone svg { animation: tourne 1.2s linear infinite; }
.etat-ok .etat-icone { background: #E3F3EA; color: var(--succes); }
.etat-ko .etat-icone { background: #FBEFF0; color: var(--erreur); }
.etat p { color: var(--ardoise); margin-top: 14px; }
.etat .groupe-boutons { justify-content: center; }
@keyframes tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .etat-attente .etat-icone svg { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Contact ---------- */
.contact-ligne { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--ligne); }
.contact-ligne svg { width: 24px; height: 24px; color: var(--royal); flex: none; margin-top: 2px; }
.contact-ligne b { display: block; font-family: var(--titre); color: var(--marine); }
.contact-ligne a, .contact-ligne span { color: var(--ardoise); text-decoration: none; }
.contact-ligne a:hover { color: var(--marine); text-decoration: underline; }

/* Texte long (conditions) */
.texte-long { max-width: 760px; }
.texte-long h2 { font-size: 22px; margin-top: 40px; }
.texte-long p, .texte-long li { color: var(--encre); margin-top: 12px; }
.texte-long ul { padding-left: 22px; }

/* ---------- Pied de page ---------- */
.pied { background: #071F4D; color: #9FB0D3; padding: 64px 0 28px; font-size: 15px; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.pied h4 { color: var(--blanc); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.pied ul { list-style: none; }
.pied li { margin-top: 10px; }
.pied a { color: #C9D5EC; text-decoration: none; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.pied .marque b, .pied .marque span { color: var(--blanc); }
.pied p { margin-top: 16px; max-width: 320px; }
.pied-bas { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
@media (max-width: 860px) { .pied-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied-grille { grid-template-columns: 1fr; } }

/* Bouton WhatsApp flottant */
.whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1FA855; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.22); }
.whatsapp svg { width: 30px; height: 30px; }

/* =====================================================================
   Photos, animations et parallaxe
   ===================================================================== */

/* Apparition au défilement (uniquement si animations.js est actif) */
.anim [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.anim [data-reveal="gauche"] { transform: translateX(-36px); }
.anim [data-reveal="droite"] { transform: translateX(36px); }
.anim [data-reveal="zoom"] { transform: scale(.94); }
.anim [data-reveal].visible { opacity: 1; transform: none; }

/* En-tête qui se compacte au défilement */
.entete { transition: box-shadow .25s; }
.entete .conteneur { transition: height .25s; }
.entete.compacte { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.entete.compacte .conteneur { height: 64px; }

/* Calques de parallaxe : plus grands que leur cadre pour ne jamais laisser de bord vide */
.parallaxe { position: absolute; left: 0; right: 0; top: -14%; bottom: -14%; background-size: cover; background-position: center; will-change: transform; }

/* ---------- Héro accueil avec photo ---------- */
.hero-photo { position: relative; justify-self: end; width: 100%; max-width: 520px; aspect-ratio: 4 / 5; }
.hero-cadre { position: absolute; inset: 0; z-index: 1; border-radius: 28px; overflow: hidden; background: var(--marine); box-shadow: 0 30px 60px rgba(0, 0, 0, .18); }
.hero-cadre .parallaxe { top: -10%; bottom: -10%; }
.hero-cadre::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 44, 107, .55)); }
.hero-lame { position: absolute; right: -34px; top: -34px; width: 150px; height: 220px; z-index: 0; }
.hero-badge { position: absolute; z-index: 2; left: -36px; bottom: 44px; display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 16px; background: rgba(255,255,255,.97); box-shadow: 0 18px 40px rgba(0, 0, 0, .16); }
.hero-badge svg { width: 44px; height: 44px; flex: none; }
.hero-badge b { display: block; font-family: var(--titre); font-weight: 800; font-size: 26px; color: var(--marine); line-height: 1; }
.hero-badge span { display: block; font-size: 13px; color: var(--ardoise); margin-top: 4px; }
.hero-note { position: absolute; z-index: 2; right: -20px; top: 40px; padding: 12px 16px; border-radius: 14px; background: var(--marine); color: var(--blanc); font-family: var(--titre); font-weight: 700; font-size: 14px; box-shadow: 0 14px 30px rgba(0, 0, 0, .28); }
.hero-note em { font-style: normal; color: var(--or-clair); font-size: 20px; display: block; }
.flotte { animation: flotte 6s ease-in-out infinite; }
.flotte-lent { animation: flotte 8s ease-in-out infinite reverse; }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero h1 .ligne { display: block; }
.anim .hero h1 .ligne { opacity: 0; transform: translateY(40px); animation: monte .9s cubic-bezier(.2,.7,.2,1) forwards; }
.anim .hero h1 .ligne + .ligne { animation-delay: .15s; }
.anim .hero .surligne { background-size: 0% 100%; background-repeat: no-repeat; animation: surligne .8s .7s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes monte { to { opacity: 1; transform: none; } }
@keyframes surligne { to { background-size: 100% 100%; } }
@media (max-width: 880px) {
  .hero-photo { max-width: none; aspect-ratio: 4 / 3; order: -1; justify-self: stretch; }
  .hero-badge { left: 12px; bottom: 12px; }
  .hero-note { right: 12px; top: 12px; }
  .hero-lame { display: none; }
}

/* ---------- Bandeau défilant des références ---------- */
.defile { border-bottom: 1px solid var(--ligne); background: var(--blanc); padding: 26px 0; overflow: hidden; position: relative; }
.defile::before, .defile::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.defile::before { left: 0; background: linear-gradient(90deg, var(--blanc), transparent); }
.defile::after { right: 0; background: linear-gradient(270deg, var(--blanc), transparent); }
.defile-titre { text-align: center; font-family: var(--titre); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ardoise); margin-bottom: 14px; }
.defile-piste { display: flex; gap: 48px; width: max-content; animation: defile 80s linear infinite; }
.defile:hover .defile-piste { animation-play-state: paused; }
.defile-piste span { font-family: var(--titre); font-weight: 700; font-size: 17px; color: #5B6577; white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.defile-piste span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--or); }
@keyframes defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .defile-piste { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 24px; gap: 12px 28px; }
  .flotte, .flotte-lent { animation: none; }
}

/* ---------- Sections à fond photo (parallaxe) ---------- */
.section-photo { position: relative; overflow: hidden; background: var(--marine); }
.section-photo > .conteneur { position: relative; z-index: 2; }
.section-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(10,44,107,.97) 0%, rgba(10,44,107,.9) 50%, rgba(10,44,107,.75) 100%); }
.section-photo .chiffre { background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }

/* En-tête des pages intérieures avec photo */
.page-titre .parallaxe { opacity: .55; }
.page-titre::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, var(--marine) 30%, rgba(10,44,107,.35)); }
.page-titre .parallaxe { z-index: -1; }
.page-titre { isolation: isolate; }
.page-titre .lame { z-index: 1; }
.page-titre .conteneur { z-index: 2; }
.anim .page-titre h1, .anim .page-titre .chapo, .anim .page-titre .fil { opacity: 0; transform: translateY(24px); animation: monte .8s cubic-bezier(.2,.7,.2,1) forwards; }
.anim .page-titre h1 { animation-delay: .08s; }
.anim .page-titre .chapo { animation-delay: .18s; }

/* ---------- Bloc approche : deux photos superposées ---------- */
.approche { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.collage { position: relative; aspect-ratio: 1; }
.collage figure { position: absolute; overflow: hidden; border-radius: 22px; box-shadow: 0 24px 50px rgba(0, 0, 0, .16); }
.collage figure img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.collage .grande { left: 0; top: 0; width: 74%; height: 78%; }
.collage .petite { right: 0; bottom: 0; width: 52%; height: 52%; border: 8px solid var(--blanc); }
.collage .pastille { position: absolute; left: 6%; bottom: 6%; z-index: 2; width: 124px; height: 124px; border-radius: 50%; background: var(--or); color: var(--marine); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-family: var(--titre); font-weight: 700; font-size: 12px; line-height: 1.35; box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.collage .pastille b { font-size: 34px; font-weight: 800; }
.approche-points { display: grid; gap: 22px; margin-top: 32px; }
.approche-points > div { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.approche-points i { width: 52px; height: 52px; border-radius: 14px; background: var(--brume); display: flex; align-items: center; justify-content: center; font-style: normal; font-family: var(--titre); font-weight: 800; color: var(--marine); }
.approche-points h3 { font-size: 18px; }
.approche-points p { color: var(--ardoise); margin-top: 4px; }
@media (max-width: 880px) { .approche { grid-template-columns: 1fr; gap: 40px; } .collage { max-width: 480px; width: 100%; } }

/* Cartes de services : le filet s'allonge au survol */
.carte-lien .numero::before { transition: width .25s; }
.carte-lien:hover .numero::before { width: 36px; }

/* Visuels des progiciels avec photo */
.produit-visuel .photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .9; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.produit-visuel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(10,44,107,.94) 30%, rgba(10,44,107,.55) 70%, rgba(10,44,107,.25)); }
.produit-visuel .lame, .produit-visuel strong { z-index: 1; }
.carte-lien:hover .produit-visuel .photo { transform: scale(1.08); opacity: 1; }

/* Bandeau d'appel avec photo */
.appel { isolation: isolate; }
.appel .parallaxe { opacity: .6; z-index: -2; }
.appel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,44,107,.97) 35%, rgba(10,44,107,.6)); }

/* Photo arrondie (formations, contact) */
.photo-arrondie { border-radius: var(--rayon); overflow: hidden; position: relative; }
.photo-arrondie img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.photo-arrondie:hover img { transform: scale(1.04); }

/* Galerie photo (formations) */
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.galerie figure { border-radius: var(--rayon); overflow: hidden; background: var(--brume); }
.galerie figure.large { grid-column: span 2; grid-row: span 2; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.galerie figure:hover img { transform: scale(1.05); }
@media (max-width: 860px) { .galerie { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } }
