/* ============================================
   thinkBBC — styles.css
   ============================================ */

:root {
  --navy-950: #0A1220;
  --navy-900: #0F1C30;
  --navy-800: #16283F;
  --navy-700: #1F3654;
  --navy-line: rgba(255, 255, 255, 0.08);

  --cream: #F3E9D8;
  --cream-soft: #FAF5EC;

  --fox-500: #E08A46;
  --fox-600: #CC7433;
  --fox-300: #F2B685;

  --word-bbc-blue: #4C8DFF;

  --ink: #17130E;
  --text-light: #F5F1E8;
  --text-muted-dark: #AEB8C9;
  --text-body: #3B3226;
  --text-muted-light: #6B6255;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 50px -20px rgba(10, 18, 32, 0.35);
  --shadow-card: 0 10px 30px -12px rgba(10, 18, 32, 0.18);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

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

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--fox-500);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark h5,
.hero h1, .hero h2 {
  color: var(--text-light);
}

p { margin: 0 0 1em; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 18, 32, 0.0);
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
  padding: 18px 0;
}
.site-header.is-scrolled {
  background: rgba(10, 18, 32, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.5);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo on top, wordmark below — keeps the header brand block narrow so it
   never collides with the nav, whatever the number of menu items. */
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
  flex-shrink: 0;
}
.brand-mark {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease;
}
.brand:hover .brand-mark { transform: scale(1.05); }

.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1;
}
.brand-word-think { color: var(--text-light); }
.brand-word-bbc { color: var(--word-bbc-blue); }
.brand-word--footer { font-size: 1.2rem; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
  opacity: 0.85;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}
.main-nav a:hover { opacity: 1; }
.main-nav a.is-active { opacity: 1; }

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 241, 232, 0.2);
  opacity: 0.9;
  transition: opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}
.nav-icon:hover { opacity: 1; border-color: var(--fox-500); background: rgba(255, 255, 255, 0.1); }

.nav-cta {
  background: var(--fox-500);
  color: #fff !important;
  opacity: 1 !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--fox-600); transform: translateY(-1px); }

.lang-switch {
  position: relative;
  margin-left: 4px;
}
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 241, 232, 0.2);
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lang-current:hover { border-color: var(--fox-500); background: rgba(255, 255, 255, 0.1); }
.lang-caret { transition: transform 0.2s ease; }
.lang-switch.is-open .lang-caret { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 60;
}
.lang-switch.is-open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted-dark);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-option:hover { background: rgba(224, 138, 70, 0.12); color: var(--text-light); }
.lang-option.is-active {
  color: var(--fox-300);
  font-weight: 700;
  background: rgba(224, 138, 70, 0.08);
}

.lang-switch--footer .lang-dropdown { top: auto; bottom: calc(100% + 8px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 15% 20%, #16283F 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  overflow: hidden;
  padding: 140px 0 100px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(224, 138, 70, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 138, 70, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 70% 40%, black, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 70% 40%, black, transparent 72%);
  animation: driftGrid 40s linear infinite;
}
@keyframes driftGrid {
  from { background-position: 0 0, 0 0; }
  to { background-position: 200px 200px, 200px 200px; }
}

/* Small pulsing "network" nodes — a nod to trust/connection, echoed in the
   fox-orange accent instead of a literal brand-mismatched palette swap. */
.hero-nodes { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fox-500);
  box-shadow: 0 0 0 0 rgba(224, 138, 70, 0.45);
  animation: nodePulse 3.2s ease-in-out infinite;
}
.hero-node:nth-child(1) { top: 20%; left: 66%; animation-delay: 0s; }
.hero-node:nth-child(2) { top: 36%; left: 82%; animation-delay: 0.6s; }
.hero-node:nth-child(3) { top: 58%; left: 70%; animation-delay: 1.2s; }
.hero-node:nth-child(4) { top: 14%; left: 88%; animation-delay: 1.8s; }
.hero-node:nth-child(5) { top: 68%; left: 88%; animation-delay: 2.4s; }
@keyframes nodePulse {
  0% { box-shadow: 0 0 0 0 rgba(224, 138, 70, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(224, 138, 70, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 138, 70, 0); }
}
@media (max-width: 760px) { .hero-nodes { display: none; } }

.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 90%;
  background: radial-gradient(circle, rgba(224, 138, 70, 0.22), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; max-width: 780px; }

.eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--fox-300);
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.3rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.accent { color: var(--fox-500); font-style: italic; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.hero-tags span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy-950);
  background: var(--cream);
  padding: 7px 14px;
  border-radius: 999px;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--text-muted-dark);
  max-width: 620px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--fox-500);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(224, 138, 70, 0.55);
}
.btn-primary:hover { background: var(--fox-600); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(245, 241, 232, 0.35);
}
.btn-ghost:hover { border-color: var(--text-light); transform: translateY(-2px); }

