/* ============ Polices (hébergées localement) ============ */
@font-face { font-family: "Geist"; src: url("../assets/fonts/Geist-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../assets/fonts/Geist-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../assets/fonts/Geist-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../assets/fonts/GeistMono-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../assets/fonts/GeistMono-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }

/* ============ Couleurs et mesures ============ */
:root {
  --gris: #ececeb;
  --gris-2: #e3e3e2;
  --gris-3: #d6d6d5;
  --noir: #111111;
  --noir-2: #1b1b1c;
  --blanc: #f6f6f5;
  --texte-gris: #6f6f6e;
  --bleu: #058cfa;
  --bleu-doux: #4a90e2;
  --rayon: 4px;
  --marge: clamp(16px, 4vw, 48px);
  --largeur: 1360px;
  --police: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--gris);
  color: var(--noir);
  font-family: var(--police);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }

/* Point ● des étiquettes */
.point { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--noir); margin-right: 8px; vertical-align: 1px; }
.point--bleu { background: var(--bleu); }
.etiquette { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }

/* Symbole Lucem (masque SVG, prend la couleur du texte) */
.symbole {
  display: inline-block; width: 22px; height: 22px; flex: none;
  background: currentColor;
  -webkit-mask: url("../assets/logo/lucem-symbole.svg") center / contain no-repeat;
          mask: url("../assets/logo/lucem-symbole.svg") center / contain no-repeat;
}
.symbole--petit { width: 16px; height: 16px; }
.symbole--grand { width: 64px; height: 64px; }
.symbole--clair { color: var(--blanc); }

/* ============ Boutons ============ */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.bouton:hover { transform: translateY(-1px); }
.bouton:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.bouton--noir { background: var(--noir); color: var(--blanc); }
.bouton--noir:hover { background: #2a2a2a; }
.bouton--bleu { background: var(--bleu); color: #fff; }
.bouton--bleu:hover { background: #2a9dff; }
.bouton--contour { border-color: var(--noir); color: var(--noir); background: transparent; }
.bouton--contour:hover { background: var(--noir); color: var(--blanc); }
.bouton--contour-clair { border-color: #3a3a3a; color: var(--blanc); background: transparent; }
.bouton--contour-clair:hover:not(:disabled) { border-color: var(--blanc); }

/* ============ Bandeau démo ============ */
.bandeau-demo { background: var(--noir); color: #bdbdbc; text-align: center; padding: 9px var(--marge); }
.bandeau-demo .mono { font-size: 11px; }
.bandeau-demo a { color: var(--blanc); }

/* ============ En-tête ============ */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(236, 236, 235, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--gris-3); }
.entete__ligne { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--noir); }
.logo__nom { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.logo .symbole { width: 21px; height: 21px; }
.menu { display: flex; gap: 28px; margin-left: auto; }
.menu a { text-decoration: none; font-size: 15px; color: #3c3c3b; }
.menu a:hover { color: var(--noir); }
.menu-mobile { display: none; margin-left: auto; background: none; border: 1px solid var(--noir); border-radius: 999px; padding: 8px 14px; cursor: pointer; color: var(--noir); }
.tiroir { display: flex; flex-direction: column; padding: 8px var(--marge) 18px; gap: 4px; }
.tiroir a { text-decoration: none; font-size: 20px; padding: 8px 0; border-bottom: 1px solid var(--gris-3); }
.tiroir[hidden] { display: none; }

@media (max-width: 860px) {
  .menu, .entete__ligne > .bouton { display: none; }
  .menu-mobile { display: inline-flex; }
}
