/* ==========================================================================
   KompactFS Technologies — Light & Modern Design System (Sowefund inspired)
   Clean, luminous, executive & accessible tech aesthetic
   ========================================================================== */

:root {
  /* Color Palette - Luminous Light & Deep Pine Green Accents */
  --bg-page: #ffffff;
  --bg-surface: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-alt: #f1f5f9;
  --bg-subtle: #f4fbf7;

  /* Pine Green (Vert Pin) Signature */
  --brand-primary: #0a5c36;          /* Vert Pin noble & profond */
  --brand-primary-hover: #074528;    /* Vert Pin dense */
  --brand-light: #ecfdf5;            /* Teinte aiguille de pin très douce */
  --brand-border: #a7f3d0;           /* Bordure vert sauge clair */
  --brand-glow: rgba(10, 92, 54, 0.18);

  --emerald-primary: #059669;        /* Vert Émeraude vif */
  --emerald-light: #f0fdf4;

  --text-headline: #0c1a14;          /* Bleu nuit / Ardoise très profond */
  --text-body: #2d3748;              /* Lisible et contrasté */
  --text-muted: #64748b;             /* Gris ardoise tempéré */
  --text-light: #94a3b8;

  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --border-focus: #0a5c36;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --shadow-card-hover: 0 20px 35px -10px rgba(15, 23, 42, 0.09), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
  --shadow-modal: 0 25px 50px -12px rgba(15, 23, 42, 0.2);

  --transition: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-page);
  color: var(--text-body);
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-headline);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--brand-primary-hover);
}

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

.text-gradient {
  background: linear-gradient(135deg, #0c1a14 30%, #0a5c36 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Header & Navigation (Sowefund Clean White Style)
   ========================================================================== */
.stealth-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.stealth-header.scrolled {
  height: 70px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo-symbol {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.brand-mascot-img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-mascot-img {
  transform: scale(1.15) rotate(-4deg);
}

.logo-pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-primary);
  top: 6px;
  right: 6px;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-headline);
  letter-spacing: -0.03em;
}

.brand-stealth-tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-left: 8px;
  letter-spacing: 0.04em;
}

