/* ==========================================================
   ecomstrike — Accueil
   Complète style.css (à charger après)
   ========================================================== */

.home {
  align-items: stretch;
  text-align: left;
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px 96px;
}

.home > section + section { margin-top: 120px; }

.home h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.1;
}

/* ---------- Hero ---------- */
.hero-home {
  position: relative;
  text-align: center;
  padding: 96px 0 20px;
}

.hero-home h1 {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  font-size: clamp(42px, 7.4vw, 82px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.02;
  background: linear-gradient(180deg, #fff 32%, rgba(255,255,255,.58));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-home .kicker,
.hero-home .lead,
.hero-home .hero-cta,
.hero-home .proof { position: relative; z-index: 1; }

.hero-home .lead { max-width: 54ch; margin: 22px auto 0; }

.proof {
  margin: 46px auto 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 13px;
  color: var(--grey-dark);
}
.proof li { display: flex; align-items: center; gap: 9px; }
.proof li::before {
  content: "";
  width: 9px; height: 5px;
  border-left: 1.4px solid var(--white);
  border-bottom: 1.4px solid var(--white);
  transform: rotate(-45deg) translateY(-2px);
}

/* Cartes flottantes */
.deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .7; }

.float {
  position: absolute;
  width: 150px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.14);
  opacity: 0;
  transform: translateY(18px);
  animation: floatIn 1.2s var(--ease) forwards;
  transition: transform .6s var(--ease);
}
@keyframes floatIn { to { opacity: 1; transform: translateY(0); } }

.float b { display: block; font-size: 12px; font-weight: 500; color: var(--white); }
.float .l { display: block; height: 5px; margin-top: 7px; border-radius: 3px; background: rgba(255,255,255,.13); }
.float .l.s { width: 60%; }

.float .ico {
  width: 26px; height: 26px;
  margin-bottom: 10px;
  display: grid; place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.06);
}
.float .ico svg { width: 14px; height: 14px; fill: none; stroke: var(--white); stroke-width: 1.6; }

.float .chart { height: 38px; margin-top: 8px; display: flex; align-items: flex-end; gap: 4px; }
.float .chart i { flex: 1; border-radius: 2px 2px 0 0; background: rgba(255,255,255,.18); }
.float .chart i:nth-child(1) { height: 34%; }
.float .chart i:nth-child(2) { height: 52%; }
.float .chart i:nth-child(3) { height: 40%; }
.float .chart i:nth-child(4) { height: 72%; }
.float .chart i:nth-child(5) { height: 100%; background: rgba(255,255,255,.75); }

.float .dots { display: flex; gap: 4px; margin-bottom: 10px; }
.float .dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.22); }

.f1 { top: 8%;  left: 2%;  animation-delay: .55s; }
.f2 { top: 30%; left: -1%; animation-delay: .7s; }
.f3 { top: 12%; right: 2%; animation-delay: .85s; }
.f4 { top: 36%; right: 0;  animation-delay: 1s; }

/* ---------- En-tête de section ---------- */
.sec-head { max-width: 56ch; }
.sec-head .lead { margin-top: 12px; }

/* ---------- Les trois méthodes ---------- */
.pillars {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.pillar {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--white);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transition: border-color .4s var(--ease), transform .4s var(--ease), background .4s;
}
.pillar:hover,
.pillar:focus-visible {
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.06);
  transform: translateY(-4px);
}

.pillar .num {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--grey-dark);
  font-variant-numeric: tabular-nums;
}
.pillar h3 { margin-top: 16px; font-size: 19px; font-weight: 600; letter-spacing: -.025em; }
.pillar p { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--grey); }
.pillar .go { margin-top: 22px; }

/* Flèche */
.go {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--grey);
  text-decoration: none;
  transition: color .3s;
}
.go > span {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background .35s var(--ease), border-color .35s, transform .35s var(--ease);
}
.go > span::before {
  content: "";
  width: 5px; height: 5px;
  border-top: 1.4px solid currentColor;
  border-right: 1.4px solid currentColor;
  transform: rotate(45deg) translate(-1px, 1px);
}
.pillar:hover .go,
.go:hover { color: var(--white); }
.pillar:hover .go > span,
.go:hover > span { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); transform: translateX(3px); }

/* ---------- Vidéos ---------- */
.videos {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.videos h3 { margin-top: 18px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.videos .go { margin-top: 12px; }

/* ---------- Espace membre ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split-text .kicker { margin-bottom: 14px; }
.split-text .lead { margin-top: 16px; }
.split-text .checks { grid-template-columns: 1fr; margin-top: 20px; }
.split-text .neon { display: inline-block; margin-top: 28px; }

.split-visual { min-width: 0; }

.mock {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: var(--glass);
  box-shadow: 0 40px 90px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.12);
}
.mock-top { display: flex; gap: 5px; margin-bottom: 20px; }
.mock-top i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.2); }

.mock-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  font-size: 13.5px;
}
.mock-row .t { color: var(--white); }
.mock-row .p { color: var(--grey-dark); font-variant-numeric: tabular-nums; }

.mock-bar { height: 3px; margin-top: 8px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; }
.mock-bar i { display: block; height: 100%; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.5); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
  .videos { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .f2, .f4 { display: none; }
  .f1 { top: 4%; left: 0; }
  .f3 { top: 8%; right: 0; }
}

@media (max-width: 640px) {
  .home { padding: 0 20px 64px; }
  .home > section + section { margin-top: 76px; }
  .hero-home { padding: 56px 0 8px; }
  .deco { display: none; }
  .proof { margin-top: 34px; gap: 8px 18px; font-size: 12px; }
  .pillar { padding: 22px 20px 20px; }
  .mock { padding: 18px; }
}
