/*
 * piliers.css — CSS partagé des 3 pages pilier (projet, creation, gestion)
 * Chaque page surcharge les 4 variables d'accent dans son propre fichier CSS.
 *
 *   :root { --page-accent: ...; --page-accent-dark: ...; --page-accent-bg: ...; --page-accent-soft: ...; }
 */

/* ── VARIABLES NOUVELLES (pas dans main.css) ────────────────── */
:root {
  --page-accent:      #fd1d1d;
  --page-accent-dark: #dc2626;
  --page-accent-bg:   #fff1f2;
  --page-accent-soft: rgba(253,29,29,.1);
  --brand-gradient: linear-gradient(135deg,#fcb045 0%,#fd1d1d 50%,#833ab4 100%);
  --brand-soft:     linear-gradient(135deg,rgba(252,176,69,.1) 0%,rgba(253,29,29,.08) 50%,rgba(131,58,180,.1) 100%);
  --bg-alt: #f8f9ff;
  --t: 180ms ease;
}

/* Pas de padding-top sur site-main pour les pages pilier */
.site-main{padding-top:0}

/* ── TYPOGRAPHY UTILITAIRES ─────────────────────────────────── */
.gradient-text{background:var(--brand-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.gradient-bar{height:4px;background:var(--brand-gradient);width:48px;border-radius:var(--r-full);margin:0 auto 14px;flex-shrink:0}
.section-eyebrow{display:flex;justify-content:center;margin-bottom:14px}
.section-title{font-family:var(--font-head);font-size:clamp(28px,4vw,42px);font-weight:700;line-height:1.2;color:var(--text);text-align:center}
.section-subtitle{text-align:center;color:var(--text-muted);font-size:17px;max-width:560px;margin:14px auto 0;line-height:1.7}

/* ── BADGES ─────────────────────────────────────────────────── */
.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 14px;border-radius:var(--r-full);font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.badge-accent{background:var(--page-accent-soft);border:1px solid color-mix(in srgb,var(--page-accent) 30%,transparent);color:var(--page-accent-dark)}
.badge-brand{background:var(--brand-soft);border:1px solid rgba(131,58,180,.15);color:var(--purple)}
.badge-coming{background:rgba(148,163,184,.08);border:1px solid rgba(148,163,184,.2);color:var(--text-light)}
.badge-service{background:rgba(252,176,69,.12);border:1px solid rgba(252,176,69,.2);color:#92400e}
.badge-white{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);color:#fff}

/* ── BOUTONS ────────────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 28px;border-radius:var(--r-md);font-family:var(--font-head);font-size:15px;font-weight:600;transition:all var(--t);white-space:nowrap;cursor:pointer;border:none;text-decoration:none}
.btn-grad{background:var(--brand-gradient);color:#fff;box-shadow:0 4px 20px rgba(131,58,180,.3)}.btn-grad:hover{transform:translateY(-2px);box-shadow:0 8px 32px rgba(131,58,180,.4)}
.btn-accent{background:var(--page-accent);color:#fff}.btn-accent:hover{background:var(--page-accent-dark);transform:translateY(-2px);box-shadow:0 8px 24px color-mix(in srgb,var(--page-accent) 50%,transparent)}
.btn-outline{background:transparent;color:var(--page-accent-dark);border:2px solid var(--page-accent)}.btn-outline:hover{background:var(--page-accent);color:#fff}
.btn-outline-dark{background:transparent;color:var(--text);border:1.5px solid var(--border);text-decoration:none}.btn-outline-dark:hover{border-color:var(--page-accent);color:var(--page-accent-dark)}
.btn-ghost-white{background:rgba(255,255,255,.1);color:#fff;border:1.5px solid rgba(255,255,255,.25)}.btn-ghost-white:hover{background:rgba(255,255,255,.18)}
.btn-ghost-dark{background:rgba(255,255,255,.07);color:#fff;border:1.5px solid rgba(255,255,255,.18);border-radius:var(--r-md);padding:14px 28px;font-family:var(--font-head);font-size:15px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;transition:all var(--t);cursor:pointer;text-decoration:none}.btn-ghost-dark:hover{background:rgba(255,255,255,.12)}

/* ── BARRE GRADIENT ─────────────────────────────────────────── */
.grad-bar{height:4px;background:var(--brand-gradient)}

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-muted);margin-bottom:22px;flex-wrap:wrap}
.breadcrumb a{color:var(--text-muted);transition:color var(--t)}.breadcrumb a:hover{color:var(--text)}
.breadcrumb-sep{color:var(--text-light)}
.breadcrumb-current{color:var(--page-accent-dark);font-weight:600}

/* ── HERO ───────────────────────────────────────────────────── */
.hero{padding:80px 0 88px;background:linear-gradient(180deg,var(--page-accent-bg) 0%,var(--bg) 100%);border-bottom:1px solid var(--border-light);position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:-80px;right:-80px;width:500px;height:500px;border-radius:50%;background:radial-gradient(circle,var(--page-accent-soft) 0%,transparent 70%);pointer-events:none}
.hero-inner{display:grid;grid-template-columns:1fr 400px;gap:64px;align-items:center;position:relative}
.hero-step-tag{display:inline-flex;align-items:center;gap:10px;padding:6px 16px;background:var(--page-accent-soft);border:1px solid color-mix(in srgb,var(--page-accent) 30%,transparent);border-radius:var(--r-full);font-size:12px;font-weight:700;color:var(--page-accent-dark);letter-spacing:.05em;text-transform:uppercase;margin-bottom:20px}
.hero-step-dot{width:22px;height:22px;border-radius:6px;background:var(--page-accent);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;color:#fff;font-family:var(--font-head)}
.hero h1{font-family:var(--font-head);font-size:clamp(34px,4.5vw,54px);font-weight:800;line-height:1.12;color:var(--text);letter-spacing:-.025em;margin-bottom:18px}
.hero-desc{font-size:17px;line-height:1.7;color:var(--text-muted);margin-bottom:32px;max-width:520px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:36px}
.hero-stats{display:flex;gap:0;padding-top:32px;border-top:1px solid var(--border)}
.hero-stat{flex:1;padding-right:24px;border-right:1px solid var(--border)}.hero-stat:last-child{border-right:none;padding-right:0;padding-left:24px}.hero-stat:first-child{padding-left:0}
.hero-stat-value{font-family:var(--font-head);font-size:20px;font-weight:800;color:var(--page-accent-dark);margin-bottom:3px}
.hero-stat-label{font-size:12px;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em}

/* Hero card */
.hero-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-xl);padding:30px;box-shadow:var(--shadow-lg);position:relative;overflow:hidden}
.hero-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:var(--page-accent)}
.hero-card-title{font-family:var(--font-head);font-size:15px;font-weight:700;color:var(--text);margin-bottom:18px}
.hero-card-cta{margin-top:18px;padding-top:16px;border-top:1px solid var(--border-light)}
.hero-cta-label{font-size:12px;color:var(--text-light);margin-bottom:10px}

/* Hero card — checklist (projet) */
.hero-checklist{display:flex;flex-direction:column;gap:11px}
.hero-check{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:var(--text)}
.hero-check-icon{width:20px;height:20px;border-radius:50%;background:var(--page-accent-soft);display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px}

