/* AURIGAE — Design PowerPoint / Slide Deck */

:root {
  --color-primary: #0D3F5E;
  --color-primary-dark: #082a42;
  --color-accent: #FFDB00;
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: rgba(255,255,255,0.65);
  --font-main: 'Century Gothic', 'CenturyGothic', AppleGothic, sans-serif;
  --sidebar-width: 220px;
  --transition: 0.25s ease;
}

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

html, body {
  height: 100%;
  overflow: hidden;
  font-family: var(--font-main);
  background: var(--color-primary-dark);
}

/* ==============================
   LAYOUT GLOBAL
   ============================== */
.deck {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* ==============================
   SIDEBAR — flottante, sans fond
   ============================== */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  z-index: 20;
  padding: 1.75rem 1rem 1.25rem;
  /* Voile gauche très doux pour lisibilité sur slides claires */
  background: linear-gradient(
    to right,
    rgba(8, 42, 66, 0.45) 0%,
    rgba(8, 42, 66, 0.15) 70%,
    transparent 100%
  );
  pointer-events: none; /* passthrough — seuls les enfants captent les clics */
}

.sidebar > * {
  pointer-events: auto;
}

/* Logo */
.sidebar-logo {
  margin-bottom: 1.75rem;
  flex-shrink: 0;
}

.sidebar-logo-name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.sidebar-logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.sidebar-logo img {
  height: 1.4rem;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.4));
}

/* Nav */
.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sidebar-group {
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.4);
  font-weight: 700;
  padding: 0.6rem 0.25rem 0.15rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* ==============================
   BOUTONS LIQUID DESIGN
   ============================== */
.sidebar-item {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition:
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Liquid fill — monte du bas */
.sidebar-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255,255,255,0.14);
  transform: translateY(105%);
  transition: transform 0.42s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 0;
}

.sidebar-item span,
.sidebar-item {
  position: relative;
  z-index: 1;
}

.sidebar-item:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.sidebar-item:hover::before {
  transform: translateY(0);
}

/* Actif : rempli accent jaune */
.sidebar-item.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 700;
  text-shadow: none;
  box-shadow: 0 4px 18px rgba(255,219,0,0.35);
}

.sidebar-item.active::before {
  transform: translateY(0);
  background: rgba(255,255,255,0.12);
}

.sidebar-item.page-link.active {
  border-style: solid;
}

/* Wrapper bouton + sous-menu (hover commun) */
.sidebar-item-wrapper {
  display: flex;
  flex-direction: column;
}

/* Sous-menu Activités */
.sidebar-submenu {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-left: 0.75rem;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.25s ease,
              margin 0.35s ease;
  margin-top: 0;
  margin-bottom: 0;
}

.sidebar-item-wrapper:hover .sidebar-submenu {
  max-height: 200px;
  opacity: 1;
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}

.sidebar-subitem {
  display: block;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}

.sidebar-subitem::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateY(105%);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.sidebar-subitem:hover::before {
  transform: translateY(0);
}

.sidebar-subitem:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

/* Footer admin */
.sidebar-footer {
  padding-top: 0.75rem;
  flex-shrink: 0;
}

.sidebar-footer a {
  display: block;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.28);
  text-decoration: none;
  padding: 0.3rem 0.25rem;
  transition: color 0.25s ease;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.sidebar-footer a:hover {
  color: rgba(255,255,255,0.65);
}

/* Mobile hamburger */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  background: rgba(8,42,66,0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ==============================
   SLIDE VIEWPORT — plein écran
   ============================== */
.slide-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* ==============================
   SLIDES
   ============================== */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  transform: translateY(16px);
  background: var(--color-bg);
  isolation: isolate; /* empêche backdrop-filter de percer sur les slides inactives */
  overflow: hidden;
  padding: 3rem 4rem 3rem calc(var(--sidebar-width) + 2rem);
}

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

.slide.slide-dark {
  background: var(--color-primary);
  color: #fff;
}

.slide.slide-darker {
  background: var(--color-primary-dark);
  color: #fff;
}

.slide.slide-image {
  background: var(--color-primary-dark);
  color: #fff;
}

.slide-image-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}

.slide-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
}

/* ==============================
   TYPOGRAPHIE SLIDES
   ============================== */
.slide-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.75rem;
  display: block;
}

.slide-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.slide-title-accent {
  color: var(--color-accent);
}

