html {
  scroll-behavior: smooth;
}

section.section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 72px 34px;
}

section.section.alternate {
  background-color: #fafafa;
  border-radius: 12px;
}

h2.subtitle {
  font-size: 2.5rem;
  color: #111;
  margin-bottom: 1rem;
  font-weight: 500;
}

a.cta {
  background-color: #ff9800;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  width: fit-content;
  display: block;
}

section#hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  position: relative;
  overflow: hidden;
}

.hero-carousel-container {
  width: 100%;
  max-width: 1400px;
  position: relative;
  overflow: hidden;
}

.hero-carousel-track {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  position: relative;
  width: 100%;
}

.hero-slide {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  opacity: 0;
  width: 100%;
  padding: 72px 100px;
  z-index: 1;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.hero-slide-image-left {
  flex-direction: row-reverse;
}

.hero-content {
  max-width: 50%;
  z-index: 2;
  flex: 1;
}

.hero-content h1 {
  font-size: 3rem;
  color: #111;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem;
  color: #555;
}

.hero-image {
  max-width: 60%;
  flex: 1;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  z-index: 2;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #eee;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: #111;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-arrow:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-arrow-left {
  left: 20px;
}

.hero-arrow-right {
  right: 20px;
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

.hero-dot.active {
  background: #ff9800;
  border-color: #ff9800;
  width: 24px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.4);
}

section.models > .caroussel {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}

section.models > .caroussel > .card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 10px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

section.models > .caroussel > .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  text-decoration: none;
}

section.models > .caroussel > .card > img,
section.models > .caroussel > .card img {
  aspect-ratio: 1/1;
  width: 100%;
  max-width: 225px;
  margin-bottom: 12px;
  background-color: black;
  object-fit: contain;
  border-radius: 12px;
}

section.models > .caroussel > .card > h3 {
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

section.models > .caroussel > .card > p {
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

section.tents > .content {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

section.tents > .content > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

section.tents > .content > img {
  max-width: 320px;
  background-color: black;
  border-radius: 12px;
  object-fit: contain;
}

section.features .features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

section.features .feature-item {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
}

section.features .feature-item h3 {
  font-size: 12px;
  color: #ff9800;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}

section.features .feature-item h2 {
  font-size: 38px;
  color: #111;
  margin-bottom: 16px;
  font-weight: 500;
}

section.features .feature-item p {
  color: #555;
  font-size: 0.95rem;
  margin: 0;
}

/* Stepper section */
section.stepper .steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
  padding: 0;
}

section.stepper .step {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
}

section.stepper .step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

section.stepper .step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9800 0%, #ff6f00 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

section.stepper .step-content {
  flex: 1;
}

section.stepper .step-content h3 {
  font-size: 1.25rem;
  color: #111;
  margin-bottom: 12px;
  font-weight: 500;
}

section.stepper .step-content p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

section.stepper .stepper-cta {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 16px;
}

/* Stepper responsive - Tablette */
@media screen and (max-width: 1024px) and (min-width: 769px) {
  section.stepper .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  section.stepper .step {
    padding: 28px 20px;
  }

  section.stepper .step-num {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
    margin-bottom: 16px;
  }

  section.stepper .step-content h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  section.stepper .step-content p {
    font-size: 0.9rem;
  }
}

/* Testimonials section */
section.testimonials .testimonials-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

section.testimonials .testimonial {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
}

section.testimonials .testimonial:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

section.testimonials .testimonial-content blockquote {
  margin: 0 0 20px;
  color: #333;
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
}

section.testimonials .testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 12px;
}

section.testimonials .author {
  color: #111;
  font-weight: 600;
  font-size: 0.95rem;
}

section.testimonials .rating {
  color: #ff9800;
  font-weight: 600;
  font-size: 0.95rem;
}

/* FAQ section */
section.faq .faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
  min-width: 0;
}

section.faq details.faq-item {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 0;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  opacity: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: block;
}

section.faq details.faq-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

section.faq details.faq-item[open] {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

section.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #111;
  padding: 20px 44px 20px 24px;
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  user-select: none;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
  hyphens: auto;
  margin: 0;
}

section.faq summary::-webkit-details-marker {
  display: none;
}

section.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #ff9800;
  font-weight: 300;
  transition: transform 0.3s ease;
}

section.faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(0deg);
}

section.faq .faq-content {
  padding: 0 44px 24px 24px;
  color: #666;
  line-height: 1.7;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
  margin: 0;
}

section.faq .faq-content p {
  margin: 0;
  max-width: 100%;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Conversion section */
section.conversion {
  text-align: center;
}

section.conversion .conversion-content {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
}

section.conversion .conversion-title {
  font-size: 2.5rem;
  color: #111;
  margin-bottom: 16px;
  font-weight: 500;
}

section.conversion .conversion-text {
  font-size: 1.15rem;
  color: #666;
  margin-bottom: 32px;
  line-height: 1.6;
}

section.conversion .conversion-cta-wrapper {
  margin-bottom: 40px;
}

section.conversion .conversion-cta {
  font-size: 1.15rem;
  padding: 14px 32px;
  margin: 0 auto 16px;
  display: inline-block;
}

section.conversion .conversion-trust {
  color: #888;
  font-size: 0.9rem;
  margin: 0;
}

section.conversion .trust-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

section.conversion .trust-badges li {
  color: #555;
  font-size: 0.95rem;
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  section#hero {
    min-height: 50vh;
  }

  .hero-slide {
    flex-direction: column-reverse !important;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding: 48px 60px;
  }

  .hero-content,
  .hero-image {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-image img {
    max-width: 80%;
    display: block;
    margin: auto;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-arrow-left {
    left: 10px;
  }

  .hero-arrow-right {
    right: 10px;
  }

  .hero-dots {
    bottom: 16px;
  }

  section.models > .caroussel {
    grid-template-columns: repeat(2, 1fr);
  }

  section.tents > .content {
    flex-direction: column-reverse;
  }

  section.tents > .content > img {
    max-width: 100%;
  }

  section.features .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  section.stepper .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  section.stepper .step {
    padding: 24px 20px;
  }

  section.stepper .step-num {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    margin-bottom: 14px;
  }

  section.stepper .step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  section.stepper .step-content p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  section.testimonials .testimonials-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  section.conversion .conversion-title {
    font-size: 2rem;
  }

  section.conversion .conversion-text {
    font-size: 1rem;
  }

  section.conversion .trust-badges {
    flex-direction: column;
    gap: 12px;
  }
}