/* Hero card — statuts (création) */
.hero-statuts{display:flex;flex-direction:column;gap:9px}
.hero-statut{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-radius:var(--r-md);border:1px solid var(--border-light);transition:all var(--t)}
.hero-statut:hover{border-color:color-mix(in srgb,var(--page-accent) 30%,transparent);background:var(--page-accent-bg)}
.hero-statut-name{font-size:14px;font-weight:600;color:var(--text)}
.hero-statut-tag{font-size:11px;font-weight:700;padding:2px 9px;border-radius:var(--r-full)}
.hst-free{background:rgba(34,197,94,.1);color:#166534}
.hst-paid{background:rgba(252,176,69,.12);color:#92400e}

/* Hero card — obligations (gestion) */
.hero-obligations{display:flex;flex-direction:column;gap:0}
.hero-oblig{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--border-light)}.hero-oblig:last-child{border-bottom:none}
.hero-oblig-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.hod-p{background:var(--page-accent)}.hod-o{background:var(--orange)}.hod-r{background:var(--red)}
.hero-oblig-name{font-size:13px;font-weight:600;color:var(--text);flex:1}
.hero-oblig-freq{font-size:11px;color:var(--text-light)}

/* ── JOURNEY ────────────────────────────────────────────────── */
.journey{background:var(--surface);border-bottom:1px solid var(--border)}
.journey-inner{display:flex}
.journey-step{flex:1;display:flex;align-items:center;gap:14px;padding:18px 24px;border-right:1px solid var(--border);text-decoration:none;transition:background var(--t);position:relative}
.journey-step:last-child{border-right:none}
.journey-step:hover:not(.active){background:var(--border-light)}
.journey-step.active{background:var(--page-accent-soft)}
.journey-step.active::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--page-accent)}
.journey-num{width:32px;height:32px;border-radius:8px;font-family:var(--font-head);font-size:13px;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.journey-step.active .journey-num{background:var(--page-accent);color:#fff}
.journey-step:not(.active) .journey-num{background:var(--border-light);color:var(--text-muted)}
.journey-step-label{font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;margin-bottom:2px}
.journey-step.active .journey-step-label{color:var(--page-accent-dark)}
.journey-step:not(.active) .journey-step-label{color:var(--text-light)}
.journey-step-name{font-family:var(--font-head);font-size:13px;font-weight:600}
.journey-step.active .journey-step-name{color:var(--text)}
.journey-step:not(.active) .journey-step-name{color:var(--text-muted)}
.journey-step-meta{font-size:11px;color:var(--text-light);margin-top:1px}

/* ── GUIDE GRID ─────────────────────────────────────────────── */
.guides-section{background:var(--surface);padding:80px 0}
.guides-header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:48px}
.guides-header-left{display:flex;flex-direction:column;gap:10px}
.guides-eyebrow{display:flex;align-items:center;gap:12px}
.guides-eyebrow-bar{width:36px;height:3px;background:var(--brand-gradient);border-radius:var(--r-full)}
.guides-count-badge{display:inline-flex;align-items:center;padding:4px 12px;border-radius:var(--r-full);background:var(--page-accent-soft);border:1px solid color-mix(in srgb,var(--page-accent) 25%,transparent);font-size:12px;font-weight:700;color:var(--page-accent-dark);letter-spacing:.05em;text-transform:uppercase}
.guides-title{font-family:var(--font-head);font-size:clamp(24px,3vw,36px);font-weight:700;color:var(--text);line-height:1.2}
.guides-subtitle{font-size:15px;color:var(--text-muted);line-height:1.6}
.guides-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:48px}
.guide-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);overflow:hidden;padding:30px;display:flex;flex-direction:column;gap:14px;transition:all var(--t)}
.guide-card:not(.coming):hover{background:var(--page-accent-bg);border-color:var(--page-accent)}
.guide-card.coming{opacity:.65;cursor:default}
.guide-num{font-family:var(--font-head);font-size:12px;font-weight:800;letter-spacing:.04em;background:var(--brand-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.guide-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.guide-icon{width:46px;height:46px;border-radius:var(--r-md);background:var(--page-accent-soft);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.guide-badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:var(--r-full);font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;margin-bottom:8px}
.guide-badge-start{background:var(--page-accent-soft);border:1px solid color-mix(in srgb,var(--page-accent) 25%,transparent);color:var(--page-accent-dark)}
.guide-badge-coming{background:rgba(152,152,184,.08);border:1px solid rgba(152,152,184,.2);color:var(--text-light)}
.guide-body h3{font-family:var(--font-head);font-size:15px;font-weight:700;color:var(--text);line-height:1.38;margin-bottom:7px}
.guide-body p{font-size:13px;color:var(--text-muted);line-height:1.65}
.guide-footer-row{display:flex;align-items:center;justify-content:space-between;padding-top:14px;border-top:1px solid var(--border-light);margin-top:auto}
.guide-meta{font-size:12px;color:var(--text-light);display:flex;align-items:center;gap:5px}
.guide-link{font-size:13px;font-weight:700;color:var(--page-accent-dark);display:flex;align-items:center;gap:4px;transition:gap var(--t);text-decoration:none}.guide-link:hover{gap:8px}
.guide-link-disabled{font-size:13px;color:var(--text-light)}

/* Guide card cover (image) */
.guide-card-cover{height:160px;margin:-30px -30px 16px;border-radius:0;overflow:hidden;background:linear-gradient(135deg,var(--page-accent-soft),var(--bg-alt));position:relative;flex-shrink:0}
.guide-card-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.guide-card:not(.coming):hover .guide-card-cover img{transform:scale(1.03)}

/* ── BANNER — FORMALITÉS (création) ────────────────────────── */
.formalites-banner{background:var(--text);border-radius:var(--r-xl);padding:48px 56px;display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center;position:relative;overflow:hidden;margin-top:48px}
.formalites-banner::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:var(--brand-gradient)}
.fb-tag{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;background:rgba(253,29,29,.15);border:1px solid rgba(253,29,29,.25);border-radius:var(--r-full);font-size:11px;font-weight:700;color:#fca5a5;letter-spacing:.06em;text-transform:uppercase;margin-bottom:12px}
.formalites-banner h2{font-family:var(--font-head);font-size:clamp(20px,2.2vw,28px);font-weight:700;color:#fff;line-height:1.25;margin-bottom:10px}
.formalites-banner p{color:rgba(255,255,255,.55);font-size:15px;line-height:1.65;max-width:520px}
.fb-price{display:flex;align-items:baseline;gap:4px;margin-top:14px}
.fb-price-value{font-family:var(--font-head);font-size:28px;font-weight:800;background:var(--brand-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.fb-price-label{font-size:14px;color:rgba(255,255,255,.4)}
.fb-buttons{display:flex;flex-direction:column;gap:10px;min-width:200px;position:relative;z-index:1}

/* ── BANNER — ABONNEMENT (gestion) ─────────────────────────── */
.abonnement-banner{background:var(--bg-alt);border:1px solid var(--border);border-radius:var(--r-xl);padding:48px 56px;display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center;position:relative;overflow:hidden;margin-top:48px}
.abonnement-banner::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:var(--page-accent)}
.ab-tag{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;background:var(--page-accent-soft);border:1px solid color-mix(in srgb,var(--page-accent) 25%,transparent);border-radius:var(--r-full);font-size:11px;font-weight:700;color:var(--page-accent-dark);letter-spacing:.06em;text-transform:uppercase;margin-bottom:12px}
.abonnement-banner h3{font-family:var(--font-head);font-size:clamp(18px,2vw,24px);font-weight:700;color:var(--text);line-height:1.25;margin-bottom:10px}
.abonnement-banner p{color:var(--text-muted);font-size:15px;line-height:1.65;max-width:520px}
.ab-price{display:flex;align-items:baseline;gap:4px;margin-top:14px}
.ab-price-value{font-family:var(--font-head);font-size:26px;font-weight:800;color:var(--page-accent)}
.ab-price-label{font-size:14px;color:var(--text-muted)}
.ab-buttons{display:flex;flex-direction:column;gap:10px;min-width:200px}

/* ── CTA SECTION (dark) ─────────────────────────────────────── */
.cta-section,.service-cta-section{background:var(--dark-2);padding:96px 0;position:relative;overflow:hidden}
.cta-inner,.service-cta-inner{display:grid;grid-template-columns:1fr auto;gap:64px;align-items:center;position:relative;z-index:1}
.cta-orb{position:absolute;top:-120px;right:-120px;width:480px;height:480px;border-radius:50%;background:radial-gradient(circle,var(--page-accent-soft) 0%,rgba(131,58,180,.06) 50%,transparent 70%);pointer-events:none}
.cta-tag{display:inline-flex;align-items:center;gap:8px;padding:5px 14px;background:color-mix(in srgb,var(--page-accent) 15%,transparent);border:1px solid color-mix(in srgb,var(--page-accent) 25%,transparent);border-radius:var(--r-full);font-size:11px;font-weight:700;color:color-mix(in srgb,var(--page-accent) 80%,#fff);letter-spacing:.06em;text-transform:uppercase;margin-bottom:18px}
.cta-section h2,.service-cta-section h2{font-family:var(--font-head);font-size:clamp(26px,3.5vw,42px);font-weight:700;color:#fff;line-height:1.2;margin-bottom:14px;max-width:560px}
.cta-section p,.service-cta-section p{color:rgba(255,255,255,.55);font-size:16px;line-height:1.7;max-width:520px;margin-bottom:24px}
.cta-features{display:flex;flex-direction:column;gap:10px;margin-bottom:36px}
.cta-feat{display:flex;align-items:center;gap:10px;font-size:14px;color:rgba(255,255,255,.6)}
.cta-feat-icon{width:18px;height:18px;border-radius:50%;background:color-mix(in srgb,var(--page-accent) 20%,transparent);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cta-buttons{display:flex;flex-direction:column;gap:10px;min-width:220px}

/* ── NEXT STEPS ─────────────────────────────────────────────── */
.next-steps,.next-steps-bg{background:var(--bg-alt);padding:80px 0}
.next-steps-header{margin-bottom:40px}
.next-eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.next-eyebrow-bar{width:36px;height:3px;background:var(--brand-gradient);border-radius:var(--r-full)}
.next-eyebrow-badge{display:inline-flex;align-items:center;padding:4px 12px;border-radius:var(--r-full);background:var(--brand-soft);border:1px solid rgba(131,58,180,.15);font-size:12px;font-weight:700;color:var(--purple);letter-spacing:.05em;text-transform:uppercase}
.next-steps-title{font-family:var(--font-head);font-size:clamp(24px,3vw,36px);font-weight:700;color:var(--text)}
.next-steps-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:40px}
.next-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:30px;text-decoration:none;display:flex;flex-direction:column;gap:12px;transition:all var(--t);position:relative;overflow:hidden}
.next-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px}
.next-card.orange::before,.next-card.card-orange::before{background:var(--orange)}
.next-card.red::before,.next-card.card-red::before{background:var(--red)}
.next-card.purple::before,.next-card.card-purple::before{background:var(--purple)}
.next-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.next-card-label{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.next-card-label.orange{color:var(--orange)}
.next-card-label.red{color:var(--red)}
.next-card-label.purple{color:var(--purple)}
.next-card h3{font-family:var(--font-head);font-size:18px;font-weight:700;color:var(--text)}
.next-card p{font-size:14px;color:var(--text-muted);line-height:1.6}
.next-card-cta{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:700;transition:gap var(--t);margin-top:auto}.next-card-cta:hover{gap:10px}
.next-card-cta.orange{color:var(--orange)}
.next-card-cta.red{color:var(--red)}
.next-card-cta.purple{color:var(--purple)}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-section{background:var(--surface);padding:96px 0}
.faq-list{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:2px}
.faq-item{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);overflow:hidden;transition:border-color var(--t)}
.faq-item+.faq-item{margin-top:8px}
.faq-item.open{border-color:color-mix(in srgb,var(--page-accent) 30%,transparent);box-shadow:0 4px 16px var(--page-accent-soft)}
.faq-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;padding:16px 20px;cursor:pointer;background:none;font-family:var(--font-head);font-size:14px;font-weight:600;color:var(--text);text-align:left;gap:14px;transition:all var(--t);border:none}
.faq-trigger:hover{background:var(--bg);color:var(--page-accent-dark)}
.faq-item.open .faq-trigger{color:var(--page-accent-dark)}
.faq-icon{width:22px;height:22px;border-radius:6px;background:var(--bg);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all var(--t)}
.faq-item.open .faq-icon{background:var(--page-accent-soft);border-color:color-mix(in srgb,var(--page-accent) 30%,transparent);transform:rotate(45deg)}
.faq-body{display:none;padding:0 20px 18px;font-size:14px;color:var(--text-muted);line-height:1.75;border-top:1px solid var(--border-light)}
.faq-item.open .faq-body{display:block;padding-top:14px}

/* FAQ sombre (création, gestion) */
.faq-section.dark{background:var(--text)}
.faq-section.dark .section-title{color:#fff}
.faq-section.dark .faq-list{background:rgba(255,255,255,.05)}
.faq-section.dark .faq-item{background:#111;overflow:hidden;border:none;border-radius:0;margin-top:0}
.faq-section.dark .faq-item.open{background:#1a1a1a;box-shadow:none;border:none}
.faq-section.dark .faq-trigger{color:rgba(255,255,255,.65);border-left:3px solid transparent;padding:20px 26px}
.faq-section.dark .faq-trigger:hover{background:transparent;color:#fff}
.faq-section.dark .faq-item.open .faq-trigger{color:var(--page-accent);border-left-color:var(--page-accent)}
.faq-section.dark .faq-icon{background:rgba(255,255,255,.07);border:none}
.faq-section.dark .faq-item.open .faq-icon{background:var(--page-accent-soft)}
.faq-section.dark .faq-body{border-top:1px solid rgba(255,255,255,.07);padding:0 26px 20px 29px}
.faq-section.dark .faq-item.open .faq-body{padding-top:14px}
.faq-section.dark .faq-body{color:rgba(255,255,255,.48);padding:0 26px 20px 29px}

/* ── FEATURE / WHY SECTION ─────────────────────────────────── */
.feature-section{padding:80px 0;background:var(--page-accent-bg)}
.feature-eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:44px}
.feature-item{background:var(--surface);border:1px solid var(--border);border-top:3px solid var(--page-accent);border-radius:var(--r-lg);padding:28px 26px}
.feature-icon{width:42px;height:42px;border-radius:var(--r-md);background:var(--page-accent-soft);display:flex;align-items:center;justify-content:center;margin-bottom:16px;flex-shrink:0}
.feature-stat{font-family:var(--font-head);font-size:30px;font-weight:900;color:var(--page-accent-dark);margin-bottom:16px;line-height:1;height:42px;display:flex;align-items:center}
.feature-title{font-family:var(--font-head);font-size:17px;font-weight:700;color:var(--text);margin-bottom:10px;line-height:1.3}
.feature-body{font-size:14px;color:var(--text-muted);line-height:1.65}

/* ── PHASES SECTION (projet) ────────────────────────────────── */
.phases-section{padding:80px 0;background:var(--surface)}
.phases-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:44px}
.phase-card{background:var(--bg);border:1px solid var(--border);border-radius:var(--r-lg);padding:28px 26px;position:relative;overflow:hidden}
.phase-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--page-accent),var(--page-accent-dark))}
.phase-num{font-family:var(--font-head);font-size:12px;font-weight:800;color:var(--page-accent-dark);text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px}
.phase-title{font-family:var(--font-head);font-size:22px;font-weight:800;color:var(--text);margin-bottom:4px;line-height:1.15}
.phase-duration{font-size:13px;color:var(--text-light);font-weight:500;margin-bottom:16px}
.phase-list{display:flex;flex-direction:column;gap:8px;margin:0 0 18px}
.phase-list-item{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:var(--text-2);line-height:1.5}
.phase-dot{width:6px;height:6px;border-radius:50%;background:var(--page-accent);flex-shrink:0;margin-top:5px}
.phase-btn{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--page-accent-dark);transition:gap var(--t);text-decoration:none}.phase-btn:hover{gap:9px}

/* ── COMPARISON TABLE (création) ────────────────────────────── */
.compare-section{padding:80px 0;background:var(--page-accent-bg)}
.compare-table-wrap{overflow-x:auto;margin-top:44px;border-radius:var(--r-lg);box-shadow:0 1px 4px rgba(0,0,0,.05);border:1px solid var(--border)}
.compare-table{width:100%;border-collapse:collapse;background:var(--surface);min-width:520px}
.compare-table th{padding:14px 18px;font-family:var(--font-head);font-size:13px;font-weight:700;color:var(--text);background:var(--page-accent-bg);border-bottom:2px solid var(--border);text-align:left}
.compare-table th:first-child{color:var(--text-muted);font-weight:600;width:140px}
.compare-table td{padding:13px 18px;font-size:13px;color:var(--text-2);border-bottom:1px solid var(--border);vertical-align:top;line-height:1.55}
.compare-table tr:last-child td{border-bottom:none}
.compare-table td:first-child{font-weight:600;color:var(--text);background:var(--bg-alt)}
.compare-table tr:hover td{background:var(--page-accent-soft)}
.compare-tag{display:inline-block;padding:2px 8px;border-radius:var(--r-sm);font-size:11px;font-weight:700;font-family:var(--font-head)}
.compare-tag-good{background:rgba(34,197,94,.12);color:#15803d}
.compare-tag-warn{background:rgba(245,158,11,.12);color:#b45309}
.compare-note{font-size:13px;color:var(--text-muted);margin-top:14px;padding:12px 16px;background:var(--surface);border-left:3px solid var(--page-accent);border-radius:0 var(--r-sm) var(--r-sm) 0;line-height:1.6}

/* ── STATUTS CARDS (création) ───────────────────────────────── */
.statuts-section{padding:80px 0;background:var(--surface)}
.statuts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:44px}
.statut-card{background:var(--bg);border:1px solid var(--border);border-radius:var(--r-lg);padding:28px 26px;display:flex;flex-direction:column}
.statut-card.featured{border-color:var(--page-accent);box-shadow:0 0 0 1px var(--page-accent)}
.statut-top-tag{display:inline-flex;align-items:center;padding:4px 10px;border-radius:var(--r-sm);font-size:11px;font-weight:700;font-family:var(--font-head);background:var(--page-accent-soft);color:var(--page-accent-dark);margin-bottom:14px;align-self:flex-start}
.statut-name{font-family:var(--font-head);font-size:21px;font-weight:800;color:var(--text);margin-bottom:4px}
.statut-subtitle{font-size:13px;color:var(--text-muted);margin-bottom:18px}
.statut-pros,.statut-cons{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.statut-pros-title,.statut-cons-title{font-size:11px;font-weight:700;color:var(--text-light);text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px;font-family:var(--font-head)}
.statut-item{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.5;color:var(--text-2)}
.si-plus{color:var(--page-accent-dark);flex-shrink:0;font-weight:700;line-height:1.5}
.si-minus{color:var(--text-light);flex-shrink:0;font-weight:700;line-height:1.5}
.statut-cta{display:inline-flex;align-items:center;gap:6px;margin-top:auto;padding-top:16px;font-size:13px;font-weight:600;color:var(--page-accent-dark);transition:gap var(--t);text-decoration:none}.statut-cta:hover{gap:9px}

/* ── PILIERS SECTION (gestion) ──────────────────────────────── */
.piliers-section{padding:80px 0;background:var(--surface)}
.piliers-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:44px}
.pilier-card{background:var(--bg);border:1px solid var(--border);border-radius:var(--r-lg);padding:28px 26px}
.pilier-header{display:flex;align-items:flex-start;gap:14px;margin-bottom:16px}
.pilier-icon{width:42px;height:42px;border-radius:var(--r-md);background:var(--page-accent-soft);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.pilier-title{font-family:var(--font-head);font-size:18px;font-weight:800;color:var(--text);margin-bottom:4px;line-height:1.2}
.pilier-subtitle{font-size:13px;color:var(--text-muted)}
.pilier-list{display:flex;flex-direction:column;gap:7px;margin:0 0 14px}
.pilier-item{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:var(--text-2);line-height:1.5}
.pilier-dot{width:5px;height:5px;border-radius:50%;background:var(--page-accent);flex-shrink:0;margin-top:5px}
.pilier-note{background:var(--page-accent-soft);border-radius:var(--r-md);padding:11px 14px;font-size:13px;color:var(--page-accent-dark);margin-bottom:14px;line-height:1.55}
.pilier-link{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--page-accent-dark);transition:gap var(--t);text-decoration:none}.pilier-link:hover{gap:9px}

/* ── TOOLS SECTION (gestion) ────────────────────────────────── */
.tools-section{padding:80px 0;background:var(--bg-alt)}
.tools-categories{display:flex;flex-direction:column;gap:40px;margin-top:44px}
.tools-cat-title{font-family:var(--font-head);font-size:15px;font-weight:700;color:var(--text);padding-bottom:10px;border-bottom:2px solid var(--page-accent);display:flex;align-items:center;gap:8px;margin-bottom:14px}
.tools-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.tool-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:20px 22px}
.tool-name{font-family:var(--font-head);font-size:14px;font-weight:700;color:var(--text);margin-bottom:6px}
.tool-desc{font-size:13px;color:var(--text-muted);line-height:1.6;margin-bottom:8px}
.tool-price{font-size:12px;font-weight:600;color:var(--page-accent-dark)}
.tool-free{font-size:12px;font-weight:700;color:#15803d;background:rgba(34,197,94,.1);padding:2px 8px;border-radius:var(--r-sm);display:inline-block}

/* ── RESOURCES SECTION ──────────────────────────────────────── */
.resources-section{padding:80px 0;background:var(--bg-alt)}
.resources-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:40px}
.resource-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:22px 24px;display:flex;flex-direction:column;gap:6px}
.resource-name{font-family:var(--font-head);font-size:15px;font-weight:700;color:var(--text)}
.resource-desc{font-size:13px;color:var(--text-muted);line-height:1.6}
.resource-url{font-size:12px;font-weight:600;color:var(--page-accent-dark);margin-top:4px}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media(max-width:1100px){
  .hero-inner{grid-template-columns:1fr}
  .hero-card{display:none}
  .guides-grid{grid-template-columns:1fr 1fr}
  .guides-header{flex-direction:column;align-items:flex-start;gap:16px}
  .cta-inner,.service-cta-inner{grid-template-columns:1fr}
  .cta-buttons{flex-direction:row;min-width:unset}
  .formalites-banner{grid-template-columns:1fr}
  .fb-buttons{flex-direction:row;min-width:unset}
  .abonnement-banner{grid-template-columns:1fr}
  .ab-buttons{flex-direction:row;min-width:unset}
  .feature-grid,.phases-grid,.statuts-grid,.tools-grid{grid-template-columns:1fr 1fr}
  .piliers-grid,.resources-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
  .journey-inner{flex-direction:column}
  .journey-step{border-right:none;border-bottom:1px solid var(--border)}
  .guides-grid{grid-template-columns:1fr;gap:16px}
  .next-steps-grid{grid-template-columns:1fr}
  .cta-buttons,.fb-buttons,.ab-buttons{flex-direction:column}
  .formalites-banner,.abonnement-banner{padding:36px 24px}
  .feature-grid,.phases-grid,.statuts-grid,.tools-grid,.piliers-grid,.resources-grid{grid-template-columns:1fr}
}

/* ═══════════════════════════════════════════════════════════════
   GUIDE ARTICLE — styles partagés (utilisés dans views/guides/show.php)
   ═══════════════════════════════════════════════════════════════ */

/* ── READING PROGRESS BAR ───────────────────────────────────── */
#progress-bar{position:fixed;top:0;left:0;height:3px;width:0%;background:var(--brand-gradient);z-index:200;transition:width .1s linear;pointer-events:none}

/* ── DRAFT NOTICE ───────────────────────────────────────────── */
.guide-draft-notice{background:#fef3c7;border-left:4px solid #f59e0b;padding:12px 24px;font-size:14px;color:#92400e;display:flex;align-items:center;gap:10px}
.guide-draft-notice a{margin-left:auto;font-weight:700;text-decoration:underline;color:#92400e}

/* ── GUIDE ARTICLE HERO ─────────────────────────────────────── */
.guide-article-hero{padding:56px 0 48px;background:linear-gradient(180deg,var(--page-accent-bg) 0%,var(--surface) 100%);border-bottom:1px solid var(--border-light);position:relative;overflow:hidden}
.guide-article-hero::before{content:'';position:absolute;top:-60px;right:-60px;width:400px;height:400px;border-radius:50%;background:radial-gradient(circle,var(--page-accent-soft) 0%,transparent 70%);pointer-events:none}
.guide-hero-inner{display:grid;grid-template-columns:1fr 400px;gap:64px;align-items:center;position:relative}
.guide-hero-img-wrap{aspect-ratio:4/3;border-radius:var(--r-xl);overflow:hidden;position:relative;background:var(--page-accent-soft);border:2px dashed color-mix(in srgb,var(--page-accent) 25%,transparent);flex-shrink:0;display:flex;align-items:center;justify-content:center;min-height:220px}
.guide-hero-img-wrap img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;z-index:1}
.guide-cat-tag{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;background:var(--page-accent-soft);border:1px solid color-mix(in srgb,var(--page-accent) 25%,transparent);border-radius:var(--r-full);font-size:11px;font-weight:700;color:var(--page-accent-dark);letter-spacing:.05em;text-transform:uppercase;margin-bottom:18px;text-decoration:none;transition:background var(--t)}
.guide-cat-tag:hover{background:color-mix(in srgb,var(--page-accent) 15%,transparent)}
.guide-article-hero h1{font-family:var(--font-head);font-size:clamp(26px,3.5vw,44px);font-weight:800;line-height:1.12;color:var(--text);letter-spacing:-.025em;margin-bottom:16px}
.guide-hero-desc{font-size:17px;line-height:1.7;color:var(--text-muted);margin-bottom:28px}
.guide-meta-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.guide-meta-item{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text-muted)}
.guide-meta-sep{width:4px;height:4px;border-radius:50%;background:var(--border);display:inline-block;flex-shrink:0}
.guide-hero-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}
.guide-hero-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-full);font-size:12px;font-weight:600;color:var(--text-2)}
.guide-hero-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.guide-hero-tag{font-size:12px;color:var(--text-muted);background:var(--bg-alt);border:1px solid var(--border);padding:3px 10px;border-radius:var(--r-full)}

