/* ==========================================================================
   NEVALETTE ZAYET — SITE DE CAMPAGNE OFFICIEL (ZONE 12 | CEPEO)
   Feuille de styles épurée, ultra-responsive, accessible et sans coupure
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Marck+Script&family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  --plum-950: #220820;
  --plum-900: #340d32;
  --plum-800: #491445;
  --plum-700: #621c5c;
  --plum-600: #7d2876;
  --plum-100: #fbf0f8;
  --plum-50:  #fdf8fc;

  --gold-600: #b87b1c;
  --gold-500: #d99a2c;
  --gold-400: #eeb54d;
  --gold-300: #f7ce7a;
  --gold-200: #fde8b5;
  --gold-100: #fdf5df;
  --gold-gradient: linear-gradient(135deg, #f7ce7a 0%, #d99a2c 50%, #b87b1c 100%);
  --gold-glow: 0 8px 25px rgba(217, 154, 44, 0.28);

  --sand-50:  #faf7f3;
  --sand-100: #f5efe8;
  --sand-200: #eaded3;
  --sand-300: #dac6b6;

  --rose-powder: #f8ebe6;
  --rose-soft: #f2dbd3;

  --text-dark: #221221;
  --text-muted: #645262;
  --text-light: #948292;
  --text-white: #ffffff;

  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-hand: 'Marck Script', cursive;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(51, 12, 48, 0.05);
  --shadow-md: 0 10px 28px rgba(51, 12, 48, 0.08);
  --shadow-lg: 0 20px 45px rgba(51, 12, 48, 0.12);
  --shadow-plum: 0 16px 40px rgba(51, 12, 48, 0.24);

  --transition-fast: 0.22s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  font-family: var(--font-main);
  background-color: var(--sand-50);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  width: 100%;
  overflow-x: hidden;
  line-height: 1.65;
  background-color: var(--sand-50);
  color: var(--text-dark);
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (max-width: 640px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.section-spacing {
  padding-top: 85px;
  padding-bottom: 85px;
}

@media (max-width: 768px) {
  .section-spacing {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

/* ==========================================================================
   BANDEAU SUPÉRIEUR ÉLECTION
   ========================================================================== */
.top-election-bar {
  background: linear-gradient(90deg, var(--plum-950) 0%, var(--plum-900) 50%, #4a1044 100%);
  color: var(--gold-200);
  padding: 8px 16px;
  font-size: 0.85rem;
  text-align: center;
  font-weight: 500;
  border-bottom: 1px solid rgba(238, 181, 77, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  position: relative;
  z-index: 101;
}

.top-election-bar .badge-date {
  background: var(--gold-gradient);
  color: var(--plum-950);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 243, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(72, 19, 68, 0.08);
  transition: var(--transition-fast);
}

.main-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.main-header .container {
  max-width: 1360px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 6px 0;
  gap: 12px;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-symbol {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--plum-900), var(--plum-800));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(51, 12, 48, 0.2);
  color: var(--gold-300);
  font-size: 1.15rem;
  border: 1px solid rgba(238, 181, 77, 0.35);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--plum-950);
  line-height: 1.25;
  margin: 0;
  padding: 0;
}

.brand-text span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--plum-900);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-500);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hide mobile CTAs inside navbar on desktop */
.mobile-nav-ctas {
  display: none !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-actions .btn-primary,
.nav-actions .btn-gold {
  padding: 8px 14px;
  min-height: 38px;
  font-size: 0.82rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--plum-900) 0%, var(--plum-800) 100%);
  color: #fff;
  padding: 8px 14px;
  min-height: 38px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.82rem;
  box-shadow: 0 6px 18px rgba(51, 12, 48, 0.18);
  border: 1px solid rgba(238, 181, 77, 0.3);
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(51, 12, 48, 0.26);
  background: linear-gradient(135deg, var(--plum-950) 0%, var(--plum-900) 100%);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--gold-gradient);
  color: var(--plum-950);
  padding: 8px 14px;
  min-height: 38px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: var(--gold-glow);
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(217, 154, 44, 0.38);
  filter: brightness(1.04);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: transparent;
  color: var(--plum-900);
  padding: 9px 18px;
  min-height: 42px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.88rem;
  border: 1.5px solid var(--plum-800);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-outline:hover {
  background: var(--plum-100);
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--sand-200);
  color: var(--plum-900);
  font-size: 1.2rem;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 102;
}

