/* ==========================================================================
   DIGITAL SENTINEL — ABOUT PAGE PRESENTATION STYLES
   Veille juridique & numérique — Projet social SUNRISE KOMPANY
   Devise: Créer – Accompagner – Impacter
   ========================================================================== */

:root {
  --about-bg-dark: #08090d;
  --about-card-dark: #10121a;
  --about-card-hover: #161924;
  --about-gold: #FFB800;
  --about-gold-light: #ffd54f;
  --about-gold-glow: rgba(255, 184, 0, 0.25);
  --about-border-dark: rgba(255, 255, 255, 0.08);
  --about-border-gold: rgba(255, 184, 0, 0.35);
  --about-text-bright: #ffffff;
  --about-text-muted: #b0b7c3;
  --about-text-subtle: #8a92a3;
}

/* Base page container */
.about-page-body {
  background-color: var(--about-bg-dark) !important;
  color: var(--about-text-bright) !important;
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Badges */
.about-badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.3);
  color: var(--about-gold) !important;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.about-badge-gold .line {
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--about-gold);
  border-radius: 2px;
}

/* Pulse Dot */
.pulse-dot-gold {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #FFB800;
  border-radius: 50%;
  box-shadow: 0 0 8px #FFB800;
  animation: pulseGoldDot 1.8s infinite;
}

@keyframes pulseGoldDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #FFB800; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* ==========================================================================
   HERO HEADER SECTION
   ========================================================================== */
.about-hero-section {
  background: radial-gradient(circle at 50% 10%, rgba(255, 184, 0, 0.12) 0%, rgba(8, 9, 13, 0.95) 75%),
              linear-gradient(180deg, #0b0d14 0%, #08090d 100%) !important;
  padding: 90px 20px 70px 20px !important;
  border-bottom: 1px solid var(--about-border-dark);
  text-align: center;
  position: relative;
}

.about-hero-container {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Sponsor & Devise tags */
.about-hero-top-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.about-hero-sponsor-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px;
  background: rgba(255, 184, 0, 0.08);
  border: 1px solid rgba(255, 184, 0, 0.35);
  border-radius: 50px;
  color: #FFB800 !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.about-hero-devise-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  color: #e2e8f0 !important;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.about-hero-devise-pill i {
  color: #FFB800;
  font-size: 0.75rem;
}

.about-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #ffffff !important;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin: 0 0 15px 0;
  text-transform: uppercase;
}