.btn-ghost--dark { color: var(--ink); border-color: rgba(23, 19, 14, 0.22); }
.btn-ghost--dark:hover { border-color: var(--ink); }

/* Compact hero variant — used on the Actualités home hub: brand intro
   without the full-viewport height, so real content sits right below. */
.hero--compact {
  min-height: auto;
  padding: 168px 0 64px;
}
.hero--compact .hero-lead { margin-bottom: 0; }

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(245, 241, 232, 0.4);
  border-radius: 14px;
  z-index: 2;
}
.scroll-cue span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--fox-500);
  border-radius: 2px;
  margin: 7px auto 0;
  animation: cueMove 1.8s ease infinite;
}
@keyframes cueMove {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  position: relative;
  padding: 168px 0 70px;
  background: radial-gradient(circle at 15% 20%, #16283F 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 55%;
  height: 100%;
  background: radial-gradient(circle, rgba(224, 138, 70, 0.18), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-bottom: 16px;
  color: var(--text-light);
}
.page-hero .section-lead { color: var(--text-muted-dark); margin: 0; }
.page-hero .kicker { color: var(--fox-300); }

/* ============================================
   QUICK LINKS (home)
   ============================================ */
.quicklink-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quicklink-card {
  display: block;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.quicklink-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.quicklink-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.quicklink-card p { color: var(--text-muted-light); font-size: 0.94rem; margin: 0 0 14px; }
.quicklink-arrow { font-weight: 700; color: var(--fox-600); font-size: 0.9rem; }

/* ============================================
   NEWS (actualites)
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.news-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fox-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.news-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted-light);
  background: var(--cream);
  padding: 4px 10px;
  border-radius: 999px;
}
.news-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.news-card p { color: var(--text-muted-light); font-size: 0.94rem; flex-grow: 1; }
.news-link { font-weight: 700; font-size: 0.88rem; color: var(--ink); border-bottom: 1.5px solid var(--fox-500); padding-bottom: 2px; align-self: flex-start; }

/* ============================================
   CHRONICLES (Nos publications — LinkedIn columns)
   ============================================ */
.chronicle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.chronicle-card {
  display: flex;
  flex-direction: column;
  /* Safari doesn't stretch a flex <a> to its CSS Grid cell height the way
     Chrome/Firefox do, so cards come out a different size per browser
     unless the height is forced explicitly. */
  height: 100%;
  box-sizing: border-box;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.chronicle-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.chronicle-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fox-600);
  background: var(--cream);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.chronicle-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.chronicle-card p { color: var(--text-muted-light); font-size: 0.94rem; flex-grow: 1; margin-bottom: 16px; }
.chronicle-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted-light);
  margin-bottom: 14px;
}
.chronicle-meta svg { width: 15px; height: 15px; flex-shrink: 0; }
.chronicle-note {
  font-weight: 500;
  font-style: italic;
  color: var(--text-muted-light);
  opacity: 0.8;
}
.chronicle-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  align-self: flex-start;
}
.chronicle-read svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.chronicle-card:hover .chronicle-read svg { transform: translateX(3px); }

/* ============================================
   CYBER INSIGHTS (Inès) promo block
   ============================================ */
.insights-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.insights-promo-text .kicker { margin-bottom: 14px; }
.insights-promo-text h2 { margin-bottom: 16px; }
.insights-promo-text .section-lead { margin-bottom: 28px; }
.insights-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 30px;
}
.insights-stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--fox-600);
  line-height: 1;
  margin-bottom: 6px;
}
.insights-stat-label { font-size: 0.86rem; color: var(--text-muted-light); max-width: 160px; display: block; }