/* ==========================================================================
   NAVIGATION MOBILE DRAWER (TABLET & MOBILE <= 1080px)
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px 36px 20px;
    gap: 12px;
    overflow-y: auto;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
    border-bottom: 1px solid var(--sand-200);
    box-shadow: var(--shadow-lg);
    z-index: 99;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--plum-950);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: var(--sand-50);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-link::after {
    display: none;
  }

  .mobile-nav-ctas {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--sand-200);
  }

  .nav-actions .btn-gold,
  .nav-actions .btn-primary {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 40px;
  padding-bottom: 70px;
  background: radial-gradient(circle at 80% 20%, rgba(247, 206, 122, 0.18) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(95, 27, 89, 0.08) 0%, transparent 50%),
              var(--sand-50);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--plum-100);
  border: 1px solid rgba(72, 19, 68, 0.12);
  border-radius: var(--radius-full);
  color: var(--plum-800);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 14px;
  max-width: 100%;
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 10px var(--gold-400);
  flex-shrink: 0;
}

.hero-candidate-name {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--plum-950);
  line-height: 1.1;
  margin-bottom: 4px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--plum-900);
  margin-bottom: 12px;
}

.hero-title .highlight-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-handwriting {
  font-family: var(--font-hand);
  font-size: clamp(1.45rem, 3.8vw, 1.9rem);
  color: var(--gold-600);
  margin-bottom: 18px;
  font-weight: 400;
  line-height: 1.25;
}

.hero-lead-quote {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-left: 4px solid var(--gold-500);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.hero-lead-quote p.quote-big {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  font-weight: 700;
  color: var(--plum-900);
  line-height: 1.35;
}

.hero-lead-quote p.quote-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 26px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--sand-200);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-item .number {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--plum-900);
  line-height: 1.1;
}

.metric-item .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
  line-height: 1.4;
}

/* Portrait Visual Hero */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.portrait-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.portrait-glow {
  position: absolute;
  inset: -10px;
  background: linear-gradient(135deg, rgba(247, 206, 122, 0.4) 0%, rgba(95, 27, 89, 0.22) 100%);
  border-radius: 36px;
  filter: blur(20px);
  z-index: 1;
}

.portrait-frame {
  position: relative;
  z-index: 2;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-plum);
  border: 4px solid #ffffff;
  background: #fff;
}

.portrait-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 10px 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(238, 181, 77, 0.35);
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-badge.badge-right {
  top: 18px;
  right: -5px;
}

.floating-badge.badge-left {
  bottom: 18px;
  left: -5px;
}

.floating-badge .badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--plum-100);
  color: var(--plum-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.floating-badge .badge-text strong {
  display: block;
  font-size: 0.86rem;
  color: var(--plum-950);
  font-weight: 700;
  line-height: 1.2;
}

.floating-badge .badge-text span {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* ==========================================================================
   SECTIONS TYPOGRAPHY & HEADERS
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 45px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--plum-950);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: clamp(0.96rem, 2.3vw, 1.08rem);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   SECTION : POURQUOI JE ME PRÉSENTE
   ========================================================================== */
.why-section {
  background: #ffffff;
}

.reality-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.reality-card {
  background: var(--sand-50);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: var(--transition-smooth);
}

.reality-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  border-color: rgba(238, 181, 77, 0.4);
}

.reality-card .card-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--plum-100);
  color: var(--plum-800);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
  transition: var(--transition-fast);
}

.reality-card:hover .card-icon-box {
  background: var(--gold-gradient);
  color: var(--plum-950);
}

.reality-card h3 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--plum-950);
  margin-bottom: 8px;
  line-height: 1.35;
}

.reality-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.empathy-banner {
  background: linear-gradient(135deg, var(--plum-950) 0%, var(--plum-900) 60%, #4c1145 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 38px 34px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-plum);
}

.empathy-banner-content {
  position: relative;
  z-index: 2;
  max-width: 940px;
}

.empathy-banner h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3.5vw, 1.65rem);
  font-weight: 700;
  color: var(--gold-300);
  margin-bottom: 12px;
  line-height: 1.3;
}

.empathy-banner p {
  font-size: clamp(0.96rem, 2.5vw, 1.1rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 16px;
}

.empathy-banner .empathy-author {
  font-family: var(--font-hand);
  font-size: 1.75rem;
  color: var(--gold-200);
  display: block;
}

/* ==========================================================================
   SECTION : QUI EST NEVALETTE & PARCOURS MULTIDISCIPLINAIRE
   ========================================================================== */
.about-section {
  background: var(--sand-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
}

.about-card-left {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  border: 1px solid var(--sand-200);
  box-shadow: var(--shadow-sm);
}

.about-personal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rose-powder);
  color: #8c3b31;
  padding: 5px 13px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 16px;
}