.about-hero-title .text-gold-gradient {
  background: linear-gradient(135deg, #FFB800 0%, #ffe082 50%, #FFB800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.about-hero-subtitle {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  color: #e2e8f0 !important;
  line-height: 1.5;
  max-width: 780px;
  margin: 0 auto 20px auto;
}

.about-hero-slogan-box {
  background: rgba(255, 184, 0, 0.05);
  border: 1px solid rgba(255, 184, 0, 0.25);
  border-left: 4px solid #FFB800;
  border-radius: 8px;
  padding: 14px 22px;
  max-width: 740px;
  margin: 0 auto 28px auto;
  text-align: left;
}

.about-hero-slogan-box p {
  margin: 0;
  color: #ffffff !important;
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
}

.about-hero-slogan-box p strong {
  color: #FFB800;
  font-style: normal;
}

/* ==========================================================================
   REPÈRES NAVIGATION BAR
   ========================================================================== */
.about-reperes-bar {
  background: #0f1219;
  border-bottom: 1px solid var(--about-border-dark);
  padding: 18px 20px;
  position: sticky;
  top: 70px;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.about-reperes-nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.about-repere-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 25px;
  color: #b0b7c3 !important;
  text-decoration: none !important;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.about-repere-chip .chip-num {
  color: #FFB800;
  font-weight: 800;
  font-size: 0.75rem;
}

.about-repere-chip:hover {
  background: rgba(255, 184, 0, 0.12);
  border-color: #FFB800;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   GLOBAL SECTION STYLING
   ========================================================================== */
.about-section {
  padding: 85px 20px;
  position: relative;
}

.about-section-dark {
  background-color: #090a0f !important;
}

.about-section-alt {
  background: linear-gradient(180deg, #0c0e15 0%, #090a0f 100%) !important;
  border-top: 1px solid var(--about-border-dark);
  border-bottom: 1px solid var(--about-border-dark);
}

.about-container {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.about-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px auto;
}

.about-section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.25;
  margin: 10px 0 15px 0;
  letter-spacing: -0.3px;
}

.about-section-desc {
  font-size: 1.05rem;
  color: var(--about-text-muted) !important;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   SECTION 1 : LE CONSTAT (L'URGENCE NUMÉRIQUE)
   ========================================================================== */
.constat-lead-banner {
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.08) 0%, rgba(20, 24, 35, 0.7) 100%);
  border: 1px solid rgba(255, 184, 0, 0.25);
  border-radius: 14px;
  padding: 26px 30px;
  margin-bottom: 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.constat-lead-quote {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 600;
  color: #ffffff !important;
  line-height: 1.5;
  margin: 0 0 10px 0;
}

.constat-lead-sub {
  font-size: 0.95rem;
  color: var(--about-gold) !important;
  margin: 0;
  font-weight: 500;
}

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

.constat-card {
  background: #11131c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 32px 26px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.constat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FFB800, #ff8f00);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.constat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 184, 0, 0.4);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 184, 0, 0.15);
}

.constat-card:hover::before {
  opacity: 1;
}

.constat-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFB800;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.constat-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 12px 0;
  line-height: 1.35;
}

.constat-card p {
  font-size: 0.92rem;
  color: var(--about-text-muted) !important;
  line-height: 1.6;
  margin: 0 0 15px 0;
  flex-grow: 1;
}

.constat-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #ff8f00 !important;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 143, 0, 0.1);
  border: 1px solid rgba(255, 143, 0, 0.25);
  align-self: flex-start;
}

.constat-focus-box {
  background: rgba(15, 18, 26, 0.8);
  border: 1px dashed rgba(255, 184, 0, 0.35);
  border-radius: 12px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.constat-focus-box i {
  font-size: 1.8rem;
  color: #FFB800;
  flex-shrink: 0;
}

.constat-focus-box p {
  margin: 0;
  color: #e2e8f0 !important;
  font-size: 0.95rem;
  line-height: 1.5;
}

.constat-focus-box p strong {
  color: #FFB800;
}

/* ==========================================================================
   SECTION 2 : NOTRE HISTOIRE & MISSION (GALAXY SHIELD)
   ========================================================================== */
.histoire-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.histoire-text-col {
  position: relative;
  z-index: 5;
}

.histoire-main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: #ffffff !important;
  margin: 10px 0 20px 0;
  line-height: 1.3;
}

.histoire-lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: #e2e8f0 !important;
  line-height: 1.7;
  margin-bottom: 16px;
}

.histoire-body {
  font-size: 0.95rem;
  color: var(--about-text-muted) !important;
  line-height: 1.7;
  margin-bottom: 22px;
}

.histoire-quote {
  background: rgba(255, 184, 0, 0.06);
  border-left: 3px solid #FFB800;
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  margin: 25px 0 0 0;
  color: #ffffff !important;
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.6;
}

.visual-shield-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

.histoire-img {
  max-width: 250px;
  height: auto;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   SECTION 3 : NOS 4 PILIERS D'ACTION (LES OBJECTIFS)
   ========================================================================== */
.piliers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.pilier-card {
  background: #11131c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 30px 22px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pilier-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 184, 0, 0.45);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 184, 0, 0.12);
}

.pilier-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(255, 184, 0, 0.3);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.pilier-card:hover .pilier-number {
  color: #FFB800;
}

.pilier-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFB800;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.pilier-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 12px 0;
  line-height: 1.35;
}

.pilier-card p {
  font-size: 0.88rem;
  color: var(--about-text-muted) !important;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

/* ==========================================================================
   SECTION 4 : COMMENT NOUS AGISSONS (5 FORMATS PÉDAGOGIQUES)
   ========================================================================== */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.format-card {
  background: #11131c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px 18px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.format-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 184, 0, 0.4);
  background: #151824;
}

.format-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 184, 0, 0.12);
  border: 1px solid rgba(255, 184, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFB800;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.format-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.format-card p {
  font-size: 0.85rem;
  color: var(--about-text-muted) !important;
  line-height: 1.55;
  margin: 0 0 12px 0;
  flex-grow: 1;
}

.format-channels {
  font-size: 0.72rem;
  font-weight: 600;
  color: #FFB800 !important;
  background: rgba(255, 184, 0, 0.08);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  align-self: flex-start;
}

/* ==========================================================================
   SECTION 5 : À QUI S'ADRESSE DIGITAL SENTINEL ? (5 PUBLICS CIBLES)
   ========================================================================== */
.publics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.public-card {
  background: #11131c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 26px 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.public-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 184, 0, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.public-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFB800;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.public-card:hover .public-icon-box {
  background: rgba(255, 184, 0, 0.15);
  border-color: #FFB800;
}

.public-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.public-card p {
  font-size: 0.85rem;
  color: var(--about-text-muted) !important;
  line-height: 1.55;
  margin: 0 0 14px 0;
  flex-grow: 1;
}

.public-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: 4px;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   SECTION 6 : LE MANIFESTE (POURQUOI C'EST IMPORTANT)
   ========================================================================== */
.manifeste-card {
  background: radial-gradient(circle at 50% 0%, rgba(255, 184, 0, 0.1) 0%, rgba(17, 19, 28, 0.95) 70%);
  border: 1px solid rgba(255, 184, 0, 0.35);
  border-radius: 18px;
  padding: 50px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 184, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.manifeste-quote-hero {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 45px auto;
}

.manifeste-quote-hero h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.4;
  margin: 0 0 14px 0;
}

.manifeste-quote-hero p {
  font-size: 1.05rem;
  color: #e2e8f0 !important;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

.manifeste-points-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.manifeste-point {
  background: rgba(10, 12, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px 20px;
  transition: all 0.3s ease;
}

.manifeste-point:hover {
  border-color: rgba(255, 184, 0, 0.4);
  background: rgba(16, 19, 28, 0.85);
  transform: translateY(-4px);
}

.manifeste-point-icon {
  font-size: 1.6rem;
  color: #FFB800;
  margin-bottom: 12px;
}

.manifeste-point h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 8px 0;
}

.manifeste-point p {
  font-size: 0.86rem;
  color: var(--about-text-muted) !important;
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   SECTION 8 : PARTENARIATS & ESPACE SUNRISE KOMPANY
   ========================================================================== */
.partenaires-container {
  background: #11131c;
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: 18px;
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.partenaires-signature {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 25px;
}

.partenaires-signature .company-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: #FFB800 !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 4px 0;
}

.partenaires-signature .company-motto {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.partenaires-desc {
  max-width: 760px;
  margin: 0 auto 35px auto;
  font-size: 1rem;
  color: var(--about-text-muted) !important;
  line-height: 1.65;
}

.partenaires-axes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.partenaire-axe-card {
  background: rgba(10, 12, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.partenaire-axe-card:hover {
  border-color: rgba(255, 184, 0, 0.4);
  transform: translateY(-4px);
}

.partenaire-axe-card i {
  font-size: 1.6rem;
  color: #FFB800;
  margin-bottom: 12px;
}

.partenaire-axe-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 6px 0;
}

.partenaire-axe-card p {
  font-size: 0.8rem;
  color: var(--about-text-muted) !important;
  line-height: 1.5;
  margin: 0;
}

.partenaires-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-about-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFB800;
  color: #111111 !important;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 13px 28px;
  border-radius: 30px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.3);
}

.btn-about-gold:hover {
  background: #ffc933;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 184, 0, 0.45);
}

.btn-about-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: 30px;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.btn-about-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .piliers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .formats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .publics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .manifeste-points-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partenaires-axes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .histoire-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .histoire-text-col p, .histoire-text-col blockquote {
    text-align: left !important;
  }
  .visual-shield-wrapper {
    min-height: 380px;
  }
}

@media (max-width: 768px) {
  .constat-grid {
    grid-template-columns: 1fr;
  }
  .piliers-grid {
    grid-template-columns: 1fr;
  }
  .formats-grid {
    grid-template-columns: 1fr;
  }
  .publics-grid {
    grid-template-columns: 1fr;
  }
  .manifeste-points-grid {
    grid-template-columns: 1fr;
  }
  .partenaires-axes-grid {
    grid-template-columns: 1fr;
  }
  .manifeste-card {
    padding: 35px 22px;
  }
  .partenaires-container {
    padding: 35px 22px;
  }
  .about-reperes-bar {
    top: 60px;
    padding: 12px 10px;
  }
}

/* ==========================================================================
   NEW OVERRIDES FOR LIGHT/DARK ALTERNATION & CARD BACKGROUNDS
   ========================================================================== */

/* 1. White Background for .about-section-alt */
.about-section-alt {
  background: #ffffff !important;
  color: #08090d !important;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.about-section-alt .about-section-title {
  color: #08090d !important;
}

.about-section-alt .about-section-desc {
  color: #444444 !important;
}

/* 2. Background Images for .about-section-dark */
/* Using the 3 newest images: 2152004091.jpg, 2151015327 (2).jpg, 2151003709.jpg */

#histoire.about-section-dark {
  background: linear-gradient(rgba(9, 10, 15, 0.85), rgba(9, 10, 15, 0.85)), url('../../images/2151003709.jpg') no-repeat center center !important;
  background-size: cover !important;
}

#formats.about-section-dark {
  background: linear-gradient(rgba(9, 10, 15, 0.85), rgba(9, 10, 15, 0.85)), url('../../images/2151015327 (2).jpg') no-repeat center center !important;
  background-size: cover !important;
}

#manifeste.about-section-dark {
  background: linear-gradient(rgba(9, 10, 15, 0.85), rgba(9, 10, 15, 0.85)), url('../../images/2152004091.jpg') no-repeat center center !important;
  background-size: cover !important;
}

#partenaires.about-section-dark {
  background: linear-gradient(rgba(9, 10, 15, 0.85), rgba(9, 10, 15, 0.85)), url('../../images/2151003709.jpg') no-repeat center center !important;
  background-size: cover !important;
}

