/* ================================================================
   PÈSSÈ AWARDS GUINÉE — Design Clair & Professionnel v3
   Palette : Blanc Crème + Or + Accents Guinée
   ================================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  /* Couleurs principales */
  --cream:       #FAF8F4;
  --cream2:      #F3EFE6;
  --cream3:      #EDE8DC;
  --white:       #FFFFFF;
  --gold:        #B8860B;
  --gold-light:  #D4A017;
  --gold-bright: #F0C040;
  --gold-pale:   #FDF5DC;
  --gold-border: rgba(184,134,11,.25);
  --dark-text:   #1A1208;
  --body-text:   #3D3520;
  --muted:       #7A6E58;
  --muted2:      #8A7E6A;
  --border:      #E4DDD0;
  --border2:     #D5CCBA;
  /* Guinée */
  --green:       #009A44;
  --green-light: #E8F7EE;
  --red:         #CE1126;
  --red-light:   #FDECEA;
  /* Statuts */
  --success:     #1A7A4A;
  --success-bg:  #EAF7EF;
  --warning:     #B8860B;
  --warning-bg:  #FEF9EA;
  --error:       #C0392B;
  --error-bg:    #FDEDEC;
  --info:        #1565C0;
  --info-bg:     #E8F0FE;
  /* Dimensions */
  --nav-h:       72px;
  --sidebar-w:   260px;
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.07);
  --shadow-md:   0 4px 20px rgba(0,0,0,.1);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.13);
  --shadow-gold: 0 4px 20px rgba(184,134,11,.2);
  --transition:  .25s ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--body-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }
::placeholder { color: var(--muted2); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ── Typography ─────────────────────────────────────────────── */
.serif { font-family: 'Playfair Display', Georgia, serif; }
.text-gold    { color: var(--gold); }
.text-muted   { color: var(--muted); }
.text-success { color: var(--success); }
.text-error   { color: var(--error); }
.text-sm      { font-size: .85rem; }
.font-bold    { font-weight: 700; }

/* ── Layout ──────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 5rem 1.5rem; }
.section-sm { padding: 3rem 1.5rem; }

/* ── Section Header ─────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .7rem; letter-spacing: 3px; text-transform: uppercase; font-weight: 600;
  color: var(--gold); background: var(--gold-pale); border: 1px solid var(--gold-border);
  padding: .35rem .9rem; border-radius: 100px; margin-bottom: 1rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: var(--dark-text); line-height: 1.2;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-desc { color: #5A5040; max-width: 520px; margin: .8rem auto 0; font-size: .95rem; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .65rem 1.5rem; font-size: .82rem; font-weight: 600;
  letter-spacing: .5px; border-radius: var(--radius-md);
  transition: all var(--transition); cursor: pointer; border: 1.5px solid transparent;
  text-decoration: none; white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--white); border-color: var(--gold);
}
.btn-gold:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.btn-outline {
  background: var(--white); color: var(--gold); border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold-pale); }
.btn-light {
  background: var(--cream2); color: var(--body-text); border-color: var(--border);
}
.btn-light:hover { background: var(--cream3); }
.btn-success { background: var(--success); color: var(--white); border-color: var(--success); }
.btn-success:hover { filter: brightness(1.1); }
.btn-danger  { background: var(--error); color: var(--white); border-color: var(--error); }
.btn-danger:hover { filter: brightness(1.1); }
.btn-sm  { padding: .4rem .9rem; font-size: .75rem; border-radius: var(--radius-sm); }
.btn-lg  { padding: .85rem 2rem; font-size: .9rem; }
.btn-xl  { padding: 1rem 2.2rem; font-size: .95rem; }
.btn-full { width: 100%; justify-content: center; }
.btn:disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* ── Card ────────────────────────────────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  overflow: hidden; transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-body { padding: 1.5rem; }

/* ── Badge ───────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .25rem .7rem; border-radius: 100px; font-size: .72rem; font-weight: 600;
}
.badge-gold    { background: var(--gold-pale);    color: var(--gold);    border: 1px solid var(--gold-border); }
.badge-success { background: var(--success-bg);   color: var(--success); }
.badge-error   { background: var(--error-bg);     color: var(--error);   }
.badge-warning { background: var(--warning-bg);   color: var(--warning); }
.badge-info    { background: var(--info-bg);       color: var(--info);   }
.badge-light   { background: var(--cream2);        color: var(--muted);  border: 1px solid var(--border); }

/* ── Live dot ────────────────────────────────────────────────── */
.live-dot { display: inline-block; width:8px; height:8px; background:var(--green); border-radius:50%; animation: blink 1.4s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }

/* ════════════════════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
  transition: background var(--transition);
}
.navbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 1.5rem;
  height: 100%; display: flex; align-items: center; gap: 2rem;
}
.nav-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.nav-logo-img { height: 44px; width: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-border); }
.nav-brand-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--dark-text); line-height: 1.1; }
.nav-brand-sub  { font-size: .65rem; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav-link {
  padding: .5rem .9rem; border-radius: var(--radius-sm); font-size: .85rem; font-weight: 600;
  color: #2D2618; cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.nav-link:hover, .nav-link.active { background: var(--cream2); color: var(--gold); }

/* Dropdown éditions */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; user-select: none; display: flex; align-items: center; gap: .3rem; }
.dropdown-menu {
  position: absolute; top: calc(100% + .5rem); left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); min-width: 220px; padding: .5rem;
  opacity: 0; visibility: hidden; transition: all .2s; pointer-events: none;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open   .dropdown-menu { opacity: 1; visibility: visible; pointer-events: all; }
