/* ==========================================================================
   GROUPE PRÉPA SUCCÈS — feuille de style unique (site public, espace candidat, administration)
   Identité : bleu marine + or + blanc (logo officiel)
   ========================================================================== */
:root {
  --navy-950: #081a36;
  --navy-900: #0c2750;
  --navy-800: #12366b;
  --navy-700: #1b4a8a;
  --blue: #2a6cb6;
  --gold: #f0a81a;
  --gold-600: #d98f08;
  --gold-100: #fdf1d3;
  --ivory: #fbf8f1;
  --paper: #ffffff;
  --ink: #17233a;
  --muted: #5c6a82;
  --line: #e2e7ef;
  --ok: #17803d;
  --ok-bg: #e5f6ea;
  --warn: #9a6200;
  --warn-bg: #fff3d6;
  --bad: #b42318;
  --bad-bg: #fde8e6;
  --info: #1b4a8a;
  --info-bg: #e6eefb;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(12, 39, 80, .10);
  --shadow-sm: 0 2px 10px rgba(12, 39, 80, .08);
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--ivory); line-height: 1.6; font-size: 16px; -webkit-text-size-adjust: 100%; }
img, video { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.2; color: var(--navy-900); margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: min(1160px, 92%); margin-inline: auto; }
.narrow { width: min(820px, 92%); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mt { margin-top: 1.5rem; } .mb { margin-bottom: 1.5rem; }
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.35rem; border-radius: 999px; font: 700 .95rem/1 var(--font); border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy-950); box-shadow: 0 6px 16px rgba(240, 168, 26, .35); }
.btn-gold:hover { background: #ffb82e; color: var(--navy-950); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy-900); }
.btn-danger { background: var(--bad); color: #fff; }
.btn-ok { background: var(--ok); color: #fff; }
.btn-sm { padding: .5rem .95rem; font-size: .82rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }

/* ---------- bandeau & en-tête ---------- */
.topbar { background: var(--navy-950); color: #fff; font-size: .85rem; text-align: center; padding: .5rem 1rem; }
.topbar a { color: var(--gold); font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy-900); }
.brand img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.brand b { display: block; font-size: 1rem; letter-spacing: .02em; line-height: 1.1; }
.brand small { color: var(--muted); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a.link { padding: .55rem .8rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.nav a.link:hover, .nav a.link.active { background: var(--gold-100); color: var(--navy-900); }
.nav .actions { display: flex; gap: .5rem; margin-left: .6rem; align-items: center; }
.burger { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.burger span { display: block; width: 24px; height: 3px; background: var(--navy-900); margin: 5px 0; border-radius: 2px; }
.badge-count { background: var(--bad); color: #fff; border-radius: 999px; font-size: .7rem; padding: .1rem .45rem; margin-left: .25rem; }
@media (max-width: 980px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 86%); background: #fff; flex-direction: column; align-items: stretch; padding: 5rem 1.2rem 1.5rem; box-shadow: -10px 0 30px rgba(0,0,0,.18); transform: translateX(105%); transition: transform .25s; overflow-y: auto; z-index: 60; }
  .nav.open { transform: none; }
  .nav .actions { flex-direction: column; margin: 1rem 0 0; align-items: stretch; }
  .nav-close { position: absolute; top: 1rem; right: 1rem; }
}
@media (min-width: 981px) { .nav-close { display: none; } }

/* ---------- messages ---------- */
.flash { padding: .9rem 1.1rem; border-radius: 12px; margin: 1rem 0; font-weight: 600; border: 1px solid transparent; }
.flash-success { background: var(--ok-bg); color: var(--ok); border-color: #bfe6cb; }
.flash-error { background: var(--bad-bg); color: var(--bad); border-color: #f5c1bb; }
.flash-info { background: var(--info-bg); color: var(--info); border-color: #c5d6f3; }
.flash ul { margin: .3rem 0 0 1.1rem; padding: 0; font-weight: 500; }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background:
  radial-gradient(900px 420px at 85% -10%, rgba(240,168,26,.28), transparent 60%),
  radial-gradient(700px 400px at -10% 110%, rgba(42,108,182,.45), transparent 60%),
  linear-gradient(160deg, var(--navy-950), var(--navy-800)); overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px); background-size: 26px 26px; pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; padding: 4.2rem 0 4.6rem; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .eyebrow { display: inline-block; background: rgba(240,168,26,.16); color: var(--gold); border: 1px solid rgba(240,168,26,.45); padding: .35rem .9rem; border-radius: 999px; font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.hero p.lead { font-size: 1.1rem; color: #d6e2f5; max-width: 38rem; }
.hero .cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); border-radius: 22px; padding: 1.6rem; backdrop-filter: blur(6px); }
.hero-card .logo { width: 132px; margin: 0 auto 1rem; border-radius: 22px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; text-align: center; margin-top: .8rem; }
.countdown div { background: rgba(8,26,54,.6); border-radius: 12px; padding: .6rem .2rem; }
.countdown b { display: block; font-size: 1.6rem; color: var(--gold); line-height: 1; }
.countdown span { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: #b9cbe8; }
.hero-card h3 { color: #fff; text-align: center; font-size: 1rem; margin-bottom: .2rem; }
.hero-card .note { text-align: center; font-size: .78rem; color: #b9cbe8; margin: .7rem 0 0; }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; padding: 2.6rem 0 3rem; } }

.page-head { background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); color: #fff; padding: 2.6rem 0 2.4rem; position: relative; overflow: hidden; }
.page-head::after { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(240,168,26,.18); }
.page-head h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 0 0 .4rem; position: relative; z-index: 1; }
.page-head p { margin: 0; color: #cfdcf2; position: relative; z-index: 1; }

/* ---------- sections ---------- */
section.block { padding: 4rem 0; }
section.block.alt { background: #fff; }
section.block.dark { background: var(--navy-900); color: #e8effa; }
section.block.dark h2, section.block.dark h3 { color: #fff; }
.section-title { text-align: center; max-width: 46rem; margin: 0 auto 2.4rem; }
.section-title .kicker { color: var(--gold-600); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; display: block; margin-bottom: .5rem; }
.section-title p { color: var(--muted); }
section.dark .section-title p { color: #b9cbe8; }
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.card.hover { transition: transform .18s, box-shadow .18s; }
.card.hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4rem; }
.icon-chip { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-600); font-size: 1.4rem; margin-bottom: .9rem; }

/* chiffres */
.stat { text-align: center; padding: 1.4rem 1rem; }
.stat b { display: block; font-size: clamp(2rem, 5vw, 3rem); color: var(--gold); font-weight: 800; line-height: 1; }
.stat span { display: block; margin-top: .5rem; color: #cfdcf2; font-weight: 600; }
.stat small { color: #9fb6da; }

/* formules */
.formule { position: relative; overflow: hidden; }
.formule .tag { display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; padding: .25rem .7rem; border-radius: 999px; background: var(--navy-900); color: #fff; }
.formule.online .tag { background: var(--gold); color: var(--navy-950); }
.price { font-size: 2.3rem; font-weight: 800; color: var(--navy-900); line-height: 1; margin: .8rem 0 .2rem; }
.price small { font-size: .85rem; font-weight: 600; color: var(--muted); }
.timeline { list-style: none; margin: 1.1rem 0; padding: 0; border-left: 3px solid var(--gold); }
.timeline li { position: relative; padding: .1rem 0 .9rem 1.1rem; }
.timeline li::before { content: ''; position: absolute; left: -9px; top: .35rem; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--navy-900); }
.timeline b { display: block; color: var(--navy-900); }
.timeline span { color: var(--muted); font-size: .92rem; }
.timeline .tarif { color: var(--gold-600); font-weight: 800; }
.checks { list-style: none; padding: 0; margin: 0 0 1rem; }
.checks li { padding-left: 1.7rem; position: relative; margin-bottom: .45rem; }
.checks li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

/* étapes */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.step { background: #fff; border-radius: var(--radius); padding: 1.4rem; border: 1px solid var(--line); position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 1.2rem; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy-950); display: grid; place-items: center; font-weight: 800; }
.step h3 { margin-top: .6rem; font-size: 1.02rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* pack */
.pack { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; border-radius: 22px; padding: 2rem; display: grid; grid-template-columns: 1.3fr .7fr; gap: 1.5rem; align-items: center; box-shadow: var(--shadow); }
.pack h3, .pack h2 { color: #fff; }
.pack .big { font-size: 2.6rem; font-weight: 800; color: var(--gold); line-height: 1; }
.pack s { color: #9fb6da; }
.pack .save { display: inline-block; background: var(--gold); color: var(--navy-950); padding: .25rem .8rem; border-radius: 999px; font-weight: 800; font-size: .8rem; margin-bottom: .6rem; }
@media (max-width: 760px) { .pack { grid-template-columns: 1fr; } }
.doc-price { font-size: 1.5rem; font-weight: 800; color: var(--navy-900); }
.doc-price s { font-size: 1rem; color: var(--muted); font-weight: 600; margin-left: .4rem; }

/* badges */
.badge { display: inline-block; padding: .2rem .65rem; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .02em; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-bad { background: var(--bad-bg); color: var(--bad); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-gray { background: #eef1f6; color: var(--muted); }
.provisoire { background: var(--warn-bg); border-left: 4px solid var(--gold); padding: .8rem 1rem; border-radius: 8px; color: var(--warn); font-weight: 600; font-size: .92rem; margin: 1rem 0; }

/* actualités */
.news-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.news-card .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy-800), var(--blue)); display: grid; place-items: center; color: rgba(255,255,255,.4); font-size: 2.4rem; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.news-card .meta { font-size: .78rem; color: var(--muted); margin-bottom: .4rem; font-weight: 600; }
.news-card h3 { font-size: 1.05rem; }
.news-card h3 a { color: inherit; text-decoration: none; }
.news-card .more { margin-top: auto; font-weight: 700; font-size: .9rem; }
.article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 4vw, 2.4rem); }
.article .content { font-size: 1.04rem; }
.article .content img { border-radius: 12px; margin: 1rem 0; }
.video-frame { position: relative; padding-top: 56.25%; border-radius: 14px; overflow: hidden; background: #000; margin: 1rem 0; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chip { padding: .45rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: .85rem; color: var(--ink); }
.chip.active, .chip:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* ---------- formulaires ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.2rem, 4vw, 2.2rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field label, .lbl { display: block; font-weight: 700; margin-bottom: .35rem; font-size: .92rem; color: var(--navy-900); }
.field .help { font-size: .8rem; color: var(--muted); margin-top: .25rem; }
.field .err { color: var(--bad); font-size: .84rem; font-weight: 600; margin-top: .25rem; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=url], input[type=date], input[type=datetime-local], select, textarea {
  width: 100%; padding: .75rem .9rem; border: 1.5px solid #cdd6e4; border-radius: 10px; font: 500 1rem var(--font); background: #fff; color: var(--ink); }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(42,108,182,.15); }
input[type=file] { width: 100%; padding: .6rem; border: 1.5px dashed #b6c3d8; border-radius: 10px; background: #fafcff; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.2rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--navy-800); flex: none; }
.options { display: grid; gap: .6rem; }
.option { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1rem; border: 1.5px solid #cdd6e4; border-radius: 12px; cursor: pointer; background: #fff; }
.option:has(input:checked) { border-color: var(--navy-800); background: #f1f6fd; box-shadow: 0 0 0 3px rgba(27,74,138,.12); }
.option input { margin-top: .25rem; accent-color: var(--navy-800); width: 18px; height: 18px; flex: none; }
.option b { display: block; color: var(--navy-900); }
.option small { color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* ---------- tableaux ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table.t { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.t th { background: #f3f6fb; text-align: left; padding: .75rem .9rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); white-space: nowrap; }
table.t td { padding: .75rem .9rem; border-top: 1px solid var(--line); vertical-align: top; }
table.t tr:hover td { background: #fafcff; }
.actions-cell { display: flex; gap: .4rem; flex-wrap: wrap; }
.pager { display: flex; gap: .6rem; align-items: center; justify-content: center; margin: 1.4rem 0; }
.pager-item { padding: .5rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: .85rem; }
.pager-item.disabled { opacity: .4; }
.pager-info { color: var(--muted); font-size: .85rem; }

/* ---------- espace candidat ---------- */
.space-head { background: var(--navy-900); color: #fff; padding: 1.6rem 0; }
.space-head h1 { color: #fff; font-size: 1.5rem; margin: 0; }
.space-tabs { display: flex; gap: .3rem; flex-wrap: wrap; margin-top: 1rem; }
.space-tabs a { padding: .5rem .95rem; border-radius: 999px; color: #cfdcf2; text-decoration: none; font-weight: 700; font-size: .86rem; }
.space-tabs a.active, .space-tabs a:hover { background: var(--gold); color: var(--navy-950); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1.2rem; }
.panel > h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.periode-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; padding: .9rem 0; border-top: 1px solid var(--line); }
.periode-row:first-of-type { border-top: 0; }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: .4rem 1rem; margin: 0; }
.kv dt { color: var(--muted); font-weight: 600; font-size: .9rem; }
.kv dd { margin: 0; font-weight: 600; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } .kv dt { margin-top: .6rem; } }
.pay-box { background: var(--gold-100); border: 1px dashed var(--gold-600); border-radius: 14px; padding: 1.1rem 1.2rem; margin-bottom: 1.2rem; }
.pay-num { font-size: 1.35rem; font-weight: 800; color: var(--navy-900); letter-spacing: .04em; }
.big-amount { font-size: 2.2rem; font-weight: 800; color: var(--navy-900); }
.meet-btn { background: #1a73e8; color: #fff; }
.meet-btn:hover { background: #1558b0; color: #fff; }
.day-title { text-transform: capitalize; color: var(--navy-900); font-weight: 800; margin: 1.4rem 0 .6rem; }
.seance { display: flex; gap: 1rem; padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: .6rem; align-items: center; flex-wrap: wrap; }
.seance .hour { min-width: 74px; text-align: center; font-weight: 800; color: var(--navy-900); background: var(--gold-100); border-radius: 10px; padding: .5rem; }
.seance .info { flex: 1; min-width: 200px; }
.alert-item { padding: .9rem 1rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; margin-bottom: .5rem; }
.alert-item.new { border-left: 4px solid var(--gold); background: #fffaf0; }

/* ---------- vérification / reçu ---------- */
.verdict { text-align: center; padding: 1.6rem; border-radius: 18px; font-weight: 700; }
.verdict .ico { font-size: 3rem; line-height: 1; }
.verdict.ok { background: var(--ok-bg); color: var(--ok); }
.verdict.bad { background: var(--bad-bg); color: var(--bad); }
.verdict.warn { background: var(--warn-bg); color: var(--warn); }
.receipt { max-width: 760px; margin: 1.5rem auto; background: #fff; border: 2px solid var(--navy-900); border-radius: 16px; padding: 2rem; position: relative; }
.receipt header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 3px solid var(--gold); padding-bottom: 1rem; margin-bottom: 1.2rem; }
.receipt header img { width: 74px; border-radius: 12px; }
.receipt h1 { font-size: 1.4rem; margin: 0; }
.receipt .qr { text-align: center; }
.receipt .qr img { width: 150px; margin: 0 auto; }
.receipt .stamp { position: absolute; right: 2rem; top: 6.2rem; transform: rotate(-12deg); border: 3px solid var(--ok); color: var(--ok); padding: .2rem .9rem; font-weight: 800; letter-spacing: .1em; border-radius: 8px; opacity: .85; }
.receipt-actions { text-align: center; margin: 1rem 0; }
@media print {
  .no-print, .site-header, .site-footer, .topbar, .wa-float, .space-head, .flash { display: none !important; }
  body { background: #fff; }
  .receipt { border-width: 1px; margin: 0; box-shadow: none; }
}

/* ---------- pied de page ---------- */
.site-footer { background: var(--navy-950); color: #b9cbe8; padding: 3.4rem 0 1.4rem; margin-top: 0; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: #d6e2f5; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 70px; border-radius: 14px; margin-bottom: .8rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; }
.news-form { display: flex; gap: .4rem; }
.news-form input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; background: #25d366; color: #fff; border-radius: 999px; padding: .75rem 1.1rem; font-weight: 800; text-decoration: none; box-shadow: 0 8px 22px rgba(0,0,0,.28); display: flex; align-items: center; gap: .5rem; }
.wa-float:hover { color: #fff; transform: translateY(-2px); }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: .9rem; } }

/* ---------- administration ---------- */
body.admin { background: #f1f4f9; }
.adm { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.adm-side { background: var(--navy-950); color: #cfdcf2; padding: 1.2rem 1rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.adm-side .brand { color: #fff; margin-bottom: 1.4rem; }
.adm-side .brand small { color: #9fb6da; }
.adm-side h5 { color: #7f98c4; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; margin: 1.3rem .6rem .4rem; }
.adm-side a { display: block; padding: .55rem .8rem; border-radius: 8px; color: #d6e2f5; text-decoration: none; font-weight: 600; font-size: .9rem; }
.adm-side a:hover { background: rgba(255,255,255,.08); }
.adm-side a.active { background: var(--gold); color: var(--navy-950); }
.adm-main { padding: 1.4rem clamp(1rem, 3vw, 2.2rem) 3rem; min-width: 0; }
.adm-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.adm-top h1 { font-size: 1.5rem; margin: 0; }
.adm-burger { display: none; }
@media (max-width: 900px) {
  .adm { grid-template-columns: 1fr; }
  .adm-side { position: fixed; z-index: 70; width: 270px; transform: translateX(-105%); transition: transform .25s; }
  .adm-side.open { transform: none; }
  .adm-burger { display: inline-flex; }
}
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-bottom: 1.4rem; }
.stat-card { background: #fff; border-radius: 14px; padding: 1.1rem 1.2rem; border: 1px solid var(--line); text-decoration: none; color: inherit; display: block; }
a.stat-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.stat-card small { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .7rem; }
.stat-card b { display: block; font-size: 1.55rem; color: var(--navy-900); margin-top: .3rem; line-height: 1.15; }
.toolbar { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.toolbar input, .toolbar select { width: auto; min-width: 150px; padding: .55rem .8rem; }
.inline-form { display: inline; }
.aide { background: var(--info-bg); color: var(--info); border-radius: 10px; padding: .8rem 1rem; font-size: .88rem; margin-bottom: 1rem; }
.sep { border: 0; border-top: 1px solid var(--line); margin: 1.2rem 0; }
