/* Page d'attente de balao.io : servie seule, le temps que le nouveau site soit prêt.
   Mêmes valeurs que scss/_reglages.scss (Poppins, nuit, vert du logo). */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); }

:root {
  --encre: #1d1d1f;
  --nuit: #111112;
  --discret: #5f5f63;
  --ligne: #d9d9d6;
  --blanc: #fff;
  --vert: #5cad36;
  --police: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gouttiere: clamp(1rem, 4vw, 2.5rem);
  --colonne: 46rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--police); font-size: 1rem; line-height: 1.65; color: var(--encre); background: var(--blanc); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--vert); }
a:focus-visible { outline: 2px solid var(--vert); outline-offset: 3px; }

/* Accueil : plein écran sur fond nuit, logo et phrase centrés */
.accueil { min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; background: var(--nuit); color: var(--blanc); }
.annonce { display: grid; place-content: center; justify-items: center; gap: clamp(1.75rem, 4vw, 2.75rem); padding: 3rem var(--gouttiere); text-align: center; }
.annonce h1 { margin: 0; }
.annonce h1 img { width: clamp(11rem, 30vw, 17rem); }
.annonce p { margin: 0; font-size: clamp(1.15rem, 2.6vw, 1.6rem); line-height: 1.4; }
.point { color: var(--vert); }

/* Liens légaux en bas de chaque page */
.pied { padding: 1.5rem var(--gouttiere); font-size: .875rem; }
.pied ul { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: 0; padding: 0; list-style: none; }
.accueil .pied ul { justify-content: center; }
.accueil .pied { color: #c9c9cc; }

/* Pages légales : colonne de texte, logo aligné sur son bord gauche */
.colonne { max-width: calc(var(--colonne) + 2 * var(--gouttiere)); margin: 0 auto; padding-left: var(--gouttiere); padding-right: var(--gouttiere); }
.entete { border-bottom: 1px solid var(--ligne); }
.entete .colonne { padding-top: 1.25rem; padding-bottom: 1.25rem; }
/* Le dessin du logo commence à 6,35 % de la largeur du fichier : on le ramène sur le bord de la colonne. */
.entete img { --largeur-logo: 7.5rem; width: var(--largeur-logo); margin-left: calc(var(--largeur-logo) * -.0635); }
.legal main { padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.legal h1 { margin: 0 0 1.5rem; font-size: clamp(1.85rem, 3.4vw, 2.5rem); line-height: 1.2; font-weight: 600; }
.legal h2 { margin: 2.25rem 0 .75rem; font-size: 1.35rem; line-height: 1.3; font-weight: 600; }
.legal p, .legal ul { margin: 0 0 1rem; }
.legal main ul { padding-left: 1.25rem; }
.legal .maj { color: var(--discret); }
.legal .pied { border-top: 1px solid var(--ligne); padding-left: 0; padding-right: 0; color: var(--discret); }
.legal .pied .colonne { padding-top: 0; padding-bottom: 0; }

/* Menu des langues, en haut à droite : la langue affichée est soulignée du vert du logo */
.langues ul { display: flex; gap: .25rem; margin: 0 -.5rem 0 0; padding: 0; list-style: none; font-size: .875rem; font-weight: 600; letter-spacing: .04em; }
.langues a, .langues span { display: block; padding: .35rem .5rem; text-decoration: none; }
.langues span { box-shadow: inset 0 -2px 0 var(--vert); }
.langues a { color: var(--discret); }
.langues a:hover { color: var(--vert); }
.accueil { position: relative; }
.accueil .langues { position: absolute; top: 1.25rem; right: var(--gouttiere); }
.accueil .langues a { color: #c9c9cc; }
.accueil .langues a:hover { color: var(--vert); }
.entete .colonne { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.entete .colonne > a { flex: none; }
