/* ============================================================
   style.css — Académie du Numérique
   Feuille de styles centralisée — toutes les pages
   ============================================================ */

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --c-white:    #FFFFFF;
  --c-navy:     #0a295d;
  --c-navy-80:  rgba(10,41,93,.08);
  --c-navy-mid: #1a4080;
  --c-red:      #c01d4d;
  --c-red-h:    #a01640;
  --c-offwhite: #f7f8fc;
  --c-border:   #e2e6f0;
  --c-muted:    #5a6a84;
  --c-green:    #1a7a46;
  --c-green-bg: rgba(46,204,113,.1);
  --font-d: 'DM Serif Display', Georgia, serif;
  --font-b: 'DM Sans', system-ui, sans-serif;
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px;
  --sh:   0 2px 16px rgba(10,41,93,.09);
  --sh-h: 0 8px 32px rgba(10,41,93,.16);
  --max-w: 1200px;
  --gap: 96px;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font-b); color: var(--c-navy); background: var(--c-white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a     { text-decoration: none; color: inherit; }
img   { max-width: 100%; display: block; }

.container    { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: 700px;        margin: 0 auto; padding: 0 32px; }

h1, h2, h3 { font-family: var(--font-d); line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw,   2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw,   1.5rem); }
p  { line-height: 1.75; }

