/* ==========================================================================
   Aly's Nails — design tokens
   Rose gold dominant, ivoire, champagne et ornements en métal rose gold
   + deux nuances pour l'accessibilité :
   --c-muted-strong (texte secondaire de petite taille, contraste ≥ 4.5:1)
   --c-accent-ink   (rose gold foncé des liens et textes d'accent)
   ========================================================================== */

@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/vendor/fonts/bodoni-moda-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("/vendor/fonts/bodoni-moda-latin-opsz-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/vendor/fonts/bodoni-moda-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("/vendor/fonts/bodoni-moda-latin-ext-opsz-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/vendor/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/vendor/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Pinyon Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/vendor/fonts/pinyon-script-latin-400-normal.woff2") format("woff2");
}

/* Chiffres : Bodoni (traits très fins) et la calligraphie deviennent illisibles sur un écran de faible qualité.
   Les chiffres de ces textes sont donc dessinés avec Marcellus (capitales romaines gravées, licence OFL) :
   élégant, sans traits trop fins, lisible sur tous les écrans. */
@font-face {
  font-family: "Alyn Chiffres";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/vendor/fonts/marcellus-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0030-0039;
}

/* Polices de secours aux métriques proches : limite le décalage de mise en page au chargement */
@font-face {
  font-family: "Bodoni Fallback";
  src: local("Didot"), local("Bodoni 72"), local("Georgia"), local("Times New Roman");
  size-adjust: 96%;
}
@font-face {
  font-family: "Manrope Fallback";
  src: local("Helvetica Neue"), local("Arial");
  size-adjust: 104%;
}

:root {
  /* — Couleur principale : rose gold, ivoire, rose poudré et champagne —
     Les variables historiques --c-red* portent désormais les nuances de rose gold. */
  --c-red: #A35F6B;            /* rose gold principal */
  --c-red-deep: #7A3F4A;       /* rose gold profond : marge autour du site, pied de page */
  --c-red-bright: #C98A93;
  --c-rosegold: #B76E79;
  --c-powder: #E8C5CB;
  --c-ivory: #FFFDFC;
  --c-white: #FFFFFF;
  --c-beige: #F8EDEF;          /* surfaces claires rosées */
  --c-brown: #3A2329;          /* prune très sombre : texte principal */
  --c-muted: #6F5862;          /* 4,7:1 sur le mur crème (WCAG AA) */

  /* — Touches douces : couleurs macaron et métal rose gold — */
  --c-dragee: #F6E1E4;
  --c-pistache: #DCEBD2;
  --c-lavande: #E5DBF2;
  --c-peche: #FCE1D0;
  --c-beurre: #F7ECC9;
  --c-ciel: #DCE9F2;
  --c-framboise: #A8616D;
  --c-gold: #C9928A;
  --c-gold-light: #F3D6CC;
  --c-rosegold-light: #E8B4BA;
  --c-rosegold-deep: #8E4B57;

  --g-rosegold: linear-gradient(118deg, #7A3F4A 0%, #A8616D 28%, #8E4B57 50%, #A5606C 72%, #7A3F4A 100%);
  --g-rosegold-soft: linear-gradient(118deg, #EFC9CE 0%, #FBEDEF 40%, #F1D2D6 70%, #F9E6E8 100%);
  --g-gold: linear-gradient(118deg, #9C5864 0%, #F3D6CC 35%, #C9928A 55%, #F8E3DA 80%, #8E4B57 100%);

  /* — Dérivées (accessibilité) — */
  --c-muted-strong: #6B4F57;
  --c-accent-ink: #8E4B57;
  --c-champagne: #EFDDD0;
  --c-line: rgb(58 35 41 / 0.12);
  --c-line-strong: rgb(58 35 41 / 0.24);
  --c-line-gold: rgb(201 146 138 / 0.55);
  --c-veil: rgb(255 253 252 / 0.84);

  /* — États — */
  --c-success: #46704F;
  --c-success-bg: #E2EFDF;
  --c-danger: #9B2A3C;
  --c-danger-bg: #F9E6E8;
  --c-warning: #8A5A1C;
  --c-warning-bg: #F8ECD5;
  --c-info-bg: #FBEFF0;

  /* — Typographie — */
  --f-serif: "Alyn Chiffres", "Bodoni Moda", "Bodoni Fallback", "Didot", Georgia, serif;
  --f-sans: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-script: "Alyn Chiffres", "Pinyon Script", "Bodoni Moda", cursive;

  --t-display: clamp(3.1rem, 1.2rem + 6.4vw, 7.25rem);
  --t-h1: clamp(2.6rem, 1.4rem + 4vw, 4.75rem);
  --t-h2: clamp(2.05rem, 1.35rem + 2.6vw, 3.5rem);
  --t-h3: clamp(1.4rem, 1.15rem + .8vw, 1.85rem);
  --t-lead: clamp(1.125rem, 1.04rem + .35vw, 1.3rem);
  --t-body: 1rem;
  --t-small: .875rem;
  --t-micro: .78rem;

  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem;
  --s-9: clamp(4.5rem, 3rem + 6vw, 9rem);

  --frame-gap: 14px;
  --frame-radius: 34px;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 24px;
  --radius-pill: 999px;

  --content: 1240px;
  --measure: 34rem;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: 160ms;
  --dur: 320ms;

  --shadow-soft: 0 1px 0 rgb(255 255 255 / .8) inset, 0 18px 40px -24px rgb(110 54 65 / .35);
  --shadow-float: 0 24px 60px -30px rgb(58 35 41 / .45), 0 2px 6px -2px rgb(58 35 41 / .12);
  --focus: 0 0 0 3px var(--c-ivory), 0 0 0 5px var(--c-accent-ink);
}

@media (max-width: 720px) {
  :root {
    --frame-gap: 6px;
    --frame-radius: 18px;
  }
}