.slide-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  opacity: 0.85;
  margin-top: 1rem;
  line-height: 1.6;
  max-width: 560px;
}

/* ==============================
   SLIDE ACCUEIL (hero + chiffres + qui)
   ============================== */
#slide-accueil {
  padding: 0; /* le grid gère son propre padding */
}

.hero-activities-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-content: center;
}

.hero-activity-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, color 0.3s;
  min-width: 110px;
}

.hero-activity-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  transform: translateY(105%);
  transition: transform 0.42s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-activity-btn:hover::before {
  transform: translateY(0);
}

.hero-activity-btn:hover {
  color: #1a6fad;
  border-color: var(--color-accent);
}

.hero-activity-btn svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
}

.hero-activity-btn span,
.hero-activity-btn {
  position: relative;
  z-index: 1;
}

.accueil-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  gap: 0;
  padding: 4% 6% 4% calc(var(--sidebar-width) + 2rem);
}

.accueil-left {
  color: #fff;
  padding-right: 4rem;
}

.accueil-left .slide-title {
  font-size: clamp(3.5rem, 7vw, 6rem);
  letter-spacing: 0.12em;
  margin-top: 0.75rem;
}

.accueil-desc {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  line-height: 1.75;
  opacity: 0.85;
  margin-top: 1.5rem;
  max-width: 460px;
}

.accueil-right {
  border-left: 3px solid var(--color-accent);
  padding-left: 3rem;
  color: #fff;
}

.accueil-stats-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 1.75rem;
}

.accueil-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.5rem;
}

.accueil-stat-value {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.accueil-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.7;
}

/* ==============================
   SLIDE SPLIT (Qui sommes-nous, Gouvernance)
   ============================== */
.slide-split {
  display: grid;
  grid-template-columns: 38% 62%;
  gap: 5rem;
  align-items: center;
  width: 100%;
}

.slide-split-left {
  border-right: 3px solid var(--color-accent);
  padding-right: 4rem;
}

.slide-split-right p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.75;
  opacity: 0.85;
  margin-bottom: 1rem;
}

.slide-split-right p:last-child {
  margin-bottom: 0;
}

/* ==============================
   SLIDE HISTOIRE & VALEURS
   Layout empilé : timeline en haut, valeurs en bas
   ============================== */
#slide-histoire {
  padding: 2rem 4rem 2rem calc(var(--sidebar-width) + 2rem);
  align-items: flex-start;
}

/* ── Overlay sombre sur le fond étoilé ── */
#slide-histoire .slide-image-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 28, 0.58);
}

/* Textes en blanc sur fond sombre */
#slide-histoire .slide-section-label {
  color: var(--color-accent);
}

#slide-histoire .hv-sep,
#slide-histoire .thi-year,
#slide-histoire .thi-text {
  color: rgba(255,255,255,0.9);
}

#slide-histoire .hv-sep {
  background: rgba(255,255,255,0.15);
}

/* ── Timeline items : étiquettes en bulles ── */
#slide-histoire .thi-text,
#slide-histoire .thi-year {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 100px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.1rem 0.55rem;
}

#slide-histoire .timeline-h-track::before {
  background: rgba(255,255,255,0.3);
}

#slide-histoire .thi-dot {
  background: var(--color-accent);
  box-shadow: 0 0 10px 2px rgba(255, 219, 0, 0.5);
}

#slide-histoire .thi-stem {
  background: rgba(255,255,255,0.35);
}

/* ── Chiffres clés : bulles liquid ── */
#slide-histoire .hv-stats-row {
  gap: 1rem;
}

#slide-histoire .hv-stat {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.35rem 1.2rem;
  cursor: default;
}

#slide-histoire .hv-stat + .hv-stat {
  border-left: 1.5px solid rgba(255,255,255,0.18);
}

#slide-histoire .hv-stat-value {
  color: var(--color-accent);
  -webkit-text-stroke: 0;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
}

#slide-histoire .hv-stat-label {
  color: rgba(255,255,255,0.65);
  font-size: 0.55rem;
}

/* ── Valeurs : cartes liquid design ── */
#slide-histoire .valeur-h-card {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: default;
}

#slide-histoire .valeur-h-icon,
#slide-histoire .valeur-h-title,
#slide-histoire .valeur-h-items,
#slide-histoire .valeur-h-items li {
  color: #fff;
  position: relative;
  z-index: 1;
}