.dropdown-menu li a {
  display: block; padding: .6rem 1rem; border-radius: var(--radius-sm);
  font-size: .85rem; color: var(--body-text); transition: background .15s;
}
.dropdown-menu li a:hover { background: var(--cream2); color: var(--gold); }

.btn-vote-nav {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1.25rem; background: var(--gold); color: var(--white);
  border-radius: var(--radius-md); font-size: .82rem; font-weight: 600;
  white-space: nowrap; transition: all var(--transition); flex-shrink: 0;
}
.btn-vote-nav:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.btn-vote-dot { width:7px; height:7px; background:#fff; border-radius:50%; animation: blink 1.4s infinite; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: .4rem; border-radius: var(--radius-sm); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--body-text); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.mobile-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.4); z-index:850; }
.mobile-menu {
  display:none; position:fixed; top:var(--nav-h); left:0; right:0;
  background:var(--white); border-bottom:1px solid var(--border);
  padding:1rem; z-index:860; flex-direction:column; gap:.25rem;
  box-shadow: var(--shadow-lg);
}
.mobile-overlay.open, .mobile-menu.open { display:flex; }
.mobile-link { padding:.75rem 1rem; border-radius:var(--radius-sm); font-weight:500; color:var(--body-text); transition:background .15s; }
.mobile-link:hover { background:var(--cream2); color:var(--gold); }
.mobile-cta { margin-top:.5rem; padding:.75rem 1rem; background:var(--gold); color:#fff; border-radius:var(--radius-md); text-align:center; font-weight:600; }

/* ════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh; padding-top: var(--nav-h);
  background: linear-gradient(160deg, var(--cream) 0%, #F7F0E0 40%, #F0E8D0 100%);
  display: flex; align-items: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(212,160,23,.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold-pale); border: 1px solid var(--gold-border);
  color: var(--gold); padding: .4rem 1rem; border-radius: 100px;
  font-size: .72rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; color: var(--dark-text);
  line-height: 1.1; margin-bottom: 1.25rem;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-desc { font-size: 1.05rem; color: #4A4030; line-height: 1.7; margin-bottom: 2rem; max-width: 440px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 2rem; }
.hero-stat-num { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--dark-text); }
.hero-stat-label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-badge-ring {
  width: 340px; height: 340px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-pale) 0%, var(--cream2) 100%);
  border: 2px solid var(--gold-border); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold), 0 0 0 12px rgba(184,134,11,.05);
  position: relative;
}
.hero-trophy { font-size: 7rem; line-height: 1; }
.hero-badge-ring::before {
  content: ''; position: absolute; inset: -12px; border-radius: 50%;
  border: 1px dashed var(--gold-border); animation: rotate 20s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.hero-floating-card {
  position: absolute; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: .75rem 1.1rem; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 600; color: var(--dark-text);
}
.hero-floating-card.top-left    { top: 5%;  left: -10%; }
.hero-floating-card.bottom-right { bottom: 10%; right: -8%; }

/* ── Hero Slider ────────────────────────────────────────────── */
.hero-slider { position:relative; overflow:hidden; min-height:100vh; }
.hero-slides-wrap { position:relative; width:100%; min-height:100vh; }

.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; transition: opacity 1.2s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: all; }

.slide-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg, var(--cream) 0%, #F7F0E0 40%, #F0E8D0 100%);
}
/* Chaque slide a une teinte différente */
.hero-slide:nth-child(1) .slide-bg { background: linear-gradient(160deg,#FAF8F4,#F2EBD8,#EDE0C4); }
.hero-slide:nth-child(2) .slide-bg { background: linear-gradient(160deg,#F5F7FA,#E8EEF5,#D8E4F0); }
.hero-slide:nth-child(3) .slide-bg { background: linear-gradient(160deg,#FAF5F0,#F2E8E0,#EAD8CC); }

.slide-bg::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse at 70% 40%, rgba(212,160,23,.12) 0%, transparent 60%);
}
.slide-content { position:relative; z-index:1; width:100%; padding-top:var(--nav-h); }

/* Slide image overlay (optionnel) */
.slide-img {
  position:absolute; inset:0; z-index:0; overflow:hidden;
}
.slide-img img { width:100%;height:100%;object-fit:cover;object-position:center top; }
.slide-img::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(250,248,244,.97) 0%, rgba(250,248,244,.85) 45%, rgba(250,248,244,.3) 100%);
}

/* Dots navigation */
.hero-dots {
  position:absolute; bottom:2rem; left:50%; transform:translateX(-50%);
  display:flex; gap:.5rem; z-index:20;
}
.hero-dot {
  width:8px; height:8px; border-radius:4px;
  background:rgba(184,134,11,.25); border:none; cursor:pointer;
  transition:all .3s ease;
}
.hero-dot.active { width:24px; background:var(--gold); }

/* Arrows */
.hero-arrow {
  position:absolute; top:50%; transform:translateY(-50%); z-index:20;
  width:42px; height:42px; border-radius:50%;
  background:rgba(255,255,255,.92); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; font-size:1.1rem; color:var(--body-text);
  box-shadow:var(--shadow-sm); transition:all var(--transition);
}
.hero-arrow:hover { background:var(--gold); color:#fff; border-color:var(--gold); transform:translateY(-50%) scale(1.05); }
.hero-arrow.prev { left:1.5rem; }
.hero-arrow.next { right:1.5rem; }

/* Slide counter */
.slide-counter {
  position:absolute; bottom:2rem; right:2rem; z-index:20;
  font-size:.75rem; color:var(--muted); font-weight:600; letter-spacing:1px;
}

@media (max-width:640px) {
  .hero-arrow { display:none; }
  .slide-counter { display:none; }
}

/* ── Countdown ──────────────────────────────────────────────── */
.countdown-section {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.5rem;
  box-shadow: var(--shadow-sm); text-align: center; margin-top: 2rem;
}
.countdown-title { font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; color: #5A5040; margin-bottom: 1.25rem; }
.countdown-grid { display: flex; gap: 1rem; justify-content: center; }
.countdown-item { text-align: center; min-width: 64px; }
.countdown-num {
  font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700;
  color: var(--dark-text); background: var(--cream2); border-radius: var(--radius-md);
  padding: .4rem .8rem; display: block; min-width: 64px; border: 1px solid var(--border);
}
.countdown-unit { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: .3rem; }

/* ════════════════════════════════════════════════════════════
   CATEGORIES
════════════════════════════════════════════════════════════ */
.categories-section { background: var(--cream); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }

.cat-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition);
  cursor: pointer; display: flex; flex-direction: column;
}
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gold-border); }
.cat-card-img {
  height: 160px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--gold-pale), var(--cream2));
}
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-card:hover .cat-card-img img { transform: scale(1.05); }
.cat-card-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3.5rem;
}
.cat-card-body { padding: 1.25rem; flex: 1; }
.cat-card-icon { font-size: 1.5rem; margin-bottom: .5rem; }
.cat-card-name { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--dark-text); margin-bottom: .4rem; }
.cat-card-desc { font-size: .82rem; color: #5A5040; line-height: 1.5; margin-bottom: .75rem; }
.cat-card-meta { display: flex; align-items: center; justify-content: space-between; }
.cat-card-count { font-size: .78rem; color: var(--muted); }
.cat-card-arrow { width: 30px; height: 30px; border-radius: 50%; background: var(--gold-pale); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: .9rem; transition: all var(--transition); }
.cat-card:hover .cat-card-arrow { background: var(--gold); color: var(--white); }

/* ════════════════════════════════════════════════════════════
   CLASSEMENT PAR CATÉGORIE
════════════════════════════════════════════════════════════ */
.leaderboard-section { background: var(--cream2); }
.leaderboard-cats { display: flex; flex-direction: column; gap: 3rem; }
.lb-cat-header {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem;
  padding-bottom: .75rem; border-bottom: 2px solid var(--border);
}
.lb-cat-icon { font-size: 1.5rem; }
.lb-cat-name { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--dark-text); }
.lb-cat-link { margin-left: auto; font-size: .8rem; color: var(--gold); font-weight: 600; text-decoration: underline; }

