/*
 * Eunoia Design System & Stylesheet (style.css)
 * Conforme à la charte graphique officielle d'Eunoia.
 * Design premium, épuré, asymétrique, non-agressif.
 */

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

:root {
  /* Palette officielle dominée par le Bleu & le Blanc */
  --eunoia-green: #1F6F8B;          /* Guardian Blue comme accent principal */
  --eunoia-green-hover: #164E63;    /* Hover Sovereign Blue */
  --soft-mist: #E6F0F6;             /* Fond bleu brume très doux (remplace le vert mint #DCEFE6) */
  --guardian-blue: #1F6F8B;
  --sovereign-blue: #164E63;
  --accent-blue: #2583A3;
  
  /* Dégradés bleus et blancs officiels */
  --gradient-green-blue: linear-gradient(135deg, #164E63 0%, #1F6F8B 100%);
  --gradient-blue-deep: linear-gradient(135deg, #1F6F8B 0%, #0F3240 100%);
  --gradient-full: linear-gradient(135deg, #164E63 0%, #1F6F8B 50%, #2583A3 100%);
  --gradient-text: linear-gradient(135deg, #164E63 0%, #1F6F8B 60%, #2583A3 100%);
  
  /* Arrière-plan épuré Blanc & Bleu */
  --white: #FFFFFF;
  --bg-gradient: linear-gradient(180deg, #EBF3F8 0%, #F5F9FC 30%, #FFFFFF 65%, #EDF4F9 100%);
  --dark-text: #0F2933;
  --muted-text: #4A6D7C;
  --border-color: rgba(31, 111, 139, 0.15);
  --error-red: #8D1F2D;
  --warning-orange: #704000;
  --success-green: #155B08;

  /* Typographie */
  --font-title: 'Manrope', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions calmes */
  --transition-speed: 0.3s;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-gradient);
  color: var(--dark-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- BARRE DE NAVIGATION FIXE HAUT DE PAGE --- */
.main-site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(235, 243, 248, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(31, 111, 139, 0.12);
  box-shadow: 0 4px 20px rgba(15, 41, 51, 0.03);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(31, 122, 101, 0.15));
}

.header-brand-name {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #1F7A65;
}

.header-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav-title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.02em;
}

.header-nav-links a {
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  color: #0F2933;
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.header-nav-links a:hover {
  color: #1F7A65;
}

.header-btn-accent {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: #FFFFFF;
  border: 1.5px solid rgba(31, 122, 101, 0.3);
  color: #1F7A65;
  border-radius: 20px;
  font-family: var(--font-title);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(31, 122, 101, 0.05);
}

.header-btn-accent:hover {
  background: #1F7A65;
  color: #FFFFFF;
  border-color: #1F7A65;
  box-shadow: 0 6px 18px rgba(31, 122, 101, 0.2);
}

@media (max-width: 992px) {
  .header-nav-links {
    display: none;
  }
}

/* --- Logo Marque Hero --- */
.hero-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 28px;
}

.hero-logo-wrapper .brand-logo {
  height: 76px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(31, 111, 139, 0.2));
}

.hero-logo-wrapper .brand-name {
  font-family: var(--font-title);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #1F7A65;
}

.main-navigation {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 32px;
  align-items: center;
  white-space: nowrap;
}

.main-navigation a {
  text-decoration: none;
  color: var(--sovereign-blue);
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  transition: color var(--transition-speed);
  position: relative;
  padding: 6px 0;
}

.main-navigation a:hover {
  color: var(--eunoia-green);
}

.main-navigation a.securite-link {
  color: var(--guardian-blue);
  padding: 6px 12px;
  background: rgba(31, 111, 139, 0.08);
  border-radius: 6px;
  border: 1px solid rgba(31, 111, 139, 0.15);
}

.main-navigation a.securite-link:hover {
  background: rgba(31, 111, 139, 0.15);
}

.user-nav {
  display: flex;
  align-items: center;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(31, 111, 99, 0.08);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(31, 111, 99, 0.15);
  color: var(--eunoia-green);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--eunoia-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--eunoia-green);
}

/* Boutons */
button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-speed) var(--ease);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-green-blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gradient-blue-deep);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(31, 111, 99, 0.08);
  color: var(--eunoia-green);
  border: 1px solid rgba(31, 111, 99, 0.2);
}

.btn-secondary:hover {
  background: rgba(31, 111, 99, 0.15);
}

.btn-danger {
  background: var(--error-red);
  color: var(--white);
}

.btn-danger:hover {
  background: #731823;
}

/* --- STRUCTURE DES SECTIONS --- */
#app-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(31, 111, 99, 0.08);
}

.section-header {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
  text-align: center;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  margin: 12px 0;
  background: linear-gradient(135deg, #164E63 0%, #1F6F8B 60%, #1F6F63 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--muted-text);
  font-size: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle-large {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--sovereign-blue);
  margin-top: 4px;
  margin-bottom: 12px;
}

/* --- SECTION HERO (VISION / FONDATEUR) --- */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 80px 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tagline {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--eunoia-green);
  background: rgba(31, 111, 99, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-section h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #164E63 0%, #1F6F8B 50%, #1F6F63 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-narrative {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-narrative p {
  font-size: 15.5px;
  color: var(--dark-text);
  line-height: 1.7;
  font-weight: 450;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.founder-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 320px;
  background: transparent;
  padding: 0;
  border-radius: 28px;
  border: none;
  box-shadow: none;
  position: relative;
  transition: transform var(--transition-speed) var(--ease);
}

.founder-card-wrapper:hover {
  box-shadow: none;
}

.founder-tag {
  font-family: var(--font-title);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sovereign-blue);
  text-align: center;
  padding-top: 2px;
}

.founder-photo-container {
  width: 100%;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
}

.founder-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

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

.btn-founder-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 50px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: linear-gradient(135deg, #1F6F63 0%, #1F6F8B 60%, #164E63 100%);
  border: none;
  box-shadow: 0 8px 22px rgba(31, 111, 139, 0.3);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.btn-founder-more svg {
  transition: transform 0.3s ease;
}

.btn-founder-more:hover {
  background: linear-gradient(135deg, #164E63 0%, #1F6F8B 50%, #1F6F63 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(31, 111, 99, 0.38);
}

.btn-founder-more:hover svg {
  transform: translateX(4px);
}

/* --- Maquette Smartphone Eunoia à droite dans le Hero --- */
.phone-mockup-frame {
  position: relative;
  width: 215px;
  height: 430px;
  background: #112623;
  border-radius: 36px;
  padding: 8px;
  border: 4px solid #1f3d37;
  box-shadow: 0 20px 45px rgba(22, 78, 99, 0.18), 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-speed) var(--ease), box-shadow 0.3s ease;
  flex-shrink: 0;
  order: 2;
}

.phone-mockup-frame:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 25px 55px rgba(31, 111, 99, 0.25);
}

/* Encoche / Notch */
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 65px;
  height: 14px;
  background: #112623;
  border-radius: 0 0 8px 8px;
  z-index: 20;
}

