/* =====================================
   CONFIGURATION GÉNÉRALE
===================================== */

:root {
  color-scheme: dark;

  --background: #202124;
  --surface: #191a1c;

  --text: #FFFFFF;
  --text-secondary: #D4D5D7;
  --text-muted: #B8BBC0;

  --font-family: "Inter", system-ui, sans-serif;
}

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

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;

  margin: 0;

  background: var(--background);
  color: var(--text);

  font-family: var(--font-family);

  display: flex;
  flex-direction: column;
  align-items: center;
}


/* =====================================
   CONTENU PRINCIPAL
===================================== */

.container {
  width: 100%;
  max-width: 960px;

  flex: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 3rem 1.5rem;

  text-align: center;
}


/* =====================================
   LOGO
===================================== */

.logo {
  display: block;

  width: min(100%, 650px);
  height: auto;

  margin: 0 auto 2rem;
}


/* =====================================
   CONTENU
===================================== */

.content {
  width: 100%;
  max-width: 760px;

  margin: 0 auto;

  text-align: center;
}


/* =====================================
   ACCROCHE
===================================== */

h1 {
  margin: 0 0 1.25rem;

  font-size: clamp(20px, 3.2vw, 36px);
  font-weight: 600;

  line-height: 1.45;
  letter-spacing: -0.025em;

  text-align: center;
}

h1 span {
  display: block;
}


/* =====================================
   TEXTE DE PRÉSENTATION
===================================== */

.tagline {
  display: block;

  width: 100%;
  max-width: 580px;

  margin: 0 auto 2.5rem;
  padding: 0;

  color: var(--text-secondary);

  font-size: clamp(14px, 1.7vw, 20px);
  font-weight: 400;

  line-height: 1.65;

  text-align: center;
}


/* =====================================
   SITE EN CONSTRUCTION
===================================== */

.construction {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;

  margin: 0 auto;

  text-align: center;
}


/* Cône de Lübeck */

.construction-icon {
  display: block;

  width: 90px;
  height: 108px;

  object-fit: contain;

  margin: 0 auto 0.65rem;
}


/* Texte principal */

.construction-text {
  margin: 0;

  color: var(--text);

  font-size: 16px;
  font-weight: 600;

  text-align: center;
}


/* Texte secondaire */

.construction-subtext {
  margin: 0.35rem 0 0;

  color: var(--text-muted);

  font-size: 22px;
  font-weight: 400;

  text-align: center;
}


/* =====================================
   PIED DE PAGE
===================================== */

footer {
  width: 100%;

  padding: 1.25rem 1rem;

  background: var(--surface);

  text-align: center;
}

.footer-text {
  margin: 0;

  color: var(--text-muted);

  font-size: 12px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;

  margin-top: 0.35rem;

  font-size: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* =====================================
   ACCESSIBILITÉ
===================================== */

:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

}


/* =====================================
   TABLETTES
===================================== */

@media (max-width: 768px) {

  .container {
    padding: 2.5rem 1.5rem;
  }

  .logo {
    width: min(90%, 520px);
    margin-bottom: 2rem;
  }

  .tagline {
    max-width: 520px;
    margin-bottom: 2rem;
  }

}


/* =====================================
   SMARTPHONES
===================================== */

@media (max-width: 480px) {

  .container {
    padding: 2rem 1rem;
  }

  .logo {
    width: 100%;
    max-width: 350px;

    margin-bottom: 1.75rem;
  }

  h1 {
    font-size: clamp(17px, 4.5vw, 20px);
    line-height: 1.55;

    margin-bottom: 1rem;
  }

  .tagline {
    max-width: 340px;

    font-size: 14px;
    line-height: 1.65;

    margin-bottom: 2rem;
  }

  .construction-icon {
    width: 55px;
    height: 66px;
  }

  .construction-text {
    font-size: 15px;
  }

  .construction-subtext {
    font-size: 20px;
  }

}


/* =====================================
   PETITS ÉCRANS / MODE PAYSAGE
===================================== */

@media (max-height: 560px) and (orientation: landscape) {

  .container {
    padding: 1rem;
  }

  .logo {
    width: min(42vw, 280px);
    margin-bottom: 1rem;
  }

  h1 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }

  .tagline {
    font-size: 14px;
    margin-bottom: 1rem;
  }

  .construction-icon {
    width: 40px;
    height: 48px;
  }

  .construction-text {
    font-size: 14px;
  }

  .construction-subtext {
    font-size: 18px;
  }

  footer {
    padding: 0.6rem 1rem;
  }

}