/* ==========================================================================
   WEBETECH - Monographie Technique & Studio R&D (2026)
   Direction Artistique : Précision Scientifique & Interface Sci-Fi Opérationnelle
   Conception : Julien Montes · Webetech SAS
   ========================================================================== */

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

:root {
  /* Nuancier Minéral & Carbone Mat */
  --bg-canvas: #07090C;
  --bg-surface: #0D1016;
  --bg-surface-elevated: #131720;
  --bg-surface-subtle: #181E2A;

  /* Bordures Précision Horlogère & Lignes de Coupe */
  --border-hairline: rgba(255, 255, 255, 0.09);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-strong: rgba(255, 255, 255, 0.26);
  --border-gold-subtle: rgba(245, 183, 24, 0.4);

  /* Signature Ambrée Webetech (Or d'Instrument, Sobre & Mat) */
  --gold-accent: #F5B718;
  --gold-brass: #C89417;
  --gold-tint: rgba(245, 183, 24, 0.08);

  /* Accents Techniques */
  --cyan-telemetry: #00F2FE;
  --emerald-live: #10B981;

  /* Typographie & Contraste */
  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-tertiary: #6B7280;
  --text-white: #FFFFFF;

  --font-display: 'Outfit', -apple-system, sans-serif;
  --font-text: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Rayons & Transitions Délibérés */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.section, .hero-section {
  scroll-margin-top: 76px;
}

body {
  font-family: var(--font-text);
  line-height: 1.65;
  background-color: var(--bg-canvas);
  overflow-x: hidden;
  position: relative;
}

/* Grille de Télémétrie & Constellation en Fond */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: auto; /* Permet les clics ondes de choc */
  opacity: 1;
}

.site-wrapper {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.site-wrapper > * {
  pointer-events: auto;
}

.container {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typographie & Titraille */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-white);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.font-mono {
  font-family: var(--font-mono);
}

.gold-accent {
  color: var(--gold-accent);
}

/* Barre de Navigation Supérieure */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 9, 12, 0.94);
  border-bottom: 1px solid var(--border-hairline);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-logo-img {
  height: 30px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.4)) drop-shadow(0 0 12px rgba(245, 183, 24, 0.3));
  transition: var(--transition);
}

.brand-link:hover .brand-logo-img {
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 18px rgba(245, 183, 24, 0.5));
  transform: translateY(-1px);
}

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

.nav-item a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
}

.nav-item a:hover {
  color: var(--gold-accent);
  background: rgba(245, 183, 24, 0.06);
  border-color: rgba(245, 183, 24, 0.3);
}

.nav-item a.active {
  color: #FFFFFF;
  background: rgba(245, 183, 24, 0.12);
  border-color: var(--gold-accent);
  box-shadow: 0 0 16px rgba(245, 183, 24, 0.3), inset 0 0 8px rgba(245, 183, 24, 0.08);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(245, 183, 24, 0.4);
}

.nav-item a.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 14%;
  width: 72%;
  height: 2px;
  background: var(--gold-accent);
  box-shadow: 0 0 8px var(--gold-accent);
  border-radius: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-cta-desktop.active {
  box-shadow: 0 0 22px rgba(245, 183, 24, 0.8), 0 0 8px #FFFFFF;
  outline: 2px solid var(--gold-accent);
  outline-offset: 2px;
  transform: translateY(-1px);
}

/* Bouton Burger Mobile */
.nav-burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 36px;
  height: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  padding: 6px 7px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 102;
}

.nav-burger-btn:hover {
  border-color: var(--gold-accent);
  background: var(--bg-surface-elevated);
}

.burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--gold-accent);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-burger-btn.active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger-btn.active .burger-line:nth-child(2) {
  opacity: 0;
}

.nav-burger-btn.active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Tiroir de Navigation Mobile */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: rgba(7, 9, 12, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-medium);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.85);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  padding: 1.8rem 1.6rem;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 1rem;
}

