/* LogiDrink SEO ALIVE 20260806alive1 — color, CTA, real blocks */
:root {
  --ld-alive-ink: #0f172a;
  --ld-alive-muted: #475569;
  --ld-alive-bg: #fff;
  --ld-alive-soft: #ffffff;
  --ld-alive-band: #ffffff;
  --ld-alive-card: #ffffff;
  --ld-alive-line: #e5e7eb;
  --ld-alive-accent: #fd7020;
  --ld-alive-dark: #0b1220;
}

/* Kill grey mush: alternate soft orange band / white */
body.seo-pillar section.soft:nth-of-type(odd),
body.ld-alive section.soft:nth-of-type(odd) {
  background: var(--ld-alive-soft) !important;
}
body.seo-pillar section.soft:nth-of-type(even),
body.ld-alive section.soft:nth-of-type(even) {
  background: #fff !important;
}
body.seo-pillar section.soft,
body.ld-alive section.soft {
  padding: 64px 0 !important;
  border-top: none !important;
}

/* Feature cards with life */
body.seo-pillar .feat-card,
body.ld-alive .feat-card {
  background: var(--ld-alive-card) !important;
  border: 1px solid var(--ld-alive-line) !important;
  border-radius: 8px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
  padding: 1.5rem 1.55rem !important;
  text-align: left !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}
body.seo-pillar .feat-card:hover,
body.ld-alive .feat-card:hover { transform: none !important; box-shadow: none !important; border-color: #e5e7eb !important; }
body.seo-pillar .feat-card h3,
body.ld-alive .feat-card h3 {
  color: var(--ld-alive-ink) !important;
  margin-bottom: .5rem !important;
}
body.seo-pillar .feat-card h3::before,
body.ld-alive .feat-card h3::before {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--ld-alive-accent);
  margin-right: .55rem;
  vertical-align: middle;
}

/* Mid-page CTA band */
.ld-alive-cta {
  background: #fd7020 !important;
  color: #fff !important;
  padding: 48px 0 !important;
}
.ld-alive-cta .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}
.ld-alive-cta h2 {
  color: #fff !important;
  margin: 0 0 .4rem !important;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem) !important;
}
.ld-alive-cta p {
  color: rgba(255,255,255,.92) !important;
  margin: 0 !important;
  max-width: 46ch;
}
.ld-alive-cta .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ld-alive-cta .btn-primary {
  background: #fff !important;
  color: #fd7020 !important;
  border: none !important;
}
.ld-alive-cta .btn-ghost,
.ld-alive-cta .btn-light {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.85) !important;
}

/* Dark end CTA */
.ld-alive-dark-cta {
  background: var(--ld-alive-dark) !important;
  color: #fff !important;
  padding: 56px 0 !important;
  text-align: center !important;
}
.ld-alive-dark-cta h2 { color: #fff !important; margin-bottom: .5rem !important; }
.ld-alive-dark-cta p { color: rgba(255,255,255,.8) !important; margin: 0 auto 1.25rem !important; max-width: 48ch; }
.ld-alive-dark-cta .actions {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
}

/* Related pages as real cards */
.ld-related-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}
@media (max-width: 900px) {
  .ld-related-grid { grid-template-columns: 1fr !important; }
}
.ld-related-card {
  display: block !important;
  background: #fff !important;
  border: 1px solid var(--ld-alive-line) !important;
  border-radius: 16px !important;
  padding: 1.15rem 1.25rem !important;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04) !important;
}
.ld-related-card strong {
  display: block;
  color: var(--ld-alive-ink);
  margin-bottom: .35rem;
}
.ld-related-card span {
  color: var(--ld-alive-muted);
  font-size: .92rem;
  line-height: 1.45;
}
.ld-related-card:hover {
  border-color: var(--ld-alive-accent) !important;
  box-shadow: none !important;
}

/* Audience / méthode lists as chips */
.ld-chip-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  justify-content: center !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  max-width: 920px !important;
}
.ld-chip-list li {
  background: #fff !important;
  border: 1px solid var(--ld-alive-line) !important;
  border-radius: 6px !important;
  padding: .55rem 1rem !important;
  font-size: .95rem !important;
  color: var(--ld-alive-ink) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}
