/* ═══════════════════════════════════════
   PAGES — Composants partagés pour les
   landing pages de services
   (Automatisation IA, SaaS, Web, SEO/GEO)
   Mobile-first
═══════════════════════════════════════ */

/* ── HEADING RESET (h3 used for SEO in cards/items) */
.feat-title, .tl-title, .uc-name, .uc-total-n,
.pricing-name, .cost-total { margin:0; padding:0; }

/* ── SECTION WRAPPER (padding par défaut mobile) */
.pg-section {
  overflow:hidden; position:relative;
  padding:60px 20px;
}
.pg-section-cta {
  overflow:hidden; position:relative;
  text-align:center; padding:80px 20px;
}
.pg-inner { max-width:1200px; margin:0 auto; position:relative; z-index:1; }

/* ── SECTION HEADER (centré) */
.pg-hdr { text-align:center; margin-bottom:56px; }

/* ── BACKGROUNDS */
.bg-deep     { background:linear-gradient(180deg,#000 0%,#08031A 50%,#000 100%); }
.bg-pain     { background:linear-gradient(180deg,#000 0%,#0E0308 60%,#000 100%); }
.bg-dark     { background:linear-gradient(180deg,#000 0%,#06020E 50%,#000 100%); }
.bg-subtle   { background:linear-gradient(180deg,#000 0%,#07030F 50%,#000 100%); }
.bg-stats    { background:linear-gradient(135deg,#0A0414,#04010E); }
.bg-cta      { background:linear-gradient(180deg,#000 0%,#0A0514 50%,#000 100%); }

/* ═══ COST CARD (Pain section) ═══ */
.cost-card {
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px; padding:28px;
  position:relative; overflow:hidden;
}
.cost-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,transparent,#EF4444,#F97316,transparent);
}
.cost-total {
  font-family:'Outfit',sans-serif;
  font-size:clamp(2rem,5vw,3.6rem);
  font-weight:700; line-height:1; letter-spacing:-.03em;
  background:linear-gradient(135deg,#EF4444,#F97316);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
  margin-bottom:6px;
}
.cost-label {
  font-size:.72rem; font-weight:600; letter-spacing:.1em;
  text-transform:uppercase; color:var(--muted); margin-bottom:24px;
}
.cost-items { display:flex; flex-direction:column; gap:10px; }
.cost-item {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.06);
  border-radius:12px; padding:12px 16px;
}
.ci-left { display:flex; align-items:center; gap:10px; }
.ci-ic { font-size:1rem; }
.ci-name { font-size:.82rem; color:rgba(255,255,255,.6); font-weight:400; }
.ci-time {
  font-family:'Outfit',sans-serif; font-size:.82rem;
  font-weight:700; color:#EF4444; white-space:nowrap;
}
.cost-pulse {
  display:flex; align-items:center; gap:8px;
  margin-top:20px; font-size:.7rem; font-weight:600;
  color:#EF4444; letter-spacing:.05em;
}
.cost-pulse-dot {
  width:8px; height:8px; border-radius:50%;
  background:#EF4444; animation:blink 1.5s infinite;
}

/* ═══ FEATURE CARDS (Solution) ═══ */
.feat-grid { display:grid; gap:18px; }
.feat-c {
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08);
  border-radius:24px; padding:28px; position:relative; overflow:hidden;
  transition:all .4s cubic-bezier(.22,.61,.36,1); cursor:default;
}
.feat-c:hover { transform:translateY(-10px); background:rgba(255,255,255,.05); }
.feat-c::after {
  content:''; position:absolute; top:0; left:0; right:0; height:1px;
  transform:scaleX(0); transform-origin:center; transition:transform .4s;
}
.feat-c:hover::after { transform:scaleX(1); }
.fc-purple::after { background:linear-gradient(90deg,transparent,var(--purple),var(--cyan),transparent); }
.fc-cyan::after   { background:linear-gradient(90deg,transparent,var(--cyan),#34D399,transparent); }
.fc-lime::after   { background:linear-gradient(90deg,transparent,var(--lime),var(--cyan),transparent); }
.fc-orange::after { background:linear-gradient(90deg,transparent,#FB923C,#FBBF24,transparent); }
.fc-purple:hover { box-shadow:0 0 0 1px rgba(123,47,255,.3), 0 24px 64px rgba(123,47,255,.12); }
.fc-cyan:hover   { box-shadow:0 0 0 1px rgba(0,245,204,.3), 0 24px 64px rgba(0,245,204,.1); }
.fc-lime:hover   { box-shadow:0 0 0 1px rgba(191,255,0,.3), 0 24px 64px rgba(191,255,0,.08); }
.fc-orange:hover { box-shadow:0 0 0 1px rgba(251,146,60,.3), 0 24px 64px rgba(251,146,60,.1); }
.feat-ic {
  width:52px; height:52px; border-radius:16px;
  display:flex; align-items:center; justify-content:center; font-size:1.3rem;
  margin-bottom:20px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08);
}
.feat-title {
  font-family:'Outfit',sans-serif; font-size:1.1rem;
  font-weight:700; color:white; margin-bottom:10px;
}
.feat-desc { font-size:.85rem; color:var(--muted); line-height:1.7; font-weight:300; }

/* ═══ TIMELINE (Process) ═══ */
.timeline { position:relative; max-width:820px; margin:0 auto; }
.timeline::before {
  content:''; position:absolute; left:18px; top:0; bottom:0; width:2px;
  background:linear-gradient(180deg,var(--purple),var(--cyan),var(--lime));
  border-radius:2px;
}
.tl-step { position:relative; padding-left:56px; padding-bottom:52px; }
.tl-step:last-child { padding-bottom:0; }
.tl-dot {
  position:absolute; left:6px; top:0;
  width:24px; height:24px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:'Outfit',sans-serif; font-size:.68rem; font-weight:700; color:white;
  z-index:2;
}
.tl-d1 { background:linear-gradient(135deg,var(--purple),var(--purple2)); box-shadow:0 0 20px rgba(123,47,255,.4); }
.tl-d2 { background:linear-gradient(135deg,var(--purple2),var(--cyan)); box-shadow:0 0 20px rgba(168,85,247,.3); }
.tl-d3 { background:linear-gradient(135deg,var(--cyan),#34D399); box-shadow:0 0 20px rgba(0,245,204,.3); }
.tl-d4 { background:linear-gradient(135deg,#34D399,var(--lime)); box-shadow:0 0 20px rgba(52,211,153,.3); }
.tl-week {
  font-size:.62rem; font-weight:700; letter-spacing:.15em;
  text-transform:uppercase; color:var(--purple2); margin-bottom:8px;
}
.tl-title {
  font-family:'Outfit',sans-serif; font-size:1.1rem;
  font-weight:700; color:white; margin-bottom:8px;
}
.tl-desc { font-size:.88rem; color:var(--muted); line-height:1.7; font-weight:300; max-width:520px; }

/* ═══ USE CASE CARDS ═══ */
.uc-grid { display:grid; gap:12px; }
.uc-c {
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08);
  border-radius:18px; padding:22px; transition:all .35s; cursor:default;
}
.uc-c:hover { transform:translateY(-6px); background:rgba(255,255,255,.06); }
.uc-top { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:10px; }
.uc-icon { font-size:1.1rem; }
.uc-gain {
  background:rgba(0,245,204,.1); border:1px solid rgba(0,245,204,.2);
  border-radius:100px; padding:3px 10px;
  font-family:'Outfit',sans-serif; font-size:.68rem; font-weight:700; color:var(--cyan);
}
.uc-name { font-family:'Outfit',sans-serif; font-size:.92rem; font-weight:600; color:white; margin-bottom:6px; }
.uc-desc { font-size:.78rem; color:var(--muted); line-height:1.6; font-weight:300; }
.uc-total {
  background:rgba(123,47,255,.08); border:1px solid rgba(123,47,255,.15);
  border-radius:20px; padding:28px; text-align:center; margin-top:24px;
}
.uc-total-n {
  font-family:'Outfit',sans-serif; font-size:clamp(2rem,4vw,3rem);
  font-weight:700; line-height:1;
  background:linear-gradient(135deg,var(--purple2),var(--cyan));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.uc-total-l { font-size:.82rem; color:var(--muted); margin-top:6px; font-weight:400; }

/* ═══ BEFORE / AFTER CARD ═══ */
.ba-card {
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08);
  border-radius:24px; overflow:hidden; margin-top:48px;
}
.ba-grid { display:grid; grid-template-columns:1fr; }
.ba-col { padding:28px; }
.ba-col:first-child { border-bottom:1px solid rgba(255,255,255,.08); }
.ba-label {
  font-size:.62rem; font-weight:700; letter-spacing:.15em;
  text-transform:uppercase; margin-bottom:16px;
  display:flex; align-items:center; gap:8px;
}
.ba-before .ba-label { color:#EF4444; }
.ba-after  .ba-label { color:var(--cyan); }
.ba-items { display:flex; flex-direction:column; gap:10px; }
.ba-item {
  display:flex; align-items:center; gap:10px;
  font-size:.84rem; color:rgba(255,255,255,.55); font-weight:300;
}
.ba-item span { font-size:.9rem; flex-shrink:0; }

/* ═══ TESTIMONIALS ═══ */
.testi-grid { display:grid; gap:18px; }
.testi-c {
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08);
  border-radius:24px; padding:28px; position:relative;
  border-left:3px solid transparent; transition:all .4s;
}
.testi-c:hover { transform:translateY(-8px); background:rgba(255,255,255,.05); }
.tc-purple { border-left-color:var(--purple2); }
.tc-cyan   { border-left-color:var(--cyan); }
.tc-lime   { border-left-color:var(--lime); }
.testi-stars { color:var(--lime); font-size:.7rem; letter-spacing:2px; margin-bottom:14px; }
.testi-quote {
  font-size:.9rem; color:rgba(255,255,255,.6); line-height:1.8;
  font-weight:300; font-style:italic; margin-bottom:20px;
}
.testi-bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.testi-author { display:flex; align-items:center; gap:12px; }
.testi-avatar {
  width:40px; height:40px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:'Outfit',sans-serif; font-size:.82rem; font-weight:700; color:white;
}
.ta-purple { background:linear-gradient(135deg,var(--purple),var(--purple2)); }
.ta-cyan   { background:linear-gradient(135deg,var(--cyan),#34D399); }
.ta-lime   { background:linear-gradient(135deg,var(--lime),var(--cyan)); }
.testi-info { display:flex; flex-direction:column; }
.testi-name { font-size:.82rem; font-weight:600; color:white; }
.testi-role { font-size:.7rem; color:var(--muted); }
.testi-badge {
  background:rgba(0,245,204,.1); border:1px solid rgba(0,245,204,.2);
  border-radius:100px; padding:5px 14px;
  font-family:'Outfit',sans-serif; font-size:.7rem; font-weight:700; color:var(--cyan);
}

/* ═══ PRICING CARD ═══ */
.pricing-wrap { display:flex; justify-content:center; }
.pricing-card {
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.12);
  border-radius:28px; padding:36px 24px; max-width:520px; width:100%;
  position:relative; overflow:hidden; text-align:center;
  box-shadow:0 32px 80px rgba(123,47,255,.15), 0 0 0 1px rgba(123,47,255,.1);
}
.pricing-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,var(--purple),var(--cyan),var(--lime));
}
.pricing-badge {
  display:inline-flex; align-items:center; gap:6px;
  background:rgba(0,245,204,.1); border:1px solid rgba(0,245,204,.2);
  border-radius:100px; padding:6px 16px;
  font-size:.65rem; font-weight:700; letter-spacing:.1em;
  text-transform:uppercase; color:var(--cyan); margin-bottom:24px;
}
.pricing-name {
  font-family:'Outfit',sans-serif; font-size:1.3rem;
  font-weight:700; color:white; margin-bottom:8px;
}
.pricing-price {
  font-family:'Outfit',sans-serif; font-size:clamp(2.2rem,5vw,3rem);
  font-weight:700; line-height:1; margin-bottom:6px;
  background:linear-gradient(135deg,var(--purple2),var(--cyan));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.pricing-freq { font-size:.78rem; color:var(--muted); margin-bottom:32px; }
.pricing-features {
  list-style:none; padding:0; margin:0 0 36px;
  display:flex; flex-direction:column; gap:12px; text-align:left;
}
.pf-item {
  display:flex; align-items:center; gap:12px;
  font-size:.88rem; color:rgba(255,255,255,.6); font-weight:300;
}
.pf-check {
  width:22px; height:22px; border-radius:7px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-size:.6rem; font-weight:700; color:white;
  background:linear-gradient(135deg,var(--purple),var(--cyan));
}
.pricing-guarantee {
  font-size:.74rem; color:rgba(255,255,255,.35);
  margin-top:20px; line-height:1.6;
}
.pricing-guarantee em { color:rgba(255,255,255,.55); font-style:normal; }

/* ═══════════════════════════════════════
   RESPONSIVE — Mobile-first breakpoints
═══════════════════════════════════════ */

/* ── Small tablets (>= 480px) */
@media(min-width:480px){
  .pg-section { padding:80px 28px; }
  .pg-section-cta { padding:100px 28px; }
  .uc-grid { grid-template-columns:1fr 1fr; }
  .cost-card { padding:32px; }
}

/* ── Tablets (>= 768px) */
@media(min-width:768px){
  .pg-section { padding:100px 40px; }
  .pg-section-cta { padding:120px 40px; }
  .feat-grid { grid-template-columns:repeat(3,1fr); }
  .testi-grid { grid-template-columns:repeat(3,1fr); }
  .ba-grid { grid-template-columns:1fr 1fr; }
  .ba-col:first-child { border-bottom:none; border-right:1px solid rgba(255,255,255,.08); }
  .ba-col { padding:32px; }
  .timeline::before { left:28px; }
  .tl-step { padding-left:76px; }
  .tl-dot { left:16px; width:26px; height:26px; font-size:.72rem; }
  .tl-title { font-size:1.15rem; }
  .testi-c { padding:32px; }
  .feat-c { padding:32px; }
}

/* ── Desktop (>= 1024px) */
@media(min-width:1024px){
  .pg-section { padding:130px 60px; }
  .pg-section-cta { padding:160px 60px; }
  .uc-grid { grid-template-columns:repeat(4,1fr); }
  .pricing-card { padding:48px 40px; }
}