/* ============================================================
   TOKENS & RESET SCOPÉ
============================================================ */
.cg *, .cg *::before, .cg *::after { box-sizing: border-box; }
.cg {
  font-family: "Lato", sans-serif;
  color: #1a0028;

  --c-deep:     #2a0040;
  --c-purple:   #581259;
  --c-bright:   #7b1fa2;
  --c-pink:     #ff0080;
  --c-pink-d:   #bf0060;
  --c-pink-l:   #ff6ec7;
  --c-gold:     #ffbc79;
  --c-gold-l:   #ffe4b5;
  --c-white:    #ffffff;
  --c-bg:       #fdf5ff;
  --c-muted:    #6b4080;
  --c-border:   rgba(89,18,89,0.12);
  --c-shadow:   0 3px 20px rgba(89,18,89,0.09);
  --c-shadow-h: 0 10px 36px rgba(255,0,128,0.15);
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  22px;
  --r-pill:999px;
}

/* Override CMS : h1-h5 dans .cg ne doivent PAS hériter du gradient CMS */
.cg h1,.cg h2,.cg h3,.cg h4,.cg h5, .edito_txt_o h1{
  background: none !important;
}

/* ── Utilitaires ── */
.cg .u-center { text-align: center; }
.cg .u-mt24  { margin-top: 24px; }
.cg .u-mt40  { margin-top: 40px; }
.cg .u-mt48  { margin-top: 48px; }

/* ============================================================
   H1 SEO (visible, sous le hero)
============================================================ */
.cg .cg-h1, .edito_txt_o h1 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--c-purple);
  margin: 0 0 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.cg .cg-h1 em {
  font-style: normal;
  color: var(--c-pink);
}

/* ============================================================
   HERO STRIP
============================================================ */
.cg .cg-hero {
  background: linear-gradient(135deg, var(--c-deep) 0%, var(--c-purple) 60%, #7b1a6b 100%);
  border-radius: var(--r-lg);
  padding: clamp(28px, 5vw, 52px) clamp(20px, 4vw, 48px);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.cg .cg-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,0,128,0.18), transparent 70%);
  pointer-events: none;
}
.cg .cg-hero__badge {
  display: inline-block;
  background: rgba(255,188,121,0.18);
  border: 1px solid rgba(255,188,121,0.38);
  color: var(--c-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.cg .cg-hero__title {
  font-family: "Source Sans Pro", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 12px;
}
.cg .cg-hero__title em {
  font-style: normal;
  color: var(--c-gold);
}
.cg .cg-hero__sub {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 0 22px;
}
.cg .cg-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 40px);
  margin-bottom: 24px;
}
.cg .cg-stat__num {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--c-gold);
  line-height: 1;
}
.cg .cg-stat__lbl {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.cg .cg-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.cg .cg-trust__pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.82);
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: var(--r-pill);
}

/* Bouton principal */
.cg .cg-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--c-pink), var(--c-pink-d));
  color: #fff !important;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: var(--r-pill);
  text-decoration: none !important;
  box-shadow: 0 5px 22px rgba(255,0,128,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.cg .cg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255,0,128,0.5);
  color: #fff !important;
}

/* ============================================================
   BLOC 2 COLONNES (intro + sidebar, webcam)
============================================================ */
.cg .cg-2col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
}
@media (max-width: 860px) {
  .cg .cg-2col { grid-template-columns: 1fr; }
}

/* Colonne principale */
.cg .cg-2col__main h2 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--c-purple);
  margin: 0 0 14px;
}
.cg .cg-2col__main p {
  color: #3d1a50;
  line-height: 1.8;
  margin-bottom: 12px;
  font-size: 0.97rem;
}
.cg .cg-2col__main p:last-child { margin-bottom: 0; }
.cg .cg-2col__main strong { color: var(--c-deep); }

/* Checklist */
.cg .cg-checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cg .cg-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: #3d1a50;
  line-height: 1.5;
  padding: 8px 12px;
  background: var(--c-bg);
  border-radius: var(--r-sm);
}
.cg .cg-checklist li::before {
  content: '✓';
  color: var(--c-pink);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Sidebar dark */
.cg .cg-sidebar {
  background: linear-gradient(135deg, var(--c-deep), var(--c-purple));
  border-radius: var(--r-lg);
  padding: 24px 22px;
  color: white;
}
.cg .cg-sidebar h3 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-gold);
  margin: 0 0 14px;
}
.cg .cg-sidebar .cg-checklist { margin-top: 0; }
.cg .cg-sidebar .cg-checklist li {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.08);
}
.cg .cg-sidebar .cg-checklist li::before {
  color: var(--c-gold);
}

/* ============================================================
   SECTION LABEL + TITRE
============================================================ */
.cg .cg-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-pink);
  margin-bottom: 6px;
}
.cg .cg-section-title {
  font-family: "Source Sans Pro", sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--c-deep);
  margin: 0 0 8px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.cg .cg-section-desc {
  font-size: 0.92rem;
  color: var(--c-muted);
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

/* ============================================================
   CRITÈRES — 4 cards blanches
============================================================ */
.cg .cg-criteria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.cg .cg-criterion {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 22px 20px;
  box-shadow: var(--c-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cg .cg-criterion:hover {
  transform: translateY(-3px);
  box-shadow: var(--c-shadow-h);
}
.cg .cg-criterion__icon {
  font-size: 1.7rem;
  margin-bottom: 10px;
  display: block;
}
.cg .cg-criterion h3 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--c-purple);
  margin: 0 0 8px;
}
.cg .cg-criterion p {
  font-size: 0.85rem;
  color: var(--c-muted);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   GUIDE — 4 étapes dark
============================================================ */
.cg .cg-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.cg .cg-step {
  background: linear-gradient(135deg, var(--c-deep), var(--c-purple));
  border-radius: var(--r-md);
  padding: 24px 18px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.07);
}
.cg .cg-step__num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-pink), var(--c-pink-l));
  color: #fff;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 3px 14px rgba(255,0,128,0.35);
}
.cg .cg-step h3 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--c-gold);
  margin: 0 0 8px;
}
.cg .cg-step p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   FAQ ACCORDÉON
============================================================ */
.cg .cg-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.cg .cg-faq__item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--c-shadow);
}
.cg .cg-faq__btn {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  font-family: "Lato", sans-serif;
}
.cg .cg-faq__q {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-deep);
  line-height: 1.4;
}
.cg .cg-faq__arrow {
  color: var(--c-pink);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.25s;
}
.cg .cg-faq__item.open .cg-faq__arrow { transform: rotate(180deg); }
.cg .cg-faq__answer {
  display: none;
  padding: 14px 20px 18px;
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.75;
  border-top: 1px solid var(--c-border);
}
.cg .cg-faq__item.open .cg-faq__answer { display: block; }

/* ============================================================
   NOTE LÉGALE
============================================================ */
.cg .cg-legal {
  font-size: 0.77rem;
  color: #aaa;
  text-align: center;
  padding: 14px 0 4px;
  border-top: 1px solid var(--c-border);
  margin-top: 20px;
}
.cg .cg-legal a { color: var(--c-pink); text-decoration: underline; }

/* ============================================================
   RESPONSIVE GLOBAL
============================================================ */
@media (max-width: 600px) {
  .cg .cg-hero  { padding: 24px 18px; }
  .cg .cg-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .cg .cg-steps { grid-template-columns: 1fr; }
}