/* =========================================================
   Landing 2026 – Styles spécifiques basés sur le thème global
   ========================================================= */

html {
  scroll-behavior: smooth;
}

/* Conteneur principal */
.bx-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Texte atténué / secondaire */
.bx-muted {
  color: var(--bx-text-dim);
}

/* Texte accentué (petits highlights) */
.bx-accent-text {
  color: var(--bx-accent-soft);
}

/* Liens inline */
.bx-link {
  color: var(--bx-link);
  text-decoration: none;
  border-bottom: 1px dashed var(--bx-border-subtle);
}
.bx-link:hover {
  color: var(--bx-link-hover);
  border-bottom-color: var(--bx-link-hover);
}

/* =========================================================
   PASTILLE / BULLES — Couleur = HEADER ✔ IMPORTANT
   ========================================================= */
.bx-pill {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--bx-header-bg); /* ✔ même couleur que header */
  border: 1px solid var(--bx-border-subtle);
  font-size: 0.9rem;
  color: var(--bx-text);
}

/* =========================================================
   Bouton principal (.bx-btn)
   ========================================================= */
.bx-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;

  color: #e5f0ff;

  background:
    radial-gradient(circle at 0% 0%, rgba(96,165,250,0.45), transparent 55%),
    rgba(255,255,255,0.06);

  border: 1px solid rgba(96,165,250,0.7);

  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);

  box-shadow:
    0 0 0 1px rgba(15,23,42,0.7),
    0 8px 20px rgba(15,23,42,0.8);

  transition: all 0.22s ease-out, box-shadow 0.28s ease-out, transform 0.15s ease-out;
}

.bx-btn:hover {
  color: #0b1220;
  background: linear-gradient(135deg, #60a5fa, #38bdf8);
  border-color: rgba(191,219,254,1);
  box-shadow:
    0 0 0 1px rgba(37,99,235,0.8),
    0 14px 30px rgba(37,99,235,0.85);
  transform: translateY(-1px) scale(1.03);
}

/* Variante thème clair */
.theme-light .bx-btn {
  color: #0b1220;
  background: linear-gradient(135deg, #60a5fa, #38bdf8);
  border-color: rgba(37,99,235,0.55);
  box-shadow:
    0 0 0 1px rgba(148,163,184,0.4),
    0 10px 24px rgba(37,99,235,0.4);
}
.theme-light .bx-btn:hover {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-color: rgba(30,64,175,0.8);
  transform: translateY(-1px) scale(1.03);
}

/* =========================================================
   Bouton fantôme
   ========================================================= */
.bx-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--bx-border-subtle);
  background: transparent;
  color: var(--bx-text);
  text-decoration: none;
}
.bx-btn-ghost:hover {
  background: var(--bx-glass);
}

/* =========================================================
   SECTIONS
   ========================================================= */
.bx-section {
  padding: 3rem 0;
  border-top: 1px solid var(--bx-border-subtle);
}

/* Section plus claire */
.bx-alt {
  background: var(--bx-bg-soft);
}

/* =========================================================
   CARTES — CORRECTION : même couleur que le header
   ========================================================= */

/* Carte bleue premium */
.bx-card-blue {
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);

  background: var(--bx-header-bg); /* ✔ même que le header */
  border: 1px solid var(--bx-border-accent);

  box-shadow:
    0 8px 30px rgba(3, 10, 26, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.06);

  border-radius: 20px;
  padding: 1rem;

  transition: background 0.2s ease-out, border-color 0.2s ease-out,
              transform 0.2s ease-out;
}

.bx-card-blue:hover {
  background: var(--bx-header-bg); /* ✔ plus de halo bleu */
  border-color: var(--bx-border-accent);
  transform: translateY(-1px);
}

/* Carte douce */
.bx-card-soft {
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);

  background: var(--bx-header-bg); /* ✔ même couleur */
  border: 1px solid var(--bx-border-subtle);
  border-radius: 20px;
  padding: 1rem;
}

/* =========================================================
   Barre de progression
   ========================================================= */
.bx-prog {
  height: 8px;
  border-radius: 8px;
  background: var(--bx-glass);
}
.bx-prog > i {
  display: block;
  height: 8px;
  border-radius: 8px;
  background: var(--bx-accent);
  width: 15%;
}

/* Ligne de statut */
.bx-status-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  margin-top: 0.1rem;
  font-size: 0.85rem;
}

/* =========================================================
   GRILLES
   ========================================================= */
.bx-grid {
  display: grid;
  gap: 1rem;
}

.bx-hero-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 980px) {
  .bx-hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: flex-start;
  }
}

.bx-prod-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .bx-prod-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Formulaire soutien */
.bx-support-form {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr auto;
  margin-top: 1.2rem;
}

/* Champ email */
.bx-input {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--bx-border);
  background: var(--bx-glass);
  color: var(--bx-text);
}
.bx-input::placeholder {
  color: var(--bx-text-muted);
}

/* Titres */
h1, h2 {
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
  line-height: 1.15;
  margin: 0;
  max-width: 60ch;
}

/* Paragraphe */
p {
  max-width: 78ch;
  text-wrap: pretty;
}