/* ==========================================================================
   ALVEO Group — Stylesheet principal
   Identité : sombre, premium, corporate, moderne
   ========================================================================== */

/* --------------------------------------------------------------------------
   00. Assistant ALVEO — chatbot premium
   -------------------------------------------------------------------------- */
.assistant-fab {
  position: fixed;
  right: 24px; bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 62px;
  padding: 0 22px 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2B7BFF 0%, #1853C7 70%, #7DD957 130%);
  color: #fff;
  border: 0;
  cursor: pointer;
  z-index: 92;
  box-shadow: 0 12px 36px rgba(43, 123, 255, 0.45), 0 4px 10px rgba(0,0,0,0.25);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: transform 260ms cubic-bezier(.2,.7,.3,1), box-shadow 260ms ease;
}
.assistant-fab:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 50px rgba(43, 123, 255, 0.55), 0 6px 14px rgba(0,0,0,0.3);
}
.assistant-fab:active { transform: translateY(-1px) scale(0.99); }

.assistant-fab svg {
  width: 22px; height: 22px;
  margin-right: 10px;
  flex-shrink: 0;
}
.assistant-fab-label { white-space: nowrap; }
.assistant-fab { overflow: visible; }
.assistant-fab-dot {
  position: absolute;
  top: -4px; right: -4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--c-green);
  border: 3px solid #060E1F;
  box-shadow: 0 0 0 0 rgba(125, 217, 87, 0.7),
              0 2px 6px rgba(0,0,0,0.35);
  animation: liveDotPulse 2s ease-out infinite;
}

.assistant-fab.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.9);
}

/* === Panneau de chat === */
.assistant-panel {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 580px;
  max-height: calc(100vh - 48px);
  background: linear-gradient(180deg, #0A1733 0%, #060E1F 100%);
  border: 1px solid var(--c-border-strong);
  border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(43,123,255,0.18);
  overflow: hidden;
  z-index: 93;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.94);
  opacity: 0;
  pointer-events: none;
  transition: transform 340ms cubic-bezier(.2,.7,.3,1), opacity 280ms ease;
}
.assistant-panel.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* Header */
.assistant-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(43,123,255,0.32), transparent 60%),
    linear-gradient(180deg, #0e2247, #0a1733);
  border-bottom: 1px solid var(--c-border);
  position: relative;
}
.assistant-avatar {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(6,14,31,0.7);
  border: 1px solid var(--c-border-strong);
  display: grid; place-items: center;
  padding: 4px;
  flex-shrink: 0;
}
.assistant-avatar img { width: 100%; height: 100%; object-fit: contain; }

.assistant-header-text {
  flex: 1;
  display: flex; flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.assistant-header-text strong {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}
.assistant-status {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
}
.assistant-status .status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 8px var(--c-green);
}

.assistant-close {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--c-border);
  color: var(--c-text);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
  flex-shrink: 0;
}
.assistant-close:hover { background: rgba(255,255,255,0.10); color: #fff; }
.assistant-close svg { width: 16px; height: 16px; }

/* Body — historique des messages */
.assistant-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px;
  display: flex; flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}
.assistant-body::-webkit-scrollbar { width: 6px; }
.assistant-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.msg {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  animation: msgIn 360ms cubic-bezier(.2,.7,.3,1);
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.msg.bot {
  align-self: flex-start;
  background: rgba(43,123,255,0.10);
  border: 1px solid rgba(43,123,255,0.22);
  color: var(--c-text);
  border-bottom-left-radius: 4px;
}
.msg.user {
  align-self: flex-end;
  background: var(--grad-brand);
  color: #061229;
  font-weight: 500;
  border-bottom-right-radius: 4px;
}
.msg strong { color: #fff; }
.msg.bot a { color: var(--c-green-light); text-decoration: underline; }
.msg .msg-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.msg .msg-cta + .msg-cta { margin-left: 6px; }
.msg .msg-cta--wa {
  background: #25D366;
  color: #fff;
}
.msg .msg-cta--wa:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(37,211,102,0.5); }
.msg .msg-cta--form {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid var(--c-border-strong);
}
.msg .msg-cta--form:hover { background: rgba(255,255,255,0.14); transform: translateY(-1px); }
.msg .msg-cta svg { width: 14px; height: 14px; }

/* Gros bouton CTA "Parler à un expert" */
.msg .msg-cta--talk {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 14px;
  padding: 13px 20px;
  background: var(--grad-brand);
  color: #061229;
  font-size: 0.92rem;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(43,123,255,0.35);
  border-radius: 999px;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.msg .msg-cta--talk:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(43,123,255,0.45);
}
.msg .msg-cta--talk svg { width: 18px; height: 18px; }

/* Réassurance sous le CTA */
.msg-reassure {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--c-green-light);
  text-align: center;
  letter-spacing: 0.02em;
}

/* Typing indicator */
.typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  align-self: flex-start;
  background: rgba(43,123,255,0.10);
  border: 1px solid rgba(43,123,255,0.22);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}
.typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-blue-light);
  animation: typingBounce 1.4s ease-in-out infinite;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30%           { opacity: 1;   transform: translateY(-4px); }
}

