/* Gestion by Belentia, DA v3.3 : guide d'utilisation, page Associations et pages anglaises (24/09/2026).
   Les anciennes classes de ces pages (hero, card, concept, steps, uc, compare, faq, cta…) sont
   restylées ici, sous .gx, avec les jetons de base.css : blanc, filets 1 px, émeraude en touches, aucune ombre. */

.gx { color: var(--text); padding-bottom: var(--space-8); }
.gx .wrap, .gx.wrap { max-width: 880px; margin-inline: auto; padding-inline: var(--gutter); }
.gx h1, .gx h2, .gx h3 { font-family: var(--font-title); color: var(--ink); letter-spacing: -.02em; }
.gx h1 { font-size: clamp(34px, 5.4vw, 52px); line-height: 1.06; letter-spacing: -.028em; margin: var(--space-2) 0 var(--space-3); text-wrap: balance; }
.gx h2 { font-size: clamp(24px, 3.2vw, 32px); line-height: 1.15; margin: 0 0 var(--space-2); text-wrap: balance; }
.gx h3 { font-size: 19px; line-height: 1.3; margin: 0 0 6px; }
.gx p { line-height: 1.65; }
.gx a:not(.btn) { color: var(--accent); }

/* Héro */
.gx .hero { padding-block: var(--space-8) var(--space-5); border: 0; } /* padding-block seul : garde la gouttière de .wrap (24/09) */
.gx .hero > p, .gx .hero-lead, .gx .hero p { font-size: 19px; color: var(--muted); max-width: 62ch; margin: 0; }
.gx .hero h1 + button, .gx .hero h1 + .btn { margin-top: var(--space-2); }
.gx .kick, .gx .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: none; padding: 0; }
.gx .kick::before, .gx .eyebrow:not(:has(i))::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.gx .eyebrow i { color: var(--accent); font-size: 18px; }
.gx .crumb { font-size: 15px; color: var(--muted); margin-bottom: var(--space-3); }
.gx .crumb a { color: var(--muted); text-decoration: none; }
.gx .crumb a:hover { color: var(--ink); }
.gx .hero-actions, .gx .actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }

/* Boutons : mêmes formes que .btn de base.css */
.gx .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--canvas); color: var(--ink); font: 600 16px var(--font-body); text-decoration: none; cursor: pointer; }
.gx .btn:hover { border-color: var(--ink); }
.gx .btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.gx .btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

/* Sections */
.gx section, .gx .section { padding: var(--space-6) 0; border: 0; border-top: 1px solid var(--line); }
.gx .section.alt { background: var(--soft); border-top: 0; }
.gx .hero + section, .gx .wrap.hero + section { border-top: 0; }
.gx .section-head { max-width: 62ch; margin-bottom: var(--space-4); }
.gx .section-head p, .gx .lead { color: var(--muted); font-size: 18px; }

/* Cartes et grilles */
.gx .grid, .gx .concepts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin: var(--space-3) 0; }
.gx .card, .gx .concept, .gx .step { background: var(--canvas); border: 1px solid var(--line); border-radius: 16px; padding: var(--space-3); box-shadow: none; }
.gx .card i { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 22px; margin-bottom: var(--space-2); }
.gx .card p, .gx .concept p, .gx .step p { color: var(--text); margin: 0; font-size: 16px; }
.gx .concept .n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 15px var(--font-title); margin-bottom: 10px; }
.gx .concept b { font-family: var(--font-title); color: var(--ink); }
.gx .workflow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }

/* Étapes du guide (HowTo) */
.gx .steps { counter-reset: s; list-style: none; margin: var(--space-3) 0 0; padding: 0; }
.gx .steps > li { position: relative; padding: 0 0 var(--space-3) 52px; margin-left: 16px; border-left: 1px solid var(--line); }
.gx .steps > li:last-child { border-left-color: transparent; }
.gx .steps > li::before { counter-increment: s; content: counter(s); position: absolute; left: -16px; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--canvas); border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font: 700 14px var(--font-title); }
.gx .steps b { font-family: var(--font-title); font-size: 18px; color: var(--ink); }
.gx .steps p { margin: 4px 0 0; color: var(--text); }
.gx .tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 2px 10px; border-radius: 999px; margin-left: 6px; }

/* Chips de cas d'usage */
.gx .usecases { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-2); }
.gx .uc { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 13px; font-size: 15px; font-weight: 600; color: var(--ink); }
.gx .uc i { font-size: 18px; line-height: 1; color: var(--ink); }

