:root{
  --primary700: #a1371d;
  --primary600: #c03f22;
  --primary: #e84c29; 
  --primary400: #f06b4d;
  --primary300: #f58b70;
  --primary200: #f9ab94;
  --primary100: #fcccc0;

  --secondary700: #a6791f;
  --secondary600: #c89024;
  --secondary: #fdbf2d;
  --secondary400: #fdcb54;
  --secondary300: #fdd77a;
  --secondary200: #fee3a1;
  --secondary100: #fef0c7;

  --accent700: #147b5b;
  --accent600: #179a6e; 
  --accent: #1bc085; 
  --accent400: #48cd9d;
  --accent300: #74dab5;
  --accent200: #a1e7cd;
  --accent100: #cdf4e5;

  --blue100:#cdd5f4;

  --neutral100: #adb5bd;
  --neutral200: #6c757d;
  --neutral300: #495057;
  --neutral400: #343a40;
  --neutral500: #212529;
  --black: #000000;
  --white: #FFFFFF;
}

@media (max-width: 992px){
    .container, .container-lg, .container-md, .container-sm {
        max-width: 1040px;
    }
}

figcaption{
  font-size: 0.8rem;
}
  
.primary-text{
  color: var(--primary);
}

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

.accent-text{
  color: var(--accent);
}

.bg-primary{
  background: var(--primary) !important;
}

.bg-secondary-100{
  background: var(--secondary100) !important;
}

.bg-accent-100{
  background: var(--accent100) !important;
}

.bg-blue-100{
  background: var(--blue100) !important;
}

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

.border-secondary{
  border-color: var(--secondary) !important;
}

html, body {
  font-family: "Plus Jakarta Sans", sans-serif;
}

body, .h1, .h2, .h3, .h4, .h5, .h6{
  color:var(--neutral500) !important;
}

.btn{
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
}

.btn-primary {
  background-color: var(--secondary) !important;
  border-color: var(--secondary) !important;
  color: var(--neutral500) !important;
  box-shadow: rgba(255, 204, 0, 0.605) 0px 10px 40px -10px;
  transition: all 0.3s ease;
  scale: 1;
}

.btn-primary:hover {
  background-color: #ffb300 !important;
  border-color: #ffb300 !important;
  scale: 0.98;
}

@media (max-width:1199px){
  .btn-back, .btn-next{
    width: 100%;
  }
}

.form-check label{
  font-size: 0.9rem;
}

.hero {
  background-color: #fffbec;
  margin-top: 100px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.list_items{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.list_items p{
  margin-bottom: 0;
}

.list_items li{
  display: flex;
  align-items: center;
  gap: 8px;
}

nav {
  font-weight: 500;
  font-size: 1rem;
}

.logo-header {
    width: 150px;
}

@media (max-width: 768px) {
    .logo-header {
        max-width: 120px;
        width: auto !important;
    }
    
    nav {
        height: 70px !important;
        border-bottom: 2px solid #f9e1d3;
        font-weight: 500;
        font-size: 1rem;
    }
    
    header {
        margin-top: 70px;
    }

    .hero {
      margin-top: 70px;
  }
}

#navbar {
  height: 100px;
  border-bottom: 1px solid #ededed;
}

.avis-logo {
  width: 200px;
}


.nav-link {
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link:hover{
  color: #E84C29 !important;
}

.active-link {
  color: #E84C29 !important;
}

.opiniones_widget .avis-logo{
  box-shadow: 3px 1px 10px rgb(0 0 0 / 8%);
  border-radius: 30px;
}

.opiniones_widget{
  font-size: 0.8rem;
}

.opiniones_widget .widget{
  gap: 10px;
}

/* formulaire */
.step-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 20px;
  padding: 20px;
  max-width: 600px;
  min-height: 400px;
}
  
.step-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 20px;
  overflow-x: auto; /* permet le scroll si l’écran est trop petit */
}
  
@media (max-width: 400px) {
  .step-indicator {
    flex-wrap: wrap;
    justify-content: center;
  }
}
  
.circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ccc;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}
  
.circle.active {
  background-color: orange;
}

.line {
  flex: 1;
  height: 2px;
  background-color: #eee;
  margin: 0 5px;
}

.option-box {
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
}

.option-box:hover, .option-box.selected {
  /*border-color: orange;
  background-color: #fff9f2;*/
  border-color: #1bc085;
  background-color: #f2fff4;
}

.bg-success{
  background-color: #18c085 !important;
}

/* formulaire end */

.navbar .nav-link{
  font-size: 0.9rem;
}

.img-style-1{
  width: 100%;
  height: 400px;
  border-radius: 2rem;
  object-fit: cover;
}

.separator{
  width: 80px;
  opacity: 100%;
  border-radius: 2rem;
  margin-top: 30px;
}

.ventajas{
  background: var(--secondary);
}

  /* Ligne horizontale entre les étapes */
  .timeline-line {
    position: absolute;
    top: 275px; /* ajusté pour s'aligner avec le centre du SVG */
    left: 0;
    right: 0;
    height: 3px;
    background: #ffffff;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgb(248 191 46) 50%, rgba(255, 255, 255, 0) 100%);
    z-index: 0;
  }

  .step-wrapper {
    position: relative;
    z-index: 1;
  }

  .step-svg {
    width: 70px;
    height: 70px;
  }

  .step-card {
    background: #fff;
    border-radius: 0.8rem;
    border: 1px solid #ececec;
    padding: 2rem 1rem;
  }

  .icon{
    font-size: 2rem;
  }

  @media (max-width: 767.98px) {
    .timeline-line {
      display: none;
    }
  }

  /* Testimonials */
  .marquee-section {
    background: #f8f9fa;
    padding: 3rem 0;
    overflow: hidden;
  }
  
  .marquee-wrapper {
    overflow-x: auto;
    padding: 1.5rem 0;
    scroll-snap-type: both mandatory;
  }
  
  .marquee-track {
    display: flex;
    gap: 1.5rem;
    padding: 0 2rem;
    width: max-content;
    animation: scroll-left 30s linear infinite;
  }
  
  .testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    width: 380px;
    flex-shrink: 0;
    scroll-snap-align: start;
    text-align: center;
  }
  
  .testimonial-card img {
    border-radius: 50%;
    width: 60px;
    margin-bottom: 0.5rem;
  }
  
  .rating {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: 0.5rem;
  }
  
  .svg-star {
    width: 20px;
    height: 20px;
  }
  
  @keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  
  /* Desktop only marquee */
  @media (min-width: 768px) {
    .marquee-wrapper {
      overflow: visible;
    }
  
    .marquee-track {
      animation: scroll-left 30s linear infinite;
    }
  
    .marquee-wrapper:hover .marquee-track {
      animation-play-state: paused;
    }
  }
  
  /* Mobile: no animation */
  @media (max-width: 767px) {
    .marquee-track {
      animation: none !important;
    }

    .ww{
      width: 100%;
    }
  }
  /* Testimonials end */

.faq{
  max-width: 1140px;
}

.accordion-item{
  border: 0;
}

.accordion-button {
  color: var(--neutral500);
  background-color: var(--secondary300);
  box-shadow: none;
  border-radius: 1rem !important;
}

.accordion-button:not(.collapsed) {
  color: var(--neutral400);
  background-color: var(--secondary);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0,0,0,.125);
}