/* =====================================================================
   Jouro : page /fonctionnalites/
   Dépend de blog.css (:root variables) et guides.css (hero, answer, faq,
   cta, related, breadcrumb). Ce fichier ne définit que les composants
   propres à cette page : grille de fonctionnalités, icônes, comparatif.
   ===================================================================== */

/* ---------- Grille de fonctionnalités (aperçu scannable) ---------- */
.feat-grid{margin:28px 0 0;display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}
.feat-card{display:flex;flex-direction:column;gap:10px;padding:20px;border-radius:var(--radius);border:1px solid var(--line);background:var(--surface-soft);box-shadow:var(--shadow-soft);text-decoration:none;color:inherit;transition:transform .2s ease,box-shadow .2s ease}
a.feat-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.feat-card h3{margin:0;font-size:1.02rem;letter-spacing:-.02em;color:var(--text)}
.feat-card p{margin:0;font-size:.9rem;line-height:1.5;color:var(--muted)}

/* ---------- Icônes ---------- */
.feat-icon{display:inline-flex;flex:none;align-items:center;justify-content:center;width:44px;height:44px;border-radius:14px;background:var(--blue-soft);color:var(--blue-deep)}
.feat-icon svg{width:22px;height:22px}

.feat-detail-icon{display:inline-flex;flex:none;align-items:center;justify-content:center;width:36px;height:36px;border-radius:11px;background:var(--blue-soft);color:var(--blue-deep);margin-right:12px;vertical-align:middle}
.feat-detail-icon svg{width:19px;height:19px}
.guide-article h2{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
/* Le titre de section porte l'icône via sa propre marge : le gap ne doit pas
   s'y ajouter, sinon l'icône décolle du texte. */
.guide-article h2 .feat-detail-icon{margin-right:2px}
/* Badge d'offre accolé à un titre de section (ex. « Chèques  Premium Solo »). */
.feat-h2-badge{flex:none;padding:4px 10px;border-radius:999px;background:linear-gradient(135deg,var(--blue-deep),var(--blue));color:#fff;font-size:.68rem;font-weight:800;letter-spacing:.01em;text-transform:uppercase;white-space:nowrap}

/* ---------- Comparatif Gratuit / Premium Solo ---------- */
.feat-compare{margin:20px 0 0;display:grid;gap:16px}
.feat-plan{display:flex;flex-direction:column;gap:14px;padding:24px;border-radius:24px;border:1px solid var(--line);background:rgba(255,255,255,.82);box-shadow:var(--shadow-soft)}
.feat-plan.premium{border-color:rgba(14,165,233,.34);background:linear-gradient(180deg,rgba(239,246,255,.96),rgba(255,255,255,.9));box-shadow:0 22px 50px rgba(15,92,219,.16)}
.feat-plan-header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.feat-plan-header h3{margin:0;font-size:1.15rem;letter-spacing:-.03em;color:var(--text)}
.feat-plan-note{font-size:.82rem;color:var(--muted);font-weight:600}
.feat-plan-badge{flex:none;padding:5px 11px;border-radius:999px;background:linear-gradient(135deg,var(--blue-deep),var(--blue));color:#fff;font-size:.72rem;font-weight:800}
.feat-plan-price{display:flex;align-items:baseline;gap:6px}
.feat-plan-price strong{font-size:1.9rem;letter-spacing:-.03em;color:var(--text)}
.feat-plan-price span{font-size:.9rem;color:var(--muted)}
.feat-plan-sub{margin:0;font-size:.86rem;color:var(--muted)}
.guide-article .feat-plan-list{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.guide-article .feat-plan-list li{position:relative;padding-left:26px;font-size:.94rem;color:#27374d;line-height:1.5}
.guide-article .feat-plan-list li::before{content:"✔";position:absolute;left:0;top:0;width:auto;height:auto;border-radius:0;background:none;color:var(--blue-deep);font-weight:800;font-size:.85rem}

/* ---------- Responsive ---------- */
@media (min-width:640px){
  .feat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:720px){
  .feat-compare{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:980px){
  .feat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
