/* ════════════════════════════════════════════════════════════════
   GUIDE.CSS — thème CLAIR pour les pages SEO « écran externe + contrôleur ».
   Volontairement scopé sous .guide pour ne PAS entrer en conflit avec
   style.css (thème sombre, qui habille toujours la nav et le footer).
   Fond blanc, texte sombre ; blocs CTA foncés à texte blanc.
   ════════════════════════════════════════════════════════════════ */

.guide {
  background: #ffffff;
  color: #14161a;
  font-size: 17px;
  line-height: 1.7;
  padding: 0 0 0;
  -webkit-font-smoothing: antialiased;
}

.guide-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 24px 88px;
}

/* ─── En-tête / hero ─── */
.guide-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 18px;
}
.guide h1 {
  font-size: clamp(30px, 5.2vw, 48px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #0b0d10;
  margin: 0 0 22px;
}
.guide-lead {
  font-size: clamp(18px, 2.4vw, 21px);
  line-height: 1.6;
  color: #3a3f47;
  margin: 0 0 32px;
}

.guide-hero-img {
  width: 100%;
  background: linear-gradient(160deg, #f3f5f7 0%, #e9edf1 100%);
  border: 1px solid #e6e9ee;
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  margin: 0 0 16px;
}
.guide-hero-img img {
  max-width: 78%;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(20,30,50,0.16));
}

/* ─── Boutons ─── */
.guide-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 8px;
}
.guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.guide-btn-primary {
  background: #0b0d10;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(11,13,16,0.22);
}
.guide-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11,13,16,0.3); }
.guide-btn-ghost {
  background: #ffffff;
  color: #0b0d10;
  border: 1.5px solid #d7dce3;
}
.guide-btn-ghost:hover { transform: translateY(-2px); border-color: #0b0d10; }

/* ─── Corps d'article ─── */
.guide-body { margin-top: 8px; }
.guide-body h2 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: #0b0d10;
  margin: 52px 0 18px;
}
.guide-body h3 {
  font-size: 19px;
  font-weight: 600;
  color: #14161a;
  margin: 28px 0 10px;
}
.guide-body p { margin: 0 0 18px; color: #2c313a; }
.guide-body a { color: #0b0d10; text-decoration: underline; text-underline-offset: 3px; }

.guide-body ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.guide-body ul li {
  position: relative;
  padding: 0 0 0 30px;
  margin: 0 0 12px;
  color: #2c313a;
}
.guide-body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0b0d10;
}

/* ─── Cartes produit (Pro + Logiciel) ─── */
.guide-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 26px 0 10px;
}
.guide-card {
  background: #f7f9fb;
  border: 1px solid #e6e9ee;
  border-radius: 16px;
  padding: 26px 24px;
}
.guide-card h3 { margin: 0 0 8px; font-size: 20px; }
.guide-card p { font-size: 15px; margin: 0 0 16px; color: #4a505a; }
.guide-card a { font-weight: 600; }

/* ─── Étapes de branchement ─── */
.guide-steps { counter-reset: step; margin: 22px 0 10px; padding: 0; list-style: none; }
.guide-steps li {
  position: relative;
  padding: 0 0 0 56px;
  margin: 0 0 22px;
  min-height: 38px;
}
.guide-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0b0d10;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-steps li strong { display: block; color: #0b0d10; margin-bottom: 2px; }

/* ─── FAQ (native <details>) ─── */
.guide-faq { margin-top: 18px; }
.guide-faq details {
  border-bottom: 1px solid #e6e9ee;
  padding: 4px 0;
}
.guide-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 36px 18px 0;
  font-size: 17px;
  font-weight: 600;
  color: #0b0d10;
  position: relative;
}
.guide-faq summary::-webkit-details-marker { display: none; }
.guide-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 24px;
  font-weight: 300;
  color: #6b7280;
  transition: transform 0.2s ease;
}
.guide-faq details[open] summary::after { transform: rotate(45deg); }
.guide-faq details p { margin: 0 0 18px; color: #4a505a; font-size: 16px; }

/* ─── Bandeau CTA foncé (texte blanc) ─── */
.guide-cta-band {
  margin: 60px 0 0;
  background: linear-gradient(155deg, #0b0d10 0%, #1b2026 100%);
  border-radius: 22px;
  padding: 48px 40px;
  text-align: center;
  color: #ffffff;
}
.guide-cta-band h2 {
  color: #ffffff;
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 300;
  margin: 0 0 14px;
}
.guide-cta-band p { color: rgba(255,255,255,0.75); margin: 0 auto 26px; max-width: 520px; }
.guide-cta-band .guide-btn-primary { background: #ffffff; color: #0b0d10; }
.guide-cta-band .guide-btn-primary:hover { box-shadow: 0 14px 30px rgba(255,255,255,0.25); }
.guide-cta-band .guide-btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.35);
}
.guide-cta-band .guide-btn-ghost:hover { border-color: #ffffff; }
.guide-cta-band .guide-cta-row { justify-content: center; }

/* ─── Mention légale / disclaimer bas d'article ─── */
.guide-note {
  margin-top: 34px;
  font-size: 13px;
  color: #8a909a;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .guide-wrap { padding: 80px 20px 64px; }
  .guide-cards { grid-template-columns: 1fr; }
  .guide-hero-img { padding: 24px; }
  .guide-hero-img img { max-width: 88%; }
  .guide-cta-band { padding: 38px 24px; }
}
