/* ToutPourLeRugby.fr — feuille de style commune */
:root {
  --navy: #111D35;
  --navy2: #24385E;
  --orange: #F15A35;
  --orange-dark: #BA4025;
  --cream: #F7F4EE;
  --white: #FFFFFF;
  --text: #182238;
  --muted: #556072;
  --line: #E4E7EC;
  --shadow: 0 12px 35px #111d3510;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: min(1160px, calc(100% - 36px)); margin: auto; }
.wrap-narrow { width: min(780px, calc(100% - 36px)); margin: auto; }

/* ---------- Barre haute & navigation ---------- */
.topbar { background: var(--navy); color: white; font-size: 13px; padding: 9px 0; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.langs { display: flex; gap: 2px; }
.langs a { color: #ffffffc0; text-decoration: none; font-weight: 700; font-size: 12px; letter-spacing: .5px; padding: 2px 7px; border-radius: 999px; }
.langs a:hover { color: white; }
.langs a.on { background: var(--orange); color: white; }

header.site-header {
  background: white; position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; gap: 20px; }
.brand { font-size: 22px; font-weight: 950; letter-spacing: -1px; text-decoration: none; }
.brand span { color: var(--orange); }
.navlinks { display: flex; gap: 22px; align-items: center; font-size: 15px; font-weight: 750; }
.navlinks a { text-decoration: none; }
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--orange); }
.nav-cta { background: var(--orange); color: white !important; padding: 10px 16px; border-radius: 99px; white-space: nowrap; }

/* ---------- Hero accueil ---------- */
.hero { background: var(--navy); color: white; padding: 80px 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.eyebrow { color: var(--orange); text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 900; }
h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1; letter-spacing: -3px; margin: 18px 0; }
h1 em { color: var(--orange); font-style: normal; }
.hero p { color: #D8DFEB; font-size: 18px; max-width: 600px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 27px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 19px; border-radius: 99px; text-decoration: none;
  font-weight: 850; border: 0; cursor: pointer; font-size: 16px; min-height: 48px;
}
.btn-orange { background: var(--orange); color: white; }
.btn-outline { color: white; border: 1px solid #ffffff65; }
.btn-navy { background: var(--navy); color: white; }

.hero-photo {
  margin: 0; border-radius: 25px; overflow: hidden;
  transform: rotate(2deg); box-shadow: 0 25px 60px #0006;
  border: 6px solid var(--cream); background: var(--cream);
}
.hero-photo img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.hero-photo figcaption { color: var(--navy); font-weight: 800; padding: 12px 14px 8px; font-size: 15px; }

.ticker { background: var(--orange); color: white; padding: 13px; text-align: center; font-weight: 900; }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -1.5px; margin: 10px 0; }
.section-head p { color: var(--muted); max-width: 600px; }
.pill {
  display: inline-block; background: #FCE4DC; color: var(--orange-dark);
  padding: 6px 12px; border-radius: 99px; font-size: 12px; font-weight: 850;
}
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.feature {
  background: white; border: 1px solid var(--line); border-radius: 22px;
  padding: 24px; box-shadow: var(--shadow);
}
.feature-icon {
  width: 55px; height: 55px; border-radius: 16px; background: #FCE9E2;
  display: grid; place-items: center; font-size: 27px;
}
.feature h3 { margin-bottom: 8px; font-size: 20px; }
.feature p { color: var(--muted); }
.text-link { color: var(--orange); font-weight: 850; }
.dark-section { background: #E9EDF4; }

/* ---------- Cartes magazine ---------- */
.mag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mag-card {
  background: white; border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.mag-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px #111d3520; }
.mag-visual {
  height: 160px; overflow: hidden; flex-shrink: 0; display: grid; place-items: center; font-size: 60px;
  background: linear-gradient(135deg, #F5C98C, #F17C48);
}
.mag-visual.navy { background: linear-gradient(135deg, var(--navy2), var(--navy)); }
.mag-visual img { width: 100%; height: 100%; object-fit: cover; }
.mag-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.mag-body .pill { align-self: flex-start; }
.mag-body h3 { font-size: 19px; line-height: 1.25; margin: 12px 0 8px; }
.mag-body p { color: var(--muted); font-size: 15px; margin: 0 0 12px; flex: 1; }
.mag-body .text-link { font-size: 14px; }

/* ---------- Produits ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.product {
  background: white; border-radius: 20px; border: 1px solid var(--line);
  padding: 18px; display: flex; flex-direction: column;
}
.product-visual {
  height: 120px; background: #EDF0F6; border-radius: 15px;
  display: grid; place-items: center; font-size: 55px; margin-bottom: 15px;
}
.product h3 { font-size: 17px; margin: 0 0 7px; }
.product p { font-size: 15px; color: var(--muted); flex: 1; }
.product .guide-link { font-size: 13px; color: var(--orange); font-weight: 850; margin-top: 4px; }
.product .btn { background: var(--orange); color: white; font-size: 14px; margin-top: 12px; }
.affiliate-note { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* ---------- Quiz ---------- */
.quiz {
  background: var(--navy); color: white; border-radius: 27px; padding: 32px;
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px;
}
.quiz h2 { font-size: 38px; line-height: 1.1; }
.quiz-panel { background: white; color: var(--navy); border-radius: 20px; padding: 22px; }
.quiz-options { display: grid; gap: 10px; }
.quiz-options button {
  background: #F0F2F6; border: 1px solid var(--line); border-radius: 12px; padding: 13px;
  text-align: left; cursor: pointer; font-weight: 750; color: var(--navy); font-size: 15px;
}
.quiz-options button:hover { border-color: var(--orange); background: #FCE9E2; }
.quiz-result { margin-top: 15px; font-weight: 800; color: var(--orange-dark); }

/* ---------- Compte à rebours & matchs des Bleus ---------- */
.countdown {
  background: white; border-radius: 23px; padding: 28px; display: flex;
  justify-content: space-between; align-items: center; gap: 25px; border: 1px solid var(--line);
}
.countdown h2 { margin: 10px 0 4px; }
.countdown p { margin: 0; color: var(--muted); }
.timer { display: flex; gap: 9px; }
.timebox { background: var(--navy); color: white; min-width: 70px; text-align: center; padding: 12px; border-radius: 14px; }
.timebox strong { display: block; font-size: 25px; font-variant-numeric: tabular-nums; }
.timebox span { font-size: 11px; text-transform: uppercase; color: #D6DFED; }

.fixtures { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fixture {
  background: white; border: 1px solid var(--line); border-left: 5px solid var(--orange);
  border-radius: 16px; padding: 16px 18px;
}
.fixture strong { display: block; font-size: 17px; }
.fixture span { color: var(--muted); font-size: 14px; }
.fixture .kick { color: var(--orange-dark); font-weight: 850; font-size: 14px; }

/* ---------- Guide (accueil) ---------- */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.article-card { background: white; border-radius: 22px; padding: 25px; border: 1px solid var(--line); }
.article-card p { color: var(--muted); }
.checklist { list-style: none; padding: 0; }
.checklist li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.checklist input { accent-color: var(--orange); margin-right: 8px; }

.newsletter {
  background: var(--orange); color: white; border-radius: 25px; padding: 35px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.newsletter h2 { margin: 0; font-size: 29px; }

/* ---------- Pages article ---------- */
.breadcrumb { font-size: 13px; color: #B8C4D7; margin-bottom: 18px; }
.breadcrumb a { color: #D8DFEB; text-decoration: none; }
.breadcrumb a:hover { color: white; text-decoration: underline; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #8794AB; }

.page-hero { background: var(--navy); color: white; padding: 48px 0 56px; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -2px; line-height: 1.05; margin: 14px 0 16px; }
.page-hero .lead { color: #D8DFEB; font-size: 18px; margin: 0; }
.page-hero .meta { color: #B8C4D7; font-size: 13px; margin-top: 18px; }
.page-hero figure { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 25px 60px #0006; }
.page-hero figure img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.page-hero .emoji-visual {
  border-radius: 22px; aspect-ratio: 4 / 3; display: grid; place-items: center;
  font-size: 110px; background: linear-gradient(135deg, #F5C98C, #F17C48);
}

.article { padding: 50px 0 20px; }
.article-layout { display: grid; grid-template-columns: 250px 1fr; gap: 44px; align-items: start; }
.toc {
  position: sticky; top: 90px; background: white; border: 1px solid var(--line);
  border-radius: 18px; padding: 18px 20px; font-size: 14px;
}
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { margin: 6px 0; }
.toc a { text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--orange); }

.prose { font-size: 18px; line-height: 1.7; max-width: 760px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -1px; margin: 48px 0 14px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin: 30px 0 8px; }
.prose p, .prose li { color: #2E3A52; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--orange-dark); font-weight: 700; }
.prose strong { color: var(--text); }

.callout {
  background: #FCE9E2; border-radius: 18px; padding: 18px 22px; margin: 24px 0;
  border-left: 5px solid var(--orange);
}
.callout p { margin: 0; }
.callout.navy { background: var(--navy); color: white; border-left-color: var(--orange); }
.callout.navy p, .callout.navy li { color: #D8DFEB; }
.callout.navy strong { color: white; }

.table-wrap { overflow-x: auto; margin: 20px 0; border-radius: 16px; border: 1px solid var(--line); background: white; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: white; font-weight: 800; }
tr:last-child td { border-bottom: 0; }

.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 20px 0; }
.menu-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.menu-card h3 { margin: 0 0 6px; font-size: 18px; }
.menu-card ul { margin: 0; padding-left: 18px; font-size: 15px; }
.menu-card p { font-size: 15px; margin: 0 0 6px; color: var(--muted); }

.cta-box {
  background: white; border: 1px solid var(--line); border-radius: 20px; padding: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 26px 0;
  box-shadow: var(--shadow);
}
.cta-box p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.cta-box strong { font-size: 18px; }
.cta-box .btn { background: var(--orange); color: white; white-space: nowrap; font-size: 14px; }
.cta-box .small { font-size: 12px; color: var(--muted); }

.faq details {
  background: white; border: 1px solid var(--line); border-radius: 16px;
  padding: 0 20px; margin: 10px 0;
}
.faq summary { cursor: pointer; font-weight: 800; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--orange); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; }

.related { padding: 30px 0 70px; }
.related h2 { font-size: 28px; letter-spacing: -1px; }
.related .mag-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: white; padding: 45px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid a { display: block; color: #D4DCEB; text-decoration: none; margin: 8px 0; font-size: 14px; }
.footer-grid a:hover { color: white; }
.footer-grid p { color: #D4DCEB; font-size: 14px; }
.copyright { border-top: 1px solid #ffffff30; margin-top: 30px; padding-top: 20px; color: #B8C4D7; font-size: 12px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .mag-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 850px) {
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .quiz { grid-template-columns: 1fr; }
  .fixtures { grid-template-columns: 1fr; }
  .related .mag-grid { grid-template-columns: 1fr 1fr; }
  .navlinks a:not(.nav-cta) { display: none; }
}
@media (max-width: 560px) {
  #topbar-next { display: none; }
  .brand { font-size: 19px; }
  .nav-cta { padding: 9px 13px; font-size: 14px; }
  .hero { padding: 50px 0; }
  h1 { letter-spacing: -2px; }
  .grid3, .grid2, .products, .editorial, .footer-grid, .mag-grid,
  .related .mag-grid, .menu-grid { grid-template-columns: 1fr; }
  .section { padding: 45px 0; }
  .hero-photo { transform: none; }
  .countdown { flex-direction: column; align-items: flex-start; }
  .timer { width: 100%; }
  .timebox { min-width: 0; flex: 1; }
  .newsletter, .cta-box { flex-direction: column; align-items: flex-start; }
  .prose { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mag-card { transition: none; }
}
.prose a.btn { color: white; }
.small { font-size: 14px; color: var(--muted); }

/* ================= v2 : nouveaux composants ================= */
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff; padding: 10px 14px; z-index: 99; }
.skip:focus { left: 10px; top: 10px; }
a.eyebrow { text-decoration: none; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 99px; padding: 9px 14px; font-weight: 800; font-size: 15px; cursor: pointer; color: var(--navy); }

/* dégradés de rubrique */
.grad-orange { background: linear-gradient(135deg, #F5C98C, #F17C48); }
.grad-navy { background: linear-gradient(135deg, #2F4A7A, var(--navy)); }
.grad-green { background: linear-gradient(135deg, #7CC6A4, #2E7D5B); }
.emoji-art { font-size: 64px; line-height: 1; filter: drop-shadow(0 8px 14px #0003); }
.hero-visual { border-radius: 22px; overflow: hidden; box-shadow: 0 25px 60px #0006; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .emoji-art { font-size: 120px; }
.mag-grid.three { grid-template-columns: repeat(3, 1fr); }

/* encadré produit Amazon */
.product-box {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center;
  background: white; border: 1px solid var(--line); border-left: 5px solid var(--orange);
  border-radius: 18px; padding: 18px 20px; margin: 22px 0; box-shadow: var(--shadow);
}
.pb-emoji { width: 64px; height: 64px; border-radius: 16px; background: #FCE9E2; display: grid; place-items: center; font-size: 32px; }
.pb-text strong { font-size: 17px; display: block; color: var(--text); }
.pb-text p { margin: 4px 0 0; font-size: 15px; color: var(--muted); line-height: 1.5; }
.pb-cta { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pb-cta .btn, .prose .pb-cta a.btn { background: white; color: var(--orange-dark); border: 2px solid var(--orange); white-space: nowrap; font-size: 15px; }
.pb-cta .btn:hover, .pb-cta .btn:focus-visible, .prose .pb-cta a.btn:hover { background: var(--orange); color: white; }
.selection .pb-cta .btn, .prose .selection .pb-cta a.btn { background: var(--orange); color: white; }
/* Encadré « prêt pour les matchs » : des conseils d'abord, des liens discrets ensuite */
.match-kit { margin: 28px 0; padding: 18px 20px; border-radius: 16px; background: white; border: 1px solid var(--line, #e6e1d8); }
.match-kit .mk-title { margin: 0 0 6px; font-size: 18px; }
.match-kit ul { list-style: none; padding: 0; margin: 10px 0 0; }
.match-kit li { padding: 10px 0; border-top: 1px dashed var(--line, #e6e1d8); }
.match-kit li:first-child { border-top: 0; }
.match-kit li a { font-weight: 600; }
.match-kit .mk-aff { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.pb-cta span { font-size: 11px; color: var(--muted); }
.pick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0; }
.pick-grid .product-box { grid-template-columns: 52px 1fr; margin: 0; align-content: start; }
.pick-grid .pb-emoji { width: 52px; height: 52px; font-size: 26px; }
.pick-grid .pb-cta { grid-column: 1 / -1; align-items: stretch; }
.selection { background: var(--navy); color: white; border-radius: 22px; padding: 22px 24px; margin: 0 0 30px; }
.selection h3 { margin: 0 0 6px; color: white; font-size: 20px; }
.selection p, .selection li { color: #D8DFEB !important; }
.selection .product-box { margin: 12px 0 0; border-left-color: var(--orange); }

/* lien « À lire aussi » */
.read-box {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  background: #E9EDF4; border-radius: 16px; padding: 16px 20px; margin: 26px 0;
  text-decoration: none; color: var(--text) !important; font-weight: 700 !important;
}
.read-box:hover { background: #DDE3EE; }
.rb-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--orange-dark); font-weight: 900; }
.rb-title { font-size: 17px; }
.rb-arrow { font-size: 22px; color: var(--orange); }

/* bannière prochain match */
.next-banner {
  background: var(--navy); color: white; border-radius: 22px; padding: 22px 26px; margin: 10px 0 36px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  background-image: radial-gradient(circle at 90% 10%, #F15A3555, transparent 45%);
}
.next-banner strong { display: block; font-size: 22px; margin: 4px 0; }
.next-banner span:not(.eyebrow) { color: #D8DFEB; }
.next-banner .btn { white-space: nowrap; }

/* auteur */
.author-box { display: flex; gap: 16px; align-items: flex-start; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 34px 0 10px; }
.author-avatar { flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--orange); color: white; display: grid; place-items: center; font-weight: 900; }
.author-box p { margin: 4px 0 0; font-size: 15px; }

/* rubriques */
.hub-hero h1 { margin-bottom: 10px; }
.hub-intro { max-width: 760px; }
.hub-intro p { color: #D8DFEB; font-size: 18px; }
.hub-intro a { color: white; }
.hub-others { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hub-chip { background: white; border: 1px solid var(--line); border-radius: 99px; padding: 9px 16px; text-decoration: none; font-weight: 750; }
.hub-chip:hover { border-color: var(--orange); }
.hubs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hub-card { border-radius: 22px; padding: 24px; color: white; text-decoration: none; min-height: 170px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; transition: transform .2s; }
.hub-card:hover { transform: translateY(-4px); }
.hub-card strong { font-size: 22px; line-height: 1.15; }
.hub-card span { opacity: .9; font-size: 15px; }
.hub-card .hub-emoji { font-size: 40px; margin-bottom: auto; opacity: 1; }

/* calendrier */
.fixtures-table td { font-size: 15px; }
.fixtures-table tr.fr-row td { background: #FCE9E2; font-weight: 700; }
.ics-box { display: flex; gap: 16px; align-items: center; justify-content: space-between; background: var(--navy); color: white; border-radius: 18px; padding: 20px 22px; margin: 22px 0; }
.ics-box p { color: #D8DFEB !important; margin: 4px 0 0; font-size: 15px; }
.ics-box .btn { background: var(--orange); color: white !important; white-space: nowrap; }

/* bandeau saisonnier & section « elles » */
.season-banner { background: linear-gradient(120deg, #8E1B2B, #C8372D); color: white; }
.season-banner .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 0; }
.season-banner strong { font-size: 19px; }
.season-banner .btn { background: white; color: #8E1B2B; white-space: nowrap; }
.elles { background: #FBEDEA; }
.elles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.elles-cards { display: grid; gap: 12px; }
.elles-card { background: white; border-radius: 18px; padding: 18px 20px; text-decoration: none; border: 1px solid #F3D3CB; display: block; }
.elles-card:hover { border-color: var(--orange); }
.elles-card strong { display: block; font-size: 18px; }
.elles-card span { color: var(--muted); font-size: 15px; }

/* jeux */
.bingo-wrap { background: white; border: 1px solid var(--line); border-radius: 20px; padding: 20px; margin: 22px 0; }
.bingo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0; }
.bingo button { aspect-ratio: 1; border: 2px solid var(--line); border-radius: 12px; background: #F7F8FB; font-size: 14px; font-weight: 750; padding: 6px; cursor: pointer; color: var(--navy); line-height: 1.25; }
.bingo button.on { background: var(--orange); color: white; border-color: var(--orange); }
.bingo-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bingo-actions .btn { font-size: 15px; }
.bingo-msg { font-weight: 800; color: var(--orange-dark); min-height: 1.6em; }

/* pied de page */
.footer-top { margin-bottom: 26px; max-width: 560px; }
.footer-grid { grid-template-columns: repeat(5, 1fr); }
.footer-grid strong a.foot-cat { color: white; font-size: 15px; margin: 0 0 6px; }
.foot-note { color: #B8C4D7; font-size: 13px; margin-top: 26px; }

@media (max-width: 980px) {
  .mag-grid.three, .hubs { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .elles-grid { grid-template-columns: 1fr; }
}
@media (max-width: 850px) {
  .menu-toggle { display: inline-flex; gap: 6px; }
  .navlinks { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; flex-direction: column; align-items: stretch; padding: 10px 18px 18px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px #111d3518; }
  .navlinks.open { display: flex; }
  .navlinks a:not(.nav-cta) { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 8px; }
  .site-header .nav { position: relative; }
  .product-box { grid-template-columns: 52px 1fr; }
  .pb-cta { grid-column: 1 / -1; align-items: stretch; }
  .next-banner, .ics-box, .season-banner .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .mag-grid.three, .hubs, .pick-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bingo button { font-size: 12px; }
}
@media print {
  header, footer, .topbar, .toc, .related, .product-box, .read-box, .bingo-actions, .next-banner { display: none !important; }
  .bingo button.on { background: #fff; color: #000; }
}
@media print {
  body.print-bingo * { visibility: hidden; }
  body.print-bingo #bingo-app, body.print-bingo #bingo-app * { visibility: visible; }
  body.print-bingo #bingo-app { position: absolute; left: 0; top: 0; width: 100%; border: 0; }
  body.print-bingo .bingo-actions, body.print-bingo .bingo-msg { display: none; }
  body.print-bingo .bingo button { border: 2px solid #000; background: #fff; color: #000; font-size: 13px; }
}
.selection .product-box p { color: var(--muted) !important; }
.bingo { max-width: 600px; }

/* « Notre choix » */
.picks { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 24px; margin: 0 0 34px; box-shadow: var(--shadow); }
.picks-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.prose .picks-title { margin: 0 !important; font-size: 24px; }
.picks-date { font-size: 13px; color: var(--muted); }
.picks-intro { font-size: 16px; margin: 8px 0 18px; }
.picks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pick-card { border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; background: #FBFBFD; }
.pick-card.pick-top { border: 2px solid var(--orange); background: #FFF8F5; }
.pick-badge { align-self: flex-start; background: var(--navy); color: white; font-size: 11px; font-weight: 850; padding: 5px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: .5px; }
.pick-top .pick-badge { background: var(--orange); }
.pick-head { display: flex; align-items: center; gap: 10px; margin: 12px 0 6px; }
.pick-emoji { font-size: 28px; }
.prose .pick-head h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.pick-card p { font-size: 15px; line-height: 1.55; margin: 0 0 10px; }
.prose .pick-pros { list-style: none; padding: 0; margin: 0 0 14px; font-size: 14px; flex: 1; }
.prose .pick-pros li { margin: 4px 0; }
.pick-card .btn { background: var(--orange); color: white !important; font-size: 15px; text-align: center; }
.pick-aff { font-size: 11px; color: var(--muted); text-align: center; margin-top: 6px; }
@media (max-width: 980px) { .picks-grid { grid-template-columns: 1fr; } }

/* Bloc d'avis anonyme */
.feedback { margin: 30px 0 18px; padding: 22px 24px; border: 1px solid var(--line, #e4e0d6); border-radius: 18px; background: #fff; }
.feedback .fb-q { margin: 0 0 12px; font-weight: 700; font-size: 1.08rem; }
.fb-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.fb-vote { font: inherit; font-weight: 600; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line, #d9d4c7); background: #fff; color: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.fb-vote:hover:not(:disabled) { border-color: currentColor; }
.fb-vote:focus-visible { outline: 3px solid #f4b63f; outline-offset: 2px; }
.fb-vote[aria-pressed="true"] { background: #1b2233; color: #fff; border-color: #1b2233; }
.fb-vote:disabled:not([aria-pressed="true"]) { opacity: .45; cursor: default; }
.fb-thanks { margin: 12px 0 0; font-weight: 600; }
.fb-more { margin-top: 12px; display: grid; gap: 8px; }
.fb-more textarea { font: inherit; width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line, #d9d4c7); resize: vertical; }
.fb-more button { justify-self: start; }
.fb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.fb-note { margin: 12px 0 0; font-size: .82rem; opacity: .7; }
.corrections { font-size: .9rem; margin-top: 6px; }
.sources-intro { font-size: .95rem; }
ul.sources { font-size: .95rem; }
ul.sources a { word-break: break-word; }

.fb-more[hidden], .fb-thanks[hidden] { display: none; }
.footer-top .sister { color:#B8C4D7; font-size:14px; margin-top:10px; } .footer-top .sister a { color:#FFD37A; text-decoration:underline; }

/* Calendrier par équipe */
.teamcal { background: var(--navy); color: white; border-radius: 18px; padding: 22px; margin: 24px 0; }
.teamcal-head strong { color: white !important; font-size: 1.1rem; }
.teamcal-head p, .teamcal-note { color: #D8DFEB !important; font-size: 15px; margin: 6px 0 0; }
.teamcal-pick { display: block; margin: 16px 0 12px; font-weight: 600; }
.teamcal-pick select { display: block; width: 100%; max-width: 420px; margin-top: 6px; padding: 10px 12px; border-radius: 10px; border: 0; font-size: 16px; }
.teamcal-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.teamcal .btn { background: var(--orange); color: white !important; }
.teamcal .btn-ghost { background: transparent; border: 2px solid rgba(255,255,255,.6); }
.teamcal-note { font-size: 13px !important; margin-top: 10px !important; }
.teamcal noscript ul { columns: 2; }
.teamcal noscript a { color: white; }

/* Choix du fuseau horaire */
.tzpick { position: sticky; top: 8px; z-index: 5; background: #FFF6E5; border: 2px solid var(--orange); border-radius: 14px; padding: 12px 16px; margin: 20px 0; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.tzpick select { padding: 8px 10px; border-radius: 8px; border: 1px solid #C9CFDA; font-size: 15px; max-width: 100%; }
.tzpick-note { font-size: 13px; color: #5A6478; }

/* 10 matchs à ne pas manquer */
.top10 { list-style: none; counter-reset: top; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.top-item { counter-increment: top; position: relative; background: white; border: 1px solid #E3E7EF; border-radius: 14px; padding: 14px 16px 12px 62px; }
.top-item::before { content: counter(top); position: absolute; left: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: white; font-weight: 800; display: grid; place-items: center; }
.top-when { display: block; font-size: 14px; color: #5A6478; }
.top-title { display: block; font-size: 18px; margin: 2px 0; }
.top-match { display: block; font-size: 14px; color: var(--navy); font-weight: 600; }
.top-item p { margin: 6px 0 0; font-size: 15px; }
.tool-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 18px 0 8px; }
.tool-strip a { display: block; background: white; border: 1px solid #E3E7EF; border-radius: 14px; padding: 14px 16px; color: var(--navy); text-decoration: none; box-shadow: 0 2px 8px rgba(17,29,53,.06); }
.tool-strip a:hover { border-color: var(--orange); }
.tool-strip span { font-size: 26px; display: block; }
.tool-strip strong { display: block; font-size: 17px; margin: 4px 0 2px; }
.tool-strip em { font-style: normal; font-size: 14px; color: #5A6478; }

/* Grille de pronostics */
.prono-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn-light { background: white; color: var(--navy) !important; }
.prono-sheet { padding: 10px 12px 40px; display: grid; gap: 24px; justify-items: center; background: #EEF1F6; }
.p-page { width: 210mm; max-width: 100%; min-height: 297mm; background: white; box-shadow: 0 6px 24px rgba(17,29,53,.15); padding: 9mm 10mm; font-size: 9pt; color: #111D35; display: flex; flex-direction: column; gap: 3mm; }
.p-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 6mm; border-bottom: 2.5px solid var(--orange); padding-bottom: 2mm; }
.p-head strong { display: block; font-size: 14pt; }
.p-head span { font-size: 8.5pt; color: #5A6478; }
.p-name { font-size: 10pt; white-space: nowrap; display: flex; align-items: flex-end; gap: 2mm; min-width: 60mm; }
.line { display: inline-block; flex: 1; min-width: 30mm; border-bottom: 1px solid #8A93A6; height: 1em; vertical-align: bottom; }
.line.short { min-width: 15mm; flex: 0; }
.p-rules { background: #FFF6E5; border-radius: 2mm; padding: 1.8mm 3mm; font-size: 8pt; }
.p-pools { display: grid; grid-template-columns: 1fr 1fr; gap: 3mm 5mm; }
.p-pool h3, .p-ko h3, .p-bonus h3, .p-scores h3 { font-size: 10.5pt; margin: 0 0 1mm; color: var(--navy); }
.p-pool h3 small { font-weight: 400; font-size: 7.5pt; color: #5A6478; }
.p-table { width: 100%; border-collapse: collapse; }
.p-table td { padding: 1.1mm 0.8mm; border-bottom: 1px solid #E3E7EF; vertical-align: middle; }
.p-table .pd { font-size: 7pt; color: #5A6478; white-space: nowrap; width: 1%; }
.p-table .pa { text-align: right; }
.p-table .ps { white-space: nowrap; text-align: center; width: 1%; }
.box { display: inline-block; width: 6.5mm; height: 5mm; border: 1px solid #8A93A6; border-radius: 1mm; vertical-align: middle; margin: 0 0.8mm; }
.p-rank { list-style: none; padding: 0; margin: 1.5mm 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1mm 3mm; font-size: 8pt; }
.p-rank li { display: flex; gap: 1.5mm; align-items: flex-end; }
.p-kos { display: grid; grid-template-columns: 1fr 1fr; gap: 3mm 5mm; }
.p-ko:first-child { grid-column: 1 / -1; }
.p-ko .hint { display: block; font-size: 6.5pt; color: #8A93A6; }
.p-ko .pa .line, .p-ko .pb .line { display: block; width: 100%; height: 4.5mm; }
.p-bonus ol { margin: 0; padding-left: 5mm; display: grid; gap: 2mm; }
.p-bonus li { display: flex; gap: 2mm; align-items: flex-end; }
.p-board { width: 100%; border-collapse: collapse; font-size: 8pt; }
.p-board th, .p-board td { border: 1px solid #C9CFDA; padding: 1.2mm; height: 6mm; text-align: center; }
.p-board th:first-child, .p-board td:first-child { width: 32%; text-align: left; }
.p-foot { margin-top: auto; font-size: 7pt; color: #8A93A6; text-align: center; }
@media screen and (max-width: 820px) { .p-page { min-height: 0; padding: 14px; } .p-pools, .p-kos { grid-template-columns: 1fr; } }
@media print {
  @page { size: A4; margin: 0; }
  body * { visibility: hidden; }
  .prono-sheet, .prono-sheet * { visibility: visible; }
  .prono-sheet { position: absolute; left: 0; top: 0; padding: 0; background: none; display: block; }
  .p-page { box-shadow: none; width: 210mm; height: 297mm; min-height: 0; overflow: hidden; break-after: page; page-break-after: always; }
  .p-page:last-child { break-after: auto; page-break-after: auto; }
  .tzpick, .no-print { display: none !important; }
}
.p-page, .p-page * { box-sizing: border-box; }
.p-page { overflow: hidden; }
.p-table { table-layout: fixed; }
.p-table td { font-size: 8.5pt; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-table .pd { width: 21mm; font-size: 6.5pt; }
.p-table .ps { width: 17mm; }
.box { width: 6mm; height: 4.6mm; }
.p-ko .p-table .pd { width: 22mm; }
.p-ko .p-table .ps { width: 16mm; }
.p-ko .pa, .p-ko .pb { white-space: normal; }
.p-bonus li, .p-rank li, .p-board td, .p-board th { font-size: 8.5pt; }
.p-pools, .p-kos { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.p-table td.ps { overflow: visible; text-overflow: clip; width: 19mm; padding: 1.4mm 0; }
.p-table .pd { width: 19mm; }
.p-pool .p-table td.pa, .p-pool .p-table td.pb { font-size: 8pt; }
.p-pool .p-table td { padding-top: 1.7mm; padding-bottom: 1.7mm; }
.box { margin: 0 0.6mm; }
.p-ko .p-table .ps { width: 18mm; }
.p-board th, .p-board td { height: 5.4mm; padding: 0.8mm 1.2mm; }
.p-pool .p-table .pd { width: 12mm; font-size: 6.5pt; line-height: 1.15; }
.p-pool .p-table td.pa, .p-pool .p-table td.pb { white-space: normal; text-overflow: clip; font-size: 8pt; }
.p-pool .p-table td { padding-top: 1.2mm; padding-bottom: 1.2mm; }
.p-ko .p-table td { padding-top: 0.9mm; padding-bottom: 0.9mm; }
.p-ko .p-table .pd { white-space: normal; width: 15mm; }
.p-kos { gap: 2mm 5mm; }
.p-table td.pd { white-space: normal; text-overflow: clip; }
.p-pool .p-table .pd { width: 14mm; }
.p-rank b { font-weight: 600; white-space: nowrap; }
.tzpick label { min-width: 0; max-width: 100%; }
.tzpick select { width: 100%; max-width: 360px; display: block; margin-top: 4px; }
.tzpick { top: 76px; }
.prose, .article-layout > * { min-width: 0; }
@media screen and (max-width: 820px) { .p-page { width: 100%; } .p-head { flex-direction: column; align-items: stretch; } .p-name { min-width: 0; } }
.bingo { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bingo button { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 480px) { .bingo button { font-size: 11.5px; padding: 4px; } .bingo-wrap { padding: 14px; } }

/* Chiffres clés */
.keyfigures { margin: 24px 0; padding: 18px; border-radius: 18px; background: #F3F5FA; border: 1px solid #E1E5EE; }
.kf-title { font-weight: 800; font-size: 17px; margin-bottom: 12px; }
.kf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.kf { background: white; border-radius: 14px; padding: 14px; box-shadow: 0 2px 8px rgba(17,29,53,.06); }
.kf strong { display: block; font-size: 30px; line-height: 1.1; font-weight: 800; }
.kf span { display: block; font-size: 14px; margin-top: 6px; line-height: 1.35; }
.kf-src { font-size: 12.5px; color: #5A6478; margin: 12px 0 0 !important; }
.keyfigures .kf strong { color: var(--orange); }
.sec-mini { font-size: 20px; margin: 28px 0 12px; }