#slide-histoire .valeur-h-icon {
  color: var(--color-accent);
}

.hv-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  width: 100%;
}

.hv-bloc {
  display: flex;
  flex-direction: column;
}

.hv-sep {
  width: 100%;
  height: 1px;
  background: rgba(13,63,94,0.12);
  margin: 1.5rem 0;
}

/* Chiffres clés dans slide-histoire */
.hv-stats-row {
  display: flex;
  gap: 0;
  justify-content: space-around;
  align-items: center;
  padding: 0.5rem 0;
}

.hv-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex: 1;
}

.hv-stat + .hv-stat {
  border-left: 1px solid rgba(13,63,94,0.15);
}

.hv-stat-value {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  -webkit-text-stroke: 0.5px var(--color-primary-dark);
}

.hv-stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  opacity: 0.7;
}

/* ==============================
   TIMELINE HORIZONTALE PROPORTIONNELLE
   Axe des X : left = 3 + (year-1950)/75 * 88  (plage 1950-2025)
   Ligne horizontale à top: 80px dans un track de 160px de hauteur.
   Items au-dessus : texte↑ — tige — dot — année↓
   Items en dessous : année↑ — dot — tige — texte↓
   ============================== */
.timeline-h {
  margin-top: 1rem;
  width: 100%;
}

.timeline-h-track {
  position: relative;
  width: 100%;
  height: 160px;
}

/* Ligne horizontale à 80px du haut */
.timeline-h-track::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-accent), rgba(13,63,94,0.15));
  z-index: 0;
}

/* Conteneur de chaque événement, centré sur left:X% */
.timeline-h-item {
  position: absolute;
  top: 0;
  height: 160px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px;
}

/* Point sur la ligne (top 80 - rayon 5 = top 75) */
.thi-dot {
  position: absolute;
  top: 75px;
  width: 10px;
  height: 10px;
  background: var(--color-accent);
  border-radius: 50%;
  z-index: 1;
}

/* Tige verticale reliant texte et dot */
.thi-stem {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: rgba(13,63,94,0.2);
}

/* Année */
.thi-year {
  position: absolute;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
}

/* Texte événement */
.thi-text {
  position: absolute;
  font-size: 0.67rem;
  color: #444;
  line-height: 1.35;
  text-align: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ——— AU-DESSUS de la ligne ——— */
.thi-above .thi-text {
  top: 4px;
  height: 58px;
}
.thi-above .thi-stem {
  top: 62px;
  height: 13px;
}
/* dot : top 75 (commun) */
.thi-above .thi-year {
  top: 88px; /* juste sous le dot (75+10+3px gap) */
}

/* ——— EN DESSOUS de la ligne ——— */
.thi-below .thi-year {
  top: 46px; /* assez haut pour que la bulle finisse avant le dot à 75px */
}
/* dot : top 75 (commun) */
.thi-below .thi-stem {
  top: 85px;
  height: 16px;
}
.thi-below .thi-text {
  top: 101px;
  height: 58px;
}

/* ==============================
   VALEURS (rangée horizontale)
   ============================== */
.valeurs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0.75rem;
}

.valeur-h-card {
  background: #f7f9fb;
  border-top: 3px solid var(--color-accent);
  padding: 1.1rem 1.25rem;
}

.valeur-h-icon {
  font-size: 1.25rem;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.4rem;
}

.valeur-h-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.valeur-h-items {
  list-style: none;
  padding: 0;
}

.valeur-h-items li {
  font-size: 0.75rem;
  color: #555;
  padding: 0.15rem 0;
  line-height: 1.4;
}

/* ==============================
   SLIDE ACTIVITÉS
   ============================== */
.activities-slide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
  height: 70vh;
}

.activity-slide-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}

.activity-slide-card:hover {
  border-color: var(--color-accent);
  background: rgba(255,255,255,0.08);
}

.activity-slide-card svg {
  width: 3rem;
  height: 3rem;
  stroke: var(--color-accent);
}

/* ==============================
   SLIDE RSE
   ============================== */
/* RSE — liquid design */
.rse-slide-content {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--sidebar-width);
  right: 0;
  width: auto;
  max-width: none;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

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

.rse-label {
  color: var(--color-accent) !important;
}

.rse-intro {
  color: rgba(255,255,255,0.85);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  margin-top: 0.4rem;
}