/* Écran du téléphone */
.phone-screen {
  width: 100%;
  height: 100%;
  background: #DCEFE6;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px 0;
  font-size: 10px;
  font-weight: 700;
  color: #1F6F63;
  z-index: 10;
}

.phone-status-icons {
  display: flex;
  gap: 4px;
  font-size: 9px;
}

/* Contenu de l'écran mobile (100% conforme à l'image envoyée) */
.phone-screen-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 28px 14px 18px;
  text-align: center;
}

.phone-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.phone-mascot-img {
  width: 70px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(31, 111, 99, 0.1));
}

.phone-brand-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 3.5px;
  color: #1F6F63;
}

.phone-hero-text h2 {
  font-family: var(--font-title);
  font-size: 16.5px;
  font-weight: 700;
  color: #1F6F63;
  line-height: 1.3;
  margin-bottom: 8px;
}

.phone-hero-text p {
  font-family: var(--font-body);
  font-size: 12px;
  font-style: italic;
  color: #1F6F63;
  font-weight: 400;
  opacity: 0.9;
}

.phone-action-bottom {
  width: 100%;
}

.phone-btn-commencer {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #1F6F63 0%, #1F6F8B 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-family: var(--font-title);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(31, 111, 99, 0.2);
  transition: background 0.2s ease, transform 0.1s ease;
}

.phone-btn-commencer:hover {
  background: #17544b;
  transform: scale(1.02);
}

.visual-accent-badge {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: var(--white);
  border-radius: 50%;
  padding: 12px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(31, 111, 99, 0.18);
  border: 1px solid var(--border-color);
}

.bird-accent {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* --- SECTION NAVIGATION HORIZONTALE (PILIERS) --- */
.horizontal-demo-box {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(22, 78, 99, 0.02);
}

.demo-controls {
  text-align: center;
  font-size: 12px;
  color: var(--muted-text);
  margin-bottom: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.horizontal-scroller-outer {
  position: relative;
  width: 100%;
}

.horizontal-scroller {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 10px 0 20px 0;
  -webkit-overflow-scrolling: touch;
}

/* Scrollbar minimale */
.horizontal-scroller::-webkit-scrollbar {
  height: 6px;
}

.horizontal-scroller::-webkit-scrollbar-track {
  background: rgba(31, 111, 99, 0.04);
  border-radius: 3px;
}

.horizontal-scroller::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(31, 111, 99, 0.3) 0%, rgba(31, 111, 139, 0.3) 100%);
  border-radius: 3px;
}

.horizontal-scroller::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #1F6F63, #1F6F8B);
}

/* Cartes 16:9 */
.post-card {
  flex: 0 0 350px;
  aspect-ratio: 16 / 9;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 24px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-speed) var(--ease);
  box-shadow: 0 2px 10px rgba(22, 78, 99, 0.01);
  background: linear-gradient(135deg, var(--white) 0%, rgba(220, 239, 230, 0.15) 100%);
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 111, 99, 0.08);
  border-color: rgba(31, 111, 99, 0.3);
}

.post-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted-text);
  font-weight: 600;
  text-transform: uppercase;
}

.post-content {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-text);
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin: 12px 0;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-author {
  font-size: 12px;
  font-weight: 700;
  color: var(--sovereign-blue);
}

.post-domain {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(31, 111, 99, 0.08);
  color: var(--eunoia-green);
  font-weight: 700;
  text-transform: uppercase;
}

/* --- SECTION IA GUARDIAN --- */
.section-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.guardian-info h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 12px 0;
}

.guardian-info h3 {
  font-size: 20px;
  color: var(--guardian-blue);
  font-weight: 700;
  margin-bottom: 20px;
}

.guardian-rules {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rule-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.rule-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.badge-ok { background: rgba(21, 91, 8, 0.08); color: var(--success-green); }
.badge-warn { background: rgba(112, 64, 0, 0.08); color: var(--warning-orange); }
.badge-err { background: rgba(141, 31, 45, 0.08); color: var(--error-red); }

/* Formulaire de création / Démo */
.bento-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(22, 78, 99, 0.03);
  position: relative;
}

.bento-card.guardian-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--guardian-blue);
  border-radius: 16px 0 0 16px;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-title-row h3 {
  font-size: 20px;
  font-weight: 800;
}

.card-tag {
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 4px;
}

.tag-green { background: rgba(31, 111, 99, 0.08); color: var(--eunoia-green); }
.tag-blue { background: rgba(31, 111, 139, 0.08); color: var(--guardian-blue); }
.tag-sovereign { background: rgba(22, 78, 99, 0.08); color: var(--sovereign-blue); }

.creator-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sovereign-blue);
}

.textarea-wrapper {
  position: relative;
}

.creator-textarea {
  width: 100%;
  min-height: 100px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: rgba(220, 239, 230, 0.15);
  padding: 16px;
  font-family: var(--font-body);
  font-size: 15px;
  resize: vertical;
  color: var(--dark-text);
  transition: all var(--transition-speed) var(--ease);
}

.creator-textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--guardian-blue);
  box-shadow: 0 0 0 3px rgba(31, 111, 139, 0.15);
}

.char-counter {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 11px;
  color: var(--muted-text);
}

.preset-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.preset-links span {
  font-size: 11px;
  color: var(--muted-text);
  width: 100%;
  margin-bottom: 2px;
  font-weight: bold;
}

.preset-btn {
  background: rgba(31, 111, 139, 0.06);
  color: var(--guardian-blue);
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(31, 111, 139, 0.15);
  cursor: pointer;
  transition: all 0.2s;
}

.preset-btn:hover {
  background: rgba(31, 111, 139, 0.12);
  border-color: var(--guardian-blue);
}

.form-input {
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: rgba(220, 239, 230, 0.2);
  color: var(--dark-text);
  font-family: var(--font-body);
  transition: all var(--transition-speed) var(--ease);
}

.form-input:focus {
  outline: none;
  border-color: var(--eunoia-green);
  background: var(--white);
}

.guardian-status-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(31, 111, 139, 0.05);
  border: 1px solid rgba(31, 111, 139, 0.15);
  margin-top: 20px;
}

.guardian-avatar {
  width: 36px;
  height: 36px;
  background: var(--guardian-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
}

.guardian-status-text h4 {
  font-size: 13px;
  color: var(--guardian-blue);
  font-weight: 700;
}

.guardian-status-text p {
  font-size: 11px;
  color: var(--muted-text);
}

/* --- SECTION ROADMAP --- */
.roadmap-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--white);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 40px rgba(22, 78, 99, 0.02);
}

.roadmap-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Styles de la section Fondateur retirés pour éviter la duplication. */

/* --- SECTION SÉCURITÉ & AUDIT --- */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.security-explanations {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tech-card {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(22, 78, 99, 0.01);
}

.tech-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--sovereign-blue);
  font-weight: 800;
}

