/* ============================================================
   Osons le changement ensemble — Feuille de style principale
   ============================================================ */

/* ── Variables ── */
:root {
  --primary: #1B4332;
  --primary-light: #2D6A4F;
  --primary-dark: #0d2b1f;
  --gold: #C8962B;
  --gold-light: #D4A843;
  --teal: #1A6B9A;
  --cream: #FAF7F2;
  --rose: #e11d48;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --font-body: 'Open Sans', sans-serif;
  --font-display: 'Poppins', sans-serif;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-primary: 0 4px 20px rgba(27, 67, 50, 0.25);
  --shadow-gold: 0 4px 15px rgba(200, 150, 43, 0.35);
  --radius-sm: 0.5rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;
  --max-w: 1200px;
  --px: clamp(1rem, 4vw, 2rem);
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

strong {
  font-weight: 700;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

p {
  line-height: 1.75;
}

.nowrap {
  white-space: nowrap;
}

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

section {
  padding: 5rem 0;
}

/* ── Utilities ── */
.text-gold {
  color: var(--gold);
}

.text-primary {
  color: var(--primary);
}

.text-center {
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-green {
  background: rgba(27, 67, 50, 0.1);
  color: var(--primary);
}

.badge-gold {
  background: rgba(200, 150, 43, 0.15);
  color: var(--gold);
}

.badge-white {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

/* ── Section Header ── */
.section-header {
  margin-bottom: 3rem;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header .badge {
  margin-bottom: 1rem;
}

.section-header h2 {
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.section-header.light h2 {
  color: var(--white);
}

.section-header p {
  color: var(--gray-600);
  max-width: 580px;
  font-size: 1.05rem;
}

.section-header.light p {
  color: rgba(255, 255, 255, 0.75);
}


/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.solid {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
}

.site-header.transparent {
  background: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-primary);
  transition: transform 0.2s;
}

.logo:hover .logo-circle {
  transform: scale(1.06);
}

.logo-circle span {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-text {
    display: block;
}


.logo-text .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.25;
}

.logo-text .sub {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
}

.site-header.solid .logo-text {
  color: var(--primary);
}

.site-header.transparent .logo-text {
  color: var(--white);
}

/* Desktop nav */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.2rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.site-header.solid .nav-desktop a {
  color: var(--gray-700);
}

.site-header.solid .nav-desktop a:hover,
.site-header.solid .nav-desktop a.active {
  color: var(--primary);
  background: rgba(27, 67, 50, 0.07);
}

.site-header.transparent .nav-desktop a {
  color: rgba(255, 255, 255, 0.85);
}

.site-header.transparent .nav-desktop a:hover,
.site-header.transparent .nav-desktop a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

/* Nav social */
.nav-social {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 0.4rem;
  padding-left: 0.75rem;
  border-left: 1px solid;
  transition: border-color 0.3s;
}

.site-header.solid .nav-social {
  border-color: var(--gray-200);
}

.site-header.transparent .nav-social {
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-social a {
  padding: 0.45rem;
  border-radius: var(--radius-sm);
  display: flex;
  transition: all 0.2s;
}

.site-header.solid .nav-social a {
  color: var(--gray-500);
}

.site-header.solid .nav-social a:hover {
  color: var(--primary);
  background: rgba(27, 67, 50, 0.07);
}

.site-header.transparent .nav-social a {
  color: rgba(255, 255, 255, 0.65);
}

.site-header.transparent .nav-social a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-social svg {
  width: 16px;
  height: 16px;
}

/* Nav CTA */
.nav-cta {
  margin-left: 0.75rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--gold);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

/* Mobile toggle */
.nav-toggle {
  display: flex;
  padding: 0.6rem;
  border-radius: var(--radius);
  transition: all 0.2s;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.site-header.solid .nav-toggle {
  color: var(--primary);
}

.site-header.solid .nav-toggle:hover {
  background: rgba(27, 67, 50, 0.07);
}

.site-header.transparent .nav-toggle {
  color: var(--white);
}

.site-header.transparent .nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile menu */
.nav-mobile {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.nav-mobile.open {
  display: block;
  max-height: 520px;
}

.nav-mobile nav {
  padding: 1rem var(--px);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-mobile nav a {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.2s;
}

.nav-mobile nav a:hover,
.nav-mobile nav a.active {
  background: rgba(27, 67, 50, 0.07);
  color: var(--primary);
}

.nav-mobile .mobile-cta {
  margin-top: 0.5rem;
  padding: 0.75rem;
  text-align: center;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
}

.nav-mobile .mobile-cta:hover {
  background: var(--gold-light);
}

.mobile-social {
  display: flex;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--gray-100);
}

.mobile-social a {
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--gray-500);
  transition: all 0.2s;
  display: flex;
}

.mobile-social a:hover {
  color: var(--primary);
  background: rgba(27, 67, 50, 0.07);
}

.mobile-social svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   HERO (page d'accueil)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--primary);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../public/assets/arbre.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(27, 67, 50, 0.4) 0%, rgba(13, 43, 31, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 3rem 0 5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    'copy'
    'photo'
    'stats'
    'focus';
  gap: 1.75rem;
  align-items: start;
}

.hero-copy {
  grid-area: copy;
}

@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-areas:
      'copy photo'
      'stats photo'
      'focus photo';
    gap: 2.5rem 3rem;
    align-items: end;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(200, 150, 43, 0.18);
  border: 1px solid rgba(200, 150, 43, 0.4);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.75);
  }
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-title em {
  color: var(--gold-light);
  font-style: italic;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-copy .hero-buttons {
  margin-top: 1rem;
}

.hero-stats {
  grid-area: stats;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0;
  max-width: 420px;
}

.hero-focus {
  grid-area: focus;
  color: rgba(255, 255, 255, 0.84);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 560px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  text-align: center;
  min-width: 0;
}

.stat-card .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.stat-card .lbl {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Candidate photo card in hero */
.hero-photo {
  grid-area: photo;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 320px);
  margin: 0 auto;
  border-radius: var(--radius-lg);
}

@media (min-width: 1024px) {
  .hero-photo {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
  }
}

.hero-photo img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 14 / 19;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 0.2rem);
  box-shadow: 0 24px 60px rgba(221, 221, 221, 0.72);
}

.hero-photo-badge {
  width: 100%;
  max-width: 280px;
  margin-top: 0.95rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  text-align: center;
}

.hero-photo-badge .ph-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
}

.hero-photo-badge .ph-role {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.15rem;
}

@media (max-width: 767px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 2rem 0 3rem;
  }

  .hero-title {
    font-size: clamp(2rem, 11vw, 2.9rem);
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.4rem;
  }

  .hero-buttons {
    display: grid;
    gap: 0.75rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
  }

  .hero-stats {
    gap: 0.7rem;
  }

  .hero-focus {
    font-size: 0.98rem;
  }

  .stat-card {
    padding: 0.85rem 0.55rem;
  }

  .stat-card .num {
    font-size: 1.6rem;
  }

  .stat-card .lbl {
    font-size: 0.62rem;
    line-height: 1.35;
    letter-spacing: 0.03em;
  }

  .hero-photo.anim {
    opacity: 1;
    transform: none;
  }

  .scroll-ind {
    display: none;
  }
}

/* Scroll indicator */
.scroll-ind {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
  animation: scroll-bounce 2.5s ease-in-out infinite;
}

.scroll-ind svg {
  width: 18px;
  height: 18px;
}

@keyframes scroll-bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ============================================================
   TAGLINE STRIP
   ============================================================ */
.tagline-strip {
  background: var(--primary);
  padding: 3.5rem 0;
}

.tagline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.tagline-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s;
}

.tagline-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.tagline-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: rgba(200, 150, 43, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-light);
}

.tagline-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.ti-label {
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ti-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.58);
  margin-top: 0.2rem;
}

/* ============================================================
   PRIORITY CARDS
   ============================================================ */
.priorities {
  background: var(--cream);
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

.priority-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.priority-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.pr-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-300);
  margin-bottom: 1rem;
}

.pr-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pr-icon svg {
  width: 1.7rem;
  height: 1.7rem;
}

.pr-icon.green {
  background: rgba(27, 67, 50, 0.1);
  color: var(--primary);
}

.pr-icon.teal {
  background: rgba(26, 107, 154, 0.1);
  color: var(--teal);
}

.pr-icon.gold {
  background: rgba(200, 150, 43, 0.1);
  color: var(--gold);
}

.pr-icon.rose {
  background: rgba(225, 29, 72, 0.1);
  color: var(--rose);
}

.priority-card h3 {
  color: var(--gray-900);
  margin-bottom: 0.25rem;
  font-size: 1.15rem;
}

.priority-card .pr-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.priority-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.priority-card-link .btn {
  margin-top: 1rem;
}

.disabled-link {
  pointer-events: none;
  opacity: 0.6;
}

/* tagline card within priorities */
.priority-tagline {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.priority-tagline .pt-slogan {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  font-style: italic;
  margin-bottom: 1rem;
}

.priority-tagline p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.priority-tagline .pt-signature {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.6;
  text-align: center;
}

/* ============================================================
   QUOTE BLOCK
   ============================================================ */
.quote-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 6rem 0;
}

.quote-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 7rem;
  color: var(--gold);
  line-height: 0.4;
  display: block;
  margin-bottom: 2rem;
  opacity: 0.55;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  color: var(--white);
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 2.5rem;
  text-align: center;
}

.quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.quote-author img {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover;
}

.qa-name {
  font-weight: 700;
  color: var(--gold-light);
}

.qa-role {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.1rem;
}

/* ============================================================
   CAMPAIGN BRIDGE
   ============================================================ */
.campaign-bridge {
  background:
    radial-gradient(320px 180px at 10% 10%, rgba(200, 150, 43, 0.12) 0%, rgba(200, 150, 43, 0) 72%),
    linear-gradient(180deg, #faf7f2 0%, #f4efe5 100%);
  padding: 3.2rem 0;
}

.campaign-bridge-shell {
  display: grid;
  gap: 1.5rem;
  padding: 1.6rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(27, 67, 50, 0.08);
  box-shadow: 0 18px 34px rgba(13, 43, 31, 0.08);
}

.campaign-bridge-copy {
  max-width: 760px;
}

.campaign-bridge-copy h2 {
  color: var(--primary);
  margin-bottom: 0.55rem;
}

.campaign-bridge-copy p {
  color: var(--gray-600);
  line-height: 1.7;
}

.campaign-bridge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.campaign-bridge-card {
  min-width: 0;
  padding: 1.15rem 1.1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(27, 67, 50, 0.1);
}

.cbc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
  background: rgba(27, 67, 50, 0.08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.campaign-bridge-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.campaign-bridge-card p {
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ============================================================
   VIDEO SPOTLIGHT
   ============================================================ */
.video-spotlight {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(420px 220px at 15% 20%, rgba(200, 150, 43, 0.16) 0%, rgba(200, 150, 43, 0) 72%),
    radial-gradient(520px 280px at 85% 15%, rgba(26, 107, 154, 0.14) 0%, rgba(26, 107, 154, 0) 74%),
    linear-gradient(135deg, #123327 0%, #0d271e 100%);
  padding: 5.75rem 0;
}

.video-spotlight-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.video-spotlight-copy {
  position: relative;
  z-index: 1;
}

.video-spotlight-copy h2 {
  color: var(--white);
  margin-bottom: 0.85rem;
}

.video-spotlight-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
}

.video-spotlight-points {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.vsp-point {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.vsp-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.9rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.15rem;
}

.vsp-point strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  margin-bottom: 0.2rem;
}

.vsp-point span:last-child {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
  font-size: 0.92rem;
}

.video-spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.video-spotlight-media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.video-carousel {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  display: grid;
  gap: 0.72rem;
}

.video-carousel-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 1.35rem;
}

.video-carousel-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.video-showcase-card {
  position: relative;
  min-width: 100%;
  padding: 0.8rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
}

.video-showcase-card:not(.is-active) {
  opacity: 0.74;
}

.video-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.72rem;
}

.video-showcase-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.62rem;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255, 255, 255, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.video-showcase-head h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.94rem;
  line-height: 1.2;
  text-align: right;
}

.video-showcase-card .video-phone-frame {
  width: 100%;
  padding: 0.6rem;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

.video-showcase-card .video-phone-top {
  height: 0.38rem;
  margin: 0 auto 0.58rem;
}

.video-showcase-card .video-embed-ratio {
  border-radius: 1rem;
}

.video-showcase-card .video-spotlight-link {
  margin-top: 0.6rem;
}

.video-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.video-carousel-btn {
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.video-carousel-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.42);
}

.video-carousel-btn svg {
  width: 1.12rem;
  height: 1.12rem;
}

.video-carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.video-carousel-dot {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.video-carousel-dot.is-active {
  width: 1.25rem;
  background: var(--gold-light);
  border-color: rgba(255, 255, 255, 0.62);
}

.video-carousel-next-hint {
  justify-self: center;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 9999px;
  padding: 0.42rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.video-carousel-next-hint:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}

.video-frame-decoration {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
}

.video-frame-decoration--one {
  width: 140px;
  height: 140px;
  top: -18px;
  right: 30px;
  background: radial-gradient(circle, rgba(200, 150, 43, 0.28) 0%, rgba(200, 150, 43, 0) 72%);
}

.video-frame-decoration--two {
  width: 170px;
  height: 170px;
  left: 20px;
  bottom: 30px;
  background: radial-gradient(circle, rgba(118, 201, 227, 0.22) 0%, rgba(118, 201, 227, 0) 74%);
}

.video-phone-frame {
  position: relative;
  width: min(100%, 360px);
  padding: 0.8rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.video-phone-top {
  width: 34%;
  height: 0.42rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 auto 0.75rem;
}

.video-embed-ratio {
  position: relative;
  width: 100%;
  padding-top: 177.7778%;
  overflow: hidden;
  border-radius: 1.35rem;
  background: rgba(0, 0, 0, 0.2);
}

.video-embed-ratio iframe,
.video-embed-ratio video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-embed-ratio video {
  display: block;
  background: #000;
  object-fit: cover;
}

.video-spotlight-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  padding-bottom: 0.15rem;
}

.video-spotlight-link:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   VISION PREVIEW
   ============================================================ */
.vision-preview {
  background: var(--white);
}

.vision-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .vision-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .video-spotlight-shell {
    align-items: center;
  }
}

.pillar-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pillar-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  background: var(--white);
  transition: all 0.2s;
  position: relative;
  min-width: 0;
}

.pillar-item:hover {
  border-color: rgba(27, 67, 50, 0.2);
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.pillar-item:focus-visible {
  outline: 3px solid rgba(27, 67, 50, 0.18);
  outline-offset: 3px;
}

.pillar-item::after {
  content: '↗';
  margin-left: auto;
  color: var(--primary);
  font-size: 1rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
}

.pillar-item:hover::after,
.pillar-item:focus-visible::after {
  opacity: 0.9;
  transform: translateX(0);
}

.pillar-item > div:last-child {
  min-width: 0;
}

.pi-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--radius-sm);
  background: rgba(27, 67, 50, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.pi-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.pi-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.pi-desc {
  font-size: 0.83rem;
  color: var(--gray-600);
}

/* ============================================================
   TEAM PREVIEW
   ============================================================ */
.team-preview {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5rem 0;
}

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

.team-preview-split {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: stretch;
}

.home-preview-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(3, 18, 13, 0.22);
  backdrop-filter: blur(8px);
}

.home-quartiers {
  margin-top: 0;
  padding: 1.5rem 1.75rem;
}

.home-quartiers h3 {
  margin-bottom: 0.7rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.06rem;
}

.home-quartiers ol {
  list-style: decimal;
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.45rem;
}

.home-quartiers li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.55;
}

.home-candidates {
  padding: 1rem;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
}

.home-candidates-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.25rem 0.3rem;
}

.home-candidates-head h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.3;
}

.home-candidates-count {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 150, 43, 0.25);
  border: 1px solid rgba(200, 150, 43, 0.6);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
}

.home-candidates-scroll {
  position: relative;
  max-height: 340px;
  overflow-y: auto;
  border-radius: 0.9rem;
  padding: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 46, 34, 0.4);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.home-candidates-scroll::-webkit-scrollbar {
  width: 8px;
}

.home-candidates-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.home-candidates-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.32);
  border-radius: 9999px;
}

.home-candidate-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.home-candidate-list li {
  display: grid;
  grid-template-columns: 2rem 1.55rem minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.45rem 0.55rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.home-candidate-list li:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.home-candidate-photo-wrap {
  width: 2rem;
  height: 2rem;
  border-radius: 0.58rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 15px rgba(3, 18, 13, 0.24);
}

.home-candidate-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.home-candidate-num {
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.home-candidate-name {
  min-width: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  line-height: 1.38;
}

.home-candidates-note {
  margin: 0;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.66);
  text-align: center;
}

.team-preview-cta {
  text-align: center;
  margin-top: 1.55rem;
}

@media (max-width: 991px) {
  .team-preview-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-quartiers,
  .home-candidates {
    padding: 1rem;
  }

  .home-candidates-scroll {
    max-height: 300px;
  }

  .home-candidate-list li {
    padding: 0.42rem 0.5rem;
  }

  .home-candidate-list li {
    grid-template-columns: 1.85rem 1.5rem minmax(0, 1fr);
    gap: 0.5rem;
  }

  .home-candidate-photo-wrap {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.5rem;
  }

  .home-candidate-name {
    font-size: 0.82rem;
  }
}

.team-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.2s;
}

.team-card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.tc-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: rgba(200, 150, 43, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  color: var(--gold-light);
}

.tc-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.team-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

/* ============================================================
   QUIZ HOME
   ============================================================ */
.home-quiz {
  background: radial-gradient(1200px 420px at 10% 0%, rgba(27, 67, 50, 0.12) 0%, rgba(27, 67, 50, 0) 55%), var(--cream);
}

.quiz-shell {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(170deg, #ffffff 0%, #f7faf8 100%);
  border: 1px solid rgba(27, 67, 50, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 42px rgba(13, 43, 31, 0.14);
  padding: 2.25rem;
  overflow: hidden;
}

.quiz-shell[hidden] {
  display: none !important;
}

.quiz-shell.is-active {
  display: block;
  animation: qz-shell-reveal 0.3s ease;
}

.quiz-shell::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 150, 43, 0.18) 0%, rgba(200, 150, 43, 0) 70%);
  pointer-events: none;
}