.about-card-left h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 3.8vw, 1.95rem);
  font-weight: 800;
  color: var(--plum-950);
  margin-bottom: 12px;
  line-height: 1.25;
}

.about-card-left p {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.quote-highlight-box {
  background: var(--plum-50);
  border-left: 3px solid var(--plum-800);
  padding: 14px 16px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-weight: 600;
  color: var(--plum-900);
  font-size: 1rem;
  line-height: 1.45;
}

.diploma-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.diploma-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  border: 1px solid var(--sand-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.diploma-card:hover {
  transform: translateY(-3px);
  border-color: rgba(238, 181, 77, 0.4);
  box-shadow: var(--shadow-md);
}

.diploma-card .diploma-icon {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.diploma-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--plum-950);
  margin-bottom: 5px;
  line-height: 1.3;
}

.diploma-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.synergy-box {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--plum-900), var(--plum-800));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(238, 181, 77, 0.3);
}

.synergy-box p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--gold-100);
}

.synergy-box strong {
  color: var(--gold-300);
}

/* ==========================================================================
   SECTION : 9 ANS D'ENGAGEMENT TERRAIN (4 CARTES COMPLÈTES)
   ========================================================================== */
.experience-section {
  background: #ffffff;
}

.timeline-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.timeline-card {
  background: var(--sand-50);
  border-radius: var(--radius-xl);
  padding: 26px 20px;
  border: 1px solid var(--sand-200);
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(238, 181, 77, 0.4);
}

.timeline-step-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--gold-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.timeline-card h3 {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--plum-950);
  margin-bottom: 10px;
  line-height: 1.3;
}

.timeline-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   SECTION : MES 3 PRIORITÉS D'ACTION
   ========================================================================== */
.priorities-section {
  background: radial-gradient(circle at top right, rgba(247, 206, 122, 0.12) 0%, transparent 50%),
              var(--sand-50);
}

.priorities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.priority-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--sand-200);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.priority-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(238, 181, 77, 0.4);
}

.priority-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.85;
}

.priority-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--plum-950);
  margin-bottom: 12px;
  line-height: 1.3;
}

.priority-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.priority-quote {
  padding: 12px 14px;
  background: var(--plum-100);
  border-radius: var(--radius-md);
  font-weight: 700;
  color: var(--plum-900);
  font-size: 0.88rem;
  line-height: 1.4;
  margin-top: auto;
  border-left: 3px solid var(--plum-800);
}

/* ==========================================================================
   SECTION : CE QUE JE VEUX ÊTRE POUR VOUS
   ========================================================================== */
.trust-section {
  background: #ffffff;
}

.trust-quotes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}

.trust-quote-card {
  background: var(--sand-50);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  text-align: center;
  transition: var(--transition-smooth);
}

.trust-quote-card:hover {
  background: var(--plum-900);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-plum);
}

.trust-quote-card:hover p {
  color: #fff;
}

.trust-quote-card:hover .trust-icon {
  background: var(--gold-gradient);
  color: var(--plum-950);
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--plum-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.trust-quote-card p {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--plum-950);
  line-height: 1.35;
}

.humble-promise-box {
  background: var(--sand-100);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  border: 1px dashed var(--sand-300);
}

.humble-promise-box h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--plum-950);
  margin-bottom: 8px;
}

.humble-promise-box p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   SECTION : MA VISION POUR NOS ÉCOLES
   ========================================================================== */
.vision-section {
  background: linear-gradient(135deg, var(--plum-950) 0%, var(--plum-900) 50%, #481344 100%);
  color: #fff;
}

.vision-section .section-title {
  color: #ffffff;
}

.vision-section .section-subtitle {
  color: var(--gold-100);
}

.vision-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.vision-pillar {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  transition: var(--transition-smooth);
}

.vision-pillar:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
  border-color: var(--gold-400);
}

.vision-pillar .pillar-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-400);
  margin-bottom: 8px;
}

.vision-pillar p {
  font-size: 0.91rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

/* ==========================================================================
   SECTION : ZONE 12 — NOTRE COMMUNAUTÉ (SANS CARTOGRAPHIE)
   ========================================================================== */
.zone12-section {
  background: var(--sand-50);
}

.zone12-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.zone12-poetic {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  border: 1px solid var(--sand-200);
  box-shadow: var(--shadow-sm);
}

.zone12-poetic h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 800;
  color: var(--plum-950);
  margin-bottom: 12px;
}

.zone12-poetic p.lead-sentence {
  font-size: 1.02rem;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 20px;
}

