/* ==========================================================================
   FALCOR - THE OCEAN DATA & CLOUD PHYSIQUE TRANSPARENT (www.falcor-cloud.com)
   Minimalist Light Design System (Derived from falcor.cloud Login Page)
   ========================================================================== */

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

:root {
  --falcor-soft-blue: #7095b6;
  --falcor-soft-blue-hover: #5d82a3;
  --falcor-soft-blue-light: #eef4f9;
  --falcor-blue-glow: rgba(112, 149, 182, 0.25);
  
  --falcor-dark: #1e293b;
  --falcor-dark-heading: #334155;
  --falcor-card-bg: #ffffff;
  --falcor-border-light: #e2e8f0;
  --falcor-border-focus: #7095b6;

  --ocean-emerald: #10b981;
  --ocean-emerald-light: #ecfdf5;
  --ocean-cyan: #0284c7;
  --ocean-red: #ef4444;
  --ocean-red-light: #fef2f2;

  --bg-grid: #eef3f8;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-hover: 0 15px 40px rgba(112, 149, 182, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-grid);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(#cbd5e1 0.85px, transparent 0.85px),
    linear-gradient(to bottom, #f8fafc 0%, var(--bg-grid) 100%);
  background-size: 20px 20px, 100% 100%;
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
button { font-family: var(--font-main); border: none; outline: none; cursor: pointer; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-grid); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--falcor-soft-blue); }

[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--falcor-dark);
  color: #ffffff;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

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

.section-padding {
  padding: 5.5rem 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  background: var(--falcor-soft-blue-light);
  border: 1px solid rgba(112, 149, 182, 0.3);
  color: var(--falcor-soft-blue);
  letter-spacing: 0.03em;
}

.badge-green {
  background: var(--ocean-emerald-light);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--ocean-emerald);
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ocean-emerald);
  box-shadow: 0 0 8px var(--ocean-emerald);
  animation: pulse-glow 1.5s infinite;
}

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

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--falcor-border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

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

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--falcor-dark);
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--falcor-soft-blue);
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--falcor-soft-blue);
}

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

.lang-selector {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid var(--falcor-border-light);
  border-radius: 8px;
  padding: 3px;
}

.lang-btn {
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: #ffffff;
  color: var(--falcor-soft-blue);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--falcor-soft-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--falcor-blue-glow);
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--falcor-soft-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(112, 149, 182, 0.35);
}

.btn-outline {
  background: #ffffff;
  color: var(--falcor-dark);
  border: 1px solid var(--falcor-border-light);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.btn-outline:hover {
  border-color: var(--falcor-soft-blue);
  color: var(--falcor-soft-blue);
  background: var(--falcor-soft-blue-light);
}

.btn-delete-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ocean-red-light);
  border: 1px solid var(--ocean-red);
  color: var(--ocean-red);
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-delete-red:hover {
  background: var(--ocean-red);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.hero {
  padding-top: 9rem;
  padding-bottom: 5rem;
  position: relative;
}

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

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

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--falcor-dark);
}

.text-highlight {
  color: var(--falcor-soft-blue);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.ocean-partner-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1.2rem;
  background: #ffffff;
  border: 1px solid var(--falcor-border-light);
  border-radius: 12px;
  width: fit-content;
  box-shadow: var(--shadow-card);
}

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

.ocean-partner-highlight {
  color: var(--falcor-soft-blue);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-style-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--falcor-border-light);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--shadow-hover);
  position: relative;
}

.card-header-clean {
  text-align: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--falcor-border-light);
  margin-bottom: 1.5rem;
}

.card-header-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--falcor-soft-blue);
  text-transform: uppercase;
}

/* Dual Live Dynamic Graphs Container (Consommation Électrique + Température) */
.dual-graphs-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--falcor-border-light);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.graph-zone {
  background: #f8fafc;
  border: 1px solid var(--falcor-border-light);
  border-radius: 10px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
}

.graph-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
}

.graph-title-power {
  color: var(--falcor-soft-blue);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.graph-title-temp {
  color: var(--ocean-emerald);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.graph-live-value {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
}

.telemetry-canvas {
  width: 100%;
  height: 65px;
  display: block;
}

/* Telemetry Grid Minimalist */
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.telemetry-card-light {
  background: #f8fafc;
  border: 1px solid var(--falcor-border-light);
  border-radius: 12px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.telemetry-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.telemetry-val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--falcor-dark);
}

.telemetry-unit {
  font-size: 0.75rem;
  color: var(--falcor-soft-blue);
  margin-left: 2px;
}

.section-title-wrapper {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--falcor-dark);
}

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

.telemetry-section {
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid var(--falcor-border-light);
  border-bottom: 1px solid var(--falcor-border-light);
}