/* Quick actions row */
.assistant-actions {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(6,14,31,0.5);
}
.quick-btn {
  flex: 1 1 calc(50% - 4px);
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  color: var(--c-text);
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.quick-btn:hover {
  border-color: var(--c-blue-light);
  background: rgba(43,123,255,0.08);
  transform: translateY(-1px);
}
.quick-btn .quick-emoji { margin-right: 6px; }

/* Champ de saisie IA */
.assistant-compose {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--c-border);
  background: rgba(6,14,31,0.55);
}
.assistant-compose textarea {
  flex: 1;
  resize: none;
  font-family: var(--ff-body);
  font-size: 0.92rem;
  line-height: 1.4;
  color: #fff;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 10px 14px;
  min-height: 40px;
  max-height: 120px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.assistant-compose textarea:focus {
  outline: none;
  border-color: var(--c-blue-light);
  box-shadow: 0 0 0 3px rgba(43,123,255,0.18);
}
.assistant-compose textarea::placeholder { color: var(--c-text-dim); }
.assistant-honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important; height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.assistant-send {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: var(--grad-brand);
  color: #061229;
  display: grid;
  place-items: center;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.assistant-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(43,123,255,0.4);
}
.assistant-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.assistant-send svg { width: 18px; height: 18px; }

/* Foot */
.assistant-foot {
  padding: 10px 16px;
  text-align: center;
  font-size: 0.72rem;
  color: var(--c-text-dim);
  border-top: 1px solid var(--c-border);
  background: #060E1F;
}
.assistant-foot strong {
  color: var(--c-text-muted);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Mini-formulaire de contact intégré dans l'assistant */
.wa-gate {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  padding: 14px;
  background: rgba(6,14,31,0.5);
  border: 1px solid var(--c-border-strong);
  border-radius: 14px;
}
.wa-gate-title {
  font-family: var(--ff-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-green-light);
}
.wa-gate-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wa-gate-field label {
  font-family: var(--ff-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.wa-gate-field input,
.wa-gate-field select,
.wa-gate-field textarea {
  font-family: var(--ff-body);
  font-size: 0.92rem;
  color: #fff;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 10px 12px;
  width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.wa-gate-field textarea { resize: vertical; min-height: 70px; font-family: inherit; }
.wa-gate-field input:focus,
.wa-gate-field select:focus,
.wa-gate-field textarea:focus {
  outline: none;
  border-color: var(--c-green-light);
  box-shadow: 0 0 0 3px rgba(125,217,87,0.18);
}

/* Variante "brand" pour le bouton de soumission du formulaire de chat */
.wa-gate-submit--brand {
  background: var(--grad-brand);
  color: #061229;
  font-weight: 700;
}
.wa-gate-submit--brand:hover {
  box-shadow: 0 10px 28px rgba(43,123,255,0.45);
}

/* Spinner pendant envoi */
.dot-spin {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  animation: dotSpin 700ms linear infinite;
  vertical-align: -3px;
  margin-right: 6px;
}
@keyframes dotSpin { to { transform: rotate(360deg); } }
.wa-gate-field.has-error input,
.wa-gate-field.has-error select {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255,107,107,0.18);
}
/* Honeypot caché */
.wa-gate-honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.wa-gate-error {
  font-size: 0.78rem;
  color: #ff9b9b;
  display: none;
}
.wa-gate-error.is-visible { display: block; }
.wa-gate-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  background: #25D366;
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.wa-gate-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(37,211,102,0.5); }
.wa-gate-submit svg { width: 16px; height: 16px; }
.wa-gate-submit:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

/* Titre avec icône bouclier */
.wa-gate-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.wa-gate-title svg {
  width: 14px; height: 14px;
  color: var(--c-green-light);
  flex-shrink: 0;
}

/* Bloc anti-bot maths élégant */
.wa-gate-math .wa-gate-math-icon { margin-right: 4px; }
.wa-gate-math-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(43,123,255,0.08);
  border: 1px solid rgba(43,123,255,0.22);
  border-radius: 12px;
  padding: 10px 14px;
}
.wa-gate-math.has-error .wa-gate-math-row {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255,107,107,0.18);
  background: rgba(255,107,107,0.05);
}
.wa-gate-math-q {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.04em;
}
.wa-gate-math-q .num {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(43,123,255,0.25), rgba(125,217,87,0.18));
  border: 1px solid var(--c-border-strong);
}
.wa-gate-math-q .op {
  color: var(--c-green-light);
  font-weight: 700;
}
.wa-gate-math-row input {
  width: 64px;
  text-align: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 8px 10px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--c-border-strong);
  color: #fff;
  border-radius: 8px;
  -moz-appearance: textfield;
}
.wa-gate-math-row input::-webkit-outer-spin-button,
.wa-gate-math-row input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wa-gate-math-row input:focus {
  outline: none;
  border-color: var(--c-green-light);
  box-shadow: 0 0 0 3px rgba(125,217,87,0.22);
}

/* Mobile */
@media (max-width: 720px) {
  .assistant-fab {
    height: 56px;
    padding: 0 18px;
    right: 16px; bottom: 16px;
  }
  .assistant-fab svg { width: 20px; height: 20px; }
  .assistant-fab-label { font-size: 0.85rem; }
  .assistant-panel {
    right: 8px; left: 8px; bottom: 8px;
    width: auto;
    height: calc(100vh - 16px);
    max-height: none;
    border-radius: 18px;
  }
}

/* --------------------------------------------------------------------------
   0. Loader d'entrée
   -------------------------------------------------------------------------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #060E1F;
  display: grid;
  place-items: center;
  transition: opacity 600ms ease, visibility 600ms;
}
.page-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.page-loader-mark {
  width: 110px; height: 110px;
  position: relative;
  display: grid; place-items: center;
}
.page-loader-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  animation: loaderLogoIn 1200ms cubic-bezier(.2,.7,.3,1) forwards;
  opacity: 0;
  transform: scale(0.8);
}
.page-loader-mark::before,
.page-loader-mark::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #2B7BFF;
  border-right-color: #7DD957;
  animation: loaderSpin 1.4s linear infinite;
}
.page-loader-mark::after {
  inset: -28px;
  border-top-color: #7DD957;
  border-left-color: #2B7BFF;
  animation-direction: reverse;
  animation-duration: 2s;
  opacity: 0.55;
}
.page-loader-label {
  position: absolute;
  bottom: 18%;
  font-family: var(--ff-display, "Space Grotesk", sans-serif);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
@keyframes loaderLogoIn {
  from { opacity: 0; transform: scale(0.6); filter: blur(8px); }
  to   { opacity: 1; transform: scale(1);   filter: blur(0); }
}
@keyframes loaderSpin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .page-loader-mark::before,
  .page-loader-mark::after { animation: none; }
  .page-loader-mark img    { animation: none; opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   1. Variables & reset
   -------------------------------------------------------------------------- */