/* 3. Card Alternation Rules */

/* --- EVEN BLOCKS (Noir, Or, Noir, Or...) --- */
/* Piliers (4), Manifeste (4), Partenaires (4) */
/* .pilier-card, .manifeste-point, .partenaire-axe-card */

/* Odd children -> Noir */
.piliers-grid > .pilier-card:nth-child(odd),
.manifeste-points-grid > .manifeste-point:nth-child(odd),
.partenaires-axes-grid > .partenaire-axe-card:nth-child(odd) {
  background: #11131c !important;
  color: #ffffff !important;
}
.piliers-grid > .pilier-card:nth-child(odd) h3,
.manifeste-points-grid > .manifeste-point:nth-child(odd) h4,
.partenaires-axes-grid > .partenaire-axe-card:nth-child(odd) h4 {
  color: #ffffff !important;
}
.piliers-grid > .pilier-card:nth-child(odd) p,
.manifeste-points-grid > .manifeste-point:nth-child(odd) p,
.partenaires-axes-grid > .partenaire-axe-card:nth-child(odd) p {
  color: #b0b7c3 !important;
}

/* Even children -> Or */
.piliers-grid > .pilier-card:nth-child(even),
.manifeste-points-grid > .manifeste-point:nth-child(even),
.partenaires-axes-grid > .partenaire-axe-card:nth-child(even) {
  background: #FFB800 !important;
  color: #08090d !important;
}
.piliers-grid > .pilier-card:nth-child(even) h3,
.manifeste-points-grid > .manifeste-point:nth-child(even) h4,
.partenaires-axes-grid > .partenaire-axe-card:nth-child(even) h4 {
  color: #08090d !important;
}
.piliers-grid > .pilier-card:nth-child(even) p,
.manifeste-points-grid > .manifeste-point:nth-child(even) p,
.partenaires-axes-grid > .partenaire-axe-card:nth-child(even) p {
  color: #222222 !important;
}
.piliers-grid > .pilier-card:nth-child(even) .pilier-icon-box,
.manifeste-points-grid > .manifeste-point:nth-child(even) .manifeste-point-icon,
.partenaires-axes-grid > .partenaire-axe-card:nth-child(even) i {
  color: #08090d !important;
  border-color: rgba(8,9,13,0.3) !important;
  background: rgba(8,9,13,0.1) !important;
}