.stealth-header .header-container {
  max-width: 1360px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.nav-links a {
  font-size: 0.88rem;
  color: var(--text-headline);
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-block;
}

.nav-links a:hover {
  color: var(--brand-primary);
  background: var(--brand-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Language Selector Combo Box */
.lang-select-box {
  display: inline-flex;
  align-items: center;
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0 32px 0 12px;
  height: 40px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.lang-select-box:hover,
.lang-select-box:focus-within {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(10, 92, 54, 0.12);
}

.lang-select-combo {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-headline);
  cursor: pointer;
  padding: 0;
  margin: 0;
  height: 100%;
}

.lang-select-arrow {
  position: absolute;
  right: 12px;
  pointer-events: none;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-toggle {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-headline);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

/* Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--brand-glow);
}

.btn-primary:hover {
  background: var(--brand-primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 92, 54, 0.3);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-headline);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.badge-stealth {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  color: var(--brand-primary);
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-primary);
}

/* ==========================================================================
   Hero Section (Clean, Airy & Impactful)
   ========================================================================== */
.hero-section {
  padding-top: 170px;
  padding-bottom: 80px;
  text-align: center;
  background: radial-gradient(circle at 50% 15%, rgba(167, 243, 208, 0.4) 0%, transparent 60%);
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* Key Takeaways Ribbon (Clear & simplified) */
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.highlight-item {
  text-align: center;
  padding: 10px 16px;
  border-right: 1px solid var(--border-color);
}

.highlight-item:last-child {
  border-right: none;
}

.highlight-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.highlight-title.emerald {
  color: var(--emerald-primary);
}

.highlight-desc {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-headline);
  margin-bottom: 2px;
}

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

/* ==========================================================================
   Sections Layout & Headers
   ========================================================================== */
.site-section {
  padding: 100px 0;
  position: relative;
}

.site-section.bg-subtle {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding: 4px 14px;
  background: var(--brand-light);
  border-radius: var(--radius-full);
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Section 1: Le Problème (Accessible & Concrete)
   ========================================================================== */
.cards-grid-3,
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.info-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  position: relative;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: #cbd5e1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.5rem;
}

.card-icon.blue { background: #eff6ff; color: #2563eb; }
.card-icon.rose { background: #fff1f2; color: #e11d48; }
.card-icon.emerald { background: #f0fdf4; color: #16a34a; }
.card-icon.amber { background: #fef3c7; color: #d97706; }

.info-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.info-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ==========================================================================
   Section 2: La Solution (How it works simply)
   ========================================================================== */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-subtle);
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-card);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--brand-primary);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

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

/* ==========================================================================
   Section 3: Simple Interactive Playground & ROI Slider
   ========================================================================== */
.playground-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 992px) {
  .playground-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.widget-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-card);
  min-width: 0;
}

.widget-card-carbon {
  grid-column: 1 / -1;
}

.carbon-content-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr;
  gap: 24px;
  align-items: center;
}

@media (max-width: 992px) {
  .carbon-content-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.widget-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.widget-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.slider-group {
  margin-bottom: 28px;
}

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

.slider-header span {
  font-weight: 600;
  color: var(--text-headline);
}

.slider-header strong {
  font-size: 1.25rem;
  color: var(--brand-primary);
}

.range-slider {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(10, 92, 54, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.cost-presets-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

@media (max-width: 520px) {
  .cost-presets-row {
    grid-template-columns: 1fr;
  }
}

.cost-preset-btn {
  padding: 8px 6px;
  font-size: 0.76rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  background: #ffffff;
  border-radius: var(--radius-pill);
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  font-family: inherit;
  text-align: center;
  white-space: nowrap;
}

.cost-preset-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: #f0fdf4;
}

.cost-preset-btn.active {
  border-color: var(--emerald-primary);
  background: #ecfdf5;
  color: var(--brand-primary);
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--emerald-primary);
}

.savings-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  margin-top: 20px;
}

.savings-amount {
  font-size: clamp(1.15rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: #166534;
  line-height: 1.3;
  margin: 6px 0 8px 0;
  letter-spacing: -0.02em;
  word-break: normal;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 4px;
}

.savings-amount .nowrap {
  white-space: nowrap !important;
  display: inline-block;
}

.savings-subtext {
  font-size: 0.9rem;
  color: #15803d;
  font-weight: 500;
}

/* Carbon & ESG Simulator Widget */
.widget-card-carbon {
  border-color: #a7f3d0;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
  display: flex;
  flex-direction: column;
}

.carbon-iso-pill {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #6ee7b7;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.carbon-select {
  width: 100%;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-headline);
  font-weight: 600;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.carbon-select:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.carbon-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}

.carbon-amount {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  font-weight: 800;
  color: #047857;
  line-height: 1.25;
  margin: 6px 0;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carbon-amount .nowrap {
  white-space: nowrap !important;
  display: inline-block;
}

.carbon-subtext {
  font-size: 0.78rem;
  color: #065f46;
  font-weight: 500;
}

.carbon-equivalents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}

.carbon-equiv-badge {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

/* Visual Comparison in Left Widget */
.compare-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-row {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  background: var(--bg-surface);
}

.compare-row.winner {
  background: #f0fdf4;
  border-color: #86efac;
}

.compare-row-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 12px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.compare-row-title span:first-child {
  flex: 1 1 auto;
  min-width: 140px;
  line-height: 1.35;
}

.compare-row-title #label-raw-size,
.compare-row-title #label-kompactfs-size {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-align: right;
  margin-left: auto;
}

.progress-bar-bg {
  height: 10px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

/* Workload Typology Selector (Flexible ROI Model) */
.workload-selector-group {
  margin-bottom: 24px;
}

.workload-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.workload-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.workload-pill:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
}

.workload-pill.active {
  background: var(--brand-light);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.15);
}

.workload-badge-pct {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-primary);
  margin-left: 4px;
}

.workload-pill.active .workload-badge-pct {
  background: #dbeafe;
  color: var(--brand-primary);
}

.benchmark-note-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: #f8fafc;
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-top: 14px;
}

/* Encadré d'Échelle Industrielle & Ordres de Grandeur Réels */
.industrial-scale-proof-box {
  margin-top: 16px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.9), rgba(248, 250, 252, 0.95));
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px -3px rgba(34, 197, 94, 0.12);
  box-sizing: border-box;
  overflow: hidden;
}

.scale-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #15803d;
  margin-bottom: 12px;
}

.scale-ping {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: scale-pulse 2s infinite;
}