/* ── GUIDE BODY LAYOUT ──────────────────────────────────────── */
.guide-section{padding:64px 0 96px}
.guide-layout{display:grid;grid-template-columns:220px 1fr 260px;gap:56px;align-items:start}

/* ── TOC SIDEBAR ────────────────────────────────────────────── */
.toc-sidebar{position:sticky;top:88px;max-height:calc(100vh - 120px);overflow-y:auto}
.toc-sidebar::-webkit-scrollbar{width:3px}.toc-sidebar::-webkit-scrollbar-track{background:transparent}.toc-sidebar::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}
.toc-heading{font-family:var(--font-head);font-size:11px;font-weight:700;color:var(--text-light);letter-spacing:.08em;text-transform:uppercase;margin-bottom:14px}
.toc-list{display:flex;flex-direction:column;gap:2px}
.toc-link{display:flex;align-items:flex-start;gap:8px;padding:7px 10px;border-radius:var(--r-sm);font-size:13px;color:var(--text-muted);transition:all var(--t);border-left:2px solid transparent;line-height:1.35;text-decoration:none}
.toc-link:hover{color:var(--text);background:var(--border-light)}
.toc-link.active{color:var(--page-accent-dark);background:var(--page-accent-soft);border-left-color:var(--page-accent);font-weight:600}
.toc-num{font-size:11px;font-weight:800;color:var(--text-light);min-width:18px;font-family:var(--font-head);flex-shrink:0;margin-top:1px}
.toc-link.active .toc-num{color:var(--page-accent)}
.toc-cta-box{margin-top:28px;padding:16px;background:var(--page-accent-soft);border:1px solid color-mix(in srgb,var(--page-accent) 20%,transparent);border-radius:var(--r-md)}
.toc-cta-label{font-size:11px;font-weight:700;color:var(--page-accent-dark);letter-spacing:.05em;text-transform:uppercase;margin-bottom:8px}
.toc-cta-box p{font-size:12px;color:var(--text-muted);line-height:1.55;margin-bottom:12px}
.toc-cta-btn{display:flex;align-items:center;justify-content:center;gap:6px;padding:9px 14px;background:var(--page-accent);color:#fff;border-radius:var(--r-sm);font-family:var(--font-head);font-size:12px;font-weight:700;transition:all var(--t);text-align:center;text-decoration:none}.toc-cta-btn:hover{background:var(--page-accent-dark)}

/* ── ARTICLE CONTENT ────────────────────────────────────────── */
.article{min-width:0}
.article-intro{font-size:16px;line-height:1.85;color:var(--text-2);background:var(--bg);border-left:3px solid var(--border);padding:16px 20px;border-radius:0 var(--r-md) var(--r-md) 0;margin-bottom:48px}
.article h2{font-family:var(--font-head);font-size:clamp(20px,2vw,26px);font-weight:700;color:var(--text);line-height:1.25;margin:56px 0 18px;padding-left:16px;border-left:3px solid var(--page-accent);scroll-margin-top:96px}
.article h2:first-of-type{margin-top:0}
.article h3{font-family:var(--font-head);font-size:17px;font-weight:700;color:var(--text);line-height:1.35;margin:28px 0 10px}
.article h4{font-family:var(--font-head);font-size:15px;font-weight:700;color:var(--text);margin:20px 0 8px}
.article p{font-size:16px;line-height:1.8;color:var(--text-2);margin-bottom:14px}
.article p:last-child{margin-bottom:0}
.article strong{color:var(--text);font-weight:600}
.article ul{margin:10px 0 16px;display:flex;flex-direction:column;gap:6px;padding:0}
.article ul li{display:flex;align-items:flex-start;gap:10px;font-size:15px;line-height:1.65;color:var(--text-2);list-style:none}
.article ul li::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--page-accent);flex-shrink:0;margin-top:8px}
.article ol{margin:10px 0 16px;padding-left:20px}
.article ol li{font-size:15px;line-height:1.65;color:var(--text-2);margin-bottom:6px}
.article table{width:100%;border-collapse:collapse;margin:16px 0;font-size:14px}
.article table th{font-family:var(--font-head);font-weight:700;font-size:12px;letter-spacing:.04em;padding:11px 16px;text-align:left;background:var(--dark);color:#fff}
.article table td{padding:11px 16px;border-bottom:1px solid var(--border-light);color:var(--text-2);vertical-align:top;font-size:13px}
.article table tr:last-child td{border-bottom:none}
.article table tr:hover td{background:var(--bg)}
.article img{max-width:100%;border-radius:var(--r-md);display:block;margin:16px 0}
.article a{color:var(--page-accent-dark);text-decoration:underline;text-underline-offset:2px}
.article .faq-list{max-width:none;margin:20px 0}

/* ── SUMMARY CARD ───────────────────────────────────────────── */
.summary-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:24px;margin-bottom:48px;display:grid;grid-template-columns:repeat(2,1fr);gap:16px;position:relative;overflow:hidden}
.summary-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--brand-gradient)}
.summary-item{display:flex;flex-direction:column;gap:4px}
.summary-label{font-size:11px;font-weight:700;color:var(--text-light);text-transform:uppercase;letter-spacing:.06em}
.summary-value{font-family:var(--font-head);font-size:17px;font-weight:700;color:var(--text)}
.summary-value.green{color:#166534}
.summary-value.accent{color:var(--page-accent-dark)}

/* ── CALLOUTS ───────────────────────────────────────────────── */
.callout{border-radius:var(--r-md);padding:16px 20px;margin:20px 0;display:flex;gap:14px;align-items:flex-start}
.callout-icon{width:20px;height:20px;flex-shrink:0;margin-top:2px}
.callout-body{flex:1}
.callout-title{font-family:var(--font-head);font-size:13px;font-weight:700;margin-bottom:4px}
.callout-text{font-size:14px;line-height:1.65;margin:0}
.callout-tip{background:#f0fdf4;border-left:3px solid #22c55e}.callout-tip .callout-title{color:#166534}.callout-tip .callout-text{color:#15803d}
.callout-info{background:#eff6ff;border-left:3px solid #3b82f6}.callout-info .callout-title{color:#1e40af}.callout-info .callout-text{color:#1e40af}
.callout-warning{background:#fff7ed;border-left:3px solid #f97316}.callout-warning .callout-title{color:#c2410c}.callout-warning .callout-text{color:#9a3412}
.callout-note{background:var(--bg-alt);border-left:3px solid var(--text-light)}.callout-note .callout-title{color:var(--text-2)}.callout-note .callout-text{color:var(--text-muted)}

/* ── PROS/CONS ──────────────────────────────────────────────── */
.pros-cons{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}
.pros-cons-col{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);padding:20px}
.pros-cons-col.pros{border-top:3px solid #22c55e}
.pros-cons-col.cons{border-top:3px solid var(--page-accent)}
.pros-cons-title{font-family:var(--font-head);font-size:13px;font-weight:700;margin-bottom:16px;display:flex;align-items:center;gap:8px}
.pros-cons-col.pros .pros-cons-title{color:#166534}
.pros-cons-col.cons .pros-cons-title{color:var(--page-accent-dark)}
.pros-cons-list{display:flex;flex-direction:column;gap:12px}
.pros-cons-item{display:flex;flex-direction:column;gap:2px}
.pros-cons-item-title{font-size:13px;font-weight:600;color:var(--text);display:flex;align-items:flex-start;gap:8px}
.pros-cons-item-title::before{content:'';width:5px;height:5px;border-radius:50%;flex-shrink:0;margin-top:6px}
.pros .pros-cons-item-title::before{background:#22c55e}
.cons .pros-cons-item-title::before{background:var(--page-accent)}
.pros-cons-item-desc{font-size:13px;line-height:1.6;color:var(--text-muted);padding-left:13px}

/* ── CHECKLIST ──────────────────────────────────────────────── */
.checklist{display:flex;flex-direction:column;gap:8px;margin:16px 0}
.checklist-item{display:flex;align-items:flex-start;gap:12px;padding:12px 16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);font-size:14px;color:var(--text-2);transition:border-color var(--t);line-height:1.5}
.checklist-item:hover{border-color:color-mix(in srgb,var(--page-accent) 30%,transparent)}
.check-icon{width:22px;height:22px;border-radius:50%;background:#f0fdf4;border:1.5px solid #22c55e;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px}

/* ── STEPS ──────────────────────────────────────────────────── */
.steps{display:flex;flex-direction:column;gap:0;margin:20px 0;position:relative}
.steps::before{content:'';position:absolute;left:19px;top:24px;bottom:24px;width:2px;background:var(--border);z-index:0}
.step-card{display:flex;gap:20px;align-items:flex-start;position:relative;z-index:1;padding:0 0 28px}
.step-card:last-child{padding-bottom:0}
.step-num{width:40px;height:40px;border-radius:var(--r-md);background:var(--page-accent);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-family:var(--font-head);font-size:15px;font-weight:800;color:#fff}
.step-body{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);padding:20px 22px;flex:1;transition:border-color var(--t)}
.step-body:hover{border-color:color-mix(in srgb,var(--page-accent) 30%,transparent)}
.step-title{font-family:var(--font-head);font-size:15px;font-weight:700;color:var(--text);margin-bottom:8px}
.step-desc{font-size:14px;line-height:1.7;color:var(--text-muted)}
.step-desc p{margin-bottom:8px;font-size:14px;line-height:1.7;color:var(--text-muted)}
.step-desc p:last-child{margin-bottom:0}
.step-desc ul{margin:8px 0}
.step-desc li{font-size:14px;color:var(--text-muted);list-style:none;padding-left:0}
.step-desc li::before{display:none}
.step-tag{display:inline-flex;align-items:center;padding:3px 10px;border-radius:var(--r-full);font-size:11px;font-weight:700;margin-top:10px;background:#dcfce7;color:#166534}
.step-resume{background:var(--bg-alt);border:1px solid var(--border);border-radius:var(--r-md);padding:18px 22px;margin-top:20px}
.step-resume-title{font-family:var(--font-head);font-size:13px;font-weight:700;color:var(--text);margin-bottom:10px}
.step-resume ul{margin:0;padding:0}
.step-resume li{font-size:13px;color:var(--text-muted);list-style:none}

/* ── COSTS / RECAP TABLES ───────────────────────────────────── */
.costs-table,.recap-table{width:100%;border-collapse:collapse;margin:16px 0;font-size:14px}
.costs-table thead tr,.recap-table thead tr{background:var(--dark);color:#fff}
.costs-table th,.recap-table th{font-family:var(--font-head);font-weight:700;font-size:12px;letter-spacing:.04em;padding:11px 16px;text-align:left;color:#fff}
.costs-table td,.recap-table td{padding:11px 16px;border-bottom:1px solid var(--border-light);color:var(--text-2);vertical-align:top}
.costs-table tr:last-child td,.recap-table tr:last-child td{border-bottom:none}
.costs-table tr:hover td,.recap-table tr:hover td{background:var(--bg)}
.costs-table .total-row td,.recap-table .total-row td{font-weight:700;color:var(--text);background:var(--bg)}
.cost-free{color:#166534;font-weight:700}

/* ── INLINE CTA ─────────────────────────────────────────────── */
.inline-cta{background:var(--brand-soft);border:1px solid rgba(131,58,180,.15);border-radius:var(--r-lg);padding:24px 28px;margin:40px 0;display:flex;align-items:center;justify-content:space-between;gap:24px}
.inline-cta-text .label{font-size:11px;font-weight:700;color:var(--page-accent-dark);text-transform:uppercase;letter-spacing:.06em;margin-bottom:6px}
.inline-cta-text h3{font-family:var(--font-head);font-size:17px;font-weight:700;color:var(--text);margin-bottom:4px}
.inline-cta-text p{font-size:13px;color:var(--text-muted);margin:0}
.inline-cta-actions{display:flex;gap:10px;flex-shrink:0}

/* ── OBLIGATIONS GRID ───────────────────────────────────────── */
.oblig-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:16px 0}
.oblig-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);padding:18px 20px;display:flex;flex-direction:column;gap:10px;transition:border-color var(--t)}
.oblig-card:hover{border-color:color-mix(in srgb,var(--page-accent) 30%,transparent)}
.oblig-freq{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:3px 10px;border-radius:var(--r-full);display:inline-flex;align-items:center;gap:5px;width:fit-content}
.freq-m{background:#eff6ff;color:#1e40af}
.freq-a{background:#f0fdf4;color:#166534}
.freq-c{background:#fef3c7;color:#92400e}
.oblig-name{font-family:var(--font-head);font-size:14px;font-weight:700;color:var(--text);line-height:1.35}

/* ── INFO SIDEBAR ───────────────────────────────────────────── */
.info-sidebar{position:sticky;top:88px}
.info-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:24px;margin-bottom:16px;position:relative;overflow:hidden}
.info-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--brand-gradient)}
.info-card-title{font-family:var(--font-head);font-size:13px;font-weight:700;color:var(--text);margin-bottom:16px;display:flex;align-items:center;gap:8px}
.info-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--border-light)}
.info-row:last-of-type{border-bottom:none}
.info-key{font-size:12px;color:var(--text-muted)}
.info-val{font-family:var(--font-head);font-size:13px;font-weight:700;color:var(--text);text-align:right;flex-shrink:0}
.info-val.green{color:#166534}
.info-val.accent{color:var(--page-accent-dark)}
.share-card{background:var(--bg);border:1px solid var(--border);border-radius:var(--r-lg);padding:20px}
.share-title{font-family:var(--font-head);font-size:12px;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:12px}
.share-buttons{display:flex;gap:8px}
.share-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:9px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-sm);font-size:12px;font-weight:600;color:var(--text-muted);transition:all var(--t);cursor:pointer;text-decoration:none}.share-btn:hover{border-color:var(--page-accent);color:var(--page-accent-dark)}

/* ── AUTHOR / SOURCES ───────────────────────────────────────── */
.guide-author{border:1px solid var(--border);border-radius:var(--r-lg);padding:24px;margin:48px 0 24px;background:var(--surface)}
.guide-author-inner{display:flex;align-items:flex-start;gap:16px}
.guide-author-photo,.guide-author-avatar{width:56px;height:56px;border-radius:50%;flex-shrink:0}
.guide-author-photo{object-fit:cover}
.guide-author-avatar{background:var(--brand-gradient);color:#fff;font-family:var(--font-head);font-weight:700;font-size:18px;display:flex;align-items:center;justify-content:center}
.guide-author-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-light);margin-bottom:3px}
.guide-author-name{font-family:var(--font-head);font-size:15px;font-weight:700;color:var(--text);margin-bottom:6px}
.guide-author-bio{font-size:13px;color:var(--text-muted);line-height:1.65}
.guide-sources{padding:18px 22px;border-left:3px solid var(--page-accent);background:var(--bg-alt);border-radius:0 var(--r-md) var(--r-md) 0;margin:24px 0}
.guide-sources-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-light);margin-bottom:10px}
.guide-sources-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px}
.guide-sources-list li a{display:inline-flex;align-items:center;gap:5px;font-size:13px;color:var(--page-accent-dark);text-decoration:none;transition:opacity var(--t)}.guide-sources-list li a:hover{opacity:.75;text-decoration:underline}

