/* ===================================
   home.css — Page d'accueil styles
   =================================== */

/* ── HERO ── */
.hero {
  padding: 72px 0 36px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -200px; right: -150px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(59,91,219,.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,91,219,.08);
  border: 1px solid rgba(59,91,219,.2);
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .13em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
  text-transform: uppercase;
  animation: fadeInUp .55s .2s ease both;
}
.badge-dot {
  width: 6px; height: 6px;
  background: currentColor;
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { opacity:1; transform:scale(1) }
  50% { opacity:.5; transform:scale(1.4) }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.06;
  color: var(--text);
  letter-spacing: -.025em;
  margin-bottom: 22px;
  animation: fadeInUp .55s ease both;
}
.hero-headline .accent {
  color: var(--blue);
  display: block;
}
.hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 22px;
  animation: fadeInUp .55s .1s ease both;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp .55s .28s ease both;
}

/* Profile card */
.profile-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-lg);
  animation: fadeInRight .6s .15s ease both;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-card);
  margin-bottom: 20px;
}
.profile-avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.profile-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 3px;
}
.profile-title {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 18px;
  background: var(--border-card);
  border-radius: 10px;
  overflow: hidden;
}
.stat-cell {
  background: var(--bg-white);
  padding: 15px 16px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-num small { font-size: 16px }
.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}
.certs {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cert-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text);
  font-weight: 500;
}
.cert-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cert-blue  { background: var(--blue-bg);   color: var(--blue) }
.cert-orange{ background: var(--orange-bg); color: var(--orange) }
.cert-green { background: var(--green-bg);  color: var(--green) }

/* ── TRUST BAR ── */
.trust-bar {
  padding: 12px 0 56px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.trust-label {
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border: 1.5px solid var(--border-card);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-white);
  cursor: default;
  transition: border-color .2s, color .2s, transform .18s, background .2s;
}
.trust-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-bg);
  transform: translateY(-1px);
}

/* ── EXPERTISES ── */
.expertises { padding: 90px 0; background: var(--bg) }
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.expertise-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  cursor: default;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.expertise-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity .25s;
  border-radius: 0 0 var(--radius) var(--radius);
}
.card-blue::after  { background: linear-gradient(90deg, #3b5bdb, #748ffc) }
.card-green::after { background: linear-gradient(90deg, #2f9e44, #69db7c) }
.card-orange::after{ background: linear-gradient(90deg, #d9480f, #ff922b) }
.expertise-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent }
.expertise-card:hover::after { opacity: 1 }

.expertise-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.icon-blue   { background: var(--blue-bg);   color: var(--blue) }
.icon-green  { background: var(--green-bg);  color: var(--green) }
.icon-orange { background: var(--orange-bg); color: var(--orange) }

.expertise-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}
.expertise-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

/* ── STATS DARK ── */
.stats-dark {
  padding: 90px 0;
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(59,91,219,.07) 0%, transparent 60%);
  pointer-events: none;
}
.stats-dark .section-head { position: relative; margin-bottom: 52px }
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
}
.result-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: border-color .25s, transform .25s;
}
.result-card:hover { border-color: rgba(59,91,219,.35); transform: translateY(-2px) }
.result-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.result-num span { font-size: 24px }
.result-desc {
  font-size: 13px;
  color: #5a5a6a;
  line-height: 1.6;
}

/* ── APPROACH ── */
.approach { padding: 90px 0; background: var(--bg) }
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: start;
  margin-top: 52px;
}
.approach-steps { display: flex; flex-direction: column }
.approach-step {
  display: flex;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.approach-step:first-child { padding-top: 0 }
.approach-step:last-child  { border-bottom: none; padding-bottom: 0 }
.step-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-bg);
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: .03em;
}
.step-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.quote-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: sticky;
  top: 88px;
}
.quote-open {
  font-family: Georgia, serif;
  font-size: 52px;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 8px;
}
.quote-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 28px;
}
.quote-text strong { font-style: normal; font-weight: 700 }
.quote-author { display: flex; align-items: center; gap: 12px }
.quote-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.quote-name  { font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 2px }
.quote-role  { font-size: 12px; color: var(--text-muted) }

/* ── CTA FULL WIDTH ── */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #e8ecfd 0%, #eef2ff 50%, #e0f2fe 100%);
  border-top: 1px solid rgba(59, 91, 219, 0.15);
  margin: 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 91, 219, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.cta-desc {
  font-size: 16px;
  color: #4b5563;
  max-width: 560px;
  line-height: 1.7;
}
.cta-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 10px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: background .2s, transform .18s, box-shadow .2s;
}
.btn-cta:hover {
  background: #1a1a2e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.cta-secondary {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s;
}
.cta-secondary:hover { color: var(--blue) }

/* ── RESPONSIVE home ── */
@media (max-width: 1040px) {
  .hero .container { grid-template-columns: 1fr; max-width: 580px }
  .expertise-grid  { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto }
  .results-grid    { grid-template-columns: 1fr 1fr }
  .approach-grid   { grid-template-columns: 1fr }
  .quote-card      { position: static }
}
@media (max-width: 768px) {
  .hero { padding: 52px 0 60px }
  .cta-section { padding: 60px 0 }
  .cta-box { flex-direction: column; padding: 0; text-align: center; gap: 32px }
  .cta-right { flex-direction: column; align-items: stretch; width: 100% }
  .btn-cta { justify-content: center; width: 100% }
}
@media (max-width: 480px) {
  .results-grid { grid-template-columns: 1fr }
}
