/* ============================================================
   TrouvePro — index.css
   Styles spécifiques à la page d'accueil uniquement
   ============================================================ */

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 40%, rgba(255,75,31,.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(255,75,31,.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--orange-soft);
  color: var(--orange-dark);
  border: 1px solid rgba(255,75,31,.2);
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 14px;
  margin-bottom: 20px;
  animation: fadeUp .5s .1s both;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
.hero-titre {
  font-family: var(--font-titre);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  animation: fadeUp .55s .2s both;
}
.hero-titre em { font-style: normal; color: var(--orange); }
.hero-sous-titre {
  margin-top: 20px;
  font-size: 17px;
  font-weight: 300;
  color: var(--gris-mid);
  line-height: 1.65;
  max-width: 480px;
  animation: fadeUp .55s .32s both;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
  animation: fadeUp .55s .44s both;
}
.hero-garanties {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
  animation: fadeUp .5s .56s both;
}
.hero-garantie {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gris-mid);
}
.hero-garantie svg { color: var(--orange); flex-shrink: 0; }

/* Carte hero droite */
.hero-visuel {
  animation: fadeLeft .6s .3s both;
}
.hero-card {
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--ombre-lg);
}
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.hero-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF4B1F, #FF8C42);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.hero-card-meta { flex: 1; }
.hero-card-name { font-weight: 600; font-size: 15px; }
.hero-card-sub  { font-size: 12.5px; color: var(--gris-mid); margin-top: 2px; }
.hero-card-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #EAF7EE;
  color: #1A7A3A;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 50px;
}
.hero-card-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #1A7A3A;
  border-radius: 50%;
}
.search-box {
  background: var(--gris-clair);
  border-radius: var(--r-md);
  padding: 16px;
  margin-bottom: 16px;
}
.search-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--gris-mid);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.search-input-row { display: flex; gap: 8px; }
.search-input {
  flex: 1;
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  font-size: 14px;
  font-family: var(--font-corps);
  color: var(--noir);
  outline: none;
}
.search-input:focus { border-color: var(--orange); }
.search-go {
  width: 38px; height: 38px;
  background: var(--orange);
  border: none;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.search-go:hover { background: var(--orange-dark); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tag {
  font-size: 12px;
  color: var(--gris-mid);
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px 11px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.tag:hover { border-color: var(--orange); color: var(--orange); }

/* Résultats simulés */
.resultats { display: flex; flex-direction: column; gap: 10px; }
.pro-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--gris-clair);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background .15s;
}
.pro-row:hover { background: #EDEDEB; }
.pro-emoji {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--blanc);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.pro-info { flex: 1; min-width: 0; }
.pro-name  { font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pro-detail { font-size: 12px; color: var(--gris-mid); margin-top: 2px; }
.pro-note  { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; flex-shrink: 0; }
.star      { color: #F5A623; }
.chrono {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  padding: 10px;
  background: var(--orange-soft);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--orange-dark);
  font-weight: 500;
}

/* ── STATS ───────────────────────────────────────────────── */
.stats-bar {
  background: var(--gris-clair);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-titre);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}
.stat-num span { color: var(--orange); }
.stat-label { font-size: 13px; color: var(--gris-mid); margin-top: 6px; font-weight: 300; }

/* ── ÉTAPES ──────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.step {
  background: var(--blanc);
  padding: 32px 24px;
}
.step-num  { font-size: 11px; font-weight: 700; color: var(--orange); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.step-icone { font-size: 30px; margin-bottom: 14px; display: block; }
.step-titre { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.step-desc  { font-size: 13.5px; color: var(--gris-mid); line-height: 1.6; font-weight: 300; }

/* ── FONCTIONNALITÉS ─────────────────────────────────────── */
.features-bg {
  background: var(--gris-clair);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.feat {
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: box-shadow .2s, transform .2s;
}
.feat:hover { box-shadow: var(--ombre); transform: translateY(-2px); }
.feat-icone {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.feat-icone.orange { background: var(--orange-soft); }
.feat-icone.vert   { background: var(--vert-soft); }
.feat-icone.bleu   { background: var(--bleu-soft); }
.feat-titre { font-weight: 600; font-size: 15px; margin-bottom: 7px; }
.feat-desc  { font-size: 13.5px; color: var(--gris-mid); line-height: 1.6; font-weight: 300; }

/* ── POUR LES PROS ───────────────────────────────────────── */
.pros-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.plans-liste { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.plan {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color .18s, background .18s;
  position: relative;
}
.plan:hover, .plan.actif {
  border-color: var(--orange);
  background: var(--orange-soft);
}
.plan-emoji { font-size: 26px; flex-shrink: 0; width: 48px; text-align: center; }
.plan-info  { flex: 1; }
.plan-nom   { font-weight: 600; font-size: 15px; }
.plan-desc  { font-size: 13px; color: var(--gris-mid); margin-top: 3px; font-weight: 300; }
.plan-prix  { font-family: var(--font-titre); font-weight: 800; font-size: 20px; color: var(--orange); flex-shrink: 0; }
.plan-prix small { font-family: var(--font-corps); font-size: 12px; font-weight: 400; color: var(--gris-mid); }
.plan-pop {
  position: absolute;
  top: -10px; right: 16px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}

/* Dashboard simulé */
.pros-visuel {
  background: var(--noir);
  border-radius: var(--r-xl);
  padding: 32px;
  color: #fff;
}
.pros-visuel-titre {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
}
.dashboard-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.dashboard-row:last-child { border-bottom: none; }
.dash-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.dash-label { flex: 1; font-size: 13.5px; color: rgba(255,255,255,.6); font-weight: 300; }
.dash-val   { font-family: var(--font-titre); font-weight: 700; font-size: 18px; }
.dash-val.orange { color: var(--orange); }
.dash-val.vert   { color: #4ADE80; }

/* ── TÉMOIGNAGES ─────────────────────────────────────────── */
.temoignages-bg {
  background: var(--gris-clair);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.temoignage {
  background: var(--blanc);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
}
.temo-etoiles { color: #F5A623; font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.temo-texte   { font-size: 14.5px; color: var(--gris-mid); line-height: 1.65; font-weight: 300; font-style: italic; margin-bottom: 18px; }
.temo-auteur  { display: flex; align-items: center; gap: 10px; }
.temo-avatar  { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: #fff; flex-shrink: 0; }
.bg-orange { background: var(--orange); }
.bg-vert   { background: var(--vert); }
.bg-bleu   { background: var(--bleu); }
.temo-nom  { font-size: 13.5px; font-weight: 500; }
.temo-ville { font-size: 12px; color: var(--gris-mid); }

/* ── CTA FINAL ───────────────────────────────────────────── */
.cta-final { padding: 100px 0; text-align: center; }
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner       { grid-template-columns: 1fr; gap: 40px; }
  .hero-visuel      { display: none; }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item        { border-right: none; }
  .steps-grid       { grid-template-columns: 1fr 1fr; }
  .features-grid    { grid-template-columns: 1fr 1fr; }
  .temoignages-grid { grid-template-columns: 1fr; }
  .pros-inner       { grid-template-columns: 1fr; }
  .pros-visuel      { display: none; }
}
@media (max-width: 600px) {
  .hero             { padding: 56px 0 48px; }
  .steps-grid       { grid-template-columns: 1fr; }
  .features-grid    { grid-template-columns: 1fr; }
  .stats-grid       { grid-template-columns: 1fr; }
  .stat-item        { border-bottom: 1px solid var(--border); padding-bottom: 20px; }
  .stat-item:last-child { border-bottom: none; }
}