.lb-nominees { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }

.lb-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.25rem; text-align: center; position: relative; box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.lb-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.lb-card.rank-1 { border-color: var(--gold); background: linear-gradient(160deg, #FFFBF0, var(--white)); }
.lb-card.rank-2 { border-color: #B0B8C8; }
.lb-card.rank-3 { border-color: #C0956C; }
.lb-rank {
  position: absolute; top: .75rem; left: .75rem;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700;
}
.lb-rank.r1 { background: var(--gold); color: var(--white); }
.lb-rank.r2 { background: #9AAABE; color: var(--white); }
.lb-rank.r3 { background: #C0956C; color: var(--white); }
.lb-photo {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  margin: 0 auto .75rem; border: 3px solid var(--border);
}
.lb-card.rank-1 .lb-photo { border-color: var(--gold); }
.lb-name { font-weight: 700; font-size: .9rem; color: var(--dark-text); margin-bottom: .25rem; }
.lb-votes { font-size: .8rem; color: var(--gold); font-weight: 600; }

/* ════════════════════════════════════════════════════════════
   NOMINEES PAGE
════════════════════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + 3rem) 1.5rem 3rem;
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream2) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--muted2); }
.page-hero-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 700; color: var(--dark-text); }
.page-hero-sub   { font-size: .95rem; color: var(--muted); margin-top: .5rem; }

.nominees-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }

.nom-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.nom-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gold-border); }
.nom-card-img { height: 200px; overflow: hidden; position: relative; background: var(--cream2); }
.nom-card-img img { width:100%; height:100%; object-fit:cover; transition: transform .4s; }
.nom-card:hover .nom-card-img img { transform: scale(1.06); }
.nom-card-rank {
  position: absolute; top:.75rem; left:.75rem;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .8rem;
}
.nom-card-rank.r1 { background: var(--gold);   color: #fff; }
.nom-card-rank.r2 { background: #9AAABE;        color: #fff; }
.nom-card-rank.r3 { background: #C0956C;        color: #fff; }
.nom-card-rank.rn { background: rgba(0,0,0,.35); color: #fff; }
.nom-card-winner-badge {
  position: absolute; top:.75rem; right:.75rem;
  background: var(--gold); color: #fff; padding: .25rem .6rem;
  border-radius: 100px; font-size: .7rem; font-weight: 700;
}
.nom-card-body { padding: 1.25rem; }
.nom-card-name  { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--dark-text); margin-bottom: .25rem; }
.nom-card-stage { font-size: .82rem; color: var(--muted); margin-bottom: .75rem; }
.nom-card-bio   { font-size: .82rem; color: #5A5040; line-height: 1.55; margin-bottom: 1rem; }
.vote-bar-wrap  { margin-bottom: 1rem; }
.vote-bar-top   { display: flex; justify-content: space-between; align-items: center; margin-bottom: .35rem; }
.vote-bar-label { font-size: .75rem; color: #5A5040; }
.vote-bar-count { font-size: .82rem; font-weight: 700; color: var(--gold); }
.vote-bar-track { height: 6px; background: var(--cream2); border-radius: 3px; overflow: hidden; }
.vote-bar-fill  { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 3px; transition: width .6s ease; }
.nom-card-footer { display: flex; gap: .5rem; }

/* ════════════════════════════════════════════════════════════
   VOTE DETAIL PAGE
════════════════════════════════════════════════════════════ */
.vote-detail-section { padding: calc(var(--nav-h) + 2rem) 1.5rem 4rem; }
.vote-detail-inner { max-width: 900px; margin: 0 auto; }
.vote-detail-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2.5rem; align-items: start; }

.nominee-profile-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 2rem; box-shadow: var(--shadow-sm); text-align: center; position: sticky; top: calc(var(--nav-h) + 1rem);
}
.nom-profile-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; border: 4px solid var(--gold-border); }
.nom-profile-name  { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--dark-text); margin-bottom: .25rem; }
.nom-profile-stage { font-size: .9rem; color: var(--muted); margin-bottom: .75rem; }
.nom-profile-cat   { display: inline-flex; align-items: center; gap: .3rem; background: var(--gold-pale); color: var(--gold); padding: .3rem .8rem; border-radius: 100px; font-size: .78rem; font-weight: 600; margin-bottom: 1rem; }
.nom-profile-bio   { font-size: .85rem; color: var(--muted); line-height: 1.6; text-align: left; margin-bottom: 1.25rem; }
.nom-profile-votes { font-size: 1.6rem; font-weight: 700; color: var(--dark-text); }
.nom-profile-votes span { font-size: .8rem; color: var(--muted); font-weight: 400; }
.nom-socials { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-top: .75rem; }
.social-chip { display: inline-flex; align-items: center; gap: .3rem; background: var(--cream2); color: var(--body-text); padding: .3rem .8rem; border-radius: 100px; font-size: .75rem; font-weight: 500; border: 1px solid var(--border); transition: all var(--transition); }
.social-chip:hover { background: var(--gold-pale); color: var(--gold); border-color: var(--gold-border); }

/* Vote form */
.vote-form-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 2rem; box-shadow: var(--shadow-sm);
}
.vote-form-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--dark-text); margin-bottom: .5rem; }
.vote-form-desc  { font-size: .88rem; color: var(--muted); margin-bottom: 1.75rem; }