/* --- ODD BLOCKS (Noir, Blanc, Or...) --- */
/* Constats (3), Formats (5), Publics (5) */
/* .constat-card, .format-card, .public-card */

/* 3n+1 -> Noir */
.constat-grid > .constat-card:nth-child(3n+1),
.formats-grid > .format-card:nth-child(3n+1),
.publics-grid > .public-card:nth-child(3n+1) {
  background: #11131c !important;
  color: #ffffff !important;
}
.constat-grid > .constat-card:nth-child(3n+1) h3,
.formats-grid > .format-card:nth-child(3n+1) h3,
.publics-grid > .public-card:nth-child(3n+1) h3 {
  color: #ffffff !important;
}
.constat-grid > .constat-card:nth-child(3n+1) p,
.formats-grid > .format-card:nth-child(3n+1) p,
.publics-grid > .public-card:nth-child(3n+1) p {
  color: #b0b7c3 !important;
}

/* 3n+2 -> Blanc */
.constat-grid > .constat-card:nth-child(3n+2),
.formats-grid > .format-card:nth-child(3n+2),
.publics-grid > .public-card:nth-child(3n+2) {
  background: #ffffff !important;
  color: #08090d !important;
  border-color: #dddddd !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.constat-grid > .constat-card:nth-child(3n+2) h3,
.formats-grid > .format-card:nth-child(3n+2) h3,
.publics-grid > .public-card:nth-child(3n+2) h3 {
  color: #08090d !important;
}
.constat-grid > .constat-card:nth-child(3n+2) p,
.formats-grid > .format-card:nth-child(3n+2) p,
.publics-grid > .public-card:nth-child(3n+2) p {
  color: #444444 !important;
}
.constat-grid > .constat-card:nth-child(3n+2) .constat-card-icon,
.formats-grid > .format-card:nth-child(3n+2) .format-icon-circle,
.publics-grid > .public-card:nth-child(3n+2) .public-icon-box {
  background: rgba(0,0,0,0.05) !important;
  border-color: rgba(0,0,0,0.1) !important;
  color: #08090d !important;
}

/* 3n -> Or */
.constat-grid > .constat-card:nth-child(3n),
.formats-grid > .format-card:nth-child(3n),
.publics-grid > .public-card:nth-child(3n) {
  background: #FFB800 !important;
  color: #08090d !important;
}
.constat-grid > .constat-card:nth-child(3n) h3,
.formats-grid > .format-card:nth-child(3n) h3,
.publics-grid > .public-card:nth-child(3n) h3 {
  color: #08090d !important;
}
.constat-grid > .constat-card:nth-child(3n) p,
.formats-grid > .format-card:nth-child(3n) p,
.publics-grid > .public-card:nth-child(3n) p {
  color: #222222 !important;
}
.constat-grid > .constat-card:nth-child(3n) .constat-card-icon,
.formats-grid > .format-card:nth-child(3n) .format-icon-circle,
.publics-grid > .public-card:nth-child(3n) .public-icon-box {
  color: #08090d !important;
  border-color: rgba(8,9,13,0.3) !important;
  background: rgba(8,9,13,0.1) !important;
}
.constat-grid > .constat-card:nth-child(3n) .constat-card-pill,
.formats-grid > .format-card:nth-child(3n) .format-channels,
.publics-grid > .public-card:nth-child(3n) .public-card-tag {
  color: #08090d !important;
  border-color: rgba(8,9,13,0.3) !important;
  background: rgba(8,9,13,0.1) !important;
}


/* ==========================================================================
   UPDATES BASED ON USER FEEDBACK (AUDIO 1, 2, 3)
   ========================================================================== */

/* 1. Justify all descriptive texts */
.constat-card p,
.pilier-card p,
.format-card p,
.public-card p,
.manifeste-point p,
.partenaire-axe-card p,
.constat-focus-box p,
.histoire-body,
.histoire-lead,
.histoire-quote,
.about-section-desc {
  text-align: justify !important;
}

/* 2. Harmonize card titles (Max 2 lines, forced height for consistency) */
.constat-card h3,
.pilier-card h3,
.format-card h3,
.public-card h3,
.manifeste-point h4,
.partenaire-axe-card h4 {
  font-size: 1rem !important; /* Reduced size */
  line-height: 1.4 !important;
  min-height: 2.8em !important; /* Forces 2 lines height */
  display: flex;
  align-items: center; /* Vertically center if 1 line */
  margin-bottom: 15px !important;
}

/* 3. Focus Box (Bottom of Constat section) */
.constat-focus-box {
  background: #08090d !important; /* Solid black */
  border-color: rgba(255, 184, 0, 0.5) !important;
}
.constat-focus-box p {
  color: #ffffff !important; /* Very visible white */
}

/* 4. Histoire Section (Image 2) */
/* Darker background overlay */
#histoire.about-section-dark {
  background: linear-gradient(rgba(4, 5, 8, 0.94), rgba(4, 5, 8, 0.94)), url('../../images/2151003709.jpg') no-repeat center center !important;
  background-size: cover !important;
}
/* Texts in white */
.histoire-body, .histoire-lead {
  color: #ffffff !important;
}
/* Quote box background more opaque */
.histoire-quote {
  background: rgba(255, 184, 0, 0.15) !important;
  color: #ffffff !important;
  border-left: 4px solid #FFB800 !important;
}

