/* ==========================================================================
   Robbi Digital — variables de marque (v1.0, novembre 2026)
   À importer en premier dans le site. Ne pas inventer d'autres couleurs.
   ========================================================================== */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs */
  --rd-orange: #EB5E1E;       /* signature : point, boutons, accents. Jamais pour du texte courant */
  --rd-orange-hover: #D9521A; /* survol des boutons */
  --rd-ink: #1F1F22;          /* anthracite : textes, logo, fonds foncés */
  --rd-paper: #FAF8F5;        /* papier : fond principal */
  --rd-stone: #8A857E;        /* gris pierre : légendes, détails */
  --rd-line: #E7E2DB;         /* filets, bordures */
  --rd-muted: #6B6762;        /* texte secondaire (contraste AA sur papier) */
  --rd-white: #FFFFFF;

  /* Typographie */
  --rd-font: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --rd-weight-regular: 400;
  --rd-weight-semibold: 600;
  --rd-text-sm: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --rd-text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --rd-text-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --rd-text-xl: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
  --rd-text-2xl: clamp(2.25rem, 1.7rem + 2.8vw, 4.25rem);
  --rd-text-3xl: clamp(2.75rem, 1.9rem + 4.4vw, 6rem);
  --rd-tracking-tight: -0.02em;

  /* Espacements */
  --rd-space-1: 0.25rem;
  --rd-space-2: 0.5rem;
  --rd-space-3: 1rem;
  --rd-space-4: 1.5rem;
  --rd-space-5: 2.25rem;
  --rd-space-6: 3.5rem;
  --rd-space-7: 5.5rem;
  --rd-space-8: 8rem;

  /* Formes : angles droits (la marque est carrée). Petits arrondis seulement sur les champs */
  --rd-radius-0: 0;
  --rd-radius-input: 4px;

  /* Mouvement */
  --rd-ease-out: cubic-bezier(.33, 1, .68, 1);
  --rd-ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --rd-ease-pop: cubic-bezier(.34, 1.8, .64, 1);
  --rd-duration-fast: 160ms;
  --rd-duration: 420ms;
  --rd-duration-slow: 800ms;

  --rd-max-width: 72rem;
  --rd-measure: 62ch;
}

/* Le point final orange après un titre :  <h2>Je le rends simple<span class="rd-dot"></span></h2> */
.rd-dot {
  display: inline-block;
  width: 0.15em;
  height: 0.15em;
  margin-left: 0.07em;
  background: var(--rd-orange);
  vertical-align: baseline;
}

@media (prefers-reduced-motion: reduce) {
  :root { --rd-duration-fast: 0ms; --rd-duration: 0ms; --rd-duration-slow: 0ms; }
}
