/* ==========================================================
   Axe Finances — feuille de style du site public
   Bleu nuit #0B2545 · accent orange #C2410C · titres Source Serif 4 · texte Inter · logo Comfortaa
   ========================================================== */
:root {
    --navy: #0B2545; --navy-2: #13315A; --ink: #14171C; --text: #2B2F36; --muted: #5B6270;
    --rule: #E3E5E8; --grey: #F4F5F7; --accent: #C2410C; --accent-2: #FB8B4F; --accent-soft: #FFF1EA;
    --up: #0F7B3F; --down: #B42318; --om: #FF7900; --momo: #FFCC00;
    --bs-body-font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    --bs-body-color: var(--ink); --bs-link-color: var(--ink); --bs-link-hover-color: var(--accent);
}
body { font-family: Inter, system-ui, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
.serif { font-family: "Source Serif 4", Georgia, serif; }
h1, h2, h3, .h1, .h2, .h3 { font-family: "Source Serif 4", Georgia, serif; font-weight: 700; }
.text-accent { color: var(--accent) !important; }
.text-navy { color: var(--navy) !important; }
.link-navy { color: var(--navy); text-decoration: underline; }
.meta { font-size: 12px; color: var(--muted); }
.kicker { font: 700 11px/1.2 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.kicker-light { color: #FDBA8C; }
.badge-premium { display: inline-flex; align-items: center; gap: 4px; font: 600 11px Inter, sans-serif; color: var(--accent); background: var(--accent-soft); padding: 3px 7px; border-radius: 3px; white-space: nowrap; }
.badge-premium .bi { font-size: 10px; }
.skip-link { position: absolute; left: 8px; top: 8px; z-index: 2000; background: #fff; padding: 8px 12px; }
.display-title { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; }

/* Boutons */
.btn-navy { --bs-btn-bg: var(--navy); --bs-btn-border-color: var(--navy); --bs-btn-color: #fff; --bs-btn-hover-bg: #081B33; --bs-btn-hover-border-color: #081B33; --bs-btn-hover-color: #fff; --bs-btn-active-bg: #081B33; --bs-btn-disabled-bg: var(--navy); }
.btn-accent { --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent); --bs-btn-color: #fff; --bs-btn-hover-bg: #9A3412; --bs-btn-hover-border-color: #9A3412; --bs-btn-hover-color: #fff; --bs-btn-active-bg: #9A3412; --bs-btn-disabled-bg: var(--accent); --bs-btn-disabled-color: #fff; }
.btn-outline-navy { --bs-btn-color: var(--navy); --bs-btn-border-color: var(--navy); --bs-btn-hover-bg: var(--navy); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: var(--navy); }
.btn-om { background: var(--om); color: #fff; font-weight: 700; padding: 12px 20px; }
.btn-om:hover { background: #e56d00; color: #fff; }
.btn-momo { background: var(--momo); color: var(--ink); font-weight: 700; padding: 12px 20px; }
.btn-momo:hover { background: #e8b900; color: var(--ink); }
.btn-whatsapp { background: #1DA851; color: #fff; font-weight: 700; }
.btn-whatsapp:hover { background: #158a42; color: #fff; }
.btn-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--rule); border-radius: 4px; background: #fff; font-size: 20px; color: var(--ink); }
.pill-om { background: var(--om); color: #fff; font: 700 12px Inter; padding: 3px 8px; border-radius: 3px; }
.pill-momo { background: var(--momo); color: var(--ink); font: 700 12px Inter; padding: 3px 8px; border-radius: 3px; }

/* Logo */
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-arc { width: calc(var(--s) * 4.75); height: calc(var(--s) * .373); fill: var(--navy); display: block; margin-bottom: -1px; }
.logo-word { font-family: Comfortaa, "Quicksand", sans-serif; font-size: var(--s); font-weight: 500; letter-spacing: -.02em; color: var(--navy); white-space: nowrap; }
.logo-word .acc { color: var(--accent); }
.logo-word .fin { font-weight: 400; }
.logo-slogan { font-family: Quicksand, sans-serif; font-weight: 500; font-size: max(10px, calc(var(--s) * .22)); letter-spacing: .06em; color: #4E6F8F; margin-top: calc(var(--s) * .15); white-space: nowrap; }
.logo-dark .logo-arc { fill: #fff; }
.logo-dark .logo-word { color: #fff; }
.logo-dark .logo-word .acc { color: var(--accent-2); }
.logo-dark .logo-slogan { color: #C9D4E3; }

/* Barre utilitaire + en-tête */
.topbar { background: var(--navy); color: #fff; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--accent-2); }
.topbar-muted { color: #AFC0D6; }
.topbar-sep { width: 1px; height: 16px; background: #3B5578; }
.social-mini a { font-size: 14px; }
.site-header { border-bottom: 1px solid var(--ink); background: #fff; }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 12px; }
.site-header.is-home .header-row { padding-top: 22px; padding-bottom: 16px; }
.header-left { display: flex; align-items: center; gap: 12px; }
.header-right { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.header-search { align-items: center; gap: 8px; border: 1px solid var(--rule); border-radius: 4px; padding: 0 12px; height: 44px; color: var(--muted); }
.header-search input { border: 0; outline: 0; font-size: 14px; width: 220px; }
.brand { color: var(--navy); }
.today-edition { align-items: center; gap: 10px; border: 1px solid var(--rule); border-radius: 4px; padding: 6px 12px 6px 6px; font-size: 12px; line-height: 1.3; }
.today-edition img { object-fit: cover; }
.main-nav { border-top: 1px solid var(--rule); }
.main-nav .container-xl { display: flex; flex-wrap: wrap; gap: 0 22px; font-size: 14px; font-weight: 600; }
.main-nav a { padding: 13px 0; border-bottom: 3px solid transparent; }
.main-nav a.active { color: var(--accent); border-bottom-color: var(--accent); }
.mobile-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--rule); font-weight: 600; }
@media (max-width: 575.98px) {
    .logo-responsive { --s: 26px !important; }
    .site-header.is-home .logo-responsive { --s: 30px !important; }
    .site-header.is-home .logo-slogan { font-size: 8.5px; }
}

/* Ticker */
.ticker { background: var(--grey); border-bottom: 1px solid var(--rule); font-size: 12px; }
.ticker-inner { display: flex; align-items: center; gap: 20px; padding-top: 9px; padding-bottom: 9px; overflow: hidden; }
.ticker-title { font-weight: 700; color: var(--navy); flex: none; }
.ticker-track { display: flex; gap: 26px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.ticker-track::-webkit-scrollbar { display: none; }
.ticker .up { color: var(--up); }
.ticker .down { color: var(--down); }

/* Flash + titres de section */
.flash-bar { display: flex; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 14px; flex-wrap: wrap; }
.flash-badge { background: var(--down); color: #fff; font: 700 11px Inter; letter-spacing: .08em; padding: 4px 8px; border-radius: 2px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 3px solid var(--navy); padding-top: 10px; margin-bottom: 20px; }
.section-head h2 { margin: 0; font-size: 26px; }
.section-head.sm h2 { font-size: 22px; }
.section-head a { font-size: 13px; font-weight: 600; color: var(--accent); }
.box-title { font: 700 13px Inter; letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 4px; }
@media (min-width: 992px) { .border-start-lg { border-left: 1px solid var(--rule); } }
.border-bottom-ink { border-bottom: 1px solid var(--ink); }

/* Cartes d'articles */
.art-tile-img { display: block; overflow: hidden; background: #DCE2E9; position: relative; border-radius: 2px; }
.art-tile-img img, .art-row-img img, .art-thumb-img img, .art-video-img img, .slide-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.art-tile-img:hover img, .art-row-img:hover img, .art-video-img:hover img { transform: scale(1.03); }
.r-3x2 { aspect-ratio: 3 / 2; } .r-16x9 { aspect-ratio: 16 / 9; } .r-16x10 { aspect-ratio: 16 / 10; }
.art-tile-title { font-size: 19px; line-height: 1.3; margin: 6px 0; }
.art-tile-title.lg { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; }
.art-tile-sum { font-family: "Source Serif 4", Georgia, serif; font-size: 17px; line-height: 1.5; color: var(--text); margin-bottom: 8px; }
.art-row { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.art-row-img { flex: none; width: 240px; aspect-ratio: 3 / 2; overflow: hidden; background: #DCE2E9; position: relative; }
.art-row-title { font-size: 23px; line-height: 1.25; margin: 8px 0; }
.art-row-sum { font-size: 15px; line-height: 1.5; color: var(--text); margin-bottom: 8px; }
.art-compact { padding: 12px 0; border-top: 1px solid var(--rule); }
.art-compact > a { font-size: 16px; font-weight: 600; line-height: 1.35; display: block; }
.art-thumb { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.art-thumb:last-child { border-bottom: 0; }
.art-thumb-img { flex: none; width: 88px; height: 60px; overflow: hidden; background: #DCE2E9; }
.art-thumb-title { font-size: 15px; font-weight: 600; line-height: 1.35; }
.art-video-img { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #1E2A3B; border-radius: 2px; }
.art-video h3 { font-size: 18px; line-height: 1.3; margin-top: 10px; }
.play { position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.play-mini { position: absolute; left: 8px; bottom: 8px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; }
.art-opinion { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.art-opinion:last-child { border-bottom: 0; }
.opinion-author { font-size: 12px; font-weight: 600; color: var(--accent); }
.opinion-title { font-size: 18px; font-style: italic; line-height: 1.3; display: block; margin-top: 4px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: #DCE2E9; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; font: 700 14px Inter; flex: none; }
.avatar-lg { width: 72px; height: 72px; font-size: 20px; }
@media (max-width: 575.98px) {
    .art-row { flex-direction: column; gap: 10px; }
    .art-row-img { width: 100%; }
    .art-row-title { font-size: 20px; }
}

/* Slider À la une */
.slider-label { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--down); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .3 } }
.slider-viewport { position: relative; overflow: hidden; }
.slider-track { display: flex; transition: transform .7s cubic-bezier(.65, 0, .35, 1); }
.slide { flex: 0 0 100%; display: block; color: var(--ink); }
.slide-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #DCE2E9; border-radius: 2px; }
.slide-cat { position: absolute; left: 16px; top: 16px; background: var(--accent); color: #fff; font: 700 11px Inter; letter-spacing: .08em; padding: 5px 9px; border-radius: 2px; }
.slide-title { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; margin: 10px 0 12px; min-height: 2.2em; }
.slide-sum { font-size: 19px; line-height: 1.5; color: var(--text); margin-bottom: 10px; }
.slider-arrow { position: absolute; top: 22%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); box-shadow: 0 4px 14px rgba(0,0,0,.18); color: var(--navy); font-size: 20px; display: flex; align-items: center; justify-content: center; }
.slider-arrow.prev { left: 14px; } .slider-arrow.next { right: 14px; }
.slider-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.slider-thumb { text-align: left; background: none; border: 0; padding: 0; font-size: 13px; line-height: 1.35; font-weight: 600; color: var(--muted); }
.slider-thumb.active { color: var(--ink); }
.slider-thumb .bar { display: block; height: 3px; background: var(--rule); margin-bottom: 10px; }
.slider-thumb .bar span { display: block; height: 3px; background: var(--accent); transition: width .4s; }
.slider-thumb .t { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 575.98px) { .slider-thumb .t { display: none; } .slider-arrow { top: 16%; width: 40px; height: 40px; } }

/* Les plus lus */
.most-read { list-style: none; padding: 0; margin: 0; }
.most-read li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.most-read li:last-child { border-bottom: 0; }
.most-read .rank { font-size: 30px; color: var(--accent); line-height: 1; }
.most-read a { font-size: 16px; line-height: 1.35; font-weight: 600; }

/* Bandeaux */
.band-navy { background: var(--navy); color: #fff; }
.band-grey { background: var(--grey); }
.band-text { color: #C9D4E3; }
.band-cover { width: 150px; aspect-ratio: 1221 / 1600; object-fit: cover; box-shadow: 0 10px 30px rgba(0,0,0,.35); flex: none; }
.offer-card { background: #fff; color: var(--ink); border-radius: 6px; padding: 28px; }
.pb-6 { padding-bottom: 6rem; }

/* Newsletter */
.newsletter-box { border: 1px solid var(--rule); border-top: 3px solid var(--accent); padding: 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }

/* Publicité : cadre fixe, jamais de débordement */
.ad-slot { width: 100%; margin-left: auto; margin-right: auto; }
.ad-label { font: 600 10px Inter; letter-spacing: .1em; color: #8A919C; margin-bottom: 4px; }
.ad-frame { width: 100%; overflow: hidden; background: var(--grey); border: 1px solid var(--rule); box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.ad-frame > a { display: block; width: 100%; height: 100%; }
.ad-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ad-frame ins { max-width: 100%; }
.ad-google-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 8px; font-size: 12px; color: var(--muted); background: repeating-linear-gradient(45deg, #F7F8FA 0 10px, #EEF1F5 10px 20px); }
.ad-google-placeholder strong { color: #3C4250; font-size: 13px; }

/* Page article */
.crumbs { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs-light, .crumbs-light a { color: #AFC0D6; }
.article-col { max-width: 820px; }
.article-title { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; margin: 12px 0 16px; }
.article-lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--text); }
.article-byline { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 14px 0; }
.article-figure { margin: 24px 0 28px; }
.article-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #DCE2E9; }
.article-figure figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }
.article-body { font-family: "Source Serif 4", Georgia, serif; font-size: 19px; line-height: 1.7; color: #22262C; position: relative; }
.article-body p { margin-bottom: 22px; }
.article-body h2 { font-size: 28px; margin: 36px 0 16px; }
.article-body h3 { font-size: 22px; margin: 28px 0 12px; }
.article-body a { color: var(--navy); text-decoration: underline; }
.article-body blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--accent); }
.article-body blockquote p { font-size: 25px; line-height: 1.35; font-style: italic; color: var(--navy); margin: 0; }
.article-body img { max-width: 100%; height: auto; }
.article-body iframe { max-width: 100%; }
.article-body > p:first-of-type::first-letter { float: left; font-size: 64px; line-height: .85; font-weight: 700; margin: 6px 10px 0 0; color: var(--navy); }
.article-body.is-locked::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.article-aside { display: flex; flex-direction: column; gap: 32px; padding-top: 36px; }
.tag { border: 1px solid #C9CED6; border-radius: 20px; padding: 6px 14px; font-size: 13px; }
.share-panel { background: var(--grey); border-radius: 4px; padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.author-box { display: flex; gap: 16px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 20px 0; margin-bottom: 40px; }
.kiosk-mini { background: var(--navy); border-radius: 4px; padding: 24px; }
.kiosk-mini img { object-fit: cover; flex: none; }

/* Partage */
.share-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share-label { font-size: 12px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.share-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 0; color: #fff; font-size: 16px; }
.share-btn:hover { color: #fff; opacity: .88; }
.sb-fb { background: #1877F2; } .sb-x { background: #14171C; } .sb-in { background: #0A66C2; } .sb-wa { background: #1DA851; } .sb-tg { background: #229ED9; }
.sb-mail, .sb-copy, .sb-save { background: var(--grey); color: var(--ink); }
.sb-mail:hover, .sb-copy:hover, .sb-save:hover { color: var(--accent); }
.sb-save.is-saved { color: var(--accent); }

/* Paywall */
.paywall-box { border: 1px solid var(--rule); border-top: 4px solid var(--accent); border-radius: 4px; padding: 32px; text-align: center; margin-bottom: 40px; }
.paywall-box h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 10px 0 8px; }
.plan-mini { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--rule); border-radius: 4px; padding: 18px; height: 100%; position: relative; color: var(--ink); }
.plan-mini.highlight { border: 2px solid var(--navy); }
.plan-mini-badge { position: absolute; top: -11px; left: 16px; background: var(--navy); color: #fff; font: 700 10px Inter; letter-spacing: .06em; padding: 4px 8px; border-radius: 2px; }

/* Contenu protégé (anti-copie) */
.protected-content { -webkit-user-select: none; -moz-user-select: none; user-select: none; -webkit-touch-callout: none; }
.protected-content img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.copy-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 6px; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); opacity: 0; transition: all .25s; z-index: 3000; pointer-events: none; }
.copy-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media print { .protected-content, .paywall-box { display: none !important; } body::after { content: "Impression désactivée — Axe Finances"; display: block; padding: 40px; font-size: 20px; } }

/* Rubrique & recherche */
.rubrique-title { font-size: clamp(36px, 5vw, 52px); color: var(--navy); margin: 8px 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--rule); padding-bottom: 16px; }
.chip { border: 1px solid #C9CED6; padding: 8px 16px; border-radius: 20px; font-size: 14px; display: inline-block; }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 600; }
.chip-ghost { color: var(--muted); }
.chip-white { background: #fff; padding: 6px 12px; font-size: 13px; }
.cta-box { border: 1px solid var(--rule); border-top: 4px solid var(--accent); padding: 22px; border-radius: 4px; }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.social-grid a { color: #fff; padding: 12px; border-radius: 3px; font-size: 13px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.social-grid a:hover { color: #fff; opacity: .9; }
.sg-fb { background: #1877F2; } .sg-yt { background: #CC0000; } .sg-in { background: #0A66C2; } .sg-x { background: #14171C; } .sg-wa { background: #1DA851; } .sg-tt { background: #0F1115; }
.pagination-axf .page-link { color: var(--ink); min-width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.pagination-axf .active .page-link { background: var(--navy); border-color: var(--navy); color: #fff; }
.search-hero { background: var(--grey); border-bottom: 1px solid var(--rule); margin-bottom: 8px; }
.search-big { display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--navy); border-radius: 4px; padding: 0 16px; height: 60px; font-size: 20px; color: var(--navy); }
.search-big input { flex: 1; border: 0; outline: 0; font: 500 20px Inter; min-width: 0; }
.filter-title { font: 700 12px Inter; letter-spacing: .06em; text-transform: uppercase; margin: 22px 0 8px; }
.filter-check { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 5px 0; }
.filter-check input { width: 18px; height: 18px; accent-color: var(--navy); }
.search-result { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
.sr-img { flex: none; width: 200px; aspect-ratio: 3 / 2; overflow: hidden; position: relative; background: #DCE2E9; }
.sr-img img, .sr-cover img { width: 100%; height: 100%; object-fit: cover; }
.sr-cover { flex: none; width: 110px; aspect-ratio: 3 / 4; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.sr-title { font-size: 22px; line-height: 1.25; margin: 8px 0; }
.sr-sum { font-size: 15px; line-height: 1.5; color: var(--text); margin-bottom: 8px; }
mark { background: #FFE4D6; padding: 0 2px; }
.alert-box { background: var(--grey); border-radius: 6px; padding: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
@media (max-width: 575.98px) { .search-result { flex-direction: column; } .sr-img { width: 100%; } }

/* Kiosque & coverflow 3D */
.kiosk-hero-cover { width: 100%; max-width: 260px; aspect-ratio: 1221 / 1600; object-fit: cover; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.kiosk-title { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.12; }
.kiosk-tabs .nav-link { color: var(--ink); font-weight: 600; }
.kiosk-tabs .nav-link.active { color: var(--accent); border-bottom-color: var(--accent); }
.cover { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 0 6px 18px rgba(11,37,69,.18); display: block; }
.cover-gen { display: flex; flex-direction: column; justify-content: space-between; padding: 12px; font-size: 13px; line-height: 1.25; }
.coverflow { position: relative; height: 440px; perspective: 1300px; overflow: hidden; background: var(--navy); border-radius: 8px 8px 0 0; outline: none; touch-action: pan-y; }
.coverflow-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: #081B33; }
.cf-item { position: absolute; left: 50%; top: 48px; width: 220px; margin-left: -110px; border: 0; padding: 0; background: none; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .6s; }
.cf-cover { position: relative; aspect-ratio: 3 / 4; border-radius: 3px; box-shadow: 0 24px 50px rgba(0,0,0,.45); display: flex; flex-direction: column; justify-content: space-between; padding: 18px; text-align: left; overflow: hidden; }
.cf-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cf-type { font: 700 10px Inter; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.cf-title { font-size: 21px; font-weight: 700; line-height: 1.2; }
.cf-brand { font-family: Comfortaa, sans-serif; font-size: 12px; opacity: .8; }
.cf-reflect { display: block; height: 70px; margin-top: 4px; border-radius: 3px; opacity: .16; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.cf-arrow { position: absolute; top: 170px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #3B5578; background: var(--navy); color: #fff; z-index: 30; font-size: 20px; }
.cf-arrow.prev { left: 20px; } .cf-arrow.next { right: 20px; }
.cf-hint { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #AFC0D6; font-size: 12px; z-index: 30; }
.cf-caption { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 8px 8px; padding: 20px 24px; }
@media (max-width: 575.98px) { .coverflow { height: 380px; } .cf-item { width: 170px; margin-left: -85px; } .cf-hint { display: none; } }
.how-it-works { background: var(--grey); border-radius: 6px; padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.how-it-works .num { font-size: 34px; color: var(--accent); font-weight: 700; }
.how-it-works p { font-size: 14px; color: var(--muted); margin: 6px 0 0; }

/* Abonnement & paiement */
.subscribe-page { background: var(--grey); min-height: 60vh; }
.plan-card { width: 100%; text-align: left; background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 22px; display: flex; flex-direction: column; gap: 10px; position: relative; min-height: 270px; transition: border-color .2s, box-shadow .2s; }
.plan-card:hover { box-shadow: 0 8px 24px rgba(11,37,69,.08); }
.plan-card.selected { border: 2px solid var(--navy); background: #F7F9FC; }
.plan-card .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #C9CED6; }
.plan-card.selected .radio { border: 6px solid var(--navy); }
.plan-badge { position: absolute; top: -11px; left: 18px; background: var(--accent); color: #fff; font: 700 10px Inter; letter-spacing: .06em; padding: 4px 8px; border-radius: 2px; }
.plan-sep { height: 1px; background: var(--rule); width: 100%; }
.plan-feat { display: flex; gap: 8px; font-size: 14px; color: var(--text); }
.plan-feat .bi { color: var(--up); font-size: 16px; }
.enterprise-box { background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 20px 22px; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.pay-panel { background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 26px; }
.pay-summary { background: var(--grey); border-radius: 4px; padding: 14px; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 18px; }
.op-btn { width: 100%; height: 60px; border-radius: 4px; border: 1px solid #C9CED6; background: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font: 700 14px Inter; }
.op-btn.active.om { border: 2px solid var(--om); }
.op-btn.active.momo { border: 2px solid #E0B400; }
.op-logo { width: 28px; height: 28px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font: 700 10px Inter; flex: none; }
.op-logo.lg { width: 40px; height: 40px; font-size: 12px; border-radius: 6px; }
.op-logo.om { background: var(--om); color: #fff; }
.op-logo.momo { background: var(--momo); color: var(--ink); }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: #E7F5EC; color: var(--up); font-size: 34px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.success-icon.failed { background: #FDECEA; color: var(--down); }
.faq { max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--rule); border-radius: 4px; padding: 18px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: 10px 0 0; color: var(--text); }

/* Compte */
.account-page { background: var(--grey); min-height: 70vh; }
.card-axf { background: #fff; border: 1px solid var(--rule); border-radius: 6px; }
.border-top-success { border-top: 4px solid var(--up); }
.account-nav a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 4px; font-size: 14px; }
.account-nav a.active, .account-nav a:hover { background: #EEF2F7; color: var(--navy); }
.table-axf th { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.table-axf td { font-size: 14px; white-space: nowrap; }
.status-pill { font: 600 12px Inter; padding: 3px 8px; border-radius: 3px; white-space: nowrap; }
.status-pill.ok { background: #E7F5EC; color: var(--up); }
.status-pill.ko { background: #FDECEA; color: var(--down); }
.status-pill.wait { background: #FFF7DB; color: #8A5A00; }

/* Connexion */
.login-page { display: flex; flex-wrap: wrap; min-height: 100vh; }
.login-brand { flex: 1 1 420px; background: var(--navy); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.login-brand h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; margin-bottom: 24px; max-width: 460px; }
.login-benefits { list-style: none; padding: 0; color: #C9D4E3; font-size: 16px; }
.login-benefits li { display: flex; gap: 12px; margin-bottom: 12px; }
.login-benefits .bi { color: var(--accent-2); font-size: 20px; }
.login-form-wrap { flex: 1 1 480px; display: flex; align-items: center; justify-content: center; padding: 48px 20px; }
.login-card { width: 100%; max-width: 420px; }
.login-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); margin-bottom: 24px; }
.login-tabs a { text-align: center; padding: 12px; font-weight: 600; border-bottom: 3px solid transparent; }
.login-tabs a.active { border-bottom-color: var(--accent); }
.btn-social { border: 1px solid #C9CED6; background: #fff; height: 50px; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; }
.g-logo { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #4285F4; color: #4285F4; font: 700 12px Inter; display: inline-flex; align-items: center; justify-content: center; }
.login-sep { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.login-sep::before, .login-sep::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.demo-accounts { margin-top: 24px; background: var(--grey); border-radius: 6px; padding: 14px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.demo-accounts b { color: var(--ink); }
@media (max-width: 767.98px) { .login-brand { padding: 28px; gap: 20px; } .login-brand h1, .login-benefits { display: none; } }

/* Contact */
.contact-wrap { margin-top: -56px; }
.shadow-soft { box-shadow: 0 12px 32px rgba(11,37,69,.08); }
.subject-option { display: flex; gap: 8px; align-items: center; border: 1px solid #C9CED6; border-radius: 4px; padding: 12px; font-size: 14px; cursor: pointer; height: 100%; }
.subject-option:has(input:checked) { border: 2px solid var(--navy); font-weight: 600; }
.icon-circle { width: 44px; height: 44px; border-radius: 50%; background: #EEF2F7; color: var(--navy); display: flex; align-items: center; justify-content: center; flex: none; font-size: 18px; }
.map-box { background: #DCE2E9; border-radius: 6px; height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #4A5260; font-size: 13px; }
.legal-text h2 { font-size: 22px; margin-top: 28px; }

/* Pied de page */
.site-footer { background: #0A1626; color: #C9D4E3; font-size: 14px; }
.site-footer a { color: #C9D4E3; }
.site-footer a:hover { color: #fff; }
.footer-title { color: #fff; font-weight: 600; margin-bottom: 12px; }
.footer-link { display: block; padding: 4px 0; }
.footer-text { line-height: 1.6; }
.footer-social { width: 44px; height: 44px; border: 1px solid #2C3E57; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.footer-bottom { border-top: 1px solid #1F3048; padding: 18px 0; font-size: 12px; color: #8FA3BE; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }

#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 4000; }
#blazor-error-ui .dismiss { cursor: pointer; float: right; }
