/* ==========================================================================
   LE GRAND GÉNIE DE LA CRÉATION - DESIGN SYSTEM
   Palette : Bleu nuit profond tirant vers le sarcelle, Or lumineux, Bleu électrique
   Typographies : Outfit (titres gras) & Inter (texte courant sobre)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  /* Nuances Cosmiques de Fond */
  --bg-deep: #040911;          /* Fond spatial ultra profond */
  --bg-midnight: #071524;      /* Bleu nuit sarcelle sombre */
  --bg-card: #0b1f33;          /* Surface des cartes */
  --bg-card-hover: #102a45;    /* Survol cartes */
  --bg-glass: rgba(11, 31, 51, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(245, 197, 66, 0.35);

  /* Or Lumineux (Accent Principal) */
  --gold-primary: #f5c542;
  --gold-light: #ffdc73;
  --gold-dark: #b8861d;
  --gold-glow: rgba(245, 197, 66, 0.25);
  --gold-gradient: linear-gradient(135deg, #f5c542 0%, #e5a93c 50%, #ffd978 100%);

  /* Bleu Électrique (Accent Secondaire) */
  --cyan-electric: #00e5ff;
  --cyan-subtle: rgba(0, 229, 255, 0.15);
  --cyan-glow: rgba(0, 229, 255, 0.25);

  /* Textes & Contrastes */
  --text-main: #f8fafc;        /* Blanc immaculé */
  --text-muted: #94a3b8;       /* Gris ardoise clair */
  --text-dim: #64748b;         /* Gris atténué */

  /* Typographie */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Espacements & Rayons */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --container-max: 1200px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Smoothness */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.7;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background: 
    radial-gradient(circle at 15% 10%, rgba(0, 229, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(245, 197, 66, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(7, 30, 50, 0.8) 0%, transparent 60%),
    var(--bg-deep);
}

/* Subtle Cosmic Grid / Star Backdrop Effect */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(1px 1px at 20px 30px, #ffffff18, transparent),
    radial-gradient(1px 1px at 70px 120px, #f5c54222, transparent),
    radial-gradient(1.5px 1.5px at 150px 80px, #00e5ff20, transparent),
    radial-gradient(1px 1px at 280px 240px, #ffffff15, transparent);
  background-size: 300px 300px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

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

/* ==========================================================================
   NAVIGATION GLOBALE (5 ÉLÉMENTS MAXIMUM)
   1. Accueil | 2. Vidéos | 3. Thèmes | 4. À propos | 5. Infolettre
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(4, 9, 17, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(4, 9, 17, 0.95);
  border-bottom-color: rgba(245, 197, 66, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #0b2238 0%, #153e66 100%);
  border: 1px solid var(--border-glow);
  display: grid;
  place-items: center;
  color: var(--gold-primary);
  box-shadow: 0 0 15px var(--gold-glow);
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-icon {
  transform: rotate(5deg) scale(1.05);
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  background: linear-gradient(180deg, #ffffff 30%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
}

/* Nav Menu (Max 5 items) */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding-block: 0.4rem;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link.active {
  color: var(--gold-primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px var(--gold-primary);
}

/* Bouton Infolettre dans la barre de navigation */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--gold-gradient);
  color: #07121e;
  box-shadow: 0 4px 15px var(--gold-glow);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 197, 66, 0.4);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   BOUTONS & COMPOSANTS INTERACTIFS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  text-align: center;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #040911;
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(245, 197, 66, 0.45);
}

.btn-outline {
  background: rgba(11, 31, 51, 0.6);
  color: var(--text-main);
  border-color: var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(11, 31, 51, 0.9);
  transform: translateY(-2px);
}

.btn-cyan {
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan-electric);
  border-color: rgba(0, 229, 255, 0.3);
}

.btn-cyan:hover {
  background: rgba(0, 229, 255, 0.2);
  border-color: var(--cyan-electric);
  box-shadow: 0 0 15px var(--cyan-glow);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
}

.badge-gold {
  background: rgba(245, 197, 66, 0.12);
  color: var(--gold-primary);
  border: 1px solid rgba(245, 197, 66, 0.25);
}

.badge-cyan {
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyan-electric);
  border: 1px solid rgba(0, 229, 255, 0.25);
}

/* ==========================================================================
   SECTION HÉRO : BANNIÈRE PRINCIPALE D'ACCUEIL
   - Photo de Jean-Yves
   - Nom de la chaîne
   - Phrase clé exacte
   - Bouton « Regarder la dernière vidéo »
   ========================================================================== */

.hero-section {
  position: relative;
  padding-block: 5rem 6rem;
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, rgba(245, 197, 66, 0.04) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-channel-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-channel-tag::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-primary);
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

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

/* La phrase maîtresse obligatoire */
.hero-quote-box {
  background: rgba(11, 31, 51, 0.65);
  border-left: 3px solid var(--gold-primary);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.8rem;
  backdrop-filter: blur(12px);
  position: relative;
}

.hero-quote-text {
  font-size: 1.18rem;
  line-height: 1.6;
  color: #f1f5f9;
  font-style: italic;
  font-weight: 400;
}

.hero-quote-author {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-light);
  font-family: var(--font-heading);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

/* Cadre du Portrait de Jean-Yves */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

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

.portrait-glow {
  position: absolute;
  inset: -12px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(245, 197, 66, 0.3) 0%, rgba(0, 229, 255, 0.2) 100%);
  filter: blur(25px);
  opacity: 0.75;
  transition: opacity var(--transition-normal);
}

.portrait-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245, 197, 66, 0.4);
  background: var(--bg-card);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.portrait-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-card:hover .portrait-img {
  transform: scale(1.03);
}

.portrait-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(4, 9, 17, 0.95) 0%, rgba(4, 9, 17, 0.4) 70%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portrait-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.portrait-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION DERNIÈRE VIDÉO (UNE IDÉE PAR SECTION)
   ========================================================================== */

.section-padding {
  padding-block: 5rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Carte Lecteur Vidéo Vedette */
.featured-video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  transition: border-color var(--transition-normal);
}

.featured-video-card:hover {
  border-color: rgba(245, 197, 66, 0.4);
}

.video-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}

