/* Page d'accueil de Livraisons Game. Mêmes couleurs que l'affichage en jeu : fond d'encre, jaune des balises, vert de l'argent. */
:root { --encre: #0e1319; --panneau: #171d27; --texte: #f3f1ea; --doux: #b9bfc9; --jaune: #ffd23f; --vert: #8fe38a; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--encre); color: var(--texte); font-family: 'Segoe UI', system-ui, sans-serif; line-height: 1.55; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

/* ---------- En-tête : le ciel, la ville, la route ---------- */
.hero {
  position: relative; min-height: min(86vh, 760px); overflow: hidden;
  display: flex; align-items: center;
  background: linear-gradient(#2f7fd0, #9cc8ea 62%, #d3e6f3);
}
.ville { position: absolute; inset: auto 0 64px 0; height: 62%; display: flex; align-items: flex-end; gap: 0; opacity: .95; }
/* Chaque immeuble : sa hauteur (--h), sa teinte (--c), des fenêtres faites de deux dégradés croisés. */
.ville i {
  flex: 1; height: var(--h);
  background:
    linear-gradient(to bottom, var(--c) 0 42%, transparent 42% 100%) 0 0 / 24px 28px,
    linear-gradient(to right, var(--c) 0 28%, #253a4e 28% 80%, var(--c) 80% 100%) 0 0 / 24px 28px;
  box-shadow: inset -10px 0 0 rgba(0, 0, 0, .12);
}
.route {
  position: absolute; inset: auto 0 0 0; height: 64px; background: #3b3e44; border-top: 9px solid #b7b2a8;
  background-image: linear-gradient(to right, #e9e6dc 0 55%, transparent 55% 100%);
  background-size: 64px 5px; background-repeat: repeat-x; background-position: 0 24px;
}
/* Voile sombre pour que le texte reste lisible sur la ville */
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 14, 20, .88) 0 38%, rgba(10, 14, 20, .25) 78%); }

.accroche { position: relative; z-index: 1; width: min(1100px, 100%); margin: 0 auto; padding: 56px 24px 96px; }
.accroche > * { max-width: 620px; }
.sur { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--jaune); }
h1 { margin: 8px 0 18px; font-size: clamp(44px, 9vw, 92px); line-height: .95; font-weight: 800; letter-spacing: -.02em; }
.pitch { font-size: clamp(17px, 2.2vw, 21px); color: #e6e9ee; }
#reprise { margin-top: 18px; color: var(--vert); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 26px; }
.bouton {
  display: inline-block; padding: 15px 38px; border-radius: 12px; background: var(--jaune); color: #10151c;
  font-size: 19px; font-weight: 800; text-decoration: none; transition: transform .12s, filter .12s;
}
.bouton:hover { filter: brightness(1.08); transform: translateY(-1px); }
.lien { font-size: 16px; text-underline-offset: 4px; }
.note { margin-top: 18px; font-size: 14px; color: var(--doux); }

/* ---------- Sections ---------- */
.bloc { width: min(1100px, 100%); margin: 0 auto; padding: 64px 24px 8px; }
h2 { margin-bottom: 26px; font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -.01em; }

.atouts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.atouts li { padding: 22px 22px 24px; border-radius: 14px; background: var(--panneau); border: 1px solid rgba(255, 255, 255, .08); }
.atouts h3 { margin-bottom: 8px; font-size: 19px; }
.atouts h3::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--jaune); }
.atouts li:nth-child(2) h3::before { background: #2fb8ff; }
.atouts li:nth-child(3) h3::before { background: var(--vert); }
.atouts li:nth-child(4) h3::before { background: #5b8cff; }
.atouts li:nth-child(5) h3::before { background: #ff6a4d; }
.atouts li:nth-child(6) h3::before { background: #b06cff; }
.atouts p { color: var(--doux); }

.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.galerie figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--panneau); border: 1px solid rgba(255, 255, 255, .08); }
.galerie img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.galerie figcaption { padding: 12px 16px 14px; font-size: 15px; color: var(--doux); }

.touches { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 10px 28px; }
.touches div { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.touches dd { margin: 0; color: #dfe3ea; }
kbd {
  display: inline-block; min-width: 30px; padding: 3px 9px; margin-right: 6px; border-radius: 6px;
  background: #fff; color: #10151c; font-family: inherit; font-size: 14px; font-weight: 700; text-align: center;
}
.fin { margin-top: 36px; text-align: center; }

footer { margin-top: 64px; padding: 26px 24px 34px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; color: var(--doux); text-align: center; }

@media (max-width: 560px) {
  .accroche { padding: 40px 16px 88px; }
  .bloc { padding: 48px 16px 4px; }
  .hero::after { background: rgba(10, 14, 20, .78); }
  .touches div { grid-template-columns: 1fr; gap: 6px; }
}