.mobile-drawer-close {
  background: transparent;
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  font-size: 1.4rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.mobile-drawer-close:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

.mobile-drawer-telemetry {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-accent);
  letter-spacing: 0.08em;
  margin-bottom: 1.4rem;
  padding: 0.3rem 0.6rem;
  background: rgba(245, 183, 24, 0.06);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-xs);
  display: inline-block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-xs);
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  border: 1px solid transparent;
  transition: var(--transition);
}

.mobile-nav-link .link-idx {
  color: var(--gold-accent);
  font-size: 0.72rem;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: var(--bg-surface-elevated);
  border-color: var(--border-medium);
  color: var(--gold-accent);
}

.mobile-nav-link.active {
  background: rgba(245, 183, 24, 0.12);
  border-color: var(--gold-accent);
  border-left: 3px solid var(--gold-accent);
  box-shadow: 0 0 16px rgba(245, 183, 24, 0.25);
  font-weight: 600;
  color: #FFFFFF;
  padding-left: 1.1rem;
}

.mobile-nav-link.active .link-idx {
  color: var(--gold-accent);
  text-shadow: 0 0 8px var(--gold-accent);
}

.mobile-drawer-cta {
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-hairline);
}

/* Boutons Techniques */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold-accent);
  color: #07090C;
  border-color: var(--gold-accent);
  font-weight: 600;
  box-shadow: 0 0 16px rgba(245, 183, 24, 0.25);
}

.btn-primary:hover {
  background: #FFCA45;
  border-color: #FFCA45;
  box-shadow: 0 0 24px rgba(245, 183, 24, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  transform: translateY(-1px);
}

/* Hero Section Editorial & Sci-Fi */
.hero-section {
  padding: 8.5rem 0 4.5rem;
  border-bottom: 1px solid var(--border-hairline);
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.hero-content {
  max-width: 100%;
}

/* Carte Visuelle de Marque Hero */
.hero-visual-card {
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(245, 183, 24, 0.08) 0%, rgba(13, 16, 22, 0.95) 80%);
  border: 1px solid var(--border-medium);
  border-top: 2px solid var(--gold-accent);
  border-radius: var(--radius-md);
  padding: 2.2rem 2.4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65), 0 0 35px rgba(245, 183, 24, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transition: var(--transition);
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.hero-visual-card:hover {
  border-color: var(--gold-accent);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.75), 0 0 40px rgba(245, 183, 24, 0.16);
  transform: translateY(-2px);
}

.hero-visual-hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

.hud-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--emerald-live);
  font-weight: 500;
}

.hero-identity-display {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.4rem;
  background: rgba(7, 9, 12, 0.7);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  margin-bottom: 1.8rem;
  position: relative;
  z-index: 1;
}

.hero-photo-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 82px;
  height: 82px;
}

.hero-architect-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xs);
  border: 1px solid var(--gold-accent);
  box-shadow: 0 0 16px rgba(245, 183, 24, 0.28);
  display: block;
  filter: contrast(110%);
  transition: var(--transition);
}

.hero-visual-card:hover .hero-architect-photo {
  border-color: #FFE082;
  box-shadow: 0 0 22px rgba(245, 183, 24, 0.5);
  transform: scale(1.02);
}

.hero-brand-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-grow: 1;
  min-width: 0;
}

.hero-display-logo {
  max-width: 100%;
  height: auto;
  max-height: 48px;
  display: block;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 16px rgba(245, 183, 24, 0.35));
  transition: var(--transition);
}

.hero-visual-card:hover .hero-display-logo {
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 24px rgba(245, 183, 24, 0.55));
  transform: scale(1.02);
}

.hero-brand-subtitle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-visual-hud-footer {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  border-top: 1px solid var(--border-hairline);
  padding-top: 1.2rem;
  position: relative;
  z-index: 1;
}

.hud-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hud-label {
  color: var(--text-tertiary);
  letter-spacing: 0.05em;
}