.rse-bubbles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.rse-bubble {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.rse-bubble-icon {
  width: 2.8rem;
  height: 2.8rem;
  color: var(--color-accent);
}

.rse-bubble-icon svg {
  width: 100%;
  height: 100%;
}

.rse-bubble-title {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0;
}

.rse-bubble-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: left;
}

.rse-bubble-list > li {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  padding-left: 0.9rem;
  position: relative;
}

.rse-bubble-list > li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.rse-bubble-sublist {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.rse-bubble-sublist li {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  padding-left: 0.85rem;
  position: relative;
}

.rse-bubble-sublist li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.85rem;
  line-height: 1;
}
  border-bottom: 1px solid rgba(255,255,255,0.07);
  line-height: 1.4;
}

.rse-slide-card li:last-child {
  border-bottom: none;
}

/* ==============================
   SLIDE INNOVATION
   ============================== */
/* Innovation — liquid design */
.innov-bubbles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  width: 100%;
}

/* Les 2 dernières bulles (Driver + Connect) s'étalent sur 1,5 col chacune */
.innov-bubble--wide:nth-child(4) { grid-column: 1 / 2; }
.innov-bubble--wide:nth-child(5) { grid-column: 2 / 4; }

.innov-bubble {
  text-align: center;
  padding: 1.2rem 1rem;
}

.innov-bubble-text {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.55;
  margin: 0;
  text-align: left;
}

/* ==============================
   SLIDE GOUVERNANCE — liquid design
   ============================== */
.gouv-slide-content {
  padding: 1rem 2rem;
  gap: 0.8rem;
}

.gouv-bubbles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 980px;
}

.gouv-bubble {
  align-items: flex-start;
  text-align: left;
  padding: 1rem 1.2rem;
  gap: 0.4rem;
}

.gouv-bubble .rse-bubble-icon {
  width: 2rem;
  height: 2rem;
}

.gouv-bubble .rse-bubble-title {
  font-size: 0.78rem;
  margin: 0;
}

.gouv-bubble-intro {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.45;
  margin: 0;
  font-style: italic;
}

.gouv-bubble .rse-bubble-list {
  gap: 0.25rem;
  margin: 0;
}

.gouv-bubble .rse-bubble-list > li {
  font-size: 0.72rem;
  line-height: 1.4;
}

.gouv-bubble .rse-bubble-list > li strong {
  color: var(--color-accent);
  font-weight: 700;
}

/* ==============================
   SLIDE CONTACT
   ============================== */
.contact-slide {
  text-align: center;
}

.contact-slide address {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 2;
  color: #555;
  margin-top: 1rem;
}

.contact-slide .contact-label {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 1.5rem;
}

/* ==============================
   SLIDES PAGES INTERNES
   ============================== */

/* Hero page interne */
.page-hero-slide .slide-content {
  text-align: center;
}

.page-hero-slide .slide-eyebrow {
  font-size: 0.8rem;
}

/* Stats page interne */
.page-stats-slide .stats-slide-grid {
  max-width: 900px;
  margin: 0 auto;
}

/* Contenu page interne (split) */
.page-content-slide .slide-split {
  max-width: 960px;
  margin: 0 auto;
}

/* ==============================
   SLIDES FORMATION
   ============================== */
.pole-slide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.pole-slide-logo {
  display: block;
  max-height: 5rem;
  width: auto;
  margin-bottom: 1.5rem;
}

