/* =====================================================================
   INOVATECH Multi Services — Feuille de style principale
   Identité : bleu électrique, bleu marine, argent (d'après le logo)
   ===================================================================== */

:root {
    --brand: #1565e0;
    --brand-600: #0f52bd;
    --brand-700: #0d47a1;
    --brand-light: #e8f0fd;
    --accent: #2f8cff;
    --navy: #0a1f44;
    --navy-900: #06142e;
    --navy-700: #13306a;
    --silver: #c9d1dc;
    --ink: #1b2a41;
    --muted: #5b6b82;
    --bg: #f5f8fc;
    --card: #ffffff;
    --line: #e3e8f0;
    --success: #16a34a;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 8px rgba(10, 31, 68, .06);
    --shadow: 0 10px 30px rgba(10, 31, 68, .08);
    --shadow-lg: 0 20px 50px rgba(10, 31, 68, .14);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --font-head: 'Poppins', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --nav-h: 76px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { font-family: var(--font-body); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, h5, .font-head { font-family: var(--font-head); color: var(--navy); letter-spacing: -.01em; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-700); }
img { max-width: 100%; height: auto; }
::selection { background: var(--brand); color: #fff; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 2000; background: #fff; padding: 8px 14px; border-radius: 8px; }
.text-brand { color: var(--brand) !important; }
.bg-soft { background: var(--bg); }
.bg-navy { background: var(--navy); }

/* ---------- Boutons ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: .7rem 1.5rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; }
.btn-sm { padding: .45rem 1rem; }
.btn-brand { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; border: 0; box-shadow: 0 6px 18px rgba(21, 101, 224, .35); }
.btn-brand:hover, .btn-brand:focus { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(21, 101, 224, .45); }
.btn-outline-light:hover { transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; transform: translateY(-2px); }
.btn-outline-brand { border: 2px solid var(--brand); color: var(--brand); background: transparent; }
.btn-outline-brand:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn-whatsapp { background: #25d366; color: #fff; border: 0; }
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; transform: translateY(-2px); }

/* ---------- Navigation ---------- */
.site-nav { min-height: var(--nav-h); transition: background .3s, box-shadow .3s, min-height .3s; background: transparent; }
.site-nav .nav-link { color: rgba(255, 255, 255, .88); font-weight: 500; padding: .5rem .8rem !important; position: relative; white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) { .site-nav .nav-link { padding: .5rem .42rem !important; font-size: .9rem; } .site-nav .nav-link::after { left: .42rem; right: .42rem; } .site-nav .nav-actions .nav-cta { padding-inline: .7rem; } }
/* Menu ordinateur : le logo ne se fait jamais écraser ; le bouton WhatsApp du menu est remplacé par le bouton flottant (toujours visible) */
@media (min-width: 1200px) {
    .site-nav .navbar-brand { flex-shrink: 0; margin-right: .5rem; }
    .site-nav .nav-actions .nav-wa { display: none; }
    .site-nav .nav-actions { gap: .45rem; margin-left: .5rem; }
}
@media (min-width: 1400px) { .site-nav .nav-link { padding: .5rem .65rem !important; } .site-nav .nav-link::after { left: .65rem; right: .65rem; } }
.site-nav .nav-link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s var(--ease); border-radius: 2px; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: #fff; }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav.nav-scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 4px 20px rgba(10, 31, 68, .08); backdrop-filter: blur(10px); min-height: 64px; }
.site-nav.nav-scrolled .nav-link { color: var(--ink); }
.site-nav.nav-scrolled .nav-link:hover, .site-nav.nav-scrolled .nav-link.active { color: var(--brand); }
.site-nav.nav-scrolled .brand-text strong { color: var(--navy); }
.site-nav.nav-scrolled .brand-text small { color: var(--brand); }
.site-nav.nav-scrolled .toggler-bar { background: var(--navy); }
.brand-logo { border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .35); object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: .02em; color: #fff; }
.brand-text small { font-size: .68rem; text-transform: uppercase; letter-spacing: .22em; color: var(--silver); margin-top: 3px; }
.navbar-toggler { border: 0; padding: .5rem; display: flex; flex-direction: column; gap: 5px; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-bar { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
@media (max-width: 1199.98px) {
    .site-nav .navbar-collapse { background: var(--navy); margin: .5rem -12px 0; padding: 1rem 1.25rem 1.25rem; border-radius: 0 0 var(--radius) var(--radius); max-height: calc(100vh - 70px); overflow-y: auto; }
    .site-nav.nav-scrolled .navbar-collapse { background: #fff; }
    .site-nav .nav-link::after { display: none; }
    .site-nav.menu-open { background: var(--navy); }
    .site-nav.nav-scrolled.menu-open { background: #fff; }
}

/* ---------- Navigation professionnelle (23/10/2026) : barre d'infos, menu « Finances », espace client ---------- */
@media (min-width: 1200px) { :root { --nav-h: 112px; } }
.site-nav { flex-direction: column; align-items: stretch; padding: 0; }
.site-nav .nav-main { min-height: 76px; }
.nav-topbar { background: rgba(5, 16, 38, .55); border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; color: rgba(255, 255, 255, .72); max-height: 36px; overflow: hidden; transition: max-height .3s var(--ease), opacity .3s; }
.nav-topbar .container { height: 36px; }
.topbar-list { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.topbar-list li, .topbar-place { display: flex; align-items: center; gap: .45rem; white-space: nowrap; }
.topbar-list i, .topbar-place i { color: var(--accent); font-size: .78rem; }
.topbar-list a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.topbar-list a:hover { color: #fff; }
.site-nav.nav-scrolled .nav-topbar { max-height: 0; opacity: 0; border: 0; }
.site-nav.nav-scrolled .nav-main { min-height: 64px; }
.site-nav .navbar-nav { gap: .1rem; }
.site-nav .nav-link { border-radius: 999px; }
.site-nav .nav-link:hover { background: rgba(255, 255, 255, .08); }
.site-nav.nav-scrolled .nav-link:hover { background: var(--brand-light, #eaf2ff); }
.site-nav .dropdown-toggle::after { border: 0; content: "\f107"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .7rem; vertical-align: .05em; margin-left: .35rem; position: static; height: auto; background: none; transform: none; display: inline-block; transition: transform .2s; }
.site-nav .dropdown-toggle.show::after { transform: rotate(180deg); }
.site-nav .nav-link.dropdown-toggle.active { background: rgba(255, 255, 255, .12); color: #fff; }
.site-nav.nav-scrolled .nav-link.dropdown-toggle.active { background: var(--brand-light); color: var(--brand); }
.nav-mega { min-width: 300px; padding: .5rem; border: 0; border-radius: 16px; box-shadow: 0 18px 48px rgba(10, 31, 68, .18); margin-top: .5rem !important; }
.nav-mega-item { display: flex; align-items: center; gap: .8rem; padding: .65rem .75rem; border-radius: 12px; white-space: normal; }
.nav-mega-item strong { display: block; color: var(--navy); font-weight: 600; font-size: .95rem; }
.nav-mega-item small { display: block; color: var(--muted, #64748b); font-size: .8rem; }
.nav-mega-item:hover, .nav-mega-item.active, .nav-mega-item:focus { background: var(--bg, #f3f7fd); }
.nav-mega-icon { width: 40px; height: 40px; flex: none; border-radius: 11px; display: grid; place-items: center; font-size: 1rem; }
.fin-usdt { background: #dcfce7; color: #15803d; }
.fin-meru { background: #e0ecff; color: var(--brand); }
.fin-pay { background: #fef3c7; color: #b45309; }
.nav-actions { display: flex; align-items: center; gap: .6rem; margin-left: .75rem; }
.nav-actions::before { content: ""; width: 1px; height: 26px; background: rgba(255, 255, 255, .2); margin-right: .25rem; }
.site-nav.nav-scrolled .nav-actions::before { background: var(--line, #e2e8f0); }
.nav-cta { white-space: nowrap; padding: .5rem 1.05rem; }
.nav-wa { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #25d366; color: #fff; font-size: 1.2rem; text-decoration: none; box-shadow: 0 6px 16px rgba(37, 211, 102, .35); transition: transform .2s; flex: none; }
.nav-wa:hover { color: #fff; transform: translateY(-2px); }
.nav-account { display: inline-flex; align-items: center; gap: .5rem; color: #fff; text-decoration: none; font-weight: 600; padding: .25rem .6rem .25rem .25rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.nav-account:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.site-nav.nav-scrolled .nav-account { color: var(--navy); background: var(--bg, #f3f7fd); border-color: var(--line, #e2e8f0); }
.nav-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; display: grid; place-items: center; font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.nav-account-menu { border: 0; border-radius: 14px; box-shadow: 0 18px 48px rgba(10, 31, 68, .18); padding: .4rem; min-width: 250px; }
.nav-account-menu .dropdown-item { border-radius: 9px; padding: .5rem .75rem; }
/* Cloche des notifications du client */
.nav-bell { position: relative; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1.15rem; text-decoration: none; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); flex: none; transition: background .2s; }
.nav-bell:hover, .nav-bell:focus { color: #fff; background: rgba(255, 255, 255, .18); }
.site-nav.nav-scrolled .nav-bell { color: var(--navy); background: var(--bg, #f3f7fd); border-color: var(--line, #e2e8f0); }
.nav-bell-badge { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #ef4444; color: #fff; font-size: .68rem; font-weight: 700; line-height: 19px; text-align: center; box-shadow: 0 0 0 2px var(--navy-900, #0a1f44); }
.nav-bell-menu { width: 330px; max-width: calc(100vw - 24px); }
.nav-bell-item { display: grid !important; gap: .1rem; white-space: normal; border-left: 3px solid transparent; }
.nav-bell-item strong { font-size: .86rem; color: var(--navy); }
.nav-bell-item span { font-size: .8rem; color: var(--muted); }
.nav-bell-item small { font-size: .7rem; color: var(--muted); }
.nav-bell-item.unread { background: #eef5ff; border-left-color: var(--brand); }
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .nav-account-name { display: none; }
    .nav-actions { margin-left: .4rem; gap: .4rem; }
    .nav-cta { padding: .45rem .85rem; font-size: .88rem; }
}
@media (max-width: 1199.98px) {
    .site-nav .nav-main { min-height: 64px; }
    .nav-actions { flex-wrap: wrap; margin: .9rem 0 0; padding-top: .9rem; border-top: 1px solid rgba(255, 255, 255, .12); }
    .site-nav.nav-scrolled .nav-actions { border-color: var(--line, #e2e8f0); }
    .nav-actions::before { display: none; }
    .nav-wa { width: auto; height: 40px; border-radius: 999px; padding: 0 1.1rem; font-size: 1rem; font-weight: 600; }
    .nav-mega { box-shadow: none; background: rgba(255, 255, 255, .06); margin: .25rem 0 .5rem !important; }
    .site-nav.nav-scrolled .nav-mega { background: var(--bg, #f3f7fd); }
    .site-nav:not(.nav-scrolled) .nav-mega-item strong { color: #fff; }
    .site-nav:not(.nav-scrolled) .nav-mega-item small { color: rgba(255, 255, 255, .6); }
    .site-nav:not(.nav-scrolled) .nav-mega-item:hover, .site-nav:not(.nav-scrolled) .nav-mega-item:focus, .site-nav:not(.nav-scrolled) .nav-mega-item:active, .site-nav:not(.nav-scrolled) .nav-mega-item.active { background: rgba(255, 255, 255, .1); color: #fff; }
    .site-nav .nav-link:hover { background: transparent; }
    .site-nav .dropdown-toggle::after { display: inline-block; }
}

/* ---------- Flash ---------- */
.flash-stack { position: fixed; top: calc(var(--nav-h) + 10px); right: 16px; left: 16px; z-index: 1080; max-width: 460px; margin-left: auto; }

/* ---------- Hero accueil ---------- */
.hero {
    position: relative; overflow: hidden; color: #fff; min-height: 100vh; display: flex; align-items: center;
    padding: calc(var(--nav-h) + 40px) 0 80px;
    background: radial-gradient(1200px 600px at 85% 20%, rgba(47, 140, 255, .28), transparent 60%),
                radial-gradient(900px 500px at 0% 100%, rgba(21, 101, 224, .35), transparent 60%),
                linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-700) 100%);
}
.hero-grid, .page-hero .hero-grid {
    position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero .eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--silver); }
.hero .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }
.hero h1 { color: #fff; font-weight: 800; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.12; margin: 1.2rem 0; }
.hero h1 .grad { background: linear-gradient(90deg, #7cc0ff, var(--accent), #b9d8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .hero-brand { font-family: var(--font-head); font-weight: 700; letter-spacing: .3em; color: var(--accent); font-size: .95rem; }
.hero p.lead { color: rgba(255, 255, 255, .8); font-size: 1.1rem; max-width: 600px; }
.hero-visual { position: relative; width: min(440px, 80vw); aspect-ratio: 1; margin: 0 auto; }
.hero-visual .logo-disc { position: absolute; inset: 12%; border-radius: 50%; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 10px rgba(255, 255, 255, .06); overflow: hidden; animation: floaty 6s ease-in-out infinite; }
.hero-visual .logo-disc img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .2); animation: spin 40s linear infinite; }
.hero-visual .orbit.o2 { inset: 5%; border-style: solid; border-color: rgba(47, 140, 255, .25); animation-duration: 60s; animation-direction: reverse; }
.hero-visual .chip { position: absolute; display: flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 12px; background: rgba(255, 255, 255, .95); color: var(--navy); font-weight: 600; font-size: .82rem; box-shadow: var(--shadow-lg); animation: floaty 5s ease-in-out infinite; }
.hero-visual .chip i { color: var(--brand); }
.hero-visual .chip.c1 { top: 6%; left: -4%; }
.hero-visual .chip.c2 { top: 44%; right: -8%; animation-delay: -1.5s; }
.hero-visual .chip.c3 { bottom: 4%; left: 6%; animation-delay: -3s; }
.hero-scroll { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .6); font-size: 1.4rem; animation: bounce 2s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Bandeau pages intérieures ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: calc(var(--nav-h) + 56px) 0 56px; background: radial-gradient(800px 400px at 90% 0%, rgba(47, 140, 255, .3), transparent 60%), linear-gradient(150deg, var(--navy-900), var(--navy) 60%, var(--navy-700)); }
.page-hero h1 { color: #fff; font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); margin: .4rem 0 .6rem; }
.page-hero .lead { color: rgba(255, 255, 255, .78); max-width: 720px; }
.page-hero .breadcrumb { margin: 0; font-size: .9rem; }
/* Flèche « Retour » (pages intérieures) */
.hero-back { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .9rem; padding: .38rem .9rem .38rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: .88rem; font-weight: 600; text-decoration: none; transition: background .2s, transform .2s; }
.hero-back:hover, .hero-back:focus-visible { color: #fff; background: rgba(255, 255, 255, .2); transform: translateX(-2px); }
.hero-back i { font-size: .85rem; }
.page-hero .breadcrumb a { color: var(--silver); }
.page-hero .breadcrumb-item.active, .page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .6); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; position: relative; }
.section-sm { padding: 60px 0; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head.text-start { margin-left: 0; }
.eyebrow-label { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-bottom: .6rem; }
.eyebrow-label::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--brand); vertical-align: middle; margin-right: .6rem; }
.section-title { font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 1rem; }
.section-text { color: var(--muted); font-size: 1.05rem; }
.bg-pattern { background-color: var(--bg); background-image: radial-gradient(rgba(21, 101, 224, .08) 1px, transparent 1px); background-size: 22px 22px; }

/* ---------- Cartes ---------- */
.card-x { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; height: 100%; overflow: hidden; position: relative; }
.card-x:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(21, 101, 224, .3); }
.service-card { padding: 2rem 1.6rem; }
.service-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service-card:hover::before { transform: scaleX(1); }
.icon-box { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; color: var(--brand); background: var(--brand-light); margin-bottom: 1.2rem; transition: .35s var(--ease); }
.card-x:hover .icon-box { background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .6rem; }
.service-card p { color: var(--muted); font-size: .95rem; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.link-arrow i { transition: transform .25s; }
.link-arrow:hover i { transform: translateX(4px); }
.stretched-link:focus-visible { outline: 3px solid var(--accent); }

.media-card .media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--brand)); }
.media-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.media-card:hover .media img { transform: scale(1.06); }
.media-card .media .placeholder-icon { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .85); font-size: 3rem; }
.media-card .media .placeholder-icon::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 28px 28px; }
.media-card .body { padding: 1.4rem 1.4rem 1.6rem; }
.media-card h3 { font-size: 1.1rem; font-weight: 700; }
.media-card .badge-float { position: absolute; top: 14px; left: 14px; }
.meta-list { list-style: none; padding: 0; margin: .8rem 0 1rem; display: grid; gap: .35rem; color: var(--muted); font-size: .9rem; }
.meta-list i { width: 18px; color: var(--brand); }
.price-tag { font-family: var(--font-head); font-weight: 800; color: var(--brand); font-size: 1.25rem; }
.badge-demo { background: #fff4d6; color: #8a5a00; border: 1px solid #f6d58b; font-weight: 600; font-size: .7rem; letter-spacing: .04em; }
.badge { border-radius: 999px; padding: .45em .8em; }

/* ---------- À propos ---------- */
.about-visual { position: relative; border-radius: 24px; overflow: hidden; background: linear-gradient(145deg, var(--navy), var(--brand)); padding: 2.2rem; color: #fff; box-shadow: var(--shadow-lg); }
.about-visual img { width: 180px; border-radius: 50%; background: #fff; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.check-list { list-style: none; padding: 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list i { color: var(--brand); margin-top: .25rem; }
.value-card { padding: 1.8rem; text-align: center; }
.value-card .icon-box { margin: 0 auto 1rem; }

/* ---------- Statistiques ---------- */
.stats { background: linear-gradient(135deg, var(--navy) 0%, var(--brand-700) 100%); color: #fff; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 20px 20px; }
.stat { text-align: center; position: relative; padding: 1rem; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1; }
.stat .label { color: var(--silver); margin-top: .5rem; font-weight: 500; }
.stat i { font-size: 1.6rem; color: var(--accent); margin-bottom: .8rem; }

/* ---------- Témoignages ---------- */
.testimonial { padding: 2rem; }
.testimonial .quote { font-size: 2.4rem; color: var(--brand-light); position: absolute; top: 1rem; right: 1.4rem; }
.testimonial .stars { color: #f5b301; font-size: .85rem; }
.testimonial .avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font-weight: 700; object-fit: cover; }

/* ---------- Contact ---------- */
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; }
.contact-card .icon-box { margin: 0; flex: none; width: 52px; height: 52px; font-size: 1.25rem; }
.contact-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.form-card { padding: 2rem; }
.form-control, .form-select { border-radius: var(--radius-sm); padding: .75rem 1rem; border-color: var(--line); }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .25rem rgba(21, 101, 224, .15); }
.form-label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.map-frame { border: 0; width: 100%; height: 380px; border-radius: var(--radius); filter: saturate(.9); }

/* ---------- CTA ---------- */
.cta { border-radius: 28px; padding: 3.5rem 2rem; color: #fff; text-align: center; background: radial-gradient(600px 300px at 90% 0%, rgba(255, 255, 255, .15), transparent 60%), linear-gradient(135deg, var(--brand-700), var(--brand) 60%, var(--accent)); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta h2 { color: #fff; font-weight: 800; }
.cta p { color: rgba(255, 255, 255, .85); }

/* ---------- Galerie + lightbox ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2rem; }
.gallery-filters .btn { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.gallery-filters .btn.active, .gallery-filters .btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--navy); border: 0; padding: 0; display: block; width: 100%; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item .cap { position: absolute; inset: auto 0 0 0; padding: 1rem; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(6, 20, 46, .9)); transform: translateY(30%); opacity: 0; transition: .35s var(--ease); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.08); }
.gallery-item:hover .cap, .gallery-item:focus-visible .cap { transform: none; opacity: 1; }
@media (hover: none) { .gallery-item .cap { transform: none; opacity: 1; } }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(6, 20, 46, .94); display: none; align-items: center; justify-content: center; padding: 60px 16px; }
.lightbox.open { display: flex; animation: fadeIn .25s; }
.lightbox img { max-width: min(1100px, 100%); max-height: 78vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox .lb-caption { position: absolute; bottom: 18px; left: 16px; right: 16px; text-align: center; color: #fff; }
.lightbox .lb-caption small { color: var(--silver); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.2rem; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Article ---------- */
.article-body { font-size: 1.08rem; line-height: 1.8; color: #2a3a52; }
.article-body p { margin-bottom: 1.2rem; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; box-shadow: var(--shadow); }
.sticky-side { position: sticky; top: calc(var(--nav-h) + 20px); }

/* ---------- Détail formation ---------- */
.info-tile { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--bg); }
.info-tile i { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); flex: none; }
.info-tile small { display: block; color: var(--muted); font-size: .78rem; }
.info-tile strong { color: var(--navy); }
.program-list { counter-reset: step; list-style: none; padding: 0; }
.program-list li { counter-increment: step; position: relative; padding: .7rem 0 .7rem 3rem; border-bottom: 1px dashed var(--line); }
.program-list li::before { content: counter(step); position: absolute; left: 0; top: .55rem; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-light); color: var(--brand); font-weight: 700; display: grid; place-items: center; font-size: .85rem; }

/* ---------- USDT ---------- */
.usdt-card { border-radius: 20px; }
.network-option { position: relative; }
.network-option input { position: absolute; opacity: 0; }
.network-option label { display: flex; align-items: center; gap: .8rem; padding: 1rem; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; transition: .2s; height: 100%; }
.network-option label:hover { border-color: rgba(21, 101, 224, .4); }
.network-option input:checked + label { border-color: var(--brand); background: var(--brand-light); box-shadow: 0 0 0 4px rgba(21, 101, 224, .12); }
.network-option input:focus-visible + label { outline: 3px solid var(--accent); }
.network-option .net-icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); font-weight: 800; font-size: .72rem; }
.summary-box { background: var(--navy); color: #fff; border-radius: 20px; padding: 1.8rem; position: relative; overflow: hidden; }
.summary-box::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; top: -90px; background: radial-gradient(rgba(47, 140, 255, .4), transparent 70%); }
.summary-box dl { display: grid; grid-template-columns: auto 1fr; gap: .7rem 1rem; margin: 0; position: relative; }
.summary-box dt { color: var(--silver); font-weight: 500; font-size: .9rem; }
.summary-box dd { margin: 0; text-align: right; font-weight: 600; word-break: break-all; }
.summary-box .total { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: .9rem; font-size: 1.25rem; }
.warning-box { display: flex; gap: .9rem; padding: 1rem 1.2rem; border-radius: 14px; background: #fff7e6; border: 1px solid #ffd98a; color: #7a4b00; }
.warning-box i { font-size: 1.3rem; margin-top: .15rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; word-break: break-all; }

.stepper { display: flex; gap: 0; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.stepper li { flex: 1; text-align: center; position: relative; font-size: .75rem; color: var(--muted); padding-top: 38px; }
.stepper li::before { content: ""; position: absolute; top: 14px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper li .dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: grid; place-items: center; z-index: 1; font-size: .7rem; color: var(--muted); }
.stepper li.done .dot { background: var(--brand); border-color: var(--brand); color: #fff; }
.stepper li.done::before, .stepper li.current::before { background: var(--brand); }
.stepper li.current .dot { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 5px rgba(21, 101, 224, .15); }
.stepper li.done, .stepper li.current { color: var(--navy); font-weight: 600; }
.stepper.is-failed li.current .dot { border-color: #dc3545; color: #dc3545; box-shadow: 0 0 0 5px rgba(220, 53, 69, .15); }
@media (max-width: 575.98px) { .stepper li span.lbl { display: none; } .stepper li { padding-top: 32px; } }

.auth-card { max-width: 480px; margin: 0 auto; }
.nav-pills-brand .nav-link { border-radius: 999px; color: var(--ink); font-weight: 600; }
.nav-pills-brand .nav-link.active { background: var(--brand); }

/* ---------- Tableaux responsives (cartes sur mobile) ---------- */
.table-cards td .lbl { display: none; }
@media (max-width: 767.98px) {
    .table-cards thead { display: none; }
    .table-cards, .table-cards tbody, .table-cards tr, .table-cards td { display: block; width: 100%; }
    .table-cards tr { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 1rem; padding: .6rem 1rem; box-shadow: var(--shadow-sm); }
    .table-cards td { border: 0; padding: .35rem 0; display: flex; justify-content: space-between; gap: 1rem; text-align: right; }
    .table-cards td .lbl { display: inline; color: var(--muted); font-weight: 600; text-align: left; flex: none; }
}

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .75); padding: 80px 0 0; position: relative; overflow: hidden; }
.footer-glow { position: absolute; width: 600px; height: 600px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(rgba(21, 101, 224, .35), transparent 65%); }
.footer-title { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1.2rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a { color: rgba(255, 255, 255, .7); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-links a { transition: .2s; }
.footer-contact { list-style: none; padding: 0; display: grid; gap: 1rem; }
.footer-contact li { display: flex; gap: .8rem; }
.footer-contact i { color: var(--accent); margin-top: .25rem; width: 16px; }
.footer-contact a { color: rgba(255, 255, 255, .8); }
.footer-contact a:hover { color: #fff; }
.social-links { display: flex; gap: .6rem; flex-wrap: wrap; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .08); transition: .25s; }
.social-links a:hover { background: var(--brand); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding: 1.4rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .9rem; }

/* ---------- Boutons flottants ---------- */
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 1050; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.9rem; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); transition: transform .25s; }
.whatsapp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.2s infinite; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
.whatsapp-tooltip { position: absolute; right: 70px; white-space: nowrap; background: var(--navy); color: #fff; font-size: .8rem; padding: .4rem .8rem; border-radius: 8px; opacity: 0; pointer-events: none; transition: .25s; }
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.back-to-top { position: fixed; right: 27px; bottom: 90px; z-index: 1040; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--brand); }

/* ---------- Animations au scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.from-left { transform: translateX(-30px); }
.reveal.from-right { transform: translateX(30px); }
.reveal.zoom { transform: scale(.94); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; } .delay-2 { transition-delay: .2s; } .delay-3 { transition-delay: .3s; } .delay-4 { transition-delay: .4s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Divers ---------- */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty-state i { font-size: 2.6rem; color: var(--silver); margin-bottom: 1rem; }
.pagination .page-link { border-radius: 10px !important; margin: 0 3px; border: 1px solid var(--line); color: var(--ink); }
.pagination .active .page-link { background: var(--brand); border-color: var(--brand); color: #fff; }
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 40px) 1rem 60px; }
.error-page .code { font-family: var(--font-head); font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 575.98px) {
    .section { padding: 64px 0; }
    .hero { min-height: auto; padding-bottom: 70px; }
    .hero .btn { width: 100%; }
    .form-card { padding: 1.4rem; }
    .whatsapp-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
    .back-to-top { right: 20px; bottom: 80px; }
    .hero-visual .chip { font-size: .72rem; padding: .4rem .7rem; }
}

/* Adresses email longues (ex. adresse professionnelle) : retour à la ligne propre */
.site-footer a[href^="mailto:"], .contact-info a[href^="mailto:"] { overflow-wrap: anywhere; }

/* ---------- Services avec photo ---------- */
.service-card.has-photo { padding: 0; }
.service-card .service-photo { position: relative; }
.service-card .service-photo .ph { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.service-card .service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-photo img { transform: scale(1.07); }
.service-card .service-photo .icon-box { position: absolute; left: 1.2rem; bottom: -26px; margin: 0; width: 54px; height: 54px; font-size: 1.3rem; background: #fff; box-shadow: var(--shadow); z-index: 2; }
.service-card.has-photo .service-body { padding: 2.2rem 1.6rem 1.8rem; }
.service-gallery { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.service-card.has-photo .service-body > .d-flex { justify-content: flex-end !important; min-height: 0; }

/* ---------- Bouton « Payez MonCash » ---------- */
.btn-payez-moncash { border: 0; background: transparent; padding: 0; display: inline-block; text-align: center; cursor: pointer; transition: transform .2s ease, filter .2s ease; }
.btn-payez-moncash img { display: block; width: 240px; max-width: 100%; height: auto; border-radius: 14px; box-shadow: 0 10px 24px rgba(227, 6, 19, .28); }
.btn-payez-moncash:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-payez-moncash:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 14px; }
.btn-payez-moncash[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.moncash-hint { display: flex; align-items: center; gap: .8rem; padding: .6rem .8rem; border-radius: 12px; background: #fff5f5; border: 1px solid #fde2e2; font-size: .85rem; color: #7a1b1b; }
.moncash-hint[hidden], .js-moncash-submit[hidden], .js-default-submit[hidden] { display: none !important; }
.moncash-hint img { width: 120px; height: auto; border-radius: 8px; flex: none; }

/* ---------- Bouton « Continuer avec Google » ---------- */
.btn-google { display: flex; align-items: center; justify-content: center; gap: .7rem; padding: .7rem 1rem; border: 1px solid #dadce0; border-radius: 999px; background: #fff; color: #3c4043; font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .15s, box-shadow .15s; }
.btn-google:hover { background: #f8faff; color: #202124; box-shadow: 0 1px 3px rgba(60, 64, 67, .25); }
.btn-google:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.auth-or { display: flex; align-items: center; gap: .8rem; margin: 1rem 0; color: var(--muted); font-size: .85rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Logos MonCash / NatCash : badges uniformes ---------- */
.pay-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; background: #fff; border: 1px solid #e3e8f0; border-radius: 10px; box-shadow: 0 1px 2px rgba(10, 31, 68, .08); vertical-align: middle; overflow: hidden; }
.pay-badge img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.pay-badge--natcash img { border-radius: 22%; }
.pay-badge--natcash { padding: 2px !important; } /* logo carré : il remplit la hauteur du badge */
.pay-badge--sm { width: 58px; height: 28px; padding: 3px 6px; border-radius: 7px; }
.pay-badge--md { width: 88px; height: 40px; padding: 4px 8px; }
.pay-badge--lg { width: 132px; height: 58px; padding: 6px 12px; border-radius: 12px; }
.pay-badge--moncash img { max-height: 38px; } /* fichier d'origine 114×38 : jamais agrandi (reste net) */
.meru-method-logo { display: inline-flex; align-items: center; }
.pm-logos { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.pm-logos-label { font-size: .8rem; color: var(--muted); }
/* Carte de choix sélectionnée : couleur de la marque + coche */
.meru-method-body, .topup-method { position: relative; }
.meru-method:has(input:checked):has(.pay-badge--moncash) .meru-method-body, .topup-method:has(input:checked):has(.pay-badge--moncash) { border-color: #c8102e !important; box-shadow: 0 0 0 3px rgba(200, 16, 46, .14) !important; background: #fff7f8 !important; }
.meru-method:has(input:checked):has(.pay-badge--natcash) .meru-method-body, .topup-method:has(input:checked):has(.pay-badge--natcash) { border-color: #f26a10 !important; box-shadow: 0 0 0 3px rgba(242, 106, 16, .16) !important; background: #fff8f2 !important; }
.meru-method:has(input:checked):has(.pay-badge) .meru-method-body::after, .topup-method:has(input:checked):has(.pay-badge)::after { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; top: 8px; right: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; color: #fff; background: #16a34a; }
/* Bandeau « Paiements acceptés » (pied de page) */
.footer-pay { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: 1rem 0 .2rem; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 1.5rem; }
.footer-pay-label { color: rgba(255, 255, 255, .6); font-size: .82rem; margin-right: .3rem; }
.footer-pay .pay-badge, .footer-pay .pay-chip { box-shadow: none; }
.pay-chip { display: inline-flex; align-items: center; gap: .35rem; height: 28px; padding: 0 .65rem; border-radius: 7px; background: #fff; color: #0a1f44; font-size: .78rem; font-weight: 600; }
.pay-chip i { color: #26a17b; }
.online-logos { display: flex; gap: .5rem; margin: -.2rem 0 1rem; }

/* ---------- Formation : ressources des étudiants (documents PDF, playlists vidéo) ---------- */
.fres { margin: 2.5rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.fres-state { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-size: .95rem; }
.fres-state > i { margin-top: .2rem; }
.fres-state.is-open { background: #ecfdf3; color: #166534; }
.fres-state.is-locked { background: var(--brand-light); color: var(--ink); }
.fres-state.is-locked > i { color: var(--brand); }
.fres-sub { font-size: 1.05rem; margin: 1.6rem 0 .8rem; display: flex; align-items: baseline; gap: .5rem; }
.fres-sub span { font-family: var(--font-body); font-size: .85rem; font-weight: 500; color: var(--muted); }
.fres-docs { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.fres-docs li { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; background: #fff; }
.fres-docs li + li { border-top: 1px solid var(--line); }
.fres-doc-ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: #fdecec; color: #c62828; font-size: 1.1rem; }
.fres-doc-txt { flex: 1 1 auto; min-width: 0; }
.fres-doc-txt strong { display: block; color: var(--navy); font-weight: 600; overflow-wrap: anywhere; }
.fres-doc-txt small { color: var(--muted); }
.fres-docs li.is-locked .fres-doc-ic { background: #eef1f6; color: #8a97ab; }
.fres-lock { flex: 0 0 auto; font-size: .82rem; color: var(--muted); white-space: nowrap; }
.fres-pl { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 1.25rem; overflow: hidden; }
.fres-pl-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: .4rem 1rem; padding: 1rem 1.15rem .85rem; }
.fres-pl-head h4 { font-size: 1rem; margin: 0; }
.fres-pl-head p { margin: .25rem 0 0; font-size: .9rem; color: var(--muted); }
.fres-count { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.fres-player { position: relative; aspect-ratio: 16 / 9; background: var(--navy-900); }
.fres-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fres-videos { list-style: none; margin: 0; padding: .35rem; max-height: 320px; overflow-y: auto; }
.fres-videos button, .fres-row { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .6rem .7rem; border: 0; border-radius: 8px; background: transparent; text-align: left; color: var(--ink); font-size: .92rem; }
.fres-videos button:hover { background: var(--bg); }
.fres-videos button:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.fres-videos button[aria-current] { background: var(--brand-light); color: var(--navy); font-weight: 600; }
.fres-n { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 600; background: var(--bg); color: var(--muted); font-variant-numeric: tabular-nums; }
.fres-videos button[aria-current] .fres-n { background: var(--brand); color: #fff; }
.fres-t { flex: 1 1 auto; min-width: 0; }
.fres-tag { flex: 0 0 auto; font-size: .72rem; font-weight: 600; color: #b91c1c; background: #fdecec; border-radius: 6px; padding: .1rem .45rem; }
.fres-pl.is-locked .fres-row { color: var(--muted); }
@media (max-width: 575.98px) {
    .fres-docs li { flex-wrap: wrap; }
    .fres-docs li .btn, .fres-lock { margin-left: calc(38px + .9rem); }
}

/* Confirmation intégrée (site public) : remplace les fenêtres « OK / Annuler » */
.confirm-tip { display: block; font-size: .8rem; color: #b91c1c; margin-top: .35rem; }

/* Œil afficher / masquer le mot de passe */
.pw-wrap { position: relative; }
.pw-wrap > input { padding-right: 2.9rem; }
.pw-wrap > .form-control.is-invalid, .was-validated .pw-wrap > .form-control:invalid, .pw-wrap > .form-control.is-valid { background-position: right 2.6rem center; }
.pw-eye { position: absolute; top: 0; right: 0; width: 2.75rem; height: 2.6rem; display: grid; place-items: center; border: 0; background: transparent; color: #64748b; border-radius: 0 .5rem .5rem 0; cursor: pointer; }
.pw-eye:hover, .pw-eye:focus-visible { color: #1565e0; }
.pw-eye:focus-visible { outline: 2px solid #1565e0; outline-offset: -4px; }


/* ---------- Bandeau « Installer l'application » (téléphone) ---------- */
.app-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1090; display: flex; align-items: center; gap: .75rem; padding: .75rem .75rem .75rem .85rem;
    background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 18px 48px rgba(10, 31, 68, .28); border: 1px solid var(--line);
    transform: translateY(140%); opacity: 0; transition: transform .35s var(--ease), opacity .35s; max-width: 520px; margin: 0 auto; }
.app-banner.show { transform: none; opacity: 1; }
.app-banner img { border-radius: 12px; flex: none; background: #fff; }
.app-banner-text { flex: 1; min-width: 0; line-height: 1.2; }
.app-banner-text strong { display: block; color: var(--navy); font-size: .95rem; }
.app-banner-text span { display: block; color: var(--muted); font-size: .8rem; }
.app-banner .btn { flex: none; padding: .5rem 1rem; }
.app-banner-close { flex: none; border: 0; background: transparent; color: var(--muted); font-size: 1.5rem; line-height: 1; width: 32px; height: 32px; border-radius: 50%; }
.app-banner-close:hover { background: var(--bg); }
@media (display-mode: standalone) { .js-app-install-li { display: none !important; } }
.app-banner.is-steps { align-items: flex-start; }
.app-banner.is-steps .app-banner-text span { margin-top: .25rem; color: var(--ink); }
