/* ==========================================================================
   PRESTIGE EVENT — DESIGN TOKENS
   Source unique des variables de design. Ne pas coder de valeur en dur ailleurs.
   ========================================================================== */

/* --- Polices auto-hébergées (SIL OFL 1.1) — aucune requête tierce --------- */
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/cormorant-garamond-latin-ext-300-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:'Cormorant Garamond';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/cormorant-garamond-latin-300-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:'Cormorant Garamond';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/cormorant-garamond-latin-ext-400-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:'Cormorant Garamond';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/cormorant-garamond-latin-400-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:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/cormorant-garamond-latin-ext-500-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:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/cormorant-garamond-latin-500-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:400;font-display:swap;src:url('../fonts/manrope-latin-ext-400-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:'Manrope';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/manrope-latin-400-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:500;font-display:swap;src:url('../fonts/manrope-latin-ext-500-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:'Manrope';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/manrope-latin-500-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:600;font-display:swap;src:url('../fonts/manrope-latin-ext-600-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:'Manrope';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/manrope-latin-600-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;}

/* --- Replis à métriques corrigées ------------------------------------------
   Pendant le chargement des polices, le texte est rendu avec une police
   système. Sans correction, ses glyphes sont plus larges (serif) ou plus
   étroits (sans) que la police définitive : le texte se recompose au moment
   de la bascule et la mise en page saute.

   Les facteurs `size-adjust` ont été mesurés en comparant la largeur d'une
   même ligne dans la police réelle et dans le repli :
     Cormorant Garamond 300 : 1086 px contre 1134 px  ->  95,7 %
     Manrope 400            : 1600 px contre 1556 px  -> 102,8 %
   Les hauteurs de ligne étant fixées par les variables --lh-*, la bascule ne
   peut jouer que sur le retour à la ligne, ce que `size-adjust` corrige. */
@font-face{font-family:'Cormorant repli';
  src:local('Times New Roman'),local('Times'),local('Liberation Serif');
  size-adjust:95.7%;line-gap-override:0%}
@font-face{font-family:'Manrope repli';
  src:local('Arial'),local('Helvetica'),local('Liberation Sans');
  size-adjust:102.8%;line-gap-override:0%}

:root{
  /* --- Couleurs : base ivoire / beige, encre brun-noir, accent terracotta -- */
  --c-paper:      #FCFAF7;   /* fond principal, ivoire                        */
  --c-sand:       #F4EEE4;   /* fond alterné, beige clair                     */
  --c-clay:       #EAE1D3;   /* fond appuyé, beige chaud                      */
  --c-deep:       #201A15;   /* fond sombre, brun-noir                        */
  --c-deep-2:     #2C241C;   /* fond sombre secondaire                        */

  --c-ink:        #1B1714;   /* texte principal (noir doux)                   */
  --c-ink-70:     #4A4139;   /* texte courant                                 */
  --c-ink-55:     #665C51;   /* texte secondaire                              */
  --c-on-deep:    #F6F1E8;   /* texte sur fond sombre                         */
  --c-on-deep-70: #C9BFB1;   /* texte secondaire sur fond sombre              */

  --c-line:       #E2D9CA;   /* filet fin                                     */
  --c-line-2:     #CBBFA9;   /* filet appuyé                                  */
  --c-line-deep:  #584A3E;   /* filet sur fond sombre                         */
  --c-border-in:  #8A7E6A;   /* bordure de champ (>=3:1 WCAG 1.4.11)          */

  --c-accent:     #8E5029;   /* terracotta profond — accent, parcimonie       */
  --c-accent-h:   #7A4322;   /* accent survol                                 */
  --c-accent-bg:  #F6EDE4;   /* aplat accent très clair                       */
  --c-champagne:  #B8964F;   /* champagne — décor uniquement, jamais du texte */
  --c-green:      #28503C;   /* vert profond — accent secondaire, spécialité tyafer */
  --c-green-bg:   #EDF1EC;   /* aplat vert très clair                          */
  --c-champ-lt:   #D2B573;   /* champagne clair — texte sur fond vert (>=4.5:1) */
  --c-num:        #8A7E6A;   /* numéros décoratifs sur fond clair (>=3:1)       */
  --c-num-deep:   #846F5C;   /* numéros décoratifs sur fond sombre (>=3:1)      */
  --c-num-green:  #87A292;   /* numéros décoratifs sur fond vert (>=3:1)        */

  --c-focus:      #8E5029;
  --c-error:      #A32E22;
  --c-error-bg:   #FBEDEB;
  --c-success:    #2C6146;
  --c-success-bg: #EDF4EF;

  /* --- Typographie ------------------------------------------------------- */
  --ff-display: 'Cormorant Garamond', 'Cormorant repli', 'Iowan Old Style', Garamond, Georgia, 'Times New Roman', serif;
  --ff-body:    'Manrope', 'Manrope repli', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --fs-display: clamp(2.6rem, 1.20rem + 5.4vw, 5.75rem);
  --fs-h1:      clamp(2.15rem, 1.30rem + 3.4vw, 4.00rem);
  --fs-h2:      clamp(1.80rem, 1.25rem + 2.2vw, 2.90rem);
  --fs-h3:      clamp(1.30rem, 1.12rem + 0.8vw, 1.70rem);
  --fs-h4:      clamp(1.06rem, 1.00rem + 0.3vw, 1.20rem);
  --fs-lead:    clamp(1.06rem, 1.00rem + 0.4vw, 1.25rem);
  --fs-body:    1rem;
  --fs-sm:      0.9375rem;
  --fs-xs:      0.8125rem;
  --fs-eyebrow: 0.75rem;

  --lh-tight: 1.06;
  --lh-head:  1.16;
  --lh-body:  1.68;
  --lh-snug:  1.45;

  --tr-eyebrow: 0.18em;
  --tr-caps:    0.10em;

  /* --- Espacements (base 8) ---------------------------------------------- */
  --s-1: 0.25rem; --s-2: 0.5rem;  --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 2.5rem;  --s-8: 3rem;
  --s-9: 4rem;    --s-10: 5rem;   --s-11: 6rem;   --s-12: 8rem;

  --section-y:  clamp(4rem, 2.2rem + 7vw, 8.5rem);
  --section-y-sm: clamp(3rem, 2rem + 4vw, 5.5rem);
  --gutter:     clamp(1.25rem, 0.6rem + 2.6vw, 3rem);
  --container:  75rem;   /* 1200px */
  --container-wide: 85rem;
  --measure:    46rem;   /* longueur de ligne confortable */

  /* --- Rayons / filets / ombres ------------------------------------------ */
  --r-xs: 2px; --r-sm: 3px; --r-md: 6px; --r-lg: 14px; --r-pill: 999px;
  --bw: 1px;
  --sh-1: 0 1px 2px rgba(27,23,20,.04), 0 10px 30px -18px rgba(27,23,20,.22);
  --sh-2: 0 2px 6px rgba(27,23,20,.05), 0 24px 60px -28px rgba(27,23,20,.30);

  /* --- Mouvement ---------------------------------------------------------- */
  --ease:      cubic-bezier(.22,.61,.36,1);
  --ease-out:  cubic-bezier(.16,1,.3,1);
  --d-fast:   160ms;
  --d-base:   280ms;
  --d-slow:   620ms;

  /* --- Divers ------------------------------------------------------------- */
  --nav-h: 72px;
  --z-nav: 100; --z-drawer: 200; --z-modal: 300; --z-skip: 400;
}

@media (min-width: 64em){ :root{ --nav-h: 84px; } }