/* ── ARTICLE FOOTER (tags + share + back) ───────────────────── */
.article-footer{margin-top:48px;padding-top:28px;border-top:1px solid var(--border)}
.article-footer-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.article-footer-tag{font-size:12px;font-weight:600;color:var(--text-muted);background:var(--bg-alt);border:1px solid var(--border);padding:4px 12px;border-radius:var(--r-full)}
.article-share{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:20px}
.article-share-label{font-size:13px;font-weight:600;color:var(--text-muted)}
.article-share-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:var(--r-full);font-size:13px;font-weight:600;text-decoration:none;transition:all var(--t);border:1px solid var(--border);color:var(--text-muted);background:var(--surface)}.article-share-btn:hover{border-color:var(--page-accent);color:var(--page-accent-dark)}
.article-back{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--page-accent-dark);text-decoration:none;border:1.5px solid var(--page-accent);padding:8px 18px;border-radius:var(--r-full);transition:all var(--t)}.article-back:hover{background:var(--page-accent);color:#fff}

/* ── RELATED GUIDES ─────────────────────────────────────────── */
.related-section{padding:80px 0;background:var(--bg)}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:40px}
.related-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:24px;display:flex;flex-direction:column;gap:10px;transition:all var(--t);text-decoration:none;position:relative;overflow:hidden}
.related-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--page-accent)}
.related-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:color-mix(in srgb,var(--page-accent) 30%,transparent)}
.related-card h3{font-family:var(--font-head);font-size:15px;font-weight:700;color:var(--text);line-height:1.35}
.related-card p{font-size:13px;color:var(--text-muted);line-height:1.6}
.related-link{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:700;color:var(--page-accent-dark);margin-top:auto;transition:gap var(--t)}.related-link:hover{gap:9px}