.tech-card p {
  font-size: 13.5px;
  color: var(--muted-text);
  line-height: 1.5;
}

/* Console Audit */
.security-monitor-panel {
  background: #111A18;
  color: #83A59E;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #1F453F;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  font-family: 'Courier New', Courier, monospace;
}

.monitor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1F453F;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.monitor-header h3 {
  color: #A2C2BC;
  font-size: 14px;
  font-weight: bold;
  font-family: var(--font-title);
  display: flex;
  align-items: center;
  gap: 8px;
}

.monitor-pulse {
  width: 10px;
  height: 10px;
  background: #00FFCC;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.5; box-shadow: 0 0 0 0 rgba(0, 255, 204, 0.7); }
  70% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 8px rgba(0, 255, 204, 0); }
  100% { transform: scale(0.9); opacity: 0.5; box-shadow: 0 0 0 0 rgba(0, 255, 204, 0); }
}

.audit-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 11px;
  margin-bottom: 16px;
  background: rgba(31, 69, 63, 0.2);
  padding: 12px;
  border-radius: 6px;
}

.audit-meta-item {
  display: flex;
  flex-direction: column;
}

.audit-meta-label {
  font-size: 9px;
  color: #5A7E77;
  text-transform: uppercase;
}

.audit-meta-val {
  color: #00FFCC;
  font-weight: bold;
}

.audit-console-logs {
  background: #080D0C;
  border-radius: 8px;
  padding: 16px;
  height: 200px;
  overflow-y: auto;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid #142B28;
}

.log-entry {
  display: flex;
  flex-direction: column;
  border-left: 2px solid #5A7E77;
  padding-left: 8px;
}

