*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--noir-absolu);
}
@font-face {
  font-family: "tenor_sans";
  src: url("../../../fonts/Tenor_Sans/TenorSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "cormorant_garamond";
  src: url("../../../fonts/Cormorant_Garamond/static/CormorantGaramond-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: "cormorant_garamond";
  src: url("../../../fonts/Cormorant_Garamond/static/CormorantGaramond-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "jetbrains_mono";
  src: url("../../../fonts/JetBrains_Mono/static/JetBrainsMono-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
:root {
  --noir-absolu: #08070a;
  --noir-encre: #0e0c10;
  --noir-charbon: #18141a;
  --noir-suie: #221d24;
  --pierre-mouillee: #2e2820;
  --pierre-grise: #443c34;
  --pierre-cendree: #5a504a;
  --pierre-claire: #6a605a;
  --os-pale: #d8cfbe;
  --os-cendre: #b8b0a4;
  --texte-principal: #cec9c0;
  --texte-secondaire: #8a8580;
  --texte-spectre: #6b6660;
  --texte-fantome: #4a4540;
  --or-cierge: #b89968;
  --or-mourant: #927a52;
  --or-cendre: #7a6346;
  --or-voile: rgba(184, 153, 104, 0.14);
  --sang-frais: #8a3530;
  --sang-clair: #a64540;
  --sang-seche: #6b2a25;
  --sang-noir: #3a1714;
  --sang-voile: rgba(138, 53, 48, 0.1);
  --maree-profonde: rgba(74, 28, 24, 0.18);
  --maree-cierge: rgba(122, 99, 70, 0.1);
  --maree-souffle: rgba(46, 40, 32, 0.6);
  --voile-leger: rgba(8, 7, 10, 0.4);
  --voile-moyen: rgba(8, 7, 10, 0.7);
  --voile-lourd: rgba(8, 7, 10, 0.92);
  --cuivre-oxyde: #5a7560;
  --cuivre-mousse: #43594b;
  --cuivre-voile: rgba(90, 117, 96, 0.14);
  --font-titre: "tenor_sans", sans-serif;
  --font-spectrale: "cormorant_garamond", serif;
  --font-corps: "Inter", sans-serif;
  --font-meta: "jetbrains_mono", monospace;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 12% 18%, var(--maree-profonde) 0%, transparent 55%), radial-gradient(ellipse 60% 50% at 88% 82%, var(--maree-cierge) 0%, transparent 50%), radial-gradient(ellipse 100% 80% at 50% 110%, var(--maree-souffle) 0%, transparent 70%);
  animation: maree-respiration 22s ease-in-out infinite;
}
@keyframes maree-respiration {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}
#entrance {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  height: 100svh;
  max-width: 1410px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--noir-absolu);
}
#entrance::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
}
#entrance.entrance-1 {
  background: url("../../../../images/background/landing-mobile-portrait-01.jpg") no-repeat center center;
  background-size: cover;
  filter: brightness(0.92) contrast(1.05);
}
#entrance.entrance-2 {
  background: url("../../../../images/background/landing-mobile-portrait-02.jpg") no-repeat center center;
  background-size: cover;
  filter: brightness(0.92) contrast(1.05);
}
#entrance.entrance-3 {
  background: url("../../../../images/background/landing-mobile-portrait-03.jpg") no-repeat center center;
  background-size: cover;
  filter: brightness(0.92) contrast(1.05);
}
.logo-cz {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 72px 16px 14px 16px;
}
.logo-cz-text {
  display: inline-block;
  font-family: var(--font-titre);
  font-size: 1.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
  white-space: nowrap;
}
.logo-cz-base {
  background: linear-gradient(180deg, #4a5358 0%, #2a3034 50%, #1a1e22 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, 0.5));
}
.logo-cz-z {
  display: inline-block;
  background: linear-gradient(135deg, #6a4d35 0%, #3a2a1c 30%, #5a3b25 55%, #2a1d12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.1em;
  margin-left: -0.05em;
  filter: drop-shadow(1px 1px 0 rgba(40, 15, 10, 0.6));
}
.btn-top-right {
  position: absolute;
  top: 18px;
  right: 14px;
  z-index: 5;
  padding: 7px 14px;
  padding-right: calc(14px + 0.22em);
  background: rgba(8, 7, 10, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--or-cendre);
  cursor: pointer;
  font-family: var(--font-titre);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--os-cendre);
  border-radius: 0;
  transition: all 400ms ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-top-right:hover {
  border-color: var(--or-cierge);
  color: var(--os-pale);
  background: rgba(122, 99, 70, 0.18);
}
.landing-form {
  position: relative;
  z-index: 3;
  padding: 24px 18px 0;
  min-height: 100vh;
  min-height: 100dvh;
}
.form-titre-central {
  font-family: var(--font-titre);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding-left: 0.18em;
  color: var(--os-pale);
  text-align: center;
  margin-bottom: 18px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 12px rgba(0, 0, 0, 0.6);
}
.form-message-succes {
  font-family: var(--font-spectrale);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--cuivre-oxyde);
  text-align: center;
  margin-bottom: 14px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95), 0 0 8px rgba(0, 0, 0, 0.75);
  font-weight: 400;
}
.form-label-flottant {
  display: block;
  font-family: var(--font-titre);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  padding-left: 0.32em;
  color: var(--os-cendre);
  margin-bottom: 6px;
  margin-top: 12px;
  text-align: left;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 0 6px rgba(0, 0, 0, 0.7);
}
.form-input-flottant {
  width: 100%;
  background: rgba(216, 207, 190, 0.92);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  border: 1px solid var(--pierre-mouillee);
  color: var(--noir-encre);
  font-family: var(--font-corps);
  font-size: 1rem;
  font-weight: 400;
  padding: 13px 16px;
  outline: none;
  border-radius: 0;
  transition: border-color 400ms ease, box-shadow 400ms ease;
}
.form-input-flottant:focus {
  border-color: var(--or-cendre);
  box-shadow: 0 0 0 1px var(--or-cendre), 0 0 14px rgba(184, 153, 104, 0.2);
}
.form-input-flottant::placeholder {
  color: var(--texte-spectre);
  font-style: italic;
  font-family: var(--font-spectrale);
}
.form-btn-primaire {
  width: 100%;
  margin-top: 18px;
  padding: 14px 1.5rem;
  padding-left: calc(1.5rem + 0.22em);
  background: rgba(8, 7, 10, 0.65);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--or-cendre);
  cursor: pointer;
  font-family: var(--font-titre);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--os-pale);
  border-radius: 0;
  transition: all 600ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.form-btn-primaire::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--or-cendre), transparent);
  opacity: 0.6;
}
.form-btn-primaire:hover {
  border-color: var(--or-cierge);
  background: rgba(122, 99, 70, 0.18);
  box-shadow: 0 0 22px rgba(184, 153, 104, 0.15);
}
.form-meta {
  margin-top: 10px;
  text-align: center;
  font-family: var(--font-meta);
  font-size: 0.7rem;
  color: var(--os-cendre);
  letter-spacing: 0.16em;
  padding-left: 0.16em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
.form-checkbox-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.form-checkbox-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--os-cendre);
  background: rgba(8, 7, 10, 0.5);
  cursor: pointer;
  position: relative;
  border-radius: 0;
}
.form-checkbox-row input[type="checkbox"]:checked {
  background: var(--or-cierge);
  border-color: var(--or-cierge);
}
.form-checkbox-row input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: -2px;
  left: 1px;
  font-size: 0.85rem;
  color: var(--noir-absolu);
  font-weight: 600;
}
.form-checkbox-row label {
  font-family: var(--font-spectrale);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--os-cendre);
  cursor: pointer;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
