@import url("https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;700&display=swap");

/* GENERAL */

:root {
  --primary-dark: #000a12;
  --light: #e8eaf6;
  --primary: #000a12;
  --secondary: #1faa00;
  --secondary-light: #dcedc8;
}

body {
  font-family: "Heebo", sans-serif;
}

a {
  color: unset;
  text-decoration: none !important;
  transition: color 0.4s;
}

a:hover {
  color: #ff1744;
}

/* TEXT + TITLES */

h1,
h2,
h3,
h5 {
  color: var(--primary);
}

h1,
h2,
h3 {
  font-weight: 700;
}

article h2,
article h3 {
  margin-top: 30px;
  margin-bottom: 20px;
}

article a {
  color: var(--secondary);
}

.text-orange {
  color: var(--secondary);
}

.text-heading {
  font-size: 30px;
  font-weight: 700;
}

blockquote {
  background-color: var(--light);
  padding: 15px 15px;
  border-radius: 5px;
}

blockquote p {
  color: var(--primary-dark);
}

blockquote p:last-child {
  margin-bottom: 0;
}

/* HEADER + NAV */

#nav-header {
  /* -webkit-box-shadow: 0 0 5px rgba(50, 0, 50, 0.2);
  -moz-box-shadow: 0 0 5px rgba(50, 0, 50, 0.2);
  box-shadow: 0 0 5px rgba(50, 0, 50, 0.2); */
  background:transparent;
}

.nav-link {
  color: #000 !important;
  font-size: 16px;
  text-decoration: none;
  font-weight: 500;
}

.dropdown-menu {
  color: #ff1744 !important;
  background-color: #fff;
  border: none;
  box-shadow: 0 0 5px rgba(50, 0, 50, 0.2);
}

.dropdown-menu a:hover {
  color: #ff1744 !important;
  background-color: #fff;
}

.navbar-light .navbar-toggler-icon {
  background-image: none;
}

.navbar-light .navbar-toggler {
  border: none !important;
}

/* hamburger  */

.navbar-toggler-icon {
  position: relative;
  height: 2px;
  width: 22px;
  background-color: #000;
  border-radius: 55px;
}

.navbar-toggler-icon:before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  height: 2px;
  width: 22px;
  background-color: #000;
  border-radius: 55px;
}

.navbar-toggler-icon:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  height: 2px;
  width: 22px;
  background-color: #000;
  border-radius: 55px;
}

/* FOOTER */

footer {
  margin-top: 100px;
  background: var(--primary);
}

/* THUMBNAILS CARDS */

.thumb-brand,
.thumb-comments {
  box-shadow: 0px 10px 20px rgba(10, 33, 65, 0.05),
    0px 0px 2px rgba(0, 0, 0, 0.13);
  border-radius: 10px;
  background-color: #fff;
}

.thumb-brand p {
  /* Concerne les vignettes last marques de la home */
  font-size: 18px;
  font-weight: 700;
}

.thumb {
  /* Concerne les vignettes catégories de la home */
 box-shadow: 0px 10px 20px rgba(10, 33, 65, 0.05),
    0px 0px 2px rgba(0, 0, 0, 0.13);
  border-radius: 10px;
  text-align: center;
  overflow: hidden;
padding: 10px;
}

.thumb-white {
  background-color: white;
}

.thumb-light {
  background-color: #102027;
}

/* .thumb::before {
  position: absolute;
  content: "";
  height: 40%;
  width: 40%;
  right: -15%;
  bottom: -15%;
  background-color: #ff1744;
  z-index: -1;
  border-radius: 100% 0 0 0 / 90%;
  transition: all 0.4s ease;
} */

.thumb .thumb-title,
.thumb p {
  transition: all 0.3s;
}

.card-title {
  /* Titres par dessus les img categories de la home */

  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 1rem;
}

.thumb:hover:before {
  /* Effet au survol des vignettes catégories */

  width: 150%;
  height: 150%;
  border-radius: 0;
}

/* .thumb:hover img{
    visibility: hidden;
} */

.thumb:hover .card-title,
.thumb:hover p {
  color: white;
}

.horizontal-thumb {
  box-shadow: 0px 10px 20px rgba(10, 33, 65, 0.05),
    0px 0px 2px rgba(0, 0, 0, 0.13);
  border-radius: 10px;
}

.horizontal-thumb h2 {
  font-size: 24px;
}

.encart-118 {
  background-color: white;
  padding: 20px;
  border: 1px solid #ddd;
  margin-top: -50px;
  text-align: center;
}

.thumb-report {
  border: 1px solid #fafafa;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  padding: 20px;
  border-radius: 10px;
}

/* Backgrounds */

.bg-primary-dark {
  background-color: var(--primary-dark);
}

.bg-primary-light {
  background-color: rgba(232, 234, 246, 0.5);
}