.log-entry.log-INFO { border-color: #5A7E77; }
.log-entry.log-SUCCESS { border-color: #00FFCC; }
.log-entry.log-WARNING { border-color: #FFA500; }
.log-entry.log-CRITICAL { border-color: #FF3333; }

.log-time {
  font-size: 9px;
  color: #4C6E67;
}

.log-text-content {
  color: #DCEFE6;
  word-break: break-all;
}

.log-type {
  font-weight: bold;
}

.log-SUCCESS .log-type { color: #00FFCC; }
.log-WARNING .log-type { color: #FFA500; }
.log-CRITICAL .log-type { color: #FF3333; }

.simulator-title {
  font-size: 12px;
  font-weight: bold;
  color: #A2C2BC;
  margin: 16px 0 8px;
  text-transform: uppercase;
  font-family: var(--font-title);
}

.simulator-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-sim {
  background: #192724;
  color: #A2C2BC;
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px;
  border: 1px solid #2B4E47;
  padding: 6px;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-sim:hover {
  background: #253C38;
  color: #00FFCC;
  border-color: #00FFCC;
}

/* --- FOOTER --- */
footer {
  background: linear-gradient(135deg, #164E63 0%, #1F6F8B 50%, #112D3E 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1); /* Logo blanc */
}

.footer-content p {
  font-size: 13px;
}


/* --- MODAL DE RÉÉCRITURE GUARDIAN --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 49, 45, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-card {
  background: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  padding: 36px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(20, 49, 45, 0.15);
  animation: modalSlideUp 0.3s var(--ease);
}

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

.modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.modal-badge {
  background: rgba(112, 64, 0, 0.1);
  color: var(--warning-orange);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.modal-badge.badge-danger {
  background: rgba(141, 31, 45, 0.1);
  color: var(--error-red);
}

.score-display-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(220, 239, 230, 0.3);
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.score-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 18px;
}

.score-circle.lvl-medium {
  border-color: var(--warning-orange);
  color: var(--warning-orange);
}

.score-circle.lvl-high {
  border-color: var(--error-red);
  color: var(--error-red);
}

.score-explanation h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.score-explanation p {
  font-size: 13px;
  color: var(--muted-text);
  line-height: 1.4;
}

.comparison-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.comparison-field {
  padding: 16px;
  border-radius: 8px;
  font-size: 14px;
}

.field-original {
  background: rgba(141, 31, 45, 0.04);
  border: 1px solid rgba(141, 31, 45, 0.15);
  color: #551A21;
}

.field-suggestion {
  background: rgba(31, 111, 99, 0.04);
  border: 1px solid rgba(31, 111, 99, 0.15);
  color: #113E37;
  position: relative;
}

.field-suggestion::after {
  content: 'Alternative suggérée';
  position: absolute;
  top: -10px;
  right: 12px;
  background: var(--eunoia-green);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* --- LOCKDOWN SCREEN --- */
#lockdown-view {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #1E0A0C;
  color: #FFA3A8;
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.lockdown-card {
  max-width: 600px;
  background: #2D1013;
  border: 2px solid #8D1F2D;
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  box-shadow: 0 20px 80px rgba(141, 31, 45, 0.4);
}

.lockdown-icon {
  font-size: 64px;
  margin-bottom: 24px;
  color: #FF3344;
  animation: flash 1s infinite alternate;
}

@keyframes flash {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.lockdown-card h1 {
  color: #FF3344;
  font-size: 32px;
  margin-bottom: 16px;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.lockdown-card p {
  font-size: 15px;
  margin-bottom: 24px;
  color: #FFA3A8;
  line-height: 1.6;
}

.lockdown-details {
  background: #170709;
  border: 1px solid rgba(141, 31, 45, 0.3);
  padding: 16px;
  border-radius: 8px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  color: #FFA3A8;
  word-break: break-all;
  margin-bottom: 32px;
}

/* --- ADAPTABILITÉ TABLETTES & MOBILE --- */
@media (max-width: 992px) {
  header {
    padding: 16px 40px;
  }
  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-top: 40px;
  }
  .hero-content {
    align-items: center;
  }
  .hero-visual {
    order: -1;
  }
  .section-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .founder-layout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .founder-visual {
    justify-content: center;
  }
  .founder-meta-stats {
    justify-content: center;
  }
  .security-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-navigation {
    display: none; /* Cache les liens de nav sur mobile pour simplifier */
  }
  header {
    padding: 16px 20px;
  }
  #app-container {
    padding: 0 20px;
  }
  section {
    padding: 40px 0;
  }
  .hero-section h1 {
    font-size: 34px;
  }
  .founder-card {
    padding: 24px;
  }
}

/* --- SECTION CONSTAT --- */
.constat-scroller-wrapper {
  position: relative;
  width: calc(100% + 80px);
  margin-left: -40px;
  margin-right: -40px;
  padding: 20px 40px;
  /* Masque de dégradé progressif aux extrémités gauche/droite */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 60px, black calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 60px, black calc(100% - 60px), transparent 100%);
}

.constat-grid {
  display: flex;
  flex-direction: row;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  /* Masquer la barre de défilement pour un aspect épuré tactile/carrousel */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.constat-grid::-webkit-scrollbar {
  display: none;
}

.constat-card {
  flex: 0 0 310px;
  aspect-ratio: 9 / 16;
  height: 550px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(235, 245, 248, 0.75) 100%);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  border: 1px solid rgba(31, 111, 139, 0.16);
  box-shadow: 0 8px 32px rgba(31, 111, 99, 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-snap-align: center;
  transition: transform var(--transition-speed) var(--ease), border-color var(--transition-speed) var(--ease), box-shadow var(--transition-speed) var(--ease);
}

.constat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 111, 139, 0.4);
  box-shadow: 0 16px 40px rgba(31, 111, 139, 0.12);
}



/* ==========================================
   3D MOCKUP TELEPHONE ET SECTIONS PREMIUM
   ========================================== */

/* ==========================================
   SECTIONS DE FONCTIONNALITÉS STANDALONE (ACCÈS DIRECT)
   ========================================== */

.feature-section {
  padding: 80px 0;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
}

/* Explications du Flux 16:9 */
.feed-explanation-container {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(31, 111, 99, 0.18);
  border-radius: 20px;
  padding: 30px 34px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(22, 78, 99, 0.05);
}

.feed-explanation-header {
  text-align: center;
  margin-bottom: 24px;
}

.feed-explanation-header h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  color: var(--sovereign-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.feed-explanation-header p {
  font-size: 13.5px;
  color: var(--muted-text);
  margin-top: 6px;
}

.feed-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feed-steps-grid-detailed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .feed-steps-grid, .feed-steps-grid-detailed {
    grid-template-columns: 1fr;
  }
}

/* Tableau Comparatif Eunoia vs Réseaux Traditionnels */
.feed-comparison-wrapper {
  margin-top: 48px;
  padding: 40px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(31, 111, 139, 0.14);
  box-shadow: 0 12px 40px rgba(15, 41, 51, 0.04);
}

.comparison-title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  color: var(--sovereign-blue);
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: -0.02em;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 850px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

.comparison-card {
  border-radius: 18px;
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.traditional-card {
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
}

.eunoia-card {
  border: 1.5px solid rgba(31, 111, 139, 0.25);
  background: linear-gradient(135deg, rgba(235, 243, 248, 0.7) 0%, #ffffff 100%);
  box-shadow: 0 8px 24px rgba(31, 111, 139, 0.06);
}

.comparison-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 41, 51, 0.08);
}

.comp-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.red-icon {
  background: #F1F5F9;
  color: #64748B;
}

.green-icon {
  background: rgba(31, 111, 139, 0.12);
  color: var(--guardian-blue);
}

.comparison-card-header h5 {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 800;
  color: var(--dark-text);
  margin: 0;
  letter-spacing: -0.01em;
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-list li {
  font-size: 14.5px;
  line-height: 1.6;
  color: #334155;
}

.comparison-list li strong {
  color: var(--dark-text);
  font-weight: 700;
}

.feed-step-card {
  background: #ffffff;
  border: 1px solid rgba(31, 111, 99, 0.14);
  border-radius: 20px;
  padding: 24px 24px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 16px rgba(15, 46, 40, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.feed-step-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, #1F6F63 0%, #1F6F8B 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 2px;
}

.feed-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(31, 111, 99, 0.09);
  border-color: rgba(31, 111, 99, 0.28);
}

.feed-step-card:hover::after {
  opacity: 1;
}

.feed-step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  width: 100%;
}

.feed-step-number {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #1F6F63 0%, #1F6F8B 100%);
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
  font-family: var(--font-title);
  border: none;
}

.feed-step-icon-svg {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(31, 111, 99, 0.06);
  color: var(--eunoia-green);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31, 111, 99, 0.12);
  transition: all 0.3s ease;
}

.feed-step-card:hover .feed-step-icon-svg {
  background: linear-gradient(135deg, #1F6F63 0%, #1F6F8B 100%);
  color: #ffffff;
  border-color: #1F6F8B;
}

.feed-step-card h4 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: var(--sovereign-blue);
  margin-bottom: 8px;
  line-height: 1.35;
}

.feed-step-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-text);
}

/* Status Indicator Dots */
.status-indicator-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.status-indicator-dot.safe { background: var(--eunoia-green); box-shadow: 0 0 6px rgba(31, 111, 99, 0.4); }
.status-indicator-dot.warn { background: var(--warning-orange); box-shadow: 0 0 6px rgba(112, 64, 0, 0.4); }
.status-indicator-dot.danger { background: var(--error-red); box-shadow: 0 0 6px rgba(141, 31, 45, 0.4); }

/* Metric SVG Icons */
.metric-icon-svg {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(31, 111, 99, 0.08) 0%, rgba(31, 111, 139, 0.1) 100%);
  color: var(--guardian-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid rgba(31, 111, 139, 0.15);
}

/* Side Badges */
.side-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-right: 8px;
}
.badge-problem { background: rgba(141, 31, 45, 0.08); color: var(--error-red); }
.badge-solution { background: rgba(31, 111, 99, 0.08); color: var(--eunoia-green); }

.branch-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.branch-action-icon.green { background: rgba(31, 111, 99, 0.12); color: var(--eunoia-green); }
.branch-action-icon.orange { background: rgba(112, 64, 0, 0.12); color: var(--warning-orange); }
.branch-action-icon.red { background: rgba(141, 31, 45, 0.12); color: var(--error-red); }

.filter-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 12px;
}

.add-hashtag-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hashtag-add-input {
  padding: 7px 14px;
  border: 1.5px solid rgba(31, 111, 99, 0.25);
  border-radius: 20px;
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
  background: #ffffff;
  color: var(--dark-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 220px;
}

.hashtag-add-input:focus {
  border-color: var(--eunoia-green);
  box-shadow: 0 0 0 3px rgba(31, 111, 99, 0.12);
}

.btn-add-tag {
  padding: 7px 16px;
  background: var(--eunoia-green);
  color: #ffffff;
  border: none;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-add-tag:hover {
  background: var(--eunoia-green-hover);
  transform: scale(1.02);
}

.hashtag-pill .remove-pill {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.hashtag-pill .remove-pill:hover {
  opacity: 1;
  color: var(--error-red);
}

/* --- DÉMONSTRATION VIDÉO DANS FONCTIONNALITÉ 1 --- */
.feed-video-container {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 32px;
  margin-top: 32px;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(31, 111, 99, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feed-video-container:hover {
  box-shadow: 0 14px 40px rgba(31, 111, 99, 0.08);
}

.feed-video-header {
  margin-bottom: 20px;
}

.feed-video-header h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--sovereign-blue);
  letter-spacing: -0.2px;
  margin-bottom: 6px;
}

.feed-video-header p {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 400;
  color: var(--muted-text);
  line-height: 1.6;
}

.feed-video-player-wrapper {
  position: relative;
  width: 100%;
  padding: 30px 0;
  background: radial-gradient(circle at center, rgba(31, 111, 99, 0.06) 0%, rgba(220, 239, 230, 0.25) 100%);
  border-radius: 20px;
  border: 1px solid rgba(31, 111, 99, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-video-frame {
  position: relative;
  width: 350px;
  max-width: 90vw;
  background: #0F242D;
  border-radius: 44px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(15, 36, 45, 0.25), 0 0 0 2px rgba(31, 111, 139, 0.2);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-video-element {
  width: 100%;
  height: auto;
  aspect-ratio: 952 / 1920;
  border-radius: 36px;
  object-fit: contain;
  display: block;
  outline: none;
  background: #000000;
}

/* Feature 1: Standalone Feed */
.feed-interactive-wrapper {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(31, 111, 99, 0.03);
}

.hashtag-filter-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.filter-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--sovereign-blue);
}

.hashtag-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hashtag-pill {
  background: rgba(31, 111, 99, 0.08);
  border: 1px solid rgba(31, 111, 99, 0.15);
  color: var(--eunoia-green);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hashtag-pill.active, .hashtag-pill:hover {
  background: linear-gradient(135deg, #1F6F63 0%, #1F6F8B 100%);
  color: #ffffff;
  border-color: #1F6F8B;
}

/* Cards de posts 16:9 standalone */
.post-card-horizontal-standalone {
  flex: 0 0 320px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.post-card-horizontal-standalone:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(31, 111, 99, 0.08);
}

.post-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #eef6f3;
}

.post-img-169 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-tag-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(22, 78, 99, 0.85);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.post-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-author-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--soft-mist);
  color: var(--eunoia-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
}

.post-author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--sovereign-blue);
}

.post-text-content {
  font-size: 12.5px;
  color: var(--dark-text);
  line-height: 1.5;
}

.feed-philosophy-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(31, 111, 99, 0.1);
}

.mascot-icon {
  width: 48px;
  height: auto;
}

.feed-philosophy-note p {
  font-size: 13px;
  color: var(--muted-text);
  line-height: 1.5;
}

/* Feature 2: IA Guardian Live Tester */
.guardian-tester-container {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(31, 111, 99, 0.03);
}

.guardian-tester-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

@media (max-width: 992px) {
  .guardian-tester-grid {
    grid-template-columns: 1fr;
  }
}

.tester-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--sovereign-blue);
  margin-bottom: 8px;
  display: block;
}

.tester-textarea {
  width: 100%;
  height: 110px;
  border: 1.5px solid rgba(31, 111, 99, 0.2);
  border-radius: 14px;
  padding: 14px;
  font-family: var(--font-body);
  font-size: 13.5px;
  outline: none;
  resize: none;
  background: #fff;
  transition: border-color 0.2s;
}

.tester-textarea:focus {
  border-color: var(--eunoia-green);
}

.tester-presets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.presets-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.preset-level-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preset-level-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  width: fit-content;
}