.video-player-container {
  position: relative;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-embed-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-details {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(11, 31, 51, 0.95) 0%, rgba(7, 21, 36, 0.95) 100%);
}

.video-meta-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.video-date {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.video-title-link {
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.video-title-link:hover {
  color: var(--gold-primary);
}

.video-summary {
  margin-top: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.video-cta-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.read-article-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold-primary);
}

.read-article-link:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* ==========================================================================
   SECTION THÈMES (4 GRANDES CARTES VISUELLES)
   1. Cosmologie | 2. ADN et vivant | 3. Physique | 4. Grands scientifiques
   ========================================================================== */

.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
}

.theme-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.theme-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.5), 0 0 25px var(--gold-glow);
}

.theme-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #06111d;
}

.theme-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-card:hover .theme-card-img {
  transform: scale(1.06);
}

.theme-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
}

.theme-card-content {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.theme-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.theme-card:hover .theme-card-title {
  color: var(--gold-primary);
}

.theme-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.theme-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-primary);
}

.theme-card-arrow {
  transition: transform var(--transition-fast);
}

.theme-card:hover .theme-card-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   SECTION INSCRIPTION INFOLETTRE (CONVERSION HAUT NIVEAU)
   - Invitation courte
   - Champ courriel
   - Bouton d'action
   ========================================================================== */

.newsletter-section {
  position: relative;
  padding-block: 5rem;
}

.newsletter-card {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(245, 197, 66, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(0, 229, 255, 0.06) 0%, transparent 40%),
              linear-gradient(135deg, #091a2b 0%, #06111d 100%);
  border: 1px solid rgba(245, 197, 66, 0.35);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 197, 66, 0.1);
  overflow: hidden;
}

.newsletter-inner {
  max-width: 680px;
  margin-inline: auto;
}

.newsletter-badge {
  margin-bottom: 1.25rem;
}

.newsletter-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}

.newsletter-text {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  max-width: 540px;
  margin-inline: auto;
}

