/* Lato auto-hébergée (pas d'appel à Google Fonts) */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/lato-latin-300-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/lato-latin-400-normal.woff2") format("woff2");
}

:root {
  --noir: #000400;
  --gris-fonce: #232323;
  --gris-texte: #505050;
  --or: #f3b444;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--noir);
  color: #fff;
  font-family: "Lato", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

/* Bandeau principal avec vidéo de fond */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: 200px;
  min-height: 400px;
  padding: 25px;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: #000 url("/assets/angle.png") no-repeat right bottom / 204px auto;
  opacity: 0.81;
}

.hero__content {
  position: relative;
  padding: 10px;
}

.tagline {
  margin: 0 0 100px;
  color: var(--or);
  font-size: 23px;
  font-weight: 300;
}

.logo { margin: 0; line-height: 0; }

.logo img {
  width: 29%;
  height: auto;
}

.actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 80px;
}

.divider {
  flex: 1 1 auto;
  margin: 15px 0;
  border: 0;
  border-top: 1px solid var(--gris-fonce);
}

.button {
  flex: 0 0 auto;
  display: inline-block;
  padding: 12px 24px;
  border: 0;
  cursor: pointer;
  background: var(--gris-fonce);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.button:hover,
.button:focus-visible {
  background: var(--or);
  color: #000;
}

.button:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }

/* Pied de page */
.footer { padding: 25px; }

.footer address {
  padding: 0 10px;
  color: var(--gris-texte);
  font-style: normal;
  line-height: 1.6;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible { color: var(--or); }

/* Tablette */
@media (max-width: 1024px) {
  .hero { padding: 31px; }
  .logo img { width: 307px; }
  .footer { padding: 2%; }
}

/* Mobile */
@media (max-width: 767px) {
  .hero {
    margin-top: 0;
    min-height: 492px;
    padding: 20px;
  }
  .hero__overlay { background-size: 117px auto; }
  .tagline {
    margin-bottom: 32px;
    font-size: 18px;
    text-align: center;
  }
  .logo {
    margin: 98px 0 87px;
    text-align: center;
  }
  .logo img { width: 261px; max-width: 100%; }
  .actions {
    justify-content: center;
    margin: 64px 0 0;
  }
  .divider { display: none; }
  .footer { padding: 20px; }
  .footer address { text-align: center; }
  .footer .sep { display: none; }
  .footer .ligne { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .hero { background: url("/assets/fond-poster.jpg") center / cover; }
}