/* Encadré « limite » et tableau comparatif */
.gx .boundary { display: flex; gap: var(--space-2); align-items: flex-start; margin-top: var(--space-5); padding: var(--space-3); border: 1px solid color-mix(in srgb, var(--accent) 30%, #fff); background: color-mix(in srgb, var(--accent) 9%, #fff); border-radius: 16px; }
.gx .boundary i { font-size: 24px; color: var(--accent); }
.gx .boundary strong { display: block; color: var(--ink); font-family: var(--font-title); margin-bottom: 4px; }
.gx .compare { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--canvas); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.gx .compare th, .gx .compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.gx .compare th { font: 600 14px var(--font-body); color: var(--muted); background: var(--soft); }
.gx .compare tr:last-child td { border-bottom: 0; }

/* FAQ (details) */
.gx .faq details, .gx details { border-bottom: 1px solid var(--line); padding: var(--space-2) 0; }
.gx .faq summary, .gx details summary { cursor: pointer; font: 600 18px var(--font-title); color: var(--ink); list-style: none; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.gx details summary::-webkit-details-marker { display: none; }
.gx details summary::after { content: "+"; font: 400 24px var(--font-body); color: var(--muted); }
.gx details[open] summary::after { content: "–"; }
.gx details p { margin: var(--space-1) 0 0; color: var(--text); }

/* Captures du guide */
.gx figure { margin: var(--space-3) 0; }
.gx figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; display: block; }
.gx figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* Bandeau final : teinte légère au lieu d'un aplat */
.gx .cta { background: color-mix(in srgb, var(--accent) 5%, #fff); border: 1px solid var(--line); border-radius: 20px; padding: var(--space-5) var(--space-3); text-align: center; margin: var(--space-6) auto; color: var(--text); }
.gx .cta h2 { color: var(--ink); }
.gx .cta p { color: var(--muted); margin: 0 0 var(--space-3); }
.gx .cta .btn { background: var(--accent); border-color: var(--accent); color: #fff; }

@media (max-width: 720px) {
  .gx .grid, .gx .concepts, .gx .workflow { grid-template-columns: 1fr; }
  .gx .hero { padding-top: var(--space-5); }
  .gx .btn { width: 100%; }
  .gx .compare, .gx .compare tbody, .gx .compare tr, .gx .compare td { display: block; width: 100%; }
  .gx .compare thead { display: none; }
  .gx .compare td { border-bottom: 0; padding: 6px 16px; }
  .gx .compare tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
}
@media print {
  .nav, .footer, .mobile-panel, .noprint, .gx .cta { display: none !important; }
  .gx section { padding: 10px 0; border: 0; }
}

/* Pages anglaises : le héros montre une vraie capture de l'app dans le téléphone du kit. */
.gx .hero--device { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: center; gap: var(--space-6, 48px); }
.gx .hero--device .hero__phone { --dv-w: 290px; margin: 0; }
@media (max-width: 860px) {
  .gx .hero--device { grid-template-columns: minmax(0, 1fr); gap: var(--space-4, 32px); }
  .gx .hero--device .hero__phone { --dv-w: min(74vw, 290px); justify-self: center; }
}

/* Passe 9,5 (24/09) — guide : l'impression suit le chapô, en lien discret ; 48 px (--space-6) entre le héros et « À quoi ça sert ? ». */
.gx .hero--guide { padding-bottom: 0; }
.gx .hero--guide + section { border-top: 0; }
.gx .print-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: var(--space-2); padding: 0; border: 0; background: none; color: var(--muted); font: 600 15px var(--font-body); cursor: pointer; }
.gx .print-link i { font-size: 19px; color: var(--accent); }
.gx .print-link:hover { color: var(--ink); }
.gx .print-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }

/* Étapes des pages anglaises : pastille discrète, comme les idées clés du guide FR (plus de « 1. » dans le titre). */
.gx .card .n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 15px var(--font-title); margin-bottom: 10px; }
.gx .card h2 { font-size: clamp(22px, 2.4vw, 26px); }

/* Guide — « Un aperçu de l'app » : vraies captures v3.3 dans les appareils du kit (ordinateur + téléphone qui défile). */
.gx .guide-duo { margin: var(--space-4) auto var(--space-5); }
.gx .guide-duo figure { margin: 0; }
.gx .guide-duo img { border: 0; border-radius: 0; }
.gx .guide-duo img[data-zoom] { cursor: zoom-in; }
.gx .guide-duo-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.gx .guide-duo-legend b { color: var(--ink); }
@media (max-width: 720px) {
  .gx .guide-duo > .dv--laptop { display: none; }
  .gx .guide-duo > .dv--phone { --dv-w: min(74vw, 290px); position: relative; right: auto; bottom: auto; width: var(--dv-w); margin: 0 auto; }
  .gx .guide-duo-legend { grid-template-columns: 1fr; }
  .gx .guide-duo-legend li:first-child { display: none; }
}
@media print {
  .gx .guide-duo > .dv--phone { display: none; }
  .gx .guide-duo > .dv--laptop { width: 100%; }
}

/* Pages anglaises : 3 cartes sur une seule ligne au-dessus de 720 px (plus de carte seule sur la deuxième ligne). */
@media (min-width: 721px) {
  .gx .grid:has(> .card:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
