/* Portail Agents RG : page provisoire, charte Agence RG, mobile d'abord. */

/* Police Poppins hebergee sur le serveur lui-meme (aucun appel a Google Fonts :
   l'adresse IP des visiteurs ne part pas chez un tiers). Licence SIL OFL 1.1,
   texte complet dans polices/OFL.txt. Source : paquet npm @fontsource/poppins 5.2.7,
   sous-ensemble "latin" (accents francais compris). */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("polices/poppins-latin-300-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("polices/poppins-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("polices/poppins-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("polices/poppins-latin-600-normal.woff2") format("woff2");
}

:root {
  --bleu-gris: #424E64;
  --or: #C1A56A;
  --beige: #F1EDEB;
  --blanc: #FFFFFF;
  --texte-doux: #6B7487;
  --titre: "Benton Modern Display", "Didot", "Bodoni MT", Georgia, "Times New Roman", serif;
  --texte: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--blanc);
  color: var(--bleu-gris);
  font-family: var(--texte);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  border-top: 6px solid var(--bleu-gris);
}

.page {
  min-height: calc(100dvh - 6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 16px 24px;
}

/* Bloc marque */
.marque {
  text-align: center;
}

.monogramme {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--or);
  border-radius: 50%;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--bleu-gris);
}

.marque-nom {
  margin: 0;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 6px;
  text-transform: uppercase;
}

.marque-sous {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--or);
}

/* Carte centrale */
.carte {
  position: relative;
  width: 100%;
  max-width: 560px;
  padding: 40px 24px 36px;
  text-align: center;
  background: var(--beige);
  border-radius: 4px;
  box-shadow: 0 18px 40px -24px rgba(66, 78, 100, 0.45);
}

.carte::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: var(--or);
}

.surtitre {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--texte-doux);
}

h1 {
  margin: 0;
  font-family: var(--titre);
  font-weight: 900;
  font-size: 34px;
  line-height: 1.15;
  color: var(--bleu-gris);
}

.filet {
  display: block;
  width: 56px;
  height: 2px;
  margin: 20px auto;
  background: var(--or);
}

.statut {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 8px 18px;
  background: var(--blanc);
  border: 1px solid var(--or);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.pastille {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--or);
  animation: pulsation 2.4s ease-in-out infinite;
}

@keyframes pulsation {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .pastille { animation: none; }
}

.texte {
  margin: 0 auto;
  max-width: 40ch;
  font-size: 15px;
  font-weight: 300;
  color: var(--bleu-gris);
}

/* Pied de page */
.pied p {
  margin: 0;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--texte-doux);
}

/* Tablette et ordinateur */
@media (min-width: 720px) {
  .page {
    padding: 64px 32px 32px;
  }

  .monogramme {
    width: 84px;
    height: 84px;
    font-size: 32px;
  }

  .carte {
    padding: 56px 48px 48px;
  }

  h1 {
    font-size: 46px;
  }

  .texte {
    font-size: 16px;
  }
}
