/* ============================================================
   Plaine Altitude Design System : tokens.css
   Source unique des valeurs. Boutique, site et module de réservation
   lisent ces variables (kit Elementor, gabarits WooCommerce, plugin).
   Typographie et espacements FLUIDES : clamp() entre 360px et 1440px.
   ============================================================ */

/* Polices hébergées sur le site (cahier des charges § 3 ; avant le 2026-10-13 : Google Fonts). Latin et latin étendu seulement ;
   Nunito et Nunito Sans en police variable (un fichier pour toutes les graisses). */
/* Barlow Condensed, latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/polices/barlow-condensed-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Barlow Condensed, latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/polices/barlow-condensed-latin.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;
}
/* Barlow Condensed, latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/polices/barlow-condensed-latin-ext-800.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Barlow Condensed, latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/polices/barlow-condensed-latin-800.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;
}
/* Nunito, latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/polices/nunito-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Nunito, latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/polices/nunito-latin.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;
}
/* Nunito, latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/polices/nunito-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Nunito, latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/polices/nunito-latin.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;
}
/* Nunito, latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/polices/nunito-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Nunito, latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(assets/polices/nunito-latin.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;
}
/* Nunito, latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(assets/polices/nunito-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Nunito, latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(assets/polices/nunito-latin.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;
}
/* Nunito Sans, latin-ext */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/polices/nunito-sans-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Nunito Sans, latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/polices/nunito-sans-latin.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;
}
/* Nunito Sans, latin-ext */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/polices/nunito-sans-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Nunito Sans, latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/polices/nunito-sans-latin.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;
}
/* Nunito Sans, latin-ext */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/polices/nunito-sans-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Nunito Sans, latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/polices/nunito-sans-latin.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;
}
/* Nunito Sans, latin-ext */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/polices/nunito-sans-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Nunito Sans, latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/polices/nunito-sans-latin.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;
}

