@import url("https://fonts.googleapis.com/css2?family=Antic+Didone&family=Manrope:wght@200..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Gabarito:wght@400..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Alkatra:wght@400..700&display=swap");

/* GENERAL */

:root {
  --primary-dark: #101935;
  --light: #fff1f3;
  --primary: #efc866;
  --secondary: #aa3131;
  --secondary-light: #cc617c;
  --informative: #6c757d;
  --success: #4db6ac;
  --tertiary: #00838f;
}

body {
  overflow-x: hidden;
  font-family: "Gabarito", sans-serif;
  font-size: 18px;
  color: white;
  background: radial-gradient(
        35.36% 35.36% at 100% 25%,
        #0000 66%,
        #2a2a2a 68% 70%,
        #0000 72%
      )
      32px 32px / calc(2 * 32px) calc(2 * 32px),
    radial-gradient(
        35.36% 35.36% at 0 75%,
        #0000 66%,
        #2a2a2a 68% 70%,
        #0000 72%
      )
      32px 32px / calc(2 * 32px) calc(2 * 32px),
    radial-gradient(
        35.36% 35.36% at 100% 25%,
        #0000 66%,
        #2a2a2a 68% 70%,
        #0000 72%
      )
      0 0 / calc(2 * 32px) calc(2 * 32px),
    radial-gradient(
        35.36% 35.36% at 0 75%,
        #0000 66%,
        #2a2a2a 68% 70%,
        #0000 72%
      )
      0 0 / calc(2 * 32px) calc(2 * 32px),
    repeating-conic-gradient(#242121 0 25%, #0000 0 50%) 0 0 / calc(2 * 32px)
      calc(2 * 32px),
    radial-gradient(#0000 66%, #2a2a2a 68% 70%, #0000 72%) 0 calc(32px / 2) /
      32px 32px #242121;
}

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

a:hover {
  color: var(--primary);
}

/* TEXT + TITLES */

h1,
h2,
h3,
h4,
h5 {
  /* font-family: "Antic Didone", serif; */
  font-family: "Alkatra", system-ui;
  color: var(--primary);
}

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

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

article h3 {
  color: var(--tertiary);
}

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

.we-700 {
  font-weight: 700;
}

.mt-minus-10 {
  margin-top: -12rem;
}
.mb-10 {
  margin-bottom: 5rem;
}

.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}
.text-informative {
  color: var(--informative) !important;
}
.text-heading {
  font-size: 30px;
  font-weight: 700;
}

.text-heading-xxl {
  font-size: 72px;
}

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

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

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

/* LETTERS */

.letter-container {
  padding: 30px;
  background-color: rgba(219, 225, 246, 0.3);
  box-shadow: 2px 2px 3rem 0.1rem rgba(18, 38, 63, 0.15);
  border-radius: 10px;
  margin: 30px 0;
}

.letter-container input[type="text"],
.letter-container input[type="submit"] {
  padding: 5px 10px;
}

.letter-container input[type="text"] {
  border: 1px solid var(--primary);
  border-radius: 10px;
  margin-bottom: 5px;
}

.letter-container input[type="submit"] {
  background-color: var(--primary);
  color: white;
}

input[type="text"]:focus,
textarea:focus,
input[type="password"]:focus {
  /* box-shadow: rgba(red, green, blue, alpha) ; */
}

/* HEADER + NAV */
#nav-header {
  background-color: #2a2a2a;
  color: white !important;
}

.nav-link {
  color: white !important;
  font-size: 16px;
  text-decoration: none;
  font-weight: 400;
}

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

.dropdown-menu a:hover {
  color: #443b3b !important;
}
.dropdown-item {
  color: white;
}
.dropdown-item:focus,
.dropdown-item:hover {
  background-color: transparent !important;
}
.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 */

footer {
  padding: 50px 0;
  margin-top: 100px;
  background: #2a2a2a;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 10px;
}

/* 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-comments h2 {
  font-size: 2.5vh;
}

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

.thumb-img-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 150px;
  font-size: 50px;
  color: var(--primary);
}

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

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

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

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

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

  /* Titres par dessus les img categories de la home */

  font-size: 16px;

  font-weight: 700;

  color: var(--primary);

  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: var(--secondary);
}

.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;

  background-color: white;
}

.full-rounded {
  border-radius: 999px;
}

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

.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(255, 241, 243, 0.5);
}

.bg-primary-grad {
  background: linear-gradient(
    to bottom,

    rgba(176, 34, 140, 0.08) 60%,

    white 100%
  );
}