.quiz-shell .section-header h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.quiz-suite {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.quiz-play-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.25rem 1.5rem;
  align-items: center;
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(280px 180px at 100% 0%, rgba(200, 150, 43, 0.2) 0%, rgba(200, 150, 43, 0) 72%),
    linear-gradient(145deg, rgba(27, 67, 50, 0.09) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid rgba(27, 67, 50, 0.12);
  box-shadow: 0 12px 28px rgba(13, 43, 31, 0.08);
  overflow: hidden;
}

.quiz-play-copy {
  position: relative;
  z-index: 1;
}

.quiz-play-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  padding: 0.42rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(27, 67, 50, 0.1);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quiz-play-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.quiz-play-copy p {
  color: var(--gray-600);
  line-height: 1.65;
}

.quiz-fun-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.quiz-fun-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(27, 67, 50, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.quiz-hero-visual {
  position: relative;
  min-height: 220px;
}

.quiz-hero-glow {
  position: absolute;
  inset: 18px 18px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 107, 154, 0.22) 0%, rgba(26, 107, 154, 0) 72%);
}

.quiz-preview-card {
  position: absolute;
  border-radius: 1.25rem;
  border: 1px solid rgba(27, 67, 50, 0.12);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(13, 43, 31, 0.12);
  color: var(--primary);
  backdrop-filter: blur(8px);
}

.quiz-preview-card--main {
  top: 1rem;
  right: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 220px;
  padding: 1.15rem 1.1rem;
}

.qp-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.34rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(27, 67, 50, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.quiz-preview-card--main strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
}

.quiz-preview-card--main span:last-child {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.quiz-preview-card--small {
  padding: 0.8rem 0.95rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.quiz-preview-card--left {
  left: 0.35rem;
  bottom: 2.4rem;
  transform: rotate(-7deg);
}

.quiz-preview-card--right {
  right: 0.2rem;
  bottom: 1rem;
  transform: rotate(6deg);
}

.quiz-preview-dots {
  position: absolute;
  left: 1rem;
  top: 1.2rem;
  display: flex;
  gap: 0.45rem;
}

.quiz-preview-dots span {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: rgba(27, 67, 50, 0.18);
}

.quiz-preview-dots span:nth-child(1),
.quiz-preview-dots span:nth-child(2) {
  background: var(--primary);
}

.quiz-preview-dots span:nth-child(3) {
  background: var(--teal, #1a6b9a);
}

.quiz-preview-dots span:nth-child(4),
.quiz-preview-dots span:nth-child(5) {
  background: rgba(200, 150, 43, 0.5);
}

.quiz-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.quiz-choice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 248, 0.94) 100%);
  border: 1px solid rgba(27, 67, 50, 0.12);
  box-shadow: 0 12px 28px rgba(13, 43, 31, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quiz-choice-card.is-active {
  border-color: rgba(27, 67, 50, 0.4);
  box-shadow: 0 16px 32px rgba(13, 43, 31, 0.14);
  transform: translateY(-2px);
}

.quiz-choice-card::after {
  content: '';
  position: absolute;
  inset: auto 1.35rem 0.9rem;
  height: 3px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--gold) 100%);
  opacity: 0.75;
}

.quiz-choice-card:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 67, 50, 0.24);
  box-shadow: 0 18px 34px rgba(13, 43, 31, 0.12);
}

.quiz-choice-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
}

.quiz-choice-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary);
  line-height: 1.3;
}

.quiz-choice-card p {
  color: var(--gray-600);
  line-height: 1.6;
  flex: 1;
}

.quiz-choice-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 700;
  padding-bottom: 0.8rem;
}

.quiz-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.quiz-stack .quiz-shell {
  scroll-margin-top: 6.75rem;
}

.quiz-shell--citoyen::before {
  background: radial-gradient(circle, rgba(26, 107, 154, 0.18) 0%, rgba(26, 107, 154, 0) 70%);
}

.quiz-shell--barometre::before {
  background: radial-gradient(circle, rgba(57, 139, 88, 0.18) 0%, rgba(57, 139, 88, 0) 70%);
}

.quiz-form {
  position: relative;
  z-index: 1;
}

@keyframes qz-shell-reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz-progress {
  margin-bottom: 1.35rem;
}

.quiz-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-bottom: 0.45rem;
}

.quiz-progress-meta strong {
  color: var(--primary);
}

.quiz-track {
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  overflow: hidden;
}

.quiz-fill {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--gold) 100%);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.quiz-step {
  margin: 0;
  padding: 0;
  border: 0;
  display: none;
}

.quiz-step.is-active {
  display: block;
  animation: quiz-fade 0.25s ease;
}

.quiz-step legend {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1rem 1rem 0.95rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: #fff;
  cursor: pointer;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}

.quiz-option input {
  margin-top: 0.2rem;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.quiz-option span {
  color: var(--gray-700);
  line-height: 1.6;
}

.quiz-option:hover {
  border-color: rgba(27, 67, 50, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(13, 43, 31, 0.08);
}

.quiz-option:has(input:checked) {
  border-color: rgba(27, 67, 50, 0.55);
  background: rgba(27, 67, 50, 0.05);
}

.quiz-nav {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.quiz-submit {
  display: none;
}

.quiz-result {
  position: relative;
  z-index: 1;
  margin-top: 1.35rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(27, 67, 50, 0.08) 0%, rgba(200, 150, 43, 0.08) 100%);
  border: 1px solid rgba(27, 67, 50, 0.2);
}

.quiz-result-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.7rem;
  background: rgba(27, 67, 50, 0.12);
  color: var(--primary);
}

.quiz-result-pill.is-a {
  background: rgba(26, 107, 154, 0.14);
  color: var(--teal);
}

.quiz-result-pill.is-b {
  background: rgba(200, 150, 43, 0.2);
  color: #8a5d00;
}

.quiz-result-pill.is-mix {
  background: rgba(27, 67, 50, 0.14);
  color: var(--primary);
}

.quiz-result h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.quiz-result p {
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}

.quiz-result .quiz-result-note {
  font-size: 0.86rem;
  margin-top: 0.9rem;
  color: var(--gray-600);
}

.quiz-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.05rem;
}

@keyframes quiz-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, #c8962b 0%, #d4a843 100%);
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.25rem;
  font-size: 1.05rem;
  text-align: center;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ============================================================
   ELECTION BANNER
   ============================================================ */
.election-banner {
  background: var(--gray-900);
  padding: 2.5rem 0;
}

.eb-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .eb-inner {
    flex-direction: row;
    justify-content: center;
    text-align: left;
    gap: 2rem;
  }
}

.eb-date {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-light);
  font-weight: 700;
}

.eb-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eb-sep {
  width: 2px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  display: none;
}

@media (min-width: 600px) {
  .eb-sep {
    display: block;
  }
}

@media (max-width: 767px) {
  .campaign-bridge {
    padding: 2.4rem 0;
  }

  .campaign-bridge-shell {
    padding: 1.15rem;
    border-radius: 1.2rem;
  }

  .campaign-bridge-grid {
    grid-template-columns: 1fr;
  }

  .video-spotlight {
    padding: 4.5rem 0;
  }

  .video-spotlight-shell {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .video-carousel {
    width: 100%;
    gap: 0.85rem;
  }

  .video-carousel-viewport {
    border-radius: 1.15rem;
  }

  .video-showcase-card {
    padding: 0.68rem;
    border-radius: 1.15rem;
  }

  .video-carousel-btn {
    width: 2rem;
    height: 2rem;
  }

  .video-showcase-head h3 {
    font-size: 0.88rem;
  }

  .video-spotlight-lead {
    font-size: 1rem;
  }

  .video-spotlight-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .video-phone-frame {
    width: min(100%, 330px);
    padding: 0.7rem;
    border-radius: 1.6rem;
  }

  .video-showcase-card .video-phone-frame {
    width: 100%;
    padding: 0.52rem;
    border-radius: 1.2rem;
  }

  .video-embed-ratio {
    border-radius: 1.1rem;
  }

  .quiz-play-intro {
    grid-template-columns: 1fr;
    padding: 1.15rem;
  }

  .quiz-hero-visual {
    min-height: 190px;
  }

  .quiz-preview-card--main {
    position: relative;
    top: auto;
    right: auto;
    min-width: 0;
    max-width: 100%;
  }

  .quiz-preview-card--left {
    left: 0;
    bottom: -0.1rem;
  }

  .quiz-preview-card--right {
    right: 0;
    bottom: -0.1rem;
  }

  .quiz-choice-grid {
    grid-template-columns: 1fr;
  }

  .quiz-shell {
    padding: 1.3rem;
  }

  .quiz-nav {
    flex-direction: column;
  }

  .quiz-nav .btn {
    width: 100%;
    justify-content: center;
  }

  .quiz-result-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.eb-msg {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
}

.eb-sub {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0d1f17;
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand .logo-circle {
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin: 1rem 0;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-social svg {
  width: 1rem;
  height: 1rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.fc-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.fc-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--gold);
}

.fc-item span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 600px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.footer-credit-label {
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.02em;
}

.developer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.developer-link::before {
  content: '</>';
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--gold-light);
}

.developer-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

/* ============================================================
   PAGE HERO (pages internes)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 8rem 0 4.5rem;
}

.page-hero-inner {
  max-width: 760px;
}

.page-hero .badge {
  margin-bottom: 1.25rem;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero h1 em {
  color: var(--gold-light);
  font-style: italic;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 560px;
}

/* Candidat hero has a 2-col grid */
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: end;
}

@media (min-width: 1024px) {
  .page-hero-grid {
    grid-template-columns: 1fr 400px;
  }
}

.candidat-photo {
  display: none;
  justify-content: flex-end;
}

@media (min-width: 1024px) {
  .candidat-photo {
    display: flex;
  }
}

.candidat-photo img {
  max-height: 55vh;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.page-hero-grid-team {
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .page-hero-grid-team {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  }
}

.team-hero-photo {
  display: flex;
  flex-direction: column;
  width: min(100%, 520px);
  margin: 0 auto;
}

.team-hero-photo img {
  width: 100%;
  aspect-ratio: 1600 / 1067;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) + 0.2rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
}

.team-hero-photo-badge {
  position: relative;
  width: calc(100% - 1rem);
  margin: -1.75rem auto 0;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  text-align: center;
}

.team-hero-photo-badge .ph-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.team-hero-photo-badge .ph-role {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 1024px) {
  .team-hero-photo {
    justify-self: end;
    margin: 0;
  }
}

.candidat-quote-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 480px;
}