.zone12-invitation-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.zone12-invitation-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--plum-900);
}

.zone12-invitation-list li i {
  color: var(--gold-500);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.zone12-interactive-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 30px 26px;
  border: 1px solid var(--sand-200);
  box-shadow: var(--shadow-sm);
}

.zone12-interactive-box h4 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--plum-950);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.schools-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.school-tag {
  background: var(--plum-100);
  color: var(--plum-900);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  user-select: none;
}

.school-tag:hover,
.school-tag:active {
  background: var(--gold-gradient);
  color: var(--plum-950);
  transform: translateY(-2px);
}

.flyer-preview-card {
  background: var(--sand-50);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--sand-200);
}

.flyer-thumb {
  width: 60px;
  height: 85px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.flyer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flyer-info h5 {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--plum-950);
  margin-bottom: 4px;
}

.flyer-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.4;
}

/* ==========================================================================
   SECTION : PARLONS-NOUS (ESPACE D'ÉCOUTE CITOYENNE)
   ========================================================================== */
.contact-section {
  background: #ffffff;
}

.contact-card-wrapper {
  max-width: 880px;
  margin: 0 auto;
  background: var(--sand-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--sand-200);
  box-shadow: var(--shadow-md);
  padding: 40px 34px;
}

.contact-card-header {
  text-align: center;
  margin-bottom: 26px;
}

.contact-card-header h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  font-weight: 800;
  color: var(--plum-950);
  margin-bottom: 8px;
}

.contact-card-header p {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.direct-email-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--sand-300);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-top: 12px;
  font-weight: 700;
  color: var(--plum-900);
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  max-width: 100%;
  word-break: break-word;
}

.direct-email-badge i {
  color: var(--gold-500);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--plum-950);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  min-height: 48px;
  background: #ffffff;
  border: 1.5px solid var(--sand-300);
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 16px; /* Prevents iOS auto-zoom */
  color: var(--text-dark);
  transition: var(--transition-fast);
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--plum-800);
  box-shadow: 0 0 0 4px rgba(72, 19, 68, 0.08);
}

.form-submit-row {
  grid-column: span 2;
  text-align: center;
  margin-top: 6px;
}

.form-status-msg {
  grid-column: span 2;
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-status-msg.success {
  display: block;
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #c8e6c9;
}

/* ==========================================================================
   SECTION : FINALE & APPEL AU VOTE PERCUTANT
   ========================================================================== */
.closing-section {
  background: radial-gradient(circle at center, #52154a 0%, var(--plum-950) 100%);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.closing-content {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.closing-script {
  font-family: var(--font-hand);
  font-size: clamp(1.8rem, 5vw, 2.3rem);
  color: var(--gold-300);
  margin-bottom: 18px;
}

.closing-chant {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 22px;
}

.closing-chant span {
  display: block;
  color: var(--gold-200);
  font-weight: 800;
}

.closing-lead-statement {
  font-size: clamp(1.02rem, 2.8vw, 1.22rem);
  line-height: 1.75;
  color: #ffffff;
  margin-bottom: 30px;
  font-weight: 500;
}

.closing-candidate-sign {
  margin-bottom: 30px;
}

.closing-candidate-sign h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 7vw, 3.4rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.closing-candidate-sign p {
  font-size: clamp(0.92rem, 2.3vw, 1.12rem);
  font-weight: 600;
  color: var(--gold-100);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

.vote-cta-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(238, 181, 77, 0.35);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 100%;
}

.vote-date-badge {
  background: var(--gold-gradient);
  color: var(--plum-950);
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 3.5vw, 1.35rem);
  font-weight: 800;
  padding: 9px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--gold-glow);
  white-space: nowrap;
}

/* ==========================================================================
   MODAL / LIGHTBOX POUR L'AFFICHE
   ========================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(34, 8, 32, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  max-width: 540px;
  width: 100%;
  max-height: 92vh;
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(34, 8, 32, 0.75);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--plum-950);
  transform: scale(1.08);
}

.modal-img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   PIED DE PAGE (FOOTER)
   ========================================================================== */
.main-footer {
  background: #190518;
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 20px 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand h4 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--gold-300);
  margin-top: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
}

.footer-links a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.75);
  padding: 4px 0;
}

