/* DataSAI - Nouvelle typographie et illustrations animées (aperçu du 4 nov. 2026, inspiré de getcotalis.com).
   Titres : Instrument Serif ; texte : Inter ; étiquettes, chiffres et badges : IBM Plex Mono.
   Les animations sont posées par assets/typo-anim.js et coupées pour qui désactive les animations. */

/* Couleurs du texte tirées du logo : or champagne de l'étoile, lumière du halo, bleu ciel de « SAI », nuit.
   Le violet de l'ancienne version disparaît des textes. */
:root {
  --or-reflet: #f2e4ca; --or-clair: #e7d9b6; --or: #c7b083; --bronze: #c59864; --bronze-fonce: #9a6a31;
  --lumiere: #fffbe7; --sai: #38b6ff; --sai-fonce: #1677b8; --encre: #0b1220; --texte: #3b4659;
  --feuille-or: linear-gradient(100deg, var(--bronze-fonce) 0%, var(--bronze) 30%, #d8bb88 50%, var(--bronze) 70%, var(--bronze-fonce) 100%);
  --feuille-or-clair: linear-gradient(100deg, var(--or) 0%, var(--or-reflet) 30%, var(--lumiere) 50%, var(--or-clair) 70%, var(--bronze) 100%);
  /* Encres d'affiche pour les surfaces colorées (pas pour les textes) */
  --encre-nuit: linear-gradient(165deg, #16233f 0%, #0b142a 48%, #060a16 100%);
  --encre-or: linear-gradient(180deg, #fff1c8 0%, #ecc777 30%, #c9963f 58%, #a87727 82%, #d8ad5a 100%);
  --encre-sai: linear-gradient(180deg, #8fd6ff 0%, #38b6ff 32%, #1580d6 70%, #0d5fa8 100%);
  --encre-emeraude: linear-gradient(180deg, #7fe0bd 0%, #1fae7f 35%, #0e7a58 75%, #0a5c43 100%);
  --encre-noir-or: linear-gradient(165deg, #2a2418 0%, #12100c 55%, #070605 100%);
  /* Relief : arête claire en haut, tranche sombre en bas, ombre portée d'affiche */
  --relief-carte: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -3px 0 rgba(0, 0, 0, .35), 0 6px 0 #04070f, 0 22px 40px rgba(5, 9, 20, .35);
  --relief-bouton-or: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(120, 80, 20, .35), 0 4px 0 #8a5d1c, 0 12px 24px rgba(138, 93, 28, .35);
  --relief-bouton-sai: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(5, 50, 100, .4), 0 4px 0 #0a4c88, 0 12px 24px rgba(13, 95, 168, .35);
  --relief-pastille: inset 0 1px 0 rgba(255, 255, 255, .55), 0 2px 0 rgba(0, 0, 0, .25), 0 6px 12px rgba(0, 0, 0, .15);
}
@keyframes or-lueur { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.or-texte, .section .section-title em, .im-hero h1 em, .ah-texte h3 em, .eq-nom em, .eq-expert-nom em, .mod-num {
  background: var(--feuille-or-clair); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text;
  color: transparent !important; -webkit-text-fill-color: transparent; animation: or-lueur 8s ease-in-out infinite;
}
.section .section-title em, .mod-num:where(.section:not(.dark) *) { background-image: var(--feuille-or); }
.mod-num { background-image: var(--feuille-or-clair) !important; }
/* Fonds colorés en encre d'affiche, avec relief : nuit profonde pour les cartes, or, bleu SAI et émeraude pour les touches de couleur */
.audience-card, .mod-item, .ab-final, .final-project, .ah-bloc, .eq-carte, .eq-expert, .ag-console, .rs-etapes,
.ab-faq-item, .ds-entreprise, .week-grid > *, .ab-semaine, .prerequis {
  background: var(--encre-nuit) !important; border: 1px solid rgba(231, 217, 182, .14) !important; box-shadow: var(--relief-carte) !important;
}
.audience-card, .mod-item { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s ease; }
.audience-card:hover, .mod-item:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 -3px 0 rgba(0,0,0,.35), 0 10px 0 #04070f, 0 30px 50px rgba(5,9,20,.4) !important; }
.prerequis { color: #e8ecf3; } .prerequis .prerequis-text { color: #e8ecf3 !important; } .prerequis-text strong { color: var(--or-clair) !important; }
.ds-entreprise, .ds-entreprise p, .ds-entreprise li { color: #dfe4ee !important; } .ds-entreprise h3 { color: #fff !important; }
/* Bande « Projet final » et bandeau de fin : or encré */
.ab-final { background: var(--encre-noir-or) !important; border-color: rgba(236, 199, 119, .35) !important; }
.bottom-cta { background: radial-gradient(70% 90% at 50% 110%, rgba(201, 150, 63, .35), transparent 65%), var(--encre-nuit) !important; }
/* Boutons : or et bleu SAI encrés, en volume, qui s'enfoncent au clic */
.im-hero .im-cta, .bottom-cta .bottom-cta-btn, html body .pricing-grid .price-card.f-career .price-cta, .ab-cta {
  background: var(--encre-or) !important; color: #2a1a04 !important; box-shadow: var(--relief-bouton-or) !important; border: 0 !important;
}
html body .pricing-grid .price-card.f-professional .price-cta, .cur-switch-btn, .eq-linkedin:not(.eq-upwork):not(.eq-portfolio) { background: var(--encre-sai) !important; color: #fff !important; box-shadow: var(--relief-bouton-sai) !important; border: 0 !important; }
.im-hero .im-cta:active, .bottom-cta .bottom-cta-btn:active, .price-cta:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 1px 0 rgba(0,0,0,.4), 0 4px 10px rgba(0,0,0,.25) !important; }
/* Formules : bandeau du haut et bouton dans l'encre de chaque formule ; Executive passe en noir et or */
.price-card.f-essential { --t: #1fae7f; --t2: 31, 174, 127; }
.price-card.f-professional { --t: #38b6ff; --t2: 56, 182, 255; }
.price-card.f-career { --t: #c9963f; --t2: 201, 150, 63; }
.price-card.f-executive { --t: #e2c27a; --t2: 226, 194, 122; }
html body .pricing-grid .price-card.f-essential .price-cta { background: var(--encre-emeraude) !important; color: #fff !important; border: 0 !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 4px 0 #0a5c43, 0 12px 22px rgba(14,122,88,.3) !important; }
html body .pricing-grid .price-card.f-executive .price-cta { background: var(--encre-noir-or) !important; color: #f3dca4 !important; border: 1px solid rgba(226, 194, 122, .5) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 4px 0 #000, 0 12px 22px rgba(0,0,0,.35) !important; }
.price-card .price-card-popular { background: var(--encre-or) !important; color: #2a1a04 !important; box-shadow: inset 0 -2px 0 rgba(120,80,20,.35); }
.price-card .f-bandeau:not([aria-hidden="true"]) { background: var(--encre-noir-or) !important; color: #f3dca4 !important; border-bottom: 1px solid rgba(226,194,122,.4) !important; }
.price-card { box-shadow: 0 2px 0 rgba(11,18,32,.06), 0 18px 40px rgba(11,18,32,.12) !important; }
/* Pastilles et badges */
.ab-etape small, .price-early, .ag-onglet[aria-selected="true"] { box-shadow: var(--relief-pastille) !important; }
.ab-etape small { background: var(--encre-or) !important; color: #2a1a04 !important; }
.ab-etape-rond:has(.ic3d) { background: radial-gradient(circle at 35% 28%, #ffffff 0%, #f4efe4 55%, #d8cfbd 100%) !important;
  box-shadow: inset 0 2px 0 #fff, inset 0 -4px 8px rgba(120, 100, 60, .25), 0 4px 0 #cbbf9f, 0 14px 24px rgba(11,18,32,.18) !important; }
/* Sections claires */
.section .section-title { color: var(--encre); }
.section .section-label { color: var(--sai-fonce) !important; }
.section .section-sub, .prerequis-text { color: var(--texte); }
.prerequis-text strong { color: var(--bronze-fonce) !important; }
.ab-etape small { color: var(--bronze-fonce) !important; background: rgba(197, 152, 100, .14) !important; }
.ab-piste i { background: linear-gradient(90deg, var(--sai), var(--bronze), var(--or-clair)) !important; }
.ab-etape.tp-allume .ab-etape-rond, .ab-etape.ab-allume .ab-etape-rond { border-color: var(--bronze) !important; box-shadow: 0 0 0 6px rgba(197, 152, 100, .2), 0 14px 30px rgba(15, 21, 35, .2) !important; }
/* En-tête et cartes sombres */
.im-statut { color: var(--or-reflet) !important; }
.im-hero .im-cta { background: linear-gradient(135deg, var(--or-reflet), var(--or)) !important; color: #1a1206 !important; }
.im-note i { background: var(--or-clair) !important; box-shadow: 0 0 0 4px rgba(242, 228, 202, .2), 0 0 18px var(--or-clair) !important; }
.im-note span::before { background: var(--or-clair) !important; }
.eq-role, .ah-sur { color: var(--or-clair) !important; } .eq-role i { background: var(--or-clair) !important; }
.eq-expert .eq-role { color: var(--sai) !important; } .eq-expert .eq-role i { background: var(--sai) !important; }
.eq-expert-nom em { background-image: linear-gradient(100deg, #8fd3ff, var(--sai) 45%, #b9e4ff 70%, var(--sai)); }
.bottom-cta h2 em { background: var(--feuille-or-clair); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent; animation: or-lueur 8s ease-in-out infinite; }
.bottom-cta { background: radial-gradient(60% 70% at 50% 100%, rgba(197, 152, 100, .22), transparent 70%), #07080d !important; }
.bottom-cta::before, .bottom-cta::after { background: none !important; }
.bottom-cta .bottom-cta-btn { background: linear-gradient(135deg, var(--or-reflet), var(--or)) !important; color: #1a1206 !important; box-shadow: 0 10px 30px rgba(197, 152, 100, .3) !important; }
.tick-piste span::after { color: var(--or-clair); }
.tick-piste b { color: var(--or-reflet); }
@media (prefers-reduced-motion: reduce) { .or-texte, .section .section-title em, .im-hero h1 em, .ah-texte h3 em, .eq-nom em, .eq-expert-nom em, .mod-num { animation: none; } }

/* Typographie */
body, button, input, select, textarea { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
h1, h2, .section-title, .im-hero h1, .eq-nom, .eq-expert-nom, .ah-texte h3, .rs-etapes h3, .rs-sommaire h3,
.price-card h3, .final-project h3, .bottom-cta h2, .ab-final b, .ab-etape h3 {
  font-family: 'Instrument Serif', Georgia, serif !important; font-weight: 400 !important; letter-spacing: -.01em;
}
.section-title { font-size: clamp(38px, 4.6vw, 58px); line-height: 1.04; }
.section-title em, h1 em { font-style: italic; }
.ab-etape h3 { font-size: 24px; }
.section-label, .im-statut, .im-reperes, .im-retour, .eq-role, .price-tier, .price-launch, .ah-sur, .ab-etape small,
.rs-cartes span, .eq-puces li, .ag-col-titre, .ag-live, .cur-switch-hint, .tick-bande {
  font-family: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace !important; letter-spacing: .06em;
}
.section-label { font-size: 12px; }
.im-reperes b { font-family: 'Instrument Serif', Georgia, serif; font-size: 30px; font-weight: 400; }
.price-new { font-family: 'Instrument Serif', Georgia, serif !important; font-weight: 400 !important; }
/* Grands numéros en italique, comme des chapitres */
.mod-num { font-family: 'Instrument Serif', Georgia, serif !important; font-style: italic; font-weight: 400 !important; font-size: 34px !important;
  background: none !important; border: 0 !important; width: auto !important; min-width: 52px; color: #f5dcb0 !important; }

/* Bande défilante sous l'en-tête */
.tick-bande { position: relative; overflow: hidden; background: #05060d; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.7); font-size: 13px; white-space: nowrap; padding: 13px 0; }
.tick-bande::before, .tick-bande::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 1; pointer-events: none; }
.tick-bande::before { left: 0; background: linear-gradient(90deg, #05060d, transparent); }
.tick-bande::after { right: 0; background: linear-gradient(-90deg, #05060d, transparent); }
.tick-piste { display: inline-flex; gap: 0; animation: tick-defile 48s linear infinite; }
.tick-bande:hover .tick-piste { animation-play-state: paused; }
.tick-piste span { display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; }
.tick-piste span::after { content: "◆"; font-size: 8px; color: #f5dcb0; margin-left: 22px; }
.tick-piste b { color: #fff; font-weight: 500; }
@keyframes tick-defile { to { transform: translateX(-50%); } }

/* Apparitions au défilement */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--rv-d, 0s); }
.rv.rv-on { opacity: 1; transform: none; }
.rv .ic3d { transform: scale(.6) rotate(-14deg); transition: transform .9s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--rv-d, 0s) + .15s); }
.rv.rv-on .ic3d { transform: none; }

/* Parcours : la piste se remplit au défilement, les étapes s'allument tour à tour */
.ab-parcours { --avance: 0; }
.ab-piste i { transform-origin: left center; transform: scaleX(var(--avance)) !important; transition: transform .2s linear; }
.ab-etape { transition: opacity .5s ease, filter .5s ease; }
.ab-parcours.tp-actif .ab-etape:not(.tp-allume) { opacity: .38; filter: saturate(.3); }
.ab-etape.tp-allume .ab-etape-rond { box-shadow: 0 0 0 6px rgba(245, 220, 176, .25), 0 14px 30px rgba(15, 21, 35, .25); }

@media (prefers-reduced-motion: reduce) {
  .tick-piste { animation: none; }
  .rv, .rv .ic3d { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ab-parcours.tp-actif .ab-etape:not(.tp-allume) { opacity: 1; filter: none; }
}

/* Mot-clé du titre (Bootcamp, No Code) gardé dans le h1 pour le référencement, en petite ligne sous le titre */
.im-hero h1 .im-h1-sous { display: block; margin-top: 14px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 500; font-style: normal;
  letter-spacing: .16em; text-transform: uppercase; line-height: 1.2; color: rgba(255, 255, 255, .72); text-shadow: none; -webkit-text-fill-color: currentColor; }
