/* ==========================================================================
   Campagne Officielle — Abdelhakim MESSAOUDI
   CEPEO · ZONE 11 | Écouter · Comprendre · Agir Ensemble
   Design System Ultra-Percutant inspiré des Affiches de Campagne
   Support Bilingue & Trilingue (Français, English, العربية avec RTL)
   ========================================================================== */

:root {
  --teal-deep: #0d3f3b;
  --teal-dark: #072624;
  --teal-medium: #155e58;
  --teal-soft: #dceeea;
  --teal-accent: #2bb3a6;

  --coral-vibrant: #e85d36;
  --coral-dark: #cc4924;
  --coral-light: #fdeee9;
  --coral-glow: rgba(232, 93, 54, 0.25);

  --bg-cream: #faf9f5;
  --bg-surface: #f4f3ec;
  --bg-card: #ffffff;

  --text-main: #132824;
  --text-muted: #4e6560;
  --text-light: #7a918b;
  --border-subtle: #e2ded5;
  --border-teal: #b8ded7;

  --font-script: 'Caveat', cursive, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Cairo', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 12px rgba(13, 63, 59, 0.06);
  --shadow-md: 0 10px 30px rgba(13, 63, 59, 0.09);
  --shadow-lg: 0 20px 48px rgba(13, 63, 59, 0.14);
  --shadow-coral: 0 8px 24px rgba(232, 93, 54, 0.28);

  --container-width: 1120px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* RTL / Arabic Mode Overrides */
html[dir="rtl"] body {
  font-family: var(--font-arabic);
}

html[dir="rtl"] .hero-main-name,
html[dir="rtl"] .section-headline,
html[dir="rtl"] .p-title,
html[dir="rtl"] .side-fact-card h3,
html[dir="rtl"] .ward-text h2,
html[dir="rtl"] .mob-stats-col h3 {
  font-family: var(--font-arabic);
  letter-spacing: 0;
}

html[dir="rtl"] .hero-script-name,
html[dir="rtl"] .brand-script {
  font-family: var(--font-arabic);
  font-size: 2rem;
  letter-spacing: 0;
  transform: none;
}

html[dir="rtl"] .hero-slogan-card {
  border-left: none;
  border-right: 6px solid var(--coral-vibrant);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

html[dir="rtl"] .photo-floating-card {
  border-left: none;
  border-right: 5px solid var(--coral-vibrant);
}

/* --------------------------------------------------------------------------
   Top Sticky Navigation Bar
   -------------------------------------------------------------------------- */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: rgba(250, 249, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.65rem 1.25rem;
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  background-color: var(--teal-deep);
  color: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(13, 63, 59, 0.2);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-script {
  font-family: var(--font-script);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal-accent);
  margin-bottom: -4px;
}

.brand-surname {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--teal-deep);
}

.brand-badge-pill {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--coral-vibrant);
  margin-top: 2px;
}

.nav-right-tools {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* 3-Language switcher */
.lang-switcher {
  display: flex;
  background-color: var(--teal-soft);
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-teal);
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--teal-deep);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background-color: var(--teal-deep);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(13, 63, 59, 0.2);
}

.nav-link-item {
  color: var(--teal-deep);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link-item:hover {
  background-color: var(--teal-soft);
  color: var(--teal-medium);
}

.nav-cta-btn {
  background-color: var(--coral-vibrant);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-coral);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-cta-btn:hover {
  background-color: var(--coral-dark);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   HERO SECTION : AURA PERCUTANTE & CANDIDAT OFFICIEL
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, rgba(220, 238, 234, 0.5) 0%, rgba(250, 249, 245, 0) 100%);
  padding: 3rem 1.25rem 4rem 1.25rem;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ffffff;
  border: 1px solid var(--border-teal);
  color: var(--teal-deep);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.hero-name-block {
  margin-bottom: 1.5rem;
}

.hero-script-name {
  font-family: var(--font-script);
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--teal-accent);
  display: block;
  line-height: 0.85;
  transform: rotate(-2deg);
}

.hero-main-name {
  font-family: var(--font-heading);
  font-size: 4.25rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 0.95;
  color: var(--teal-deep);
  text-transform: uppercase;
}

.hero-slogan-card {
  background-color: #ffffff;
  border-left: 6px solid var(--coral-vibrant);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.slogan-pill-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1.1;
  color: var(--teal-deep);
}