@keyframes scale-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.scale-proof-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.scale-metric-item {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.scale-metric-item.highlight {
  border-color: rgba(34, 197, 94, 0.4);
  background: #f0fdf4;
}

.scale-metric-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.scale-metric-item.highlight .scale-metric-val {
  color: #15803d;
}

.scale-metric-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

.scale-metric-sub {
  font-size: 0.68rem;
  color: #16a34a;
  font-weight: 500;
  margin-top: 1px;
}

.scale-proof-desc {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-body);
  margin: 0;
  padding-top: 8px;
  border-top: 1px dashed rgba(34, 197, 94, 0.25);
}

/* Bandeau de Test Cold Start llama.cpp - Design Grille Premium */
.llm-bench-result-strip {
  margin: 12px 0 10px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px -2px rgba(59, 130, 246, 0.08);
  box-sizing: border-box;
  overflow: hidden;
}

.llm-bench-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #1d4ed8;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.llm-bench-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.llm-bench-card {
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
}

.llm-bench-card.highlight-win {
  background: #f0fdf4;
  border-color: rgba(34, 197, 94, 0.4);
}

.llm-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 6px;
}

.llm-card-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-heading);
}

.llm-card-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 9999px;
  white-space: nowrap;
}

.badge-green {
  background: #dcfce7;
  color: #15803d;
}

.badge-neutral {
  background: #e2e8f0;
  color: #475569;
}

.llm-card-vals {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  margin-bottom: 4px;
}

.llm-val-item {
  display: flex;
  flex-direction: column;
}

.llm-val-lbl {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.llm-val-num {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-heading);
}

.llm-val-item.win .llm-val-num {
  color: #15803d;
}

.llm-val-arrow {
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.8rem;
}

.llm-card-note {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Encadré FinOps Hardware & TCO SSD */
.tco-hardware-box {
  margin-top: 16px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.95), rgba(248, 250, 252, 0.98));
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px -3px rgba(34, 197, 94, 0.12);
  box-sizing: border-box;
}

.tco-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.tco-amort-pill {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #6ee7b7;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tco-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 8px;
}

.tco-consolidated-strip {
  margin-top: 8px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px -1px rgba(34, 197, 94, 0.08);
}

.tco-strip-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-headline);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tco-strip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.tco-strip-item {
  display: flex;
  flex-direction: column;
}

.tco-strip-item .tco-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
}

.tco-strip-item .tco-num {
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748b;
}

.tco-strip-item.win .tco-num {
  color: #15803d;
  font-weight: 800;
}

.tco-strip-arrow {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.tco-badge-savings {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.tco-proof-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 8px 0 0;
  line-height: 1.4;
  border-top: 1px dashed rgba(34, 197, 94, 0.25);
  padding-top: 6px;
}

/* ==========================================================================
   Section 4: Cas d'Usage Simples & Concrets
   ========================================================================== */
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.use-case-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.use-case-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: var(--brand-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 14px;
}

.use-case-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.use-case-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.use-case-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--emerald-primary);
}

/* ==========================================================================
   Section 5: Business Model & Vision
   ========================================================================== */
.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

.model-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-subtle);
}

.model-pill {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 18px;
}

.model-pill.free { background: #f1f5f9; color: var(--text-headline); }
.model-pill.enterprise { background: var(--brand-light); color: var(--brand-primary); }

.feature-list {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-body);
}

.feature-list li svg {
  color: var(--emerald-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   Section 6: The Ask & Call-to-Action (Sowefund Style Banner)
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #052e16 0%, #0a4428 50%, #064e3b 100%);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-modal);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  margin-bottom: 16px;
}

.cta-banner p {
  color: #d1fae5;
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 1.15rem;
}

.banner-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.b-stat-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: #34d399;
}

.b-stat-lbl {
  font-size: 0.85rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Modal (Clean White, Accessible & Friendly)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 540px;
  box-shadow: var(--shadow-modal);
  transform: translateY(20px);
  transition: var(--transition);
  overflow: hidden;
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-header {
  padding: 28px 32px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-headline);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-headline);
}

.modal-body {
  padding: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-headline);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-headline);
  background: var(--bg-surface);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--brand-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.modal-success {
  text-align: center;
  padding: 30px 10px;
  display: none;
}

.modal-success.active {
  display: block;
}

.success-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 60px 0 40px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

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

.footer-links a:hover {
  color: var(--brand-primary);
}

