/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

 html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
  }
  
  /* Sections
     ========================================================================== */
  
  /**
   * Remove the margin in all browsers.
   */
  
  body {
    margin: 0;
  }
  
  /**
   * Render the `main` element consistently in IE.
   */
  
  main {
    display: block;
  }
  
  /**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */
  
  h1 {
    font-size: 2em;
    margin: 0.67em 0;
  }
  
  /* Grouping content
     ========================================================================== */
  
  /**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
  
  hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /* Text-level semantics
     ========================================================================== */
  
  /**
   * Remove the gray background on active links in IE 10.
   */
  
  a {
    background-color: transparent;
  }
  
  /**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */
  
  abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    -webkit-text-decoration: underline dotted;
            text-decoration: underline dotted; /* 2 */
  }
  
  /**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */
  
  b,
  strong {
    font-weight: bolder;
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  code,
  kbd,
  samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /**
   * Add the correct font size in all browsers.
   */
  
  small {
    font-size: 80%;
  }
  
  /**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */
  
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  
  sub {
    bottom: -0.25em;
  }
  
  sup {
    top: -0.5em;
  }
  
  /* Embedded content
     ========================================================================== */
  
  /**
   * Remove the border on images inside links in IE 10.
   */
  
  img {
    border-style: none;
  }
  
  /* Forms
     ========================================================================== */
  
  /**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */
  
  button,
  input,
  optgroup,
  select,
  textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
  }
  
  /**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
  
  button,
  input { /* 1 */
    overflow: visible;
  }
  
  /**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
  
  button,
  select { /* 1 */
    text-transform: none;
  }
  
  /**
   * Correct the inability to style clickable types in iOS and Safari.
   */
  
  button,
  [type="button"],
  [type="reset"],
  [type="submit"] {
    -webkit-appearance: button;
  }
  
  /**
   * Remove the inner border and padding in Firefox.
   */
  
  button::-moz-focus-inner,
  [type="button"]::-moz-focus-inner,
  [type="reset"]::-moz-focus-inner,
  [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
  }
  
  /**
   * Restore the focus styles unset by the previous rule.
   */
  
  button:-moz-focusring,
  [type="button"]:-moz-focusring,
  [type="reset"]:-moz-focusring,
  [type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
  }
  
  /**
   * Correct the padding in Firefox.
   */
  
  fieldset {
    padding: 0.35em 0.75em 0.625em;
  }
  
  /**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */
  
  legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
  }
  
  /**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */
  
  progress {
    vertical-align: baseline;
  }
  
  /**
   * Remove the default vertical scrollbar in IE 10+.
   */
  
  textarea {
    overflow: auto;
  }
  
  /**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */
  
  [type="checkbox"],
  [type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
  }
  
  /**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */
  
  [type="number"]::-webkit-inner-spin-button,
  [type="number"]::-webkit-outer-spin-button {
    height: auto;
  }
  
  /**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */
  
  [type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
  }
  
  /**
   * Remove the inner padding in Chrome and Safari on macOS.
   */
  
  [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  
  /**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */
  
  ::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
  }
  
  /* Interactive
     ========================================================================== */
  
  /*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */
  
  details {
    display: block;
  }
  
  /*
   * Add the correct display in all browsers.
   */
  
  summary {
    display: list-item;
  }
  
  /* Misc
     ========================================================================== */
  
  /**
   * Add the correct display in IE 10+.
   */
  
  template {
    display: none;
  }
  
  /**
   * Add the correct display in IE 10.
   */
  
  [hidden] {
    display: none;
  }
