/* Accueil autonome avant accès au site : mêmes encres, papier et polices que globals.css. */
@font-face {
  font-family: Cormorant;
  src: url("/acces-demo/polices/cormorant.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url("/acces-demo/polices/cormorant-italique.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: Source;
  src: url("/acces-demo/polices/source-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --creme: #f4f0e4;
  --papier: #fbf9f1;
  --olive: #4a523a;
  --olive-sombre: #26291a;
  --or: #c9a85d;
  --bordure: #ded7c0;
  --mouvement-bref: 160ms;
  --courbe-reponse: cubic-bezier(0.4, 0, 0.2, 1);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--creme);
  color: var(--olive-sombre);
  font:
    16px/1.5 Source,
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 5px;
}
h1,
h2,
p {
  margin: 0;
}
.accueil {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
}
.invitation {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 820px;
  padding: 48px 56px 28px;
  color: var(--creme);
  background: #26291a;
  overflow: hidden;
}
.invitation-photo,
.invitation-voile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  object-fit: cover;
  object-position: 45% center;
}
.invitation-voile {
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(25, 30, 19, 0.58),
    rgba(25, 30, 19, 0.2) 28%,
    rgba(25, 30, 19, 0.79) 73%,
    rgba(25, 30, 19, 0.94)
  );
}
.marque {
  display: flex;
  align-items: center;
  gap: 16px;
}
.marque img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(244, 240, 228, 0.35);
}
.marque-nom {
  display: block;
  font:
    600 29px/1.1 Cormorant,
    Georgia,
    serif;
}
.marque-lieu {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  letter-spacing: 1.7px;
}
.invitation-texte {
  padding: 85px 0 72px;
  max-width: 540px;
}
.surtitre {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.2px;
}
.surtitre-or {
  color: #e2c685;
}
h1 {
  margin-top: 27px;
  font:
    500 clamp(48px, 4.4vw, 72px) / 1.04 Cormorant,
    Georgia,
    serif;
  letter-spacing: -1.8px;
}
h1 em {
  color: #dfc687;
  font-weight: 500;
}
.filet-or {
  width: 48px;
  height: 1px;
  margin: 31px 0 23px;
  background: var(--or);
}
.invitation-texte > p {
  font-size: 16px;
  line-height: 1.7;
  color: #e7e2ce;
}
.invitation-bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-size: 8px;
  letter-spacing: 1.6px;
}
.invitation-bas a {
  color: #d0ccbd;
  font-size: 9px;
  letter-spacing: 0;
  text-underline-offset: 3px;
}
.visite {
  padding: 43px 54px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background:
    radial-gradient(ellipse at 90% 0%, #ece6d5 0, transparent 50%), var(--creme);
}
.visite-entete {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9px;
  letter-spacing: 1.9px;
  color: #646953;
}
.repere {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #858969;
}
.connexion {
  width: 100%;
  max-width: 366px;
  padding: 45px 0 38px;
}
.embleme {
  width: 54px;
  height: 54px;
  margin-bottom: 21px;
  color: #929273;
}
.embleme svg {
  width: 100%;
  height: 100%;
}
.connexion > .surtitre {
  color: #6e735d;
  font-size: 9px;
  letter-spacing: 2px;
}
h2 {
  margin-top: 14px;
  font:
    500 62px/0.98 Cormorant,
    Georgia,
    serif;
  letter-spacing: -1.8px;
}
h2 em {
  color: var(--olive);
  font-weight: 500;
}
.introduction {
  margin-top: 22px;
  color: #646750;
  font-size: 15px;
  line-height: 1.6;
}
.formulaire {
  margin-top: 29px;
}
.champ + .champ {
  margin-top: 17px;
}
.champ label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 7px;
}
.champ input {
  display: block;
  width: 100%;
  height: 51px;
  border: 1px solid var(--bordure);
  border-radius: 4px;
  background: rgba(251, 249, 241, 0.65);
  color: var(--olive-sombre);
  padding: 0 15px;
  font-size: 14px;
}
.champ input::placeholder {
  color: #8a8c79;
}
.champ input:focus {
  border-color: var(--olive);
  outline: 1px solid var(--olive);
  outline-offset: 0;
}
.champ-secret {
  position: relative;
}
.champ-secret input {
  padding-right: 50px;
}
.voir-secret {
  position: absolute;
  right: 3px;
  top: 3px;
  width: 45px;
  height: 45px;
  border: 0;
  background: transparent;
  color: #737861;
  display: grid;
  place-items: center;
}
.voir-secret svg {
  width: 20px;
  height: 20px;
}
.entrer {
  width: 100%;
  height: 53px;
  border: 0;
  border-radius: 4px;
  background: var(--olive);
  color: var(--papier);
  margin-top: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  transition: background var(--mouvement-bref) var(--courbe-reponse);
}
.entrer:hover {
  background: #333b27;
}
.entrer > span:last-child {
  font-family: system-ui, sans-serif;
  font-size: 23px;
  font-weight: 400;
}
.note-privee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #777b66;
  font-size: 11px;
  margin-top: 15px;
}
.note-privee svg {
  width: 12px;
  height: 14px;
  flex-shrink: 0;
}
.aide {
  border-top: 1px solid var(--bordure);
  margin-top: 31px;
  padding-top: 21px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  justify-content: space-between;
  font-size: 11px;
  color: #747862;
}
.aide a {
  text-decoration: none;
  color: var(--olive);
  font-weight: 600;
}
.aide a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.visite-pied {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 9px;
  color: #787b66;
}
.visite-pied > span:first-child {
  font-size: 8px;
  letter-spacing: 1.8px;
}
.visite-pied a {
  text-underline-offset: 3px;
}
.erreur {
  border: 1px solid #ddc7b3;
  border-left: 3px solid #b2543b;
  border-radius: 3px;
  padding: 12px 14px;
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.5;
  background: #f3e7da;
  color: #793d29;
}
@media (min-width: 1600px) {
  .invitation {
    padding-left: 80px;
    padding-right: 80px;
  }
  .connexion {
    max-width: 390px;
  }
}
@media (max-width: 1050px) {
  .invitation {
    padding: 34px 32px 25px;
  }
  .visite {
    padding: 34px 32px 25px;
  }
  .marque-lieu {
    font-size: 8px;
    letter-spacing: 1px;
  }
  h1 {
    font-size: 52px;
  }
  h2 {
    font-size: 56px;
  }
  .invitation-bas {
    gap: 8px;
  }
}
@media (max-width: 700px) {
  .accueil {
    grid-template-columns: 1fr;
  }
  .invitation {
    min-height: 0;
    padding: 24px 26px 29px;
  }
  .marque {
    gap: 12px;
  }
  .marque img {
    width: 47px;
    height: 47px;
  }
  .marque-nom {
    font-size: 25px;
  }
  .marque-lieu {
    margin-top: 5px;
    font-size: 7px;
    letter-spacing: 1.4px;
  }
  .invitation-photo {
    object-position: center 42%;
  }
  .invitation-voile {
    background: linear-gradient(
      110deg,
      rgba(25, 30, 19, 0.83),
      rgba(25, 30, 19, 0.45)
    );
  }
  .invitation-texte {
    padding: 33px 0 0;
  }
  .invitation-texte > .surtitre,
  .invitation-texte > p,
  .filet-or {
    display: none;
  }
  h1 {
    font-size: 35px;
    letter-spacing: -0.7px;
    line-height: 1.1;
    margin: 0;
  }
  h1 br:first-of-type {
    display: none;
  }
  h1 br:first-of-type:after {
    content: " ";
  }
  .invitation-bas {
    margin-top: 19px;
  }
  .invitation-bas > span {
    display: none;
  }
  .invitation-bas a {
    font-size: 8px;
  }
  .visite {
    padding: 27px 26px 22px;
  }
  .visite-entete {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  .connexion {
    max-width: 400px;
    padding: 27px 0 33px;
  }
  .embleme {
    display: none;
  }
  .connexion > .surtitre {
    font-size: 8px;
  }
  h2 {
    font-size: 49px;
    line-height: 1.02;
    margin-top: 13px;
  }
  h2 br {
    display: none;
  }
  h2 br:after {
    content: " ";
  }
  .introduction {
    font-size: 14px;
    margin-top: 15px;
  }
  .ordinateur {
    display: none;
  }
  .formulaire {
    margin-top: 23px;
  }
  .champ input {
    font-size: 16px;
    height: 52px;
  }
  .champ label {
    font-size: 12px;
  }
  .entrer {
    margin-top: 22px;
    height: 54px;
  }
  .note-privee {
    font-size: 10px;
  }
  .aide {
    margin-top: 25px;
    font-size: 11px;
  }
  .visite-pied {
    font-size: 8px;
  }
  .visite-pied > span:first-child {
    font-size: 7px;
    letter-spacing: 1.1px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --mouvement-bref: 0.01ms;
  }
}