.landing-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 24px 16px 18px;
  text-align: center;
  background: linear-gradient(to bottom, transparent 0%, rgba(8, 7, 10, 0.7) 50%, rgba(8, 7, 10, 0.92) 100%);
}
.landing-footer-question {
  font-family: var(--font-spectrale);
  font-style: italic;
  font-size: 1rem;
  color: var(--os-cendre);
  margin-bottom: 4px;
  font-weight: 400;
}
.landing-footer-link {
  display: inline-block;
  font-family: var(--font-titre);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding-left: 0.18em;
  color: var(--or-cierge);
  margin-bottom: 14px;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  transition: color 400ms ease;
}
.landing-footer-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--or-cendre), transparent);
  opacity: 0.5;
  transition: opacity 400ms ease;
}
.landing-footer-link:hover {
  color: var(--os-pale);
}
.landing-footer-link:hover::after {
  opacity: 0.9;
}
.landing-footer-contact {
  font-family: var(--font-spectrale);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--texte-spectre);
  cursor: pointer;
  display: inline-block;
  margin-top: 6px;
  transition: color 400ms ease;
  text-decoration: none;
}
.landing-footer-contact:hover {
  color: var(--os-cendre);
}
.pwa-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--voile-moyen);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.pwa-modal-box {
  background: var(--noir-absolu);
  padding: 2.5rem;
  border-radius: 0;
  max-width: 90%;
  width: 360px;
  box-shadow: none;
  border: 1px solid var(--pierre-mouillee);
  position: relative;
  transition: border-color 1200ms ease;
}
.pwa-modal-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--sang-frais), var(--sang-noir), transparent);
  opacity: 0.55;
}
.pwa-modal-box:hover {
  border-color: var(--pierre-grise);
}
.pwa-modal-text {
  margin: 0 0 20px 0;
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
  color: var(--texte-principal);
  font-weight: 300;
}
.pwa-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hidden {
  display: none;
}
.text-center {
  text-align: center;
}
.text-danger,
.invalid-feedback {
  color: var(--sang-frais);
  font-size: 0.78rem;
  margin-top: 6px;
  border-left: 2px solid var(--sang-noir);
  padding: 2px 6px;
  background: transparent;
}
.text-success {
  color: var(--cuivre-oxyde);
  font-family: var(--font-spectrale);
  font-style: italic;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
.is-invalid {
  border-color: var(--sang-frais);
}
.btn-link {
  background: transparent;
  border: none;
  color: var(--or-mourant);
  font-family: var(--font-spectrale);
  font-style: italic;
  cursor: pointer;
  padding: 4px 0;
  font-size: 0.9rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}
.btn-zo {
  display: block;
  width: 100%;
  cursor: pointer;
  text-align: center;
}
@media screen and (orientation: portrait) and (max-width: 550px) and (min-height: 840px) {
  #entrance.entrance-1 #form-login,
  #entrance.entrance-1 #form-signup,
  #entrance.entrance-1 #form-send-password-recovery-email {
    top: 95px;
  }
  #entrance.entrance-2 #form-login,
  #entrance.entrance-2 #form-send-password-recovery-email {
    top: 455px;
  }
  #entrance.entrance-2 #register-link {
    bottom: 0;
  }
  #entrance.entrance-3 #form-login,
  #entrance.entrance-3 #form-signup,
  #entrance.entrance-3 #form-send-password-recovery-email {
    top: 250px;
  }
}
@media screen and (orientation: landscape) and (max-height: 550px) {
  #entrance .form-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    max-width: 800px;
    margin: 0 auto;
  }
  #entrance .input-container {
    width: 70%;
  }
  #entrance .button-container {
    width: 30%;
    padding: 16px 0 0;
  }
  #entrance #remember-container {
    justify-content: flex-start;
  }
  #entrance #register-link {
    bottom: 0;
  }
  #entrance #register-link,
  #entrance #login-link {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
  #entrance #register-link-invite-link,
  #entrance #login-link-invite-link {
    margin-left: 8px;
  }
  #entrance #login-link {
    visibility: hidden;
    display: none;
  }
  #entrance.entrance-1 {
    background: url("../../../../images/background/landing-mobile-landscape-01.jpg") no-repeat center center;
    background-size: cover;
  }
  #entrance.entrance-2 {
    background: url("../../../../images/background/landing-mobile-landscape-02.jpg") no-repeat center center;
    background-size: cover;
  }
  #entrance.entrance-3 {
    background: url("../../../../images/background/landing-mobile-landscape-03.jpg") no-repeat center center;
    background-size: cover;
  }
}
@media screen and (orientation: landscape) and (min-height: 410px) and (max-height: 550px) {
  #entrance.entrance-1 #form-login,
  #entrance.entrance-1 #form-send-password-recovery-email {
    top: 140px;
  }
  #entrance.entrance-1 #register-link {
    bottom: 0;
  }
  #entrance #login-link {
    visibility: visible;
    display: block;
  }
}
@media screen and (orientation: landscape) and (min-height: 550px) {
  #entrance {
    max-height: 833px;
  }
  #entrance.entrance-1 {
    background: url("../../../../images/background/landing-01.jpg") no-repeat center center;
    background-size: cover;
  }
  #entrance.entrance-2 {
    background: url("../../../../images/background/landing-02.jpg") no-repeat center center;
    background-size: cover;
  }
  #entrance.entrance-3 {
    background: url("../../../../images/background/landing-03.jpg") no-repeat center center;
    background-size: cover;
  }
  #entrance #login-link {
    visibility: visible;
    display: block;
  }
}
@media screen and (min-width: 678px) and (min-height: 550px) {
  #entrance {
    max-height: 833px;
  }
  #entrance.entrance-1 {
    background: url("../../../../images/background/landing-01.jpg") no-repeat center center;
    background-size: cover;
  }
  #entrance.entrance-2 {
    background: url("../../../../images/background/landing-02.jpg") no-repeat center center;
    background-size: cover;
  }
  #entrance.entrance-3 {
    background: url("../../../../images/background/landing-03.jpg") no-repeat center center;
    background-size: cover;
  }
  #entrance #login-link {
    visibility: visible;
    display: block;
  }
}
@media screen and (min-height: 860px) and (min-width: 520px) {
  #entrance {
    margin-top: calc((100vh - 833px)/2);
    margin-top: calc((100dvh - 833px)/2);
  }
}
@media screen and (min-width: 950px) and (min-height: 678px) {
  #entrance .form-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    max-width: 800px;
    margin: 0 auto;
  }
  #entrance .input-container {
    width: 70%;
  }
  #entrance .button-container {
    width: 30%;
    padding: 16px 0 0;
  }
  #entrance #remember-container {
    justify-content: flex-start;
  }
}
@media screen and (min-width: 1410px) {
  #entrance {
    border: 1px solid var(--pierre-mouillee);
  }
}
@media screen and (min-width: 1410px) and (min-height: 863px) {
  #entrance {
    margin-top: 20px;
  }
}
@media screen and (min-width: 1410px) and (min-height: 900px) {
  #entrance {
    margin-top: calc((100vh - 833px)/2);
    margin-top: calc((100dvh - 833px)/2);
  }
  #entrance .form-container {
    flex-direction: column;
  }
  #entrance .input-container {
    width: 100%;
  }
  #entrance .button-container {
    width: 100%;
  }
  #entrance #remember-container {
    justify-content: center;
  }
  #entrance .register-login-button-link {
    right: 14px;
    top: 18px;
  }
  #entrance #register-link,
  #entrance #login-link {
    font-size: inherit;
  }
}