:root {
  /* Palette */
  --c-bg:            #060E1F;
  --c-bg-2:          #0A1733;
  --c-bg-3:          #0F1F42;
  --c-surface:       #122a55;
  --c-surface-2:     #17326a;
  --c-border:        rgba(255, 255, 255, 0.08);
  --c-border-strong: rgba(255, 255, 255, 0.16);

  --c-text:          #EAF1FB;
  --c-text-muted:    #9FB0CC;
  --c-text-dim:      #6B7C99;

  --c-blue:          #2B7BFF;
  --c-blue-light:    #5CA0FF;
  --c-blue-deep:     #1853C7;
  --c-green:         #7DD957;
  --c-green-light:   #A3E635;

  --grad-brand:      linear-gradient(135deg, #2B7BFF 0%, #7DD957 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(43,123,255,0.18) 0%, rgba(125,217,87,0.14) 100%);
  --grad-hero:       radial-gradient(1200px 700px at 75% 20%, rgba(43,123,255,0.22), transparent 60%),
                     radial-gradient(900px 600px at 15% 80%, rgba(125,217,87,0.10), transparent 65%);

  /* Typo */
  --ff-display: "Space Grotesk", "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-body:    "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Sizing */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.25);
  --shadow:    0 10px 40px rgba(0,0,0,0.35);
  --shadow-lg: 0 24px 80px rgba(0,0,0,0.45);
  --shadow-brand: 0 20px 60px rgba(43,123,255,0.25);

  --container: 1240px;

  --t-fast: 180ms cubic-bezier(.2,.7,.3,1);
  --t:      280ms cubic-bezier(.2,.7,.3,1);
  --t-slow: 520ms cubic-bezier(.2,.7,.3,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background-color: var(--c-bg);
  background-image:
    radial-gradient(1000px 600px at 80% -100px, rgba(43,123,255,0.10), transparent 60%),
    radial-gradient(800px 500px at -100px 600px, rgba(125,217,87,0.05), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--c-blue-light);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--c-green-light); }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--c-blue); color: #fff; }

/* --------------------------------------------------------------------------
   2. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: #fff;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.5vw, 2.85rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; color: var(--c-text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-green-light);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--grad-brand);
}

.lead { font-size: 1.15rem; color: var(--c-text); opacity: 0.92; max-width: 60ch; }

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative;
}
.section--tight { padding: clamp(60px, 8vw, 100px) 0; }

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}
.section-head .lead { margin-left: auto; margin-right: auto; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border-strong), transparent);
  margin: 0;
  border: 0;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  background: transparent;
  color: #fff;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), border-color var(--t), color var(--t);
  white-space: nowrap;
  text-decoration: none;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t-fast); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--grad-brand);
  color: #061229;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { color: #061229; transform: translateY(-2px); box-shadow: 0 26px 70px rgba(43,123,255,0.35); }

.btn-ghost {
  border-color: var(--c-border-strong);
  color: #fff;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--c-blue-light); color: #fff; background: rgba(43,123,255,0.10); transform: translateY(-2px); }

.btn-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-blue-light);
  font-family: var(--ff-display);
  font-weight: 600;
}
.btn-link:hover { color: var(--c-green-light); }

/* --------------------------------------------------------------------------
   5. Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background var(--t), backdrop-filter var(--t), border-color var(--t), padding var(--t);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(6, 14, 31, 0.94);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom-color: var(--c-border);
  padding: 12px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 1.05rem; letter-spacing: 0.18em; }
.brand-text span { font-size: 0.65rem; color: var(--c-text-muted); letter-spacing: 0.34em; margin-top: 4px; font-weight: 500; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  padding: 0; margin: 0;
}
.nav-links a {
  color: var(--c-text);
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--grad-brand);
  transition: width var(--t);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

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

/* Sélecteur de langue */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: rgba(255,255,255,0.025);
  font-family: var(--ff-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
}
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--c-text-muted);
  padding: 7px 14px;
  border-radius: 999px;
  line-height: 1;
  transition: color var(--t-fast), background var(--t-fast);
}
.lang-switch a:hover { color: #fff; }
.lang-switch a.is-active {
  color: #061229;
  background: var(--grad-brand);
}
.lang-switch .sep { color: var(--c-text-dim); padding: 0 2px; }
.lang-switch .flag {
  display: inline-block;
  font-size: 0.95rem;
  line-height: 1;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.lang-switch .code {
  letter-spacing: 0.14em;
  display: inline-block;
  line-height: 1;
}

.mobile-lang {
  margin-bottom: 28px;
  display: flex;
  justify-content: center;
}

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--c-border-strong);
  background: rgba(255,255,255,0.04);
  color: #fff;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(140px, 18vh, 200px);
  padding-bottom: clamp(80px, 10vw, 140px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-hero);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  z-index: -1;
  opacity: 0.7;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-content h1 { margin-bottom: 24px; }
.hero-content h1 .accent { color: var(--c-green-light); }

.hero-content .lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); margin-bottom: 36px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--c-border);
}
.hero-meta div { line-height: 1.3; }
.hero-meta strong {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 4px;
}
.hero-meta span { font-size: 0.85rem; color: var(--c-text-muted); }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.hero-visual .halo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: var(--grad-brand);
  filter: blur(70px);
  opacity: 0.45;
  z-index: 0;
  animation: pulse 7s ease-in-out infinite;
}
.hero-visual .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  z-index: 1;
}
.hero-visual .ring--2 { inset: 8%; border-color: var(--c-border-strong); }
.hero-visual .ring--3 { inset: 16%; border-color: rgba(125, 217, 87, 0.25); }
.hero-visual img {
  position: relative;
  z-index: 2;
  width: 76%;
  filter: drop-shadow(0 30px 60px rgba(43,123,255,0.35));
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50%      { transform: scale(1.08); opacity: 0.6; }
}