.candidat-quote-box p {
  color: rgba(255, 255, 255, 0.88);
  font-style: italic;
  text-align: left;
}

/* ============================================================
   CANDIDAT PAGE
   ============================================================ */
.message-section {
  background: var(--white);
}

.message-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  padding: 0.5rem;
}

.message-card p {
  color: var(--gray-700);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.message-card p.message-priority {
  margin: 1.25rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: linear-gradient(135deg, rgba(200, 150, 43, 0.16) 0%, rgba(27, 67, 50, 0.05) 100%);
}

.message-card strong {
  color: var(--primary);
}

.highlight-box {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: rgba(27, 67, 50, 0.06);
  border: 1px solid rgba(27, 67, 50, 0.12);
  border-left: 4px solid var(--primary);
}

.highlight-box blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 0.75rem;
  text-align: left;
}

.highlight-box .sig {
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.highlight-box .sig::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.parcours-section {
  background: var(--cream);
}

.press-kit-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
  padding-top: 0;
}

.press-kit-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.8fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(280px 160px at 0% 0%, rgba(200, 150, 43, 0.14) 0%, rgba(200, 150, 43, 0) 72%),
    linear-gradient(135deg, rgba(27, 67, 50, 0.06) 0%, rgba(27, 67, 50, 0.02) 100%);
  border: 1px solid rgba(27, 67, 50, 0.12);
  box-shadow: var(--shadow-sm);
}

.press-kit-copy h2 {
  color: var(--primary);
  margin: 0.6rem 0 0.55rem;
}

.press-kit-copy p {
  color: var(--gray-600);
  max-width: 720px;
}

.press-kit-actions {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

.press-kit-email {
  color: var(--primary);
  font-weight: 600;
  word-break: break-word;
}

.press-kit-email:hover {
  color: var(--primary-light);
}

.candidate-pillars-section {
  background: var(--white);
}

.candidate-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.75rem;
}

.candidate-pillars span {
  background: rgba(27, 67, 50, 0.06);
  border: 1px solid rgba(27, 67, 50, 0.14);
  border-radius: var(--radius-full);
  padding: 0.65rem 1rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  text-align: center;
}

.qualities-section {
  background: var(--cream);
}

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

.quality-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all 0.2s;
}

.quality-card:hover {
  border-color: rgba(27, 67, 50, 0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.qc-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: rgba(27, 67, 50, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.qc-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.qc-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.qc-desc {
  font-size: 0.86rem;
  color: var(--gray-600);
}

.campaign-section {
  background: var(--white);
}

.campaign-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.campaign-grid-single {
  grid-template-columns: 1fr;
  max-width: 520px;
}

@media (max-width: 640px) {
  .campaign-grid {
    grid-template-columns: 1fr;
  }
}

.campaign-card {
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.campaign-card.no {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
}

.campaign-card.yes {
  background: rgba(27, 67, 50, 0.05);
  border: 1px solid rgba(27, 67, 50, 0.15);
}

.cc-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.campaign-card.no .cc-label {
  color: var(--gray-400);
}

.campaign-card.yes .cc-label {
  color: var(--primary);
}

.campaign-card ul li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.campaign-card ul li:last-child {
  border-bottom: none;
}

.campaign-card.no ul li::before {
  content: '✕';
  color: var(--gray-400);
  font-weight: 700;
  flex-shrink: 0;
}

.campaign-card.yes ul li {
  color: var(--primary);
  font-weight: 500;
}

.campaign-card.yes ul li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-profiles-section {
  background: var(--white);
}

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

.quartiers-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.quartiers-card h3 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.quartiers-list {
  list-style: decimal;
  padding-left: 1.4rem;
  display: grid;
  gap: 0.45rem;
}

.quartiers-list li {
  color: var(--gray-700);
}

.candidate-roster-panel {
  max-width: 1040px;
  margin: 1.4rem auto 0;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(320px 180px at 0% 0%, rgba(200, 150, 43, 0.12) 0%, rgba(200, 150, 43, 0) 72%),
    linear-gradient(180deg, rgba(27, 67, 50, 0.05) 0%, rgba(27, 67, 50, 0.02) 100%);
  border: 1px solid rgba(27, 67, 50, 0.1);
  box-shadow: var(--shadow-sm);
}

.candidate-roster-header {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.candidate-roster-header h3 {
  color: var(--primary);
  margin: 0.65rem 0 0.5rem;
}

.candidate-roster-header p {
  color: var(--gray-600);
}

.candidate-roster-tip {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--primary-light);
}

.candidate-roster-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.candidate-roster-item {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.6rem 0.7rem;
  border-radius: 1rem;
  border: 1px solid rgba(27, 67, 50, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, #fff 100%);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.candidate-roster-item::after {
  content: '';
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0;
  height: 3px;
  border-radius: 9999px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, rgba(27, 67, 50, 0.24), rgba(200, 150, 43, 0.56));
  transition: transform 0.2s ease;
}

.candidate-roster-item:hover {
  transform: translateY(-2px);
  border-color: rgba(27, 67, 50, 0.25);
  box-shadow: var(--shadow-sm);
}

.candidate-roster-item:hover::after {
  transform: scaleX(1);
}

.candidate-roster-photo-wrap {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(27, 67, 50, 0.12);
  box-shadow: 0 10px 20px rgba(13, 43, 31, 0.15);
  background: #d6e1d6;
  flex-shrink: 0;
}

.candidate-roster-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.25s ease;
}

.candidate-roster-item:hover .candidate-roster-photo {
  transform: scale(1.08);
}

.candidate-roster-photo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

.candidate-roster-meta {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.58rem;
}

.candidate-roster-num {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 9999px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #225741 100%);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 5px 12px rgba(27, 67, 50, 0.3);
}

.candidate-roster-name {
  min-width: 0;
  color: var(--gray-800);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.38;
}

.candidate-roster-item--no-photo .candidate-roster-name {
  color: var(--gray-600);
}

.home-candidate-list li.candidate-card-trigger,
.candidate-roster-item.candidate-card-trigger {
  cursor: pointer;
}

.home-candidate-list li.candidate-card-trigger {
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.home-candidate-list li.candidate-card-trigger:hover {
  transform: translateY(-2px);
}

.home-candidate-list li.candidate-card-trigger::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 0.66rem;
  border: 1px solid rgba(212, 168, 67, 0.45);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.home-candidate-list li.candidate-card-trigger:hover::after {
  opacity: 1;
}

.candidate-roster-item.candidate-card-trigger::before {
  content: "Voir";
  position: absolute;
  top: 0.52rem;
  right: 0.52rem;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  background: rgba(27, 67, 50, 0.85);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.candidate-roster-item.candidate-card-trigger:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.home-candidate-list li.candidate-card-trigger:focus-visible,
.candidate-roster-item.candidate-card-trigger:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

body.is-modal-open {
  overflow: hidden;
}

html.home-promo-enabled body {
  overflow: hidden;
}

.home-promo-overlay {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: grid;
  place-items: center;
  padding: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.home-promo-enabled .home-promo-overlay,
.home-promo-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.home-promo-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(200, 150, 43, 0.14), transparent 38%),
    rgba(5, 18, 14, 0.74);
  backdrop-filter: blur(8px);
}

.home-promo-modal {
  position: relative;
  width: min(700px, 100%);
  height: min(80vh, 860px);
  max-height: 80vh;
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(247, 249, 246, 0.98), rgba(233, 239, 234, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.34);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.22s ease;
}

.home-promo-enabled .home-promo-modal,
.home-promo-overlay.is-open .home-promo-modal {
  transform: translateY(0) scale(1);
}

.home-promo-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
}

.home-promo-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0.85rem;
  background:
    radial-gradient(circle at top left, rgba(200, 150, 43, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(241, 245, 242, 0.96));
  border-bottom: 1px solid rgba(27, 67, 50, 0.12);
}

.home-promo-copy {
  min-width: 0;
}

.home-promo-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(27, 67, 50, 0.1);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-promo-title {
  margin: 0.55rem 0 0;
  color: #0f2f25;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  line-height: 1.05;
}

.home-promo-text {
  margin: 0.4rem 0 0;
  max-width: 38rem;
  color: rgba(15, 47, 37, 0.82);
  font-size: 0.92rem;
  line-height: 1.45;
}

.home-promo-close {
  position: relative;
  flex: 0 0 auto;
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.92);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.home-promo-close:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.home-promo-close span {
  font-size: 1.6rem;
  line-height: 1;
}

.home-promo-media {
  position: relative;
  min-height: 0;
  padding: 0.9rem 1rem 1rem;
  background:
    linear-gradient(180deg, rgba(214, 224, 217, 0.72), rgba(225, 233, 228, 0.72));
}

.home-promo-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 1rem;
  background: #edf2ee;
  box-shadow: inset 0 0 0 1px rgba(27, 67, 50, 0.08);
}

.candidate-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 1.15rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.candidate-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.candidate-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 15, 0.62);
  backdrop-filter: blur(8px);
}

