:root {
  --transition-all: all 0.4s ease;
  --ease: var(--transition-all);
  /*DEBUT FIGMA*/
  
  /* Couleurs */
  
  --color-bleu:  #009ACE;
  --color-vert:  #00c181;
  --color-jaune:  #F9B033;
  --color-orange:  #EF782F ;
  --color-rose:    #D6075C;
  --color-violet:   #BA9BC9; 
  --color-noir:   #0D071A;
  --color-blanc:  #ffffff;
  --color-beige: #F39A7F;
  
  --color-primary: #009ACE;
  --color-secondary: #004F71;
  --color-tertiary: #A6E7FF;

  --color-gris-1: #f5f5f5;
  --color-gris-2: #e0e0e0;
  --color-gris-3: #c7c7c7;
  --color-gris-4: #a8a8a8;
  --color-gris-5: #7a7a7a;
  
  --font-primary:   'Roboto', sans-serif;
  --font-secondary: 'Roboto', sans-serif;

  /* Layouts globaux */
  --Global-layout-Gutter: 20px;
  --Global-layout-Columns: 12;
  --Global-layout-max-width-3columns: 370px;
  --Global-layout-max-width-2columns: 590px;
  --Global-layout-max-width-4columns: 285px;
  --Global-layout-min-width-2columns: 590px;
  --Global-layout-min-width-4columns: 285px;
  --Global-layout-min-width-column: 320px;
  --Global-layout-Global-margin: 120px;
  --Global-layout-Screen-width: 1440px;
  --Global-layout-interlettrage: 1px;

  /*FIN FIGMA*/
  /*
    *https://angel-rs.github.io/css-color-filter-generator/ 
    *Pour appliquer sur SVG noirs
    */
  --border-width: 2px;
  --border-s-width: 1px;

  --filter-blanc: brightness(0) saturate(100%) invert(100%) sepia(0%)
    saturate(0%) hue-rotate(345deg) brightness(100%) contrast(104%);

  
  
  
  --extra-light: 100;
  --light: 200;
  --thin: 300;
  --normal: 400;
  --medium: 500;
  --semi-bold: 600;
  --bold: 700;
  --extra-bold: 800;
  --black: 900;

  --Spaces-XS: 20px;
  --Spaces-XXS: 10px;
  
  /*10px de chaque côté pour les captcha*/
  --espace-min: 10px;
  
  
  --diaporama-slide-width: var(--container-width);
  --diaporama-aspect-ratio:9/16;
}

@media (max-width: 979px) {
  :root {
      --font-size-html: 16px;
      --fs-xs:   10px;
      --fs-s:    12px;
      --fs-base: 14px;
      --fs-m:    20px;
      --fs-l:    24px;
      --fs-xl:   36px;
      --fs-xxl:  60px;

      --lh-xs:   12px;
      --lh-s:    14px;
      --lh-base: 20px;
      --lh-m:    24px;
      --lh-l:    30px;
      --lh-xl:   40px;
      --lh-xxl:  80px;

      --corner-s: 10px;
      --corner-m: 20px;
      --corner-l: 50px;
      --border-s-radius: 10px;
      --border-radius: 20px;
      --border-l-radius: 25px;
      --border-s: 1px;
      --border:3px;
      
      --gap-s:    10px;
      --gap-base: 20px;
      --gap-m:    50px;
      --gap-l:    50px;
      --gap-xl:  50px;
      --gap-xxl: 100px;
      /*entete*/
      --header-height: calc(190px - var(--gap-m));
      --scrolled-header-height: 90px;
      /*largeur du conteneur*/
      --container-width: calc((300 / 320) * 100vw);
      --box-pad: var(--gap);
  }
  
}
@media(min-width:980px) {
  :root {
      --border-s-radius: 10px;
      --border-radius: 20px;
      --border-l-radius: 50px;
      --corner-s: 10px;
      --corner-m: 20px;
      --corner-l: 50px;
      --border-s: 1px;
      --border:3px;
  }
}
@media (min-width: 980px) and (max-width: 1199px) {
  :root {
          /*entete*/
      --header-height: calc((2 * var(--gap-m)) + 86px);
      --scrolled-header-height: calc((2 * var(--gap-m)) + 86px);
  }
}
@media (min-width: 1200px) and (max-width: 1599px) {
  :root {
          /*entete*/
      --header-height: calc((2 * var(--gap-m)) + 86px);
      --scrolled-header-height: calc((2 * var(--gap-m)) + 86px);
  }
}
@media (min-width: 980px) and (max-height:799px) and (max-width: 1599px) {
  :root {
    --font-size-html: 16px;
      --fs-xs:   14px;
      --fs-s:    16px;
      --fs-base: 18px;
      --fs-m:    24px;
      --fs-l:    30px;
      --fs-xl:   40px;
      --fs-xxl:  70px;

      --lh-xs:   14px;
      --lh-s:    18px;
      --lh-base: 24px;
      --lh-m:    34px;
      --lh-l:    34px;
      --lh-xl:   44px;
      --lh-xxl:  76px;

      --gap-s:    10px;
      --gap-base: 20px;
      --gap-m:    50px;
      --gap-l:    50px;
      --gap-xl:  50px;
      --gap-xxl: 100px;
      

      /*largeur du conteneur*/
      --container-width: calc((300 / 320) * 100vw);
      --box-pad: var(--gap);
  }
  .container {
    max-width:980px;
  }
}