@font-face {
    font-family: 'Poppins';
    src: url(/_next/static/media/Poppins-Thin.5806ebba.ttf) format('truetype');
    font-weight: 100;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Poppins';
    src: url(/_next/static/media/Poppins-ThinItalic.4e599574.ttf) format('truetype');
    font-weight: 100;
    font-style: italic;
  }
  
  @font-face {
    font-family: 'Poppins';
    src: url(/_next/static/media/Poppins-ExtraLight.a5ba6349.ttf) format('truetype');
    font-weight: 200;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Poppins';
    src: url(/_next/static/media/Poppins-ExtraLightItalic.5ba7b5da.ttf) format('truetype');
    font-weight: 200;
    font-style: italic;
  }
  
  @font-face {
    font-family: 'Poppins';
    src: url(/_next/static/media/Poppins-Light.c7f7b0af.ttf) format('truetype');
    font-weight: 300;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Poppins';
    src: url(/_next/static/media/Poppins-LightItalic.7fe0012a.ttf) format('truetype');
    font-weight: 300;
    font-style: italic;
  }
  
  @font-face {
    font-family: 'Poppins';
    src: url(/_next/static/media/Poppins-Regular.e3fe7ebf.ttf) format('truetype');
    font-weight: 400;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Poppins';
    src: url(/_next/static/media/Poppins-Italic.1d618e7c.ttf) format('truetype');
    font-weight: 400;
    font-style: italic;
  }
  
  @font-face {
    font-family: 'Poppins';
    src: url(/_next/static/media/Poppins-Medium.98591b8e.ttf) format('truetype');
    font-weight: 500;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Poppins';
    src: url(/_next/static/media/Poppins-MediumItalic.ac94086d.ttf) format('truetype');
    font-weight: 500;
    font-style: italic;
  }
  
  @font-face {
    font-family: 'Poppins';
    src: url(/_next/static/media/Poppins-SemiBold.ba60cfd6.ttf) format('truetype');
    font-weight: 600;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Poppins';
    src: url(/_next/static/media/Poppins-SemiBoldItalic.de82b5c6.ttf) format('truetype');
    font-weight: 600;
    font-style: italic;
  }
  
  @font-face {
    font-family: 'Poppins';
    src: url(/_next/static/media/Poppins-Bold.3b6def8c.ttf) format('truetype');
    font-weight: 700;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Poppins';
    src: url(/_next/static/media/Poppins-BoldItalic.43c9dce8.ttf) format('truetype');
    font-weight: 700;
    font-style: italic;
  }
  
  @font-face {
    font-family: 'Poppins';
    src: url(/_next/static/media/Poppins-ExtraBold.0caa5cba.ttf) format('truetype');
    font-weight: 800;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Poppins';
    src: url(/_next/static/media/Poppins-ExtraBoldItalic.c805eac3.ttf) format('truetype');
    font-weight: 800;
    font-style: italic;
  }
  
  @font-face {
    font-family: 'Poppins';
    src: url(/_next/static/media/Poppins-Black.6d36a857.ttf) format('truetype');
    font-weight: 900;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Poppins';
    src: url(/_next/static/media/Poppins-BlackItalic.a5dda85c.ttf) format('truetype');
    font-weight: 900;
    font-style: italic;
  }
/* COULEURS */

:root {
  /* Couleurs simulateurs */
  --industrie: #5d737e;
  --batiment: #d9b47f;
  --energies: #e7b416;
  --mobilite: #37718e;
  --agriculture: #88a550;

  /* Couleurs principales */
  --bleu-fonce: #06183a;
  --bleu-clair: #a2d5f2;
  --blanc: #fff;

  /* Couleurs secondaires */
  --gris-fonce: #555;
  --gris-clair: #eee;

  /* Couleurs d'accent */
  --rouge: #d41313;
  --vert: #17bf63;
}

/* TEXTE */

:root {
  /* Variables de taille de texte */
  --h1-font-size: 2.5rem; /* 40px */
  --h2-font-size: 2rem; /* 32px */
  --h3-font-size: 1.75rem; /* 28px */
  --h4-font-size: 1.5rem; /* 24px */
  --h5-font-size: 1.25rem; /* 20px */
  --h6-font-size: 1rem; /* 16px */

  /* Graisses de texte */
  --light: 300;
  --reguliere: 400;
  --demi-gras: 600;

  /* Interlignage */
  --interligne: 1.5;

  /* Famille de polices */
  --police: "Poppins", sans-serif;

  /* marges */
  --h1-margin-top: 4rem; /* 64px */
  --h1-margin-bottom: 3rem; /* 48px */
  --h2-margin-top: 3rem; /* 48px */
  --h2-margin-bottom: 2rem; /* 32px */
  --h3-margin-top: 2.5rem; /* 40px */
  --h3-margin-bottom: 2rem; /* 32px */
  --h4-margin-top: 2rem; /* 32px */
  --h4-margin-bottom: 1.5rem; /* 24px */
  --h5-margin-top: 1.5rem; /* 24px */
  --h5-margin-bottom: 1rem; /* 16px */
  --h6-margin-top: 1rem; /* 16px */
  --h6-margin-bottom: 0.5rem; /* 8px */

  /* Variables d'espacement (marges et padding) */
  --space-0: 0rem; /* 0px */
  --space-xxs: 0.5rem; /* 8px */
  --space-xs: 1rem; /* 16px */
  --space-sm: 1.5rem; /* 24px */
  --space-md: 2rem; /* 32px */
  --space-lg: 3rem; /* 48px */
  --space-xl: 4rem; /* 64px */

  /* Variables pour arrondir les coins */
  --border-radius-xs: 0.5rem; /* 8px */
  --border-radius-md: 1rem; /* 16px */

  /* Variables pour box-shadow */
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1); /* Ombre douce */
}