.candidate-modal {
  position: relative;
  width: min(960px, 100%);
  max-height: min(92vh, 760px);
  overflow: auto;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background:
    radial-gradient(220px 150px at 12% 8%, rgba(200, 150, 43, 0.18) 0%, rgba(200, 150, 43, 0) 72%),
    radial-gradient(260px 180px at 95% 96%, rgba(26, 107, 154, 0.16) 0%, rgba(26, 107, 154, 0) 72%),
    linear-gradient(165deg, #f8fbf8 0%, #eef4f1 100%);
  box-shadow: 0 24px 56px rgba(5, 22, 16, 0.42);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.24s ease;
}

.candidate-modal-overlay.is-open .candidate-modal {
  transform: translateY(0) scale(1);
}

.candidate-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(13, 43, 31, 0.88);
  box-shadow: 0 10px 24px rgba(4, 20, 14, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.candidate-modal-close svg {
  width: 1.05rem;
  height: 1.05rem;
}

.candidate-modal-close:hover {
  transform: rotate(90deg);
  background: var(--primary);
}

.candidate-modal-close:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.candidate-modal-layout {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  gap: 1.35rem;
  align-items: stretch;
  padding: 1.15rem;
}

.candidate-modal-figure {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(27, 67, 50, 0.14);
  box-shadow: 0 12px 28px rgba(13, 43, 31, 0.2);
  background: #dce8df;
  min-height: 100%;
  position: relative;
}

.candidate-modal-photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  max-height: 70vh;
  object-fit: cover;
  object-position: center 28%;
}

.candidate-modal-photo-tag {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.32rem 0.7rem;
  border-radius: 9999px;
  background: rgba(13, 43, 31, 0.88);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
}

.candidate-modal-content {
  padding: 0.65rem 0.5rem 0.8rem 0.1rem;
  display: grid;
  align-content: start;
  gap: 0.68rem;
}

.candidate-modal-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--teal);
}

.candidate-modal-name {
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.candidate-modal-occupation {
  margin: 0;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.6vw, 1.04rem);
  font-weight: 600;
  line-height: 1.45;
}

.candidate-modal-description {
  margin: 0.15rem 0 0;
  color: var(--gray-700);
  font-size: clamp(0.91rem, 1.3vw, 0.97rem);
  line-height: 1.72;
}

.candidate-modal-description.is-fallback,
.candidate-modal-occupation.is-fallback {
  color: var(--gray-500);
  font-style: italic;
}

@media (max-width: 860px) {
  .candidate-modal {
    border-radius: 1rem;
  }

  .candidate-modal-layout {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    padding: 0.95rem;
  }

  .candidate-modal-figure {
    min-height: 0;
  }

  .candidate-modal-photo {
    min-height: 280px;
    max-height: 42vh;
  }

  .candidate-modal-content {
    padding: 0.2rem 0.2rem 0.5rem;
  }
}

@media (max-width: 560px) {
  .candidate-modal-overlay {
    padding: 0.65rem;
  }

  .candidate-modal {
    max-height: 94vh;
  }

  .candidate-modal-close {
    width: 2.05rem;
    height: 2.05rem;
    top: 0.55rem;
    right: 0.55rem;
  }

  .candidate-modal-photo {
    min-height: 220px;
    max-height: 36vh;
  }

  .candidate-modal-name {
    font-size: 1.24rem;
  }

  .candidate-modal-description {
    line-height: 1.62;
  }
}

@media (prefers-reduced-motion: reduce) {
  .candidate-modal-overlay,
  .candidate-modal,
  .candidate-modal-close,
  .home-candidate-list li.candidate-card-trigger,
  .candidate-roster-item.candidate-card-trigger {
    transition: none !important;
  }
}

.profile-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.profile-card:hover {
  border-color: rgba(27, 67, 50, 0.2);
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.profile-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(27, 67, 50, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary);
}

.profile-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.profile-card h4 {
  color: var(--primary);
  font-size: 0.95rem;
}

.diversity-section {
  background: var(--cream);
}

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

.div-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.div-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.div-item span {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}

.team-campaign-section {
  background: var(--white);
}

.tc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.terrain-note {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--primary);
  font-weight: 700;
}

.terrain-subnote {
  text-align: center;
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

@media (max-width: 640px) {
  .tc-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   VISION PAGE
   ============================================================ */
.vision-intro {
  background: var(--cream);
}

.vision-intro-box {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.vision-intro-box p {
  color: var(--gray-700);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.vision-intro-box h3 {
  color: var(--primary);
  font-size: 1.45rem;
  margin: 2rem 0 0.9rem;
}

.vision-intro-box .conviction {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary);
  font-style: italic;
  border-left: 4px solid var(--gold);
  padding-left: 1.25rem;
  margin-top: 1.5rem;
}

.vision-method {
  background: var(--white);
  padding: 1rem 0 0;
}

.vision-method-box {
  max-width: 780px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(27, 67, 50, 0.06) 0%, rgba(27, 67, 50, 0.02) 100%);
  border: 1px solid rgba(27, 67, 50, 0.14);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.vision-method-box .method-kicker {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 0.8rem;
}

.vision-method-box h3 {
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.75rem;
}

.vision-method-box p {
  color: var(--gray-700);
}

.vision-method-box ul {
  list-style: disc;
  max-width: 420px;
  margin: 0.8rem auto 1rem;
  padding-left: 1.1rem;
}

.vision-method-box li {
  color: var(--gray-700);
  padding: 0.2rem 0;
}

.vision-method-box .method-closing {
  margin: 0;
  text-align: center;
  font-weight: 700;
  color: var(--primary);
}

.vision-pillars-section {
  background: var(--white);
}

.vp-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.vp-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .vp-item {
    grid-template-columns: 5rem 1fr;
    align-items: start;
  }
}

.vp-num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: rgba(27, 67, 50, 0.1);
  line-height: 1;
}

.vp-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.vp-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-sm);
  background: rgba(27, 67, 50, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.vp-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.vp-header h3 {
  color: var(--primary);
}

.vp-desc {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.vp-subtitle {
  color: var(--primary);
  font-weight: 700;
  margin: 0 0 0.45rem;
}

.vp-action {
  color: var(--gray-700);
  margin-bottom: 0;
}

.vp-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.vp-value {
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(27, 67, 50, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
}

.vp-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 1.5rem 0;
}

.engagement-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5rem 0;
}

.engagement-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.engagement-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.eng-value {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.engagement-closing {
  color: rgba(255, 255, 255, 0.72);
  font-style: italic;
  margin-top: 1.5rem;
}

/* ============================================================
   JOIN US PAGE
   ============================================================ */
.volunteer-section {
  background: var(--cream);
}

.vol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.vol-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all 0.2s;
}

.vol-card:hover {
  border-color: rgba(27, 67, 50, 0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.vol-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  background: rgba(27, 67, 50, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.2s;
}

.vol-card:hover .vol-icon {
  background: var(--primary);
  color: var(--white);
}

.vol-icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.vol-card h3 {
  color: var(--primary);
  font-size: 1.05rem;
}

.vol-card p {
  font-size: 0.86rem;
  color: var(--gray-500);
}

.contact-section {
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-layout > * {
  min-width: 0;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr 380px;
  }
}

/* Form */
.form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
  border: 1px solid var(--gray-100);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.9rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 1rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.show {
  display: block;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(27, 67, 50, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--primary);
}

.success-icon svg {
  width: 2rem;
  height: 2rem;
}

.form-success h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.contact-mailbox {
  background:
    radial-gradient(circle at top right, rgba(200, 150, 43, 0.14), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #f6f2e8 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid rgba(27, 67, 50, 0.08);
  box-shadow: 0 24px 48px rgba(13, 31, 23, 0.08);
}

.contact-mailbox-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-mailbox-copy h3 {
  margin-bottom: 0.6rem;
  color: var(--primary);
}

.contact-mailbox-copy p {
  color: var(--gray-600);
  max-width: 42rem;
}

.mail-badge {
  min-width: 3.5rem;
  height: 3.5rem;
  border-radius: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #2a7a96);
  color: var(--white);
  box-shadow: 0 16px 28px rgba(27, 67, 50, 0.18);
}

.mail-badge svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mail-launch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(27, 67, 50, 0.08);
  border-radius: 1.1rem;
  margin-bottom: 1.5rem;
}

.mail-launch-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.mail-launch-value {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--primary);
  font-weight: 700;
  word-break: break-word;
}

.mail-template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mail-template-card {
  display: block;
  padding: 1.2rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid rgba(27, 67, 50, 0.08);
  box-shadow: 0 10px 30px rgba(13, 31, 23, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mail-template-card:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 67, 50, 0.2);
  box-shadow: 0 18px 34px rgba(13, 31, 23, 0.1);
}

.mail-template-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.mail-template-top strong {
  color: var(--gray-900);
  font-size: 1rem;
}

.mail-template-top span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(27, 67, 50, 0.08);
  color: var(--primary);
  font-size: 1rem;
}

.mail-template-card p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.65;
}