/* ── GUIDE ARTICLE RESPONSIVE ───────────────────────────────── */
@media(max-width:1200px){
  .guide-layout{grid-template-columns:200px 1fr}
  .info-sidebar{display:none}
}
@media(max-width:960px){
  .guide-hero-inner{grid-template-columns:1fr}
  .guide-hero-img-wrap{display:none}
  .guide-layout{grid-template-columns:1fr}
  .toc-sidebar{display:none}
  .related-grid{grid-template-columns:1fr 1fr}
  .inline-cta{flex-direction:column}
  .inline-cta-actions{flex-direction:column;width:100%}
  .pros-cons{grid-template-columns:1fr}
}
@media(max-width:768px){
  .related-grid{grid-template-columns:1fr}
  .oblig-grid{grid-template-columns:1fr}
  .guide-author-inner{flex-direction:column}
  .summary-card{grid-template-columns:1fr 1fr}
}

/* ============================================================
   PAGES ARCHIVE · retouche douce (2026-11-04)
   Tout est préfixé .pa (wrapper posé dans projet.php, creation.php et
   gestion.php) : les pages d'article de guide qui partagent ce fichier ne
   sont pas touchées. Mêmes titres et même typographie ; halos, lifts au
   survol, ombres colorées et libellés en majuscules espacées retirés.
   --pa-fill : couleur des aplats (boutons, pastilles de numéro) ; elle
   reste assez foncée pour porter du texte blanc, sauf Projet qui reprend
   l'orange de la marque tel quel.
   ============================================================ */
