/* Horizon Explorer — site vitrine. Aucune ressource externe (pas de police ni de script tiers). */
:root {
  --ciel-haut: #0b1630;
  --ciel-bas: #24406e;
  --fond: #0d1426;
  --surface: #16203a;
  --bord: #2a3758;
  --texte: #e8edf7;
  --texte-doux: #a9b4cc;
  --bleu: #5aa9ff;
  --ambre: #ffb347;
  --bleu: #5aa9ff;   /* communes, comme dans l'app */
  --ambre: #ffb347;  /* reliefs, comme dans l'app */
  --rayon: 14px;
  --largeur: 1080px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

a { color: var(--bleu); }

.conteneur {
  max-width: var(--largeur);
  margin: 0 auto;
  padding-inline: 20px;
}

/* En-tête */
.entete {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 22, 48, .85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bord);
}
.entete .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
}
.marque {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--texte);
  font-weight: 700;
  text-decoration: none;
}
.marque img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.nav a.langue, .langue-mobile {
  border: 1px solid var(--bord);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--texte);
  text-decoration: none;
}
.langue-mobile { display: none; }
.nav a { color: var(--texte-doux); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--texte); }

/* Héros */
.heros {
  background: linear-gradient(180deg, var(--ciel-haut) 0%, var(--ciel-bas) 100%);
  overflow: hidden;
}
.heros .conteneur {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 40px;
  padding-block: 64px 0;
}

.heros h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  margin: 0 0 16px;
}
.heros h1 .accent { color: var(--ambre); }
.heros p.chapo { font-size: 1.15rem; color: var(--texte-doux); margin: 0 auto 28px; max-width: 34em; }
.heros .texte { padding-bottom: 0; }

.bouton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--texte);
  color: var(--fond);
  font-weight: 700;
  text-decoration: none;
}
.bouton:hover { background: #fff; }
.bouton svg { width: 22px; height: 22px; }
.mention { display: block; margin-top: 10px; font-size: .85rem; color: var(--texte-doux); }

/* Téléphone (capture principale) */
/* Téléphone tenu à l'horizontale, coupé en bas par la fin du bandeau */
.telephone {
  width: min(900px, 100%);
  border: 10px solid #05080f;
  border-bottom: 0;
  border-radius: 34px 34px 0 0;
  background: #05080f;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.telephone img { width: 100%; height: auto; border-radius: 24px 24px 0 0; }

/* Sections */
section { padding-block: 72px; }
section h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 12px; }
section .intro { color: var(--texte-doux); margin: 0 0 36px; max-width: 42em; }

.grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.carte {
  background: var(--surface);
  border: 1px solid var(--bord);
  border-radius: var(--rayon);
  padding: 22px;
}
.carte h3 { margin: 0 0 8px; font-size: 1.08rem; }
.carte p { margin: 0; color: var(--texte-doux); }
.carte .prix { font-size: 1.5rem; font-weight: 800; color: var(--texte); margin: 4px 0 6px; }
.carte .prix small { font-size: .9rem; font-weight: 600; color: var(--texte-doux); }
.note-prix { margin: 18px 0 0; font-size: .85rem; color: var(--texte-doux); }
.carte .pastille {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 1.3rem;
  background: rgba(90, 169, 255, .15);
}
.carte .pastille.ambre { background: rgba(255, 179, 71, .15); }

/* Captures */
.captures {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}
.captures figure {
  flex: 0 0 auto;
  width: min(560px, 85vw);
  margin: 0;
  scroll-snap-align: start;
}
.captures img {
  width: 100%;
  border-radius: var(--rayon);
  border: 1px solid var(--bord);
  background: var(--surface);
}
.captures figcaption { margin-top: 8px; font-size: .9rem; color: var(--texte-doux); }

/* Étapes */
.etapes { counter-reset: etape; list-style: none; padding: 0; margin: 0; }
.etapes li {
  counter-increment: etape;
  position: relative;
  padding: 0 0 22px 56px;
}
.etapes li::before {
  content: counter(etape);
  position: absolute;
  left: 0; top: -2px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ambre);
  color: var(--fond);
  font-weight: 800;
}
.etapes strong { display: block; }
.etapes span { color: var(--texte-doux); }

.alterne { background: var(--surface); border-block: 1px solid var(--bord); }

/* Pied de page */
.pied {
  padding-block: 36px;
  color: var(--texte-doux);
  font-size: .9rem;
  border-top: 1px solid var(--bord);
}
.pied .conteneur { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.pied a { color: var(--texte-doux); }

/* Page texte (confidentialité) */
.document { max-width: 760px; padding-block: 48px 72px; }
.document h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-top: 0; }
.document h2 { font-size: 1.3rem; margin-top: 2em; }
.document table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.document th, .document td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--bord); vertical-align: top; }
.document .tableau { overflow-x: auto; }
.document .maj { color: var(--texte-doux); }

@media (max-width: 760px) {
  .heros .conteneur { grid-template-columns: 1fr; padding-top: 40px; }
  .heros .texte { padding-bottom: 0; }
  .nav { display: none; }
  .langue-mobile { display: inline-block; }
  .telephone { border-width: 6px; border-radius: 22px 22px 0 0; }
  .telephone img { border-radius: 16px 16px 0 0; }
}