.mail-template-card.full {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(27, 67, 50, 0.06), rgba(42, 122, 150, 0.06));
}

.contact-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.contact-trust-card {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(27, 67, 50, 0.08);
}

.contact-trust-card strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.contact-trust-card span {
  color: var(--gray-600);
  font-size: 0.84rem;
  line-height: 1.55;
}

@media (max-width: 767px) {
  .contact-mailbox {
    padding: 1.4rem;
  }

  .contact-mailbox-head {
    flex-direction: column;
  }

  .mail-template-grid,
  .contact-trust-row {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    gap: 1.5rem;
  }
}

/* Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  min-width: 0;
}

.info-card h3 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  font-weight: 700;
}

.info-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: all 0.2s;
  margin-bottom: 0.5rem;
  min-width: 0;
}

.info-link:hover {
  border-color: rgba(27, 67, 50, 0.2);
  background: rgba(27, 67, 50, 0.04);
}

.info-link-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: rgba(27, 67, 50, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  transition: all 0.2s;
}

.info-link:hover .info-link-icon {
  background: var(--primary);
  color: var(--white);
}

.info-link-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.info-link > div {
  min-width: 0;
}

.il-label {
  font-size: 0.72rem;
  color: var(--gray-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.il-value {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: all 0.2s;
  color: var(--gray-700);
  min-width: 0;
}

.social-link:hover {
  border-color: rgba(27, 67, 50, 0.2);
  background: rgba(27, 67, 50, 0.04);
  color: var(--primary);
}

.social-link svg {
  width: 1.1rem;
  height: 1.1rem;
}

.social-link span {
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 0;
  overflow-wrap: anywhere;
}

.election-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
}

@media (max-width: 767px) {
  .contact-sidebar {
    gap: 1rem;
  }

  .info-card,
  .election-box {
    padding: 1.15rem;
  }

  .info-link,
  .social-link {
    padding: 0.8rem 0.85rem;
  }

  .info-link {
    align-items: flex-start;
  }
}

.eb-dt {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-light);
  font-weight: 700;
}

.eb-st {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
}

.eb-txt {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============================================================
   UX IMPROVEMENTS
   ============================================================ */

/* --- Dot pattern overlay on page heroes --- */
.page-hero {
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

/* Wave at bottom of page heroes */
.page-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.page-hero-wave svg {
  display: block;
  width: 100%;
}

/* Breadcrumb nav inside hero */
.hero-page-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.78rem;
}

.hero-page-nav a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.hero-page-nav a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.hero-page-nav .sep {
  color: rgba(255, 255, 255, 0.25);
}

.hero-page-nav .current {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

/* --- Stats Band --- */
.stats-band {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 2.25rem 0;
}

.stats-band-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.stat-band-item {
  text-align: center;
  padding: 0.75rem 2.75rem;
  position: relative;
}

.stat-band-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--gray-200);
}

.stat-band-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-band-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gray-500);
  margin-top: 0.4rem;
  font-weight: 600;
}

/* --- Pillar Cards (enhanced candidat page) --- */
.pillar-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1.25rem;
}

.pillar-card-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.pillar-card-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
  border-top-color: var(--gold);
}

.pc-num {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gray-300);
  text-transform: uppercase;
}

.pc-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: rgba(27, 67, 50, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.2s;
}

.pillar-card-item:hover .pc-icon {
  background: var(--primary);
  color: var(--white);
}

.pc-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.pc-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  line-height: 1.35;
}

/* --- Message Card Quote Mark --- */
.message-quote-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 7rem;
  color: var(--primary);
  opacity: 0.07;
  line-height: 0.6;
  display: block;
  margin-bottom: 1.25rem;
  user-select: none;
}

/* --- Timeline --- */
.parcours-timeline {
  position: relative;
  max-width: 680px;
  margin: 2.5rem auto 0;
  padding-left: 2.5rem;
}

.parcours-timeline::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(27, 67, 50, 0.12));
  border-radius: 2px;
}

.tl-item {
  position: relative;
  margin-bottom: 2rem;
}

.tl-item:last-child {
  margin-bottom: 0;
}

.tl-dot {
  position: absolute;
  left: -2.1rem;
  top: 0.65rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(27, 67, 50, 0.1);
  z-index: 1;
}

.tl-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 150, 43, 0.15);
}