.hud-val {
  color: var(--text-primary);
  font-weight: 500;
}

.hud-val.text-cyan {
  color: var(--cyan-telemetry);
}

.hero-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-accent);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  background: rgba(245, 183, 24, 0.06);
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--border-gold-subtle);
}

.hero-title {
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 840px;
  margin-bottom: 2.2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Métriques - Format Tableau de Laboratoire */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--border-hairline);
  background: var(--bg-surface);
}

.metric-cell {
  padding: 1.4rem 1.2rem;
  border-right: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
}

.metric-cell:last-child {
  border-right: none;
}

.metric-number {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-accent);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.metric-desc {
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

/* Sections Structurelles */
.section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border-hairline);
}

.section-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  color: var(--text-white);
  margin-bottom: 0.8rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 760px;
  margin-bottom: 2.5rem;
}

/* Filtres Techniques */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-xs);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--bg-surface-subtle);
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

/* Grille des Projets R&D */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.8rem;
}

.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.22s ease, 
              box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  border-color: rgba(245, 183, 24, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(245, 183, 24, 0.08);
}

.project-card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  background: rgba(0, 0, 0, 0.25);
}

.project-card-thumb {
  position: relative;
  width: 100%;
  height: 220px;
  background-color: #050709;
  border-bottom: 1px solid var(--border-hairline);
  overflow: hidden;
}

.project-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card-thumb img {
  transform: scale(1.04);
}

/* Ligne de Balayage Sci-Fi Scanline sur Hover */
.project-card-thumb::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(245, 183, 24, 0.22), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .project-card-thumb::after {
  opacity: 1;
  animation: scanlineSweep 1.8s infinite linear;
}

@keyframes scanlineSweep {
  0% { top: -40%; }
  100% { top: 140%; }
}

.project-card-body {
  padding: 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.project-card-sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyan-telemetry);
  margin-bottom: 0.9rem;
}

.project-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.project-specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.2rem;
}

.spec-badge {
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hairline);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-tertiary);
}

.project-card-footer {
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.15);
}

.btn-spec-sheet {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold-accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.btn-spec-sheet:hover {
  color: var(--text-white);
  transform: translateX(3px);
}

/* Boutons & Badges Démo Vidéo */
.btn-card-video {
  background: rgba(245, 183, 24, 0.08);
  border: 1px solid var(--border-gold-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.btn-card-video:hover {
  background: var(--gold-accent);
  color: #050709;
  box-shadow: 0 0 12px rgba(245, 183, 24, 0.35);
}

.project-card-thumb-video-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(7, 9, 12, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold-subtle);
  color: var(--gold-accent);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 3;
  cursor: pointer;
  transition: var(--transition);
}

.project-card-thumb-video-badge:hover {
  background: var(--gold-accent);
  color: #050709;
  box-shadow: 0 0 10px rgba(245, 183, 24, 0.4);
}

.video-embed-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Ratio 16:9 */
  height: 0;
  background: #000;
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-xs);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 183, 24, 0.08);
}

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

.dataviz-live-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--cyan-telemetry);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-decoration: none;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.dataviz-live-link:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--cyan-telemetry);
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.25);
  transform: translateY(-1px);
}

.media-switcher-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.media-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.media-tab-btn:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

.media-tab-btn.active {
  background: rgba(245, 183, 24, 0.12);
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  font-weight: 600;
  box-shadow: 0 0 12px rgba(245, 183, 24, 0.25);
}

.media-tab-btn .badge-pill {
  font-size: 0.65rem;
  background: rgba(0, 242, 254, 0.15);
  color: var(--cyan-telemetry);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
}

/* ==========================================================================
   BANDEAU LEITMOTIV // PHILOSOPHIE SCI-FI & R&D
   ========================================================================== */
