/* ─── HERO ───────────────────────────────────────────── */
.hero {
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
}
@media (min-width: 769px) {
  .hero {
    min-height: 90svh;
  }
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 85%;
}

@media (max-width: 768px) {
  .hero {
    background: var(--warm-gray);
    min-height: 55svh;

    padding-bottom: 0;
  }

  .hero-bg {
    object-position: 8% 80%;
    height: 100%;
  }
  .strip {
    display: none;
  }

  .hero-overlay {
    height: 100%;
    z-index: 1;
    background: linear-gradient(
      to bottom,
      rgba(15, 8, 4, 0.65) 0%,
      rgba(15, 8, 4, 0.45) 100%
    );
  }

  .hero-inner {
    padding-bottom: 1rem;
  }

  /* Textes sur l'image en blanc */
  .hero h1 {
    color: var(--white);
  }

  .hero-eyebrow {
    color: rgba(255, 255, 255, 0.8);
  }

  /* 4. MODIFICATION : On s'assure que ce paragraphe est bien blanc puisqu'il est désormais sur la photo */
  .hero-sub {
    color: white;
  }

  .btn-primary {
    margin-bottom: 1rem;
    font-size: 0.8rem;
    padding: 0.65rem 1.25rem;
  }
  /* Bouton "Comment ça marche" en noir sur le fond clair */
  .hero-actions .btn-ghost-white {
    color: var(--white);
    border-color: var(--white);
    font-size: 0.8rem;
    padding: 0.65rem 1.25rem;
  }

  /* Espace sous le bandeau violet réduit */
  .hero-stats {
    background: rgba(242, 154, 62, 0.1);
    border-color: rgba(242, 154, 62, 0.3);
    backdrop-filter: none;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
  }

  .hero-stat strong {
    color: var(--text);
  }
  .hero-stat span {
    color: var(--text-mid);
  }
  .hero-sep {
    background: var(--border);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(15, 8, 4, 0.5) 0%,
    rgba(15, 8, 4, 0.38) 60%,
    rgba(15, 8, 4, 0.28) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-inline: auto;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}
/* Lora (serif classique) sur le h1 du hero */
.hero h1 {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
/* "audacieux" en orange */
.hero h1 em {
  color: var(--violet);
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.4);
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  font-family: var(--font-ui);
  font-weight: 400;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
/* Stats — glassmorphism, chiffres plus contrastés */
.hero-stats {
  display: flex;
  align-items: center;
  margin-top: 3.5rem;
  background: rgba(177, 57, 212, 0.35);
  border: 1px solid rgba(177, 57, 212, 0.5);
  border-radius: var(--r);
  padding: 1.25rem 2rem;
  backdrop-filter: blur(12px);
  justify-content: center;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
  padding: 0 2rem;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.hero-stat span {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-sep {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

/* Bouton "Découvrir l'AIT" dans l'étape 03 */
.btn-step-ait {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--violet);
  border: 1.5px solid var(--violet-20);
  background: var(--violet-10);
  border-radius: 50px;
  padding: 0.45rem 1rem;
  margin-top: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-step-ait:hover {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--white);
  transform: translateX(3px);
}

/* ─── STRIP ──────────────────────────────────────────── */
.strip {
  background: transparent;
  padding: 1rem 0 0.25rem;
  overflow: visible;
}
.strip-inner {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  justify-content: center;
}
.strip-inner > span:not(:nth-child(even)) {
  background: linear-gradient(135deg, var(--orange), #ffb15c);
  color: var(--white);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  box-shadow: 0 8px 18px rgba(242, 154, 62, 0.16);
  letter-spacing: 0.02em;
  font-size: 0.75rem;
  white-space: nowrap;
}
.strip-inner > span:nth-child(even) {
  display: none;
}

/* ─── QUI SUIS-JE ────────────────────────────────────── */
.section-qui {
  padding-block: var(--gap);
  background: var(--white);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.two-col-img {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 20px 60px rgba(242, 154, 62, 0.15);
}
.two-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.two-col .label {
  display: block;
  margin-bottom: 0.5rem;
}

/* ─── POUR QUI ───────────────────────────────────────── */
.section-pq {
  padding-block: var(--gap);
  background: var(--warm-gray);
}
.pq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.pq-card {
  background: var(--white);
  border-radius: var(--r);
  padding: 2rem 1.75rem;
  border: 2px solid transparent;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pq-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 32px rgba(242, 154, 62, 0.15);
  transform: translateY(-4px);
}
.pq-card .badge {
  margin-bottom: 0.25rem;
}
.pq-card h3 {
  font-size: 1rem;
  margin: 0;
}
.pq-card p {
  font-size: 0.9rem;
  margin: 0;
}
.pq-cta {
  text-align: center;
}
.pq-cta .btn-ghost {
  background: var(--white);
  border-color: var(--orange);
  color: var(--orange);
  font-weight: 700;
}
.pq-cta .btn-ghost:hover {
  background: var(--orange);
  color: var(--white);
}

/* ─── ÉTAPES ─────────────────────────────────────────── */
.section-steps {
  padding-block: var(--gap);
  background: var(--cream);
}
.steps-header {
  margin-bottom: 2.5rem;
}
.steps-header .label {
  display: block;
  margin-bottom: 0.5rem;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 100%;
}
.steps-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: start;
}
.steps-photo {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.steps-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--r);
  display: block;
  object-fit: cover;
  max-height: 560px;
}
@media (max-width: 900px) {
  .steps-layout {
    grid-template-columns: 1fr;
  }
  .steps-photo {
    position: static;
    max-width: 480px;
    margin-inline: auto;
  }
}
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child {
  border-bottom: none;
}
.step-num {
  font-family: var(--font-ui);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  background: linear-gradient(135deg, var(--orange), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
}
.step-title {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.step-text {
  font-size: 0.92rem;
  margin: 0;
}

/* ─── ACCOMPAGNEMENTS ────────────────────────────────── */
.section-accompagnements {
  background: var(--warm-gray);
  border-top: 1px solid var(--border);
}
.acc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.acc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.acc-card--featured {
  background: linear-gradient(
    145deg,
    var(--orange) 0%,
    #c4621f 50%,
    var(--violet) 100%
  );
  border-color: transparent;
}
.acc-card--featured h3 {
  color: var(--white);
}
.acc-card--featured p {
  color: rgba(255, 255, 255, 0.88);
}
.acc-card--free {
  border-color: var(--violet-20);
  background: linear-gradient(135deg, var(--violet-10), var(--cream));
}
.acc-card__badge {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.28rem 0.82rem;
  border-radius: 50px;
  background: var(--violet-20);
  color: var(--violet);
  border: 1px solid var(--violet-20);
}
.acc-card h3 {
  font-size: 1.1rem;
}
.acc-card__tag {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.acc-card--featured .acc-card__tag {
  color: rgba(255, 255, 255, 0.7);
}
/* Liste sans icônes */
.acc-card__list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}
.acc-card--featured .acc-card__list {
  border-top-color: rgba(255, 255, 255, 0.2);
}
.acc-card__list li {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 600;
}
.acc-card--featured .acc-card__list li {
  color: rgba(255, 255, 255, 0.9);
}
/* Bouton pleine largeur, centré */
.acc-card .btn {
  align-self: stretch;
  justify-content: center;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  margin-top: auto;
}

/* ─── TÉMOIGNAGES ────────────────────────────────────── */
.section-temoignages {
  background: var(--white);
  border-top: 1px solid var(--border);
}
.temo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.temo-card {
  border-radius: var(--r);
  padding: 2rem;
  min-height: 220px;
}
.temo-placeholder {
  background: var(--warm-gray);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.temo-placeholder__inner {
  text-align: center;
  color: var(--text-light);
  font-family: var(--font-ui);
  font-size: 0.85rem;
}
.temo-placeholder__inner span {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--orange);
  opacity: 0.3;
}
.temo-real {
  background: var(--cream);
  border: 1px solid var(--border);
  position: relative;
}
.temo-real::before {
  content: "\201C";
  font-family: var(--font-body);
  font-size: 5rem;
  color: var(--orange);
  opacity: 0.12;
  position: absolute;
  top: 0.5rem;
  left: 1.2rem;
  line-height: 1;
}
.temo-real p {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.temo-real cite {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  font-style: normal;
}

/* ─── RESPONSIVE HOME ────────────────────────────────── */
@media (max-width: 900px) {
  .acc-grid,
  .temo-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}
@media (max-width: 860px) {
  .hero-stats {
    gap: 0;
    padding: 1rem;
  }
  .hero-stat {
    padding: 0 1.2rem;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .two-col-img {
    aspect-ratio: 3/2;
    max-height: 350px;
    order: 2;
  }
  .pq-grid {
    grid-template-columns: 1fr;
  }
  .section-head .label,
  h2 {
    text-align: left;
  }
  .section-qui {
    padding-top: 50px;
    background: var(--white);
  }
}
@media (max-width: 600px) {
  .hero-stats {
    flex-direction: column;
    gap: 0.5rem;
    display: none;
  }

  .hero-sub {
    display: none;
  }

  .hero-sep {
    width: 60px;
    height: 1px;
  }
  .hero-inner {
    padding-bottom: 1.5rem;
    padding-top: 1.5rem;
  }
  .strip {
    padding: 0.75rem 0 0.15rem;
  }
  .strip .container {
    padding-inline: 0.75rem;
  }
  .strip-inner {
    gap: 0.5rem;
  }

  .strip-inner > span:not(:nth-child(even)) {
    padding: 0.5rem 0.75rem;
    font-size: 0.72rem;
  }
}