.insights-vignette {
  display: block;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.insights-vignette:hover { transform: translateY(-4px); }
.insights-vignette-img { width: 100%; height: auto; display: block; }
.insights-visual {
  position: relative;
  padding: 22px 22px 18px;
  background: linear-gradient(150deg, var(--navy-900), var(--navy-950));
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
}
.insights-visual-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: auto;
}
.insights-visual-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--fox-500);
  padding: 5px 11px;
  border-radius: 999px;
}
.insights-visual-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted-dark);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--navy-line);
  padding: 5px 11px;
  border-radius: 999px;
}
.insights-visual-title {
  color: var(--text-light);
  font-size: 1.2rem;
  line-height: 1.25;
  margin: 14px 0;
}
.insights-visual-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--navy-line);
}
.insights-visual-bottom img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.insights-visual-bottom strong { display: block; font-size: 0.82rem; color: var(--text-light); }
.insights-visual-bottom span { display: block; font-size: 0.74rem; color: var(--text-muted-dark); }

.insights-vignette-body { padding: 26px 26px 28px; }
.insights-vignette-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fox-600);
  background: var(--cream);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.insights-vignette-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.insights-vignette-body p { color: var(--text-muted-light); font-size: 0.94rem; margin-bottom: 16px; }
.insights-vignette-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted-light);
  margin-bottom: 14px;
}
.insights-vignette-meta svg { width: 15px; height: 15px; flex-shrink: 0; }
.insights-vignette-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}
.insights-vignette-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.insights-vignette:hover .insights-vignette-link svg { transform: translateX(3px); }

@media (max-width: 900px) {
  .insights-promo { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================
   ABOUT — brand video
   ============================================ */
.about-video-section { padding: 128px 0 36px; }
.about-video-wrap {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  /* Locking the box to a fixed ratio (rather than letting height follow the
     video's own metadata) keeps the frame identical in every browser —
     Safari and Firefox resolve "height: auto" on <video> at different
     points before metadata loads, which was causing the size mismatch. */
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--navy-950);
}
.about-video { width: 100%; height: 100%; object-fit: cover; display: block; }

.video-sound-toggle {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 18, 32, 0.6);
  border: 1.5px solid rgba(245, 241, 232, 0.4);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.video-sound-toggle:hover { background: rgba(10, 18, 32, 0.85); border-color: var(--fox-500); transform: scale(1.05); }
.video-sound-toggle.is-on { background: var(--fox-500); border-color: var(--fox-500); }

/* .page-hero preceded immediately by the video: the video already clears
   the header, so this hero band only needs its own breathing room. */
.page-hero--after-video { padding-top: 40px; }

/* ============================================
   EVENTS
   ============================================ */
.event-subhead { font-size: 1.3rem; margin-bottom: 24px; }
.event-group { margin-bottom: 56px; }
.event-group:last-child { margin-bottom: 0; }
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.event-card {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  text-align: left;
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  cursor: pointer;
  padding: 26px 24px 24px;
  font-family: var(--font-body);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.event-card:hover, .event-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.event-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--fox-500);
  color: #fff;
  margin-bottom: 16px;
}
.event-badge.is-upcoming { background: var(--word-bbc-blue); }
.event-name { font-size: 1.15rem; color: var(--text-light); margin-bottom: 6px; }
.event-meta { font-size: 0.85rem; color: var(--fox-300); font-weight: 600; margin-bottom: 10px; }
.event-theme { font-size: 0.9rem; color: var(--text-muted-dark); margin: 0 0 18px; }
.event-theme strong { color: var(--text-light); }
.event-view {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fox-300);
}

.events-see-all { text-align: center; margin-top: 40px; }

/* Event modal */
.event-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 18, 32, 0.82);
  backdrop-filter: blur(6px);
}
.event-modal[hidden] { display: none; }
.event-modal-panel {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--navy-900);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.event-modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-light);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.event-modal-close:hover { background: rgba(255, 255, 255, 0.16); }
.event-modal-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.event-modal-photos img {
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.event-modal-photos.is-single { grid-template-columns: 1fr; }
.event-modal-photos.is-single img { aspect-ratio: 16/10; }
.event-modal h3 { color: var(--text-light); font-size: 1.4rem; margin-bottom: 6px; }
.event-modal .event-meta { margin-bottom: 18px; }
.event-modal p { color: var(--text-muted-dark); font-size: 0.96rem; }
.event-modal-note {
  margin-top: 18px;
  background: rgba(224, 138, 70, 0.08);
  border: 1px solid rgba(224, 138, 70, 0.25);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--fox-300);
}