@media (min-width: 980px) and (min-height:800px) and (max-width: 1599px) {
  :root {
      --font-size-html: 16px;
      --fs-xs:   14px;
      --fs-s:    16px;
      --fs-base: 18px;
      --fs-m:    24px;
      --fs-l:    30px;
      --fs-xl:   40px;
      --fs-xxl:  70px;

      --lh-xs:   14px;
      --lh-s:    18px;
      --lh-base: 24px;
      --lh-m:    34px;
      --lh-l:    34px;
      --lh-xl:   44px;
      --lh-xxl:  76px;


      --gap-s:    10px;
      --gap-base: 20px;
      --gap-m:    50px;
      --gap-l:    50px;
      --gap-xl:  50px;
      --gap-xxl: 100px;
      

      /*largeur du conteneur*/
      --container-width: calc((300 / 320) * 100vw);
      --box-pad: var(--gap);
  }
  .container {
    max-width:1200px;
  }
}


@media (min-width: 980px) {
  :root {
    
    --Global-layout-Gutter: 20px;
  }
}

@media (min-width: 1600px) {
  /* 1600px */
  :root {
    --container-width: 1440px;
    --font-size-html: 18px;

      --fs-xs:   14px;
      --fs-s:    16px;
      --fs-base: 18px;
      --fs-m:    24px;
      --fs-l:    30px;
      --fs-xl:   54px;
      --fs-xxl:  70px;

      --lh-xs:   14px;
      --lh-s:    18px;
      --lh-base: 24px;
      --lh-m:    34px;
      --lh-l:    34px;
      --lh-xl:   54px;
      --lh-xxl:  76px;

      --gap-s:    10px;
      --gap-base: 20px;
      --gap-m:    50px;
      --gap-l:    60px;
      --gap-xl:  100px;
      --gap-xxl: 150px;


    --box-pad: var(--gap-m);

        /*entete*/
    --header-height: calc((2 * var(--gap-m)) + 86px);
    --scrolled-header-height: calc((2 * var(--gap-m)) + 86px);
  
  }
}

:root {
  --gap: var(--gap-base);
  --space-v: var(--gap);
  --space-h: var(--gap);

  --texte-gap: var(--gap-base);

  --box-pad-s: var(--gap-s);
  --box-pad: var(--gap);

  --edito-padding: var(--gap-s);
  /*marge entre les sections*/
  --section-gap: var(--gap-xxl);

  --diaporama-slide-aspect-ratio: 16 / 9;

  --fs-bouton: var(--fs-base);
  --lh-bouton: var(--lh-base);
}

/* Tailles de police */
.fs-xs {
  font-size: var(--fs-xs);
  line-height: var(--lh-xs);
}

.fs-s {
  font-size: var(--fs-s);
  line-height: var(--lh-s);
}

.fs-base {
  font-size: var(--fs-base);
  line-height: var(--lh-base);
}

.fs-m {
  font-size: var(--fs-m);
  line-height: var(--lh-m);
}

.fs-l {
  font-size: var(--fs-l);
  line-height: var(--lh-l);
}

.fs-xl {
  font-size: var(--fs-xl);
  line-height: var(--lh-xl);
}

.fs-xxl {
  font-size: var(--fs-xxl);
  line-height: var(--lh-xxl);
}

.fs-xxxl {
  font-size: var(--fs-xxxl);
  line-height: var(--lh-xxxl);
}
