:root { --bg:#fff; --fg:#14161a; --muted:#6b7280; --line:#e5e7eb; --soft:#f4f5f7; --marine:#0b1b3a; --bleu:#0A62C9; --bleu-fonce:#0A3F85; --jaune:#F7D618; --rouge:#CE1021; --brand:#CE1021; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg:#10131a; --fg:#eceff4; --muted:#9aa3b2; --line:#262c38; --soft:#181c26; }
}
:root[data-theme="dark"] { --bg:#10131a; --fg:#eceff4; --muted:#9aa3b2; --line:#262c38; --soft:#181c26; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; background:var(--bg); color:var(--fg); line-height:1.6; }
a { color:inherit; text-decoration:none; }
a:hover { color:var(--rouge); }
img { max-width:100%; }
.container { width:100%; max-width:none; margin:0 auto; padding-left:clamp(1rem,3vw,3rem); padding-right:clamp(1rem,3vw,3rem); }
main { padding-top:1.5rem; padding-bottom:3rem; }
.muted { color:var(--muted); }

.topbar { background:var(--marine); color:#fff; font-size:.8rem; }
.topbar .container { display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:44px; }
.flash { display:flex; align-items:center; gap:.9rem; min-width:0; flex:1; }
.flash strong { white-space:nowrap; letter-spacing:.06em; font-weight:800; padding-right:.9rem; border-right:1px solid rgba(255,255,255,.3); }
.flash .rot { position:relative; flex:1; height:1.5em; overflow:hidden; }
.flash .rot a { position:absolute; inset:0; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; opacity:0; transform:translateY(60%); transition:opacity .5s, transform .5s; }
.flash .rot a.on { opacity:1; transform:none; }
.flash .rot a:hover { color:var(--jaune); }
.suivre { display:flex; align-items:center; gap:.5rem; white-space:nowrap; }
.suivre a { display:inline-flex; width:28px; height:28px; align-items:center; justify-content:center; color:#fff; border-radius:50%; }
.suivre a:hover { background:var(--rouge); color:#fff; }
.suivre svg { width:15px; height:15px; }

.site-header { background:var(--bg); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:50; }
.entete { display:flex; align-items:center; gap:1.25rem; min-height:76px; }
.marque { display:flex; align-items:center; gap:.9rem; flex:none; }
.marque img { height:56px; width:auto; display:block; background:#fff; border-radius:8px; }
.quinze { font-weight:900; font-style:italic; font-size:clamp(1.3rem,2.4vw,2rem); line-height:1; letter-spacing:-.02em; white-space:nowrap; }
.c-bleu { color:var(--bleu); }
.c-rouge { color:var(--rouge); }
.c-jaune { color:var(--jaune); -webkit-text-stroke:1px #b99a00; }
.menu { flex:1; display:flex; justify-content:center; gap:clamp(1rem,2.2vw,2.25rem); font-weight:700; }
.menu a { padding:.5rem 0; border-bottom:3px solid transparent; white-space:nowrap; }
.menu a:hover { color:var(--bleu); }
.menu a.active { color:var(--bleu); border-bottom-color:var(--rouge); }
.menu-admin { display:none; }
.actions { display:flex; align-items:center; gap:.5rem; flex:none; }
.actions form { margin:0; }
.ico-btn { display:inline-flex; width:40px; height:40px; align-items:center; justify-content:center; border:0; background:transparent; color:var(--fg); border-radius:50%; cursor:pointer; }
.ico-btn:hover { background:var(--soft); color:var(--bleu); }
.ico-btn svg { width:20px; height:20px; }
.btn-bleu { display:inline-block; background:var(--bleu); color:#fff; font:inherit; font-weight:700; border:0; border-radius:6px; padding:.6rem 1.1rem; cursor:pointer; }
.btn-bleu:hover { background:var(--rouge); color:#fff; }
.burger { display:none; }
.recherche-bar { display:none; background:var(--soft); border-bottom:1px solid var(--line); }
.recherche-bar.ouvert { display:block; }
.recherche-bar .container { display:flex; gap:.75rem; padding-top:.75rem; padding-bottom:.75rem; }
.recherche-bar input, .recherche-page input { flex:1; height:44px; border:1px solid var(--line); border-radius:6px; padding:0 .9rem; font:inherit; background:var(--bg); color:var(--fg); }
.recherche-page { display:flex; gap:.75rem; margin-bottom:1.5rem; }

.une-grille { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:2rem; margin-bottom:2.5rem; }
.une-gauche { display:flex; flex-direction:column; gap:1.5rem; min-width:0; }
.une-droite { display:flex; flex-direction:column; gap:1.4rem; min-width:0; }
.slider { position:relative; height:clamp(260px,34vw,440px); border-radius:14px; overflow:hidden; background:var(--bleu); }
.slider .slides { position:absolute; inset:0; }
.slide { position:absolute; inset:0; opacity:0; transition:opacity .8s ease; pointer-events:none; display:flex; align-items:flex-end; }
.slide.actif { opacity:1; pointer-events:auto; }
.slide img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 30%; }
.slide .overlay { position:relative; width:100%; padding:4rem 2.5rem 1.75rem; background:linear-gradient(transparent, rgba(0,0,0,.85)); color:#fff; }
.badge { display:inline-block; background:var(--jaune); color:#111; font-weight:800; font-size:.75rem; letter-spacing:.04em; padding:.35rem .7rem; border-radius:4px; }
.slide h1 { margin:.7rem 0 .4rem; font-size:clamp(1.2rem,2.2vw,2.2rem); line-height:1.15; font-weight:800; }
.slide h1 a { color:#fff; }
.slide h1 a:hover { color:var(--jaune); }
.meta-light { font-size:.85rem; opacity:.92; }
.slider .nav { position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:44px; height:44px; border:0; border-radius:50%; background:rgba(0,0,0,.45); color:#fff; font-size:1.8rem; line-height:1; cursor:pointer; }
.slider .nav:hover { background:var(--rouge); }
.slider .prec { left:1rem; }
.slider .suiv { right:1rem; }
.points { position:absolute; right:1.5rem; bottom:1.25rem; display:flex; gap:.5rem; z-index:3; }
.points button { width:12px; height:12px; border-radius:50%; border:2px solid #fff; background:transparent; padding:0; cursor:pointer; }
.points button.actif { background:var(--jaune); border-color:var(--jaune); }

.mini-grille { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.25rem 2rem; }
.mini { display:flex; gap:1rem; align-items:flex-start; min-width:0; }
.mini-img { flex:none; width:100px; height:100px; border-radius:10px; overflow:hidden; background:var(--soft); }
.mini-img img { width:100%; height:100%; object-fit:cover; display:block; }
.mini .cat { font-size:.8rem; font-weight:700; color:var(--rouge); text-decoration:underline; text-underline-offset:3px; }
.mini h3 { margin:.2rem 0 .35rem; font-size:1rem; line-height:1.3; font-weight:800; }
.mini time { display:flex; align-items:center; gap:.35rem; font-size:.8rem; color:var(--muted); }
.mini time svg { width:14px; height:14px; flex:none; }

.bloc { margin-bottom:2.5rem; }
.section-title, .page-title { margin:0 0 1.25rem; font-size:1.35rem; font-weight:800; padding-bottom:.6rem; border-bottom:3px solid var(--fg); display:flex; align-items:center; gap:.6rem; }
.section-title:before { content:""; width:9px; height:1.3rem; background:var(--rouge); }
.grid { display:grid; gap:1.75rem; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); }
.card { display:flex; flex-direction:column; gap:.5rem; min-width:0; }
.card img { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:12px; display:block; }
.card h2 { font-size:1.1rem; line-height:1.3; margin:.1rem 0; font-weight:800; }
.card p { color:var(--muted); margin:0; font-size:.95rem; }
.card time, .meta { color:var(--muted); font-size:.82rem; }
.tag { display:inline-block; color:var(--rouge); font-size:.75rem; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.pager { display:flex; justify-content:center; gap:1.5rem; margin-top:2rem; font-weight:700; }

.page-article { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:2.5rem; align-items:start; }
.fil { font-size:.95rem; color:var(--muted); margin-bottom:1rem; }
.fil a { color:var(--rouge); }
.fil span { margin:0 .4rem; }
.badge-cat { display:inline-block; background:var(--rouge); color:#fff; font-weight:700; font-size:.85rem; padding:.4rem .8rem; border-radius:6px; }
.badge-cat:hover { background:var(--bleu); color:#fff; }
.a-title { font-size:clamp(1.7rem,3.2vw,2.8rem); line-height:1.15; margin:.9rem 0 1rem; font-weight:800; }
.a-meta { display:flex; flex-wrap:wrap; gap:.75rem 1.5rem; align-items:center; color:var(--muted); padding-bottom:1rem; border-bottom:1px solid var(--line); margin-bottom:1.25rem; }
.a-meta b { color:var(--fg); }
.btn-partager { margin-left:auto; display:inline-flex; gap:.5rem; align-items:center; border:1.5px solid var(--rouge); color:var(--rouge); background:transparent; padding:.5rem 1rem; border-radius:999px; font:inherit; font-weight:600; cursor:pointer; }
.btn-partager:hover { background:var(--rouge); color:#fff; }
.a-hero { width:100%; height:auto; max-height:640px; object-fit:cover; border-radius:16px; margin:0 0 1.5rem; display:block; }
.content { font-size:1.1rem; line-height:1.75; }
.page-article .content { max-width:820px; }
.content p { margin:0 0 1.1rem; }
.content img, .content iframe, .content video { max-width:100%; height:auto; border-radius:8px; }
.content figure { margin:1.5rem 0; }
.cote { display:flex; flex-direction:column; gap:1.5rem; position:sticky; top:96px; }
.meteo { color:#fff; background:linear-gradient(135deg,var(--bleu-fonce),var(--bleu)); border-radius:20px; padding:1.5rem; text-align:center; box-shadow:0 8px 24px rgba(0,0,0,.12); }
.meteo h3 { margin:0; font-size:.85rem; letter-spacing:.08em; text-transform:uppercase; text-align:left; }
.meteo .ico { font-size:3.2rem; line-height:1.2; margin-top:.5rem; }
.meteo .temp { font-size:2.6rem; font-weight:800; line-height:1; }
.meteo .desc { opacity:.92; margin-top:.35rem; }
.lire-aussi { border:1px solid var(--line); border-radius:20px; padding:1.25rem 1.5rem; }
.lire-aussi h3 { margin:0 0 .75rem; font-size:1.3rem; }
.lire-aussi a { display:block; padding:.85rem 0; border-top:1px solid var(--line); font-weight:700; line-height:1.35; }
.lire-aussi a:first-of-type { border-top:0; }
.lire-aussi time { display:block; margin-top:.3rem; font-size:.8rem; font-weight:400; color:var(--muted); }

.site-footer { background:var(--marine); color:#c7d0e0; margin-top:2rem; }
.pied { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:2rem; padding-top:2.5rem; padding-bottom:2rem; }
.pied h4 { color:#fff; margin:0 0 .75rem; }
.pied a { display:block; padding:.2rem 0; color:#c7d0e0; }
.pied a:hover { color:var(--jaune); }
.pied-logo img { height:64px; width:auto; background:#fff; border-radius:8px; display:block; margin-bottom:.75rem; }
.pied-logo p { margin:0; }
.copy { border-top:1px solid rgba(255,255,255,.12); padding:1rem 0; font-size:.85rem; }

@media (max-width:1000px) {
  .une-grille, .page-article { grid-template-columns:1fr; }
  .cote { position:static; }
  .menu { display:none; position:absolute; left:0; right:0; top:100%; flex-direction:column; gap:0; background:var(--bg); border-bottom:1px solid var(--line); padding:.5rem clamp(1rem,3vw,3rem) 1rem; }
  .menu.ouvert { display:flex; }
  .menu a { padding:.75rem 0; border-bottom:1px solid var(--line); }
  .burger { display:inline-flex; }
  .actions { margin-left:auto; }
}
@media (max-width:620px) {
  .mini-grille { grid-template-columns:1fr; }
  .suivre span { display:none; }
  .btn-connexion { display:none; }
  .menu-admin { display:block; }
  .slide .overlay { padding:3rem 1.25rem 1.5rem; }
  .points { right:1rem; bottom:.9rem; }
  .marque img { height:44px; }
  .recherche-page { flex-direction:column; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .flash .rot a { transition:none; }
}

/* === PARTAGE === */
.partage { display:flex; align-items:center; gap:.5rem; flex-wrap:wrap; margin-left:auto; }
.partage > span { font-weight:700; color:var(--fg); margin-right:.25rem; }
.pt { display:inline-flex; width:38px; height:38px; align-items:center; justify-content:center; border-radius:50%; color:#fff; border:0; cursor:pointer; padding:0; }
.pt svg { width:18px; height:18px; }
.pt.fb { background:#1877f2; }
.pt.x { background:#000; box-shadow:0 0 0 1px rgba(255,255,255,.25); }
.pt.wa { background:#25d366; }
.pt.lien { background:var(--soft); color:var(--fg); border:1px solid var(--line); }
.pt:hover { opacity:.85; color:#fff; }
.pt.lien:hover { color:var(--fg); }

/* === ARTICLE IMAGE === */
.page-article .a-hero { max-width:820px; max-height:380px; }

/* === HORLOGE === */
.horloge { display:flex; flex-direction:column; align-items:flex-end; line-height:1.15; margin-right:.5rem; white-space:nowrap; }
.horloge .h-date { font-size:.8rem; color:var(--muted); text-transform:capitalize; }
.horloge .h-heure { font-weight:800; font-size:1.25rem; font-variant-numeric:tabular-nums; color:var(--fg); }
@media (max-width:620px) { .horloge .h-date { display:none; } .horloge .h-heure { font-size:1.05rem; } }