.tl-content {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.tl-content:hover {
  border-color: rgba(27, 67, 50, 0.15);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.tl-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.tl-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.tl-desc {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin: 0;
}

/* --- Quartier Items Enhanced --- */
.quartiers-list-enhanced {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.quartier-item-enhanced {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  background: var(--cream);
  text-align: left;
  transition: all 0.2s;
}

.quartier-item-enhanced:hover {
  border-color: rgba(27, 67, 50, 0.2);
  background: var(--white);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.quartier-num-badge {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quartier-name {
  color: var(--gray-700);
  font-size: 0.9rem;
  padding-top: 0.15rem;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .candidate-roster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .candidate-roster-item {
    grid-template-columns: 2.95rem minmax(0, 1fr);
  }

  .candidate-roster-photo-wrap {
    width: 2.95rem;
    height: 2.95rem;
    border-radius: 0.78rem;
  }
}

@media (max-width: 640px) {
  .candidate-roster-panel {
    padding: 1.25rem;
  }

  .candidate-roster-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .candidate-roster-item {
    grid-template-columns: 2.8rem minmax(0, 1fr);
    padding: 0.55rem 0.6rem;
    gap: 0.62rem;
  }

  .candidate-roster-photo-wrap {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.72rem;
  }

  .candidate-roster-meta {
    gap: 0.45rem;
  }

  .candidate-roster-num {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.7rem;
  }

  .candidate-roster-name {
    font-size: 0.86rem;
    line-height: 1.32;
  }
}

@media (max-width: 767px) {
  .press-kit-card {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .press-kit-actions {
    justify-items: stretch;
  }

  .press-kit-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Diversity Cards Enhanced --- */
.diversity-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.div-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.div-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(27, 67, 50, 0.15);
}

.div-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  background: rgba(27, 67, 50, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  transition: all 0.2s;
}

.div-card:hover .div-card-icon {
  background: var(--primary);
  color: var(--white);
}

.div-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.div-card-label {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

/* --- Vision Intro Chapters --- */
.vision-chapter {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 2rem 0 0.65rem;
}

.vision-chapter-dot {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.vision-chapter h3 {
  margin: 0;
  color: var(--primary);
}

/* --- Method Steps --- */
.method-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 1.25rem;
}

.method-step {
  background: rgba(27, 67, 50, 0.05);
  border: 1px solid rgba(27, 67, 50, 0.12);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all 0.2s;
}

.method-step:hover {
  background: rgba(27, 67, 50, 0.1);
  transform: translateY(-2px);
}

.method-step-num {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.method-step-text {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* --- Vision Pillars Card Style --- */
.vp-list-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vp-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .vp-card {
    grid-template-columns: 5rem 1fr;
    align-items: start;
  }
}

.vp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(27, 67, 50, 0.18);
}

.vp-card-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(27, 67, 50, 0.08);
  line-height: 1;
  user-select: none;
}

/* ============================================================
   QUIZ EXPRESS — réécriture propre (classes qz-*)
   ============================================================ */

.qz-wrap { position: relative; }

/* Barre de progression */
.qz-progress { margin-bottom: 1.5rem; }

.qz-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}
.qz-meta strong { color: var(--primary); }

.qz-track {
  height: 6px;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.qz-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--teal, #1a6b9a));
  border-radius: var(--radius-full);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Points indicateurs */
.qz-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.qz-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--gray-200);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.qz-dot.is-done { background: rgba(27, 67, 50, 0.35); }
.qz-dot.is-active { background: var(--primary); width: 22px; }

/* Étapes */
.qz-step { display: none; }
.qz-step.is-active {
  display: block;
  animation: qz-fade 0.25s ease;
}
@keyframes qz-fade {
  from { opacity: 0; transform: translateX(6px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Question */
.qz-question {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--primary);
  line-height: 1.45;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-100);
}
.qz-emoji {
  display: inline-block;
  font-size: 1.25rem;
  margin-right: 0.4rem;
  vertical-align: middle;
}

/* Options */
.qz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.qz-option {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.qz-option input[type="radio"] {
  width: 1.1rem;
  height: 1.1rem;
  min-width: 1.1rem;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}
.qz-option span {
  flex: 1;
  min-width: 0;
  color: var(--gray-700);
  line-height: 1.55;
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}
.qz-option:hover {
  border-color: rgba(27, 67, 50, 0.3);
  background: rgba(27, 67, 50, 0.02);
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.07);
  transform: translateY(-1px);
}
.qz-option:has(input:checked) {
  border-color: var(--primary);
  background: rgba(27, 67, 50, 0.05);
  box-shadow: 0 2px 10px rgba(27, 67, 50, 0.1);
}

/* Navigation */
.qz-nav {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}
.qz-btn:disabled {
  opacity: 0.38;
  cursor: default;
}

/* Résultat */
.qz-result {
  text-align: center;
  padding: 1.5rem 1rem;
  animation: qz-fade 0.35s ease;
}
.qz-result-emoji {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 0.75rem;
  animation: qz-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes qz-pop {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.qz-result-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: rgba(27, 67, 50, 0.12);
  color: var(--primary);
}
.qz-result-pill.is-a { background: rgba(26, 107, 154, 0.14); color: var(--teal, #1a6b9a); }
.qz-result-pill.is-b { background: rgba(200, 150, 43, 0.2); color: #8a5d00; }
.qz-result-pill.is-c { background: rgba(57, 139, 88, 0.16); color: #2f7a4e; }
.qz-result-pill.is-mix { background: rgba(27, 67, 50, 0.14); color: var(--primary); }

.qz-result-title {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: var(--primary);
  margin: 0 0 0.75rem;
}
.qz-result-body {
  color: var(--gray-600);
  max-width: 480px;
  margin: 0 auto 0.5rem;
}
.qz-result-note {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.qz-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.qz-result-picker {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(27, 67, 50, 0.1);
}

.qz-result-picker-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
  margin: 0 0 0.9rem;
}

.qz-result-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.qz-choice-btn {
  min-width: 0;
  border: 1px solid rgba(27, 67, 50, 0.16);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 250, 248, 0.96) 100%);
  color: var(--primary);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  font-weight: 700;
  line-height: 1.45;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.qz-choice-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(27, 67, 50, 0.28);
  box-shadow: 0 10px 24px rgba(13, 43, 31, 0.1);
}

.qz-choice-btn--ghost {
  background: rgba(27, 67, 50, 0.04);
  color: var(--gray-700);
}

@media (max-width: 767px) {
  .qz-nav { flex-direction: column; }
  .qz-btn { width: 100%; justify-content: center; }
  .qz-result-actions .btn { width: 100%; justify-content: center; }
  .qz-result-picker-grid { grid-template-columns: 1fr; }
  .qz-choice-btn { width: 100%; }
}

/* Home hero — add grid on hero-stats for 4 items */
.hero-stats.four-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 340px;
}

/* ============================================================
   HOME — ADDITIONAL SECTION ENHANCEMENTS
   ============================================================ */

/* Election banner upgrade */
.election-banner-v2 {
  background: linear-gradient(135deg, var(--gray-900) 0%, #1a2a1f 100%);
  padding: 2rem 0;
  border-top: 2px solid rgba(200, 150, 43, 0.35);
}

.eb-inner-v2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 3rem;
  text-align: center;
}

.eb-countdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.eb-countdown-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(200, 150, 43, 0.15);
  border: 1px solid rgba(200, 150, 43, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  min-width: 3.5rem;
}

.eb-countdown-n {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.eb-countdown-l {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-top: 0.2rem;
}

.eb-colon {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(200, 150, 43, 0.5);
  margin-bottom: 0.5rem;
}

/* Legal pages */
.legal-section {
  background:
    linear-gradient(180deg, rgba(248, 245, 239, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.legal-layout > * {
  min-width: 0;
}

.legal-aside {
  position: sticky;
  top: 6.5rem;
}

.legal-aside-card,
.legal-card {
  background: var(--white);
  border: 1px solid rgba(27, 67, 50, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 42px rgba(13, 31, 23, 0.06);
}

.legal-aside-card {
  padding: 1.25rem;
}

.legal-aside-card h2 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.9rem;
}

.legal-aside-card ul {
  display: grid;
  gap: 0.65rem;
}

.legal-aside-card a {
  color: var(--gray-700);
  font-size: 0.92rem;
}

.legal-aside-card a:hover {
  color: var(--primary);
}

.legal-content {
  display: grid;
  gap: 1.35rem;
  min-width: 0;
}

.legal-card {
  padding: 1.6rem;
  min-width: 0;
}

.legal-card h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.legal-card p,
.legal-card li {
  color: var(--gray-700);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.legal-card p + p {
  margin-top: 0.85rem;
}

.legal-card ul {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
  padding-left: 1.1rem;
}

.legal-highlight {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.legal-highlight-item {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(27, 67, 50, 0.04);
  border: 1px solid rgba(27, 67, 50, 0.08);
  min-width: 0;
}

.legal-highlight-item strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--primary);
}

.legal-note {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(200, 150, 43, 0.12), rgba(27, 67, 50, 0.07));
  color: var(--gray-800);
  margin-top: 1rem;
  overflow-wrap: anywhere;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.legal-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(27, 67, 50, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}

.legal-card a,
.legal-highlight-item span,
.legal-aside-card a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 960px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .legal-card,
  .legal-aside-card {
    padding: 1.1rem;
  }

  .legal-highlight {
    grid-template-columns: 1fr;
  }

  .legal-meta {
    gap: 0.55rem;
  }

  .legal-chip {
    width: 100%;
    justify-content: center;
  }
}

/* Candidat page — campaign with 2 cols */
.campaign-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .campaign-grid-two {
    grid-template-columns: 1fr;
  }
}

/* Section divider accent */
.section-accent-line {
  display: block;
  width: 3rem;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  border-radius: 2px;
  margin: 1rem 0 0;
}

/* ============================================================
   ACTUALITE PAGE
   ============================================================ */
.actualite-hero {
  background:
    radial-gradient(460px 240px at 12% 20%, rgba(37, 244, 238, 0.2) 0%, rgba(37, 244, 238, 0) 72%),
    radial-gradient(520px 260px at 88% 15%, rgba(228, 64, 95, 0.22) 0%, rgba(228, 64, 95, 0) 74%),
    linear-gradient(135deg, #0f1e2d 0%, #1b4332 100%);
}

.social-hub {
  background:
    radial-gradient(620px 320px at -5% 4%, rgba(37, 244, 238, 0.08) 0%, rgba(37, 244, 238, 0) 72%),
    radial-gradient(760px 380px at 105% 10%, rgba(59, 89, 152, 0.12) 0%, rgba(59, 89, 152, 0) 74%),
    linear-gradient(180deg, #faf7f2 0%, #f8f5ef 100%);
  padding-top: 3.25rem;
}

.social-platform-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.social-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(13, 43, 31, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-pill::after {
  content: '';
  position: absolute;
  inset: auto 1.1rem 0.6rem;
  height: 3px;
  border-radius: 9999px;
  opacity: 0.85;
}

.social-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(13, 43, 31, 0.12);
}

.social-pill-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.72rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.social-pill-text {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.social-pill-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.2;
}

.social-pill-text small {
  font-size: 0.78rem;
  color: var(--gray-600);
  line-height: 1.45;
}

.social-pill--tiktok {
  border-color: rgba(254, 44, 85, 0.28);
}

.social-pill--tiktok .social-pill-icon {
  background: linear-gradient(135deg, #fe2c55 0%, #25f4ee 100%);
  color: #111827;
}

.social-pill--tiktok .social-pill-text strong {
  color: #111827;
}

.social-pill--tiktok::after {
  background: linear-gradient(90deg, #fe2c55 0%, #25f4ee 100%);
}

.social-pill--youtube {
  border-color: rgba(255, 0, 0, 0.22);
}

.social-pill--youtube .social-pill-icon {
  background: linear-gradient(135deg, #ff1f1f 0%, #111827 100%);
  color: var(--white);
}

.social-pill--youtube .social-pill-text strong {
  color: #bb1010;
}

.social-pill--youtube::after {
  background: linear-gradient(90deg, #ff1f1f 0%, #111827 100%);
}

.social-pill--facebook {
  border-color: rgba(24, 119, 242, 0.26);
}

.social-pill--facebook .social-pill-icon {
  background: linear-gradient(135deg, #1778f2 0%, #1b74e4 100%);
  color: var(--white);
}

.social-pill--facebook .social-pill-text strong {
  color: #0b4fb0;
}

.social-pill--facebook::after {
  background: linear-gradient(90deg, #1778f2 0%, #0a58ca 100%);
}

.social-pill--instagram {
  border-color: rgba(225, 48, 108, 0.24);
}

.social-pill--instagram .social-pill-icon {
  background: linear-gradient(135deg, #833ab4 0%, #e1306c 52%, #f77737 100%);
  color: var(--white);
}

.social-pill--instagram .social-pill-text strong {
  color: #c42564;
}

.social-pill--instagram::after {
  background: linear-gradient(90deg, #833ab4 0%, #e1306c 52%, #f77737 100%);
}

.social-streams {
  display: grid;
  gap: 1.4rem;
}

.campaign-videos-section {
  background: var(--cream);
  padding: 1.25rem 0 0.2rem;
}

.campaign-videos-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.social-block {
  --platform: var(--primary);
  --platform-alt: var(--gold);
  --platform-soft: rgba(27, 67, 50, 0.08);
  position: relative;
  max-width: 100%;
  padding: 1.1rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(27, 67, 50, 0.12);
  background:
    radial-gradient(420px 220px at 0% 0%, var(--platform-soft) 0%, rgba(255, 255, 255, 0) 74%),
    var(--white);
  box-shadow: 0 20px 44px rgba(13, 43, 31, 0.08);
  overflow: hidden;
}

.social-block::before {
  content: '';
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  top: 0.72rem;
  height: 4px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--platform) 0%, var(--platform-alt) 100%);
}

.social-block--tiktok {
  --platform: #fe2c55;
  --platform-alt: #25f4ee;
  --platform-soft: rgba(254, 44, 85, 0.09);
}

.social-block--youtube {
  --platform: #ff1f1f;
  --platform-alt: #111827;
  --platform-soft: rgba(255, 31, 31, 0.1);
}

.social-block--facebook {
  --platform: #1877f2;
  --platform-alt: #3b5998;
  --platform-soft: rgba(24, 119, 242, 0.1);
}

.social-block--instagram {
  --platform: #833ab4;
  --platform-alt: #f77737;
  --platform-soft: rgba(225, 48, 108, 0.1);
}

.social-block-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.25rem 0;
}

.social-block-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
}

.social-block h2 {
  margin: 0.15rem 0 0.3rem;
  color: var(--gray-900);
}

.social-block-desc {
  color: var(--gray-600);
  max-width: 760px;
}

.social-block-link {
  flex-shrink: 0;
  align-self: center;
  padding: 0.55rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(27, 67, 50, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-block-link:hover {
  transform: translateY(-1px);
  border-color: rgba(27, 67, 50, 0.32);
  background: #fff;
}

.social-feed {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 430px);
  width: 100%;
  gap: 0.9rem;
  overflow-x: scroll;
  overflow-y: hidden;
  padding: 0.8rem 0.2rem 0.25rem;
  margin-top: 0.45rem;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0.2rem;
  scrollbar-width: auto;
  scrollbar-color: rgba(17, 24, 39, 0.44) rgba(17, 24, 39, 0.12);
}

.social-feed--youtube {
  grid-auto-columns: minmax(240px, 280px);
  align-items: stretch;
}

.social-feed::-webkit-scrollbar {
  height: 13px;
}

.social-feed::-webkit-scrollbar-track {
  background: rgba(17, 24, 39, 0.12);
  border-radius: 9999px;
}

.social-feed::-webkit-scrollbar-thumb {
  border-radius: 9999px;
  background: rgba(17, 24, 39, 0.46);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.social-embed {
  min-width: 0;
  scroll-snap-align: start;
  padding: 0.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(27, 67, 50, 0.1);
  background: #fff;
  box-shadow: 0 12px 26px rgba(13, 43, 31, 0.08);
}

.social-feed-status {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  border-radius: 1rem;
  border: 1px dashed rgba(17, 24, 39, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 245, 239, 0.94) 100%);
  color: var(--gray-600);
  font-weight: 700;
  text-align: center;
}

.social-feed-status.is-error {
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.2);
  background: linear-gradient(180deg, rgba(255, 245, 245, 0.96) 0%, rgba(255, 238, 238, 0.96) 100%);
}

.youtube-short-card {
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 1.05rem;
  overflow: hidden;
  background: #fff;
  text-align: left;
  scroll-snap-align: start;
  box-shadow: 0 14px 30px rgba(13, 43, 31, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.youtube-short-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 31, 31, 0.2);
  box-shadow: 0 18px 36px rgba(13, 43, 31, 0.12);
}

.youtube-short-card:focus-visible {
  outline: 2px solid #ff1f1f;
  outline-offset: 3px;
}

.instagram-video-card:hover {
  border-color: rgba(225, 48, 108, 0.24);
}

.instagram-video-card:focus-visible {
  outline: 2px solid #e1306c;
  outline-offset: 3px;
}

.instagram-post-card .youtube-short-thumb {
  aspect-ratio: var(--instagram-thumb-ratio, 4 / 5);
}

.youtube-short-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #111827;
}

.youtube-short-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.youtube-short-badge {
  position: absolute;
  left: 0.65rem;
  top: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.58rem;
  border-radius: 9999px;
  background: rgba(17, 24, 39, 0.84);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.instagram-video-badge {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 58%, #515bd4 100%);
}

.youtube-short-play {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  color: #ff1f1f;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.2);
  font-size: 1rem;
}

.instagram-video-card .youtube-short-play {
  color: #dd2a7b;
}

.youtube-short-body {
  display: grid;
  gap: 0.4rem;
  padding: 0.85rem 0.9rem 0.95rem;
}

.youtube-short-title {
  color: var(--gray-900);
  font-family: var(--font-display);
  font-size: 0.95rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.youtube-short-meta {
  color: var(--gray-600);
  font-size: 0.78rem;
  font-weight: 600;
}

.youtube-short-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
  color: #bb1010;
  font-size: 0.82rem;
  font-weight: 700;
}

.instagram-video-card .youtube-short-link {
  color: #c0265b;
}

.social-embed iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  border: 0;
  border-radius: 0.78rem;
  background: #fff;
}

.social-embed video {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0.78rem;
  background: #000;
  object-fit: contain;
}

.social-video-frame {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 0.78rem;
  overflow: hidden;
  background: #000;
}

.social-video-link {
  display: inline-flex;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.social-mobile-fallback {
  display: none;
  gap: 0.75rem;
  margin-top: 0.7rem;
}

.social-mobile-card {
  display: grid;
  gap: 0.28rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(27, 67, 50, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 245, 239, 0.95) 100%);
  box-shadow: 0 12px 26px rgba(13, 43, 31, 0.08);
  color: var(--gray-900);
}

.social-mobile-card strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.social-mobile-card span {
  color: var(--gray-600);
  font-size: 0.82rem;
  font-weight: 700;
}

.social-scrollbar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0.65rem 0.2rem 0;
}

.social-scroll-btn {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid rgba(17, 24, 39, 0.22);
  background: rgba(255, 255, 255, 0.94);
  color: var(--gray-700);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.social-scroll-btn:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(17, 24, 39, 0.38);
}

.social-scroll-btn:disabled {
  opacity: 0.38;
  cursor: default;
  transform: none;
}

.social-scrollbar-track {
  position: relative;
  height: 0.95rem;
  flex: 1;
  border-radius: 9999px;
  background: rgba(17, 24, 39, 0.14);
  border: 1px solid rgba(17, 24, 39, 0.2);
}

.social-scrollbar-thumb {
  position: absolute;
  left: 0;
  top: 1px;
  bottom: 1px;
  width: 4rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--platform) 0%, var(--platform-alt) 100%);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.16);
  cursor: grab;
  transform: translateX(0);
}

.social-scrollbar-thumb.is-dragging {
  cursor: grabbing;
}

.social-scroll-hint {
  margin: 0.45rem 0 0.15rem;
  color: var(--gray-600);
  font-size: 0.8rem;
  font-weight: 600;
}

.social-video-modal-overlay {
  top:0px;
  position: fixed;
  inset: 0;
  z-index: 2300;
  display: grid;
  align-items: start;
  justify-items: center;
  overflow-y: auto;
  padding: 1rem 1rem 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.social-video-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.social-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 13, 20, 0.78);
  backdrop-filter: blur(8px);
}

.social-video-modal {
  position: relative;
  width: min(360px, calc(100vw - 2rem));
  margin-top: max(0.75rem, 4vh);
  border-radius: 1.3rem;
  background: linear-gradient(180deg, #101826 0%, #111827 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.2s ease;
}

.social-video-modal-overlay.is-open .social-video-modal {
  transform: translateY(0) scale(1);
}

.social-video-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.social-video-modal-close:focus-visible {
  outline: 2px solid #ff1f1f;
  outline-offset: 2px;
}

.social-video-modal-shell {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.social-video-modal-frame {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 177.7778%;
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
}

.social-video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.social-video-modal-meta {
  display: grid;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.88);
}

.social-video-modal-meta strong {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.35;
}

.social-video-modal-meta a {
  display: inline-flex;
  width: fit-content;
  color: #fca5a5;
  font-size: 0.84rem;
  font-weight: 700;
}

@media (max-width: 1023px) {
  .social-platform-pills {
    grid-template-columns: 1fr;
  }

  .campaign-videos-grid {
    grid-template-columns: 1fr;
  }

  .social-block-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-feed {
    grid-auto-columns: minmax(300px, 84vw);
  }

  .social-feed--youtube {
    grid-auto-columns: minmax(230px, 74vw);
  }
}

@media (max-width: 640px) {
  .home-promo-overlay {
    padding: 0.8rem;
  }

  .home-promo-modal {
    width: min(100%, 480px);
    height: min(80vh, 760px);
    border-radius: 1.1rem;
  }

  .home-promo-head {
    gap: 0.75rem;
    padding: 0.85rem 0.85rem 0.75rem;
  }

  .home-promo-title {
    font-size: 1.16rem;
  }

  .home-promo-text {
    font-size: 0.84rem;
  }

  .home-promo-close {
    width: 2.45rem;
    height: 2.45rem;
  }

  .home-promo-media {
    padding: 0.7rem 0.85rem 0.85rem;
  }

  .social-hub {
    padding-top: 2.5rem;
  }

  .social-pill {
    padding: 0.9rem 0.95rem;
  }

  .social-pill-text small {
    font-size: 0.75rem;
  }

  .social-block {
    padding: 0.85rem;
    border-radius: 1.1rem;
  }

  .social-block::before {
    left: 0.85rem;
    right: 0.85rem;
  }

  .social-feed {
    grid-auto-columns: minmax(280px, 90vw);
    padding-bottom: 0.15rem;
  }

  .social-feed--youtube {
    grid-auto-columns: minmax(220px, 76vw);
  }

  .social-embed {
    padding: 0.38rem;
    border-radius: 0.85rem;
  }

  .youtube-short-body {
    padding: 0.75rem 0.8rem 0.9rem;
  }

  .social-scrollbar {
    gap: 0.5rem;
  }

  .social-scroll-btn {
    width: 1.85rem;
    height: 1.85rem;
  }

  .social-video-modal {
    width: min(100%, 390px);
    margin-top: 0.5rem;
  }

  .social-feed--facebook-desktop,
  #actualite-facebook .social-scrollbar,
  #actualite-facebook .social-scroll-hint {
    display: none;
  }

  .social-mobile-fallback--facebook {
    display: grid;
  }
}
