/* === Base === */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

a {
  text-decoration: none;
}

button:focus, .cta:focus {
  outline: 2px dashed #f4c430;
  outline-offset: 4px;
}

/* === Header === */
header {
  background-color: #0a1f44;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
}

.logo span {
  color: #f4c430;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: white;
  font-weight: 500;
}

/* === Hero === */
.hero {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(to right, #0a1f44, #1e3c72);
  color: white;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

/* === CTA Buttons === */
.cta {
  background-color: #f4c430;
  color: #0a1f44;
  padding: 0.8rem 1.5rem;
  font-weight: bold;
  border-radius: 5px;
  display: inline-block;
  transition: 0.3s ease;
}

.cta.secondary {
  background-color: white;
  color: #0a1f44;
  border: 2px solid #f4c430;
}

.cta:hover {
  background-color: #0a1f44;
  color: #f4c430;
}

.cta.secondary:hover {
  background-color: #f4c430;
  color: #0a1f44;
}

/* === Footer === */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #0a1f44;
  color: white;
  font-size: 0.9rem;
}

/* === Features === */
.features {
  padding: 2rem;
  text-align: center;
}

.features h2 {
  color: #0a1f44;
  margin-bottom: 1rem;
}

.feature-list {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 1.1rem;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 150px;
}

.feature svg {
  margin-bottom: 0.5rem;
}

/* === Packs Preview === */
.packs-preview {
  padding: 2rem;
  text-align: center;
  background-color: #fff;
}

.packs-preview h2 {
  color: #0a1f44;
  margin-bottom: 1rem;
}

.pack-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1000px;
  margin-inline: auto;
}

.card {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  color: #0a1f44;
  margin-bottom: 0.5rem;
}

/* === Steps Preview === */
.steps-preview {
  padding: 2rem;
  text-align: center;
  background-color: #fff;
}

.steps-preview h2 {
  color: #0a1f44;
  margin-bottom: 1rem;
}

.steps-preview ol {
  list-style: none;
  padding: 0;
  font-size: 1.1rem;
  line-height: 2;
}

/* === CTA Final === */
.cta-final {
  padding: 2rem;
  text-align: center;
  background-color: #fff;
}

.cta-final h2 {
  color: #0a1f44;
  margin-bottom: 1rem;
}

.cta-final .cta {
  margin: 1rem;
}

/* === Testimonials === */
.testimonials {
  padding: 2rem;
  background-color: #f9f9f9;
  text-align: center;
  overflow-x: auto;
}

.testimonials h2 {
  color: #0a1f44;
  margin-bottom: 1rem;
}

.testimonial-list {
  display: flex;
  gap: 1.5rem;
  padding: 1rem;
  min-width: 800px;
}

.testimonial {
  background-color: white;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  font-style: italic;
  min-width: 250px;
  flex-shrink: 0;
}

.testimonial span {
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
  color: #0a1f44;
}

/* === Contact Page === */
.contact {
  padding: 2rem;
  max-width: 600px;
  margin: auto;
  text-align: center;
}

.contact h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  width: 100%;
}

.contact-form button {
  background-color: #f4c430;
  color: #0a1f44;
  border: none;
  padding: 0.8rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.contact-info {
  margin-top: 2rem;
  font-size: 1rem;
}

.contact-info a {
  color: #0a1f44;
  text-decoration: underline;
}

/* === Simulateur Page === */
.simulateur {
  padding: 2rem;
  max-width: 600px;
  margin: auto;
  text-align: center;
}

.simulateur h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

#priceForm {
  margin-top: 2rem;
  text-align: left;
}

#priceForm label {
  display: block;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.total {
  margin-top: 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #0a1f44;
}

/* === Animation au scroll === */
.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .feature-list,
  .pack-cards,
  .testimonial-list {
    flex-direction: column;
    align-items: center;
  }

  .cta-zone {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-list {
    min-width: auto;
  }
}
.testimonials {
  overflow: hidden;
  background-color: #f9f9f9;
  padding: 3rem 2rem;
  position: relative;
}

.testimonials h2 {
  text-align: center;
  color: #0a1f44;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.testimonial-list {
  display: flex;
  gap: 1.5rem;
  padding: 1rem;
  min-width: 100%;
  animation: scrollTestimonials 40s linear infinite;
}

.testimonial {
  background-color: white;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  font-style: italic;
  min-width: 300px;
  flex-shrink: 0;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.testimonial span {
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
  color: #0a1f44;
}

@keyframes scrollTestimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.packs-preview {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.packs-preview h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.packs-preview p {
  color: #444;
  margin-bottom: 2rem;
}

.pack-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-image {
  width: 100%;
  height: 140px;
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.badge {
  display: inline-block;
  background: #0078ff;
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  margin-top: 1rem;
}

.currency-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