/* --------------------------------------------------------------------------
   7. Trust strip (sous le hero)
   -------------------------------------------------------------------------- */
.trust-strip {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: rgba(255,255,255,0.015);
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.trust-strip p {
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 500;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--c-text-dim);
}
.trust-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--c-text);
  background: rgba(255,255,255,0.02);
}
.trust-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 4px rgba(125,217,87,0.18);
}

/* --------------------------------------------------------------------------
   8. Section "Le Groupe"
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-text h2 { margin-bottom: 24px; }
.about-text p { font-size: 1.05rem; }

.about-points {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 18px;
}
.about-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--c-text);
}
.about-points li svg {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  color: var(--c-green-light);
  margin-top: 3px;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,14,31,0.85) 100%);
}
.about-visual .visual-tag {
  position: absolute;
  left: 24px; bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(6,14,31,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--c-border-strong);
}
.about-visual .visual-tag .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c-green); box-shadow: 0 0 14px var(--c-green);
}
.about-visual .visual-tag span {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: #fff;
}

/* --------------------------------------------------------------------------
   9. Section Filiales
   -------------------------------------------------------------------------- */
.subsidiaries {
  background:
    radial-gradient(800px 500px at 90% 10%, rgba(43,123,255,0.10), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(125,217,87,0.06), transparent 60%);
}

.subs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 32px;
}

.sub-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
}
.sub-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-border-strong);
  box-shadow: var(--shadow-lg);
}

.sub-card-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.sub-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.3,1);
}
.sub-card:hover .sub-card-media img { transform: scale(1.06); }
.sub-card-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,14,31,0.05) 0%, rgba(6,14,31,0.45) 50%, rgba(6,14,31,0.96) 100%);
}

/* Tag en haut à droite */
.sub-card-tag {
  position: absolute;
  top: 18px; right: 18px;
  z-index: 2;
  font-family: var(--ff-display);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(6,14,31,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-border-strong);
}

/* Badge logo de filiale (logo carré complet, contient déjà le texte ALVEO NEOVIA / MOVE) */
.sub-card-logo-badge {
  position: absolute;
  left: 26px;
  bottom: 26px;
  z-index: 2;
  width: 132px;
  height: 132px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--c-border-strong);
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  background: #060E1F;
  transition: transform var(--t);
}
.sub-card-logo-badge img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.sub-card:hover .sub-card-logo-badge { transform: translateY(-3px); }

@media (max-width: 720px) {
  .sub-card-logo-badge { width: 108px; height: 108px; left: 18px; bottom: 18px; border-radius: 14px; }
}

.sub-card-body {
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sub-card-pitch { font-size: 1rem; color: var(--c-text-muted); margin: 0 0 22px; }
.sub-card-pitch strong { color: #fff; font-weight: 600; }

.sub-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sub-features li {
  font-size: 0.82rem;
  color: var(--c-text);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: rgba(255,255,255,0.025);
}

.sub-card-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* --------------------------------------------------------------------------
   8bis. Comparateur Avant / Après
   -------------------------------------------------------------------------- */
.compare-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  user-select: none;
  touch-action: none;
  max-width: 920px;
  margin: 0 auto;
}
.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.compare-img--after { z-index: 2; }
.compare-after-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 50%;
  overflow: hidden;
  border-right: 2px solid rgba(255,255,255,0.9);
}
.compare-after-wrap img { object-position: left center; width: 200%; }
.compare-label {
  position: absolute;
  top: 16px;
  z-index: 3;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(6,14,31,0.78);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-border-strong);
  color: #fff;
}
.compare-label--before { left: 16px; }
.compare-label--after  { right: 16px; }

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent, #fff 20%, #fff 80%, transparent);
  z-index: 4;
  cursor: ew-resize;
  transform: translateX(-50%);
}
.compare-handle::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.compare-handle::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 24px; height: 24px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23061229' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M8 6l-4 6 4 6M16 6l4 6-4 6'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 5;
}
@media (max-width: 720px) {
  .compare-handle::after { width: 44px; height: 44px; }
}

/* --------------------------------------------------------------------------
   9bis. Marquee
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--c-border);
  background:
    linear-gradient(180deg, rgba(43,123,255,0.05), rgba(0,0,0,0)),
    var(--c-bg);
  padding: 18px 0;
  position: relative;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--c-bg), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--c-bg), transparent); }

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--c-text);
  text-transform: uppercase;
}
.marquee-track .sep { color: var(--c-green-light); font-size: 0.85rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   9ter. Live dot (utilisé partout)
   -------------------------------------------------------------------------- */
.live-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c-green);
  position: relative;
  box-shadow: 0 0 0 0 rgba(125, 217, 87, 0.7);
  animation: liveDotPulse 2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes liveDotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(125, 217, 87, 0.7); }
  70%  { box-shadow: 0 0 0 14px rgba(125, 217, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 217, 87, 0); }
}

/* Hero live badge */
.hero-live {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(6,14,31,0.78);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-border-strong);
  font-family: var(--ff-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* --------------------------------------------------------------------------
   9quater. Section Plateforme connectée
   -------------------------------------------------------------------------- */
.platform {
  background:
    radial-gradient(900px 600px at 90% 50%, rgba(43,123,255,0.12), transparent 65%),
    radial-gradient(700px 500px at 10% 30%, rgba(125,217,87,0.07), transparent 60%);
  position: relative;
  overflow: hidden;
}
.platform::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.platform-text h2 { margin-bottom: 22px; }
.platform-text p { font-size: 1.05rem; }

.platform-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  display: grid;
  gap: 12px;
}
.platform-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--c-border);
  background: rgba(255,255,255,0.02);
  color: var(--c-text);
  font-size: 0.97rem;
  transition: border-color var(--t), transform var(--t-fast);
}
.platform-list li:hover { border-color: var(--c-blue-light); transform: translateX(4px); }
.platform-list .bullet {
  font-family: var(--ff-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-green-light);
  min-width: 28px;
}