.pole-slide-name {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pole-slide-lead {
  font-size: 0.92rem;
  opacity: 0.8;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.pole-slide-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.pole-stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.pole-stat-label {
  font-size: 0.75rem;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pole-slide-offer ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pole-slide-offer li {
  font-size: 0.85rem;
  opacity: 0.8;
  padding-left: 1rem;
  position: relative;
  line-height: 1.4;
}

.pole-slide-offer li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.pole-slide-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.65rem 1.5rem;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-family: var(--font-main);
  font-size: 0.88rem;
  text-decoration: none;
  border-radius: 4px;
  transition: var(--transition);
}

.pole-slide-btn:hover {
  background: #fff;
}

/* ==============================
   SLIDE TRANSALLIANCE — 5 bulles
   ============================== */
#slide-transalliance .slide-image-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 28, 0.65);
}

.ta-slide-content {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--sidebar-width);
  right: 0;
  width: auto;
  max-width: none;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.ta-slide-title {
  color: #fff;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.ta-bubbles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  /* Rangée 1 : auto → dimensionnée par le ratio 16/9 de la vidéo
     Rangée 2 : 1fr  → prend l'espace restant */
  grid-template-rows: auto 1fr;
  gap: 1rem;
  flex: 1;
  min-height: 0;
}

/* Placement des bulles — Marques / Chiffres / Finances / Présence inchangées */
.ta-bubble-marques   { grid-column: 1 / 3; grid-row: 1; }
.ta-bubble-activite  { grid-column: 3 / 5; grid-row: 1; } /* réduite : 3/7 → 3/5 */
.ta-bubble-chiffres  { grid-column: 1 / 3; grid-row: 2; }
.ta-bubble-finances  { grid-column: 3 / 5; grid-row: 2; }
.ta-bubble-presence  { grid-column: 5 / 7; grid-row: 2; }

/* Quand la bulle contient une vraie vidéo : supprime le padding, clip les coins */
.ta-bubble-video:has(video) {
  padding: 0;
  overflow: hidden;
  cursor: default;
  background: #000;
  position: relative; /* nécessaire pour positionner le bouton expand */
}
.ta-bubble-video:has(video):hover {
  background: #000;
  border-color: rgba(255,255,255,0.18);
}
.ta-bubble-video video {
  width: 100%;
  flex: 1;       /* s'étire dans le flex-direction:column du parent */
  min-height: 0; /* indispensable pour que flex:1 fonctionne */
  object-fit: cover;
  display: block;
}

/* ── Bouton agrandir / réduire la vidéo ── */
.video-expand-btn {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  background: rgba(0,0,0,0.55);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s, background 0.15s, transform 0.15s;
  z-index: 10;
}
.video-expand-btn svg {
  width: 1rem;
  height: 1rem;
  opacity: 1;
  flex-shrink: 0;
}
.ta-bubble-video:hover .video-expand-btn,
.ta-bubble-video.video-fullscreen .video-expand-btn {
  opacity: 1;
}
.video-expand-btn:hover {
  background: rgba(0,0,0,0.85);
  transform: scale(1.1);
}
.video-expand-btn:active {
  transform: scale(0.95);
}

/* ── État plein écran de la bulle vidéo ── */
.ta-bubble-video.video-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  width: 100vw !important;
  height: 100dvh !important;
  aspect-ratio: unset !important;
  border-radius: 0 !important;
  grid-column: unset !important;
  grid-row: unset !important;
  border: none !important;
}

/* ── Sidebar en mode vidéo plein écran ── */
/* Passe au-dessus de la vidéo, ne garde que le logo */
body.video-fullscreen-active .sidebar {
  z-index: 10000;
  background: transparent;
  pointer-events: none;
}
body.video-fullscreen-active .sidebar-logo {
  pointer-events: auto;
}
body.video-fullscreen-active .sidebar-nav,
body.video-fullscreen-active .sidebar-footer {
  display: none;
}
/* Lisibilité du logo sur fond vidéo */
body.video-fullscreen-active .sidebar-logo-text {
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
body.video-fullscreen-active .sidebar-logo img {
  filter: drop-shadow(0 1px 6px rgba(0,0,0,0.7));
}

/* Vidéo — au-dessus de Présence, 16:9 garanti par aspect-ratio sur cellule auto */
.ta-bubble-video {
  grid-column: 5 / 7;
  grid-row: 1;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.ta-bubble-video:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.9);
}
.ta-bubble-video svg {
  width: 1.8rem;
  height: 1.8rem;
  opacity: 0.5;
  flex-shrink: 0;
}

/* ─── Formation : layout spécifique (3 marques, contenu dense) ─── */
/* Row 1 (1fr) : Marques (1-3) | Activité full (3-7)               */
/* Row 2 (auto, hauteur imposée par vidéo 16:9) :                  */
/*   Chiffres (1-3) | Finances (3-5) | Vidéo (5-7)                 */
#slide-formation .ta-bubbles-grid {
  grid-template-rows: 1fr auto;
}
#slide-formation .ta-bubble-activite {
  grid-column: 3 / 7; /* restaure la pleine largeur */
}
#slide-formation .ta-bubble-presence {
  display: none; /* remplacée par la vidéo */
}
#slide-formation .ta-bubble-video {
  grid-column: 5 / 7;
  grid-row: 2;
}

/* Style commun des bulles */
.ta-bubble {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  color: #fff;
  cursor: default;
}

.ta-bubble-title {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  font-weight: 700;
}