.bg-picto {
  background-image: url("/lib/img/letter-background.svg");
  background-position: -50px 50%;
  background-size: 400px;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.bg-secondary {
  background-color: var(--secondary);
}

/* BADGES */

.badge-primary {
  color: var(--secondary);
  background-color: var(--secondary-light);
  border: none;
  font-size: 11px;
}

.badge-secondary {
  color: var(--secondary);
  background-color: var(--secondary-light);
  border: none;
  font-size: 11px;
}

.thumb-brand .badge {
  font-weight: 300;
}

.badge-category {
  color: var(--secondary);
  background-color: var(--secondary-light);
  border: none;
  font-size: 18px;
}

/* FORMS */

input[type="text"],
textarea,
input[type="password"] {
  border: none;
  box-shadow: 0px 10px 20px rgba(86, 146, 228, 0.1);
  border-radius: 20px;
}

input[type="text"]:focus,
textarea:focus,
input[type="password"]:focus {
  box-shadow: 0px 10px 25px rgba(86, 146, 228, 0.2);
}

input[type="submit"] {
  border: none;
  box-shadow: 0px 10px 20px rgba(86, 146, 228, 0.1);
  border-radius: 20px;
}

/* SEPARATOR */

.hr {
  height: 7px;
  width: 25px;
  background: var(--secondary);
  margin: 15px auto;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* BUTTONS  */

.btn-primary {
  background-color: var(--primary);
  color: #edf6f9;
  border: none !important;
}

.btn-secondary {
  background-color: var(--secondary);
  color: #edf6f9;
  border: none !important;
}

.btn-outline-secondary {
  background-color: none;
  color: var(--secondary);
  border: 1px solid var(--secondary) !important;
}

.btn-outline-secondary:hover {
  background-color: var(--secondary) !important;
  color: white;
  border: none;
}

.btn-outline-primary {
  background-color: none;
  color: var(--primary);
  border: 1px solid var(--primary) !important;
}

.btn-outline-primary:hover {
  background-color: var(--primary) !important;
  color: white;
}

.btn:hover {
  background: #000;
  color: #edf6f9;
}
/* PAGE SVA */
.afterarrow::after {
  content: "  →";
  color: white;
}

#call {
  animation: call 1.5s infinite;
}
#call::before {
  content: "📞  ";
}

/* BREADCRUMB */

.breadcrumb {
  background-color: transparent !important;
  border: none;
}

.breadcrumb a:hover {
  color: #ff1744;
}

.breadcrumb a {
  color: inherit;
}

.active {
  color: #ff1744 !important;
}

.encart-title {
  text-transform: uppercase;
  font-weight: 700 !important;
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--primary);
}

.encart-container {
  background-color: rgba(232, 234, 246, 0.5);
  width: 100%;
  padding: 30px 20px;
  border-radius: 20px;
}

.btn-call {
  font-size: 18px;
  padding: 10px 20px;
  font-weight: 500;
  border: none !important;
  background-color: var(--secondary);
  color: white;
}

.pulse {
  position: relative;
  width: 15px;
  height: 15px;
  background-color: #4db6ac;
  /* background-color: #64dd17; */

  border-radius: 50%;
}

.pulse span {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #4db6ac;
  border-radius: 50%;
  display: inlineblock;
  width: 100%;
  height: 100%;
  animation: animate 2.5s linear infinite;
  animation-delay: 0s;
  animation-delay: calc(-0.2s * var(--i));
}

#result-survey-no {
  display: none;
}

#loader {
  display: none;
  width: 40px;
  align-items: center;
  justify-content: space-between;
}

#loader span {
  width: 10px;
  height: 10px;
  background-color: #0b2d50;
  border-radius: 100%;
  animation: loading 0.8s infinite;
  animation-delay: calc(-0.1s * var(--i));
}

@keyframes loading {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1.1);
  }
}

@keyframes animate {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  90% {
    transform: scale(2);
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

@keyframes call {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.phone {
  animation: animphone 0.7s infinite;
}

@keyframes animphone {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.mobile{
  display: none;
}

/*------------RESPONSIVE---------*/

@media screen and (max-width: 767px) {
  .btn-call {
    font-size: 15px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 18px;
  }

  .encart-img {
    display: none;
  }

  .mobile{
    display: block;
    position: fixed;
    width: 100%;
    bottom : 0;
    left : 0;
    background-color:orangered;
    color : white;
    text-align: center;
    padding : 10px;
  }
}

@media screen and (max-width: 991px) {
}

/*----- EXTRA SMALL ---*/

@media screen and (max-width: 575px) {
}

/*-----  SMALL ---*/

@media screen and (min-width: 576px) and (max-width: 767px) {
}

/*------- MEDIUM --------*/

@media screen and (min-width: 768px) and (max-width: 991px) {
}

/*------- Large --------*/

@media screen and (min-width: 992px) and (max-width: 1199px) {
}

@media only screen and (max-width: 480px) {
}
