/* =========================================================
   BASE
   ========================================================= */

* {
  box-sizing: border-box;
}

:root {
  --bg: #020713;
  --bg-deep: #01040b;
  --cyan: #00c6ff;
  --cyan-soft: #83e7ff;
  --white: #edfaff;
  --muted: #6d8ca3;
}

html,
body {
  min-height: 100%;
}

html {
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;

  color: var(--white);

  font-family:
    "Segoe UI",
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;

  background:
    radial-gradient(circle at 50% 25%, rgba(0, 72, 125, .20), transparent 34rem),
    linear-gradient(180deg, #030b1b 0%, var(--bg) 60%, var(--bg-deep) 100%);
}


/* =========================================================
   VIRTUALSKY
   Vrai ciel en arrière-plan
   ========================================================= */

#virtual-sky {
  position: fixed;
  inset: -2vh -2vw;

  width: 104vw;
  height: 104vh;

  border: 0;

  z-index: 0;

  pointer-events: none;

  opacity: .82;

  filter:
    saturate(1.25)
    brightness(.95)
    contrast(1.12);
}


/*
 * Ce voile conserve le ciel visible tout en améliorant
 * la lisibilité du logo et des textes.
 */
.sky-overlay {
  position: fixed;
  inset: 0;

  z-index: 1;

  pointer-events: none;

  background:
    radial-gradient(
      ellipse at 50% 43%,
      rgba(2, 7, 19, .24) 0%,
      rgba(2, 7, 19, .08) 30%,
      transparent 58%
    ),
    linear-gradient(
      180deg,
      rgba(2, 7, 19, .02) 0%,
      rgba(2, 7, 19, .06) 55%,
      rgba(1, 4, 11, .34) 100%
    );
}


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

main,
footer {
  position: relative;
  z-index: 2;
}

main {
  width: min(1080px, calc(100% - 28px));
  margin: 0 auto;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: calc(100vh - 72px);

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  padding: 22px 0 18px;

  text-align: center;
}


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

.logo {
  display: block;

  width: min(710px, 84vw);
  max-height: 50vh;

  object-fit: contain;

  margin-bottom: -3px;

  filter:
    drop-shadow(0 0 9px rgba(0, 198, 255, .36))
    drop-shadow(0 0 24px rgba(0, 125, 255, .16));
}


/* =========================================================
   IDENTITÉ
   ========================================================= */

.brand {
  margin: 0;

  font-size: clamp(2.4rem, 6vw, 5rem);

  line-height: .95;

  font-weight: 500;

  letter-spacing: .12em;
  text-indent: .12em;

  color: #f2fcff;

  text-shadow:
    0 0 5px rgba(255, 255, 255, .9),
    0 0 12px rgba(0, 198, 255, .8),
    0 0 30px rgba(0, 153, 255, .35);
}


/* =========================================================
   PROJET À VENIR
   ========================================================= */

.coming {
  margin-top: 28px;

  display: grid;

  grid-template-columns:
    minmax(38px, 150px)
    auto
    minmax(38px, 150px);

  gap: 18px;

  align-items: center;
}

.coming h1 {
  margin: 0;

  color: var(--cyan-soft);

  font-size: clamp(.78rem, 1.7vw, 1.1rem);

  font-weight: 500;

  letter-spacing: .48em;
  text-indent: .48em;

  white-space: nowrap;
}

.line {
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--cyan)
    );

  box-shadow:
    0 0 8px rgba(0, 198, 255, .65);
}

.line:last-child {
  background:
    linear-gradient(
      90deg,
      var(--cyan),
      transparent
    );
}


/* =========================================================
   SLOGAN
   ========================================================= */

.tagline {
  margin: 19px 0 0;

  color: #dcebf3;

  font-size: clamp(1rem, 1.8vw, 1.22rem);

  letter-spacing: .075em;

  text-shadow: 0 1px 8px rgba(0, 0, 0, .65);
}


/* =========================================================
   ACTIONS
   ========================================================= */

.actions {
  display: flex;

  justify-content: center;
  flex-wrap: wrap;

  gap: clamp(30px, 7vw, 78px);

  margin-top: 38px;
}

.action {
  display: grid;

  justify-items: center;

  gap: 12px;

  min-width: 82px;

  color: var(--cyan-soft);

  text-decoration: none;

  text-transform: uppercase;

  font-size: .7rem;

  letter-spacing: .12em;

  transition:
    transform .2s ease,
    color .2s ease,
    opacity .2s ease;
}

a.action:hover {
  transform: translateY(-4px);
  color: #fff;
}

.action-icon {
  width: 64px;
  height: 64px;

  display: grid;

  place-items: center;

  border: 1px solid rgba(0, 198, 255, .8);
  border-radius: 50%;

  background:
    rgba(2, 7, 19, .28)
    radial-gradient(
      circle,
      rgba(0, 198, 255, .08),
      transparent 65%
    );

  box-shadow:
    inset 0 0 14px rgba(0, 198, 255, .08),
    0 0 14px rgba(0, 198, 255, .18);
}

.action-icon svg {
  width: 29px;
  height: 29px;

  fill: none;

  stroke: currentColor;

  stroke-width: 1.45;

  stroke-linecap: round;
  stroke-linejoin: round;
}

.action.disabled {
  opacity: .38;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  min-height: 72px;

  display: flex;

  align-items: center;
  justify-content: center;

  flex-wrap: wrap;

  gap: 12px;

  padding: 18px;

  color: var(--muted);

  font-size: .66rem;

  letter-spacing: .18em;

  text-transform: uppercase;
}

.bullet {
  color: var(--cyan);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

  #virtual-sky {
    opacity: .58;
  }

  .hero {
    min-height: calc(100vh - 62px);
    padding-top: 8px;
  }

  .logo {
    width: min(92vw, 650px);
    max-height: 44vh;
  }

  .brand {
    font-size: clamp(2.1rem, 12vw, 3.2rem);

    letter-spacing: .08em;
    text-indent: .08em;
  }

  .coming {
    margin-top: 22px;

    grid-template-columns:
      28px
      auto
      28px;

    gap: 9px;
  }

  .coming h1 {
    font-size: .72rem;

    letter-spacing: .25em;
    text-indent: .25em;
  }

  .actions {
    gap: 22px;
    margin-top: 32px;
  }

  .action-icon {
    width: 56px;
    height: 56px;
  }

  footer {
    min-height: 62px;
    letter-spacing: .1em;
  }
}


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

@media (prefers-reduced-motion: reduce) {
  #virtual-sky {
    pointer-events: none;
  }

  .action {
    transition: none;
  }
}