.preset-level-header.safe-header {
  background: rgba(31, 111, 99, 0.1);
  color: var(--eunoia-green);
}

.preset-level-header.warn-header {
  background: rgba(112, 64, 0, 0.1);
  color: var(--warning-orange);
}

.preset-level-header.danger-header {
  background: rgba(141, 31, 45, 0.1);
  color: var(--error-red);
}

.preset-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preset-pill {
  background: #fff;
  border: 1px solid rgba(31, 111, 99, 0.15);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11.5px;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}

.preset-pill:hover {
  transform: translateX(4px);
}

.preset-safe { border-left: 4px solid var(--eunoia-green); }
.preset-warn { border-left: 4px solid var(--warning-orange); }
.preset-danger { border-left: 4px solid var(--error-red); }

.gauge-display-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.gauge-score-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 5px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #1F6F63, #1F6F8B, #164E63);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  background-color: #fff;
  color: #1F6F8B;
  flex-shrink: 0;
}

.gauge-level-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 6px;
}

.lvl-badge-safe { background: rgba(31, 111, 99, 0.1); color: var(--eunoia-green); }
.lvl-badge-warn { background: rgba(112, 64, 0, 0.1); color: var(--warning-orange); }
.lvl-badge-danger { background: rgba(141, 31, 45, 0.1); color: var(--error-red); }

.gauge-info p {
  font-size: 12.5px;
  color: var(--muted-text);
  line-height: 1.45;
}

.guardian-levels-breakdown {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.lvl-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(31, 111, 99, 0.12);
  transition: box-shadow 0.2s ease;
}

.lvl-step:hover {
  box-shadow: 0 4px 12px rgba(31, 111, 99, 0.06);
}

.lvl-step-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(31, 111, 99, 0.08);
  color: var(--sovereign-blue);
}

.step-desc {
  font-size: 12px;
  color: var(--dark-text);
}

.lvl-examples-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  padding-left: 2px;
}

.lvl-example-item {
  font-size: 11px;
  color: var(--dark-text);
  background: rgba(31, 111, 99, 0.03);
  border: 1px solid rgba(31, 111, 99, 0.08);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lvl-example-item:hover {
  background: rgba(31, 111, 99, 0.08);
  transform: translateX(3px);
}

.ex-icon {
  font-size: 10px;
}

/* Insultes floutées dans les exemples IA Guardian */
.blurred-insult {
  filter: blur(4px);
  user-select: none;
  background-color: rgba(141, 31, 45, 0.15);
  color: var(--error-red);
  border-radius: 4px;
  padding: 0 4px;
  display: inline-block;
  transition: filter 0.3s ease, background-color 0.3s ease;
}

.blurred-insult:hover {
  filter: blur(0px);
  background-color: rgba(141, 31, 45, 0.06);
}

/* --- Schéma Visuel Explicatif IA Guardian --- */
.guardian-flowchart-container {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(31, 111, 99, 0.18);
  border-radius: 20px;
  padding: 32px 36px;
  margin-bottom: 36px;
  box-shadow: 0 10px 30px rgba(22, 78, 99, 0.05);
}

.flowchart-header {
  text-align: center;
  margin-bottom: 28px;
}

.flowchart-header h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  color: var(--sovereign-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.flowchart-subtitle {
  font-size: 13.5px;
  color: var(--muted-text);
  margin-top: 6px;
}

/* Pipeline du schéma */
.flow-pipeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.flow-node-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
}

.flow-node {
  background: #ffffff;
  border: 1.5px solid rgba(31, 111, 99, 0.18);
  border-radius: 14px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 14px rgba(31, 111, 99, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flow-node:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 111, 99, 0.12);
}

.flow-node-icon {
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(31, 111, 99, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-node-content h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 2px;
}

.flow-node-content p {
  font-size: 12px;
  color: var(--muted-text);
}

/* Connecteur flèche */
.flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--eunoia-green);
  font-size: 16px;
  font-weight: 700;
}

.flow-connector-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--sovereign-blue);
  background: rgba(31, 111, 99, 0.1);
  padding: 3px 12px;
  border-radius: 12px;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

/* Embranchements 3 Niveaux */
.flow-branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .flow-branches-grid {
    grid-template-columns: 1fr;
  }
  .guardian-flowchart-container {
    padding: 24px 20px;
  }
}

