*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg:             #f4f8ee;
  --bg-header:      #1e3510;
  --accent:         #7bb92b;
  --accent-rgb:     123, 185, 43;
  --accent-vif:     #bacf12;
  --accent-fonce:   #396128;
  --accent-fonce-rgb: 57, 97, 40;
  --text:           #1a2e0d;
  --text-muted:     #4e6b38;
  --text-on-dark:   #cce0b0;
  --muted-on-dark:  #aacb87;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header */
header {
  background: var(--bg-header);
  padding: 0.875rem 1.5rem;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.site-header__nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-shrink: 0;
}

.site-header__nav a {
  color: var(--muted-on-dark);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.875rem 0;
  transition: color 0.2s;
}

.site-header__nav a:hover {
  color: var(--text-on-dark);
}

.site-header__name {
  display: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-vif);
  letter-spacing: -0.2px;
}

@media (min-width: 480px) {
  .site-header__name {
    display: block;
  }
}

/* FAQ container */
.faq-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 6rem;
}

/* Section — Pourquoi nous rejoindre */
.section-pourquoi {
  padding: 3.5rem 1.5rem 4rem;
  border-bottom: 1px solid rgba(var(--accent-fonce-rgb), 0.1);
}

.section-pourquoi__inner {
  max-width: 960px;
  margin: 0 auto;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.feature-card {
  flex: 1 1 260px;
  max-width: 380px;
  background: white;
  border: 1.5px solid rgba(var(--accent-fonce-rgb), 0.15);
  border-radius: 14px;
  padding: 1.5rem;
}

.feature-card--price {
  background: var(--bg-header);
  border-color: transparent;
  max-width: 380px;
}

.feature-card__icon {
  font-size: 1.1em;
  margin-right: 0.375rem;
}

.feature-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-fonce);
  margin-bottom: 0.5rem;
}

.feature-card--price .feature-card__title {
  color: var(--accent-vif);
}

.feature-card__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.feature-card--price .feature-card__text {
  color: var(--text-on-dark);
}

.section-faq-link {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.section-faq-link a {
  display: inline-block;
  padding: 0.75rem 0;
  color: var(--accent-fonce);
  text-underline-offset: 2px;
}

.section-faq-link a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  background: var(--bg-header);
  padding: 3rem 1.5rem 3.5rem;
  text-align: center;
}

.hero__inner {
  max-width: 640px;
  margin: 0 auto;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--accent-vif);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-on-dark);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.hero__reassurance {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-on-dark);
}

/* CTA Button */
.btn-cta {
  display: inline-block;
  background: var(--accent-vif);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.15s;
}

.btn-cta:hover {
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.4);
  transform: translateY(-2px);
}

.btn-cta--light {
  background: var(--bg);
  color: var(--accent-fonce);
}

.btn-cta--light:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Section headings (v2) */
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--accent-fonce);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  text-align: center;
}

/* Section — Comment ça marche */
.section-etapes {
  border-bottom: 1px solid rgba(var(--accent-fonce-rgb), 0.1);
}

.section-etapes__inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}

.step-list {
  list-style: none;
  margin-top: 1.5rem;
}

.step {
  display: flex;
  gap: 1.25rem;
  position: relative;
}

.step:not(:last-child) {
  padding-bottom: 2rem;
}

.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: rgba(var(--accent-fonce-rgb), 0.2);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-vif);
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content {
  padding-top: 0.375rem;
}

.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-fonce);
  margin-bottom: 0.375rem;
}

.step-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

@media (min-width: 960px) {
  .section-etapes__inner {
    max-width: 960px;
  }

  .step-list {
    display: flex;
    gap: 2rem;
  }

  .step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .step:not(:last-child) {
    padding-bottom: 0;
  }

  .step:not(:last-child)::before {
    inset: 21px calc(22px - 50% - 2rem) auto calc(50% + 22px);
    width: auto;
    height: 2px;
  }

  .step-content {
    padding-top: 0.75rem;
  }
}

