/* =========================================================
   ELM Design — vidéo en fond
   Vidéo fixe derrière le site, assombrie au défilement, sections en verre par-dessus.
   ========================================================= */
body { background: #04060f; }
.bg-video { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #071428; }
.bg-video video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
/* voile : haut sombre pour la navigation, centre légèrement assombri pour le titre, bas fondu vers le bleu nuit */
.bg-video__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 10, 24, .55) 0%, rgba(4, 10, 24, .18) 30%, rgba(4, 10, 24, .25) 60%, rgba(7, 20, 40, .85) 100%),
    radial-gradient(ellipse 55% 45% at 50% 40%, rgba(4, 10, 24, .45), transparent 75%);
}
/* assombrissement progressif quand on descend dans la page (piloté en JS via --dim) */
.bg-video__dim { position: absolute; inset: 0; background: #071428; opacity: var(--dim, 0); }
main, .footer { position: relative; z-index: 1; }

/* ---------- Accueil ---------- */
.hero {
  background: radial-gradient(125% 62% at 50% -10%, rgba(4, 6, 15, .82) 0%, rgba(4, 6, 15, .28) 44%, transparent 68%);
  justify-content: flex-start; padding: 120px 20px 0;
}
.hero__col { position: relative; flex: 1; justify-content: center; transform: translateY(-9vh); will-change: transform, opacity; }
/* voile sombre derrière le texte pour rester lisible au-dessus de la vidéo */
.hero__col::before {
  display: none;
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(900px, 110vw); height: 130%;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(4, 6, 15, .62), rgba(4, 6, 15, .35) 55%, transparent);
}
.hero__logo { width: 64px; border-radius: 12px; margin-bottom: 18px; }
.hero__title { font-size: clamp(2.3rem, 5.2vw, 4.1rem); max-width: 15ch; line-height: 1.04; margin-top: 1.25rem; text-shadow: 0 2px 50px rgba(0, 0, 0, .55); }
.hero__sub { max-width: 560px; margin-top: 1.4rem; }
.hero__sub { text-shadow: 0 1px 24px rgba(0, 0, 0, .6); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 2.3rem; }
.hero__actions .btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--ghost { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero__logos { position: relative; z-index: 10; width: 100%; padding: 0 4px clamp(36px, 6vw, 64px); text-align: center; }
.hero__logos p { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8c98b5; }
.hero__logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(24px, 5vw, 56px); }
.hero__logos li { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: #c9d2e6; opacity: .85; transition: color .2s, opacity .2s; }
.hero__logos li:hover { color: var(--gold-300); opacity: 1; }

/* ---------- Sections transparentes : la vidéo passe derrière ---------- */
.section--alt, .contact, .footer { background: transparent; }
.section__head h2, .about__text h2, .contact__text h2 { text-shadow: 0 2px 40px rgba(0, 0, 0, .6); }
.section__head p, .about__text p, .contact__text p { text-shadow: 0 1px 24px rgba(0, 0, 0, .55); }
.card, .project, .values div, .form, .about__frame {
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.card { background: linear-gradient(160deg, rgba(29, 79, 134, .30), rgba(7, 14, 32, .62)); }
.project { background: rgba(7, 14, 32, .72); }
.values div { background: rgba(7, 14, 32, .55); }
.step__num { box-shadow: 0 0 0 8px rgba(4, 6, 15, .0), 0 0 30px -5px rgba(227, 196, 134, .45); }
.form { background: linear-gradient(160deg, rgba(29, 79, 134, .28), rgba(7, 14, 32, .78)); }
.footer { border-top-color: rgba(227, 196, 134, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: rgba(4, 6, 15, .55); }

@media (max-width: 600px) {
  .hero__actions { flex-direction: column; width: 100%; max-width: 340px; }
  .hero__actions .btn { width: 100%; }
  .hero__logos li { font-size: 1.05rem; }
  .hero__col { transform: translateY(-6vh); }
}