/* Header Responsive Nav Breakpoint */
@media (max-width: 1040px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    gap: 12px;
  }

  .nav-links a {
    width: 100%;
    padding: 10px 14px;
    font-size: 1rem;
  }

  .nav-links.show {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    height: 70px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn-primary {
    display: none;
  }
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .highlight-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
  }

  .highlight-item:last-child {
    border-bottom: none;
  }

  .cta-banner {
    padding: 40px 20px;
  }
}

/* ==========================================================================
   Section: Personas & User Journeys (Vignettes Métiers & Valeur)
   ========================================================================== */
.persona-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 45px;
}

.persona-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

.persona-filter-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: var(--brand-light);
}

.persona-filter-btn.active {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 4px 12px var(--brand-glow);
}

.personas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  align-items: stretch;
}

.persona-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-subtle);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.persona-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-border);
}

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

.persona-avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.avatar-alexandre {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

.avatar-sarah {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}

.avatar-marc {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.avatar-thomas {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.avatar-helene {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.persona-meta {
  flex-grow: 1;
}

.persona-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-headline);
  line-height: 1.2;
}

.persona-role {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-top: 2px;
}

.persona-env-tag {
  font-size: 0.74rem;
  color: var(--text-muted);
  background: var(--bg-surface);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.persona-pain {
  background: #fff5f5;
  border-left: 3px solid #f43f5e;
  padding: 12px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 18px;
  font-size: 0.86rem;
  color: #881337;
  line-height: 1.5;
}

.persona-pain-label {
  font-weight: 700;
  color: #e11d48;
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.persona-section-title {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.persona-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.persona-tag {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--brand-light);
  border: 1px solid var(--brand-border);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
}

.persona-journey {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.journey-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.45;
  margin-bottom: 8px;
}

.journey-step:last-child {
  margin-bottom: 0;
}

.journey-num {
  background: #ffffff;
  border: 1.5px solid var(--brand-primary);
  color: var(--brand-primary);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.persona-roi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.persona-roi-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 8px 4px;
}

.persona-roi-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--emerald-primary);
  line-height: 1.2;
  font-family: var(--font-mono);
}

.persona-roi-lbl {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.2;
}

@media (max-width: 600px) {
  .personas-grid {
    grid-template-columns: 1fr;
  }
  .persona-roi-grid {
    gap: 6px;
  }
  .persona-roi-val {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   Legal Pages (Mentions Légales, RGPD, Cookies)
   ========================================================================== */
.legal-page-header {
  padding: 130px 0 40px;
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-color);
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  margin-bottom: 24px;
  padding: 8px 18px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.legal-back-link:hover {
  background: var(--brand-light);
  border-color: var(--brand-border);
  color: var(--brand-primary-hover);
}

.legal-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-headline);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.legal-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 720px;
  line-height: 1.6;
}

.legal-content-wrapper {
  padding: 50px 0 90px;
  background: var(--bg-surface);
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
  margin-bottom: 30px;
}

.legal-section {
  margin-bottom: 36px;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-headline);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--brand-light);
  padding-bottom: 8px;
}

.legal-section p, .legal-section li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 12px;
}

.legal-section ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-section strong {
  color: var(--text-headline);
}

.legal-highlight-box {
  background: var(--brand-light);
  border-left: 4px solid var(--brand-primary);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
}

.legal-highlight-box p {
  margin: 0;
  color: #064e3b;
  font-size: 0.92rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 24px 18px;
  }
  .legal-title {
    font-size: 1.8rem;
  }
}



/* ==========================================================================
   6. Globe Navigation Button & Region Drawer Modal (Inspiré de Tesla)
   ========================================================================== */
.globe-select-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px 0 12px;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-pill);
  color: var(--text-headline);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.globe-select-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: #f0fdf4;
  box-shadow: 0 0 0 3px rgba(10, 92, 54, 0.1);
}

.globe-svg-icon {
  color: var(--brand-primary);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.globe-select-btn:hover .globe-svg-icon {
  transform: rotate(15deg) scale(1.08);
}

.globe-active-label {
  letter-spacing: 0.03em;
}

.globe-chevron-down {
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.globe-select-btn:hover .globe-chevron-down {
  color: var(--brand-primary);
}

.visually-hidden-select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Region Modal Backdrop & Box */
.region-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 20, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

.region-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.region-modal-container {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 700px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(12, 26, 20, 0.25);
  transform: translateY(20px) scale(0.98);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 32px 36px;
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.region-modal-backdrop.open .region-modal-container {
  transform: translateY(0) scale(1);
}

.region-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.region-modal-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.region-globe-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--brand-border);
}

.region-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-headline);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.region-modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.region-modal-close {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  cursor: pointer;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.region-modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
  transform: rotate(90deg);
}