/* Platform visual = container + KPI cards floating */
.platform-visual {
  position: relative;
  width: 100%;
  min-height: 420px;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin: 0 auto;
  justify-self: center;
}

.platform-lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}
.dash-line {
  stroke-dasharray: 6 6;
  animation: dashFlow 14s linear infinite;
}
@keyframes dashFlow {
  to { stroke-dashoffset: -240; }
}

/* ============ Smart container — VRAI conteneur 20 pieds 3D ============
   Proportions réelles 20' shipping container :
   Longueur 6.06m · Largeur 2.44m · Hauteur 2.59m
   Ratio L:l ≈ 2.48 ; l:h ≈ 0.94
   ====================================================================== */
:root { --cube-depth: 70px; }

.smart-container {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  aspect-ratio: 2.48 / 1; /* long format = vraie face du container vue de côté */
  z-index: 2;
  perspective: 1600px;
  perspective-origin: center 55%;
}

.cube3d {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: cube3dRotate 24s linear infinite;
  transform-origin: center center;
}
.smart-container:hover .cube3d { animation-play-state: paused; }

@keyframes cube3dRotate {
  0%   { transform: rotateX(-12deg) rotateY(20deg); }
  100% { transform: rotateX(-12deg) rotateY(380deg); }
}

/* Couleurs container : tôle métallisée bleu nuit */
.cube3d-face {
  position: absolute;
  background: linear-gradient(180deg, #1a3367 0%, #0e2247 50%, #0a1733 100%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), inset 0 -1px 0 rgba(0,0,0,0.4);
  backface-visibility: hidden;
  overflow: hidden;
}

/* Long côté (avant + arrière) — face principale qui montre le logo */
.cube3d-front,
.cube3d-back { inset: 0; border-radius: 3px; }
.cube3d-front { transform: translateZ(var(--cube-depth)); }
.cube3d-back  { transform: rotateY(180deg) translateZ(var(--cube-depth)); }

/* Petits côtés = portes du container */
.cube3d-left,
.cube3d-right {
  top: 0; bottom: 0;
  width: calc(var(--cube-depth) * 2);
  background: linear-gradient(180deg, #15295a 0%, #0a1733 60%, #060E1F 100%);
}
.cube3d-left  { left: calc(50% - var(--cube-depth)); transform: rotateY(-90deg); transform-origin: center center; }
.cube3d-right { left: calc(50% - var(--cube-depth)); transform: rotateY(90deg);  transform-origin: center center; }

/* Toit + sol */
.cube3d-top,
.cube3d-bottom {
  left: 0; right: 0;
  height: calc(var(--cube-depth) * 2);
  background: linear-gradient(90deg, #20406f 0%, #122a55 50%, #20406f 100%);
}
.cube3d-top    { top: calc(50% - var(--cube-depth)); transform: rotateX(90deg); }
.cube3d-bottom { top: calc(50% - var(--cube-depth)); transform: rotateX(-90deg);
                 background: linear-gradient(90deg, #060E1F, #081429, #060E1F); }

/* Stries verticales (cannelures) sur le LONG côté — typique d'un container shipping */
.corrugation--side {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.07) 0,
    rgba(255,255,255,0.07) 2px,
    rgba(0,0,0,0.22) 2px,
    rgba(0,0,0,0.22) 4px,
    transparent 4px,
    transparent 22px
  );
  opacity: 0.85;
  pointer-events: none;
}

/* Stries verticales plus serrées sur les PORTES */
.corrugation--door {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.06) 0,
    rgba(255,255,255,0.06) 1px,
    rgba(0,0,0,0.22) 1px,
    rgba(0,0,0,0.22) 2px,
    transparent 2px,
    transparent 8px
  );
  opacity: 0.85;
  pointer-events: none;
}

/* Logo ALVEO peint sur le long côté */
.container-logo-painted {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 32%;
  aspect-ratio: 1.6 / 1;
  z-index: 3;
  display: grid; place-items: center;
  padding: 1%;
}
.container-logo-painted img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
}

/* Petit marquage type CSC à droite */
.container-marking {
  position: absolute;
  right: 4%;
  top: 12%;
  z-index: 3;
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.55);
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 2px;
  background: rgba(0,0,0,0.25);
}

/* Marquage "20'" sur le toit */
.top-marking {
  position: absolute;
  left: 4%; top: 50%;
  transform: translateY(-50%);
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
}

/* Lignes horizontales structurelles sur les portes (poutres) */
.door-bar {
  position: absolute;
  left: 4%; right: 4%;
  height: 4px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(0,0,0,0.55));
  z-index: 2;
  border-radius: 1px;
}
.door-bar--1 { top: 22%; }
.door-bar--2 { top: 78%; }