.leitmotiv-banner {
  margin: 0 0 3.2rem;
  padding: 2.4rem 2.8rem;
  border: 1px solid var(--border-gold-subtle);
  border-left: 3px solid var(--gold-accent);
  background: linear-gradient(135deg, rgba(16, 21, 30, 0.95) 0%, rgba(7, 9, 12, 0.98) 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(245, 183, 24, 0.15);
}

.leitmotiv-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(245, 183, 24, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.leitmotiv-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.leitmotiv-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.leitmotiv-radar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-accent);
  box-shadow: 0 0 8px var(--gold-accent);
  animation: radarPulse 2.2s infinite ease-in-out;
}

@keyframes radarPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.leitmotiv-coords {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
}

.leitmotiv-quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-white);
  margin: 0 0 1.4rem;
  max-width: 1040px;
}

.leitmotiv-highlight {
  color: var(--gold-accent);
  font-weight: 600;
}

.leitmotiv-signature {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  font-family: var(--font-mono);
  flex-wrap: wrap;
}

.leitmotiv-signature .author-name {
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.leitmotiv-signature .author-role {
  color: var(--cyan-telemetry);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* Archives Déploiements Web */
.archive-register {
  margin-top: 3.5rem;
  border: 1px solid var(--border-hairline);
  background: var(--bg-surface);
}

.archive-register-header {
  padding: 1.2rem 1.6rem;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.archive-register-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-white);
  letter-spacing: 0.05em;
}

.archive-register-subtitle {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.archive-column {
  padding: 1.8rem;
  border-right: 1px solid var(--border-hairline);
}

.archive-column:last-child {
  border-right: none;
}

.archive-cat-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-accent);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.archive-list {
  list-style: none;
}

.archive-item {
  margin-bottom: 1.1rem;
}

.archive-item:last-child {
  margin-bottom: 0;
}

.archive-item-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-white);
  display: block;
}

.archive-item-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-top: 0.2rem;
}

/* Bannière Pôle Web Sitoptim */
.archive-sitoptim-banner {
  margin-top: 1.5rem;
  padding: 1.6rem 1.8rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(9, 13, 20, 0.95) 50%, rgba(245, 183, 24, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(16, 185, 129, 0.04);
}

.archive-sitoptim-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.archive-sitoptim-content {
  flex: 1;
  min-width: 280px;
}

.archive-sitoptim-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.archive-sitoptim-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.archive-sitoptim-cta {
  flex-shrink: 0;
}

.archive-sitoptim-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #FFFFFF;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.archive-sitoptim-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, #34D399, #10B981);
  color: #07090C;
}

/* Modale Technique */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 7, 10, 0.92);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold-subtle);
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.2rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-btn:hover {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
}

/* Cadre Média Modal (Images, Diagrammes et Schémas sans rognage) */
.modal-media-frame {
  width: 100%;
  min-height: 280px;
  max-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #0B111A 0%, #05070B 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  padding: 10px;
  box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.5);
}

.modal-media-img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .modal-media-frame {
    min-height: 180px;
    max-height: 320px;
    padding: 6px;
  }
  .modal-media-img {
    max-height: 308px;
  }
}

/* Section Manifeste */
.manifesto-editorial {
  border: 1px solid var(--border-hairline);
  background: var(--bg-surface);
  padding: 3rem 2.5rem;
}

.manifesto-header-layout {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2.5rem;
  align-items: center;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
}

.manifesto-portrait {
  width: 120px;
  height: 120px;
  object-fit: cover;
  filter: grayscale(80%) contrast(115%);
  border: 1px solid var(--border-gold-subtle);
}

.manifesto-author-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold-accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.manifesto-quote-editorial {
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--text-white);
  line-height: 1.45;
}

.manifesto-text-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.manifesto-text-columns p {
  margin-bottom: 1.2rem;
}

.manifesto-text-columns p strong {
  color: var(--text-white);
}