.eyebrow { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--c-red); margin-bottom: 12px; }
.lead    { font-size: 1.1rem; font-weight: 300; color: var(--c-muted); line-height: 1.8; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-b); font-size: .92rem; font-weight: 600; border-radius: 50px; padding: 13px 26px; cursor: pointer; transition: all .22s; border: 2px solid transparent; white-space: nowrap; }
.btn:focus-visible { outline: 3px solid var(--c-red); outline-offset: 3px; }
.btn .arrow       { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary       { background: var(--c-red);       color: #fff; border-color: var(--c-red); }
.btn-primary:hover { background: var(--c-red-h);     border-color: var(--c-red-h); box-shadow: 0 6px 20px rgba(192,29,77,.35); transform: translateY(-1px); }
.btn-outline       { background: transparent;         color: var(--c-navy); border-color: var(--c-navy); }
.btn-outline:hover { background: var(--c-navy);       color: #fff; transform: translateY(-1px); }
.btn-outline-white       { background: transparent;   color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { background: #fff;           color: var(--c-navy); }
.btn-ghost         { background: var(--c-offwhite);   color: var(--c-navy); border-color: var(--c-border); }
.btn-ghost:hover   { border-color: var(--c-navy); }
.btn-ghost-red     { background: rgba(192,29,77,.08); color: var(--c-red); border-color: rgba(192,29,77,.2); }
.btn-ghost-red:hover { background: var(--c-red); color: #fff; }
.btn-danger        { background: #dc2626; color: #fff; border-color: #dc2626; }
.btn-danger:hover  { background: #b91c1c; transform: translateY(-1px); }
.btn-sm { font-size: .82rem; padding: 9px 20px; }
.btn-lg { font-size: 1rem;   padding: 14px 28px; }

/* ── HEADER / NAV ───────────────────────────────────────────── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--c-border); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 2px 20px rgba(10,41,93,.1); }
.site-header.sticky   { position: sticky; }
.nav-inner   { display: flex; align-items: center; height: 72px; position: relative; }
.nav-logo    { display: flex; align-items: center; gap: 10px; font-family: var(--font-d); font-size: 1.05rem; color: var(--c-navy); flex-shrink: 0; margin-right: 28px; }
.nav-logo .lm { width: 36px; height: 36px; background: var(--c-navy); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; color: #fff; font-size: .85rem; font-weight: 700; }
.nav-logo .ls { font-size: .65rem; color: var(--c-red); font-weight: 600; display: block; }
.nav-links   { display: flex; list-style: none; gap: 2px; flex: 1; }
.nav-links > li { position: relative; }
.nav-links > li > a { font-size: .87rem; font-weight: 500; color: var(--c-navy); padding: 8px 12px; border-radius: var(--r-sm); display: flex; align-items: center; gap: 4px; transition: background .18s; }
.nav-links > li > a:hover,
.nav-links > li:hover > a { background: var(--c-navy-80); }
.nav-links > li > a .chevron { font-size: .62rem; transition: transform .2s; opacity: .45; }
.nav-links > li:hover > a .chevron { transform: rotate(180deg); }

.nav-dropdown { position: absolute; top: 100%; left: 0; padding-top: 10px; background: transparent; min-width: 240px; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(4px); transition: opacity .18s, transform .18s, visibility 0s .18s; z-index: 100; }
.nav-dropdown-inner { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-md); box-shadow: var(--sh-h); padding: 8px; }
.nav-links > li:hover .nav-dropdown,
.nav-links > li:focus-within .nav-dropdown { opacity: 1; visibility: visible; pointer-events: all; transform: none; transition: opacity .18s, transform .18s, visibility 0s 0s; }
.nav-dropdown a { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); font-size: .86rem; color: var(--c-navy); transition: background .15s; }
.nav-dropdown a:hover { background: var(--c-offwhite); }
.nav-dropdown .dd-icon  { font-size: 1rem; min-width: 20px; margin-top: 1px; }
.nav-dropdown .dd-label { font-weight: 600; display: block; font-size: .84rem; }
.nav-dropdown .dd-sub   { font-size: .74rem; color: var(--c-muted); display: block; margin-top: 1px; }
.nav-dropdown hr        { border: none; border-top: 1px solid var(--c-border); margin: 6px 0; }
.nav-dropdown.wide      { min-width: 500px; }
.nav-dropdown.wide .nav-dropdown-inner { display: grid; grid-template-columns: 1fr 1fr; padding: 10px; gap: 2px 16px; }
.nav-dropdown.wide .dd-col       { display: flex; flex-direction: column; }
.nav-dropdown.wide .dd-col-title { font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); padding: 8px 10px 2px; }

.nav-cta    { display: flex; align-items: center; margin-left: auto; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; margin-left: auto; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--c-navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: var(--c-white); z-index: 999; overflow-y: auto; padding: 14px 18px 40px; flex-direction: column; gap: 2px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: .97rem; font-weight: 500; color: var(--c-navy); padding: 11px 14px; border-radius: var(--r-sm); border-left: 3px solid transparent; transition: background .15s, border-color .15s; }
.mobile-menu a:hover { background: var(--c-navy-80); border-left-color: var(--c-red); }
.mobile-menu .m-section { font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); padding: 14px 14px 4px; display: block; }
.mobile-menu a.indent { padding-left: 26px; font-size: .9rem; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero { padding-top: 72px; min-height: 100vh; display: flex; align-items: center; background: radial-gradient(ellipse 55% 65% at 85% 35%, rgba(10,41,93,.06) 0%, transparent 70%), linear-gradient(170deg, var(--c-white) 55%, var(--c-offwhite) 100%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -120px; top: 50%; transform: translateY(-50%); width: 500px; height: 500px; border: 55px solid var(--c-navy-80); border-radius: 50%; pointer-events: none; }
.hero::after  { content: ''; position: absolute; right: 90px; bottom: 60px; width: 150px; height: 150px; border-radius: 50%; background: rgba(192,29,77,.06); pointer-events: none; }
.hero-inner   { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%; padding: 80px 0; }
.hero-content { position: relative; z-index: 1; }
.hero-badge   { display: inline-flex; align-items: center; gap: 8px; background: rgba(192,29,77,.08); border: 1px solid rgba(192,29,77,.2); border-radius: 50px; padding: 6px 16px; font-size: .77rem; font-weight: 600; color: var(--c-red); margin-bottom: 20px; animation: fadeUp .6s ease both; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-red); animation: pulse 2s infinite; }
.hero h1      { color: var(--c-navy); margin-bottom: 20px; animation: fadeUp .6s .1s ease both; }
.hero h1 em   { font-style: italic; color: var(--c-red); }
.hero .lead   { max-width: 500px; margin-bottom: 30px; animation: fadeUp .6s .2s ease both; }
.hero-ctas    { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 42px; animation: fadeUp .6s .3s ease both; }
.hero-stats   { display: flex; gap: 26px; flex-wrap: wrap; animation: fadeUp .6s .4s ease both; }
.stat-num     { font-family: var(--font-d); font-size: 1.9rem; color: var(--c-navy); line-height: 1; }
.stat-num span { color: var(--c-red); }
.stat-label   { font-size: .77rem; color: var(--c-muted); font-weight: 500; margin-top: 3px; }
.stat-div     { width: 1px; background: var(--c-border); align-self: stretch; }
.hero-visual  { position: relative; z-index: 1; animation: fadeUp .7s .2s ease both; }
.hero-card-stack { position: relative; width: 100%; max-width: 420px; margin: 0 auto; }
.hcard        { border-radius: var(--r-lg); padding: 24px 28px; box-shadow: var(--sh); }
.hcard-b1     { background: var(--c-offwhite); border: 2px solid var(--c-border); position: absolute; width: 88%; left: 6%; top: 16px; height: 100%; transform: rotate(3deg);  z-index: 0; border-radius: var(--r-lg); }
.hcard-b2     { background: rgba(10,41,93,.04); border: 2px solid var(--c-border); position: absolute; width: 90%; left: 5%; top: 10px; height: 100%; transform: rotate(-2deg); z-index: 0; border-radius: var(--r-lg); }
.hcard-front  { background: var(--c-white); border: 2px solid var(--c-border); position: relative; z-index: 1; transition: transform .3s, box-shadow .3s; }
.hcard-front:hover { transform: translateY(-4px); box-shadow: var(--sh-h); }
.card-chip    { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 11px; border-radius: 50px; margin-bottom: 13px; background: rgba(192,29,77,.1); color: var(--c-red); }
.card-q       { font-family: var(--font-d); font-size: 1.05rem; color: var(--c-navy); margin-bottom: 14px; line-height: 1.4; }
.card-opts    { display: flex; flex-direction: column; gap: 7px; }
.card-opt     { display: flex; align-items: center; gap: 9px; background: var(--c-offwhite); border: 1.5px solid var(--c-border); border-radius: var(--r-sm); padding: 9px 12px; font-size: .84rem; font-weight: 500; }
.card-opt.ok  { border-color: #2ecc71; background: rgba(46,204,113,.07); color: #1a7a46; }
.card-opt .ol { font-weight: 700; font-size: .7rem; min-width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--c-border); color: var(--c-navy); }
.card-opt.ok .ol { background: #2ecc71; color: #fff; }
.hcard-lbl    { position: absolute; bottom: -12px; right: 18px; background: var(--c-navy); color: #fff; font-size: .68rem; font-weight: 600; padding: 4px 12px; border-radius: 50px; letter-spacing: .08em; text-transform: uppercase; }
.hero-float   { position: absolute; bottom: 26px; left: -16px; background: var(--c-navy); color: #fff; border-radius: var(--r-md); padding: 12px 16px; font-size: .78rem; font-weight: 500; box-shadow: var(--sh-h); max-width: 160px; z-index: 10; animation: floatY 3s ease-in-out infinite; }
.hero-float strong { display: block; font-size: 1.3rem; font-family: var(--font-d); }

/* ── SECTIONS ───────────────────────────────────────────────── */
section { padding: var(--gap) 0; }
.section-header    { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-header h2 { margin-bottom: 13px; }

/* ── TRUST BAR ──────────────────────────────────────────────── */
.trust-bar   { background: var(--c-offwhite); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); padding: 20px 0; }
.trust-inner { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: center; }
.trust-label { font-size: .7rem; font-weight: 600; color: var(--c-muted); text-transform: uppercase; letter-spacing: .1em; margin-right: 5px; }
.trust-logo  { display: flex; align-items: center; gap: 5px; font-size: .79rem; font-weight: 600; color: var(--c-muted); padding: 5px 13px; border-radius: 50px; border: 1px solid var(--c-border); background: var(--c-white); transition: border-color .2s, color .2s; }
.trust-logo:hover { border-color: var(--c-navy); color: var(--c-navy); }

/* ── TOOLS ──────────────────────────────────────────────────── */
.tools-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.tool-card   { border: 1.5px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; background: var(--c-white); box-shadow: var(--sh); transition: box-shadow .25s, transform .25s; display: flex; flex-direction: column; }
.tool-card:hover { box-shadow: var(--sh-h); transform: translateY(-4px); }
.tool-vis    { height: 210px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.tv-vraiment { background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-mid) 100%); }
.tv-bataille { background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%); }
.cards-fan   { position: relative; width: 146px; height: 110px; }
.fan-card    { position: absolute; width: 74px; height: 100px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.22); top: 5px; }
.fan-card:nth-child(1) { left: 0;    transform: rotate(-12deg); background: rgba(255,255,255,.07); }
.fan-card:nth-child(2) { left: 26px; transform: rotate(-4deg);  background: rgba(255,255,255,.12); }
.fan-card:nth-child(3) { left: 52px; transform: rotate(6deg);   background: rgba(255,255,255,.95); border-color: #fff; }
.fan-card:nth-child(3)::after { content: "?"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: var(--font-d); font-size: 2rem; color: var(--c-navy); }
.demo-overlay  { position: absolute; bottom: 14px; right: 14px; }
.btn-demo      { display: inline-flex; align-items: center; gap: 6px; background: rgba(192,29,77,.9); color: #fff; font-size: .74rem; font-weight: 700; padding: 7px 13px; border-radius: 50px; border: none; cursor: pointer; transition: background .2s; text-decoration: none; }
.btn-demo:hover { background: var(--c-red-h); }
.roles-vis     { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; padding: 0 14px; }
.role-chip     { display: flex; align-items: center; gap: 7px; background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2); border-radius: var(--r-md); padding: 9px 12px; color: rgba(255,255,255,.9); font-size: .79rem; font-weight: 600; }
.tool-body     { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.tool-tag      { display: inline-flex; align-items: center; gap: 5px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 9px; }
.tag-red       { color: var(--c-red); }
.tag-blue      { color: var(--c-navy); }
.tool-body h3  { margin-bottom: 9px; }
.tool-body p   { font-size: .92rem; color: var(--c-muted); line-height: 1.7; flex: 1; }
.tool-meta     { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0; }
.meta-pill     { display: flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 600; color: var(--c-navy); background: var(--c-offwhite); border: 1px solid var(--c-border); padding: 4px 11px; border-radius: 50px; }
.meta-pill.free { background: var(--c-green-bg); border-color: rgba(46,204,113,.3); color: var(--c-green); }
.meta-pill.paid { background: rgba(192,29,77,.08); border-color: rgba(192,29,77,.2); color: var(--c-red); }
.meta-pill.full { background: rgba(100,100,100,.07); border-color: #ccc; color: #999; }
.tool-actions  { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.tool-link     { display: inline-flex; align-items: center; gap: 5px; font-size: .87rem; font-weight: 600; color: var(--c-navy); transition: gap .2s, color .2s; }
.tool-link:hover { color: var(--c-red); gap: 9px; }

/* ── PUBLICS ────────────────────────────────────────────────── */
.publics-section { background: var(--c-offwhite); }
.publics-grid    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pub-card        { background: var(--c-white); border: 1.5px solid var(--c-border); border-radius: var(--r-md); padding: 20px 22px; box-shadow: var(--sh); transition: box-shadow .22s, border-color .22s, transform .22s; display: flex; flex-direction: column; gap: 7px; }
.pub-card:hover  { box-shadow: var(--sh-h); border-color: var(--c-navy); transform: translateY(-3px); }
.pub-icon        { font-size: 1.9rem; }
.pub-card h4     { font-family: var(--font-d); font-size: 1.03rem; color: var(--c-navy); }
.pub-card p      { font-size: .84rem; color: var(--c-muted); line-height: 1.6; flex: 1; }
.pub-format      { font-size: .74rem; font-weight: 600; color: var(--c-red); margin-top: 3px; }

/* ── EXPERT ─────────────────────────────────────────────────── */
.expert-section      { background: var(--c-navy); color: #fff; position: relative; overflow: hidden; }
.expert-section::before { content: ''; position: absolute; right: -100px; top: -100px; width: 460px; height: 460px; border-radius: 50%; background: rgba(192,29,77,.12); pointer-events: none; }
.expert-section::after  { content: ''; position: absolute; left: -60px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.03); pointer-events: none; }
.expert-grid         { display: grid; grid-template-columns: 440px 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.expert-photo-wrap   { position: relative; }
.expert-photo        { width: 100%; aspect-ratio: 4/3; border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border: 2px solid rgba(255,255,255,.12); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.expert-photo img    { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); display: block; }
.ep-placeholder      { display: flex; flex-direction: column; align-items: center; gap: 9px; opacity: .28; }
.ep-placeholder .ep-icon { font-size: 4rem; }
.ep-placeholder span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.expert-badge        { position: absolute; bottom: -15px; right: -15px; background: var(--c-red); border-radius: var(--r-md); padding: 12px 16px; box-shadow: 0 8px 24px rgba(192,29,77,.4); }
.expert-badge strong { display: block; font-size: 1.5rem; font-family: var(--font-d); color: #fff; }
.expert-badge span   { font-size: .73rem; opacity: .85; color: #fff; }
.expert-content .eyebrow { color: rgba(255,255,255,.48); }
.expert-content h2   { color: #fff; margin-bottom: 10px; }
.expert-content .lead { color: rgba(255,255,255,.62); margin-bottom: 28px; }
.creds { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.cred  { display: flex; align-items: flex-start; gap: 12px; }
.cred-icon { width: 36px; height: 36px; min-width: 36px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.cred-text strong { display: block; font-size: .87rem; color: #fff; margin-bottom: 2px; }
.cred-text span   { font-size: .79rem; color: rgba(255,255,255,.46); }
.expert-quote      { border-left: 3px solid var(--c-red); padding: 13px 17px; background: rgba(255,255,255,.04); border-radius: 0 var(--r-sm) var(--r-sm) 0; margin-bottom: 28px; }
.expert-quote p    { font-family: var(--font-d); font-style: italic; font-size: .98rem; color: rgba(255,255,255,.85); line-height: 1.6; }
.expert-quote footer { font-size: .73rem; color: rgba(255,255,255,.36); margin-top: 7px; }

/* ── AGENDA ─────────────────────────────────────────────────── */
.agenda-list   { display: flex; flex-direction: column; gap: 13px; max-width: 760px; margin: 0 auto; }
.agenda-item   { display: grid; grid-template-columns: 68px 1fr auto; gap: 20px; align-items: center; padding: 19px 24px; border: 1.5px solid var(--c-border); border-radius: var(--r-md); background: var(--c-white); box-shadow: var(--sh); transition: box-shadow .22s, border-color .22s, transform .22s; }
.agenda-item:hover { box-shadow: var(--sh-h); border-color: var(--c-navy); transform: translateX(4px); }
.ag-day   { font-family: var(--font-d); font-size: 1.85rem; line-height: 1; color: var(--c-navy); }
.ag-month { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--c-red); margin-top: 2px; }
.ag-info h4 { font-family: var(--font-b); font-size: .92rem; font-weight: 600; color: var(--c-navy); margin-bottom: 3px; }
.ag-info p  { font-size: .79rem; color: var(--c-muted); line-height: 1.4; }
.ag-type { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; padding: 5px 11px; border-radius: 50px; white-space: nowrap; }
.t-conf  { background: rgba(10,41,93,.07); color: var(--c-navy); }
.t-form  { background: rgba(192,29,77,.1);  color: var(--c-red); }
.t-free  { background: rgba(26,122,70,.1);  color: var(--c-green); }
.t-pub   { background: rgba(26,122,70,.1);  color: var(--c-green); }

/* ── PAGE HERO (agenda.php) ─────────────────────────────────── */
.page-hero       { background: linear-gradient(170deg, var(--c-white) 55%, var(--c-offwhite) 100%); padding: 52px 0 44px; border-bottom: 1px solid var(--c-border); }
.page-hero h1    { font-family: var(--font-d); font-size: clamp(2rem,4vw,3rem); color: var(--c-navy); margin-bottom: 12px; }
.page-hero .lead { font-size: 1rem; font-weight: 300; color: var(--c-muted); max-width: 540px; }

/* ── SESSIONS GRID ──────────────────────────────────────────── */
.sessions-grid       { display: grid; grid-template-columns: 1fr; gap: 22px; padding: 44px 0; }
.session-card        { background: var(--c-white); border: 1.5px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); transition: box-shadow .25s, transform .25s; display: flex; flex-direction: column; }
.session-card:hover  { box-shadow: var(--sh-h); transform: translateY(-3px); }
.sc-header           { background: linear-gradient(135deg, var(--c-navy), var(--c-navy-mid)); padding: 18px 20px 14px; display: flex; gap: 14px; align-items: flex-start; }
.sc-date-block       { text-align: center; min-width: 46px; }
.sc-day              { font-family: var(--font-d); font-size: 2rem; color: #fff; line-height: 1; }
.sc-month            { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--c-red); margin-top: 2px; }
.sc-title            { font-family: var(--font-d); font-size: 1.02rem; color: #fff; line-height: 1.3; margin-bottom: 4px; }
.sc-lieu             { font-size: .76rem; color: rgba(255,255,255,.62); }
.sc-body             { padding: 16px 20px; flex: 1; display: flex; flex-direction: column; gap: 11px; }
.sc-desc             { font-size: .86rem; color: var(--c-muted); line-height: 1.65; flex: 1; }
.sc-meta             { display: flex; flex-wrap: wrap; gap: 6px; }
.sc-footer           { padding: 13px 20px; border-top: 1px solid var(--c-border); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sc-places           { font-size: .76rem; color: var(--c-muted); }
.sc-places span      { font-weight: 600; color: var(--c-navy); }
.places-bar          { height: 4px; border-radius: 2px; background: var(--c-border); margin-top: 4px; overflow: hidden; width: 120px; }
.places-fill         { height: 100%; border-radius: 2px; background: var(--c-red); }
.sessions-empty      { text-align: center; padding: 60px 20px; color: var(--c-muted); }
.sessions-empty .empty-icon { font-size: 2.8rem; margin-bottom: 13px; }

/* ── BANDEAU IA ──────────────────────────────────────────────── */
.banner-ia     { background: var(--c-navy); padding: 14px 0; }
.banner-inner  { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.banner-badge  { background: var(--c-red); color: #fff; font-size: .68rem; font-weight: 700; padding: 4px 12px; border-radius: 50px; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.banner-text        { font-size: .88rem; color: rgba(255,255,255,.82); }
.banner-text strong { color: #fff; }

/* ── FORMULAIRE INSCRIPTION ─────────────────────────────────── */
.form-section        { padding: 48px 0; }
.form-card           { background: var(--c-white); border: 1.5px solid var(--c-border); border-radius: var(--r-lg); box-shadow: var(--sh); overflow: hidden; }
.form-card-header    { background: var(--c-navy); padding: 22px 30px; }
.form-card-header h2 { font-family: var(--font-d); color: #fff; font-size: 1.45rem; margin-bottom: 4px; }
.form-card-header p  { color: rgba(255,255,255,.62); font-size: .86rem; }
.form-card-body      { padding: 28px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: .8rem; font-weight: 600; color: var(--c-navy); margin-bottom: 5px; }
.form-group label span { color: var(--c-red); }
.form-control { width: 100%; padding: 10px 13px; border: 1.5px solid var(--c-border); border-radius: var(--r-sm); font-family: var(--font-b); font-size: .9rem; color: var(--c-navy); background: var(--c-white); transition: border-color .2s, box-shadow .2s; }
.form-control:focus { outline: none; border-color: var(--c-navy); box-shadow: 0 0 0 3px rgba(10,41,93,.08); }
.form-control::placeholder { color: #b0bbc9; }
textarea.form-control { resize: vertical; min-height: 90px; }
.paiement-choices            { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 5px; }
.paiement-choice             { position: relative; }
.paiement-choice input[type=radio] { position: absolute; opacity: 0; width: 0; height: 0; }
.paiement-choice label       { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1.5px solid var(--c-border); border-radius: var(--r-md); cursor: pointer; transition: border-color .2s, background .2s; }
.paiement-choice label:hover { border-color: var(--c-navy); background: var(--c-navy-80); }
.paiement-choice input:checked + label { border-color: var(--c-navy); background: var(--c-navy-80); }
.pc-icon  { font-size: 1.4rem; }
.pc-title { font-weight: 600; font-size: .88rem; color: var(--c-navy); }
.pc-sub   { font-size: .74rem; color: var(--c-muted); }

/* ── ALERTS ─────────────────────────────────────────────────── */
.alert         { padding: 13px 16px; border-radius: var(--r-md); margin-bottom: 18px; font-size: .86rem; }
.alert-error   { background: #fef2f2; border: 1px solid #fca5a5; color: #b91c1c; }
.alert-error ul { padding-left: 16px; margin-top: 4px; }
.alert-success { background: var(--c-green-bg); border: 1px solid rgba(46,204,113,.4); color: var(--c-green); }
.alert-info    { background: rgba(10,41,93,.06); border: 1px solid var(--c-border); color: var(--c-navy); }

/* ── CONFIRMATION ───────────────────────────────────────────── */
.confirm-card        { text-align: center; padding: 44px 28px; }
.confirm-icon        { font-size: 3.2rem; margin-bottom: 14px; }
.confirm-card h2     { font-family: var(--font-d); font-size: 1.9rem; color: var(--c-navy); margin-bottom: 11px; }
.confirm-card p      { color: var(--c-muted); font-size: .92rem; line-height: 1.7; max-width: 460px; margin: 0 auto 7px; }
.confirm-detail      { background: var(--c-offwhite); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 16px 20px; margin: 22px auto; max-width: 400px; text-align: left; display: flex; flex-direction: column; gap: 7px; }
.cd-row   { display: flex; justify-content: space-between; font-size: .86rem; }
.cd-label { color: var(--c-muted); }
.cd-val   { font-weight: 600; color: var(--c-navy); text-align: right; }
.confirm-note          { border-radius: var(--r-md); padding: 12px 16px; margin: 14px auto 0; max-width: 400px; font-size: .82rem; line-height: 1.6; }
.confirm-note.sur-place { background: rgba(192,29,77,.07); border: 1px solid rgba(192,29,77,.2); color: var(--c-red); }
.confirm-note.gratuit  { background: var(--c-green-bg); border: 1px solid rgba(46,204,113,.3); color: var(--c-green); }

/* ── ARTICLES ───────────────────────────────────────────────── */
.articles-section  { background: var(--c-offwhite); }
.articles-grid     { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.art-card          { background: var(--c-white); border: 1.5px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh); transition: box-shadow .25s, transform .25s; display: flex; flex-direction: column; }
.art-card:hover    { box-shadow: var(--sh-h); transform: translateY(-4px); }
.art-thumb         { height: 146px; background: linear-gradient(135deg, var(--c-navy), var(--c-navy-mid)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.art-thumb::before { content: ''; position: absolute; bottom: -36px; right: -36px; width: 100px; height: 100px; border-radius: 50%; background: rgba(192,29,77,.22); }
.art-thumb .ti     { font-size: 2.2rem; position: relative; z-index: 1; }
.art-body          { padding: 19px 20px; flex: 1; display: flex; flex-direction: column; }
.art-cat           { font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--c-red); margin-bottom: 7px; }
.art-body h4       { font-family: var(--font-d); font-size: .98rem; color: var(--c-navy); line-height: 1.4; flex: 1; }
.art-meta          { display: flex; align-items: center; justify-content: space-between; font-size: .75rem; color: var(--c-muted); margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--c-border); }
.art-read          { font-weight: 600; color: var(--c-navy); transition: color .18s; }
.art-card:hover .art-read { color: var(--c-red); }

/* ── PRESSE ─────────────────────────────────────────────────── */
.presse-section  { background: var(--c-navy); padding: 70px 0; }
.presse-inner    { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.presse-text .eyebrow { color: rgba(255,255,255,.48); }
.presse-text h2  { color: #fff; margin-bottom: 10px; }
.presse-text .lead { color: rgba(255,255,255,.58); max-width: 480px; }
.presse-actions  { display: flex; gap: 13px; flex-wrap: wrap; }
.btn-dl          { display: inline-flex; align-items: center; gap: 8px; background: var(--c-white); color: var(--c-navy); font-size: .88rem; font-weight: 600; padding: 12px 20px; border-radius: 50px; border: none; cursor: pointer; transition: box-shadow .2s, transform .2s; text-decoration: none; }
.btn-dl:hover    { box-shadow: 0 6px 20px rgba(0,0,0,.2); transform: translateY(-2px); }

/* ── CTA BAND ───────────────────────────────────────────────── */
.cta-band         { background: var(--c-red); color: #fff; padding: 76px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; left: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.07); }
.cta-band::after  { content: ''; position: absolute; right: 60px; bottom: -60px; width: 250px; height: 250px; border-radius: 50%; background: rgba(0,0,0,.08); }
.cta-inner        { position: relative; z-index: 1; text-align: center; }
.cta-inner h2     { color: #fff; margin-bottom: 13px; }
.cta-inner .lead  { color: rgba(255,255,255,.74); max-width: 500px; margin: 0 auto 32px; }
.cta-btns         { display: flex; justify-content: center; flex-wrap: wrap; gap: 13px; }
.cta-note         { margin-top: 20px; font-size: .79rem; color: rgba(255,255,255,.5); }

/* ── FOOTER PUBLIC ──────────────────────────────────────────── */
.site-footer    { background: var(--c-navy); color: rgba(255,255,255,.52); padding: 58px 0 28px; }
.footer-grid    { display: grid; grid-template-columns: 250px 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.09); }
.foot-logo      { display: flex; align-items: center; gap: 9px; font-family: var(--font-d); font-size: 1rem; color: rgba(255,255,255,.9); margin-bottom: 13px; }
.foot-logo .lm  { width: 33px; height: 33px; background: rgba(255,255,255,.1); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; color: #fff; font-size: .82rem; font-weight: 700; }
.foot-logo .ls  { font-size: .63rem; color: var(--c-red); font-weight: 600; display: block; }
.footer-brand p { font-size: .83rem; line-height: 1.7; margin-bottom: 16px; }
.foot-social    { display: flex; gap: 9px; }
.social-btn     { width: 34px; height: 34px; border-radius: var(--r-sm); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11); display: flex; align-items: center; justify-content: center; font-size: .83rem; color: rgba(255,255,255,.52); transition: background .18s, color .18s; }
.social-btn:hover { background: rgba(255,255,255,.18); color: #fff; }
.footer-col h5  { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.9); margin-bottom: 13px; }
.footer-col a   { display: block; font-size: .84rem; color: rgba(255,255,255,.46); padding: 3px 0; transition: color .18s; }
.footer-col a:hover { color: rgba(255,255,255,.9); }
.foot-bottom    { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; font-size: .75rem; flex-wrap: wrap; gap: 9px; }
.foot-bottom a  { color: rgba(255,255,255,.36); transition: color .18s; }
.foot-bottom a:hover { color: rgba(255,255,255,.8); }
.mini-footer         { border-top: 1px solid var(--c-border); padding: 22px 0; margin-top: 56px; }
.mini-footer-inner   { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; color: var(--c-muted); flex-wrap: wrap; gap: 7px; }
.mini-footer a       { color: var(--c-muted); transition: color .18s; }
.mini-footer a:hover { color: var(--c-navy); }

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes pulse  { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.8); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.reveal         { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
/* JS ajoute .js-loaded sur <html> pour activer l'animation scroll */
.js-loaded .reveal { opacity: 0; transform: translateY(22px); }
.js-loaded .reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner       { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual      { display: none; }
  .expert-grid      { grid-template-columns: 1fr; gap: 44px; }
  .expert-photo-wrap { max-width: 100%; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .footer-brand     { grid-column: 1 / -1; }
  .nav-dropdown.wide { min-width: 290px; }
  .nav-dropdown.wide .nav-dropdown-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --gap: 58px; }
  .container, .container-sm { padding: 0 16px; }
  .nav-links, .nav-cta      { display: none; }
  .nav-burger               { display: flex; }
  .tools-grid, .articles-grid { grid-template-columns: 1fr; }
  .publics-grid             { grid-template-columns: repeat(2,1fr); }
  .agenda-item              { grid-template-columns: 58px 1fr; }
  .ag-type                  { display: none; }
  .footer-grid              { grid-template-columns: 1fr; }
  .hero-stats               { gap: 16px; }
  .stat-div                 { display: none; }
  .presse-inner             { flex-direction: column; }
  .form-row, .paiement-choices { grid-template-columns: 1fr; }
  .sessions-grid            { grid-template-columns: 1fr; }
  .form-card-body           { padding: 18px 16px; }
}
@media (max-width: 480px) {
  .hero-ctas, .cta-btns, .presse-actions { flex-direction: column; align-items: stretch; }
  .publics-grid { grid-template-columns: 1fr; }
}
a:focus-visible, button:focus-visible { outline: 3px solid var(--c-red); outline-offset: 3px; border-radius: 4px; }