/* E'C Nails — variables de la charte (extraites du prototype docs/prototype/).
 *
 * Ordre de chargement : tokens.css → base.css → site.css (site public) ou admin.css (espace pro).
 * Polices : hébergées par le site (assets/css/fonts.css + assets/fonts/), chargées par chaque page HTML :
 *   <link rel="stylesheet" href="/assets/css/fonts.css"> (avant tokens.css).
 */

:root {
  /* Couleurs */
  --c-bg: #f5f0e8;              /* fond crème */
  --c-bg-light: #faf6ef;
  --c-paper: #fffdf9;           /* fond des modales */
  --c-ink: #4a3526;             /* texte courant */
  --c-brown: #5a3e2b;           /* titres, liens de navigation */
  --c-brown-2: #6b4a33;         /* haut du dégradé des boutons pleins */
  --c-night: #3b291d;           /* bas du pied de page */
  --c-gold: #a47e4a;            /* or : accents, script */
  --c-gold-dark: #7f5d33;       /* sur-titres, libellés (contraste AA sur crème) */
  --c-gold-deep: #7a5a2e;       /* texte sur fond doré pâle */
  --c-gold-light: #d9b77c;
  --c-gold-mid: #d1af75;
  --c-gold-pale: #e9cf98;
  --c-gold-focus: #c9a469;
  --c-cream: #f6efe4;           /* texte sur fond brun */
  --c-muted: #a8927a;           /* placeholders */
  --c-disabled: #b3a596;
  --c-danger: #a8412f;
  --c-success: #4f7a4a;

  --c-line: rgba(164, 126, 74, .2);          /* séparateurs */
  --c-border: rgba(164, 126, 74, .45);       /* bordure dorée des cartes et boutons */
  --c-border-soft: rgba(164, 126, 74, .35);  /* champs */
  --c-border-faint: rgba(164, 126, 74, .3);
  --c-border-white: rgba(255, 255, 255, .95);
  --c-tint: rgba(217, 183, 124, .16);        /* bandeaux dorés pâles */
  --c-tint-strong: rgba(217, 183, 124, .18);
  --c-hover: rgba(90, 62, 43, .08);          /* survol des liens-boutons */
  --c-danger-tint: rgba(168, 65, 47, .08);
  --c-taken: rgba(90, 62, 43, .07);          /* créneau indisponible */
  --c-backdrop: rgba(59, 41, 29, .42);       /* voile des modales */

  /* Dégradés */
  --g-primary: linear-gradient(180deg, #6b4a33, #4a3526);
  --g-gold: linear-gradient(180deg, #d1af75, #a47e4a);
  --g-gold-dot: linear-gradient(180deg, #e9cf98, #a47e4a);
  --g-pearl: linear-gradient(180deg, #fff, #f3ead9);
  --g-ghost: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .65));
  --g-choice: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .72));
  --g-field: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .82));
  --g-footer: linear-gradient(180deg, #4a3526, #3b291d);
  --g-sheen: linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0));
  --g-ring: conic-gradient(from 210deg, #f3e2bf, #a47e4a, #f6e4c4, #c9a469, #f3e2bf);
  --g-page: linear-gradient(180deg, rgba(250, 246, 239, .55), rgba(245, 240, 232, .72));
  --g-head: linear-gradient(150deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .4));

  /* Verre dépoli */
  --glass-bg: linear-gradient(150deg, rgba(255, 255, 255, .84), rgba(255, 255, 255, .56));
  --glass-bg-strong: linear-gradient(150deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .62));
  --glass-bg-card: linear-gradient(150deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .66));
  --glass-blur: blur(24px) saturate(1.35);

  /* Images de fond (chemins relatifs à ce fichier) */
  --img-page: url("../img/arriere-plan.jpg");
  --img-page-set: image-set(url("../img/arriere-plan.webp") type("image/webp"), url("../img/arriere-plan.jpg") type("image/jpeg"));

  /* Ombres */
  --sh-glass: inset 0 0 0 1px rgba(255, 255, 255, .9), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(164, 126, 74, .10), 0 24px 60px rgba(90, 62, 43, .09), 0 2px 6px rgba(90, 62, 43, .04);
  --sh-glass-hover: inset 0 0 0 1px rgba(255, 255, 255, .9), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(164, 126, 74, .10), 0 32px 70px rgba(90, 62, 43, .14), 0 2px 6px rgba(90, 62, 43, .04);
  --sh-glass-soft: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(164, 126, 74, .10), 0 24px 60px rgba(90, 62, 43, .09), 0 2px 6px rgba(90, 62, 43, .04);
  --sh-header: inset 0 0 0 1px rgba(255, 255, 255, .9), inset 0 1px 0 #fff, 0 10px 30px rgba(90, 62, 43, .10);
  --sh-primary: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .2), 0 12px 28px rgba(74, 53, 38, .22);
  --sh-primary-hover: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .2), 0 18px 36px rgba(74, 53, 38, .3);
  --sh-ghost: inset 0 1px 0 #fff, 0 8px 20px rgba(90, 62, 43, .10);
  --sh-ghost-hover: inset 0 1px 0 #fff, 0 14px 28px rgba(90, 62, 43, .16);
  --sh-selected: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 18px rgba(74, 53, 38, .25);
  --sh-choice: inset 0 1px 0 #fff;
  --sh-field: inset 0 1px 0 #fff, 0 2px 6px rgba(90, 62, 43, .04);
  --sh-field-focus: inset 0 1px 0 #fff, 0 0 0 4px rgba(217, 183, 124, .28);
  --sh-gold: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 18px rgba(164, 126, 74, .3);
  --sh-pearl: inset 0 1px 0 #fff, 0 6px 14px rgba(90, 62, 43, .08);
  --sh-modal: inset 0 1px 0 #fff, 0 40px 100px rgba(40, 25, 15, .38);

  /* Rayons */
  --r-pill: 999px;
  --r-field: 18px;
  --r-tab: 20px;
  --r-card: 26px;
  --r-card-lg: 30px;
  --r-nav: 28px;
  --r-panel: clamp(28px, 4vw, 48px);
  --r-modal: clamp(28px, 4vw, 40px);

  /* Typographie */
  --font-sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-script: "Pinyon Script", "Snell Roundhand", cursive;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Mise en page et mouvement */
  --w-content: 1160px;
  --gutter: 4vw;
  --header-offset: 90px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --t-fast: .2s;
  --t-base: .25s;
  --t-slow: .3s;
}