/* Accréditations Académiques Américaines (Coursera) dans le Manifeste */
.manifesto-certs-strip {
  margin-top: 2.5rem;
  padding: 2.2rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

.manifesto-certs-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-accent);
}

.manifesto-certs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 1.2rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.manifesto-certs-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.manifesto-certs-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--gold-accent);
  font-weight: 600;
  text-transform: uppercase;
}

.manifesto-certs-title {
  font-size: 1.25rem;
  color: var(--text-white);
  font-weight: 600;
  margin: 0;
}

.manifesto-certs-sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.certs-group-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold-accent);
  margin-bottom: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.certs-group-label::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background: var(--border-hairline);
}

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

.manifesto-certs-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cert-badge-fr {
  color: var(--gold-accent);
  background: rgba(245, 183, 24, 0.1);
  border: 1px solid rgba(245, 183, 24, 0.25);
}

.cert-badge-static {
  cursor: default;
  pointer-events: none;
}

.manifesto-cert-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xs);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.manifesto-cert-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-accent);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45), 0 0 15px rgba(245, 183, 24, 0.12);
}

.cert-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.cert-badge-uni {
  color: var(--cyan-telemetry);
  font-weight: 600;
  background: rgba(0, 242, 254, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
}

.cert-year {
  color: var(--text-tertiary);
  font-weight: 600;
}

.cert-institution-name {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-accent);
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.cert-course-name {
  font-size: 1.05rem;
  color: var(--text-white);
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  line-height: 1.35;
}

.cert-prof-name {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0 0 1.2rem 0;
  flex-grow: 1;
}

.cert-verify-box {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cert-verify-id {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
}

.cert-links-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.cert-btn-verify {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(245, 183, 24, 0.1);
  color: var(--gold-accent);
  border: 1px solid rgba(245, 183, 24, 0.3);
  padding: 0.45rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: var(--radius-xs);
  transition: var(--transition);
  flex: 1;
  justify-content: center;
}

.cert-btn-verify:hover {
  background: var(--gold-accent);
  color: #07090C;
  border-color: var(--gold-accent);
  box-shadow: 0 0 10px rgba(245, 183, 24, 0.4);
}

.cert-btn-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-hairline);
  padding: 0.45rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.cert-btn-view:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 900px) {
  .manifesto-certs-grid-2,
  .manifesto-certs-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Expertises */
.expertises-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.matrix-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.matrix-card:hover {
  border-color: var(--border-gold-subtle);
  transform: translateY(-2px);
}

.matrix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.matrix-title {
  font-size: 1.2rem;
  color: var(--text-white);
  margin-bottom: 0.7rem;
}

.matrix-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Rassurance & Historique */
.credentials-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.credentials-column {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: 2.2rem;
}

.credentials-col-title {
  font-size: 1.3rem;
  color: var(--text-white);
  margin-bottom: 1.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-hairline);
}

.spec-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.spec-item-icon {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--gold-accent);
  padding-top: 0.1rem;
}

.spec-item-body h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.spec-item-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.log-timeline {
  display: flex;
  flex-direction: column;
}

.log-entry {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 1.6rem;
}

.log-entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.log-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold-accent);
}

.log-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.log-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Offres Commerciales */
.offers-table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.offer-sheet {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.offer-sheet:hover {
  border-color: var(--border-gold-subtle);
  transform: translateY(-2px);
}

.offer-sheet.featured {
  border-color: var(--border-gold-subtle);
  background: var(--bg-surface-elevated);
}

.offer-sheet-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-accent);
  margin-bottom: 0.8rem;
}

.offer-sheet-title {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.offer-sheet-price {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-accent);
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-hairline);
}

.offer-points {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.offer-points li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.6rem;
  display: flex;
  gap: 0.5rem;
}

.offer-points li::before {
  content: '—';
  color: var(--gold-accent);
}

/* Simulateur */
.simulator-terminal {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: 2.5rem;
}

.sim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.sim-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.sim-control {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--bg-canvas);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  outline: none;
}