/*FORMULAIRES*/

body {
  font-family: "Poppins", sans-serif;
}

label {
  display: block;
  margin-bottom: 0.5rem;
}
.nivo-tooltip {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 9999 !important;
}
input {
  font-family: "Poppins";
  font-weight: 300;
  padding: 0.5rem;
  max-width: 300px;
}

.hidden-series {
  text-decoration: line-through;
}
.tooltip {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  padding: 5px;
  font-size: 12px;
  pointer-events: none;
  opacity: 0;
  z-index: 9999;
}
button {
  font-family: "poppins";
  background-color: rgb(250, 235, 215);
  border: 1px solid black;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  cursor: pointer;
}
button:hover {
  background-color: #faebd7b3;
}

/* TITRES */
h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: #333;
  font-size: var(--h1-font-size);
  margin-top: var(--h1-margin-top);
  margin-bottom: var(--h1-margin-bottom);
}

h2 {
  font-size: var(--h2-font-size);
  margin-top: var(--h2-margin-top);
  margin-bottom: var(--h2-margin-bottom);
  font-weight: 300;
  color: #333;
}

h3 {
  font-size: var(--h3-font-size);
  margin-top: var(--h3-margin-top);
  margin-bottom: var(--h3-margin-bottom);
}

h4 {
  font-size: var(--h4-font-size);
  margin-top: var(--h4-margin-top);
  margin-bottom: var(--h4-margin-bottom);
}

h5 {
  font-size: var(--h5-font-size);
  margin-top: var(--h5-margin-top);
  margin-bottom: var(--h5-margin-bottom);
}

h6 {
  font-size: var(--h6-font-size);
  margin-top: var(--h6-margin-top);
  margin-bottom: var(--h6-margin-bottom);
}

/* Styles typographiques (titres) */
h1 {
  font-size: var(--h1-font-size);
  margin: var(--space-md) 0 var(--space-sm) 0;
}

h2 {
  font-size: var(--h2-font-size);
  margin: var(--space-sm) 0 var(--space-xs) 0;
}

h3 {
  font-size: var(--h3-font-size);
  margin: var(--space-md) 0 var(--space-md) 0;
}

h4 {
  font-size: var(--h4-font-size);
  margin: var(--space-md) 0 var(--space-sm) 0;
}

h5 {
  font-size: var(--h5-font-size);
  margin: var(--space-sm) 0 var(--space-xs) 0;
}

h6 {
  font-size: var(--h6-font-size);
  margin: var(--space-xs) 0 var(--space-xxs) 0;
}

/* Texte de base */
body {
  font-size: var(--base-font-size);
  line-height: 1.5;
}

/* Listes */
ul,
ol {
  margin: var(--space-sm) 0;
  padding-left: var(--space-md); /* Indentation des listes */
}

/* Styles de boutons */
button {
  padding: var(--space-xxs) var(--space-xs); /* 8px en haut/bas, 16px à gauche/droite */
  font-size: var(--base-font-size);
  border-radius: var(--border-radius-xs); /* Coins arrondis de 8px */
  box-shadow: var(--box-shadow);
}

/* Styles des cartes ou blocs */
.card {
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  border-radius: var(--border-radius-md); /* Coins arrondis de 16px */
  box-shadow: var(--box-shadow);
}