.vote-count-wrap { margin-bottom: 1.75rem; }
.vote-count-label { font-weight: 600; color: var(--dark-text); margin-bottom: .5rem; font-size: .9rem; }
.vote-count-hint  { font-size: .78rem; color: var(--muted); margin-bottom: .75rem; }
.vote-count-input-wrap { display: flex; align-items: center; gap: .75rem; }
.vote-count-btn {
  width: 40px; height: 40px; border-radius: 50%; background: var(--cream2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700;
  color: var(--body-text); cursor: pointer; transition: all var(--transition); flex-shrink: 0;
}
.vote-count-btn:hover { background: var(--gold-pale); border-color: var(--gold-border); color: var(--gold); }
.vote-count-field {
  flex: 1; text-align: center; font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700;
  color: var(--dark-text); border: 2px solid var(--border); border-radius: var(--radius-md); padding: .4rem;
  background: var(--cream); transition: border-color var(--transition);
}
.vote-count-field:focus { border-color: var(--gold); outline: none; background: var(--white); }

.quick-packs { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.quick-pack {
  padding: .35rem .9rem; border: 1.5px solid var(--border); border-radius: 100px;
  font-size: .78rem; font-weight: 600; cursor: pointer; background: var(--cream2);
  color: var(--body-text); transition: all var(--transition);
}
.quick-pack:hover, .quick-pack.active { background: var(--gold-pale); border-color: var(--gold); color: var(--gold); }

.total-display {
  background: var(--cream2); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 1rem 1.25rem; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: space-between;
}
.total-label { font-size: .85rem; color: var(--muted); font-weight: 500; }
.total-amount { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--gold); }

.payment-methods { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.5rem; }
.pay-method-label { font-weight: 600; color: var(--dark-text); margin-bottom: .5rem; font-size: .9rem; }
.pay-method-option {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem; border: 2px solid var(--border); border-radius: var(--radius-md);
  cursor: pointer; transition: all var(--transition); background: var(--white);
}
.pay-method-option:hover { border-color: var(--gold-border); background: var(--gold-pale); }
.pay-method-option input[type=radio] { accent-color: var(--gold); }
.pay-method-option.selected { border-color: var(--gold); background: var(--gold-pale); }
.pay-method-icon { font-size: 1.3rem; }
.pay-method-info strong { font-size: .88rem; color: var(--dark-text); display: block; }
.pay-method-info small  { font-size: .75rem; color: var(--muted); }

.form-group { margin-bottom: 1rem; }
.form-label { font-size: .85rem; font-weight: 600; color: var(--body-text); margin-bottom: .4rem; display: block; }
.form-control {
  width: 100%; padding: .65rem .9rem; border: 1.5px solid var(--border); border-radius: var(--radius-md);
  font-size: .9rem; background: var(--cream); color: var(--dark-text); transition: border-color var(--transition);
}
.form-control:focus { border-color: var(--gold); outline: none; background: var(--white); }
.form-control.is-invalid { border-color: var(--error); }
.form-hint { font-size: .75rem; color: #5A5040; margin-top: .3rem; }

/* Modal paiement */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; visibility: hidden; transition: all .25s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white); border-radius: var(--radius-xl); padding: 2rem;
  width: 100%; max-width: 440px; box-shadow: var(--shadow-lg);
  transform: scale(.95); transition: transform .25s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--dark-text); margin-bottom: 1.5rem; text-align: center; }