.map-dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: stretch;
}

.subsea-map-card-light {
  background: #ffffff;
  border: 1px solid var(--falcor-border-light);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.pod-status-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pod-status-item-light {
  background: #ffffff;
  border: 1px solid var(--falcor-border-light);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
}

.pod-status-item-light:hover {
  border-color: var(--falcor-soft-blue);
  box-shadow: var(--shadow-hover);
}

.pod-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pod-node-icon-light {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--falcor-soft-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--falcor-soft-blue);
  font-size: 1.1rem;
}

.pod-node-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--falcor-dark);
}

.pod-node-loc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.simulator-card-light {
  background: #ffffff;
  border: 1px solid var(--falcor-border-light);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.drop-zone-light {
  border: 2px dashed var(--falcor-soft-blue);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  background: var(--falcor-soft-blue-light);
  cursor: pointer;
  transition: all 0.25s ease;
}

.drop-zone-light:hover {
  background: #e2eeea;
  border-color: var(--falcor-soft-blue-hover);
}
/* Variante lien vers le formulaire de contact (pas de vrai upload) */
a.drop-zone-cta {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.drop-zone-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(112, 149, 182, 0.15);
}

.drop-icon-light {
  font-size: 2.8rem;
  color: var(--falcor-soft-blue);
  margin-bottom: 1rem;
}

.transfer-progress-box {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #f8fafc;
  border: 1px solid var(--falcor-border-light);
  border-radius: 14px;
  display: none;
}

.progress-bar-outer {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin: 1rem 0;
}

.progress-bar-inner {
  height: 100%;
  width: 0%;
  background: var(--falcor-soft-blue);
  border-radius: 4px;
  transition: width 0.1s linear;
}

.crypto-hash-output {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ocean-emerald);
  word-break: break-all;
  background: #ffffff;
  border: 1px solid var(--falcor-border-light);
  padding: 0.75rem;
  border-radius: 8px;
  margin-top: 0.75rem;
}

.share-link-result {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--ocean-emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card-light {
  background: #ffffff;
  border: 1px solid var(--falcor-border-light);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card-light:hover {
  transform: translateY(-3px);
  border-color: var(--falcor-soft-blue);
  box-shadow: var(--shadow-hover);
}

.feature-icon-box-light {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--falcor-soft-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--falcor-soft-blue);
  font-size: 1.4rem;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--falcor-dark);
}

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