/* Marques */
.ta-brand-logo {
  max-width: 100%;
  max-height: 3.5rem;
  object-fit: contain;
  margin-top: 0.2rem;
}

.ta-brand-year {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

.ta-link-btn {
  display: inline-block;
  margin-top: auto;
  padding: 0.4rem 1rem;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 100px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, color 0.3s;
  align-self: flex-start;
}

.ta-link-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  transform: translateY(105%);
  transition: transform 0.42s cubic-bezier(0.23, 1, 0.32, 1);
}

.ta-link-btn:hover::before { transform: translateY(0); }
.ta-link-btn:hover { border-color: var(--color-accent); }
.ta-link-btn span { position: relative; z-index: 1; color: #fff; transition: color 0.3s; }
.ta-link-btn:hover span { color: #1a6fad; }

/* Activité */
.ta-bubble-text {
  font-size: 0.8rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
}

/* Chiffres & Finances — stats */
.ta-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.2rem;
}

.ta-stats-col {
  flex-direction: column;
  gap: 0.5rem;
}

.ta-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.ta-stat-value {
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

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

/* Présence */
.ta-presence-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.2rem;
}

.ta-presence-list li {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.82);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Dual-brand layout (Distribution) */
.ta-dual-brand {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  justify-content: center;
}

.ta-dual-brand-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ta-dual-brand-divider,
.ta-dual-content-divider {
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 0.2rem 0;
}

.ta-dual-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  overflow: auto;
}

.ta-dual-content-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ta-dual-content-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.15rem;
}

.ta-dual-stats {
  display: flex;
  gap: 0.75rem;
  flex: 1;
}

.ta-dual-stats-col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

/* Triple-brand layout (Formation) */
.ta-triple-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  justify-content: space-evenly;
}

.ta-triple-brand-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2.5rem;
  padding: 0.3rem 0;
}

.ta-triple-brand-item .ta-brand-logo--sm {
  flex-shrink: 0;
}

.ta-triple-brand-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ta-brand-logo--sm {
  max-height: 3rem;
  max-width: 7rem;
  object-fit: contain;
}

.ta-link-btn--xs {
  font-size: 0.62rem;
  padding: 0.25rem 0.65rem;
  margin-top: 0.1rem;
  align-self: center;
}

.ta-triple-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
  overflow: auto;
}

.ta-triple-content-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ta-brand-tag {
  font-size: 0.6rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  text-transform: none;
  letter-spacing: 0;
  margin-left: 0.3rem;
}

.ta-triple-stats {
  display: flex;
  gap: 0.5rem;
  flex: 1;
}

.ta-triple-stats-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.ta-stat-value--sm {
  font-size: clamp(0.85rem, 1.2vw, 1.1rem) !important;
}

.ta-key-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ta-key-list li {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.75);
  padding-left: 0.6rem;
  position: relative;
}

.ta-key-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* ==============================
   FILIALES (Distribution)
   ============================== */