/* 5. Fix title visibility on dark/light backgrounds explicitly */
/* Black backgrounds */
.piliers-grid > .pilier-card:nth-child(odd) h3,
.manifeste-points-grid > .manifeste-point:nth-child(odd) h4,
.partenaires-axes-grid > .partenaire-axe-card:nth-child(odd) h4,
.constat-grid > .constat-card:nth-child(3n+1) h3,
.formats-grid > .format-card:nth-child(3n+1) h3,
.publics-grid > .public-card:nth-child(3n+1) h3 {
  color: #ffffff !important;
}

/* White/Gold backgrounds */
.piliers-grid > .pilier-card:nth-child(even) h3,
.manifeste-points-grid > .manifeste-point:nth-child(even) h4,
.partenaires-axes-grid > .partenaire-axe-card:nth-child(even) h4,
.constat-grid > .constat-card:nth-child(3n+2) h3,
.formats-grid > .format-card:nth-child(3n+2) h3,
.publics-grid > .public-card:nth-child(3n+2) h3,
.constat-grid > .constat-card:nth-child(3n) h3,
.formats-grid > .format-card:nth-child(3n) h3,
.publics-grid > .public-card:nth-child(3n) h3 {
  color: #000000 !important;
}


/* ==========================================================================
   UPDATES BASED ON RE-EVALUATED FEEDBACK
   ========================================================================== */