/* Ligne centrale de séparation des 2 portes */
.door-split {
  position: absolute;
  left: 50%;
  top: 6%; bottom: 6%;
  width: 3px;
  background: rgba(0,0,0,0.7);
  transform: translateX(-1.5px);
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

/* Barres verticales de poignée */
.handle {
  position: absolute;
  top: 18%; bottom: 18%;
  width: 4px;
  background: linear-gradient(180deg, #98aacc, #4a5e80 40%, #2a3e60 100%);
  border-radius: 2px;
  z-index: 3;
  box-shadow: 0 0 4px rgba(0,0,0,0.7);
}
.handle--left  { left: 22%; }
.handle--right { right: 22%; }
.handle::before,
.handle::after {
  content: "";
  position: absolute;
  left: -3px;
  width: 10px;
  height: 6px;
  background: linear-gradient(180deg, #6a83a8, #2a3e60);
  border-radius: 2px;
}
.handle::before { top: 8%; }
.handle::after  { bottom: 8%; }

/* Hotspots interactifs sur le conteneur */
.smart-hotspot {
  position: absolute;
  z-index: 5;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 0 rgba(125,217,87,0.7);
  animation: liveDotPulse 2s ease-out infinite;
  cursor: pointer;
  border: 0;
}
.smart-hotspot::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(6,14,31,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-border-strong);
  border-radius: 8px;
  padding: 6px 12px;
  font-family: var(--ff-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}
.smart-hotspot:hover::after,
.smart-hotspot:focus-visible::after { opacity: 1; }
.smart-hotspot--temp   { top: 22%; left: 28%; }
.smart-hotspot--seal   { top: 70%; left: 22%; background: var(--c-blue-light); }
.smart-hotspot--energy { top: 50%; right: 18%; background: #fff; }
/* Ancien container-body conservé pour compatibilité — mais inactif (remplacé par cube3d) */

.led {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  bottom: 10px;
  background: var(--c-green);
  box-shadow: 0 0 10px var(--c-green);
  animation: ledBlink 2.4s ease-in-out infinite;
}
.led--1 { right: 22%; }
.led--2 { right: 16%; background: var(--c-blue-light); box-shadow: 0 0 10px var(--c-blue-light); animation-delay: .6s; }
.led--3 { right: 10%; background: #fff; box-shadow: 0 0 10px #fff; animation-delay: 1.2s; }
@keyframes ledBlink {
  0%, 100% { opacity: 0.25; }
  50%      { opacity: 1; }
}

/* Antenna + signal waves */
.antenna {
  position: absolute;
  top: -18%;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 60px;
  z-index: 3;
}
.antenna-pole {
  position: absolute;
  inset: 0 0 8px 0;
  background: linear-gradient(180deg, var(--c-blue-light), rgba(43,123,255,0.2));
  border-radius: 4px;
}
.antenna-tip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--c-blue-light);
  box-shadow: 0 0 16px var(--c-blue-light);
  animation: ledBlink 1.6s ease-in-out infinite;
}

.signal-wave {
  position: absolute;
  top: -32%;
  left: 50%;
  width: 110px; height: 110px;
  border: 2px solid var(--c-blue-light);
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: translate(-50%, 0);
  opacity: 0;
  animation: signal 3.5s ease-out infinite;
}
.signal-wave--2 { width: 170px; height: 170px; animation-delay: 0.8s; }
.signal-wave--3 { width: 230px; height: 230px; animation-delay: 1.6s; }
@keyframes signal {
  0%   { opacity: 0; transform: translate(-50%, 0) scale(0.4); }
  30%  { opacity: 0.9; }
  100% { opacity: 0; transform: translate(-50%, 0) scale(1.4); }
}

.container-shadow {
  position: absolute;
  left: 50%;
  bottom: -14%;
  transform: translateX(-50%);
  width: 80%;
  height: 24px;
  background: radial-gradient(ellipse at center, rgba(43,123,255,0.55), transparent 70%);
  filter: blur(14px);
  z-index: 1;
}

/* KPI cards flottantes */
.kpi {
  position: absolute;
  z-index: 4;
  background: rgba(6, 14, 31, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--c-border-strong);
  border-radius: 16px;
  padding: 14px 18px;
  width: 168px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
  animation: kpiFloat 6s ease-in-out infinite;
}
.kpi-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-text-muted);
  font-family: var(--ff-display);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.kpi-head svg { width: 16px; height: 16px; color: var(--c-blue-light); }
.kpi-value {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.kpi-trend {
  font-size: 0.78rem;
  color: var(--c-green-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.kpi-trend.up::before {
  content: "▲";
  font-size: 0.7em;
}

.kpi--temp   { top: 6%;  left: 0%;  animation-delay: 0s; }
.kpi--energy { top: 4%;  right: 0%; animation-delay: 1.5s; }
.kpi--seal   { bottom: 6%; right: 4%; animation-delay: 3s; }

@keyframes kpiFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   10. Section Valeurs / Engagements
   -------------------------------------------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 20px;
}
.value-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
  transition: transform var(--t), border-color var(--t), background var(--t);
  height: 100%;
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-blue-light);
  background: linear-gradient(180deg, rgba(43,123,255,0.06), rgba(255,255,255,0.005));
}
.value-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad-brand-soft);
  border: 1px solid var(--c-border-strong);
  display: grid; place-items: center;
  margin-bottom: 22px;
  color: var(--c-green-light);
}
.value-icon svg { width: 26px; height: 26px; }
.value-card h4 { font-size: 1.1rem; margin-bottom: 8px; color: #fff; }
.value-card p { font-size: 0.95rem; margin: 0; }

/* --------------------------------------------------------------------------
   11. Chiffres-clés
   -------------------------------------------------------------------------- */
.stats-band {
  background:
    linear-gradient(180deg, rgba(43,123,255,0.04), rgba(125,217,87,0.02)),
    var(--c-bg);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 28px;
}
.stat {
  text-align: center;
  padding: 12px;
}
.stat .num {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 10px;
}
.stat .num sup { font-size: 0.55em; top: -0.4em; }
.stat .num { white-space: nowrap; }
.stat .label {
  font-size: 0.92rem;
  color: var(--c-text-muted);
  letter-spacing: 0.04em;
}
.stat .placeholder-flag {
  display: block;
  margin-top: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

/* --------------------------------------------------------------------------
   11bis. Calculateur d'impact
   -------------------------------------------------------------------------- */
.impact-band {
  background:
    radial-gradient(800px 500px at 90% 10%, rgba(125,217,87,0.08), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(43,123,255,0.08), transparent 60%);
}
.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.impact-text h2 { margin-bottom: 18px; }
.impact-text p  { font-size: 1.02rem; }

.impact-tool {
  padding: clamp(28px, 3.2vw, 40px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--c-border);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.005));
  box-shadow: var(--shadow);
}
.impact-tool h3 {
  font-size: 1.2rem;
  margin: 0 0 6px;
}
.impact-tool .impact-subtitle {
  color: var(--c-text-muted);
  font-size: 0.9rem;
  margin: 0 0 22px;
}