/* Multiple confirmed sessions within one event (e.g. TechShow Paris) */
.ts-sessions { display: flex; flex-direction: column; gap: 22px; }
.ts-session {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.ts-session-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.ts-session-time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fox-300);
}
.ts-session-track {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted-dark);
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 10px;
  border-radius: 999px;
}
.ts-session h4 { color: var(--text-light); font-size: 1.08rem; margin-bottom: 10px; }
.ts-session-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-950);
  background: var(--fox-300);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.ts-session p { margin: 0 0 10px; }
.ts-session-people { font-size: 0.86rem !important; }
.ts-session-people strong { color: var(--text-light); }

/* ============================================
   INTERVIEWS
   ============================================ */
.mascot-wrap {
  display: flex;
  justify-content: center;
  padding: 20px 0 10px;
}
.mascot-illustration {
  width: 100%;
  max-width: 560px;
  height: auto;
}

.interview-intro {
  max-width: 760px;
  margin: 0 0 48px;
  font-size: 1.02rem;
  color: var(--text-muted-light);
}
.interview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.interview-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
}
.interview-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fox-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.interview-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.interview-guest { font-size: 0.88rem; font-weight: 700; color: var(--text-body); margin-bottom: 2px; }
.interview-role { font-size: 0.84rem; color: var(--text-muted-light); margin-bottom: 16px; }
.interview-card p.interview-excerpt { color: var(--text-muted-light); font-size: 0.94rem; font-style: italic; }
.interview-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fox-600);
  background: rgba(224, 138, 70, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
  margin-top: 6px;
}

/* ============================================
   WHITEPAPERS (livres blancs)
   ============================================ */
.wp-rows { display: flex; flex-direction: column; gap: 20px; }
.wp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }

.wp-kit {
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.wp-kit-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(76, 141, 255, 0.14);
  color: var(--word-bbc-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.wp-kit h3 { color: var(--text-light); font-size: 1.1rem; margin-bottom: 10px; }
.wp-kit p { color: var(--text-muted-dark); font-size: 0.9rem; flex-grow: 1; }
.wp-kit--available {
  position: relative;
  border-color: rgba(76, 141, 255, 0.4);
  background: linear-gradient(160deg, rgba(76, 141, 255, 0.14), var(--navy-800) 55%);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.wp-kit--available:hover { transform: translateY(-3px); border-color: var(--word-bbc-blue); }
.wp-kit-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy-950);
  background: var(--word-bbc-blue);
  padding: 4px 10px;
  border-radius: 999px;
}
.wp-kit-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--word-bbc-blue);
  margin-bottom: 14px;
}
.wp-kit-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
}
.wp-kit--empty {
  border-style: dashed;
  opacity: 0.55;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.wp-kit-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted-dark);
  margin-bottom: 8px;
  display: block;
}
.wp-kit-status { font-size: 0.85rem; color: var(--text-muted-dark); }

.wp-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.wp-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(224, 138, 70, 0.14);
  color: var(--fox-300);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.wp-card h3 { color: var(--text-light); font-size: 1.1rem; margin-bottom: 10px; }
.wp-card p { color: var(--text-muted-dark); font-size: 0.9rem; flex-grow: 1; }
.wp-status {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fox-300);
  border: 1px solid rgba(242, 182, 133, 0.4);
  padding: 5px 12px;
  border-radius: 999px;
  margin-top: 14px;
}

.wp-card--available {
  position: relative;
  background: linear-gradient(160deg, rgba(224, 138, 70, 0.14), var(--navy-800) 55%);
  border-color: rgba(224, 138, 70, 0.4);
}
.wp-badge-available {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy-950);
  background: var(--fox-500);
  padding: 4px 10px;
  border-radius: 999px;
}
.wp-meta {
  font-size: 0.8rem !important;
  color: var(--fox-300) !important;
  font-weight: 600;
  flex-grow: 0 !important;
  margin-bottom: 18px !important;
}
.wp-download {
  align-self: flex-start;
  display: inline-flex !important;
  font-size: 0.9rem;
  padding: 11px 20px;
  border: none;
  cursor: pointer;
}

