/* ==========================================================
   Axe Finances — habillage « magazine » (v2) du site public
   Inspiration mise en page presse éco ; couleurs Axe Finances :
   accent orange #C2410C · bleu nuit #0B2545 · orange clair #FB8B4F
   Tout est limité à .pub : le back-office garde son apparence.
   ========================================================== */
.pub {
    --pub-font: Poppins, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    --radius: 10px;
    --shadow: 0 6px 24px rgba(11, 37, 69, .08);
    --shadow-lg: 0 14px 40px rgba(11, 37, 69, .14);
    font-family: var(--pub-font);
    color: var(--ink);
}
.pub h1, .pub h2, .pub h3, .pub .serif { font-family: var(--pub-font); }
.pub .container-xl { max-width: 1240px; }
.pub ::selection { background: var(--accent-soft); }

/* ---------- Pastilles / badges ---------- */
.cat-pill { display: inline-block; background: var(--accent); color: #fff !important; font: 700 12px/1 var(--pub-font); letter-spacing: .02em; text-transform: uppercase; padding: 8px 14px; border-radius: 6px; }
.cat-pill:hover { background: #9A3412; }
.cat-pill.sm { font-size: 11px; padding: 6px 12px; margin-bottom: 8px; }
.cat-pill.lg { font-size: clamp(15px, 1.6vw, 22px); padding: 10px 18px; border-radius: 6px; }
.prem-a { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 5px; background: var(--accent); color: #fff; font: 800 13px/1 Comfortaa, var(--pub-font); }
.prem-a.corner { position: absolute; left: 10px; top: 10px; width: 24px; height: 24px; box-shadow: 0 2px 8px rgba(0,0,0,.25); z-index: 2; }
.prem-chip { position: absolute; left: 16px; top: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--accent); font: 700 13px/1 var(--pub-font); letter-spacing: .02em; padding: 6px 12px 6px 6px; border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.prem-chip.static { position: static; box-shadow: none; border: 1px solid var(--rule); }
.card-time { font-size: 14px; color: #6B7A90; margin-top: 6px; }

/* Boutons « pilule » de l'en-tête */
.pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 6px; font: 700 13px/1 var(--pub-font); letter-spacing: .02em; border: 0; white-space: nowrap; transition: background .2s, transform .2s; }
.pill:hover { transform: translateY(-1px); }
.pill .bi { font-size: 15px; }
.pill-soft { background: #EEF2F7; color: var(--navy); }
.pill-soft:hover { background: #E1E8F1; color: var(--navy); }
.pill-accent { background: var(--accent); color: #fff; }
.pill-accent:hover { background: #9A3412; color: #fff; }
.pill-navy { background: var(--navy); color: #fff; }
.pill-navy:hover { background: #13315A; color: #fff; }
.pill-outline { background: #fff; border: 1px solid var(--rule); color: var(--ink); border-radius: 30px; font-weight: 500; height: 44px; padding: 0 22px; }
.pill-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Bandeau Breaking news ---------- */
.breaking { padding: 14px 0 4px; background: #fff; }
.breaking-row { display: flex; align-items: center; gap: 14px; }
.breaking-badge { flex: none; background: var(--accent); color: #fff; font: 800 13px/1 var(--pub-font); letter-spacing: .02em; padding: 10px 14px; border-radius: 6px; }
.breaking-viewport { flex: 1; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 94%, transparent); }
.breaking-track { display: inline-flex; white-space: nowrap; animation: axfMarquee 70s linear infinite; }
.breaking-viewport:hover .breaking-track { animation-play-state: paused; }
.breaking-item { font-size: 14.5px; color: var(--ink); padding: 0 16px; border-right: 1px solid var(--rule); }
.breaking-item b { font-weight: 700; margin-right: 4px; }
.breaking-cta { flex: none; align-items: center; background: var(--navy); color: #fff; font: 700 13px/1 var(--pub-font); padding: 10px 14px; border-radius: 6px; }
.breaking-cta:hover { background: #13315A; color: #fff; }
@keyframes axfMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .breaking-track { animation: none; } .breaking-viewport { overflow-x: auto; } }

/* ---------- En-tête collant ---------- */
.pub-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--rule); }
.pub-header-row { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.pub-header .brand { display: inline-flex; color: var(--navy); }
.pub-header .logo-word { font-weight: 600; }
.btn-burger { border: 0; background: none; font-size: 28px; color: var(--navy); padding: 0; line-height: 1; }
.pub-primary { gap: 28px; align-self: stretch; }
.pub-primary a { position: relative; display: flex; align-items: center; font: 500 15px/1 var(--pub-font); color: var(--ink); letter-spacing: .02em; }
.pub-primary a::before { content: ""; position: absolute; top: 20px; left: 0; width: 0; height: 4px; border-radius: 4px; background: var(--accent); transition: width .25s; }
.pub-primary a.active::before, .pub-primary a:hover::before { width: 46px; }
.pub-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.btn-search { width: 44px; height: 44px; border: 0; background: none; color: var(--accent); font-size: 21px; border-radius: 50%; }
.btn-search:hover { background: var(--accent-soft); }
.search-drop { display: flex; align-items: center; gap: 12px; padding: 14px 12px 18px; }
.search-drop .bi { color: var(--muted); font-size: 18px; }
.search-drop input { flex: 1; border: 0; border-bottom: 2px solid var(--rule); font-size: 18px; padding: 8px 2px; outline: 0; font-family: var(--pub-font); }
.search-drop input:focus { border-color: var(--accent); }
.read-progress { position: absolute; left: 0; right: 0; bottom: -3px; height: 4px; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 0 3px 3px 0; transition: width .1s linear; }
.markets-menu { min-width: 300px; padding: 10px 0; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.markets-title { font: 700 12px var(--pub-font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 4px 16px 8px; }
.markets-line { display: flex; justify-content: space-between; gap: 16px; padding: 7px 16px; font-size: 13.5px; border-top: 1px solid #F0F2F5; }
.markets-line small { display: block; font-size: 11.5px; }
.markets-line .up { color: var(--up); } .markets-line .down { color: var(--down); }

/* Barre des rubriques */
.cat-bar { border-bottom: 1px solid var(--rule); background: #fff; }
.cat-bar-row { display: flex; align-items: center; gap: 8px; }
.cat-scroll { flex: 1; display: flex; gap: 34px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; padding: 20px 0; }
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-scroll a { font: 400 16px/1.2 var(--pub-font); color: var(--ink); }
.cat-scroll a:hover, .cat-scroll a.active { color: var(--accent); font-weight: 600; }
.cat-next { flex: none; border: 0; background: none; font-size: 18px; color: var(--muted); width: 32px; height: 32px; }

/* ---------- Héros ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1.25fr); gap: 32px; padding: 40px 0 24px; }
.hero-slider { position: relative; height: 100%; min-height: 520px; border-radius: var(--radius); overflow: hidden; background: #0f1d33; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-arrow { position: absolute; top: 24px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; z-index: 5; backdrop-filter: blur(4px); }
.hero-arrow.prev { right: 74px; } .hero-arrow.next { right: 24px; }
.hero-arrow:hover { background: var(--accent); }
.hero-dots { position: absolute; left: 28px; top: 40px; display: flex; gap: 6px; z-index: 5; }
.hero-dots button { width: 9px; height: 9px; border-radius: 9px; border: 0; padding: 0; background: rgba(255,255,255,.5); transition: width .3s; }
.hero-dots button.active { width: 28px; background: var(--accent-2); }

.card-ov { position: relative; display: block; height: 100%; min-height: 320px; border-radius: var(--radius); overflow: hidden; color: #fff; background: #0f1d33; }
.card-ov img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.card-ov:hover img { transform: scale(1.04); }
.card-ov::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,14,28,.05) 25%, rgba(5,14,28,.55) 55%, rgba(5,14,28,.92) 100%); }
.card-ov-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(22px, 3.4vw, 48px); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.card-ov .cat-pill { font-size: clamp(14px, 2vw, 26px); padding: 10px 18px; }
.card-ov-title { color: #fff; font-weight: 800; font-size: clamp(24px, 3vw, 44px); line-height: 1.14; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.card-ov-meta { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; color: rgba(255,255,255,.88); }
.card-ov-meta .bi { margin-right: 8px; }
.card-ov:hover { color: #fff; }

.hero-side { position: relative; display: flex; gap: 14px; }
.vlist { flex: 1; display: flex; flex-direction: column; gap: 26px; max-height: 560px; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; padding-right: 4px; }
.vlist::-webkit-scrollbar { display: none; }
.vlist-item { display: grid; grid-template-columns: 46% 1fr; gap: 22px; align-items: start; scroll-snap-align: start; }
.vlist-img { position: relative; display: block; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; background: #DCE2E9; }
.vlist-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vlist-item:hover img { transform: scale(1.05); }
.vlist-title { font-size: 19px; font-weight: 800; line-height: 1.32; margin: 4px 0 6px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.vlist-title a:hover { color: var(--accent); }
.vlist-nav { flex: none; width: 28px; flex-direction: column; align-items: center; justify-content: space-between; border-right: 2px solid #EEF0F3; padding-right: 8px; }
.vlist-nav button { border: 0; background: none; color: var(--navy); font-size: 22px; padding: 0; }
.vlist-nav button:hover { color: var(--accent); }
.vlist-dots { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.vlist-dots i { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); opacity: .75; }
.vlist-dots i.on { height: 40px; border-radius: 8px; background: var(--accent); opacity: 1; }

.flash-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 18px; margin-bottom: 8px; border-radius: var(--radius); background: var(--accent-soft); }
.flash-line b { font-weight: 600; }
.flash-badge { background: var(--down); color: #fff; font: 700 11px var(--pub-font); letter-spacing: .08em; padding: 5px 9px; border-radius: 4px; }

/* ---------- Titres de section ---------- */
.sec-title { font: 800 clamp(26px, 3vw, 40px)/1.1 var(--pub-font); color: var(--accent); letter-spacing: -.01em; margin: 56px 0 26px; }
.sec-title a { color: inherit; }
.sec-title a:hover { color: #9A3412; }

/* ---------- Bloc « Le Kiosque » (une en 3D) ---------- */
.mag-band { padding: 48px 0 8px; border-top: 1px solid var(--rule); margin-top: 24px; }
.mag-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: start; max-width: 1080px; margin: 0 auto; }
.mag-cover-col { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.mag-cover-col .cat-pill { border-radius: 40px; padding: 12px 26px; }
.mag-cover { width: min(340px, 80%); }
.mag-box { border: 1px solid var(--rule); border-radius: 6px; padding: 16px 18px; font-size: 15px; color: #3A4150; background: #FBFBFC; }
.mag-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 12px 0; }
.mag-cols b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
.mag-cols span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.mag-hl { color: var(--accent); font-weight: 600; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.mag-pay { padding-top: 10px; font-size: 14px; }
.mag-cta { margin-top: 26px; font-size: 16px; }
.mag-cta b { display: block; font-weight: 600; }
.mag-cta a { color: var(--accent); font-weight: 600; text-decoration: underline; }

.cover3d { display: block; perspective: 1400px; }
.cover3d-book { position: relative; display: block; transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(6deg); transition: transform .7s cubic-bezier(.2,.8,.2,1); border-radius: 4px 10px 10px 4px; box-shadow: 30px 30px 50px -12px rgba(11,37,69,.45), 10px 10px 16px -6px rgba(11,37,69,.3); }
.cover3d-book img { display: block; width: 100%; aspect-ratio: 1221 / 1600; object-fit: cover; border-radius: 4px 10px 10px 4px; border: 6px solid #fff; background: #fff; }
.cover3d-book::before { content: ""; position: absolute; top: 2%; bottom: 2%; left: -16px; width: 16px; background: linear-gradient(90deg, #cfd6df, #f4f6f8 60%, #e3e7ec); transform: rotateY(-90deg); transform-origin: right center; border-radius: 3px 0 0 3px; }
.cover3d-book::after { content: ""; position: absolute; right: -10px; top: 1.5%; bottom: 1.5%; width: 10px; background: repeating-linear-gradient(180deg, #fff 0 2px, #e8ebef 2px 3px); transform: rotateY(90deg); transform-origin: left center; }
.cover3d-shine { position: absolute; inset: 6px; border-radius: 2px 8px 8px 2px; background: linear-gradient(115deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 70%, rgba(255,255,255,.12) 100%); pointer-events: none; }
.cover3d:hover .cover3d-book, .cover3d:focus-visible .cover3d-book { transform: rotateY(-6deg) rotateX(2deg) translateY(-6px); }
@media (prefers-reduced-motion: reduce) { .cover3d-book { transition: none; } }

/* ---------- Articles récents ---------- */
.recent-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); padding-top: 26px; }
.recent-item { font-size: 18px; font-weight: 600; line-height: 1.38; padding: 0 26px; border-left: 1px solid var(--rule); }
.recent-item:first-child { padding-left: 0; border-left: 0; }
.recent-item:hover { color: var(--accent); }

/* ---------- Sections par rubrique ---------- */
.cat-section .sec-title { margin-top: 24px; }
.cat-section + .cat-section .sec-title, .ad-slot + .cat-section .sec-title { margin-top: 56px; }
.cat-section-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 0; }
.cat-section-main { padding-right: 22px; border-right: 1px solid var(--rule); }
.cat-section-list { padding-left: 22px; display: flex; flex-direction: column; gap: 22px; }

.card-feat-img { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: #DCE2E9; }
.card-feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card-feat:hover .card-feat-img img { transform: scale(1.04); }
.card-feat-title { font-size: clamp(19px, 1.7vw, 23px); font-weight: 800; line-height: 1.35; margin: 18px 0 12px; }
.card-feat-title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s; }
.card-feat-title a:hover { color: var(--ink); background-size: 100% 2px; }
.card-feat-sum { font-size: 16.5px; line-height: 1.62; color: #2B2F36; margin-bottom: 0; }

.card-h { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.card-h:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-h-img { position: relative; display: block; width: 100%; height: 100%; min-height: 170px; background: #DCE2E9; overflow: hidden; }
.card-h-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card-h:hover .card-h-img img { transform: scale(1.05); }
.card-h-body { padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; }
.card-h-title { font-size: 18px; font-weight: 800; line-height: 1.36; margin: 0 0 10px; }
.card-h-title a:hover { color: var(--accent); }
.card-h-sum { font-size: 15px; line-height: 1.55; color: #2B2F36; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-h-lg { grid-template-columns: minmax(0, 28%) minmax(0, 1fr); }
.card-h-lg .card-h-img { min-height: 200px; }
.card-h-lg .card-h-title { font-size: 19px; }
.card-h-lg .card-h-sum { -webkit-line-clamp: 2; }
.card-h-lg .card-h-body { padding: 22px 24px; }

/* ---------- Colonne latérale ---------- */
.sticky-rail { position: sticky; top: 96px; }
.side-card { border: 1px solid var(--rule); border-radius: 12px; padding: 18px; background: #fff; }
.side-rail { display: flex; flex-direction: column; gap: 24px; }
.kiosk-now { position: relative; text-align: center; margin-bottom: 8px; }
.kiosk-now::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 150px; background: var(--accent); border-radius: 10px; }
.kiosk-now-head { position: relative; color: #fff; font: 800 clamp(18px, 1.6vw, 24px)/1.25 var(--pub-font); padding: 18px 10px 14px; }
.kiosk-now-cover { position: relative; width: 82%; margin: 0 auto 18px; }
.kiosk-now-num { font: 700 20px var(--pub-font); margin-bottom: 12px; }
.kiosk-now-num span { color: var(--navy); margin-left: 8px; font-weight: 600; }
.side-title { font: 800 clamp(20px, 1.8vw, 28px)/1.2 var(--pub-font); color: var(--accent); margin: 26px 0 14px; }
.top-list { list-style: none; counter-reset: top; padding: 0; margin: 0; }
.top-list li { counter-increment: top; position: relative; padding: 14px 0 14px 46px; }
.top-list li::before { content: counter(top); position: absolute; left: 0; top: 10px; font: 300 34px/1 var(--pub-font); color: var(--accent-2); width: 40px; text-align: center; }
.top-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; font-weight: 800; line-height: 1.38; }
.top-title:hover { color: var(--accent); }
.top-time { display: block; font-size: 12.5px; color: #3F4654; margin-top: 6px; }
.side-social { margin-top: 18px; border: 1px solid var(--rule); border-radius: 12px; padding: 18px 10px; box-shadow: var(--shadow); }
.side-news { text-align: center; padding: 28px 22px; }
.side-news-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); align-items: center; justify-content: center; font-size: 24px; margin-bottom: 14px; }
.side-news-title { font: 700 20px var(--pub-font); margin-bottom: 8px; }
.side-news p { color: #4C5563; font-size: 15px; line-height: 1.55; }
.side-news-note { margin-top: 14px; font-size: 12.5px; color: #6B7A90; }
.side-news .form-control { border-radius: 6px; font-size: 16px; }
.side-news .btn { border-radius: 6px; }

.social-round { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.social-round a { width: 50px; height: 50px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; transition: transform .2s; }
.social-round a:hover { transform: translateY(-3px); color: #fff; }
.sr-fb { background: #1877F2; } .sr-x { background: #000; } .sr-in { background: #0A66C2; }
.sr-yt { background: #FF0000; } .sr-tt { background: #111; } .sr-wa { background: #1DA851; }
.social-round.is-light a { background: #fff; color: var(--navy); width: 46px; height: 46px; font-size: 19px; }
.social-round.is-light a:hover { color: var(--accent); }

/* ---------- Vidéos verticales ---------- */
.shorts-wrap { position: relative; }
.shorts { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 16px; align-items: center; }
.shorts::-webkit-scrollbar { display: none; }
.short { position: relative; flex: none; width: 240px; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #0f1d33; color: #fff; scroll-snap-align: start; box-shadow: var(--shadow); transition: transform .3s; }
.short:first-child { width: 270px; }
.short:hover { transform: translateY(-4px); color: #fff; }
.short img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.short::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.82)); }
.short-play { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 66px; height: 66px; border-radius: 50%; border: 3px solid #fff; background: rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 2; }
.short-body { position: absolute; left: 16px; right: 16px; bottom: 18px; z-index: 2; }
.short-tag { display: inline-block; background: #fff; color: var(--ink); font: 700 12px var(--pub-font); padding: 4px 10px; border-radius: 20px; margin-bottom: 8px; }
.short-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; font-size: 16px; line-height: 1.35; }
.shorts-next { position: absolute; right: -22px; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-lg); color: var(--ink); font-size: 20px; }
.shorts-next:hover { color: var(--accent); }

/* ---------- Opinions ---------- */
.opinions-box { border-radius: 14px; box-shadow: 0 0 0 1px #F0F2F5, var(--shadow); padding: 32px 26px; margin-bottom: 64px; }
.opinions-head { border-bottom: 1px solid var(--rule); padding-bottom: 22px; margin-bottom: 28px; }
.opinions-row { display: grid; grid-template-columns: repeat(5, 1fr); }
.opinion { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 18px; border-left: 1px solid var(--rule); }
.opinion:first-child { border-left: 0; }
.opinion-avatar { width: 112px; height: 112px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 700 34px var(--pub-font); color: #fff; background: linear-gradient(135deg, var(--navy), #2B4C7E); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--rule); margin-bottom: 10px; }
.opinion:nth-child(2n) .opinion-avatar { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.opinion-kind { color: var(--accent); font: 700 13px var(--pub-font); letter-spacing: .04em; }
.opinion-title { font-family: var(--pub-font); font-style: normal; font-size: 18px; font-weight: 800; line-height: 1.35; color: var(--ink); }
.opinion:hover .opinion-title { color: var(--accent); }
.opinion-author { font-size: 15px; color: #6B7A90; }

/* ---------- Page rubrique ---------- */
.rub-head { text-align: center; padding: 56px 0 30px; }
.rub-title { font: 800 clamp(30px, 3.8vw, 46px)/1.15 var(--pub-font); margin: 0; }
.rub-bar { display: block; width: 110px; height: 10px; border-radius: 10px; background: var(--accent); margin: 22px auto 18px; }
.rub-desc { max-width: 640px; margin: 0 auto 18px; color: var(--muted); }
.rub-head .chips { border: 0; padding: 0; }
.rub-top { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 20px 0 40px; }
.rub-top-card { min-height: 520px; }
.rub-top-card .card-ov-title { font-size: clamp(24px, 2.6vw, 40px); }
.pager-compact { display: flex; align-items: center; justify-content: space-between; padding: 36px 0 10px; }
.pager-count { font-size: 22px; } .pager-count b { font-weight: 700; } .pager-count span { margin-right: 8px; }
.pager-btn { width: 64px; height: 64px; border-radius: 8px; background: #F0F3F7; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; color: var(--ink); }
.pager-btn:hover { background: var(--accent); color: #fff; }

/* ---------- Page article ---------- */
.article-col .crumbs { margin-bottom: 18px; }
.art-title { font: 800 clamp(28px, 3.6vw, 48px)/1.17 var(--pub-font); letter-spacing: -.01em; margin: 26px 0 18px; }
.art-lead { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.55; font-weight: 500; color: #1E232B; margin-bottom: 22px; }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: #6B7A90; }

.art-meta span:first-child::first-letter { text-transform: uppercase; }
.art-byline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0 22px; border-bottom: 1px solid var(--rule); margin-bottom: 26px; }
.art-author { color: #6B7A90; font-size: 15px; } .art-author b { color: var(--ink); font-weight: 600; }
.art-figure { margin: 0 0 30px; }
.art-figure img { width: 100%; height: auto; border-radius: 12px; display: block; }
.art-figure figcaption { font-size: 13px; color: var(--muted); padding-top: 8px; }
.pub .article-body { font-family: var(--pub-font); font-size: 18px; line-height: 1.85; color: #3A4150; }
.pub .article-body h2, .pub .article-body h3 { font-family: var(--pub-font); font-weight: 800; color: var(--ink); }
.pub .article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.pub .article-body strong, .pub .article-body b { color: var(--ink); }
.pub .article-body > p:first-of-type::first-letter { float: none; font-size: inherit; margin: 0; color: inherit; font-weight: inherit; }
.pub .article-body blockquote p { font-family: var(--pub-font); font-size: 22px; font-weight: 600; font-style: normal; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

/* ---------- Pied de page ---------- */
.pub-footer { background: var(--navy); color: #fff; margin-top: 40px; padding: 70px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1.3fr 1fr 1fr 1.3fr 1fr; gap: 32px; }
.footer-brand { max-width: 260px; }
.footer-socials { margin-top: 26px; }
.footer-socials .social-round { justify-content: flex-start; }
.pub-footer .footer-title { font: 700 17px var(--pub-font); color: #fff; letter-spacing: .01em; margin: 8px 0 26px; }
.pub-footer .footer-link { display: block; color: #D7E0EC; font-size: 15.5px; margin-bottom: 16px; line-height: 1.35; }
.pub-footer .footer-link:hover { color: var(--accent-2); }
.footer-news { background: #fff; color: var(--ink); border-radius: 16px; padding: 30px 36px 22px; margin: 64px 0 50px; text-align: center; }
.footer-news-title { font-size: 18px; font-weight: 500; margin-bottom: 18px; }
.footer-news-title .bi { color: var(--accent); margin-right: 10px; }
.footer-news .form-control { border-radius: 6px; font-size: 16px; }
.footer-news .btn { border-radius: 6px; white-space: nowrap; }
.footer-news-note { font-size: 13px; color: #4C5563; margin-top: 14px; }
.footer-legal { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 15px; color: #D7E0EC; }
.footer-legal b { color: #fff; }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 1020; width: 54px; height: 54px; border-radius: 10px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .25s, transform .25s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: #9A3412; color: #fff; }
.pub ~ .cookie-banner, .cookie-banner { font-family: Poppins, Inter, sans-serif; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-brand { grid-column: 1 / -1; max-width: none; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
    .footer-brand .footer-socials { margin: 0; } .footer-brand .btn { width: auto !important; margin: 0 !important; padding-left: 26px; padding-right: 26px; }
    .opinions-row { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
    .opinion:nth-child(4) { border-left: 0; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
    .pub-header-row { min-height: 64px; gap: 14px; }
    .hero-grid { grid-template-columns: 1fr; padding-top: 20px; }
    .hero-slider { min-height: 440px; }
    .vlist { max-height: none; overflow: visible; }
    .recent-row { grid-template-columns: 1fr 1fr; row-gap: 22px; }
    .recent-item:nth-child(3) { padding-left: 0; border-left: 0; }
    .cat-section-grid { grid-template-columns: 1fr; }
    .cat-section-main { padding: 0 0 22px; border: 0; }
    .cat-section-list { padding: 0; }
    .mag-grid { grid-template-columns: 1fr; }
    .rub-top { grid-template-columns: 1fr; }
    .rub-top-card { min-height: 420px; }
    .sticky-rail { position: static; }
}
@media (max-width: 575.98px) {
    .breaking-badge { font-size: 11px; padding: 8px 10px; }
    .pub-actions { gap: 6px; }
    .pill { height: 36px; padding: 0 12px; font-size: 12px; }
    .cat-scroll { gap: 22px; padding: 14px 0; }
    .cat-scroll a { font-size: 15px; }
    .hero-slider { min-height: 400px; }
    .vlist-item { grid-template-columns: 40% 1fr; gap: 14px; }
    .vlist-title { font-size: 16px; }
    .recent-row { grid-template-columns: 1fr; }
    .recent-item { padding: 0 0 18px !important; border-left: 0 !important; border-bottom: 1px solid var(--rule); }
    .card-h, .card-h-lg { grid-template-columns: 1fr; }
    .card-h-img { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
    .mag-cols { grid-template-columns: 1fr; }
    .short, .short:first-child { width: 200px; }
    .opinions-row { grid-template-columns: 1fr 1fr; }
    .opinion { border-left: 0 !important; padding: 0 8px; }
    .opinion-avatar { width: 84px; height: 84px; font-size: 26px; }
    .opinion-title { font-size: 15.5px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .footer-news { padding: 24px 18px 18px; }
    .to-top { width: 46px; height: 46px; }
}
@media (min-width: 576px) { .footer-news .newsletter-form .d-flex { flex-wrap: nowrap !important; } }
.footer-news .form-control-lg, .footer-news .btn-lg { height: 56px; }
.pub .article-col { max-width: none; }
.pub .article-col .article-body, .pub .article-col .paywall-box, .pub .article-col .share-panel, .pub .article-col .author-box { max-width: 860px; }
.pub .art-meta span + span::before { content: none; }
.pub .art-meta { gap: 6px 22px; }
.pub .art-meta span:not(:last-child)::after { content: "•"; margin-left: 22px; color: #A4AFBF; }
@media (max-width: 991.98px) { .pub .row.g-5 { --bs-gutter-x: 1.5rem; } }
@media (max-width: 575.98px) { .hero-dots { left: 22px; top: 36px; } .hero-arrow { top: 22px; } }
@media (max-width: 767.98px) { .shorts-next { right: 0; } }
