/* Base reset and global styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #1c2a44;
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Header styles */
.site-header {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: #0066ff;
}

.site-nav a {
  margin-left: 1rem;
  font-size: 0.95rem;
  color: #1c2a44;
}

.site-nav a:hover {
  text-decoration: underline;
}

/* Hero section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  background-color: #f5f7fb;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* Centre le contenu du héros maintenant qu’il n’y a plus d’image */
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 1rem;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  border-radius: 4px;
  background-color: #0066ff;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  text-align: center;
}

.btn:hover {
  background-color: #004dc4;
}

/* Benefits section */
.benefits {
  padding: 3rem 0;
}

.benefits h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.benefit-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.benefit-item {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.benefit-item .icon {
  font-size: 2rem;
  color: #0066ff;
  margin-bottom: 0.5rem;
}

.benefit-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.benefit-item p {
  font-size: 0.95rem;
}

/* Testimonials section */
.testimonials {
  background-color: #f5f7fb;
  padding: 3rem 0;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.testimonial-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-item {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  flex: 1;
}

.testimonial-item p {
  font-style: italic;
  margin-bottom: 0.5rem;
}

.testimonial-item .name {
  font-weight: bold;
  color: #1c2a44;
}

.reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.reassurance-item {
  background-color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* Articles list page */
.articles-list {
  padding: 3rem 0;
}

.articles-list h1 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
}

.articles-list p {
  text-align: center;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.article-item {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.article-item h2 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.article-item p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #1c2a44;
}

.small-cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  border-radius: 4px;
  background-color: #0066ff;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.small-cta:hover {
  background-color: #004dc4;
}

@media (min-width: 768px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .article-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Eligibility form */
.eligibility {
  padding: 3rem 0;
}

.eligibility h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.eligibility p {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.multi-step-form {
  max-width: 600px;
  margin: 0 auto;
}

/* Progression du formulaire */
.progress-container {
  width: 100%;
  height: 6px;
  background-color: #e0e7ff;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-bar {
  height: 100%;
  background-color: #0066ff;
  width: 50%;
  transition: width 0.3s ease;
}

.form-step {
  width: 100%;
}

.form-step h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.form-group input,
.form-group select {
  padding: 0.6rem;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 1rem;
}

.next-step,
.submit-btn {
  margin-top: 1rem;
  width: 100%;
  cursor: pointer;
}

/* Sticky CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  padding: 0.8rem;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.sticky-btn {
  display: block;
  width: 100%;
}

/* Footer */
.site-footer {
  background-color: #1c2a44;
  color: #ffffff;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Rendez‑vous / thank‑you page styling */
.thanks {
  padding: 3rem 0;
  text-align: center;
}

.thanks h1 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.thanks p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.calendly-container iframe {
  border-radius: 8px;
}

/* Media queries */
@media (min-width: 768px) {
  /* Sur grand écran, le contenu du héros reste en colonne car l’image a été supprimée */
  .hero-content {
    flex-direction: column;
    align-items: center;
  }
  .hero-text {
    width: 100%;
    text-align: center;
  }
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-list {
    flex-direction: row;
  }
  .testimonial-item {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .benefit-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Show sticky CTA only on small screens */
@media (max-width: 767px) {
  .sticky-cta {
    display: block;
  }
  .site-nav {
    display: none;
  }
}