.footer-links a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  max-width: 1240px;
  margin: 18px auto 0 auto;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   TABLET RESPONSIVE (max-width: 1080px)
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-lead-quote {
    border-left: none;
    border-top: 4px solid var(--gold-500);
    border-radius: var(--radius-md);
    text-align: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-metrics {
    width: 100%;
    max-width: 520px;
  }

  .about-grid,
  .zone12-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .reality-cards-grid,
  .priorities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-quotes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vision-pillars {
    grid-template-columns: repeat(3, 1fr);
  }

  .vision-pillar:last-child {
    grid-column: span 2;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVE (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 20px;
    padding-bottom: 45px;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 6px;
  }

  .portrait-wrapper {
    max-width: 280px;
  }

  .portrait-frame {
    border-radius: 26px;
    border-width: 3px;
  }

  .floating-badge {
    position: static;
    display: inline-flex;
    margin: 6px 4px;
    width: auto;
  }

  .floating-badge.badge-left,
  .floating-badge.badge-right {
    position: static;
  }

  .hero-visual-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 100%;
  }

  .metric-item {
    background: #ffffff;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--sand-200);
    box-shadow: var(--shadow-sm);
  }

  .reality-cards-grid,
  .priorities-grid,
  .timeline-cards,
  .diploma-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .synergy-box {
    grid-column: span 1;
    flex-direction: column;
    text-align: center;
    padding: 18px 16px;
  }

  .vision-pillars {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .vision-pillar:last-child {
    grid-column: span 1;
  }

  .contact-card-wrapper {
    padding: 24px 16px;
    border-radius: var(--radius-lg);
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-group.full-width,
  .form-submit-row {
    grid-column: span 1;
  }

  .form-submit-row .btn-gold {
    width: 100%;
    padding: 13px 20px;
  }

  .empathy-banner {
    padding: 26px 18px;
    border-radius: var(--radius-lg);
  }

  .zone12-poetic,
  .zone12-interactive-box,
  .about-card-left {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

  .flyer-preview-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .vote-cta-box {
    width: 100%;
    padding: 22px 14px;
  }

  .vote-date-badge {
    white-space: normal;
    text-align: center;
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ==========================================================================
   SMALL SMARTPHONES (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .top-election-bar {
    font-size: 0.76rem;
    padding: 7px 10px;
  }

  .nav-container {
    min-height: 66px;
  }

  .brand-symbol {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }

  .brand-text h1 {
    font-size: 1.12rem;
  }

  .brand-text span {
    font-size: 0.66rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn-gold,
  .hero-ctas .btn-outline {
    width: 100%;
  }

  .trust-quotes-grid {
    grid-template-columns: 1fr;
  }

  .school-tag {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   SÉLECTEUR DE LANGUE & STYLES RTL (ARABE)
   ========================================================================== */
.top-election-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 20px;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.top-election-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(238, 181, 77, 0.35);
  border-radius: var(--radius-full);
  padding: 2px;
  gap: 2px;
  backdrop-filter: blur(8px);
}

.lang-btn {
  background: transparent;
  color: var(--gold-100);
  border: none;
  padding: 3px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: inherit;
  line-height: 1.2;
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.active {
  background: var(--gold-gradient);
  color: var(--plum-950);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* RTL (Right to Left) Styles for Arabic */
html[dir="rtl"] {
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
}

html[dir="rtl"] body {
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
  text-align: right;
}

html[dir="rtl"] .hero-lead-quote,
html[dir="rtl"] .quote-highlight-box,
html[dir="rtl"] .priority-quote {
  border-left: none;
  border-right: 4px solid var(--gold-500);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  text-align: right;
}

html[dir="rtl"] .hero-handwriting,
html[dir="rtl"] .closing-script,
html[dir="rtl"] .empathy-author {
  font-family: 'Cairo', cursive, sans-serif;
  font-weight: 800;
}

html[dir="rtl"] .floating-badge.badge-right {
  right: auto;
  left: -5px;
}

html[dir="rtl"] .floating-badge.badge-left {
  left: auto;
  right: -5px;
}

html[dir="rtl"] .zone12-invitation-list li {
  justify-content: flex-start;
}

html[dir="rtl"] .zone12-invitation-list li i {
  margin-left: 10px;
  margin-right: 0;
}

html[dir="rtl"] .nav-links {
  direction: rtl;
}

html[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

html[dir="rtl"] .form-group input,
html[dir="rtl"] .form-group select,
html[dir="rtl"] .form-group textarea {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .humble-promise-box,
html[dir="rtl"] .section-header,
html[dir="rtl"] .contact-card-header,
html[dir="rtl"] .closing-content {
  text-align: center;
}

@media (max-width: 768px) {
  .top-election-bar {
    justify-content: center;
    gap: 8px;
  }
  .top-election-info {
    justify-content: center;
    text-align: center;
  }
}