/* 1. Ensure section titles and company-name follow background contrast correctly */
.about-section-dark .about-section-title,
.about-section-dark .company-name {
  color: #ffffff !important;
}

.about-section-alt .about-section-title,
.about-section-alt .company-name {
  color: #000000 !important;
}

/* 2. Decrease opacity of background overlays to make images MORE visible */
#histoire.about-section-dark {
  background: linear-gradient(rgba(4, 5, 8, 0.80), rgba(4, 5, 8, 0.80)), url('../../images/2151003709.jpg') no-repeat center center !important;
  background-size: cover !important;
}
#formats.about-section-dark {
  background: linear-gradient(rgba(9, 10, 15, 0.80), rgba(9, 10, 15, 0.80)), url('../../images/2151015327 (2).jpg') no-repeat center center !important;
  background-size: cover !important;
}
#manifeste.about-section-dark {
  background: linear-gradient(rgba(9, 10, 15, 0.80), rgba(9, 10, 15, 0.80)), url('../../images/2152004091.jpg') no-repeat center center !important;
  background-size: cover !important;
}
#partenaires.about-section-dark {
  background: linear-gradient(rgba(9, 10, 15, 0.80), rgba(9, 10, 15, 0.80)), url('../../images/2151003709.jpg') no-repeat center center !important;
  background-size: cover !important;
}