.filiales-slide {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.filiale-slide-card {
  border-top: 3px solid var(--color-accent);
  padding-top: 1.5rem;
}

.filiale-slide-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.filiale-slide-badge {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.filiale-slide-desc {
  font-size: 0.85rem;
  opacity: 0.75;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.filiale-slide-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.filiale-slide-stat strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.filiale-slide-stat span {
  font-size: 0.75rem;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.filiale-slide-link {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

.filiale-slide-link:hover {
  color: var(--color-accent);
}

/* ==============================
   BOUTONS
   ============================== */
.btn-accent {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-family: var(--font-main);
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 4px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  letter-spacing: 0.05em;
}

.btn-accent:hover {
  background: #fff;
}

.btn-ghost-white {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-family: var(--font-main);
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: var(--transition);
}

.btn-ghost-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

/* ==============================
   SECTION TITLE (slide header)
   ============================== */
.slide-section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  display: block;
  font-weight: 700;
}

.slide-h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.slide-intro {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ==============================
   RESPONSIVE MOBILE
   ============================== */
@media (max-width: 768px) {
  .sidebar {
    left: -100%;
    transition: left 0.3s ease;
    background: rgba(8,42,66,0.92);
    backdrop-filter: blur(12px);
  }
  .sidebar.open { left: 0; }
  .sidebar-toggle { display: block; }
  .slide-viewport { /* déjà inset:0 */ }
  .slide { padding: 4rem 1.5rem 2rem; }

  /* Accueil */
  #slide-accueil { padding: 0; }
  .accueil-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 5rem 1.5rem 2rem;
    align-items: start;
    gap: 2rem;
  }
  .accueil-left .slide-title { font-size: clamp(3rem, 12vw, 5rem); }
  .accueil-right {
    border-left: none;
    border-top: 3px solid var(--color-accent);
    padding-left: 0;
    padding-top: 1.5rem;
  }
  .accueil-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

  /* Histoire & Valeurs */
  #slide-histoire { padding: 4rem 1.5rem 2rem; overflow-y: auto; }
  .timeline-h-track {
    height: auto;
    padding: 0 0 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .timeline-h-track::before {
    top: 0; bottom: 0; left: 0.4rem; right: auto;
    width: 2px; height: 100%;
    background: linear-gradient(to bottom, var(--color-accent), rgba(13,63,94,0.15));
  }
  .timeline-h-item {
    position: relative;
    transform: none;
    left: auto !important;
    top: auto;
    height: auto;
    width: auto;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    text-align: left;
  }
  .thi-dot {
    position: absolute;
    left: -2.1rem;
    top: 0.55rem;
    width: 10px;
    height: 10px;
  }
  .thi-stem { display: none; }
  .thi-year {
    position: static;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 0.1rem;
  }
  .thi-text {
    position: static;
    font-size: 0.78rem;
    color: #555;
    height: auto;
    width: auto;
    display: block;
    padding: 0;
  }
  /* Réordonner pour mobile : year + text sur la même ligne */
  .thi-above .thi-text,
  .thi-below .thi-text { align-items: center; }

  .valeurs-row { grid-template-columns: 1fr; }

  /* Activités */
  .activities-slide-grid {
    height: auto;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .activity-slide-card { padding: 2rem 1rem; font-size: 1.1rem; min-height: 120px; }

  /* RSE / Innovation */
  .rse-slide-grid,
  .innovation-slide-grid {
    grid-template-columns: 1fr;
    overflow-y: auto;
    max-height: 80vh;
  }

  /* Gouvernance */
  .gouvernance-slide .slide-split { grid-template-columns: 1fr; }
  .slide-split { grid-template-columns: 1fr; gap: 2rem; }
  .slide-split-left {
    border-right: none;
    border-bottom: 3px solid var(--color-accent);
    padding-right: 0;
    padding-bottom: 1.5rem;
  }

  /* Pages internes */
  .pole-slide-grid,
  .filiales-slide {
    grid-template-columns: 1fr;
    gap: 2rem;
    overflow-y: auto;
    max-height: 80vh;
  }

  /* ── Bulles liquid (ta-slide-content / rse-slide-content) ── */
  .ta-slide-content,
  .rse-slide-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 4rem 1rem 1rem;
    overflow-y: auto;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.8rem;
  }

  .ta-slide-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

  /* Grilles → colonne unique */
  .ta-bubbles-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  /* Annuler les placements grid spécifiques des bulles */
  .ta-bubble-marques,
  .ta-bubble-activite,
  .ta-bubble-chiffres,
  .ta-bubble-finances,
  .ta-bubble-presence,
  .ta-bubble-video {
    grid-column: auto;
    grid-row: auto;
  }
  .ta-bubble-video { aspect-ratio: 16 / 9; }

  .rse-bubbles,
  .innov-bubbles-grid,
  .gouv-bubbles-grid {
    grid-template-columns: 1fr;
  }

  /* Innovation : annuler le positionnement spécifique des 2 dernières bulles */
  .innov-bubble--wide:nth-child(4),
  .innov-bubble--wide:nth-child(5) {
    grid-column: auto;
  }

  /* Brands triple/dual → colonne */
  .ta-triple-brand,
  .ta-dual-brand {
    flex-direction: column;
    gap: 0.75rem;
  }

  .ta-triple-brand-item {
    gap: 1rem;
  }

  .ta-dual-brand-divider,
  .ta-dual-content-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }

  .ta-triple-content,
  .ta-dual-content {
    flex-direction: column;
    gap: 0.75rem;
  }

  .ta-triple-stats,
  .ta-dual-stats {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* Réduire paddings des bulles */
  .rse-bubble,
  .gouv-bubble {
    padding: 1rem;
  }
}

/* Scrollbar discrète dans sidebar */
.sidebar::-webkit-scrollbar { width: 3px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }
