/* Le Grand TOP — accueil spectaculaire, sans impact sur les autres pages */
.home-hero{min-height:350px;gap:24px;justify-content:space-between;padding:38px 4.5%;margin-top:12px}
.home-hero:before{left:35%;opacity:.75}.home-hero:after{background:linear-gradient(90deg,#00244cf7 0%,#002d5af0 34%,#003060c0 66%,#002f5a68 100%)}
.home-hero .hero-copy{position:relative;z-index:1;max-width:535px;flex:1}
.home-eyebrow,.home-section-kicker{font-size:.72rem;letter-spacing:.13em;font-weight:800;color:#f1c779}
.home-hero h1{margin-top:14px}.home-hero p{max-width:490px}
.home-hero-action,.discovery-action{display:inline-flex;align-items:center;gap:14px;margin-top:24px;padding:11px 19px;background:linear-gradient(135deg,#ffe5a4,#e9b44f);color:#002b55;text-decoration:none;border-radius:30px;font-weight:800;font-size:.91rem;transition:transform .2s,box-shadow .2s}
.home-hero-action:hover,.discovery-action:hover{transform:translateY(-2px);box-shadow:0 8px 22px #0003}
.home-countdown{position:relative;z-index:1;width:285px;flex:none;padding:20px 18px;background:#001c39c9;border:1px solid #f3d28b7a;border-radius:18px;box-shadow:0 12px 34px #00182d6b;backdrop-filter:blur(8px)}
.countdown-label{font-weight:750;font-size:.9rem;margin-bottom:17px;color:#fff}
.countdown-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.countdown-grid>span{display:flex;flex-direction:column;align-items:center;padding:10px 2px 8px;background:#ffffff14;border-radius:9px}
.countdown-grid strong{font-size:1.55rem;line-height:1.1;color:#f9d384;font-variant-numeric:tabular-nums}
.countdown-grid small{margin-top:5px;color:#e6effa;font-size:.7rem}.countdown-foot{display:block;margin-top:14px;color:#c8d9e9;font-size:.71rem}
.home-featured{margin:29px 0 30px}.home-section-top{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:16px}
.home-section-top h2,.home-discoveries h2{font-size:clamp(1.5rem,2.9vw,2.2rem);margin:6px 0;letter-spacing:-.035em;color:#fff}.home-section-top h2 span,.home-discoveries h2 span{color:#f1c779}
.home-section-top p{margin:0;color:#d6e7f6;font-size:.92rem}.home-section-jump{color:#f4d38f;font-size:.85rem;text-decoration:none;white-space:nowrap}
.featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.featured-card{display:flex;align-items:center;gap:13px;min-width:0;padding:12px;border-radius:15px;background:linear-gradient(145deg,#fff,#eff5fb);border:1px solid #f0d698;box-shadow:0 8px 24px #001b3760;text-decoration:none;color:#07335e;transition:transform .2s,box-shadow .2s}
.featured-card:hover{transform:translateY(-3px);box-shadow:0 13px 28px #00172a80}
.featured-picture{position:relative;width:77px;height:83px;flex:none}.featured-picture img,.featured-placeholder{width:100%;height:100%;object-fit:cover;border-radius:10px}
.featured-placeholder,.discovery-placeholder{display:grid;place-items:center;background:linear-gradient(145deg,#2a6497,#00274c);color:#f5ce7e;font-size:2rem}
.featured-star{position:absolute;top:-8px;left:-7px;background:#f1c779;border-radius:50%;width:24px;height:24px;display:grid;place-items:center;color:#063660;font-size:.85rem}
.featured-info{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.featured-category{color:#56718b;font-size:.73rem;font-weight:750;text-transform:uppercase;letter-spacing:.04em}
.featured-info strong{font-size:1rem;overflow-wrap:anywhere}.featured-votes{color:#97702b;font-weight:750;font-size:.78rem}.featured-arrow{align-self:flex-start;color:#6b8bab}
.home-discoveries{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:25px 0 38px;padding:28px 32px;border-radius:18px;background:linear-gradient(115deg,#071e43,#183f72 68%,#2a3971);border:1px solid #e5bd705c;box-shadow:0 8px 26px #00172c40}
.discovery-intro{flex:1}.home-discoveries p{max-width:460px;margin:10px 0 0;line-height:1.5;color:#e0eaf5}.discovery-action{margin-top:18px}
.discovery-people{display:flex;justify-content:flex-end;gap:13px;flex:1}.discovery-person{min-width:0;max-width:115px;flex:1;color:#fff;text-align:center;text-decoration:none}.discovery-person img,.discovery-placeholder{width:100%;height:104px;object-fit:cover;border-radius:12px;border:1px solid #ffffff4d}.discovery-person strong{display:block;margin-top:7px;font-size:.82rem;overflow-wrap:anywhere}
/* Les catégories conservent leur grille et leurs couvertures */
.home-featured+.section-heading{margin-top:32px}.card{transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #00152c55}
.card .category-cover{overflow:hidden;transition:filter .2s}.card .category-cover:hover{filter:brightness(1.09)}
@media(max-width:1000px){.home-hero{flex-wrap:wrap}.home-countdown{width:min(100%,410px)}.featured-grid{gap:10px}.featured-card{gap:9px}.featured-picture{width:60px;height:70px}}
@media(max-width:700px){.home-hero{padding:26px 22px;gap:22px}.home-hero:before{left:0;opacity:.4}.home-hero:after{background:linear-gradient(90deg,#00244cf7,#002d5ad9)}.home-countdown{width:100%;max-width:100%}.featured-grid{grid-template-columns:1fr}.featured-picture{width:66px;height:70px}.home-section-top{align-items:flex-start;flex-direction:column;gap:9px}.home-discoveries{flex-direction:column;align-items:stretch;padding:24px 19px}.discovery-people{justify-content:flex-start}.discovery-person{max-width:125px}.home-hero-action{margin-top:17px}}
@media(prefers-reduced-motion:reduce){.featured-card,.card,.home-hero-action,.discovery-action{transition:none}}

/* Accès central à la page Catégories */
.home-all-categories{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin:26px 0;padding:28px 30px;border:1px solid rgba(246,205,120,.36);border-radius:18px;background:linear-gradient(125deg,#07335d,#0b5481);color:#fff;box-shadow:0 12px 32px rgba(0,21,48,.15)}
.home-all-categories h2{font-size:clamp(1.5rem,3vw,2.2rem);margin:6px 0 8px;color:#fff}.home-all-categories p{max-width:650px;margin:0;color:#dbeaf7;line-height:1.5}.home-categories-action{display:inline-flex;align-items:center;gap:12px;flex:none;border-radius:30px;padding:13px 20px;background:linear-gradient(#ffe19b,#eebf61);color:#07335d!important;text-decoration:none;font-weight:800}.home-categories-action:hover{filter:brightness(1.07)}
@media(max-width:600px){.home-all-categories{padding:22px 18px}.home-categories-action{width:100%;justify-content:center}}
/* Barre de navigation à quatre liens : permet le retour à la ligne sur petits écrans */
@media(max-width:600px){.main-nav{flex-wrap:wrap;justify-content:flex-end;white-space:normal}.main-nav a{padding:7px 8px;font-size:.77rem}}

/* Accueil v2 : statistiques, duel, poursuite du podium, anecdote */
.home-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0 38px}
.home-number{border:1px solid #d9e5f1;background:linear-gradient(145deg,#fff,#eef5fd);border-radius:17px;padding:20px 14px;display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;box-shadow:0 8px 25px #102e5010}
.home-number>span{font-size:1.5rem;color:#bb8d32}.home-number strong{font-size:clamp(1.5rem,3vw,2.25rem);line-height:1.15;color:#073866;font-variant-numeric:tabular-nums}.home-number small{color:#48647e;font-weight:700}
.home-duel{margin:38px 0;padding:clamp(20px,3.5vw,34px);border-radius:22px;background:linear-gradient(125deg,#061d3a,#073d6a);color:#fff;box-shadow:0 14px 35px #061e3c24}
.home-duel .home-section-top h2,.home-duel .home-section-top p{color:#fff}.home-duel .home-section-jump{color:#ffdc90}
.duel-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0 18px}.duel-contender{display:flex;align-items:center;gap:14px;min-width:0;background:#ffffff12;border:1px solid #ffffff25;border-radius:15px;padding:14px}.duel-avatar{width:80px;height:80px;border-radius:12px;overflow:hidden;display:grid;place-items:center;background:#ffffff20;flex-shrink:0;font-size:2rem}.duel-avatar img{width:100%;height:100%;object-fit:cover}.duel-person{display:flex;flex-direction:column;gap:4px;min-width:0}.duel-person small{color:#ffdb95;font-weight:700}.duel-person strong{font-size:1.12rem;overflow-wrap:anywhere}.duel-person span{color:#e0eaf7}.duel-track{height:12px;border-radius:30px;background:#7492cb;overflow:hidden}.duel-track span{display:block;height:100%;background:linear-gradient(90deg,#f5d998,#efb947);border-radius:30px}.duel-gap{text-align:center;color:#ffdf9d;font-weight:800;margin:12px 0 0}
.home-chaser{margin:30px 0;display:flex;gap:20px;align-items:center;padding:22px;border-radius:18px;border:1px solid #d8e4ef;background:#f5f9fe}.chaser-icon{font-size:2.5rem}.home-chaser>div:nth-child(2){flex:1;min-width:0}.home-chaser h2{margin:5px 0}.home-chaser p{margin:0;color:#52677f}.home-chaser .home-section-jump{white-space:nowrap}
.home-fact{display:flex;align-items:flex-start;gap:20px;margin:35px 0 48px;padding:26px;border-radius:20px;border:1px solid #e3d6b5;background:linear-gradient(120deg,#fff8e8,#f5f8fe)}.home-fact-icon{font-size:2.1rem}.home-fact h2{margin:7px 0}.home-fact p{margin:0;color:#405b74;line-height:1.6}
@media(max-width:700px){.home-numbers{gap:8px}.home-number{padding:14px 6px}.home-number small{font-size:.7rem}.duel-grid{grid-template-columns:1fr;gap:10px}.duel-avatar{width:64px;height:64px}.home-chaser{flex-wrap:wrap;gap:12px}.home-chaser .home-section-jump{margin-left:auto}.home-fact{padding:18px;gap:12px}}

/* Correctif de contraste : Le saviez-vous ? */
.home-fact .home-section-kicker{color:#8b5b08!important}
.home-fact h2,.home-fact #home-fact-title{color:#073866!important}
.home-fact p{color:#405b74!important}
.home-duel-pending h2,.home-duel-pending p{color:#fff!important}
.home-duel .home-section-kicker{color:#ffdc90}

/* Correction du titre dans À quelques voix du podium */
.podium-watch h3,
.podium-watch h4 {
    color: #073866 !important;
}
/* Accueil compact v6 : compte à rebours réduit dans les deux dimensions. */
@media (min-width:1001px){
  .home-countdown{width:310px;padding:14px 15px;border-radius:15px}
}
.countdown-label{font-size:.78rem;margin-bottom:10px;white-space:nowrap;letter-spacing:-.015em}
.countdown-grid{gap:5px}
.countdown-grid>span{padding:7px 2px 6px;border-radius:8px}
.countdown-grid strong{font-size:1.35rem}
.countdown-grid small{margin-top:3px;font-size:.65rem}
.countdown-foot{margin-top:9px;font-size:.66rem;white-space:nowrap}
/* Statistiques plus discrètes, moins hautes et moins larges. */
.home-numbers{max-width:900px;margin:15px auto 24px;gap:11px}
.home-number{padding:10px 10px;gap:2px;border-radius:13px;box-shadow:0 4px 13px #102e5010}
.home-number>span{font-size:1.1rem;line-height:1.1}
.home-number strong{font-size:clamp(1.25rem,2.2vw,1.7rem);line-height:1.1}
.home-number small{font-size:.77rem;line-height:1.2}
@media(max-width:1000px){.home-countdown{padding:14px 15px;max-width:340px}}
@media(max-width:700px){
  .home-countdown{width:100%;max-width:100%;padding:14px 12px}
  .countdown-label{font-size:clamp(.66rem,2.65vw,.78rem);white-space:normal}
  .countdown-foot{font-size:clamp(.59rem,2.35vw,.66rem);white-space:normal}
  .home-numbers{margin:13px auto 22px;gap:7px}
  .home-number{padding:9px 4px;gap:2px}
  .home-number>span{font-size:1rem}
  .home-number strong{font-size:clamp(1.12rem,4vw,1.45rem)}
  .home-number small{font-size:clamp(.57rem,2.1vw,.7rem)}
}

/* Photos de la rubrique « Le saviez-vous ? » : coins arrondis comme les TOP. */
.home-fact-photo { border-radius: 12px; }

/* Correctifs : titre du podium lisible et statistiques sur toute la largeur de la bannière. */
.home-chaser h2, .home-chaser #chaser-title { color: #073866 !important; }
.home-numbers { width: 100%; max-width: none; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: clamp(12px, 3vw, 36px); }
.home-number { height: 100%; min-height: 0; box-sizing: border-box; justify-content: center; }
@media (max-width:700px) { .home-numbers { gap: 8px; } }

/* Photo du candidat a quelques voix du podium */
.home-chaser .chaser-photo{width:92px;height:92px;flex:0 0 92px;object-fit:cover;border-radius:12px;display:block;background:#e7eef7}
.home-chaser .chaser-content{flex:1;min-width:0}
@media(max-width:700px){.home-chaser .chaser-photo{width:70px;height:70px;flex-basis:70px}}

/* Invitations aléatoires au vote, trois cartes de hauteur identique. */
.home-vote-picks{margin:28px 0 30px}
.home-vote-picks-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home-vote-pick{display:flex;align-items:center;gap:14px;min-width:0;min-height:134px;padding:16px;border:1px solid #d9e4ef;border-radius:16px;background:#fff;box-shadow:0 7px 22px rgba(5,40,78,.07)}
.home-vote-pick-image{flex:0 0 98px;width:98px;height:98px;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:#e9f0f8;color:#073866;font-size:2rem}
.home-vote-pick-image img{width:100%;height:100%;object-fit:cover;display:block}
.home-vote-pick-details{display:flex;flex-direction:column;align-items:flex-start;min-width:0;flex:1;gap:6px}
.home-vote-pick-category{font-size:.75rem;font-weight:700;color:#42627f}
.home-vote-pick h3{margin:0;color:#073866;font-size:clamp(.94rem,1.45vw,1.15rem);line-height:1.25;overflow-wrap:anywhere}
.home-vote-pick-action{display:inline-flex;align-items:center;gap:7px;margin-top:5px;padding:8px 12px;border-radius:9px;background:#073866;color:#fff!important;text-decoration:none;font-size:.83rem;font-weight:750}
.home-vote-pick-action:hover{background:#15598f}
.home-vote-pick-action:focus-visible{outline:3px solid #c79735;outline-offset:3px}
@media(max-width:950px){.home-vote-picks-grid{gap:10px}.home-vote-pick{padding:12px;gap:10px}.home-vote-pick-image{width:72px;height:72px;flex-basis:72px}}
@media(max-width:700px){.home-vote-picks-grid{grid-template-columns:1fr;gap:10px}.home-vote-pick{min-height:105px}.home-vote-pick-image{width:80px;height:80px;flex-basis:80px}.home-vote-pick h3{font-size:1rem}}

/* Compte à rebours : centrage des mentions supérieure et inférieure. */
.home-countdown .countdown-label,
.home-countdown .countdown-foot { text-align: center; }