.ai-agent-card-light {
  background: #ffffff;
  border: 1px solid var(--falcor-border-light);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.ai-chat-window-light {
  background: #f8fafc;
  border: 1px solid var(--falcor-border-light);
  border-radius: 16px;
  height: 340px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ai-chat-header-light {
  padding: 1rem;
  background: #ffffff;
  border-bottom: 1px solid var(--falcor-border-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ai-chat-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-user {
  align-self: flex-end;
  background: var(--falcor-soft-blue);
  color: #ffffff;
  border-bottom-right-radius: 2px;
}

.chat-ai {
  align-self: flex-start;
  background: #ffffff;
  color: var(--falcor-dark);
  border-bottom-left-radius: 2px;
  border: 1px solid var(--falcor-border-light);
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.prompt-btn-light {
  background: #ffffff;
  border: 1px solid var(--falcor-border-light);
  color: var(--text-main);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  text-align: left;
  font-size: 0.85rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: all 0.2s ease;
}

.prompt-btn-light:hover {
  border-color: var(--falcor-soft-blue);
  background: var(--falcor-soft-blue-light);
  color: var(--falcor-soft-blue);
}

.calc-card-light {
  background: #ffffff;
  border: 1px solid var(--falcor-border-light);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.range-slider-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  accent-color: var(--falcor-soft-blue);
  cursor: pointer;
}

.calc-results-box-light {
  background: var(--ocean-emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.calc-big-stat {
  font-size: 3rem;
  font-weight: 800;
  color: var(--ocean-emerald);
  line-height: 1;
}

.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Bandeau « inclus dans tous les plans » */
.pricing-baseline {
  max-width: 900px;
  margin: 0 auto 2rem;
  background: var(--falcor-soft-blue-light);
  border: 1px solid rgba(112, 149, 182, 0.28);
  border-radius: 14px;
  padding: 1.25rem 1.75rem;
}
.pricing-baseline-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--falcor-soft-blue);
  margin-bottom: 0.75rem;
  text-align: center;
}
.pricing-baseline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.5rem 1.25rem;
}
.pricing-baseline-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--falcor-dark);
  line-height: 1.4;
}
.pricing-baseline-list li i,
.pricing-baseline-list li .flag {
  color: var(--falcor-soft-blue);
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

/* Interrupteur mensuel / annuel */
.pricing-toggle {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  cursor: pointer;
  flex-shrink: 0;
}
.pricing-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.pricing-toggle .knob {
  position: absolute;
  inset: 0;
  background: #cbd5e1;
  border-radius: 999px;
  transition: background 200ms ease;
}
.pricing-toggle .knob::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 200ms ease;
}
.pricing-toggle input:checked + .knob {
  background: var(--falcor-soft-blue);
}
.pricing-toggle input:checked + .knob::before {
  transform: translateX(24px);
}
.pricing-toggle input:focus-visible + .knob {
  outline: 2px solid var(--falcor-soft-blue);
  outline-offset: 2px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.pricing-grid.pricing-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  gap: 1.75rem;
}

/* Passage 2 colonnes puis 1 colonne selon la largeur */
@media (max-width: 1024px) {
  .pricing-grid.pricing-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 780px;
  }
  .pricing-grid.pricing-grid-3 .pricing-card-light:last-child {
    grid-column: 1 / -1;
    max-width: 420px;
    justify-self: center;
  }
}
@media (max-width: 720px) {
  .pricing-grid.pricing-grid-3 {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .pricing-grid.pricing-grid-3 .pricing-card-light:last-child {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }
  .pricing-price {
    font-size: 1.9rem;
  }
  .pricing-price .pricing-period { font-size: 0.75rem; }
  /* Bloc Souverain aussi responsive */
  .pricing-sovereign-inner {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.4rem;
  }
  .pricing-sovereign-features {
    grid-template-columns: 1fr;
  }
  .pricing-baseline-list {
    grid-template-columns: 1fr;
  }
}

/* ─── Formule Souverain — présentation à part ─── */
.pricing-sovereign {
  margin: 3rem auto 0;
  max-width: 1100px;
  background: linear-gradient(135deg, #1e293b 0%, #2c3e50 55%, #334155 100%);
  border-radius: 22px;
  padding: 0.5px; /* pour l'effet halo bord doré */
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(30, 41, 59, 0.22);
}
.pricing-sovereign::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(213, 176, 106, 0.7), transparent 40%, rgba(112, 149, 182, 0.7));
  z-index: 0;
  pointer-events: none;
}
.pricing-sovereign-inner {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #1e293b 0%, #253449 55%, #2c3e50 100%);
  border-radius: 21px;
  padding: 2.5rem 2.8rem;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
  color: #ffffff;
}
.pricing-sovereign-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0c46a;
  background: rgba(240, 196, 106, 0.14);
  border: 1px solid rgba(240, 196, 106, 0.35);
  margin-bottom: 1rem;
}
.pricing-sovereign-badge i { color: #f0c46a; }
.pricing-sovereign-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}
.pricing-sovereign-lead {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
  margin: 0 0 1.5rem;
}
.pricing-sovereign-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.btn-sovereign {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #f0c46a;
  color: #1e293b;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}
.btn-sovereign:hover {
  background: #e5b656;
  transform: translateY(-1px);
}
.pricing-sovereign-price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}
.pricing-sovereign-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.4rem;
}
.pricing-sovereign-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}
.pricing-sovereign-features li i {
  color: #f0c46a;
  width: 16px;
  text-align: center;
  margin-top: 3px;
  flex-shrink: 0;
}
@media (max-width: 780px) {
  .pricing-sovereign-inner {
    grid-template-columns: 1fr;
    padding: 2rem 1.6rem;
    gap: 1.6rem;
  }
  .pricing-sovereign-features { grid-template-columns: 1fr; }
  .pricing-sovereign-title { font-size: 1.7rem; }
}

.pricing-card-light {
  background: #ffffff;
  border: 1px solid var(--falcor-border-light);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
}

.pricing-card-light.popular {
  border-color: var(--falcor-soft-blue);
  box-shadow: var(--shadow-hover);
  transform: scale(1.03);
}

.popular-badge-light {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--falcor-soft-blue);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 12px;
  text-transform: uppercase;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--falcor-dark);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0.4rem;
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  margin: 1rem 0;
  color: var(--falcor-dark);
  white-space: nowrap;
}

.pricing-period {
  font-size: 0.8rem;
  font-family: var(--font-main);
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.5rem 0 2rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.check-icon {
  color: var(--ocean-emerald);
  font-weight: bold;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-form-light {
  background: #ffffff;
  border: 1px solid var(--falcor-border-light);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-hover);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--falcor-dark-heading);
  text-transform: uppercase;
}

.form-input, .form-select {
  background: #ffffff;
  border: 1px solid var(--falcor-border-light);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--falcor-dark);
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus {
  border-color: var(--falcor-border-focus);
  box-shadow: 0 0 0 3px rgba(112, 149, 182, 0.15);
}