.pa{--pa-fill:var(--page-accent-dark)}
.pa-projet{--page-accent:#fd7200;--page-accent-dark:#c2570a;--page-accent-bg:#fff6ec;--page-accent-soft:rgba(253,114,0,.12);--pa-fill:#fd7200}
.pa-creation{--page-accent-dark:#c81414;--pa-fill:#c81414}
.pa-gestion{--pa-fill:#6b21a8}

/* Accessibilité */
.pa a:focus-visible,.pa button:focus-visible{outline:3px solid var(--page-accent-dark);outline-offset:3px;border-radius:4px}

/* Boutons : transitions nommées, plus de lift */
.pa .btn{transition:background-color var(--t),color var(--t),border-color var(--t),filter var(--t)}
.pa .btn-accent{background:var(--pa-fill)}
.pa .btn-accent:hover{background:var(--pa-fill);filter:brightness(.92);transform:none;box-shadow:none}
.pa .btn-grad{box-shadow:0 1px 2px rgba(17,17,24,.16)}
.pa .btn-grad:hover{transform:none;box-shadow:0 2px 8px rgba(17,17,24,.18);filter:brightness(1.05)}
.pa .btn-outline:hover{background:var(--pa-fill);border-color:var(--pa-fill)}

/* Étiquettes : casse de phrase, sans espacement large */
.pa .badge,.pa .hero-step-tag,.pa .guides-count-badge,.pa .guide-badge,.pa .next-eyebrow-badge,.pa .next-card-label,.pa .cta-tag,.pa .fb-tag,.pa .ab-tag,.pa .journey-step-label,.pa .hero-stat-label,.pa .phase-num,.pa .statut-pros-title,.pa .statut-cons-title{text-transform:none;letter-spacing:0;font-size:13px;font-weight:600}
.pa .hero-stat-label{font-weight:400}
.pa .journey-step-label{font-size:12px}
.pa .hero-step-tag,.pa .guides-count-badge{background:none;border:none;padding:0}
.pa .guide-badge{margin-bottom:8px}

/* Hero : sans halo, tampon de numéro en aplat */
.pa .hero::before{display:none}
.pa .hero-step-dot{background:var(--pa-fill)}
.pa .hero-stat-value{color:var(--text);font-variant-numeric:tabular-nums}
.pa .hero-card{box-shadow:0 4px 24px rgba(0,0,0,.08),0 1px 4px rgba(0,0,0,.04)}
.pa .hero-card::before{background:var(--pa-fill)}
.pa .hero-statut{transition:border-color var(--t),background-color var(--t)}
.pa .hst-paid{background:var(--page-accent-soft);color:var(--page-accent-dark)}
.pa .hero-check-icon{background:var(--page-accent-soft)}

/* Barre des étapes */
.pa .journey-step{transition:background-color var(--t)}
.pa .journey-step.active{background:none}
.pa .journey-step.active::after{background:var(--pa-fill)}
.pa .journey-step.active .journey-num{background:var(--pa-fill)}

/* Cartes de guides : bandeau numéroté à la place de l'icône de livre, pas de lift */
.pa .guide-card{transition:border-color var(--t),box-shadow var(--t),background-color var(--t)}
.pa .guide-card:not(.coming):hover{background:var(--surface);border-color:rgba(17,17,24,.18);box-shadow:0 4px 24px rgba(0,0,0,.08),0 1px 4px rgba(0,0,0,.04)}
.pa .guide-card-cover img{transition:none}
.pa .guide-card:not(.coming):hover .guide-card-cover img{transform:none}
.pa .guide-card-num{height:128px;background:var(--bg-alt);border-bottom:1px solid var(--border-light);display:flex;align-items:flex-end;padding:16px 30px}
.pa .guide-card-num span{font-family:var(--font-head);font-weight:800;font-size:28px;line-height:1;color:var(--page-accent-dark);font-variant-numeric:tabular-nums}
.pa .guide-card.coming .guide-card-num span{color:var(--text-light)}
.pa .guide-top{display:block}

/* Bandeaux */
.pa .formalites-banner,.pa .abonnement-banner{transition:none}
.pa .abonnement-banner::before{background:var(--pa-fill)}

/* Bande consultation : sans halo, fond uni */
.pa .cta-feat-icon{background:var(--page-accent-soft)}

/* Étapes suivantes : pas de lift */
.pa .next-card{transition:border-color var(--t),box-shadow var(--t)}
.pa .next-card:hover{transform:none}
.pa .next-eyebrow-badge{background:none;border:none;padding:0;color:var(--page-accent-dark)}

/* Chiffres et titres de blocs spécifiques */
.pa .feature-stat{font-weight:800;font-variant-numeric:tabular-nums}

/* FAQ */
.pa .faq-trigger{transition:background-color var(--t),color var(--t)}
.pa .faq-icon{transition:background-color var(--t),transform var(--t)}
.pa .faq-item.open{box-shadow:none;border-color:var(--page-accent)}

@media(prefers-reduced-motion:reduce){.pa *{transition:none!important}}

/* ============================================================
   PAGE D'UN GUIDE · retouche douce (2026-11-04)
   Wrapper .pa pg pa-<template> posé dans views/guides/show.php ; hérite du
   bloc "PAGES ARCHIVE" ci-dessus (couleur --pa-fill, étiquettes, boutons).
   ============================================================ */
.pg .guide-article-hero::before{display:none}
.pg .guide-cat-tag{background:none;border:none;padding:0;border-radius:0;font-size:13px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--page-accent-dark)}
.pg .guide-cat-tag:hover{background:none;text-decoration:underline}
.pg .guide-article-hero h1{letter-spacing:-.03em}
.pg .guide-meta-row{gap:0}
.pg .guide-meta-item{font-size:14px;padding-right:16px;margin-right:16px;border-right:1px solid var(--border)}
.pg .guide-meta-item:last-child{border-right:none;padding-right:0;margin-right:0}
.pg .guide-meta-sep{display:none}
.pg .guide-hero-tags{gap:8px 16px}
.pg .guide-hero-tag{background:none;border:none;padding:0;border-radius:0;font-size:13px}
.pg .guide-hero-chip{font-size:13px;font-weight:500;padding:3px 12px}
.pg .guide-hero-img-wrap{border:1px solid rgba(17,17,24,.06)}
.pg .guide-hero-inner:not(:has(.guide-hero-img-wrap)){grid-template-columns:1fr}

/* Sommaire */
.pg .toc-heading{text-transform:none;letter-spacing:0;font-size:13px;font-weight:600;color:var(--text-muted)}
.pg .toc-link{border-radius:0;padding:8px 0 8px 14px;border-left-color:var(--border);transition:color var(--t),border-color var(--t)}
.pg .toc-link:hover{background:none;color:var(--text)}
.pg .toc-link.active{background:none;color:var(--text);border-left-color:var(--pa-fill)}
.pg .toc-link.active .toc-num{color:var(--page-accent-dark)}
.pg .toc-cta-box{background:var(--surface);border-color:var(--border)}
.pg .toc-cta-label{text-transform:none;letter-spacing:0;font-size:14px;font-weight:700;color:var(--text)}
.pg .toc-cta-btn{background:var(--pa-fill);border-radius:10px;transition:filter var(--t)}
.pg .toc-cta-btn:hover{filter:brightness(.92);transform:none}

/* Résumé en bandeau à filets */
.pg .summary-card{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:0;padding:0}
.pg .summary-item{padding:24px 20px 20px;border-left:1px solid var(--border)}
.pg .summary-item:first-child{border-left:none}
.pg .summary-label{text-transform:none;letter-spacing:0;font-size:13px;font-weight:400;color:var(--text-muted)}
.pg .summary-value{font-variant-numeric:tabular-nums}

/* Article */
.pg .article-intro{background:none;border-radius:0;padding:0 0 0 20px;font-size:17px;border-left-color:var(--border)}
.pg .article h2{border-left:none;padding-left:0;font-weight:700}
.pg .article h2::before{content:'';display:block;width:32px;height:3px;border-radius:3px;background:var(--brand-gradient);margin-bottom:16px}
.pg .article ul li::before{background:var(--pa-fill)}
.pg .article ol{counter-reset:pgs;padding:0;display:grid;gap:12px}
.pg .article ol li{counter-increment:pgs;display:flex;gap:16px;list-style:none;margin:0}
.pg .article ol li::before{content:counter(pgs);width:28px;height:28px;border-radius:8px;background:var(--bg-alt);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-family:var(--font-head);font-weight:700;font-size:13px;color:var(--text);flex-shrink:0;margin-top:1px}
.pg .article table th{background:var(--bg-alt);color:var(--text);font-size:13px;font-weight:600;letter-spacing:0;border-bottom:1px solid var(--border)}
.pg .article table td{font-variant-numeric:tabular-nums}
.pg .article table tr:hover td{background:none}

/* Encadrés : fond blanc, trait de couleur à gauche */
.pg .callout{background:var(--surface);border:1px solid var(--border);border-left-width:3px}
.pg .callout .callout-title{color:var(--text)}
.pg .callout .callout-text{color:var(--text-2)}
.pg .callout-tip{border-left-color:#16a34a}
.pg .callout-info{border-left-color:var(--pa-fill)}
.pg .callout-warning{border-left-color:#d97706}
.pg .callout-note{border-left-color:var(--text-light)}
.pg .inline-cta{background:var(--surface);border-color:var(--border)}
.pg .inline-cta-text .label{text-transform:none;letter-spacing:0;font-size:13px}

/* Auteur, sources, pied d'article */
.pg .guide-author-avatar{background:var(--bg-alt);color:var(--text-2);border:1px solid var(--border)}
.pg .guide-author-label,.pg .guide-sources-title,.pg .share-title{text-transform:none;letter-spacing:0;font-size:13px;font-weight:600}
.pg .guide-sources{border-left:none;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface)}
.pg .article-footer-tag{background:none;border:none;padding:0;font-weight:500}
.pg .article-share-btn,.pg .article-back{border-radius:10px;transition:border-color var(--t),color var(--t)}
.pg .article-back{border-width:1px;border-color:var(--border);color:var(--text-2)}

/* Fiche de droite */
.pg .share-card{background:var(--surface)}
.pg .share-btn{border-radius:10px;transition:border-color var(--t)}
.pg .info-key{font-size:13px}
.pg .info-val{font-variant-numeric:tabular-nums}

/* Guides liés : barre de dégradé, pas de lift */
.pg .pg-bar{width:40px;height:3px;border-radius:3px;background:var(--brand-gradient);margin-bottom:16px}
.pg .related-section{background:var(--bg-alt)}
.pg .related-card{transition:border-color var(--t),box-shadow var(--t)}
.pg .related-card::before{display:none}
.pg .related-card:hover{transform:none;border-color:rgba(17,17,24,.18);box-shadow:0 4px 24px rgba(0,0,0,.08)}

/* Bande consultation */
.pg .cta-section{padding:88px 0}

@media(max-width:1100px){.pg .guide-hero-inner{grid-template-columns:1fr}.pg .guide-hero-img-wrap{display:none}}
