/* meet · jetons et bases communes. Chaque page charge ce fichier, puis Inter :
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet"> */

@font-face { font-family: "Editorial"; src: url("/assets/fonts/editorial-300.otf") format("opentype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Editorial"; src: url("/assets/fonts/editorial-200.otf") format("opentype"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Editorial"; src: url("/assets/fonts/editorial-200-italic.otf") format("opentype"); font-weight: 200; font-style: italic; font-display: swap; }

:root {
  /* clair : réserver, atelier */
  --creme: #F5F0EA;
  --noir: #1A1A1A;
  --rouge: #B2142C;
  --rouge-fonce: #8E0F22;
  --action: #C84020;
  --action-survol: #A9351A;
  --gris: #6B635C;
  --bord: rgba(26, 26, 26, 0.1);
  --bord-fort: rgba(26, 26, 26, 0.18);
  --carte: rgba(255, 255, 255, 0.45);
  --champ: #FFFDFB;

  /* sombre : la visio */
  --nuit: #121110;
  --tuile: #1E1C1A;
  --tuile-2: #2A2724;
  --trait: #3A3632;
  --trait-doux: #2E2B28;
  --texte-nuit: #F5F0EA;
  --texte-nuit-2: #CFC6BC;
  --texte-nuit-3: #A39A90;
  --rouge-clair: #F08A97;

  /* fil */
  --fil: 0 0 0 2px #B2142C, 0 0 0 7px rgba(178, 20, 44, 0.18);

  --serif: "Editorial", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, sans-serif;
  --ressort: cubic-bezier(.2, .8, .2, 1);
  --tirer: cubic-bezier(.6, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); background: var(--creme); color: var(--noir); -webkit-font-smoothing: antialiased; }
body.nuit { background: var(--nuit); color: var(--texte-nuit); }
a { color: var(--rouge); }
a:hover { color: var(--rouge-fonce); }
body.nuit a { color: var(--rouge-clair); }
button { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; }
body.nuit button:focus-visible, body.nuit a:focus-visible, body.nuit input:focus-visible { outline-color: var(--rouge-clair); }

.serif { font-family: var(--serif); font-weight: 300; }
.serif-fin { font-family: var(--serif); font-weight: 200; font-style: italic; }
.surtitre { font: 700 10.5px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.trait-rouge { display: block; width: 26px; height: 2px; background: var(--rouge); }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.marque::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rouge); }
.marque span { font-family: var(--serif); font-weight: 300; font-size: 22px; }
.invisible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