.impact-input-wrap {
  position: relative;
  margin-bottom: 24px;
}
.impact-input-wrap label {
  font-family: var(--ff-display);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  display: block;
  margin-bottom: 8px;
}
.impact-input {
  width: 100%;
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--c-border-strong);
  border-radius: 14px;
  padding: 16px 90px 16px 20px;
  letter-spacing: -0.01em;
  transition: border-color var(--t), box-shadow var(--t);
}
.impact-input:focus {
  outline: none;
  border-color: var(--c-green-light);
  box-shadow: 0 0 0 4px rgba(125,217,87,0.18);
}
.impact-field {
  position: relative;
  margin-top: 6px;
}
.impact-input-unit {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-text-muted);
  font-family: var(--ff-display);
  font-size: 1rem;
  pointer-events: none;
}
.impact-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--c-blue) 0%, var(--c-green) var(--p, 20%), rgba(255,255,255,0.08) var(--p, 20%));
  outline: none;
  margin-top: 18px;
  cursor: pointer;
}
.impact-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--grad-brand);
  border: 3px solid #060E1F;
  box-shadow: 0 4px 14px rgba(43,123,255,0.45);
  cursor: pointer;
}
.impact-slider::-moz-range-thumb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2B7BFF, #7DD957);
  border: 3px solid #060E1F;
  box-shadow: 0 4px 14px rgba(43,123,255,0.45);
  cursor: pointer;
}

.impact-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.impact-result {
  padding: 18px 18px;
  border-radius: 14px;
  border: 1px solid var(--c-border);
  background: rgba(255,255,255,0.025);
  transition: border-color var(--t);
}
.impact-result:hover { border-color: var(--c-border-strong); }
.impact-result .label {
  font-family: var(--ff-display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  display: block;
  margin-bottom: 6px;
}
.impact-result .value {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  display: block;
}
.impact-result .unit {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-left: 4px;
}

.impact-disclaimer {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--c-text-dim);
  line-height: 1.5;
}

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

/* --------------------------------------------------------------------------
   12. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

.contact-info h2 { margin-bottom: 18px; }
.contact-info p { font-size: 1.05rem; }

.contact-channels {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 14px;
}
.contact-channels li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  background: rgba(255,255,255,0.02);
}
.contact-channels li:hover { border-color: var(--c-border-strong); }
.contact-channels .icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--grad-brand-soft);
  border: 1px solid var(--c-border-strong);
  display: grid; place-items: center;
  color: var(--c-blue-light);
  flex-shrink: 0;
}
.contact-channels .icon svg { width: 20px; height: 20px; }
.contact-channels .label {
  font-family: var(--ff-display);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}
.contact-channels .value {
  display: block;
  color: #fff;
  font-weight: 500;
  margin-top: 2px;
}
.contact-channels .value.is-placeholder { color: var(--c-text-muted); font-style: italic; }

/* Form */
.contact-form {
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--c-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005));
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.45rem; margin-bottom: 6px; }
.contact-form .form-subtitle {
  color: var(--c-text-muted);
  font-size: 0.95rem;
  margin: 0 0 28px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--ff-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.field label .req { color: var(--c-green-light); margin-left: 4px; }

.field input,
.field select,
.field textarea {
  font-family: var(--ff-body);
  font-size: 0.98rem;
  color: #fff;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-blue-light);
  background: rgba(43,123,255,0.06);
  box-shadow: 0 0 0 4px rgba(43,123,255,0.15);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--c-text-dim); }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 8px 0 22px;
  font-size: 0.88rem;
  color: var(--c-text-muted);
}
.consent input { margin-top: 4px; accent-color: var(--c-blue); }
.consent a { color: var(--c-blue-light); }

.form-status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
}
.form-status.is-visible { display: block; }
.form-status.is-info { background: rgba(43,123,255,0.10); border: 1px solid rgba(43,123,255,0.30); color: #cfe0ff; }
.form-status.is-warn { background: rgba(125,217,87,0.08); border: 1px solid rgba(125,217,87,0.30); color: #e3f5cf; }
.form-status.is-error { background: rgba(255,90,90,0.10); border: 1px solid rgba(255,90,90,0.30); color: #ffd2d2; }

.form-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px dashed var(--c-border-strong);
  background: rgba(255,255,255,0.02);
  color: var(--c-text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}
.form-note strong { color: var(--c-green-light); font-family: var(--ff-display); letter-spacing: 0.05em; }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--c-border);
  background: linear-gradient(180deg, rgba(6,14,31,0.4), rgba(6,14,31,1));
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { font-size: 0.95rem; max-width: 38ch; }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--c-border);
  display: grid; place-items: center;
  color: var(--c-text-muted);
  transition: border-color var(--t), color var(--t), transform var(--t-fast);
}
.footer-socials a:hover { color: #fff; border-color: var(--c-blue-light); transform: translateY(-2px); }
.footer-socials svg { width: 18px; height: 18px; }

.footer-col h5 {
  font-family: var(--ff-display);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-col a { color: var(--c-text-muted); font-size: 0.93rem; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--c-text-dim);
}
.footer-bottom .legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: var(--c-text-dim); }
.footer-bottom a:hover { color: var(--c-text); }

/* --------------------------------------------------------------------------
   14. "Information manquante" — annotations design
   -------------------------------------------------------------------------- */
.todo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-green-light);
  background: rgba(125,217,87,0.08);
  border: 1px solid rgba(125,217,87,0.3);
}
.todo-badge::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 8px var(--c-green);
}