:root {
  /* ── Couleurs de marque (charte) ───────────────────────── */
  --pa-turquoise:        #20c4c3; /* aplats, fonds, pictogramme. Jamais en texte sur blanc (2,1:1) */
  --pa-turquoise-text:   #0b7a79; /* variante lisible : liens, textes, icônes actives (5,2:1) */
  --pa-turquoise-deep:   #0a6f6e; /* survol des liens turquoise */
  --pa-turquoise-300:    #79dcdb;
  --pa-turquoise-100:    #d4f4f3;
  --pa-turquoise-50:     #edfafa;

  --pa-jaune:            #ffbd20; /* RÉSERVÉ aux CTA primaires (devis, achat, réserver) */
  --pa-jaune-clair:      #ffd45c;
  --pa-jaune-fonce:      #f5a300;
  --pa-jaune-100:        #fff4d6;

  --pa-noir:             #292728; /* titres, logo, sections sombres */
  --pa-encre:            #4a4748; /* texte courant, dérivé plus clair du noir (9,2:1) */
  --pa-gris:             #6f6a6c; /* texte secondaire, légendes (5,4:1) */
  --pa-gris-clair:       #a9a4a6; /* placeholders désactivés, séparateurs forts */
  --pa-blanc:            #ffffff;

  /* ── Fonds ─────────────────────────────────────────────── */
  --bg-page:       #f8fafb;  /* noir des titres (#292728) à 4 % sur blanc : fond neutre, les cartes blanches ressortent */
  --bg-surface:    #ffffff;  /* cartes, panneaux */
  --bg-teinte:     var(--pa-turquoise-50);
  --bg-sombre:     var(--pa-noir);
  --bg-verre:      rgba(255,255,255,0.74); /* menu pilule, panneaux flottants (pas les boutons) */
  --verre-flou:    blur(18px) saturate(1.4);

  /* ── Dégradés (doux, mats, sans reflet) ──────────────────── */
  --grad-cta:        var(--pa-jaune);  /* bouton d'action, choix 1 */
  --grad-cta-hover:  var(--pa-jaune-fonce);
  --bord-cta:        #f0a500;
  --grad-panier:       linear-gradient(180deg, #f3fcfc 0%, var(--pa-turquoise-100) 100%); /* bouton panier, choix 2 */
  --grad-panier-hover: linear-gradient(180deg, var(--pa-turquoise-100) 0%, #b9ecec 100%);
  --grad-turquoise:  var(--pa-turquoise);
  --grad-ciel:       linear-gradient(180deg, #efefef 0%, #f6f6f6 100%); /* fond neutre d'attente des visuels */

  /* ── Sémantique ────────────────────────────────────────── */
  --fg-titre:      var(--pa-noir);
  --fg-texte:      var(--pa-encre);
  --fg-secondaire: var(--pa-gris);
  --fg-inverse:    var(--pa-blanc);
  --fg-lien:       var(--pa-turquoise-text);
  --fg-lien-hover: var(--pa-turquoise-deep);

  --bord:          rgba(41,39,40,0.10);
  --bord-fort:     rgba(41,39,40,0.22);
  --focus:         0 0 0 3px rgba(32,196,195,0.45);

  --succes:        #1f8a4c;  --succes-bg: #e3f5ea;
  --alerte:        #b26a00;  --alerte-bg: var(--pa-jaune-100);
  --erreur:        #c4362b;  --erreur-bg: #fbe6e4;
  --info:          var(--pa-turquoise-text); --info-bg: var(--pa-turquoise-50);

  /* ── Typographie ───────────────────────────────────────── */
  --font-titre:   'Nunito', system-ui, sans-serif;            /* titres */
  --font-texte:   'Nunito Sans', system-ui, sans-serif;       /* texte, interface, chiffres */
  --font-accent:  'Barlow Condensed', 'Nunito', sans-serif;   /* accroches courtes en capitales (choix 2026-10-08, remplace Knewave) */

  /* Échelle FLUIDE (360px → 1440px) */
  --fs-2xs:  clamp(0.6875rem, 0.67rem + 0.07vw, 0.75rem);   /* 11 → 12 */
  --fs-xs:   clamp(0.75rem,   0.73rem + 0.09vw, 0.8125rem); /* 12 → 13 */
  --fs-sm:   clamp(0.875rem,  0.85rem + 0.09vw, 0.9375rem); /* 14 → 15 */
  --fs-base: clamp(1rem,      0.96rem + 0.19vw, 1.125rem);  /* 16 → 18 */
  --fs-md:   clamp(1.125rem,  1.06rem + 0.28vw, 1.3125rem); /* 18 → 21 */
  --fs-lg:   clamp(1.25rem,   1.13rem + 0.56vw, 1.625rem);  /* 20 → 26 */
  --fs-xl:   clamp(1.5rem,    1.29rem + 0.93vw, 2.125rem);  /* 24 → 34 */
  --fs-2xl:  clamp(1.75rem,   1.42rem + 1.48vw, 2.75rem);   /* 28 → 44 */
  --fs-3xl:  clamp(2.125rem,  1.63rem + 2.22vw, 3.625rem);  /* 34 → 58 */
  --fs-4xl:  clamp(2.5rem,    1.79rem + 3.15vw, 4.625rem);  /* 40 → 74 */

  --lh-serre:  1.08;
  --lh-titre:  1.15;
  --lh-ui:     1.3;
  --lh-texte:  1.6;

  --ls-titre:  -0.02em;
  --ls-label:  0.08em;

  /* ── Espacements FLUIDES (base 8) ──────────────────────── */
  --sp-3xs: clamp(0.25rem, 0.23rem + 0.09vw, 0.3125rem); /* 4 → 5 */
  --sp-2xs: clamp(0.5rem,  0.46rem + 0.19vw, 0.625rem);  /* 8 → 10 */
  --sp-xs:  clamp(0.75rem, 0.69rem + 0.28vw, 0.9375rem); /* 12 → 15 */
  --sp-s:   clamp(1rem,    0.92rem + 0.37vw, 1.25rem);   /* 16 → 20 */
  --sp-m:   clamp(1.5rem,  1.38rem + 0.56vw, 1.875rem);  /* 24 → 30 */
  --sp-l:   clamp(2rem,    1.83rem + 0.74vw, 2.5rem);    /* 32 → 40 */
  --sp-xl:  clamp(3rem,    2.67rem + 1.48vw, 4rem);      /* 48 → 64 */
  --sp-2xl: clamp(4rem,    3.33rem + 2.96vw, 6rem);      /* 64 → 96 */
  --sp-3xl: clamp(5rem,    3.83rem + 5.19vw, 8.5rem);    /* 80 → 136 */

  --section-y:  var(--sp-2xl);
  --gouttiere:  clamp(1rem, 4.615vw - 0.385rem, 51px); /* téléphone inchangé (16 px jusqu'à 480 px), 40 px à 1000 px, 51 px dès 1238 px (Bastien, 11/11/2026 : +50 % hors téléphone) */
  --largeur-max: 1808px;

  /* ── Formes : TOUT EN PILULE, grands arrondis ──────────── */
  --r-xs:    6px;
  --r-s:     12px;
  --r-m:     18px;   /* champs multilignes, petites cartes */
  --r-l:     24px;   /* cartes produit, panneaux */
  --r-xl:    32px;   /* méga menu, grandes sections */
  --r-pilule: 8px; /* boutons, filtres, champs, menu */

  /* ── Ombres (douces, teintées) ─────────────────────────── */
  --ombre-s:  0 1px 2px rgba(41,39,40,0.06), 0 2px 8px rgba(41,39,40,0.05);
  --ombre-m:  0 4px 16px rgba(20,90,90,0.08), 0 1px 3px rgba(41,39,40,0.06);
  --ombre-l:  0 12px 40px rgba(20,90,90,0.14), 0 2px 6px rgba(41,39,40,0.06);
  --ombre-cta: none; /* boutons mats, sans reflet ni halo (choix 2026-10-08) */

  /* ── Mouvement ─────────────────────────────────────────── */
  --t-rapide:  150ms cubic-bezier(.2,.7,.3,1);
  --t-normal:  260ms cubic-bezier(.2,.7,.3,1);
  --t-lent:    420ms cubic-bezier(.2,.7,.3,1);

  /* V4 (2026-10) : barre haute, boutons, menu, onglet du logo de l'en-tête H, relief de la barre haute */
  --gris-barre: #e2e7ee;
  --r-bouton: 8px;
  --menu-police: var(--font-titre);
  --menu-taille: 1.125rem;
  --menu-graisse: 700;
  --menu-casse: none;
  --menu-espace: 0;
  --entete-h: 80px;
  --depasse: 34px;
  --gap-milieu: clamp(1.5rem, 0.4rem + 3.4vw, 4.5rem);
  --bh-clair: 1.5%;
  --bh-sombre: 1%;
  --bh-lisere: .05;
  --bh-ombre: .03;
}

/* ── Bases typographiques ─────────────────────────────────── */
body {
  font-family: var(--font-texte);
  font-size: var(--fs-base);
  line-height: var(--lh-texte);
  color: var(--fg-texte);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  font-variant-numeric: tabular-nums;
}
h1, h2, h3, h4, h5 { font-family: var(--font-titre); color: var(--fg-titre); letter-spacing: var(--ls-titre); text-wrap: balance; margin: 0; }
h1 { font-size: var(--fs-4xl); font-weight: 900; line-height: var(--lh-serre); }
h2 { font-size: var(--fs-3xl); font-weight: 900; line-height: var(--lh-titre); }
h3 { font-size: var(--fs-2xl); font-weight: 800; line-height: var(--lh-titre); }
h4 { font-size: var(--fs-xl);  font-weight: 800; line-height: var(--lh-titre); }
h5 { font-size: var(--fs-lg);  font-weight: 700; line-height: var(--lh-ui); }
p  { margin: 0; }
a  { color: var(--fg-lien); text-decoration: none; transition: color var(--t-rapide); }
a:hover { color: var(--fg-lien-hover); }
/* Jamais de soulignement qui apparaît au survol (Bastien, 2026-11-14) : le survol change la couleur, l'ombre ou la flèche.
   Les liens au fil d'un texte courant (CGV, mentions, articles) restent soulignés en permanence. */
:where(.ct-texte, .ar-texte) a:not([class]) { text-decoration: underline; text-underline-offset: 3px; }

/* Accroche : Barlow Condensed en capitales, 1 à 4 mots (sur-titres forts, badges, encarts) */
.pa-accroche { font-family: var(--font-accent); font-weight: 800; text-transform: uppercase; color: var(--pa-turquoise-text); letter-spacing: 0.02em; line-height: 1; font-size: 1.15em; }
.pa-surtitre { font-family: var(--font-texte); font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--pa-turquoise-text); }
.pa-lead { font-size: var(--fs-md); line-height: 1.55; color: var(--fg-texte); }
.pa-legende { font-size: var(--fs-xs); color: var(--fg-secondaire); }
