@import url("https://fonts.cdnfonts.com/css/poppins");
@import url("./reset.8a8e9cf24456.css");
@import url("./fonts.4abeb07e7d83.css");
@import url("./includes/header.b6994236975d.css");
@import url("./includes/footer.bb63ef637f48.css");
@import url("./base/button.cbeb3d570cbb.css");
@import url("./base/inputs.c1a7c49066fd.css");
@import url("./variable.19d03754d338.css");

/* Dimension */
:root {
  --body-width: 100vw;
  --body-height: 100vh;

  /* navbar */
  --navbar-height-sticky: 60px;
  --navbar-height: calc(var(--body-width) / 5);

  --transition-speed: 0.5s;

  --mobile-screen-display: none;
  --high-screen-display: flex;

  --default-transition: transform 0.3s ease;
  --default-transform: scale(1.02);
}

/* articles */
:root {
  --sub-text-color: #6f6f6f;
  --font-meta-size: 13px;
}

/* Font size */
:root {
  --priority-z-index-3: 1;
  --priority-z-index-2: 2;
  --priority-z-index-1: 3;
  --priority-z-index-0: 999;

  --default-font-size: 18px;
  --h1-font-size: 184%;
  --h2-font-size: 161%;
  --h3-font-size: 141%;
  --h4-font-size: 125%;
  --h5-font-size: 110%;
  --h6-font-size: 98%;
}

* {
  min-width: 0;
  font-family: "Mulish";
}

body {
  max-width: 100%;
  font-size: var(--default-font-size);
  overflow: hidden;
}

main {
  width: var(--body-width);
  height: var(--body-height);
  overflow-y: scroll;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
video,
svg {
  display: block;
  height: auto;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
  color: var(--secondary-color);
  margin: 0;
  padding: 0;
  font-style: normal;
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: 700;
  color: var(--title-color);
}

h2 {
  font-size: var(--h2-font-size);
  font-weight: 700;
  margin: 0 auto;
  color: var(--title-color);
  position: relative;
  padding-bottom: 10px;
}

h2:before,
h3.is-mobile:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
}

h3 {
  font-size: var(--h3-font-size);
  font-weight: 700;
}

h3.is-mobile {
  width: fit-content;
  font-size: var(--h2-font-size);
  color: #333;
  position: relative;
  padding-bottom: 10px;
  margin: 0 auto;
}

h4 {
  font-size: var(--h4-font-size);
  font-weight: 500;
}

h5 {
  font-size: var(--h5-font-size);
  font-weight: 500;
}

h6 {
  font-size: var(--h6-font-size);
  font-weight: 500;
}

p {
  text-wrap: pretty;
  font-weight: 400;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

/*    ___       __ */
/* |   | |\||/ (_  */
/* |___|_| ||\ __) */
a {
  text-decoration: none;
  color: var(--text-color);
}

a:hover {
  color: var(--secondary-color);
  cursor: pointer;
}

.underline {
  background-repeat: no-repeat;
  background-size: 0% 1px;
  background-image: linear-gradient(#ffffff, #b1b1b1);
  background-position-y: 100%;
  transition: var(--transition-speed) background-size;
}

.underline:hover {
  background-size: 100% 2px;
  color: var(--secondary-color);
}

section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 100vh;
  opacity: 0;
}

#spinner {
  gap: 20px;
}

.loader {
  border: 4px solid #f3f3f3;
  border-radius: 50%;
  border-top: 4px solid #8f8f8fde;
  width: 25px;
  height: 25px;
  animation: spin 2s linear infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    opacity: 1;
  }
}

img.proliferation {
  animation: blink 2s ease-in-out infinite;
  min-width: 16px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Animations - maintenant déclenchées uniquement avec la classe .visible */
.fade-in.visible {
  animation: fadeIn 1.5s ease forwards;
}

.slide-left.visible {
  animation: slideLeft 1.5s ease forwards;
}

.slide-right.visible {
  animation: slideRight 1.5s ease forwards;
}

.scale-up.visible {
  animation: scaleUp 1.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes scaleUp {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Délais pour l'effet cascade - appliqués uniquement quand .visible est présent */
.delay-1.visible {
  animation-delay: 0.2s;
}

.delay-2.visible {
  animation-delay: 0.4s;
}

.delay-3.visible {
  animation-delay: 0.6s;
}

.termsfeed-com---nb-simple {
  left: 0 !important;
}

/* Styles pour téléphones */
@media (max-width: 599px) {
  :root {
    --navbar-height-sticky: 50px;
    --mobile-screen-display: flex;
    --high-screen-display: none;
  }

  button {
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 900px) {
  body {
    --default-font-size: 16px;
  }
}

@media (max-width: 380px) {
  body {
    --default-font-size: 14px;
  }
}

/* Styles pour tablettes */
@media (min-width: 600px) and (max-width: 899px) {
}