/* ---- Gated white-paper download form ---- */
.wp-gate-panel { max-width: 520px; }
.wp-gate-panel h3 { color: var(--text-light); font-size: 1.3rem; margin-bottom: 10px; }
.wp-gate-doc { color: var(--text-muted-dark); font-size: 0.92rem; margin-bottom: 22px; }
.wp-gate-doc strong { color: var(--text-light); font-weight: 600; }
.wp-gate-doc span { color: var(--fox-300); font-weight: 600; }
.wp-gate-hp { position: absolute; left: -9999px; top: -9999px; }
.wp-gate-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wp-field { margin-bottom: 14px; }
.wp-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted-dark);
  margin-bottom: 6px;
}
.wp-field input {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.wp-field input::placeholder { color: var(--text-muted-dark); }
.wp-field input:focus { outline: none; border-color: var(--fox-500); background: rgba(255, 255, 255, 0.08); }
.wp-gate-rgpd {
  font-size: 0.78rem;
  color: var(--text-muted-dark);
  line-height: 1.55;
  margin: 18px 0;
}
.wp-gate-rgpd a { color: var(--fox-300); text-decoration: underline; }
.wp-gate-error {
  background: rgba(224, 70, 70, 0.12);
  border: 1px solid rgba(224, 70, 70, 0.35);
  color: #ffb4b4;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
#wp-gate-form > button[type="submit"] { width: 100%; justify-content: center; border: none; cursor: pointer; }
.wp-gate-success h4 { color: var(--text-light); font-size: 1.2rem; margin-bottom: 10px; }
.wp-gate-success p { color: var(--text-muted-dark); margin-bottom: 18px; }
.wp-gate-success .btn { width: 100%; justify-content: center; }
@media (max-width: 480px) {
  .wp-gate-row { grid-template-columns: 1fr; }
}

/* ============================================
   CYBERMOIS CAMPAIGN CARD (home)
   ============================================ */
.cybermois-card {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, var(--hw-orange, #E08A46), var(--hw-purple, #6C3FA8));
  border-radius: var(--radius-lg);
  padding: 48px;
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.cybermois-visual { position: relative; height: 180px; }
.cybermois-bubble {
  position: absolute;
  width: 76px; height: 76px;
  top: 6px; left: 36px;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  backdrop-filter: blur(4px);
}
.cybermois-bubble--2 { top: 96px; left: 112px; width: 56px; height: 56px; font-size: 1.4rem; }
.cybermois-bubble--3 { top: -4px; left: 148px; width: 42px; height: 42px; font-size: 1.1rem; }
.cybermois-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.22);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.cybermois-content h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cybermois-content p { color: rgba(255, 255, 255, 0.92); }
.cybermois-meta { font-weight: 700; font-size: 0.9rem; margin-bottom: 22px !important; }
.cybermois-content .btn-primary { background: #fff; color: var(--hw-purple-dark, #4E2C7C); box-shadow: none; }
.cybermois-content .btn-primary:hover { background: rgba(255, 255, 255, 0.88); }

@media (max-width: 760px) {
  .cybermois-card { grid-template-columns: 1fr; padding: 36px 28px; text-align: center; }
  .cybermois-visual { height: 100px; margin: 0 auto; }
  .cybermois-content .btn-primary { margin: 0 auto; }
}

/* ---- Comic-strip gallery (Cybermois vignettes) ---- */
.cybermois-gallery { margin-top: 44px; }
.cybermois-gallery-title {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  margin-bottom: 22px;
}
.cybermois-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.comic-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: none;
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.comic-thumb:hover, .comic-thumb:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.comic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}
.comic-thumb:hover img { transform: scale(1.04); }
.comic-thumb-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: rgba(10, 18, 32, 0.6);
  backdrop-filter: blur(3px);
  padding: 5px 12px;
  border-radius: 999px;
}
.comic-modal-panel {
  max-width: 460px;
  padding: 16px;
}
.comic-modal-panel img {
  width: 100%;
  border-radius: var(--radius-sm);
  display: block;
}

@media (max-width: 760px) {
  .cybermois-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cybermois-gallery-grid { grid-template-columns: 1fr; }
}

/* ============================================
   COMING SOON HERO (Cyber Investigation)
   ============================================ */
.comingsoon-hero { text-align: center; overflow: hidden; }
.comingsoon-hero .page-hero-inner { max-width: 720px; margin: 0 auto; }
.comingsoon-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 30%, rgba(224, 138, 70, 0.3), transparent 45%),
    radial-gradient(circle at 82% 68%, rgba(108, 63, 168, 0.32), transparent 45%);
}
.comingsoon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, var(--hw-orange, #E08A46), var(--hw-purple, #6C3FA8));
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.comingsoon-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.comingsoon-month {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  color: var(--fox-300);
  font-size: 1.1rem;
  margin: 18px 0 26px !important;
}
.comingsoon-hero .btn-primary { margin: 0 auto; }

/* ============================================
   SECTIONS (shared)
   ============================================ */
.section { padding: 110px 0; }
.section-alt { background: var(--cream); }
.section-dark {
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: var(--text-light);
}

.section-head { max-width: 700px; margin-bottom: 60px; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fox-600);
  margin-bottom: 12px;
}
.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: currentColor;
}
.section-dark .kicker { color: var(--fox-300); }