/* Formulaires */
input[type="text"],
textarea {
  padding: var(--space-xs); /* Padding interne de 16px */
  /* margin-bottom: var(--space-sm); 24px entre les champs */
  border-radius: var(--border-radius-xs); /* Coins arrondis de 8px */
  font-size: var(--base-font-size);
}

.form-group {
  margin-bottom: var(--space-md); /* Espacement entre les groupes de champs */
}

/* Layout Grid */
.grid {
  display: grid;
  grid-gap: var(--space-md); /* Espace entre les éléments de la grille */
}

/* Layout Flexbox */
.flex {
  display: flex;
  gap: var(--space-sm); /* Espacement entre les éléments Flex */
}

/* Conteneur principal */
.container {
  padding: var(--space-xl); /* Padding de 64px autour du contenu */
  margin-bottom: var(--space-xl); /* 64px de marge en bas */
}

/* Sections */
.section {
  padding: var(--space-lg) var(--space-md); /* 48px en haut/bas, 32px à gauche/droite */
  margin-bottom: var(--space-lg); /* 48px de marge en bas */
}

/* Barre de navigation */
.navbar {
  padding: var(--space-xs) var(--space-md); /* 16px en haut/bas, 32px à gauche/droite */
}

.navbar a {
  margin: 0 var(--space-xs); /* 16px entre chaque lien */
  padding: var(--space-xxs) var(--space-xs); /* 8px en haut/bas, 16px à gauche/droite */
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  margin-bottom: var(--space-md); /* 32px de marge en bas */
}

/* Media queries (responsivité) */
@media (max-width: 768px) {
  .container {
    padding: var(--space-md); /* 32px pour les tablettes */
  }
  .section {
    padding: var(--space-md) var(--space-sm); /* 32px en haut/bas, 24px à gauche/droite */
  }
}

/*Styles concernant la roue d'accueil*/
#roueSVG {
  z-index: 5;
  height: 70vh;
  width: auto;
  animation: revealQuarter 0.2s ease-in forwards;
}

#segment1,
#segment2,
#segment3,
#segment4,
#segment5 {
  opacity: 0;
  animation: revealQuarter 0.2s ease-in forwards;
  z-index: 10;
}
#lienRoue1 g,
#lienRoue2 g,
#lienRoue3 g,
#lienRoue4 g,
#lienRoue5 g {
  opacity: 0;
  animation: revealQuarterIcons 0.2s ease-in forwards;
  z-index: 10;
}
#lienRoue1,
#lienRoue2,
#lienRoue3,
#lienRoue4,
#lienRoue5 {
  transition: transform 0.3s ease, filter 0.3s ease;
}
#lienRoue1:hover {
  filter: drop-shadow(-2px 0px 5px rgba(0, 0, 0, 0.25));
  transform: translateX(-5px);
}
#lienRoue2:hover {
  filter: drop-shadow(-2px -3px 5px rgba(0, 0, 0, 0.25));
  transform: translate(-2px, -4px);
}
#lienRoue3:hover {
  filter: drop-shadow(3px 0px 5px rgba(0, 0, 0, 0.25));
  transform: translate(2px, -3px);
}
#lienRoue4:hover {
  filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.25));
  transform: translate(3px, 2px);
}
#lienRoue5:hover {
  filter: drop-shadow(3px 0px 5px rgba(0, 0, 0, 0.25));
  transform: translate(-2px, 3px);
}
/* Animation de la div */
@keyframes revealQuarter {
  0% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes revealQuarterIcons {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* Animation de rotation */
@keyframes rotateImage {
  0% {
  }
  100% {
  }
}
#segment1 {
  animation-delay: 0s;
}

#segment2 {
  animation-delay: 0.125s;
}

#segment3 {
  animation-delay: 0.25s;
}

#segment4 {
  animation-delay: 0.375s;
}

#segment5 {
  animation-delay: 0.5s;
}

#lienRoue1 g {
  animation-delay: 0.2s;
}

#lienRoue2 g {
  animation-delay: 0.325s;
}

#lienRoue3 g {
  animation-delay: 0.45s;
}

#lienRoue4 g {
  animation-delay: 0.575s;
}

#lienRoue5 g {
  animation-delay: 0.7s;
}
.texteRoue {
  fill: white;
}