.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-model-category {
  font-size: 12px;
  background-color: var(--primary);
  color: black;
  border-radius: 99px;
  text-align: center;
}

.badge-category {
  color: var(--secondary);

  background-color: var(--secondary-light);

  border: none;

  font-size: 18px;
}

.badge-red {
  /* font-family: "Antic Didone", serif; */
  font-family: "Alkatra", system-ui;
  background-color: var(--primary);
  color: white;
  letter-spacing: 2px;

  font-size: 20px;
}

/* 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(228, 86, 228, 0.2); */
}

input[type="submit"] {
  /* border: none; */

  /* box-shadow: 0px 10px 20px rgba(86, 146, 228, 0.1); */

  /* border-radius: 20px; */
}

/* SEPARATOR */

hr {
  border-top-color: var(--light);
}

.hr {
  height: 7px;

  width: 25px;

  background: var(--primary);

  margin: 15px auto;

  border-top-left-radius: 10px;

  border-bottom-right-radius: 10px;
}

/* BUTTONS  */

.btn-gold {
  padding: 10px;
  background: -webkit-gradient(
    left bottom,
    right top,
    color-stop(0%, #c99a42),
    color-stop(50%, #efc866),
    color-stop(100%, #aa7931)
  );
  background: linear-gradient(45deg, #c99a42 0%, #efc866 50%, #aa7931 100%);
  border: none;
  /* font-family: "Antic Didone", serif; */
  /* font-family: "Alkatra", system-ui; */
  /* font-weight: 600; */
  /* letter-spacing: 1px; */
  transition: all 200ms ease-in;
}
.btn-gold-red {
  padding: 10px;
  background: -webkit-gradient(
    left bottom,
    right top,
    color-stop(0%, #c95642),
    color-stop(50%, #ef6666),
    color-stop(100%, #aa3131)
  );
  background: linear-gradient(45deg, #c95642 0%, #ef6666 50%, #aa3131 100%);
  border: none;
  /* font-family: "Antic Didone", serif; */
  /* font-family: "Alkatra", system-ui; */
  /* font-weight: 600; */
  /* letter-spacing: 1px; */
  transition: all 200ms ease-in;
}

.btn-primary {
  background-color: var(--light);

  color: var(--primary);

  border: none !important;
}

.btn-secondary {
  background-color: var(--secondary-light);

  color: var(--secondary);

  border: none !important;
}

.btn-success {
  background-color: var(--success);

  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;
}

/* BREADCRUMB */

.breadcrumb {
  background-color: transparent !important;

  border: none;
}

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

.breadcrumb a {
  color: inherit;
}

.active {
  color: var(--primary) !important;
}

.encart-title {
  font-weight: 700 !important;

  font-size: 40px;

  margin-bottom: 10px;

  color: var(--primary);
}

.encart-container {
  background-color: rgba(232, 234, 246, 0.5);

  width: 100%;

  padding: 40px 50px 30px;

  border-radius: 20px;

  position: relative;

  overflow: hidden;

  z-index: 0;
}

.encart-img {
  position: absolute;

  bottom: -20px;

  right: -50px;

  width: 400px;

  z-index: -1;

  opacity: 0.5;
}

.btn-call {
  font-size: 18px;

  padding: 10px 20px;

  font-weight: 500;

  border: none !important;

  background-color: var(--success);

  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));
}

.encart-container-iframe {
  background-color: var(--light);

  border-radius: 10px;

  padding: 20px 20px 0;
}

@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;
  }
}

.phone {
  animation: animphone 0.7s infinite;
}

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

  50% {
    transform: scale(1.2);
  }

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

/* FAQ */

#accordion-menu {
  margin: 0;

  padding: 0;

  list-style: none;
}

#accordion-menu li {
  margin-bottom: 10px;

  border-radius: 0.375rem;
}

.accordion-toggle {
  display: block;

  padding: 20px;

  background-color: #fff;

  color: #444;

  cursor: pointer;

  /* border: 1px solid rgba(232, 234, 246, 0.5); */

  border-bottom: none;

  border-radius: 0.375rem;
}

.accordion-content {
  max-height: 0;

  overflow: hidden;

  transition: max-height 0.2s ease-out;
}

.accordion-content p {
  margin: 20px 20px 30px;
}

#accordion-menu h2 {
  font-size: 24px;

  margin-bottom: 0;
}

.arrow {
  transform: rotate(0);

  transition: transform 0.2s;

  margin-left: 20px;

  width: 20px;
}

.is-open {
  background-color: rgba(232, 234, 246, 0.5);

  transition: all 0.2s;
}

.is-open .arrow {
  transform: rotate(180deg);

  transition: transform 0.2s;
}

/* TIMELINE (RIGHT COLUMN) */

#summary-container-container,
#side-container {
  position: sticky;

  top: 50px;
}