.section-head h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.08;
}
.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted-light);
  margin: 0;
}
.section-dark .section-lead { color: var(--text-muted-dark); }

/* ============================================
   ADN
   ============================================ */
.adn-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}
.adn-text p { font-size: 1.05rem; color: var(--text-body); }
.adn-text p:last-child { margin-bottom: 0; }

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
}
.stat-card:first-child { grid-column: 1 / -1; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--fox-600);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted-light);
  font-weight: 500;
}

/* ============================================
   VALEUR AJOUTEE — big numbered row list
   ============================================ */
.arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.arrow-circle svg { width: 16px; height: 16px; }
a:hover .arrow-circle,
button:hover .arrow-circle,
.value-row:hover .arrow-circle {
  background: var(--fox-500);
  border-color: var(--fox-500);
  color: #fff;
  transform: translateX(3px);
}

.value-row-list { border-top: 1px solid rgba(23, 19, 14, 0.12); }
.value-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(23, 19, 14, 0.12);
  transition: padding-left 0.25s ease;
}
.value-row:hover { padding-left: 10px; }
.value-row-num {
  flex-shrink: 0;
  width: 64px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--fox-500);
}
.value-row-body { flex: 1; min-width: 0; }
.value-row-body h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-bottom: 8px; }
.value-row-body p { color: var(--text-muted-light); font-size: 0.98rem; margin: 0; max-width: 640px; }
.value-row .arrow-circle { color: var(--ink); }

@media (max-width: 760px) {
  .value-row { flex-wrap: wrap; gap: 14px; padding: 26px 0; }
  .value-row-num { width: auto; }
  .value-row .arrow-circle { display: none; }
}

/* ============================================
   TABS (4 piliers)
   ============================================ */
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
  color: var(--text-muted-dark);
  padding: 13px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tab-num { color: var(--fox-300); font-family: var(--font-display); }
.tab-btn:hover { border-color: var(--fox-500); color: var(--text-light); }
.tab-btn.is-active {
  background: var(--fox-500);
  border-color: var(--fox-500);
  color: #fff;
}
.tab-btn.is-active .tab-num { color: #fff; opacity: 0.85; }

.tab-panel { animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.panel-lead {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin-bottom: 36px;
  font-family: var(--font-display);
  font-weight: 500;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 10px;
}
.service-card {
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-md);
  padding: 24px;
}
.service-card h4 {
  font-size: 1.02rem;
  color: var(--fox-300);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted-dark);
  margin: 0;
}

.panel-note {
  margin-top: 30px;
  background: rgba(224, 138, 70, 0.08);
  border: 1px solid rgba(224, 138, 70, 0.25);
  border-radius: var(--radius-md);
  padding: 28px;
}
.panel-note h5 {
  color: var(--fox-300);
  font-size: 1rem;
  margin-bottom: 12px;
}
.panel-note p {
  color: var(--text-muted-dark);
  font-size: 0.94rem;
}

/* ============================================
   LEGAL PAGES (mentions légales, confidentialité, CGU)
   ============================================ */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 2.4em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.6em;
  color: var(--fox-600);
}
.legal-content p, .legal-content li {
  color: var(--text-muted-light);
  font-size: 0.98rem;
}
.legal-content ul, .legal-content ol { padding-left: 1.3em; margin: 0 0 1em; }
.legal-content li { margin-bottom: 0.5em; }
.legal-content a { color: var(--fox-600); text-decoration: underline; }
.legal-content strong { color: var(--text-body); }
.legal-content .legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted-light);
  margin-bottom: 2.5em;
}
.legal-content .legal-todo {
  background: rgba(224, 138, 70, 0.1);
  border: 1px solid rgba(224, 138, 70, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--fox-600);
}
.panel-note p:last-child { margin-bottom: 0; }