.ld-steps {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  max-width: 960px !important;
  margin: 0 auto !important;
  list-style: none !important;
  padding: 0 !important;
  counter-reset: ldstep;
}
@media (max-width: 800px) {
  .ld-steps { grid-template-columns: 1fr !important; }
}
.ld-steps li {
  background: #fff !important;
  border: 1px solid var(--ld-alive-line) !important;
  border-radius: 16px !important;
  padding: 1.1rem 1.2rem 1.1rem 3.2rem !important;
  position: relative !important;
  text-align: left !important;
  counter-increment: ldstep;
}
.ld-steps li::before {
  content: counter(ldstep);
  position: absolute;
  left: 1rem; top: 1.05rem;
  width: 1.6rem; height: 1.6rem;
  border-radius: 999px;
  background: var(--ld-alive-accent);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}

/* Hero: keep left but add soft band */
body.seo-pillar .hero,
body.ld-alive .hero {
  background: #ffffff !important;
  padding-bottom: 20px !important;
}

/* FAQ less SEO-spam look */
body.seo-pillar details.faq-item,
body.ld-alive details.faq-item {
  background: #fff !important;
  border: none !important;
  border-bottom: 1px solid #e3e8ee !important;
  border-radius: 0 !important;
  padding: 14px 0 !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
}

/* dna-2x2 competitor cards */
.ld-alive .grid.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap:1.25rem !important; }
@media (max-width:900px){ .ld-alive .grid.grid-2 { grid-template-columns:1fr !important; } }

/* Comparatif hard fix 20260806cmp2 */
body.ld-alive section.soft {
  padding: 52px 0 !important;
}
body.ld-alive .price-card {
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 32px rgba(234,88,12,.08) !important;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
body.ld-alive .price-card.featured {
  border-color: #fd7020 !important;
  box-shadow: 0 16px 40px rgba(234,88,12,.18) !important;
}
body.ld-alive .grid.grid-3 {
  align-items: stretch !important;
}
/* cta-banner crush removed */
body.ld-alive .cta-banner .btn-primary {
  background: #fd7020 !important;
  border-color: #fd7020 !important;
}
/* Tighten huge empty gaps */
body.ld-alive .section-head {
  margin-bottom: 28px !important;
}
body.ld-alive .muted.mt-4.text-center {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  padding: 1rem 1.25rem !important;
  text-align: left !important;
}

/* ===== WIDTH FIX 20260806wide1 — footer + CTA full useful width ===== */
:root {
  --max: 1480px !important;
}

.container,
.container-sm,
section > .container,
footer .container,
footer > .container,
#pourquoi-logidrink .container,
section.soft > .container,
html:has(title*="Comparatif") .container,
body:has(a.active[href*="comparatif"]) .container,
.comparatif-page .container {
  max-width: min(1480px, calc(100% - 2.5rem)) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* CTA banner: fill its container, stop 1100px crush */
.cta-banner,
.pack-banner,
body.ld-alive .cta-banner,
body.seo-pillar .cta-banner {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Footer full-bleed background, wide inner grid */
footer,
footer.ld-site-footer {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
  background: var(--bg-dark, #0b1220) !important;
}
footer > .container,
footer .container {
  max-width: min(1480px, calc(100% - 2.5rem)) !important;
  width: 100% !important;
}
footer .ft-grid {
  width: 100% !important;
  max-width: none !important;
  grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr)) !important;
  gap: clamp(1.25rem, 2vw, 2.75rem) !important;
}
@media (max-width: 1000px) {
  footer .ft-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 640px) {
  footer .ft-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Sticky full width */
.ld-sticky-cta {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

/* Orange mid CTAs also full container width */
.ld-alive-cta .container,
.ld-alive-dark-cta .container {
  max-width: min(1480px, calc(100% - 2.5rem)) !important;
  width: 100% !important;
}