.region-section-heading {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

/* Quick Pick Buttons (Image 3) */
.region-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.region-quick-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  width: 100%;
}

.region-quick-btn:hover {
  border-color: var(--brand-primary);
  background: #f0fdf4;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.region-quick-btn.is-active {
  border-color: var(--emerald-primary);
  background: #ecfdf5;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.region-flag {
  font-size: 1.5rem;
  line-height: 1;
}

.region-meta {
  display: flex;
  flex-direction: column;
}

.region-meta strong {
  font-size: 0.92rem;
  color: var(--text-headline);
  font-weight: 700;
}

.region-meta small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.region-check-mark {
  margin-left: auto;
  color: var(--emerald-primary);
  font-weight: 800;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.region-quick-btn.is-active .region-check-mark {
  opacity: 1;
}

/* Full Grid by Continents (Image 1 style Tesla) */
.region-continents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  background: #f8fafc;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
}

.region-continent-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.region-continent-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-headline);
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--border-color);
}

.region-country-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.region-country-row:hover {
  background: #ffffff;
  color: var(--brand-primary);
  transform: translateX(3px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.region-country-row.is-active {
  background: #ecfdf5;
  color: var(--brand-primary);
  font-weight: 700;
}

.country-label {
  font-size: 0.88rem;
  color: var(--text-headline);
  font-weight: 600;
}

.region-country-row:hover .country-label {
  color: var(--brand-primary);
}

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

/* ==========================================================================
   7. Floating Cookie Panel (Inspiré de Tesla / Image 1 & 2)
   ========================================================================== */
.cookie-floating-panel {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: calc(100% - 40px);
  max-width: 1040px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 16px;
  box-shadow: 0 16px 48px -10px rgba(12, 26, 20, 0.2), 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
  pointer-events: auto;
}

.cookie-floating-panel.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(40px);
}

.cookie-panel-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 28px;
}

.cookie-panel-text {
  flex: 1;
}

.cookie-panel-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-headline);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.cookie-panel-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
}

.cookie-policy-link {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-policy-link:hover {
  color: var(--emerald-primary);
}

.cookie-panel-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-action-btn {
  padding: 12px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: inherit;
}

.cookie-accept-btn {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(10, 92, 54, 0.25);
}

.cookie-accept-btn:hover {
  background: #064e3b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 92, 54, 0.35);
}

.cookie-reject-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border-color);
}

.cookie-reject-btn:hover {
  background: #f1f5f9;
  color: var(--text-headline);
  border-color: #94a3b8;
}

@media (max-width: 820px) {
  .cookie-panel-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 20px;
  }

  .cookie-panel-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-action-btn {
    text-align: center;
    padding: 12px 14px;
  }

  .region-modal-container {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   8. Petabyte-Scale (Po / PB) Highlights & Volume Presets
   ========================================================================== */
.volume-presets-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.volume-preset-btn {
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  background: #ffffff;
  border-radius: var(--radius-pill);
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  font-family: inherit;
}

.volume-preset-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: #f0fdf4;
}

.volume-preset-btn.active {
  border-color: var(--emerald-primary);
  background: #ecfdf5;
  color: var(--brand-primary);
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--emerald-primary);
}

.volume-preset-btn.highlight-pb {
  border-color: #a7f3d0;
  background: #fafffc;
}

.volume-preset-btn.highlight-pb.active {
  border-color: var(--emerald-primary);
  background: #d1fae5;
  color: #065f46;
}

.volume-pb-indicator {
  display: inline-block;
  padding: 3px 8px;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: #065f46;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  animation: pulse-pb 2s infinite ease-in-out;
}

.volume-pb-indicator.is-hidden {
  display: none !important;
}

.volume-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.volume-slider-header span {
  font-weight: 600;
  color: var(--text-headline);
  font-size: 0.95rem;
  line-height: 1.35;
}

.volume-val-display {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--brand-primary);
  text-align: right;
  margin-left: auto;
}

.volume-pb-indicator-row {
  min-height: 22px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

#display-cost-per-tb,
#carbon-kwh-display {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* Datacenter Scale Presets (France & US) */
.datacenter-presets-section {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
}

.datacenter-presets-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.datacenter-presets-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.datacenter-preset-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background: #ffffff;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-headline);
  white-space: nowrap;
}