.subgroup { margin-top: 36px; }
.subgroup:first-of-type { margin-top: 0; }
.subgroup-title {
  font-size: 1rem;
  color: var(--text-light);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  opacity: 0.75;
}

/* ============================================
   REGLEMENTATIONS
   ============================================ */
.reg-group { margin-bottom: 46px; }
.reg-group:last-child { margin-bottom: 0; }
.reg-group-title {
  font-size: 1.02rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted-light);
  margin-bottom: 20px;
}
.reg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.reg-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
}
.reg-code {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--fox-600);
  margin-bottom: 10px;
}
.reg-card p {
  font-size: 0.88rem;
  color: var(--text-muted-light);
  margin: 0;
}

/* ============================================
   MODULES DE FORMATION
   ============================================ */
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.training-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.training-card:hover,
.training-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.training-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(7px) saturate(0.9);
  transform: scale(1.15);
}
.training-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.28), rgba(10, 18, 32, 0.78));
}
.training-lock {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.training-info {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.training-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  line-height: 1.15;
}
.training-badge {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-950);
  background: var(--fox-500);
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.training-card-custom {
  background: var(--navy-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  border: 1.5px dashed rgba(245, 241, 232, 0.32);
}
.training-card-custom .training-plus {
  font-size: 2rem;
  line-height: 1;
  color: var(--fox-300);
  margin-bottom: 10px;
}
.training-card-custom .training-code { color: var(--text-light); font-size: 1.1rem; }
.training-card-custom .training-sub {
  color: var(--text-muted-dark);
  font-size: 0.85rem;
  margin-top: 6px;
  max-width: 220px;
}

/* ============================================
   EQUIPE
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.team-head { text-align: center; }
.team-photo {
  display: block;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-card);
}
.team-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.team-role {
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fox-600);
  margin-bottom: 18px;
}
.team-card p { font-size: 0.95rem; color: var(--text-muted-light); }
.team-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  border-bottom: 1.5px solid var(--fox-500);
  padding-bottom: 2px;
}

/* ============================================
   CTA
   ============================================ */
.cta-section { position: relative; overflow: hidden; text-align: center; }
.hero-canvas--cta { mask-image: radial-gradient(circle at 50% 40%, black, transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 40%, black, transparent 70%); }
.cta-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy-950);
  color: var(--text-muted-dark);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--navy-line);
}
.footer-brand-row { display: flex; align-items: center; gap: 12px; }
.footer-brand p { font-size: 0.9rem; margin-top: 16px; max-width: 260px; }
.brand-mark--footer { height: 46px; width: 46px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; font-size: 0.92rem; }
.footer-nav a:hover { color: var(--text-light); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; font-size: 0.92rem; }
.footer-contact a:hover { color: var(--text-light); }
.footer-contact .lang-switch { margin-left: 0; margin-top: 6px; }
.footer-contact .lang-current {
  background: none;
  border-color: var(--navy-line);
  color: var(--text-muted-dark);
}
.footer-contact .lang-current:hover { color: var(--text-light); border-color: var(--fox-500); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(174, 184, 201, 0.7);
}
.footer-bottom p { margin: 0; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  width: 100%;
  order: 10;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--navy-line);
}
.footer-legal a { color: rgba(174, 184, 201, 0.7); }
.footer-legal a:hover { color: var(--text-light); }

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  background: var(--navy-950);
  border-top: 1px solid var(--navy-line);
  padding: 18px 0;
  box-shadow: 0 -10px 30px -15px rgba(0, 0, 0, 0.5);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner-inner p {
  color: var(--text-muted-dark);
  font-size: 0.86rem;
  margin: 0;
  max-width: 640px;
}
.cookie-banner-inner a { color: var(--fox-300); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner-actions .btn {
  padding: 10px 18px;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
}
@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .adn-grid { grid-template-columns: 1fr; gap: 40px; }
  .value-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .reg-grid { grid-template-columns: repeat(2, 1fr); }
  .training-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .quicklink-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .event-grid { grid-template-columns: 1fr; }
  .interview-grid { grid-template-columns: 1fr; }
  .wp-row { grid-template-columns: 1fr; }
  .chronicle-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1300px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--navy-950);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -20px 0 50px rgba(0,0,0,0.3);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { font-size: 1.05rem; }
  .main-nav .nav-icon { order: 10; }
  .nav-cta { margin-top: 10px; order: 11; }
  .main-nav .lang-switch { order: 12; margin-left: 0; }
}