.slogan-word.coral {
  color: var(--coral-vibrant);
}

.slogan-tagline {
  margin-top: 0.65rem;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn-hero-primary {
  background-color: var(--teal-deep);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.9rem 1.65rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 6px 20px rgba(13, 63, 59, 0.25);
  transition: var(--transition);
}

.btn-hero-primary:hover {
  background-color: var(--teal-dark);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  background-color: #ffffff;
  color: var(--teal-deep);
  border: 2px solid var(--teal-deep);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  background-color: var(--teal-soft);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.h-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-deep);
}

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

.hero-photo-wrapper {
  position: relative;
  width: 100%;
  max-width: 335px;
  min-height: 520px;
  margin: 0 auto;
}

.photo-backdrop-shape {
  position: absolute;
  top: 12px;
  right: -12px;
  bottom: -12px;
  left: 12px;
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--coral-vibrant) 100%);
  border-radius: var(--radius-lg);
  z-index: 1;
}

.halftone-pattern {
  position: absolute;
  top: -24px;
  right: -24px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--teal-accent) 2px, transparent 2px);
  background-size: 12px 12px;
  z-index: 0;
  opacity: 0.6;
}

.candidate-main-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 525px;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
  object-fit: cover;
  object-position: center 15%;
  background-color: #faf9f5;
}

.photo-floating-card {
  position: absolute;
  bottom: -16px;
  left: -12px;
  right: 12px;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-left: 5px solid var(--coral-vibrant);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.1rem;
  box-shadow: var(--shadow-md);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.photo-floating-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--teal-deep);
  line-height: 1.3;
}

.photo-floating-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* --------------------------------------------------------------------------
   SECTION COMMUNE : TITRAGES
   -------------------------------------------------------------------------- */
.section-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

.section-title-wrap {
  margin-bottom: 2.75rem;
}

.section-title-wrap.text-center {
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-medium);
  margin-bottom: 0.5rem;
}

.section-eyebrow.coral {
  color: var(--coral-vibrant);
}

.section-headline {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--teal-deep);
  margin-bottom: 0.85rem;
}

.section-subtext {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   SECTION : LES 2 AFFICHES OFFICIELLES (FR & EN)
   -------------------------------------------------------------------------- */
.posters-showcase {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.poster-tabs-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.poster-tab-btn {
  background-color: #ffffff;
  border: 2px solid var(--border-teal);
  color: var(--teal-deep);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.75rem 1.45rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition);
}

.poster-tab-btn:hover {
  border-color: var(--teal-deep);
  background-color: var(--teal-soft);
}

.poster-tab-btn.active {
  background-color: var(--teal-deep);
  color: #ffffff;
  border-color: var(--teal-deep);
  box-shadow: 0 4px 14px rgba(13, 63, 59, 0.2);
}

.tab-flag {
  font-size: 1.15rem;
}

.poster-dual-container {
  max-width: 760px;
  margin: 0 auto;
}

.poster-card-item {
  display: none;
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.3s ease;
}

.poster-card-item.active {
  display: block;
}

.poster-image-holder {
  position: relative;
  cursor: pointer;
  background-color: #0d2825;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  min-height: 480px;
}

.poster-img {
  width: 100%;
  max-height: 640px;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.poster-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 63, 59, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.poster-image-holder:hover .poster-hover-overlay {
  opacity: 1;
}

.zoom-pill {
  background-color: #ffffff;
  color: var(--teal-deep);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(8px);
  transition: var(--transition);
}

.poster-image-holder:hover .zoom-pill {
  transform: translateY(0);
}

.poster-meta-panel {
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background-color: #ffffff;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.poster-info-text h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--teal-deep);
}

.poster-info-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.poster-btn-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-download-poster {
  background-color: var(--teal-deep);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-download-poster:hover {
  background-color: var(--teal-dark);
}

.btn-share-flyer {
  background-color: #25d366;
  color: #ffffff;
  border: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-share-flyer:hover {
  background-color: #1eb956;
}

/* --------------------------------------------------------------------------
   SECTION : PRIORITÉS (GRILLE PERCUTANTE DU FLYER)
   -------------------------------------------------------------------------- */
.priorities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.priority-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.priority-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-deep);
}

.priority-card.highlight-card {
  border-top: 4px solid var(--coral-vibrant);
}

.p-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.p-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-icon-box.teal {
  background-color: var(--teal-soft);
  color: var(--teal-deep);
}

.p-icon-box.coral {
  background-color: var(--coral-light);
  color: var(--coral-vibrant);
}

.p-num {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--border-subtle);
}

.p-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--teal-deep);
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}

.p-target {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--coral-vibrant);
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.p-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Priority 02 - Comprendre : 2 paragraphes (1er rouge, 2ème noir pas en gras) */
.priority-card:nth-child(2) .p-target,
.priority-card-comprendre .p-target {
  color: var(--coral-vibrant);
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.priority-card:nth-child(2) .p-desc,
.priority-card-comprendre .p-desc {
  color: #111827;
  font-weight: 400 !important;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   SECTION : PROFIL, PARCOURS & EXPERTISE
   -------------------------------------------------------------------------- */
.profile-card-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.credential-item:hover {
  border-color: var(--teal-deep);
}

.cred-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cred-icon.teal {
  background-color: var(--teal-soft);
  color: var(--teal-deep);
}

.cred-icon.coral {
  background-color: var(--coral-light);
  color: var(--coral-vibrant);
}

.cred-text h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--teal-deep);
  margin-bottom: 0.35rem;
}

.cred-text p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Side Fact Card */
.side-fact-card {
  background-color: var(--teal-deep);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.side-fact-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(232, 93, 54, 0.4) 0%, transparent 70%);
  border-radius: 50%;
}

.fact-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral-vibrant);
  margin-bottom: 0.5rem;
}

.side-fact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.fact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.94rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.dot-check {
  color: var(--coral-vibrant);
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.quote-signature-box {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.italic-script {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--teal-soft);
  line-height: 1.25;
}

html[dir="rtl"] .italic-script {
  font-family: var(--font-arabic);
  font-size: 1.2rem;
}

.signature-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--coral-vibrant);
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   SECTION : ZONE 11 GUIDE
   -------------------------------------------------------------------------- */
.ward-banner-box {
  background-color: #ffffff;
  border: 2px solid var(--border-teal);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
}

.ward-text {
  flex: 1;
  min-width: 300px;
}

.ward-pill {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--coral-vibrant);
  text-transform: uppercase;
}

.ward-text h2 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--teal-deep);
  margin: 0.35rem 0 0.85rem 0;
}

.ward-text p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.ward-steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.w-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background-color: var(--bg-cream);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
}

.w-step-num {
  width: 28px;
  height: 28px;
  background-color: var(--teal-deep);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.w-step strong {
  display: block;
  font-size: 0.88rem;
  color: var(--teal-deep);
  line-height: 1.2;
}

.w-step span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-check-voter {
  background-color: var(--coral-vibrant);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  padding: 1rem 1.65rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-coral);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-check-voter:hover {
  background-color: var(--coral-dark);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   SECTION : BOÎTE À IDÉES
   -------------------------------------------------------------------------- */
.form-layout-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.idea-campaign-form {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

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

.input-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.35rem;
}

.input-field label {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--teal-deep);
  margin-bottom: 0.45rem;
}

.opt {
  font-weight: 400;
  color: var(--text-light);
  font-size: 0.8rem;
}

.req {
  color: var(--coral-vibrant);
}

.input-field input,
.input-field select,
.input-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 0.85rem 1rem;
  background-color: #fafbf9;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: var(--transition);
}

html[dir="rtl"] .input-field input,
html[dir="rtl"] .input-field select,
html[dir="rtl"] .input-field textarea {
  font-family: var(--font-arabic);
}

.input-field input:focus,
.input-field select:focus,
.input-field textarea:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--teal-deep);
  box-shadow: 0 0 0 3px rgba(13, 63, 59, 0.12);
}

.input-field textarea {
  resize: vertical;
  min-height: 110px;
}

.error-msg {
  color: #c82333;
  font-size: 0.82rem;
  margin-top: 0.35rem;
  display: none;
}

.btn-submit-idea {
  width: 100%;
  background-color: var(--teal-deep);
  color: #ffffff;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(13, 63, 59, 0.2);
}

html[dir="rtl"] .btn-submit-idea {
  font-family: var(--font-arabic);
}

.btn-submit-idea:hover {
  background-color: var(--teal-dark);
}

.form-success-alert {
  background-color: var(--teal-soft);
  border: 2px solid var(--teal-deep);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  animation: fadeIn 0.3s ease;
}