.branch-card {
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.branch-card:hover {
  transform: translateY(-4px);
}

.branch-level-1 {
  background: linear-gradient(145deg, #ffffff 0%, #EBF7F2 100%);
  border-color: rgba(31, 111, 99, 0.3);
  box-shadow: 0 4px 16px rgba(31, 111, 99, 0.08);
}

.branch-level-2 {
  background: linear-gradient(145deg, #ffffff 0%, #FFF8EE 100%);
  border-color: rgba(112, 64, 0, 0.3);
  box-shadow: 0 4px 16px rgba(112, 64, 0, 0.08);
}

.branch-level-3 {
  background: linear-gradient(145deg, #ffffff 0%, #FDF2F3 100%);
  border-color: rgba(141, 31, 45, 0.3);
  box-shadow: 0 4px 16px rgba(141, 31, 45, 0.08);
}

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

.branch-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.badge-l1 { background: rgba(31, 111, 99, 0.15); color: #155B08; }
.badge-l2 { background: rgba(112, 64, 0, 0.15); color: #704000; }
.badge-l3 { background: rgba(141, 31, 45, 0.15); color: #8D1F2D; }

.branch-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-text);
}

.branch-score-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted-text);
}

.branch-action {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--dark-text);
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.branch-action span {
  font-size: 14px;
}

/* Features clés footer diagramme */
.flow-highlights {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(31, 111, 99, 0.12);
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sovereign-blue);
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(31, 111, 99, 0.15);
}


/* Feature 3: Impact RSE Preview */
.rse-dashboard-preview {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.rse-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .rse-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.rse-metric-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 15px rgba(31, 111, 99, 0.02);
  transition: transform 0.3s;
}

.rse-metric-card:hover {
  transform: translateY(-4px);
}

.metric-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.metric-value {
  font-family: var(--font-title);
  font-size: 30px;
  font-weight: 800;
  color: var(--eunoia-green);
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--sovereign-blue);
  margin-bottom: 2px;
}

.metric-sub {
  font-size: 11.5px;
  color: var(--muted-text);
}

.rse-explanation-box {
  background: rgba(31, 111, 99, 0.05);
  border: 1px solid rgba(31, 111, 99, 0.15);
  border-radius: 20px;
  padding: 24px 30px;
}

.rse-explanation-box h3 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 800;
  color: var(--sovereign-blue);
  margin-bottom: 8px;
}

.rse-explanation-box p {
  font-size: 13.5px;
  color: var(--muted-text);
  line-height: 1.55;
}

/* ============================================
   STYLES EXACTS DE L'APPLICATION PROTOTYPE VERCEL
   ============================================ */

/* --- Écran 1 : Intro Screen --- */
.intro-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 50px 24px 30px;
  background: linear-gradient(180deg, #c4e2d4 0%, var(--soft-mist) 35%, var(--soft-mist-light) 100%);
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.intro-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.intro-logo img {
  width: 90px;
  height: auto;
  object-fit: contain;
}

.intro-brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--eunoia-green-text);
  font-family: 'Manrope', sans-serif;
}

.intro-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.intro-headline {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--eunoia-green-text);
  font-family: 'Manrope', sans-serif;
}

.intro-subline {
  font-size: 0.95rem;
  font-weight: 400;
  font-style: italic;
  color: var(--eunoia-green);
  opacity: 0.85;
}

.intro-subline-hero {
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
  color: var(--eunoia-green);
  margin-bottom: 20px;
}

.intro-action {
  width: 100%;
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--eunoia-green);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
  background-color: var(--eunoia-green-dark);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--sovereign-blue);
  background: rgba(22, 78, 99, 0.08);
  border: 1px solid rgba(22, 78, 99, 0.15);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary-link:hover {
  background: rgba(22, 78, 99, 0.15);
}

/* --- Écran 2 : Écran Espace --- */
.espace-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 18px 24px;
  background: linear-gradient(180deg, #D4E6F1 0%, #EBF3F8 30%, #F5F9FC 60%, #FFFFFF 100%);
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.espace-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.espace-logo {
  width: 90px;
  height: auto;
  object-fit: contain;
}

.espace-brand {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--eunoia-green-text);
  margin-top: -4px;
  font-family: 'Manrope', sans-serif;
}

.espace-subtext {
  font-size: 0.95rem;
  color: #222;
  margin-top: 4px;
}

.espace-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.espace-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex: 1;
  width: 100%;
}

.espace-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.espace-card-icon-wrap {
  font-size: 32px;
}

.espace-card-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.espace-sparkle {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
}

/* --- Écran 3 : Inscription / Connexion --- */
.inscription-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 18px 20px;
  background: linear-gradient(180deg, #c4e2d4 0%, #d2eade 30%, #DCEFE6 60%, #e2f2eb 100%);
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.inscription-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

.inscription-logo {
  width: 80px;
  height: auto;
}

.inscription-brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--eunoia-green-text);
  font-family: 'Manrope', sans-serif;
}

.inscription-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inscription-field {
  width: 100%;
  background: #ffffff;
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.inscription-label {
  display: block;
  font-size: 0.8rem;
  color: #555;
  font-weight: 500;
  margin-bottom: 2px;
}

.inscription-input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: #111;
  background: transparent;
}

.inscription-login-link {
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  margin-top: 4px;
}

.inscription-link {
  color: var(--eunoia-green-text);
  font-weight: 600;
  text-decoration: none;
}

.inscription-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: auto;
  padding-bottom: 4px;
}

.btn-inscription {
  width: 100%;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--eunoia-green-dark);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  font-family: 'Inter', sans-serif;
}

.btn-inscription:hover {
  background-color: var(--eunoia-green);
}

/* --- Écran 4 : Hub Principal --- */
.hub-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  background: radial-gradient(circle at 0% 0%, #E6F0F6 0%, rgba(230, 240, 246, 0) 50%),
              radial-gradient(circle at 100% 0%, #EDF4F9 0%, rgba(237, 244, 249, 0) 50%),
              radial-gradient(circle at 50% 50%, #D4E6F1 0%, rgba(212, 230, 241, 0) 60%),
              #EBF3F8;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.hub-title {
  position: relative;
  z-index: 1;
  font-size: 1.8rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--sovereign-blue);
  padding: 45px 16px 0;
  margin: 0;
  text-align: center;
}

.hub-glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 24px 16px 20px;
  box-shadow: 0 15px 35px rgba(31, 111, 139, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% - 32px);
  margin: auto;
  z-index: 2;
}

.hub-logo-orb {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #f0f6fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
}