@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .hero { padding: 120px 0 80px; min-height: auto; }
  .reg-grid { grid-template-columns: 1fr; }
  .training-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-tags span { font-size: 0.76rem; }
  .event-modal-photos { grid-template-columns: 1fr; }
  .event-modal-panel { padding: 24px 18px; }
}

/* ============================================
   HALLOWEEN SEASONAL THEME
   Remove body.theme-halloween (all pages) + this
   block + the .hw-banner markup to revert.
   ============================================ */
:root {
  --hw-orange: #FF7518;
  --hw-orange-dark: #D9600D;
  --hw-purple: #6C3FA8;
  --hw-purple-dark: #4E2C7C;
}
body.theme-halloween .site-header {
  position: sticky;
  background: rgba(10, 18, 32, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
}
.hw-banner {
  background: linear-gradient(90deg, var(--hw-orange), var(--hw-purple));
  padding: 9px 0;
}
.hw-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}
.hw-banner-inner p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
}
.hw-banner-inner a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
body.theme-halloween .kicker::before { content: "\1F383"; width: auto; height: auto; background: none; }
body.theme-halloween .accent { color: var(--hw-orange); }
body.theme-halloween .btn-primary {
  background: var(--hw-orange);
  box-shadow: 0 14px 30px -12px rgba(255, 117, 24, 0.55);
}
body.theme-halloween .btn-primary:hover { background: var(--hw-orange-dark); }
body.theme-halloween .nav-cta { background: var(--hw-orange); }
body.theme-halloween .nav-cta:hover { background: var(--hw-orange-dark); }
body.theme-halloween .tab-btn.is-active,
body.theme-halloween .lang-option.is-active,
body.theme-halloween .event-badge {
  background: var(--hw-purple);
  border-color: var(--hw-purple);
  color: #fff;
}
body.theme-halloween .event-badge.is-upcoming { background: var(--hw-orange); }
body.theme-halloween .scroll-cue span { background: var(--hw-orange); }
body.theme-halloween .stat-num,
body.theme-halloween .value-num,
body.theme-halloween .reg-code,
body.theme-halloween .training-badge { color: var(--hw-orange-dark); }
body.theme-halloween .value-num { border-color: var(--hw-orange); color: var(--hw-orange-dark); }
body.theme-halloween .training-badge { background: var(--hw-orange); color: #fff; }
body.theme-halloween .hero::before,
body.theme-halloween .page-hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 220px; height: 220px;
  z-index: 1;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23F2B685' stroke-width='1.5'%3E%3Cpath d='M200 0 L0 200'/%3E%3Cpath d='M200 40 L40 200'/%3E%3Cpath d='M200 80 L80 200'/%3E%3Cpath d='M200 120 L120 200'/%3E%3Cpath d='M200 160 L160 200'/%3E%3Cpath d='M120 0 Q150 60 200 90'/%3E%3Cpath d='M60 0 Q130 40 200 45'/%3E%3Cpath d='M0 120 Q60 150 90 200'/%3E%3Cpath d='M0 60 Q40 130 45 200'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

/* ============================================
   RTL SUPPORT (Arabic)
   ============================================ */
[dir="rtl"] .skip-link { left: auto; right: -999px; border-radius: 0 0 0 8px; }
[dir="rtl"] .skip-link:focus { right: 0; left: auto; }
[dir="rtl"] .lang-switch { margin-left: 0; margin-right: 4px; }
[dir="rtl"] .footer-contact .lang-switch { margin-right: 0; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }

@media (max-width: 1300px) {
  [dir="rtl"] .main-nav {
    right: auto;
    left: 0;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.3);
    transform: translateX(-100%);
  }
  [dir="rtl"] .main-nav.is-open { transform: translateX(0); }
}