.datacenter-preset-btn:hover {
  border-color: var(--brand-primary);
  background: #f0fdf4;
  transform: translateY(-1px);
}

.datacenter-preset-btn.active {
  border-color: var(--brand-primary);
  background: #ecfdf5;
  color: var(--brand-primary);
  box-shadow: 0 0 0 2px rgba(10, 92, 54, 0.15);
}

.datacenter-preset-info {
  margin-top: 8px;
  padding: 6px 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
  font-weight: 500;
}

.datacenter-preset-info.is-hidden {
  display: none !important;
}

@media (max-width: 480px) {
  .datacenter-presets-row {
    grid-template-columns: 1fr;
  }
}

@keyframes pulse-pb {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ==========================================================================
   9. Section Infrastructure, Énergie, Durabilité SSD & CAPEX/OPEX
   ========================================================================== */
.infra-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.infra-stat-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.infra-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(16, 185, 129, 0.4);
}

.infra-stat-card.highlight {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(10, 92, 54, 0.04) 100%);
  border-color: rgba(16, 185, 129, 0.35);
}

.infra-stat-val {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.infra-stat-lbl {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-headline);
  margin-bottom: 6px;
}

.infra-stat-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.infra-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.infra-pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.infra-pillar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: var(--shadow-md);
}

.infra-pillar-card.wide-pillar {
  grid-column: span 2;
}

.infra-pillar-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.infra-pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.infra-pillar-icon.icon-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

.infra-pillar-icon.icon-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.infra-pillar-icon.icon-blue {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

.infra-pillar-icon.icon-purple {
  background: rgba(139, 92, 246, 0.12);
  color: #7c3aed;
}

.infra-pillar-icon.icon-teal {
  background: rgba(20, 184, 166, 0.12);
  color: #0d9488;
}

.infra-pillar-icon.icon-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: #0891b2;
}

.infra-pillar-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-primary);
  background: var(--brand-light);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  margin-bottom: 6px;
}

.infra-pillar-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-headline);
  line-height: 1.3;
  margin: 0;
}

.infra-pillar-desc {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.infra-pillar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.infra-pillar-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-headline);
  line-height: 1.45;
}

.infra-pillar-list li svg {
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.infra-cta-banner {
  background: linear-gradient(135deg, #0a5c36 0%, #064e2b 100%);
  border-radius: var(--radius-xl);
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(10, 92, 54, 0.2);
}

.infra-cta-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.infra-cta-content p {
  font-size: 0.95rem;
  color: #d1fae5;
  margin: 0;
  line-height: 1.55;
}

.infra-cta-banner .btn-primary {
  background: #ffffff;
  color: #064e2b;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 13px 26px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.infra-cta-banner .btn-primary:hover {
  background: #ecfdf5;
  transform: translateY(-2px);
}

/* ==========================================================================
   Tableau Comparatif Hardware & Frugalité Mémoire
   ========================================================================== */
.infra-comparison-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.infra-comparison-header {
  margin-bottom: 22px;
}

.infra-comparison-title {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--text-headline);
  line-height: 1.3;
  margin: 8px 0 6px 0;
  letter-spacing: -0.01em;
}

.infra-comparison-desc {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
}

.infra-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.infra-comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  font-size: 0.88rem;
}

.infra-comparison-table th {
  padding: 12px 14px;
  text-align: left;
  background: #f8fafc;
  color: var(--text-headline);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
}

.infra-comparison-table td {
  padding: 14px 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-body);
  vertical-align: middle;
  line-height: 1.45;
}

.infra-comparison-table tr:hover {
  background: #fbfbfb;
}

.infra-comparison-table tr.highlight-kfs {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.09) 0%, rgba(10, 92, 54, 0.04) 100%);
}

.infra-comparison-table tr.highlight-kfs:hover {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.14) 0%, rgba(10, 92, 54, 0.06) 100%);
}

.infra-comparison-table tr.highlight-kfs td {
  border-bottom: 2px solid rgba(16, 185, 129, 0.35);
  color: #064e3b;
}

.infra-badge-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.infra-badge-tag.badge-green {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.infra-badge-tag.badge-red {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.infra-badge-tag.badge-amber {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

@media (max-width: 1100px) {
  .infra-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .infra-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .infra-pillars-grid {
    grid-template-columns: 1fr;
  }
  .infra-pillar-card.wide-pillar {
    grid-column: span 1;
  }
  .infra-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 26px 20px;
  }
}

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