.modal-ref { background: var(--cream2); border-radius: var(--radius-md); padding: 1rem; text-align: center; margin-bottom: 1.5rem; }
.modal-ref-label { font-size: .78rem; color: var(--muted); margin-bottom: .3rem; }
.modal-ref-code  { font-size: 1.4rem; font-weight: 700; color: var(--dark-text); letter-spacing: 2px; }
.modal-amount    { font-size: 1.1rem; font-weight: 700; color: var(--gold); margin-top: .5rem; }
.modal-steps { font-size: .85rem; color: var(--body-text); line-height: 1.8; margin-bottom: 1.5rem; }
.modal-confirm-input { display: none; }

/* ════════════════════════════════════════════════════════════
   APPLICATION / POSTULER
════════════════════════════════════════════════════════════ */
.apply-section { padding: calc(var(--nav-h) + 3rem) 1.5rem 5rem; }
.apply-inner { max-width: 700px; margin: 0 auto; }
.apply-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.5rem; box-shadow: var(--shadow-sm);
}
.apply-header { text-align: center; margin-bottom: 2rem; }
.apply-title { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--dark-text); }
.apply-sub   { font-size: .92rem; color: var(--muted); margin-top: .5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row .form-group { margin-bottom: 0; }
textarea.form-control { min-height: 100px; resize: vertical; }

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--dark-text); color: var(--cream2);
  padding: 4rem 1.5rem 2rem; margin-top: 4rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 2rem;
}
.footer-logo { height: 50px; width: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-border); margin-bottom: 1rem; }
.footer-tagline { font-size: .88rem; color: var(--muted2); line-height: 1.7; margin-bottom: 1.25rem; }
.footer-socials { display: flex; gap: .5rem; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted2); transition: all var(--transition);
}
.social-link:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.footer-links-title { font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 600; }
.footer-links ul li a { font-size: .85rem; color: #BEB8AA; display: block; padding: .3rem 0; transition: color var(--transition); }
.footer-links ul li a:hover { color: var(--cream); }
.footer-bottom { text-align: center; font-size: .8rem; color: var(--muted2); }

/* ── Toast ───────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 2000;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1rem 1.25rem; display: flex; align-items: center; gap: .8rem;
  box-shadow: var(--shadow-lg); min-width: 280px; max-width: 380px;
  transform: translateX(120%); transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  border-left: 4px solid var(--gold);
}
.toast.show { transform: translateX(0); }
.toast.success { border-left-color: var(--success); }
.toast.error   { border-left-color: var(--error); }
.toast-icon { font-size: 1.4rem; flex-shrink: 0; }
.toast-body strong { font-size: .9rem; color: var(--dark-text); display: block; }
.toast-body p { font-size: .82rem; color: var(--muted); margin: 0; }

/* ── Sections diverses ───────────────────────────────────────── */
.sponsors-section { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3rem 1.5rem; }
.sponsors-logos { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; align-items: center; margin-top: 1.5rem; }
.sponsor-logo { background: var(--cream2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: .75rem 1.5rem; font-weight: 600; color: var(--muted); font-size: .88rem; }

.cta-section {
  background: linear-gradient(135deg, var(--dark-text), #2D2618);
  color: var(--cream); padding: 5rem 1.5rem; text-align: center;
}
.cta-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem,4vw,3rem); font-weight: 700; margin-bottom: 1rem; color: var(--cream); }
.cta-title em { color: var(--gold-bright); font-style: italic; }
.cta-desc { font-size: .98rem; color: var(--muted2); max-width: 520px; margin: 0 auto 2rem; }

/* Closed votes banner */
.votes-closed-banner {
  background: var(--warning-bg); border: 1px solid var(--gold-border);
  border-radius: var(--radius-md); padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: .75rem; margin-bottom: 2rem; font-size: .88rem;
  color: var(--warning);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner    { grid-template-columns: 1fr; }
  .hero-visual   { display: none; }
  .vote-detail-grid { grid-template-columns: 1fr; }
  .nominee-profile-card { position: static; }
  .footer-top    { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .btn-vote-nav { display: none; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .countdown-grid { gap: .5rem; }
  .countdown-num  { font-size: 1.8rem; min-width: 50px; }
  .footer-top    { grid-template-columns: 1fr; }
  .hero-stats    { gap: 1rem; }
  .cat-grid      { grid-template-columns: 1fr 1fr; }
}

/* ================================================================
   CORRECTIONS LISIBILITÉ + AMÉLIORATIONS v3.1
   ================================================================ */

/* Textes sur fonds clairs — améliorer le contraste */
.hero-desc          { color: #4A3F2A !important; }
.hero-stat-label    { color: #6B5C3A !important; }
.section-desc       { color: #5A4F3A !important; }
.cat-card-desc      { color: #5C5040 !important; }
.nom-card-bio       { color: #5C5040 !important; }
.nom-profile-bio    { color: #4A3F2A !important; }
.form-hint          { color: #5A4F3A !important; }
.vote-form-desc     { color: #4A3F2A !important; }
.countdown-title    { color: #4A3F2A !important; font-weight: 600; }
.countdown-unit     { color: #5A4F3A !important; }

/* Nav links — meilleur contraste */
.nav-link           { color: #2D2618 !important; font-weight: 500; }
.nav-link:hover     { color: var(--gold) !important; }

/* Breadcrumb */
.breadcrumb         { color: #5A4F3A; }
.breadcrumb a       { color: #5A4F3A; font-weight: 500; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep     { color: #ADA28E; }

/* Page hero subtitle */
.page-hero-sub      { color: #5A4F3A !important; font-weight: 500; }

/* Footer links */
.footer-links ul li a { color: #CEC9BC !important; }

/* Leaderboard */
.lb-votes           { color: var(--gold); font-weight: 700; font-size: .82rem; }
.lb-name            { color: #1A1208; font-weight: 700; font-size: .88rem; }

/* Cat card - fond blanc, texte sombre */
.cat-card-name      { color: #1A1208 !important; font-weight: 700; }
.cat-card-count     { color: #5C5040 !important; }

/* Nominees page */
.nom-card-name      { color: #1A1208 !important; }
.nom-card-stage     { color: #7A6E58 !important; }
.vote-bar-label     { color: #5A4F3A !important; }
.vote-bar-count     { color: var(--gold) !important; font-weight: 700; }

/* Vote detail */
.nom-profile-name   { color: #1A1208 !important; font-size: 1.4rem; }
.nom-profile-stage  { color: #6B5C3A !important; }
.vote-form-title    { color: #1A1208 !important; }
.total-label        { color: #4A3F2A !important; font-weight: 600; }
.vote-count-label   { color: #1A1208 !important; }
.vote-count-hint    { color: #5A4F3A !important; }
.form-label         { color: #1A1208 !important; }
.pay-method-label   { color: #1A1208 !important; }
.pay-method-info strong { color: #1A1208 !important; }
.pay-method-info small  { color: #5A4F3A !important; }

/* Apply form */
.apply-title        { color: #1A1208 !important; }
.apply-sub          { color: #5A4F3A !important; }

/* CTA section */
.cta-desc           { color: #D5CCBA !important; }

/* Countdown numbers - plus lisibles */
.countdown-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem !important;
  font-weight: 700;
  color: #1A1208 !important;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: .5rem .8rem;
  display: block;
  min-width: 68px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* Sponsors section */
.sponsors-section { background: var(--white); padding: 3rem 1.5rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sponsor-logo-item {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 1rem 1.5rem; min-width: 120px; transition: all var(--transition);
}
.sponsor-logo-item:hover { box-shadow: var(--shadow-sm); border-color: var(--gold-border); }
.sponsor-logo-item img { max-height: 50px; max-width: 120px; object-fit: contain; }
.sponsor-logo-item span { font-size: .78rem; color: var(--muted); font-weight: 600; text-align: center; }
.sponsor-tier-platine .sponsor-logo-item { border-color: var(--gold); background: var(--gold-pale); }
.sponsors-logos { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }

/* Jury space */
.jury-score-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.25rem; margin-bottom: .75rem; transition: all var(--transition);
}
.jury-score-card:hover { box-shadow: var(--shadow-sm); }
.jury-score-input {
  -webkit-appearance: none; width: 100%; height: 6px;
  background: linear-gradient(to right, var(--gold) 0%, var(--gold) var(--pct, 50%), var(--cream2) var(--pct, 50%));
  border-radius: 3px; cursor: pointer; outline: none;
}
.jury-score-input::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--white); box-shadow: var(--shadow-sm); cursor: pointer;
}

/* Nominees list - afficher votes exacts */
.votes-exact { font-size: .85rem; font-weight: 700; color: var(--gold); }

/* Boutons dans modales bien lisibles */
.modal-steps { color: #2D2618 !important; font-size: .88rem; line-height: 1.8; }
.modal-ref-label { color: #7A6E58; font-size: .78rem; }
.modal-ref-code  { color: #1A1208; font-size: 1.4rem; font-weight: 700; letter-spacing: 2px; }
.modal-amount    { color: var(--gold); font-size: 1.1rem; font-weight: 700; }
