/* Pages guides pratiques (/guides/...) — direction graphiste du 08/09/2026 :
   teaser public + formulaire inline + contenu débloqué en scroll long,
   reprend les codes du guide PDF (badges ronds, encarts, vagues SVG) sans
   les breaks de page. */

.cb-guide-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #F5FDFB 0%, #E3F8F2 60%, #D3F3EA 100%);
  padding: 140px 24px 90px; text-align: center;
}
.cb-guide-hero-tag {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
  color: #1C8F76; background: rgba(255,255,255,0.75); padding: 8px 18px; border-radius: 999px;
  margin-bottom: 20px;
}
.cb-guide-hero h1 { font-size: 2.2rem; font-weight: 800; color: var(--marine); max-width: 720px; margin: 0 auto 14px; line-height: 1.2; }
.cb-guide-hero p { color: #3E4A57; max-width: 620px; margin: 0 auto; font-size: 1.05rem; line-height: 1.65; }
.cb-guide-hero-mascot { width: 130px; margin: 28px auto 0; display: block; filter: drop-shadow(0 14px 18px rgba(16,105,90,0.22)); }
.cb-guide-hero-wave { position: absolute; left: 0; bottom: 0; width: 100%; height: 70px; z-index: 0; }

/* Photo destination : seule à remonter sur le bas du hero (un seul effet
   de chevauchement, pas empilé avec d'autres marges négatives — bug du
   08/09/2026 où la carte sommaire remontait aussi et passait sous la photo). */
.cb-guide-photo-wrap { max-width: 900px; margin: -56px auto 0; padding: 0 24px; position: relative; z-index: 2; }
.cb-guide-photo-wrap img { width: 100%; height: 280px; object-fit: cover; border-radius: 24px; display: block; box-shadow: 0 20px 44px rgba(23,34,46,0.2); }

.cb-guide-sommaire { max-width: 640px; margin: 0 auto; padding: 44px 24px 8px; }
.cb-guide-sommaire-card {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-card); padding: 30px 32px;
}
.cb-guide-sommaire-card--compact { padding: 24px 26px; }
.cb-guide-sommaire-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; color: var(--slate); margin-bottom: 16px; }
.cb-guide-sommaire-item { display: flex; align-items: baseline; gap: 14px; padding: 8px 0; }
.cb-guide-sommaire-item .num { font-size: 0.85rem; font-weight: 700; color: #2ABE9C; width: 22px; flex-shrink: 0; }
.cb-guide-sommaire-item .label { font-size: 0.95rem; color: var(--marine); }
.cb-guide-sommaire-item--compact { padding: 6px 0; }
.cb-guide-sommaire-item--compact .label { font-weight: 600; display: block; }
.cb-guide-sommaire-item--compact .kw { font-size: 0.78rem; color: var(--slate); }

/* Aperçu visuel "façon paywall" — mockup décoratif, pas du vrai contenu
   flouté (voir audit produit/webmaster du 08/09/2026) : donne un signal
   "il y a un vrai produit derrière" sans dupliquer/déformer du contenu réel. */
.cb-guide-peek { position: relative; max-width: 320px; margin: 48px auto 16px; padding-top: 18px; }
.cb-guide-peek-card { background: #fff; border-radius: 14px; box-shadow: var(--shadow-card); padding: 20px; }
.cb-guide-peek-card .ln { display: block; height: 10px; background: rgba(35,48,72,0.08); border-radius: 5px; margin-bottom: 10px; }
.cb-guide-peek-card .ln:last-child { margin-bottom: 0; }
.cb-guide-peek-card .w60 { width: 60%; } .cb-guide-peek-card .w90 { width: 90%; } .cb-guide-peek-card .w40 { width: 40%; }
.cb-guide-peek-card .w80 { width: 80%; } .cb-guide-peek-card .w50 { width: 50%; } .cb-guide-peek-card .w70 { width: 70%; }
.cb-guide-peek::after { content: ''; position: absolute; inset: auto 0 0 0; height: 50px; background: linear-gradient(to bottom, transparent, #fff); }
.cb-guide-peek-lock {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: var(--marine); color: #fff; width: 36px; height: 36px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: var(--shadow-btn); z-index: 3;
}

.cb-guide-checklist { max-width: 720px; margin: 0 auto; padding: 0 24px 40px; }
.cb-guide-checklist h2 { text-align: center; font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.cb-guide-checklist > p { text-align: center; color: var(--slate); margin-bottom: 24px; }
.cb-guide-checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cb-guide-checklist-chip { display: flex; gap: 10px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-card); }
.cb-guide-checklist-chip .badge {
  flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--green-100);
  display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 800; color: #2ABE9C;
}
.cb-guide-checklist-chip p {
  margin: 0; color: var(--marine); font-size: 0.85rem; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.cb-guide-social-proof {
  text-align: center; font-size: 0.95rem; color: var(--marine); font-weight: 600;
  background: var(--green-100); border-radius: 999px; padding: 12px 24px;
  max-width: fit-content; margin: 0 auto 40px; display: flex; gap: 8px; align-items: center; justify-content: center;
}
.cb-guide-social-proof strong { color: var(--turquoise-dark); font-size: 1.05rem; }

.cb-guide-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-top: 1px solid rgba(35,48,72,0.08);
}
.cb-guide-sticky-cta a { display: block; text-align: center; background: #2ABE9C; color: #fff; font-weight: 700; padding: 14px; border-radius: 50px; max-width: 440px; margin: 0 auto; }
.cb-guide-sticky-cta a:hover { background: var(--turquoise-dark); }

.cb-guide-faq { max-width: 720px; margin: 0 auto; padding: 8px 24px 56px; }
.cb-guide-faq h2 { text-align: center; font-size: 1.4rem; font-weight: 800; margin-bottom: 24px; }
.cb-guide-faq-item { padding: 16px 0; border-bottom: 1px solid rgba(35,48,72,0.08); }
.cb-guide-faq-item h3 { font-size: 1rem; font-weight: 700; color: var(--marine); margin: 0 0 8px; }
.cb-guide-faq-item p { color: var(--slate); font-size: 0.92rem; line-height: 1.6; margin: 0; }

.cb-guide-unlock { background: var(--green-100); padding: 56px 24px 72px; }
.cb-guide-unlock-card {
  max-width: 440px; margin: 0 auto; background: #fff; border-radius: 20px; box-shadow: 0 8px 30px rgba(23,34,46,0.1);
  padding: 36px 30px; text-align: center;
}
.cb-guide-unlock-mascot { width: 76px; margin: 0 auto 16px; display: block; }
.cb-guide-unlock-card h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; color: var(--marine); }
.cb-guide-unlock-card > p.hint { color: var(--slate); font-size: 0.92rem; margin-bottom: 22px; line-height: 1.5; }
.cb-guide-unlock-field { margin-bottom: 14px; text-align: left; }
.cb-guide-unlock-field label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; color: var(--marine); }
.cb-guide-unlock-field input { padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(35,48,72,0.15); font-family: inherit; font-size: 0.98rem; }
.cb-guide-unlock-submit {
  width: 100%; background: #2ABE9C; color: #fff; font-weight: 700; font-size: 1rem; padding: 14px 20px;
  border: none; border-radius: 50px; cursor: pointer; margin-top: 6px;
}
.cb-guide-unlock-submit:hover { background: var(--turquoise-dark); transform: translateY(-1px); }
.cb-guide-unlock-micro { font-size: 0.78rem; color: var(--slate); margin-top: 14px; }
.cb-guide-unlock-error { background: #FDF0F1; border: 1px solid rgba(224,69,90,0.35); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; color: #e0455a; font-weight: 600; font-size: 0.88rem; text-align: left; }

.cb-guide-welcome { background: #fff; padding: 20px 24px; text-align: center; border-bottom: 1px solid rgba(35,48,72,0.08); position: sticky; top: 0; z-index: 5; }
.cb-guide-welcome-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.cb-guide-welcome span.txt { font-weight: 600; color: var(--marine); font-size: 0.92rem; }
.cb-guide-dl-btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--marine); color: #fff; font-weight: 700;
  font-size: 0.88rem; padding: 10px 20px; border-radius: 50px;
}
.cb-guide-dl-btn:hover { background: #1a2437; }

.cb-guide-pillar-section { padding: 64px 24px 40px; }
.cb-guide-pillar-head { max-width: 720px; margin: 0 auto 28px; }
.cb-guide-pillar-head .top { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.cb-guide-pillar-head .num { font-size: 2.4rem; font-weight: 300; color: #2ABE9C; line-height: 1; }
.cb-guide-pillar-head h2 { font-size: 1.6rem; font-weight: 800; color: var(--marine); margin: 0; }
.cb-guide-pillar-badge {
  width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transform: rotate(-8deg);
}
.cb-guide-pillar-underline { display: block; margin-bottom: 14px; }
.cb-guide-pillar-head > p { color: #3E4A57; line-height: 1.65; font-size: 0.98rem; }

.cb-guide-content { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.cb-guide-content p { color: #3E4A57; line-height: 1.7; font-size: 0.95rem; margin: 0 0 12px; }
.cb-guide-content ul { margin: 0 0 14px; padding-left: 0; list-style: none; color: #3E4A57; font-size: 0.95rem; line-height: 1.65; }
.cb-guide-content ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.cb-guide-content ul li::before { content: '✓'; position: absolute; left: 0; top: 0; color: #2ABE9C; font-weight: 800; }
.cb-guide-content strong { color: var(--marine); }

.cb-guide-accordion-item {
  background: #fff; border-radius: 16px; box-shadow: 0 2px 10px rgba(23,34,46,0.05); margin-bottom: 12px; overflow: hidden;
}
.cb-guide-accordion-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 20px;
}
.cb-guide-accordion-item summary::-webkit-details-marker { display: none; }
.cb-guide-accordion-num { flex: none; font-size: 0.85rem; font-weight: 800; color: #2ABE9C; width: 24px; }
.cb-guide-accordion-title { flex: 1; font-size: 1.02rem; font-weight: 700; color: var(--marine); }
.cb-guide-accordion-chevron { flex: none; color: var(--slate); transition: transform 0.2s ease; font-size: 1.1rem; }
.cb-guide-accordion-item[open] .cb-guide-accordion-chevron { transform: rotate(180deg); }
.cb-guide-accordion-item[open] summary { border-bottom: 1px solid rgba(35,48,72,0.06); }
.cb-guide-accordion-body { padding: 4px 20px 18px 58px; }
.cb-guide-accordion-body .cb-guide-encart { margin: 12px 0 0; }

.cb-guide-encart {
  background: #fff; border: 1px solid rgba(23,34,46,0.08); border-radius: 14px; padding: 18px 20px; margin: 18px 0;
  box-shadow: 0 2px 10px rgba(23,34,46,0.05); font-size: 0.9rem; line-height: 1.6; color: #3E4A57;
}
.cb-guide-encart .lbl { font-weight: 700; color: var(--marine); margin-bottom: 6px; display: block; }

.cb-guide-astuce {
  background: #fff; border: 1px solid rgba(23,34,46,0.08); border-radius: 16px; padding: 22px 24px; margin: 28px 0 8px;
  box-shadow: 0 2px 10px rgba(23,34,46,0.05);
}
.cb-guide-astuce .lbl { font-weight: 700; color: var(--marine); margin-bottom: 8px; display: block; font-size: 0.95rem; }
.cb-guide-astuce p, .cb-guide-astuce { font-size: 0.92rem; line-height: 1.65; color: #3E4A57; }

.cb-guide-wave { display: block; width: 100%; height: 28px; }

.cb-guide-cta-final {
  background: linear-gradient(150deg, #6B4CDB 0%, #815EE5 55%, #9B7CEE 100%);
  padding: 56px 24px 64px; text-align: center; position: relative; overflow: hidden;
}
.cb-guide-cta-final-mascot { width: 130px; margin: 0 auto 20px; display: block; filter: drop-shadow(0 18px 24px rgba(29,10,74,0.35)); }
.cb-guide-cta-final h2 { color: #fff; font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.cb-guide-cta-final p { color: #F1ECFC; max-width: 480px; margin: 0 auto 22px; line-height: 1.6; }
.cb-guide-cta-final a.btn { display: inline-block; background: #fff; color: #5022D3; font-weight: 700; padding: 14px 32px; border-radius: 999px; }
.cb-guide-cta-final a.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,0,0,0.2); }

.cb-guide-index-grid { display: flex; flex-wrap: wrap; gap: 20px; max-width: 1000px; margin: 0 auto; padding: 0 24px 80px; }
.cb-guide-index-card {
  flex: 1 1 260px; max-width: 300px; background: #fff; border: 1.5px solid rgba(35,48,72,0.08); border-radius: 20px;
  padding: 24px; box-shadow: var(--shadow-card); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cb-guide-index-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.cb-guide-index-card .emoji { font-size: 1.6rem; margin-bottom: 10px; }
.cb-guide-index-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; color: var(--marine); }
.cb-guide-index-card p { color: var(--slate); font-size: 0.88rem; margin-bottom: 14px; }
.cb-guide-index-card a.link { font-weight: 700; font-size: 0.88rem; color: var(--turquoise-dark); }

@media (max-width: 640px) {
  .cb-guide-hero { padding-top: 120px; padding-bottom: 70px; }
  .cb-guide-hero h1 { font-size: 1.6rem; }
  .cb-guide-photo-wrap { margin-top: -40px; }
  .cb-guide-photo-wrap img { height: 180px; border-radius: 20px; }
  .cb-guide-sommaire-card, .cb-guide-unlock-card, .cb-guide-encart, .cb-guide-astuce { padding: 20px 18px; }
  .cb-guide-pillar-section { padding: 44px 18px 24px; }
  .cb-guide-welcome-inner { flex-direction: column; gap: 10px; }
  .cb-guide-welcome { position: static; }
  .cb-guide-accordion-item summary { padding: 15px 16px; gap: 10px; }
  .cb-guide-accordion-body { padding: 4px 16px 16px 16px; }
  .cb-guide-accordion-title { font-size: 0.95rem; }
}
@media (max-width: 420px) {
  .cb-guide-checklist-grid { grid-template-columns: minmax(0, 1fr); }
}
