/* ============================================================
   AXELYA — Home page layout
   ============================================================ */

/* ---------- HERO ---------- */
.hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero-glow {
  position: absolute; inset: -10% 0 auto 0; height: 720px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(620px 420px at 18% 22%, rgba(108,99,255,0.22), transparent 70%),
    radial-gradient(560px 380px at 82% 38%, rgba(24,217,242,0.14), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy .pill { margin-bottom: 26px; }
.hero-copy h1 { margin-bottom: 24px; }
.hero-copy .lead { max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-trust { display: flex; align-items: center; gap: 22px; margin-top: 44px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; line-height: 1.1; }
.trust-item strong { font-family: var(--font-display); font-size: 26px; color: var(--ink); }
.trust-item span { font-size: 13px; color: var(--muted); margin-top: 3px; }
.trust-sep { width: 1px; height: 36px; background: var(--line-2); }

/* hero visual */
.hero-visual { position: relative; margin-bottom: 46px; }
.visual-frame {
  background: linear-gradient(165deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 20px 20px 8px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
}
.visual-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.visual-head .num { color: var(--faint); }
.workflow { width: 100%; aspect-ratio: 560 / 460; }

.stat-card {
  position: absolute;
  left: -16px; bottom: -52px;
  width: 210px;
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.8);
}
.stat-card .num { color: var(--faint); text-transform: uppercase; letter-spacing: 0.12em; font-size: 10.5px; }
.stat-val { font-family: var(--font-display); font-size: 34px; font-weight: 600; margin: 6px 0 12px; letter-spacing: -0.02em; }
.stat-val em { font-style: normal; font-size: 15px; color: var(--muted); font-family: var(--font-body); }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 36px; }
.spark span { flex: 1; background: var(--grad-accent); border-radius: 2px; opacity: 0.85; }

/* ---------- TOOLS STRIP ---------- */
.strip-sec { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-label { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.strip {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 14px 36px;
}
.strip span {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 500;
  color: var(--ink-soft);
  opacity: 0.55;
  transition: opacity .25s ease, color .25s ease;
}
.strip span:hover { opacity: 1; color: var(--ink); }

/* ---------- PAIN POINTS ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pain .num { display: block; margin-bottom: 18px; }
.pain h3 { font-size: 21px; margin-bottom: 10px; }
.pain p { font-size: 15.5px; }
.pain--cta {
  background: linear-gradient(160deg, rgba(108,99,255,0.14), rgba(24,217,242,0.06));
  border-color: rgba(108,99,255,0.3);
  display: flex; flex-direction: column; justify-content: center;
}
.pain--cta h3 { margin-bottom: 8px; }

/* ---------- METHOD ---------- */
.method-sec { position: relative; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.method-step {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.method-step::before {
  content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 2px;
  background: var(--grad-accent); border-radius: 2px; opacity: 0.8;
}
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.step-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--glow-cyan); }
.method-step h3 { font-size: 28px; margin-bottom: 12px; }
.method-step p { font-size: 15.5px; }
.step-tag {
  display: inline-block; margin-top: 22px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.04em;
  color: var(--cyan); padding: 7px 12px; border-radius: 8px;
  background: rgba(24,217,242,0.08); border: 1px solid rgba(24,217,242,0.2);
}

/* ---------- SERVICES ---------- */
.serv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.serv { padding: 34px; }
.serv-mark {
  display: block; width: 30px; height: 30px; margin-bottom: 22px;
  border-radius: 9px; transform: rotate(45deg);
  background: var(--grad-accent);
  box-shadow: 0 6px 20px -6px var(--glow-violet);
}
.serv h3 { font-size: 24px; margin-bottom: 12px; }
.serv p { margin-bottom: 18px; }
.serv-deliver {
  display: block; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-soft);
}
.serv-deliver::before { content: "Livrable — "; color: var(--cyan); font-family: var(--font-mono); font-size: 12px; }

/* ---------- WHY ---------- */
.why-sec { background: var(--bg-2); border-block: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.why-intro { position: sticky; top: 100px; }
.why-intro h2 { margin: 18px 0 20px; }
.geo-tag { margin-top: 30px; display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 2px solid var(--cyan); }
.geo-tag .num { color: var(--cyan); }
.geo-tag span:last-child { color: var(--ink-soft); font-size: 15px; }

.why-list { list-style: none; display: grid; gap: 2px; }
.why-item { padding: 24px 4px; border-bottom: 1px solid var(--line); }
.why-item:first-child { padding-top: 0; }
.why-item h3 { font-size: 21px; margin-bottom: 8px; display: flex; align-items: baseline; gap: 12px; }
.why-item h3::before { content: ""; width: 7px; height: 7px; background: var(--violet); border-radius: 2px; transform: translateY(-2px); box-shadow: 0 0 10px var(--glow-violet); flex: none; }
.why-item p { font-size: 15.5px; padding-left: 19px; }

/* ---------- USE CASES ---------- */
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.use { padding: 32px; display: flex; flex-direction: column; }
.use-sector {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  color: var(--cyan); text-transform: uppercase; margin-bottom: 18px;
}
.use h3 { font-size: 23px; margin-bottom: 20px; }
.ticks { list-style: none; display: grid; gap: 12px; font-size: 15px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 12px; height: 7px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

/* ---------- CTA ---------- */
.cta-sec { padding-bottom: clamp(80px, 10vw, 130px); }
.cta-box {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(108,99,255,0.3);
  background: linear-gradient(160deg, rgba(108,99,255,0.13), rgba(24,217,242,0.05));
  padding: clamp(40px, 6vw, 76px);
  text-align: center;
}
.cta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 50% -10%, rgba(24,217,242,0.22), transparent 70%);
}
.cta-box .eyebrow { margin-bottom: 18px; }
.cta-box h2 { margin-bottom: 18px; }
.cta-box .lead { max-width: 600px; margin: 0 auto 32px; color: var(--ink-soft); }
.cta-box .hero-actions { justify-content: center; margin-top: 0; }

/* ---------- BTN TOOLS (hero) ---------- */
.btn--tools {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(24,217,242,0.35);
  padding: 13px 22px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: border-color .2s, background .2s, transform .2s;
}
.btn--tools:hover { border-color: var(--cyan); background: rgba(24,217,242,0.07); transform: translateY(-2px); }

/* ---------- OUTILS IA ---------- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.tool { padding: 34px; display: flex; flex-direction: column; }
.tool-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: rgba(24,217,242,0.08);
  border: 1px solid rgba(24,217,242,0.2);
  border-radius: 12px;
  margin-bottom: 22px;
  color: var(--cyan);
  flex-shrink: 0;
}
.tool-icon svg { width: 22px; height: 22px; }
.tool h3 { font-size: 22px; margin-bottom: 12px; }
.tool p { margin-bottom: 24px; flex: 1; }
.tool-cta { margin-top: auto; align-self: flex-start; }
.tools-footer { margin-top: 44px; display: flex; justify-content: center; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-intro { position: static; }
  .pain-grid, .method-grid, .use-grid { grid-template-columns: repeat(2, 1fr); }
  .serv-grid, .tools-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .pain-grid, .method-grid, .use-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 16px; }
  .trust-item strong { font-size: 22px; }
  .stat-card { left: auto; right: 0; width: 190px; }
}