#summary-container {
  border-left: 1px dashed grey;

  /* position: sticky; */
}

.li-summary-reveal {
  position: relative;
  color: var(--secondary);
}

.li-summary-reveal::before {
  position: absolute;
  left: -37px;
  top: 7px;
  content: "";
  width: 10px;
  height: 10px;

  border-radius: 10px;

  background-color: var(--secondary);
}

/*Steps lettres*/
.steps {
  border: 1px solid #ced4da;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.step {
  padding: 15px 15px;
}

.step.active {
  border-radius: 10px;
  background-color: var(--primary);
  color: white !important;
}

.steps-timing {
  position: absolute;
  right: -70px;
  top: -50px;
}

.card-active {
  border: 2px solid var(--primary);
}

.send-letter:disabled {
  color: var(--informative);
  border-color: var(--informative) !important;
}

/*------------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-container {
    text-align: center;

    padding: 20px 15px;
  }

  .encart-title {
    font-size: 20px;
  }

  .encart-img {
    display: none;
  }

  #accordion-menu h2 {
    font-size: 18px;
  }

  .arrow {
    width: 15px;
  }

  .text-heading {
    font-size: 22px;
  }

  .text-heading-xxl {
    font-size: 48px;
  }

  .dropdown-item {
    white-space: unset !important;
  }

  .dropdown-menu {
    box-shadow: none !important;
  }

  .mt-minus-10 {
    margin-top: 0;
  }
}

@media screen and (max-width: 991px) {
  .mt-minus-10 {
    margin-top: 0;
  }
}

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

@media screen and (max-width: 575px) {
  .mt-minus-10 {
    margin-top: 0;
  }
}

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

@media screen and (min-width: 576px) and (max-width: 767px) {
  .mt-minus-10 {
    margin-top: 0;
  }
}

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

@media screen and (min-width: 768px) and (max-width: 991px) {
  .mt-minus-10 {
    margin-top: 0;
  }
}

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

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

.hero-banner {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-banner {
  min-height: 50rem;
}
.hero-banner.h-200 {
  min-height: 200px;
}
.hero-banner.h-400 {
  min-height: 400px;
}
.hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50rem;
  background-image: url("/lib/img/header4-bis-transformed.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  filter: brightness(0.4); /* Applique le filtre sur l'image de fond */
  z-index: -1; /* Assure que l'image soit derrière le contenu */
}

.hero-banner .content {
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

.post-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0 10px 5px 10px;
  background: linear-gradient(
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 1) 100%
  );
  margin: 0 0.75rem 0 0.75rem;
}
.post-card-info h2 {
  /* font-family: "Antic Didone", serif; */
  font-family: "Alkatra", system-ui;
}

.post-card:hover img {
  filter: brightness(1);
}

.tel-info {
  pointer-events: none;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--secondary);
  /* margin: 0 0.75rem 0 0.75rem; */
}

.card-model-home:hover .tel-info {
  opacity: 1;
}

.price-tel {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  right: 0.75rem;
  font-size: 22px;
  background-color: black;
  color: var(--primary);
  font-family: "Alkatra", system-ui;
  padding: 5px 10px 5px 10px;
  border-bottom-left-radius: 15px;
  z-index: 2;
}

.post-card img {
  filter: brightness(0.8);
  transition: all 200ms ease-in;
}

a:hover > .post-card {
  color: white;
}

.card-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #1d1d1de0;
  color: var(--primary);
  min-height: 500px;
  text-align: center;
}

.card-home .hr {
  width: 30px;
  height: 3px;
  background-color: var(--primary);
  margin-top: 10px;
  margin-bottom: 10px;
}

.background-engagements {
  padding-top: 100px;
  padding-bottom: 100px;
  background-image: url("/lib/img/header5-dark.jpg");
  background-position: center;
  background-size: cover;
}

.model-desc {
  line-height: 20px;
}

@media screen and (max-width: 996px) {
  .custom-modal.displayed {
    width: 95vw !important;
    height: 80lvh;
  }
  .hero-banner::before {
    background-position: right;
  }
  .hero-banner .content {
    width: 100%;
  }
}