.newsletter-input {
  flex: 1;
  background: rgba(4, 9, 17, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.4rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.newsletter-input::placeholder {
  color: var(--text-dim);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px var(--gold-glow);
}

.newsletter-privacy {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0f2c4a;
  border: 1px solid var(--gold-primary);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   PIED DE PAGE (FOOTER)
   - Liens YouTube, TikTok, Instagram
   ========================================================================== */

.site-footer {
  background: #02060b;
  border-top: 1px solid var(--border-subtle);
  padding-block: 4rem 2.5rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-desc {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 380px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--gold-primary);
}

.footer-social-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(11, 31, 51, 0.5);
  border: 1px solid var(--border-subtle);
  color: #e2e8f0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: rgba(11, 31, 51, 0.95);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateX(4px);
}

.social-icon {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   PAGE VIDÉO (MODÈLE RÉUTILISABLE COMPLET)
   - Titre H1
   - Lecteur YouTube 16:9
   - Version écrite complète avec H2/H3
   - Vidéos du même thème (3 suggestions)
   - Bloc inscription infolettre
   ========================================================================== */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--gold-primary);
}

.breadcrumbs span {
  color: var(--gold-primary);
}

.video-article-header {
  margin-bottom: 2.5rem;
}

.video-article-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin-block: 0.8rem 1.25rem;
}

.video-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.video-player-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245, 197, 66, 0.25);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  background: #000;
  margin-bottom: 3.5rem;
}

/* Version Écrite Complète (Article) */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  align-items: start;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #e2e8f0;
}

.article-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #ffffff;
  font-weight: 400;
  margin-bottom: 2rem;
  border-left: 3px solid var(--cyan-electric);
  padding-left: 1.5rem;
}

.article-content h2 {
  color: #ffffff;
  font-size: 1.75rem;
  margin-top: 3rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.article-content h3 {
  color: var(--gold-light);
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-content p {
  margin-bottom: 1.5rem;
  color: #cbd5e1;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.8rem;
  padding-left: 1.75rem;
  color: #cbd5e1;
}

.article-content li {
  margin-bottom: 0.75rem;
}

.article-content strong {
  color: #ffffff;
}

.article-quote {
  margin-block: 2.5rem;
  background: rgba(11, 31, 51, 0.6);
  border-left: 4px solid var(--gold-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.75rem 2rem;
  font-style: italic;
  font-size: 1.15rem;
  color: #f1f5f9;
}

.article-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-primary);
  font-family: var(--font-heading);
}

.article-callout {
  margin-block: 2.5rem;
  background: linear-gradient(135deg, rgba(7, 30, 50, 0.9) 0%, rgba(11, 40, 68, 0.9) 100%);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.article-callout h4 {
  font-size: 1.15rem;
  color: var(--cyan-electric);
  margin-bottom: 0.75rem;
}

.article-callout p {
  margin-bottom: 0;
  color: #e2e8f0;
}

/* Sidebar de l'article */
.article-sidebar {
  position: sticky;
  top: 105px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.takeaway-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.takeaway-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

/* Section Suggestions du même thème */
.related-videos-section {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border-subtle);
}

/* Grille de cartes vidéo standard */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 197, 66, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.video-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #02060c;
  overflow: hidden;
}

.video-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-card:hover .video-card-thumb {
  transform: scale(1.05);
}

.video-card-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
}

.video-card-duration {
  position: absolute;
  bottom: 0.8rem;
  right: 0.8rem;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.video-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.video-card:hover .video-card-title {
  color: var(--gold-primary);
}

.video-card-summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.video-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ==========================================================================
   PAGE À PROPOS (BIO JEAN-YVES & DÉMARCHE)
   ========================================================================== */

.about-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 3.5rem;
  margin-bottom: 5rem;
}

.about-hero .portrait-img {
  aspect-ratio: 4 / 5;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-block: 4rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  text-align: left;
  transition: transform var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(245, 197, 66, 0.1);
  border: 1px solid rgba(245, 197, 66, 0.25);
  display: grid;
  place-items: center;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PAGE THÈMES (HUB & FILTRES)
   ========================================================================== */

.themes-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: rgba(11, 31, 51, 0.6);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--gold-primary);
  color: var(--text-main);
}

.filter-btn.active {
  background: var(--gold-gradient);
  color: #040911;
  border-color: transparent;
  box-shadow: 0 4px 15px var(--gold-glow);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLETTE)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    align-items: center;
  }

  .hero-quote-box {
    border-left: 1px solid var(--border-subtle);
    border-top: 3px solid var(--gold-primary);
    border-radius: var(--radius-md);
    text-align: left;
  }

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

  .video-grid {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .about-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 767px) {
  .mobile-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(4, 9, 17, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

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

  .nav-links {
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    text-align: center;
  }

  .nav-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

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