.hub-logo-orb::after {
  content: "";
  position: absolute;
  top: -6px; left: -6px; right: -6px; bottom: -6px;
  border-radius: 50%;
  border: 1.5px dashed rgba(31, 111, 139, 0.25);
  animation: rotateRing 25s linear infinite;
  pointer-events: none;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hub-logo-img {
  width: 50px;
  height: auto;
  object-fit: contain;
}

.hub-btn-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hub-pill-btn {
  background: linear-gradient(135deg, #164E63 0%, #1F6F8B 50%, #2583A3 100%);
  color: #ffffff;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(31, 111, 139, 0.25);
  border: none;
  cursor: pointer;
  width: 100%;
  font-family: 'Inter', sans-serif;
  transition: transform 0.2s;
}

.hub-pill-btn:hover {
  transform: translateY(-2px);
}

.hub-btn-row {
  display: flex;
  gap: 8px;
  width: 100%;
}

.hub-pill-btn.hub-btn-secondary {
  background: #ffffff;
  color: #1a1a1a;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 0.85rem;
  padding: 10px 12px;
  text-align: center;
}

.hub-pill-btn svg.btn-arrow {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* --- App Navbar Fixe du Bas --- */
.app-navbar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: #ffffff;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0px -1px 3px rgba(0,0,0,0.05);
  z-index: 100;
  padding: 0 4px;
  border-radius: 16px 16px 0 0;
  box-sizing: border-box;
}

.app-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: #1F6F8B;
  padding: 4px 0;
  min-width: 45px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
}

.app-nav-item svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
}

.app-nav-item span {
  font-size: 9px;
  font-weight: 500;
  color: currentColor;
}

/* --- Écran 5 : Explorer Screen --- */
.explorer-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 45px 14px 60px;
  background: linear-gradient(180deg, #D4E6F1 0%, #EBF3F8 30%, #F5F9FC 60%, #FFFFFF 100%);
  overflow-y: auto;
  box-sizing: border-box;
}

.explorer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.explorer-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--eunoia-green-text);
  font-family: 'Manrope', sans-serif;
}

.explorer-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 50px;
  padding: 3px;
}

.explorer-tab {
  background: transparent;
  border: none;
  border-radius: 50px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--eunoia-green-text);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.explorer-tab--active {
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  font-weight: 600;
}

.explorer-message-block {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.explorer-mascot {
  width: 45px;
  height: auto;
  object-fit: contain;
}

.explorer-bubble {
  background: rgba(255,255,255,0.85);
  border-radius: 14px 14px 14px 2px;
  padding: 10px 12px;
  font-size: 0.8rem;
  color: #1a1a1a;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.creer-screen-prototype {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 45px 16px 60px;
  background: #ffffff;
  box-sizing: border-box;
}

.creer-form-container {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* --- Guide de Simulation & Cartes Explicatives --- */
.sim-info-header {
  margin-bottom: 30px;
}

.sim-info-header h3 {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 800;
  color: var(--sovereign-blue);
  margin: 10px 0;
}

.sim-info-header p {
  color: var(--muted-text);
  font-size: 14.5px;
  line-height: 1.5;
}

.simulation-guide-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(31, 111, 99, 0.1);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.guide-card h4 {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 800;
  color: var(--sovereign-blue);
  margin-bottom: 6px;
}

.guide-card p {
  font-size: 12.5px;
  color: var(--muted-text);
  line-height: 1.5;
}

.guide-card.active {
  background: #fff;
  border-color: var(--eunoia-green);
  box-shadow: 0 10px 25px rgba(31, 111, 99, 0.06);
  transform: translateX(8px);
}

.guide-card.active h4 {
  color: var(--eunoia-green);
}

/* ==========================================
   CONSTAT & ALTERNATIVES (SPLIT-CARDS)
   ========================================== */

.constat-section {
  padding: 100px 0;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
}

.constat-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

@media (max-width: 992px) {
  .constat-grid-v2 {
    grid-template-columns: 1fr;
  }
}

.constat-split-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(31, 111, 99, 0.15);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 8px 32px rgba(31, 111, 99, 0.03);
}

.constat-split-card:hover {
  border-color: rgba(31, 111, 139, 0.35);
  box-shadow: 0 16px 40px rgba(31, 111, 139, 0.1);
}

.card-top-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(31, 111, 99, 0.1);
  padding-bottom: 14px;
}

.constat-num {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #164E63 0%, #1F6F8B 50%, #1F6F63 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.45;
  line-height: 1;
}

.card-top-bar h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--sovereign-blue);
  margin: 0;
}

.card-split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .card-split-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.split-side {
  padding: 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-problem {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.08);
}

.side-solution {
  background: rgba(31, 111, 99, 0.04);
  border: 1px solid rgba(31, 111, 99, 0.08);
}

.side-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.side-problem .side-title {
  color: #C2410C;
}

.side-solution .side-title {
  color: var(--eunoia-green);
}

.split-side p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted-text);
  margin: 0;
  font-weight: 450;
}

.card-spec-note {
  font-size: 11.5px;
  color: var(--muted-text);
  border-top: 1px solid rgba(31, 111, 99, 0.06);
  padding-top: 12px;
}

/* ==========================================
   DÉMO INTERACTIVE : FLUX & SUBTILLITÉ
   ========================================== */

.demo-section-wrapper {
  padding: 100px 0;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
}

.demo-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .demo-dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.demo-card-box {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(22, 78, 99, 0.02);
  display: flex;
  flex-direction: column;
}

.demo-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(31, 111, 99, 0.1);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.demo-card-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--sovereign-blue);
}

.live-indicator {
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: var(--error-red);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

.post-card-horizontal {
  flex: 0 0 320px;
  height: 180px;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--border-color);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(31, 111, 99, 0.02);
  transition: transform 0.3s;
}

.post-card-horizontal:hover {
  transform: translateY(-2px);
}

.scroll-box-wrapper {
  overflow: hidden;
}

/* Responsive Espace Documentaire */
@media (max-width: 992px) {
  .resources-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* --- SECTION GALERIE VIVATECH --- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 0 auto;
  max-width: 1100px;
}

.gallery-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(22, 78, 99, 0.02);
  transition: transform var(--transition-speed) var(--ease), box-shadow var(--transition-speed) var(--ease);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(31, 111, 99, 0.08);
  border-color: rgba(31, 111, 99, 0.25);
}

.gallery-image-wrapper {
  width: 100%;
  height: 440px;
  overflow: hidden;
  background: #eef6f3;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-card:hover .gallery-image {
  transform: scale(1.03);
}

.gallery-caption {
  padding: 32px;
}

.gallery-caption h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--sovereign-blue);
  margin-bottom: 12px;
}

.gallery-caption p {
  font-size: 14px;
  color: var(--muted-text);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .gallery-image-wrapper {
    height: 300px;
  }
  .gallery-caption {
    padding: 24px;
  }
}

/* --- LE CONSTAT INTERACTIF (TIROIR & BOUTONS) --- */
.btn-detail-trigger {
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 16px;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  color: var(--eunoia-green);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition-speed), transform var(--transition-speed);
}

.btn-detail-trigger:hover {
  color: var(--eunoia-green-hover);
  transform: translateX(4px);
}

/* --- PAGE DETAILED ANALYSE (analyse.html) --- */
.analyse-section {
  padding: 60px 0;
}

