/* ============================================================
   DBO Cost Management — Landing institutionnelle
   Palette : marine (#0A1D34 / #1E3A5F), or (#C89D4C), gris froids.
   Formes sobres : rayons courts, 1px de trait, ombres discrètes.
   ============================================================ */

.landing-page {
  /* Marine */
  --navy-900: #0a1d34;
  --navy-700: #16324f;
  --navy-600: #1e3a5f;

  /* Accent */
  --gold: #c89d4c;
  --gold-600: #ab8138;

  /* Neutres */
  --ink: #0a1d34;
  --paper: #ffffff;
  --subtle: #f4f6f9;
  --muted: #6b7280;
  --line: #e5e7eb;

  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  font-weight: 400;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.dark .landing-page {
  --ink: #e8edf5;
  --paper: #0b1220;
  --subtle: #101a2b;
  --muted: #94a3b8;
  --line: #1e293b;
}

/* ---------- Typographie ---------- */

.landing-page .font-display {
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.landing-page h1,
.landing-page h2,
.landing-page h3 {
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
}

.landing-page .text-balance {
  text-wrap: balance;
}

/* Surtitre institutionnel : capitales espacées */
.landing-page .eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.landing-page .eyebrow-gold {
  color: var(--gold-600);
}

.landing-page .eyebrow-light {
  color: rgba(255, 255, 255, 0.62);
}

/* Filet or sous les titres de section */
.landing-page .rule::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 20px;
  background: var(--gold);
}

.landing-page .rule-center::after {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Boutons ---------- */

.landing-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Texte marine sur or : le blanc sur #C89D4C tombe sous le seuil AA (2,6:1). */
.landing-page .btn-gold {
  background: var(--gold);
  color: var(--navy-900);
}
.landing-page .btn-gold:hover {
  background: #d9b16a;
}

.landing-page .btn-navy {
  background: var(--navy-900);
  color: #ffffff;
}
.landing-page .btn-navy:hover {
  background: var(--navy-700);
}

.landing-page .btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #ffffff;
}
.landing-page .btn-outline-light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}


.landing-page .btn-sm {
  padding: 9px 18px;
  font-size: 0.8125rem;
}

/* ---------- Bandeaux marine ---------- */

.landing-page .band-navy {
  position: relative;
  background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-600) 100%);
  color: #ffffff;
  overflow: hidden;
}

/* Trame « plan d'architecte » : grille fine + silhouettes de tours */
.landing-page .blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 68px 68px;
  pointer-events: none;
}

.landing-page .blueprint::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(56%, 760px);
  height: 82%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 320' fill='none' stroke='%23ffffff' stroke-width='1.2'%3E%3Cpath d='M40 320V150h70v170M50 165h50M50 190h50M50 215h50M50 240h50M50 265h50'/%3E%3Cpath d='M130 320V96h96v224M142 112h72M142 142h72M142 172h72M142 202h72M142 232h72M142 262h72'/%3E%3Cpath d='M246 320V196h64v124M256 212h44M256 240h44M256 268h44'/%3E%3Cpath d='M330 320V54h110v266M344 74h82M344 106h82M344 138h82M344 170h82M344 202h82M344 234h82M344 266h82'/%3E%3Cpath d='M460 320V132h78v188M472 150h54M472 180h54M472 210h54M472 240h54M472 270h54'/%3E%3Cpath d='M558 320V182h58v138M568 200h38M568 228h38M568 256h38'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  opacity: 0.1;
  pointer-events: none;
}

.landing-page .band-navy > * {
  position: relative;
  z-index: 1;
}

/* ---------- Cartes ---------- */

.landing-page .card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}


/* Colonne « pilier » : filet vertical seulement quand les 5 colonnes tiennent */
@media (min-width: 1024px) {
  .landing-page .pillar + .pillar {
    border-left: 1px solid var(--line);
  }
}

/* Étape numérotée */
.landing-page .step-index {
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
}

/* Liste de conformité */
.landing-page .check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* ---------- Bandeau de confiance (logos partenaires) ---------- */

.landing-page .logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 12px;
  color: var(--navy-600);
  opacity: 0.75;
  filter: grayscale(1);
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.landing-page .logo-slot:hover {
  opacity: 1;
  filter: grayscale(0);
}
.dark .landing-page .logo-slot {
  color: #cbd5e1;
}

/* ---------- Maquettes d'interface ---------- */

.landing-page .mock {
  background: #ffffff;
  border: 1px solid rgba(10, 29, 52, 0.1);
  border-radius: 8px;
  box-shadow: 0 24px 60px -24px rgba(3, 12, 24, 0.55);
  overflow: hidden;
  color: #0a1d34;
}

.landing-page .mock-rail {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.55);
}

.landing-page .mock-rail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
}

.landing-page .mock-rail-item.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.landing-page .mock-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a97a8;
}

.landing-page .mock-kpi {
  border: 1px solid #e8ecf2;
  border-radius: 5px;
  padding: 12px 14px;
  background: #ffffff;
}

.landing-page .mock-value {
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  color: var(--navy-900);
}

.landing-page .mock-panel {
  border: 1px solid #e8ecf2;
  border-radius: 5px;
  background: #ffffff;
}

.landing-page .mock-table th {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a97a8;
  text-align: left;
  padding: 10px 9px;
  border-bottom: 1px solid #eef1f6;
  white-space: nowrap;
}

.landing-page .mock-table td {
  font-size: 0.75rem;
  padding: 11px 9px;
  border-bottom: 1px solid #f2f5f9;
  color: #253a55;
  white-space: nowrap;
}

.landing-page .mock-track {
  height: 4px;
  width: 48px;
  border-radius: 2px;
  background: #e6eaf1;
  overflow: hidden;
}

.landing-page .mock-track > span {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--navy-600);
}

/* Colonnes du graphique « évolution des coûts » */
.landing-page .mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  flex: 1;
  min-height: 92px;
}

.landing-page .mock-bars > div {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 100%;
}

.landing-page .mock-bars i {
  display: block;
  flex: 1;
  border-radius: 1px 1px 0 0;
  background: var(--navy-600);
}

.landing-page .mock-bars i.pale {
  background: #b9c6d8;
}

/* ---------- Témoignages ---------- */

.landing-page .quote {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
}

.landing-page .avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* ---------- Entrée en scène (discrète) ---------- */

.landing-page .fade-up {
  opacity: 0;
  transform: translateY(14px);
  animation: landingFadeUp 0.6s ease forwards;
}

@keyframes landingFadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page .fade-up {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