.check-circle {
  width: 36px;
  height: 36px;
  background-color: var(--teal-deep);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

.form-success-alert h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--teal-deep);
  margin-bottom: 0.25rem;
}

/* --------------------------------------------------------------------------
   SECTION : MOBILISATION CITOYENNE
   -------------------------------------------------------------------------- */
.mobilization-strip {
  padding-bottom: 5rem;
}

.mob-inner-box {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.counter-display {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.counter-digit {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--coral-vibrant);
}

.counter-label-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.mob-stats-col h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.65rem;
}

.mob-stats-col p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.mob-buttons-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-pledge-action {
  background-color: var(--coral-vibrant);
  color: #ffffff;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  box-shadow: var(--shadow-coral);
  transition: var(--transition);
}

html[dir="rtl"] .btn-pledge-action,
html[dir="rtl"] .btn-share-all {
  font-family: var(--font-arabic);
}

.btn-pledge-action:hover {
  background-color: var(--coral-dark);
  transform: translateY(-2px);
}

.btn-share-all {
  background-color: #25d366;
  color: #ffffff;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: var(--transition);
}

.btn-share-all:hover {
  background-color: #1eb956;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.campaign-footer {
  background-color: #061e1b;
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 1.25rem 2.5rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-candidate-id {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-monogram {
  width: 44px;
  height: 44px;
  background-color: var(--coral-vibrant);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.footer-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  color: #ffffff;
}

.footer-role {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-nav-links a:hover {
  color: var(--coral-vibrant);
}

.footer-bottom-row {
  margin-top: 1.75rem;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal {
  margin-top: 0.35rem;
}

/* --------------------------------------------------------------------------
   LIGHTBOX MODAL : PLEIN ÉCRAN POUR LES AFFICHES
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(4, 20, 18, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -42px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.85rem;
  font-weight: 300;
  cursor: pointer;
  padding: 0.25rem;
}

.lightbox-img-wrapper {
  max-height: 82vh;
  overflow: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-img-wrapper img {
  max-height: 80vh;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.lightbox-bar {
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.lightbox-dl-link {
  background-color: var(--coral-vibrant);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.lightbox-dl-link:hover {
  background-color: var(--coral-dark);
}

/* --------------------------------------------------------------------------
   MODAL DU GUIDE DE VOTE
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(7, 38, 36, 0.85);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-backdrop.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal-card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  max-width: 540px;
  width: 100%;
  padding: 2.25rem 2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 1.35rem;
  color: var(--text-muted);
  cursor: pointer;
}

html[dir="rtl"] .modal-close {
  right: auto;
  left: 1.25rem;
}

.modal-pre {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--coral-vibrant);
}

.modal-card h3 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--teal-deep);
  margin: 0.35rem 0 1.5rem 0;
}

.modal-step-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.modal-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background-color: var(--bg-cream);
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.s-badge {
  width: 30px;
  height: 30px;
  background-color: var(--teal-deep);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-step strong {
  display: block;
  font-size: 0.95rem;
  color: var(--teal-deep);
  margin-bottom: 0.2rem;
}

.modal-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.btn-modal-link {
  display: block;
  text-align: center;
  background-color: var(--teal-deep);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-modal-link:hover {
  background-color: var(--teal-dark);
}

/* --------------------------------------------------------------------------
   TOAST
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background-color: var(--teal-deep);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN ADAPTÉ AUX MOBILES & TABLETTES
   -------------------------------------------------------------------------- */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

@media (max-width: 960px) {
  .section-container {
    padding: 3.5rem 1.15rem;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-name-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-actions-row, .hero-highlights {
    justify-content: center;
  }
  .hero-slogan-card {
    border-left: none;
    border-top: 5px solid var(--coral-vibrant);
    border-radius: var(--radius-md);
  }
  html[dir="rtl"] .hero-slogan-card {
    border-right: none;
    border-top: 5px solid var(--coral-vibrant);
  }
  .slogan-pill-box {
    justify-content: center;
  }
  .photo-floating-card {
    left: 8px;
    right: 8px;
    bottom: -15px;
  }
  .profile-card-grid {
    grid-template-columns: 1fr;
  }
  .mob-inner-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .counter-display {
    margin: 0 auto 1.25rem auto;
  }
}

@media (max-width: 640px) {
  /* Navigation mobile ultra-propre */
  .top-nav {
    padding: 0.5rem 0.85rem;
  }
  .brand-logo-icon {
    width: 38px;
    height: 38px;
  }
  .brand-script {
    font-size: 1.15rem;
  }
  .brand-surname {
    font-size: 0.98rem;
  }
  .brand-badge-pill {
    font-size: 0.58rem;
    letter-spacing: 1px;
  }
  .lang-btn {
    font-size: 0.72rem;
    padding: 0.3rem 0.5rem;
  }
  .nav-cta-btn {
    font-size: 0.78rem;
    padding: 0.45rem 0.8rem;
  }

  /* Hero Mobile */
  .hero-section {
    padding: 1.75rem 1rem 2.5rem 1rem;
  }
  .hero-badge-tag {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
    letter-spacing: 0.5px;
  }
  .hero-script-name {
    font-size: 2.25rem;
  }
  .hero-main-name {
    font-size: clamp(2.2rem, 9vw, 2.9rem);
    letter-spacing: -0.5px;
  }
  .hero-slogan-card {
    padding: 1.25rem 1rem;
  }
  .slogan-pill-box {
    font-size: 1.25rem;
  }
  .slogan-tagline {
    font-size: 0.95rem;
  }
  .hero-actions-row {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }
  .hero-photo-wrapper {
    max-width: 320px;
    min-height: auto;
  }
  .candidate-main-photo {
    height: 480px;
    object-position: center 15%;
  }
  .photo-backdrop-shape {
    top: 8px;
    right: -8px;
    bottom: -8px;
    left: 8px;
  }
  .photo-floating-card {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 1rem;
    text-align: left;
  }
  html[dir="rtl"] .photo-floating-card {
    text-align: right;
  }

  /* Titrages de sections */
  .section-headline {
    font-size: 1.85rem;
    letter-spacing: -0.3px;
  }
  .section-subtext {
    font-size: 0.95rem;
  }

  /* Affiches officielles */
  .posters-showcase {
    border-radius: var(--radius-md);
  }
  .poster-tabs-bar {
    gap: 0.5rem;
  }
  .poster-tab-btn {
    flex: 1 1 100%;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0.65rem 0.85rem;
  }
  .poster-image-holder {
    min-height: 380px;
    padding: 0.5rem;
  }
  .poster-meta-panel {
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1rem;
  }
  .poster-btn-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-download-poster, .btn-share-flyer {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
  }

  /* Grille des Priorités */
  .priorities-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }
  .priority-card {
    padding: 1.5rem 1.25rem;
  }
  .p-title {
    font-size: 1.2rem;
  }
  .p-target {
    font-size: 0.92rem;
  }
  .p-desc {
    font-size: 0.88rem;
  }

  /* Parcours et Bio */
  .credential-item {
    padding: 1.15rem;
    gap: 0.85rem;
  }
  .cred-icon {
    width: 40px;
    height: 40px;
  }
  .cred-text h4 {
    font-size: 1.05rem;
  }
  .cred-text p {
    font-size: 0.88rem;
  }
  .side-fact-card {
    padding: 1.75rem 1.25rem;
  }
  .side-fact-card h3 {
    font-size: 1.35rem;
  }

  /* Bannière Ward 11 */
  .ward-banner-box {
    padding: 1.5rem 1rem;
  }
  .ward-text h2 {
    font-size: 1.45rem;
  }
  .ward-steps-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .ward-btn-col {
    width: 100%;
  }
  .btn-check-voter {
    width: 100%;
    justify-content: center;
  }

  /* Boîte à idées */
  .idea-campaign-form {
    padding: 1.5rem 1rem;
  }
  .form-row-two {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .btn-submit-idea {
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
  }

  /* Mobilisation Strip */
  .mob-inner-box {
    padding: 2rem 1.15rem;
    border-radius: var(--radius-md);
  }
  .mob-stats-col h3 {
    font-size: 1.5rem;
  }
  .counter-digit {
    font-size: 1.65rem;
  }
  .btn-pledge-action, .btn-share-all {
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
  }

  /* Footer */
  .footer-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .footer-nav-links {
    gap: 1rem;
  }
}

@media (max-width: 360px) {
  .hero-main-name {
    font-size: 1.95rem;
  }
  .hero-script-name {
    font-size: 1.85rem;
  }
  .slogan-pill-box {
    font-size: 1.1rem;
  }
  .brand-surname {
    display: none;
  }
}