/* --------------------------------------------------------------------------
   15. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(.2,.7,.3,1), transform 700ms cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   16. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid          { grid-template-columns: 1fr; }
  .hero-visual        { max-width: 480px; margin: 0 auto; }
  .about-grid         { grid-template-columns: 1fr; }
  .subs-grid          { grid-template-columns: 1fr; }
  .values-grid        { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats-grid         { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-grid       { grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 36px; }
  .platform-grid      { grid-template-columns: 1fr; }
  .platform-visual    { max-width: 460px; }
}

@media (max-width: 720px) {
  /* Espacement global plus serré */
  .section          { padding: 64px 0; }
  .section--tight   { padding: 48px 0; }

  /* Hero */
  .hero             { padding-top: 110px; padding-bottom: 60px; }
  h1                { font-size: clamp(2rem, 8vw, 2.6rem); }
  h2                { font-size: clamp(1.7rem, 6.5vw, 2.1rem); }
  .eyebrow          { font-size: 0.7rem; letter-spacing: 0.18em; }
  .hero-content .lead { font-size: 1rem; margin-bottom: 28px; }
  .hero-actions     { gap: 10px; margin-bottom: 36px; }
  .hero-actions .btn { padding: 14px 22px; font-size: 0.95rem; }
  .hero-meta        { padding-top: 28px; gap: 20px; }
  .hero-meta strong { font-size: 1.5rem; }
  .hero-meta span   { font-size: 0.85rem; }
  .hero-visual      { max-width: 320px; margin: 32px auto 0; }
  .hero-live        { font-size: 0.65rem; padding: 7px 12px; bottom: -10px; }

  /* Marquee */
  .marquee-track    { gap: 22px; }
  .marquee-track span { font-size: 0.85rem; }

  /* Stats : 1 SEULE colonne pour mobile (lecture confortable) */
  .stats-grid       { grid-template-columns: 1fr; gap: 28px; }
  .stat             { padding: 6px; }
  .stat .num        { font-size: clamp(2.3rem, 9vw, 2.8rem); white-space: nowrap; }
  .stat .label      { font-size: 0.92rem; }

  /* Cards filiales : padding réduit */
  .sub-card-body    { padding: 24px 22px 28px; }
  .sub-card-pitch   { font-size: 0.95rem; }
  .sub-card-cta     { flex-direction: column; align-items: stretch; gap: 12px; }
  .sub-card-cta .btn { justify-content: center; }

  /* Plateforme : refonte pour rester visible et impactante */
  .platform-text h2 { font-size: clamp(1.6rem, 6vw, 1.9rem); }
  .platform-text p  { font-size: 0.97rem; }
  /* Sur mobile, on passe le visuel en stack vertical propre
     (le mode "scène absolute" est gardé pour desktop uniquement) */
  .platform-visual {
    max-width: 340px;
    min-height: 0;
    aspect-ratio: auto;
    height: auto;
    margin: 24px auto 0;
    display: grid;
    gap: 14px;
  }

  /* Conteneur smart : taille agrandie pour bonne lisibilité */
  .smart-container {
    position: relative;
    left: auto; top: auto;
    transform: none;
    width: 92%;
    margin: 30px auto 4px;
    aspect-ratio: 16/11;
    perspective: 800px;
  }
  .smart-container .container-body {
    animation: containerTiltSlow 9s ease-in-out infinite;
  }
  @keyframes containerTiltSlow {
    0%   { transform: rotateY(-14deg) rotateX(5deg); }
    50%  { transform: rotateY(14deg)  rotateX(-3deg); }
    100% { transform: rotateY(-14deg) rotateX(5deg); }
  }
  .container-door { width: 44%; padding: 8%; }
  .container-door img { filter: drop-shadow(0 6px 16px rgba(43,123,255,0.55)); }
  .antenna        { height: 38px; top: -14%; }
  .signal-wave    { width: 90px;  height: 90px;  top: -24%; }
  .signal-wave--2 { width: 140px; height: 140px; }
  .signal-wave--3 { width: 190px; height: 190px; }
  .container-shadow { bottom: -10%; }

  /* KPI : position relative, en grille 1 colonne */
  .kpi {
    position: relative;
    top: auto; left: auto; right: auto; bottom: auto;
    transform: none;
    width: 100%;
    padding: 12px 14px;
    animation: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .kpi-head   { font-size: 0.65rem; gap: 8px; margin-bottom: 0; letter-spacing: 0.14em; min-width: 100px; }
  .kpi-head svg { width: 14px; height: 14px; }
  .kpi-value  { font-size: 1.2rem; margin-bottom: 0; flex: 1; text-align: right; }
  .kpi-trend  { font-size: 0.7rem; flex: 0 0 auto; }

  .platform-lines { display: none; }

  /* Bouton démo full width */
  .platform-text > .btn { width: 100%; justify-content: center; }
  .platform-list li { padding: 12px 14px; font-size: 0.92rem; gap: 12px; }

  /* About visual : moins haut */
  .about-visual     { aspect-ratio: 4/3.4; }

  /* Forms */
  .contact-form     { padding: 22px 18px; }
  .field input,
  .field select,
  .field textarea   { font-size: 1rem; padding: 13px 14px; }

  /* Trust pills wrap mieux */
  .trust-pills      { gap: 8px; }
  .trust-pill       { padding: 6px 12px; font-size: 0.78rem; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-cta > .btn-ghost,
  .nav-cta > .btn-primary,
  .nav-cta > .lang-switch { display: none !important; }
  .nav-toggle { display: inline-flex; }

  /* Menu mobile en overlay */
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(6,14,31,0.97);
    backdrop-filter: blur(20px);
    transform: translateY(-100%);
    transition: transform 380ms cubic-bezier(.2,.7,.3,1);
    display: flex;
    flex-direction: column;
    padding: 24px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
  }
  .mobile-menu.is-open { transform: translateY(0); }
  .mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
  .mobile-menu ul {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 6px;
  }
  .mobile-menu a {
    display: block;
    padding: 18px 0;
    font-family: var(--ff-display);
    font-size: 1.5rem;
    color: #fff;
    border-bottom: 1px solid var(--c-border);
    letter-spacing: -0.01em;
  }
  .mobile-menu-cta { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }
  .mobile-menu-cta .btn { justify-content: center; }

  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero-meta { grid-template-columns: 1fr; gap: 14px; }

  .values-grid { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .trust-strip .container { flex-direction: column; align-items: flex-start; }
}

/* Désactive le menu mobile au-dessus du breakpoint */
@media (min-width: 721px) {
  .mobile-menu { display: none; }
}
