@charset "UTF-8";

/* =========================================================
   Reset minimal
   ========================================================= */
article, aside, details, figcaption, figure, footer, header,
hgroup, main, nav, section, summary { display: block; }
[hidden], template { display: none; }

/* =========================================================
   Variables (référentiel imposé)
   ========================================================= */
:root{
  --blanc-rvb:           255, 255, 255; /* #FFFFFB */
  --blanc-casse-rvb:     246, 246, 246; /* #F6F6F6 */
  --gris-argent-rvb:     213, 213, 213; /* #D5D5D5 */
  --gris-clair-rvb:      217, 225, 226; /* #DBE0E0 */
  --gris-moyen-rvb:      117, 120, 123; /* #78797B */
  --gris-moyen-pale-rvb: 236, 240, 241; /* #ECF0F1 */
  --gris-sombre-rvb:      29,  37,  45; /* #1D252D */
  --noir-rvb:             16,  24,  32; /* #101820 */

  --rouge-rvb:           224,  60,  49; /* #E03C31 */
  --orange-rvb:          219, 107,  48; /* #DB6B30 */
  --jaune-rvb:           252, 192,   0; /* #FCC000 */
  --jaune-vif-rvb:       215, 199,  38; /* #D7C726 */
  --jaune-moutarde-rvb:  215, 185,  38; /* #D7B926 */
  --jaune-orange-rvb:    218, 168,   3; /* #DAA803 */
  --jaune-serin-rvb:     255, 232,  29; /* #FFE81D */
  --vert-rvb:             80, 158,  47; /* #509E2F */
  --vert-academie-rvb:    64, 115,  54; /* #3C7336 */
  --bleu-vert-rvb:        66, 152, 181; /* #4298B5 */
  --bleu-clair-rvb:      123, 164, 219; /* #7BA4DB */
  --bleu-sombre-rvb:      30,  34, 170; /* #1E22AA */
  --violet-rvb:          117,  59, 189; /* #753BBD */
  --pourpre-rvb:         187,  41, 187; /* #BB29BB */
  --rose-rvb:            255,  37, 108; /* #FF256C */

  --alpha-100: 1;
  --alpha-90: 0.9;
  --alpha-70: 0.7;
  --alpha-50: 0.5;
  --alpha-30: 0.3;
  --alpha-10: 0.1;

  --z-index-navbar: 10;
  --z-index-dropdown: 20;
  --z-index-modal: 30;
  --z-index-tooltip: 40;

  --taille-fonte: 12px;

  --courbure: 0.5em;
  --intermot: 0.5em;
  --interligne: 1.5em;
  --approche: 0.025em;
  --lisere: 1px;

  --interbloc: 0.75rem;
  --gouttiere: 1rem;
  --intermenu: 0.5rem;
  --rembourrage: 1rem;
  --retrait: 2rem;
  --alinea: -1rem;

  --taille-m:  1.5rem;
  --taille-h1: 2rem;
  --taille-h2: 1.625rem;
  --taille-h3: 1.25rem;
  --taille-h4: 1.25rem;
  --taille-h5: 1.25rem;
  --taille-h6: 1.125rem;
  --taille-p:  1rem;
}

/* =========================================================
   Base globale
   ========================================================= */
html{
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--taille-fonte);        /* référentiel conservé */
  letter-spacing: var(--approche);
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body{
  margin: 0;
  color: rgb(var(--noir-rvb));
  text-align: center;

  /* Image de fond pleine page */
  background-color: rgb(var(--gris-sombre-rvb));
  background-image: url("../decoration/mont-dore-chaine-des-puys.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
}

/* =========================================================
   Overlay (détache la carte du fond)
   ========================================================= */
.fond-page{
  min-height: 100vh;
  padding: calc(var(--rembourrage) * 2);
  display: flex;
  align-items: flex-start;               /* panneau plus haut */
  justify-content: flex-start;

  background: linear-gradient(
    to bottom,
    rgba(var(--noir-rvb), var(--alpha-10)),
    rgba(var(--noir-rvb), var(--alpha-30))
  );
}

/* =========================================================
   Carte (étiquette) : TEXTE PLUS GRAND ET SIMPLE
   - On fixe la carte à 16px sans toucher au référentiel global
   ========================================================= */
.page{
 /* Largeur discrète */
  width: min(56rem, 90vw);

  /* 16px de base dans la carte */
  font-size: 16px;
  line-height: 1.5;

  margin-left: 10vw;
  margin-top: 10vh;

  background: rgba(var(--blanc-casse-rvb), 0.85);

  border-radius: var(--courbure);
  border: var(--lisere) solid rgba(var(--gris-argent-rvb), var(--alpha-70));

  /* Ombre légère + filet : sobre, pas “landing page” */
  box-shadow:
    0 0.3rem 0.8rem rgba(var(--noir-rvb), 0.08),
    0 0 0 1px rgba(var(--gris-argent-rvb), 0.6);


  overflow: hidden;

  /* léger lissage (optionnel, moderne) */
  backdrop-filter: blur(1.5px);
}

/* =========================================================
   En-tête
   ========================================================= */
.entete{
  padding: 24px 24px 12px;
}

.logo{
  display: inline-block;
  height: auto;
  max-width: 220px;
}

/* =========================================================
   Contenu
   ========================================================= */
.contenu{
  padding: 0 28px 20px;
}

.titre{
  margin: 0 0 10px;
  font-size: 32px;                       /* net et lisible */
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgb(var(--noir-rvb));
}

.accroche{
  margin: 0 auto 12px;
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.6;
  color: rgb(var(--gris-moyen-rvb));
  font-style: italic;
}

.lien{
  margin: 0 0 14px;
  font-size: 16px;
}

.infos{
  margin: 16px auto 0;
  display: inline-flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;

  padding: 10px 14px;
  border-radius: var(--courbure);
  border: var(--lisere) solid rgba(var(--gris-argent-rvb), var(--alpha-70));
  background: rgba(var(--blanc-casse-rvb), var(--alpha-100));
  color: rgb(var(--gris-moyen-rvb));
  font-size: 14px;

  border: none;
  background: none;
  padding: 0;

}

strong{
  color: rgb(var(--noir-rvb));
}

/* Liens : couleur officielle */
a{
  color: rgb(var(--bleu-vert-rvb));
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
}

/* =========================================================
   Footer
   ========================================================= */
.ruban{
  padding: 12px 16px;
  background: rgba(var(--gris-sombre-rvb), var(--alpha-100));
  color: rgb(var(--blanc-rvb));
  font-size: 13px;
}

.ruban p{
  margin: 0;
  padding: 0;
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 520px){
  body{
    background-attachment: scroll;       /* fluide sur mobile */
    background-position: center 30%;
  }

  .fond-page{
    padding: 16px;
    justify-content: center;
  }

  .page{
    width: 100%;
    border-radius: 0;
    font-size: 16px;                     /* on garde confortable */
    margin-left: 0;
    margin-top: 8vh;
    width: 92vw;
  }

  .contenu{
    padding: 0 16px 16px;
  }

  .titre{
    font-size: 26px;
  }

  .accroche{
    font-size: 16px;
  }

  .infos{
    font-size: 13px;
  }
}