/* ==========================================================================
   FINAL FIXES FOR CENTER ALIGNMENT & TAG VISIBILITY ON WHITE BG
   ========================================================================== */

/* 1. Remove justify from .about-section-desc and force center */
.about-section-desc {
  text-align: center !important;
}

/* 2. Fix visibility of tags/pills on White Backgrounds (3n+2) */
.constat-grid > .constat-card:nth-child(3n+2) .constat-card-pill,
.formats-grid > .format-card:nth-child(3n+2) .format-channels,
.publics-grid > .public-card:nth-child(3n+2) .public-card-tag {
  color: #08090d !important; /* Dark text */
  background: rgba(0, 0, 0, 0.08) !important; /* Light grey background */
  border-color: rgba(0, 0, 0, 0.2) !important;
}


/* ==========================================================================
   UPDATES BASED ON AUDIO FEEDBACK (ICONS & BADGES COLORS)
   ========================================================================== */

/* 1. White Background Cards (3n+2) - Icons and Badges in Gold */
.constat-grid > .constat-card:nth-child(3n+2) .constat-card-icon,
.formats-grid > .format-card:nth-child(3n+2) .format-icon-circle,
.publics-grid > .public-card:nth-child(3n+2) .public-icon-box {
  color: #c98c00 !important; /* Slightly darker gold for readability on white */
  background: rgba(255, 184, 0, 0.1) !important;
  border-color: rgba(255, 184, 0, 0.3) !important;
}

.constat-grid > .constat-card:nth-child(3n+2) .constat-card-pill,
.formats-grid > .format-card:nth-child(3n+2) .format-channels,
.publics-grid > .public-card:nth-child(3n+2) .public-card-tag {
  color: #c98c00 !important; /* Slightly darker gold for readability on white */
  background: rgba(255, 184, 0, 0.1) !important;
  border-color: rgba(255, 184, 0, 0.3) !important;
}

/* 2. Black Background Cards (Odd or 3n+1) - Badges in Gold (matching icons) */
.constat-grid > .constat-card:nth-child(3n+1) .constat-card-pill,
.formats-grid > .format-card:nth-child(3n+1) .format-channels,
.publics-grid > .public-card:nth-child(3n+1) .public-card-tag,
.piliers-grid > .pilier-card:nth-child(odd) .pilier-card-pill, 
.manifeste-points-grid > .manifeste-point:nth-child(odd) .manifeste-point-pill,
.partenaires-axes-grid > .partenaire-axe-card:nth-child(odd) .partenaire-card-pill {
  color: #FFB800 !important;
  background: rgba(255, 184, 0, 0.1) !important;
  border-color: rgba(255, 184, 0, 0.25) !important;
}

/* Ensure icons on black backgrounds are also properly gold (they mostly already are, but just to be safe) */
.constat-grid > .constat-card:nth-child(3n+1) .constat-card-icon,
.formats-grid > .format-card:nth-child(3n+1) .format-icon-circle,
.publics-grid > .public-card:nth-child(3n+1) .public-icon-box {
  color: #FFB800 !important;
  background: rgba(255, 184, 0, 0.1) !important;
  border-color: rgba(255, 184, 0, 0.25) !important;
}

