:root {
  --bleu-fonce: #174a63;
  --bleu-texte: #17394b;
  --bleu-clair: #a1cfe3;
  --bleu-moyen: #6ca9c3;
  --bleu-vague: #2f718d;
  --fond: #f4f9fb;
  --texte-secondaire: #587786;
  --bordure: #dce9ee;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--fond);
  color: var(--bleu-texte);
  font-family: Arial, Helvetica, sans-serif;
}

.landing-page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--fond);
  color: var(--bleu-texte);
}

/* Bandeau supérieur */

.site-header {
  width: 100%;
  min-height: 86px;
  padding: 18px clamp(24px, 6vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header img.brand-logo {
  display: block !important;
  height: 46px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain !important;
}

@media (max-width: 700px) {
  .site-header img.brand-logo {
    height: 34px !important;
    width: auto !important;
    max-width: 180px !important;
  }
}

.brand-name {
  color: var(--bleu-fonce);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.product-name {
  color: var(--texte-secondaire);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* Zone principale */

.hero {
  flex: 1;
  width: 100%;
  max-width: 1440px;
  min-height: 500px;
  margin: 0 auto;
  padding: 35px clamp(24px, 9vw, 130px) 65px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 45px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #4f839b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 600px;
  margin: 0 0 20px;
  color: var(--bleu-texte);
  font-size: clamp(40px, 5.2vw, 66px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.intro {
  max-width: 480px;
  margin: 0 0 30px;
  color: var(--texte-secondaire);
  font-size: 16px;
  line-height: 1.7;
}

/* Bouton de connexion */

.login-button {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 4px;
  background: var(--bleu-fonce);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.login-button:hover {
  background: #10394f;
  color: #ffffff;
  transform: translateY(-1px);
}

.login-button:focus-visible {
  outline: 3px solid #a4ce4c;
  outline-offset: 3px;
}

.button-arrow {
  color: var(--bleu-clair);
  font-size: 20px;
  line-height: 1;
}

.login-hint {
  margin: 13px 0 0;
  color: #718b97;
  font-size: 12px;
  line-height: 1.5;
}

/* Illustration des vagues */

.coast-illustration {
  position: relative;
  height: 350px;
  min-width: 0;
}

.sun {
  position: absolute;
  top: 5px;
  right: 12%;
  width: clamp(125px, 17vw, 205px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #dceeea;
}

.wave {
  position: absolute;
  right: -20%;
  bottom: 15px;
  width: 125%;
  height: 185px;
  border-radius: 55% 45% 0 0 / 36% 34% 0 0;
  transform: rotate(-8deg);
}

.wave-back {
  z-index: 1;
  bottom: 75px;
  background: var(--bleu-clair);
}

.wave-middle {
  z-index: 2;
  bottom: 42px;
  background: var(--bleu-moyen);
}

.wave-front {
  z-index: 3;
  bottom: 8px;
  background: var(--bleu-vague);
}

/* Pied de page */

.site-footer {
  width: 100%;
  padding: 17px clamp(24px, 6vw, 80px);
  border-top: 1px solid var(--bordure);
  color: #718b97;
  font-size: 11px;
}

.site-footer p {
  margin: 0;
}

/* Affichage sur les écrans mobiles */

@media (max-width: 700px) {
  .site-header {
    min-height: 72px;
    padding-right: 22px;
    padding-left: 22px;
  }

  .site-header .brand-logo {
    height: 36px !important;
    max-width: 160px !important;
    max-height: 36px !important;
  }

  .brand-name {
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    padding: 42px 24px 20px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .intro {
    font-size: 15px;
  }

  .coast-illustration {
    height: 210px;
    margin-top: 10px;
  }

  .sun {
    right: 15%;
    width: 125px;
  }

  .wave {
    right: -12%;
    width: 115%;
    height: 135px;
  }

  .wave-back {
    bottom: 58px;
  }

  .wave-middle {
    bottom: 32px;
  }

  .wave-front {
    bottom: 4px;
  }

  .site-footer {
    padding: 15px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-button {
    transition: none;
  }
}