.sim-control:focus {
  border-color: var(--gold-accent);
}

.sim-output-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-hairline);
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.sim-output-text h4 {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--gold-accent);
  margin-bottom: 0.2rem;
}

.sim-output-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: 2.2rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 0.9rem;
}

.contact-row-label {
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.contact-row-val a {
  color: var(--text-white);
  text-decoration: none;
}

.contact-row-val a:hover {
  color: var(--gold-accent);
}

.form-row {
  margin-bottom: 1.2rem;
}

.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-tertiary);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.input-text {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--bg-canvas);
  border: 1px solid var(--border-hairline);
  color: var(--text-white);
  font-family: var(--font-text);
  font-size: 0.9rem;
  outline: none;
}

.input-text:focus {
  border-color: var(--gold-accent);
}

textarea.input-text {
  min-height: 120px;
  resize: vertical;
}

/* Section Avis & Témoignages Google */
.reviews-summary-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-left: 3px solid var(--gold-accent);
  padding: 1.8rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
  border-radius: var(--radius-sm);
}

.reviews-score-block {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.reviews-big-score {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--gold-accent);
  line-height: 1;
}

.reviews-stars {
  color: var(--gold-accent);
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.3rem;
}

.reviews-meta-sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.reviews-actions-group {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}

.review-card:hover {
  border-color: rgba(245, 183, 24, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 16px rgba(245, 183, 24, 0.06);
}

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

.review-author-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.review-avatar-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 183, 24, 0.1);
  border: 1px solid var(--border-gold-subtle);
  color: var(--gold-accent);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-author-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
}

.review-author-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.review-body-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.2rem;
  font-style: italic;
}

.review-footer-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-hairline);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-tertiary);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-hairline);
  padding: 2.5rem 0;
  background: #050709;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Popin & Bannière de Consentement Cookies RGPD */