.footer-light {
  background: #ffffff;
  border-top: 1px solid var(--falcor-border-light);
  padding: 4rem 0 2rem 0;
}

/* Bloc brand : pleine largeur, respiration */
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--falcor-border-light);
  flex-wrap: wrap;
}
.footer-brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-brand-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex: 1 1 320px;
  max-width: 640px;
}
.footer-brand-text strong {
  color: var(--falcor-dark);
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

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

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand-row { padding-bottom: 1.75rem; margin-bottom: 1.75rem; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Compat : ancien conteneur .footer-brand (au cas où) */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--falcor-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-bottom-light {
  border-top: 1px solid var(--falcor-border-light);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card-light {
  background: #ffffff;
  border: 1px solid var(--falcor-border-light);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .hero-grid, .map-dashboard-grid, .ai-agent-card-light, .calc-card-light, .contact-grid {
    grid-template-columns: 1fr;
  }
  .features-grid, .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 2.4rem;
  }
  /* Nav : compacter pour laisser de la place au bouton falcor.cloud */
  .navbar-inner { height: 68px; }
  .nav-links { gap: 1.1rem; }
  .nav-link { font-size: 0.82rem; }
  .nav-actions { gap: 0.75rem; }
  #app-login-btn { padding: 0.55rem 1rem; font-size: 0.85rem; }
  #app-login-btn i { display: none; }
}

@media (max-width: 900px) {
  /* Cache les liens de section — on garde logo + langue + bouton falcor.cloud */
  .nav-links { display: none; }
  /* Le bouton d'accès à l'app est priorité #1 : il ne rétrécit jamais. */
  #app-login-btn { flex-shrink: 0; }
  .lang-selector { flex-shrink: 1; min-width: 0; }
}

@media (max-width: 640px) {
  .features-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .telemetry-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 1.9rem;
  }
  /* Nav mobile : logo puis boutons tout de suite à sa droite (pas de space-between).
     La langue reste visible ; le bouton falcor.cloud reste prioritaire. */
  .navbar .container { padding: 0 0.75rem; }
  .navbar-inner {
    height: 60px;
    justify-content: flex-start;
    gap: 0.75rem;
  }
  .logo-img { height: 34px; }
  nav { display: none; }
  .nav-actions {
    margin-left: 0;
    gap: 0.5rem;
  }
  #app-login-btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
    box-shadow: 0 2px 8px rgba(112, 149, 182, 0.35);
  }
  #app-login-btn i { display: inline-block; margin-right: 4px; font-size: 0.85em; }
  .lang-selector { padding: 2px; }
  .lang-btn { padding: 3px 6px; font-size: 0.72rem; }
}

/* ─── Pages légales (Politique de confidentialité, CGU) ─── */
.legal-page {
  padding: 4rem 0 5rem;
  background: #ffffff;
  color: var(--falcor-dark);
}
.legal-container {
  max-width: 780px;
}
.legal-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--falcor-soft-blue);
  margin-bottom: 0.75rem;
}
.legal-page h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--falcor-dark);
  margin: 0 0 0.5rem;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.legal-updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0 0 2.5rem;
}
.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--falcor-dark);
  margin: 2.25rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--falcor-border-light);
}
.legal-page h2:first-of-type { border-top: none; padding-top: 0; margin-top: 1rem; }
.legal-page h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--falcor-dark);
  margin: 1.5rem 0 0.5rem;
}
.legal-page p, .legal-page li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--falcor-dark);
}
.legal-page ul { padding-left: 1.4rem; margin: 0.5rem 0 1rem; }
.legal-page li { margin-bottom: 0.35rem; }
.legal-page a { color: var(--falcor-soft-blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-page a:hover { color: var(--falcor-soft-blue-hover); }
.legal-page code {
  background: #f4f7fa;
  border: 1px solid var(--falcor-border-light);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.legal-page .legal-back {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--falcor-border-light);
  font-size: 0.9rem;
}

/* Liens légaux dans le footer */
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  justify-content: center;
  padding: 1rem 0 0.5rem;
  border-top: 1px solid var(--falcor-border-light);
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-legal-links a { color: var(--text-muted); text-decoration: none; }
.footer-legal-links a:hover { color: var(--falcor-soft-blue); text-decoration: underline; }
.footer-legal-links .sep { opacity: 0.5; }

/* Lecteur vidéo — page OAuth demo */
.oauth-demo-video {
  margin: 2rem 0 2.5rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(30, 41, 59, 0.16);
  background: #000000;
}
.oauth-demo-video video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
}
