/* ============================================================
   AKADEMI IA — HOME.CSS
   Styles de la page d'accueil générale (index.html)
   Dépend de base.css
   ============================================================ */

/* ── HEADER FIXE ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-200);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 7px;
}
.header-logo-dot { color: var(--green); }

.header-logo-badge {
  background: var(--green);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.header-cta {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 9px 18px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.header-cta:hover { background: var(--grey-800); opacity: 1; }

/* ── HERO ── */
.hero {
  background: var(--white);
  padding: 36px 22px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(0,184,122,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
  border: 1px solid var(--green-mid);
}

.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
  color: var(--black);
}

.hero-title-accent { color: var(--green); }

.hero-title-hl {
  position: relative;
  display: inline-block;
}
.hero-title-hl::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}

.hero-sub {
  font-size: 15px;
  color: var(--grey-600);
  line-height: 1.7;
  margin-bottom: 26px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

/* Stats bar */
.stats-bar {
  display: flex;
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: var(--shadow-xs);
}

.stat-item {
  flex: 1;
  padding: 13px 8px;
  text-align: center;
  border-right: 1px solid var(--grey-200);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: var(--black);
  display: block;
  line-height: 1;
  margin-bottom: 3px;
}

.stat-label { font-size: 10px; color: var(--grey-400); font-weight: 500; }

/* Hero CTAs */
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── SECTION MÉTIERS ── */
.metiers-section { padding: 34px 0 0; }

.section-header { padding: 0 22px 22px; }

.section-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin-bottom: 6px;
  color: var(--black);
}

.section-sub {
  font-size: 14px;
  color: var(--grey-400);
  line-height: 1.6;
}

/* Cards métiers V1 */
.metiers-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.metier-card {
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 17px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--black);
}

/* Barre gauche animée au hover */
.metier-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--green);
  border-radius: 4px 0 0 4px;
  transform: scaleY(0);
  transition: transform 0.25s ease;
  transform-origin: center;
}

.metier-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
}
.metier-card:hover::before { transform: scaleY(1); }

.metier-card-emoji {
  width: 52px; height: 52px;
  background: var(--grey-50);
  border: 1.5px solid var(--grey-200);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.metier-card:hover .metier-card-emoji {
  background: var(--green-light);
  border-color: var(--green-mid);
}

.metier-card-body { flex: 1; min-width: 0; }

.metier-card-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--black);
}

.metier-card-desc { font-size: 12px; color: var(--grey-400); line-height: 1.4; }

.metier-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}

.metier-card-price {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--black);
}

.metier-card-arrow {
  font-size: 20px;
  color: var(--grey-200);
  transition: all 0.2s ease;
}
.metier-card:hover .metier-card-arrow {
  color: var(--green);
  transform: translateX(3px);
}

/* Bouton Voir plus */
.voir-plus-wrap { padding: 12px 16px 0; }

.voir-plus-btn {
  width: 100%;
  padding: 14px 18px;
  background: var(--grey-50);
  border: 1.5px dashed var(--grey-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-600);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.voir-plus-btn:hover {
  background: var(--green-light);
  border-color: var(--green-mid);
  color: var(--green-dark);
}

.voir-plus-chevron {
  font-size: 16px;
  transition: transform 0.3s ease;
  display: inline-block;
}
.voir-plus-btn.open .voir-plus-chevron { transform: rotate(180deg); }

/* Panneau "Prochainement" */
.soon-panel {
  display: none;
  padding: 11px 16px 0;
  animation: fadeInFast 0.3s ease;
}
.soon-panel.open { display: block; }

.soon-panel-header {
  padding: 13px 15px 11px;
  background: var(--grey-50);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border: 1.5px solid var(--grey-200);
  border-bottom: none;
}

.soon-panel-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.soon-panel-sub { font-size: 12px; color: var(--grey-400); }

.soon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1.5px solid var(--grey-200);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  overflow: hidden;
}

.soon-card {
  background: var(--white);
  padding: 12px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-right: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  opacity: 0.65;
  transition: opacity var(--transition);
  cursor: default;
}
.soon-card:hover { opacity: 1; }
.soon-card:nth-child(even) { border-right: none; }
.soon-card:nth-last-child(-n+2) { border-bottom: none; }
/* Cas d'un nombre impair : dernière card sur toute la largeur */
.soon-card:nth-last-child(1):nth-child(odd) {
  border-right: none;
  border-bottom: none;
  grid-column: span 2;
}