.cookie-banner-overlay {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 480px;
  width: calc(100vw - 3rem);
  background: rgba(11, 15, 20, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  border-left: 3px solid var(--gold-accent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 183, 24, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.8rem;
  z-index: 99999;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  font-family: var(--font-text);
  pointer-events: none;
}

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

.cookie-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.cookie-meta-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-accent);
  letter-spacing: 0.08em;
  background: rgba(245, 183, 24, 0.08);
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-banner-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cookie-banner-text {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.3rem;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.cookie-btn-accept {
  background: var(--gold-accent);
  color: #050709;
  border: 1px solid var(--gold-accent);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cookie-btn-accept:hover {
  background: #ffc938;
  box-shadow: 0 0 15px rgba(245, 183, 24, 0.4);
}

.cookie-btn-refuse {
  background: var(--bg-surface-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cookie-btn-refuse:hover {
  border-color: var(--text-primary);
  color: var(--text-white);
}

.cookie-link-details {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-tertiary);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  margin-left: auto;
  transition: var(--transition);
}

.cookie-link-details:hover {
  color: var(--gold-accent);
}

@media (max-width: 576px) {
  .cookie-banner-overlay {
    bottom: 0.75rem;
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    padding: 1.25rem 1.3rem;
  }
  .cookie-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-link-details {
    margin-left: 0;
    text-align: center;
    margin-top: 0.4rem;
  }
}

/* Responsive Navigation Breakpoint */
@media (max-width: 1040px) {
  .nav-menu {
    display: none;
  }
  .nav-cta-desktop {
    display: none;
  }
  .nav-burger-btn {
    display: flex;
  }
}

@media (max-width: 992px) {
  .metrics-strip, .archive-grid {
    grid-template-columns: 1fr;
  }
  .archive-column {
    border-right: none;
    border-bottom: 1px solid var(--border-hairline);
  }
  .archive-column:last-child {
    border-bottom: none;
  }
  .manifesto-header-layout {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .manifesto-text-columns, .credentials-layout, .contact-layout, .sim-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ÉCRAN DE CHARGEMENT / SPLASHSCREEN SCI-FI WEBETECH
   ========================================================================== */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  inset: 0;
  z-index: 999999;
  background: radial-gradient(circle at center, #0B0F17 0%, #07090C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.65s ease;
  user-select: none;
  cursor: pointer;
}

.splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  pointer-events: none;
}

/* Désactivation complète du splashscreen sur mobile (<= 768px) pour un chargement instantané sans blocage */
@media (max-width: 768px) {
  #splash-screen,
  .splash-screen {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

.splash-backdrop-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(245, 183, 24, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 183, 24, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center center;
  mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, #000 35%, transparent 100%);
}

.splash-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 90%;
  max-width: 440px;
}

.splash-logo-wrapper {
  position: relative;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-halo {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 183, 24, 0.32) 0%, rgba(0, 242, 254, 0.1) 45%, transparent 70%);
  filter: blur(24px);
  animation: splashHaloPulse 2.6s ease-in-out infinite alternate;
  pointer-events: none;
}

.splash-logo {
  position: relative;
  width: 220px;
  max-width: 75vw;
  height: auto;
  filter: drop-shadow(0 0 25px rgba(245, 183, 24, 0.45));
  animation: splashLogoFloat 3s ease-in-out infinite alternate;
}

.splash-telemetry {
  width: 100%;
}

.splash-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 14px;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(245, 183, 24, 0.35);
}

.splash-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}

.splash-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #F5B718, #FFE082, #00F2FE);
  box-shadow: 0 0 12px rgba(245, 183, 24, 0.85);
  border-radius: 2px;
  transition: width 0.08s ease-out;
}

.splash-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.splash-status-text {
  color: var(--text-secondary);
  font-weight: 500;
}

.splash-status-pct {
  color: var(--gold);
  font-weight: 700;
  min-width: 42px;
  text-align: right;
  text-shadow: 0 0 8px rgba(245, 183, 24, 0.4);
}

@keyframes splashHaloPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.45;
  }
  100% {
    transform: scale(1.3);
    opacity: 0.95;
  }
}

@keyframes splashLogoFloat {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-5px);
  }
}

/* ==========================================================================
   WIDGET DE RÉASSURANCE "JULIEN MONTES EN DIRECT" (WEBETECH SAS)
   ========================================================================== */
.julien-direct-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.julien-pill-trigger {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 30px;
  padding: 6px 16px 6px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  transition: var(--transition);
}

.julien-pill-trigger:hover {
  border-color: var(--gold-accent);
  box-shadow: 0 10px 30px rgba(245, 183, 24, 0.25);
  transform: translateY(-2px);
}

.julien-avatar-wrapper {
  position: relative;
  width: 36px;
  height: 36px;
}

.julien-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold-accent);
}

.julien-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emerald-live);
  border: 2px solid var(--bg-surface);
  animation: pulseDotWebetech 2s infinite;
}

@keyframes pulseDotWebetech {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.julien-pill-text {
  display: flex;
  flex-direction: column;
}

.julien-pill-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.julien-pill-sub {
  font-size: 0.7rem;
  color: var(--emerald-live);
  font-family: var(--font-mono);
}

.julien-contact-card {
  position: absolute;
  bottom: 56px;
  left: 0;
  width: 310px;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 25px rgba(245, 183, 24, 0.15);
  display: none;
  flex-direction: column;
  gap: 12px;
  animation: cardFadeUpWebetech 0.25s ease-out;
}

.julien-contact-card.open {
  display: flex;
}

@keyframes cardFadeUpWebetech {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.julien-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.julien-card-close {
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
  transition: var(--transition);
}

.julien-card-close:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
}

.julien-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.julien-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-julien-action {
  padding: 8px 12px;
  font-size: 0.82rem;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-julien-action.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  border: 1px solid #1EBE5D;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.35);
}

.btn-julien-action.btn-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-1px);
}