.analyse-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.analyse-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.analyse-image-showcase {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: 0 25px 60px rgba(31, 111, 99, 0.14);
  background: #f7faf9;
  transition: transform var(--transition-speed) var(--ease);
}

.analyse-image-showcase:hover {
  transform: translateY(-4px) scale(1.01);
}

.analyse-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.analyse-content-col {
  display: flex;
  flex-direction: column;
}

.analyse-meta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.analyse-num-badge {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 800;
  color: var(--eunoia-green);
  opacity: 0.85;
  line-height: 1;
}

.analyse-title {
  font-family: var(--font-title);
  font-size: 38px;
  font-weight: 850;
  color: var(--sovereign-blue);
  margin-bottom: 20px;
  line-height: 1.15;
}

.analyse-description {
  font-size: 16px;
  color: var(--dark-text);
  line-height: 1.75;
  margin-bottom: 36px;
  font-weight: 450;
}

.analyse-response-container {
  background: rgba(220, 239, 230, 0.35);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  padding: 32px;
  box-shadow: 0 4px 20px rgba(22, 78, 99, 0.01);
}

.analyse-response-container h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--eunoia-green);
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.analyse-responses-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
}

.analyse-responses-list li {
  font-size: 14.5px;
  color: var(--sovereign-blue);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.analyse-responses-list li::before {
  content: '✓';
  color: var(--eunoia-green);
  font-weight: 900;
  font-size: 16px;
}

.analyse-actions-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 48px;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
}

@media (max-width: 992px) {
  .analyse-split-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .analyse-image-showcase {
    max-width: 300px;
  }
  .analyse-title {
    font-size: 32px;
  }
}

/* --- SECTION PROBLEME & ÉCONOMIE DE L'ATTENTION (ÉTUDE DE MARCHÉ) --- */
.problem-section {
  padding: 90px 0;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-color);
}

/* En-tête ultra-impactant pour le Constat */
.problem-section .section-header {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
}

.problem-section .section-header .card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(31, 122, 101, 0.1) 0%, rgba(31, 111, 139, 0.12) 100%);
  border: 1.5px solid rgba(31, 122, 101, 0.25);
  color: #1F7A65;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(31, 122, 101, 0.08);
}

.problem-section .section-header .card-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1F7A65;
  box-shadow: 0 0 8px rgba(31, 122, 101, 0.6);
}

.problem-section .section-header h2 {
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  background: linear-gradient(135deg, #0F2933 0%, #1F7A65 60%, #1F6F8B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.problem-section .section-header p {
  font-size: 17.5px;
  font-weight: 500;
  color: #334155;
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto;
}

.problem-hero-banner {
  background: linear-gradient(135deg, rgba(235, 243, 248, 0.8) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(31, 111, 139, 0.2);
  border-radius: 24px;
  padding: 44px 40px;
  margin: 36px auto 48px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 36px rgba(31, 111, 139, 0.06);
}

@media (max-width: 992px) {
  .problem-hero-banner {
    padding: 28px 20px;
    gap: 20px;
  }
}

.problem-banner-text {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.problem-banner-text h3 {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 800;
  color: var(--sovereign-blue);
  margin-bottom: 14px;
  line-height: 1.3;
}

.problem-banner-text p {
  font-size: 16px;
  color: var(--dark-text);
  line-height: 1.7;
}

.problem-banner-quote {
  background: rgba(255, 255, 255, 0.95);
  border-top: 3px solid #1F7A65;
  padding: 24px 32px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(31, 111, 139, 0.06);
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

.problem-banner-quote blockquote {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  color: var(--sovereign-blue);
  margin: 0 0 10px 0;
  line-height: 1.4;
  font-style: italic;
}

.problem-banner-quote cite {
  font-size: 13px;
  color: var(--muted-text);
  font-style: normal;
  font-weight: 600;
  display: block;
}

/* Bouton Voir plus de résultats étude de marché */
.btn-more-results {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  background: linear-gradient(135deg, rgba(31, 122, 101, 0.08) 0%, rgba(31, 111, 139, 0.08) 100%);
  border: 1.5px solid rgba(31, 122, 101, 0.3);
  color: #1F7A65;
  border-radius: 30px;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(31, 122, 101, 0.1);
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.btn-more-results:hover {
  background: #1F7A65;
  color: #FFFFFF;
  border-color: #1F7A65;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(31, 122, 101, 0.25);
}

.btn-more-results svg {
  transition: transform 0.25s ease;
}

.btn-more-results:hover svg {
  transform: translateX(4px);
}

/* Grille des résultats de l'étude de marché */
.market-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 992px) {
  .market-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .market-stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card-v2 {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(31, 111, 99, 0.15);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.stat-card-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--sovereign-blue), var(--eunoia-green));
  opacity: 0.7;
}

.stat-card-v2:hover {
  transform: translateY(-5px);
  border-color: rgba(31, 111, 139, 0.35);
  box-shadow: 0 16px 36px rgba(31, 111, 139, 0.12);
}

.stat-number {
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, #164E63 0%, #1F6F8B 50%, #1F6F63 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: var(--sovereign-blue);
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 13.5px;
  color: var(--muted-text);
  line-height: 1.5;
}

/* Cartes des dérives */
.drifts-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 992px) {
  .drifts-grid-4 {
    grid-template-columns: 1fr;
  }
}

.drift-card-item {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(31, 111, 99, 0.12);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.drift-card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(31, 111, 139, 0.1);
  border-color: rgba(31, 111, 139, 0.25);
}

.drift-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.drift-badge-num {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 800;
  color: var(--sovereign-blue);
  background: rgba(31, 111, 139, 0.1);
  padding: 6px 12px;
  border-radius: 12px;
}

.drift-card-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--sovereign-blue);
  margin: 0;
}

.drift-card-item p {
  font-size: 14.5px;
  color: var(--dark-text);
  line-height: 1.6;
  margin: 0;
}

.drift-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sovereign-blue);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  margin-top: 8px;
}

.drift-link-btn:hover {
  gap: 12px;
  color: var(--eunoia-green);
}





/* --- BANNIÈRE DE TRANSITION SOLUTION --- */
.solution-transition-banner {
  background: linear-gradient(135deg, #164E63 0%, #1F6F8B 50%, #1F6F63 100%);
  border-radius: 28px;
  padding: 56px 40px;
  margin: 60px 0 0 0;
  text-align: center;
  color: var(--white);
  box-shadow: 0 20px 50px rgba(22, 78, 99, 0.25);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.solution-transition-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.transition-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
}

.solution-transition-banner h3 {
  font-family: var(--font-title);
  font-size: 34px;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  line-height: 1.25;
  max-width: 800px;
}

.solution-transition-banner p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  margin: 0;
  line-height: 1.6;
}

.btn-transition-solution {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--sovereign-blue);
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  margin-top: 10px;
}

.btn-transition-solution:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {
  .solution-transition-banner {
    padding: 40px 24px;
  }
  .solution-transition-banner h3 {
    font-size: 26px;
  }
  .solution-transition-banner p {
    font-size: 15px;
  }
}