/* Section — Ce que c'est */
.section-description {
  border-bottom: 1px solid rgba(var(--accent-fonce-rgb), 0.1);
}

.section-description__inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section-description p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.section-description p:first-child {
  font-size: 1.125rem;
}

.section-description p + p {
  margin-top: 0.875rem;
}

.section-mini-faq {
  border-bottom: 1px solid rgba(var(--accent-fonce-rgb), 0.1);
}

.section-mini-faq__inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}

/* Main content */
main {
  animation: fade-up 0.5s 0.1s ease both;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-fonce);
  margin: 2.5rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(var(--accent-fonce-rgb), 0.2);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.tag {
  background: rgba(var(--accent-rgb), 0.2);
  color: var(--accent-vif);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
}

/* Social buttons */
.social-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.2rem;
  min-height: 44px;
  border-radius: 99px;
  border: 1.5px solid rgba(var(--accent-rgb), 0.5);
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent-vif);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
}

.social-btn:hover {
  background: rgba(var(--accent-rgb), 0.25);
  border-color: var(--accent);
}

/* Link cards */
.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: white;
  border: 1.5px solid rgba(var(--accent-fonce-rgb), 0.15);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  margin-bottom: 0.75rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.link-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(var(--accent-rgb), 0.15);
  transform: translateY(-1px);
}

.link-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.link-icon.helloasso { background: #f0ffe8; }
.link-icon.linktree  { background: #e8fff0; }
.link-icon.instagram { background: #fff0f8; }
.link-icon.facebook  { background: #eef4ff; }
.link-icon.mail      { background: #fff8e8; }
.link-icon.faq       { background: #f0f4ff; }

.link-label {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
}

.link-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.link-arrow {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Section — S'inscrire */
.section-inscrire {
  background: var(--bg-header);
  padding: 4rem 1.5rem;
  text-align: center;
}

.section-inscrire .section-heading {
  color: var(--accent-vif);
}

/* Section — Adhésion */
.section-adhesion {
  background: white;
  padding: 4rem 1.5rem;
  text-align: center;
}

/* CTA blocks partagés */
.cta-block__inner {
  max-width: 800px;
  margin: 0 auto;
}

.cta-description {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.section-inscrire .cta-description {
  color: var(--text-on-dark);
}

.section-adhesion .cta-description {
  color: var(--text-muted);
}

.section-adhesion .cta-description strong {
  color: var(--text);
  font-weight: 500;
}

.cta-block__inner .btn-cta {
  margin-top: 0.5rem;
}

/* Footer */
footer {
  background: var(--bg-header);
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.footer__inner {
  max-width: 680px;
  margin: 0 auto;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.25rem 0;
}

.footer__links a {
  color: var(--muted-on-dark);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.875rem 0;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--text-on-dark);
}

.footer__copyright {
  font-size: 0.82rem;
  color: var(--muted-on-dark);
  margin-top: 1rem;
}

.footer__contact {
  font-size: 0.9rem;
  color: var(--muted-on-dark);
  margin: 0.25rem 0 1rem;
}

.footer__contact a {
  color: var(--text-on-dark);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Back link */
.back-link {
  display: inline-block;
  color: var(--muted-on-dark);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--text-on-dark);
}

/* FAQ */
.faq-item {
  background: white;
  border: 1.5px solid rgba(var(--accent-fonce-rgb), 0.15);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item[open] {
  border-color: rgba(var(--accent-rgb), 0.5);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0.75rem 1.25rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
  border-top: 1px solid rgba(var(--accent-fonce-rgb), 0.1);
}

.faq-answer p + p {
  margin-top: 0.75rem;
}

.faq-answer ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.faq-answer li {
  margin-bottom: 0.25rem;
}

.faq-answer a {
  color: var(--accent-fonce);
  text-underline-offset: 2px;
}

.faq-answer a:hover {
  color: var(--accent);
}

.faq-answer strong {
  color: var(--text);
  font-weight: 500;
}

/* Animations */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}