.soon-card-icon {
  font-size: 18px;
  width: 34px; height: 34px;
  background: var(--grey-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.soon-card-name { font-size: 12px; font-weight: 700; margin-bottom: 3px; line-height: 1.3; }

.soon-notify {
  margin-top: 11px;
  background: var(--green-light);
  border: 1.5px solid var(--green-mid);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.soon-notify-icon { font-size: 22px; flex-shrink: 0; }

.soon-notify-text { flex: 1; font-size: 13px; color: var(--grey-700); line-height: 1.5; }
.soon-notify-text strong { color: var(--black); }

.soon-notify-btn {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 8px 13px;
  border-radius: var(--radius-xs);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition);
}
.soon-notify-btn:hover { background: var(--green-dark); }

/* ── BANDE NOIRE ── */
.banner {
  margin-top: 32px;
  background: var(--black);
  padding: 32px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(0,184,122,0.22), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.banner-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.banner-title-accent { color: var(--green); }

.banner-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.banner-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.banner-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.78);
  padding: 6px 13px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

/* ── COMMENT ÇA MARCHE ── */
.how-section {
  background: var(--off-white);
  padding: 34px 22px;
}

.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 26px;
  position: relative;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 21px; top: 28px; bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--green), var(--green-mid), transparent);
}

.step {
  display: flex;
  gap: 18px;
  padding-bottom: 26px;
  position: relative;
}
.step:last-child { padding-bottom: 0; }

.step-num-wrap {
  width: 44px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.step-num {
  width: 44px; height: 44px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,184,122,0.28);
  position: relative;
  z-index: 1;
}

.step-content {
  flex: 1;
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 15px 17px;
  box-shadow: var(--shadow-xs);
  margin-top: 0;
}

.step-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.step-desc  { font-size: 13px; color: var(--grey-600); line-height: 1.6; }

.step-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  background: var(--grey-50);
  border-radius: var(--radius-xs);
  padding: 8px 11px;
  font-size: 12px;
  color: var(--grey-400);
}
.step-tag-icon { font-size: 15px; }

/* ── TÉMOIGNAGES ── */
.testimonials-section { background: var(--white); padding: 34px 0; }
.testimonials-section .section-header { padding: 0 22px 20px; }

.testimonials-scroll {
  display: flex;
  gap: 11px;
  padding: 0 22px 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.testimonials-scroll::-webkit-scrollbar { display: none; }

.testi-card {
  background: var(--white);
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 17px;
  min-width: 258px;
  max-width: 278px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testi-card::before {
  content: '"';
  position: absolute;
  top: 10px; right: 14px;
  font-size: 54px;
  color: var(--grey-100);
  font-family: Georgia, serif;
  line-height: 1;
}

.testi-stars { display: flex; gap: 2px; margin-bottom: 9px; }
.testi-star  { color: var(--gold); font-size: 13px; }

.testi-text {
  font-size: 13px;
  color: var(--grey-700);
  line-height: 1.65;
  margin-bottom: 13px;
  position: relative;
  z-index: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 11px;
  border-top: 1px solid var(--grey-100);
}

.testi-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.testi-name { font-size: 13px; font-weight: 700; margin-bottom: 1px; }
.testi-role { font-size: 11px; color: var(--grey-400); }

/* ── GARANTIE ── */
.guarantee-bar {
  background: var(--off-white);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}

.guarantee-icon { font-size: 28px; flex-shrink: 0; }

.guarantee-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}

.guarantee-text { font-size: 13px; color: var(--grey-600); line-height: 1.6; }

/* ── CTA FINAL ── */
.final-cta {
  background: var(--white);
  padding: 34px 22px 44px;
  text-align: center;
}

.final-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-bottom: 20px;
}

.final-price {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--black);
  white-space: nowrap;
}

.final-price-meta { text-align: left; }
.final-price-sub  { font-size: 12px; color: var(--grey-400); }

/* ── FOOTER ── */
.site-footer {
  background: var(--black);
  padding: 26px 22px 40px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 5px;
}
.footer-logo-dot { color: var(--green); }

.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.38); margin-bottom: 18px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-link {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--white); opacity: 1; }

.footer-divider { height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 14px; }

.footer-copy { font-size: 11px; color: rgba(255,255,255,0.22); }

/* ── Bouton i flottant ── */
.intro-replay-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(10,22,40,0.25);
  background: rgba(255,255,255,0.92);
  color: #0a1628;
  font-size: 16px;
  font-style: italic;
  font-weight: 700;
  font-family: Georgia, serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  transition: all 0.2s;
}
.intro-replay-btn:hover {
  background: #0a1628;
  color: #7fffb4;
  border-color: #0a1628;
}

/* ── Footer réseaux sociaux ── */
.footer-social {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-social-icon {
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.footer-social-icon:hover { color: var(--green); }

/* ── Logo header : même espacement que footer ── */
.header-logo { gap: 0; letter-spacing: -0.5px; }

