/* =========================================================
   wassla.ma — style « Éditorial » (activable dans Réglages › Paramètres du site)
   Objectif : une interface qui ressemble à un site fait main par une agence,
   pas à un modèle généré. Moins d'effets, plus de hiérarchie typographique.
   - titres en minuscules normales, alignés à gauche ;
   - pas d'émojis ni d'illustration générique (retirés dans les gabarits) ;
   - cartes remplacées par des listes et des filets ; ombres et grands arrondis supprimés ;
   - pas de photo de banque d'images par défaut dans les bandeaux.
   Revenir au design d'origine : choisir « Classique » (ce fichier n'est alors plus chargé).
   ========================================================= */

.style-editorial {
    --ed-ink: #14263d;
    --ed-muted: #586678;
    --ed-line: #d8dee6;
    --ed-soft: #f4f6f8;
    --ed-radius: 6px;
}
/* ---------- Typographie : casse normale, alignement à gauche ---------- */
.style-editorial .product-section-title,
.style-editorial .product-hero h1,
.style-editorial .product-hero__title,
.style-editorial .shero__title,
.style-editorial .product-offer__label,
.style-editorial .refs__title,
.style-editorial .bgamme__title,
.style-editorial .program__title {
    text-transform: none;
    letter-spacing: -.01em;
}
/* Surtitres : plus de majuscules espacées */
.style-editorial .product-eyebrow,
.style-editorial .shero__eyebrow,
.style-editorial .nav-card__meta,
.style-editorial .res-card__cat,
.style-editorial .bsub__seg {
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
    font-weight: 700;
}
.style-editorial .product-compare thead th,
.style-editorial .mega__title,
.style-editorial .article__sources h2 { text-transform: none; letter-spacing: 0; }
.style-editorial .product-compare thead th { font-size: 15px; }

.style-editorial .product-section-title { font-size: clamp(24px, 2.6vw, 32px); color: var(--ed-ink); }
.style-editorial .product-hero__title, .style-editorial .product-hero h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; }
.style-editorial .shero__title { font-size: clamp(26px, 3.2vw, 35px); }
/* « Trouvez l’offre … qui vous convient » : même style que l'en-tête de la FAQ (centré, capitales) */
.style-editorial .store-head { text-align: center; }
.style-editorial .store-head__title { margin: 0 0 10px; color: #3b3b3b; font-size: clamp(27px, 3vw, 35px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; text-transform: uppercase; }
.style-editorial .store-head__lead { max-width: 820px; margin: 0 auto; }

/* ---------- Bandeaux ---------- */
/* Fiches produit et services : pas de photo de salle serveur par défaut */
.style-editorial .product-hero.hero-custom:not(.hero-has-img) { background-image: none; background-color: #0b2c4a; }
.style-editorial .product-hero.hero-custom:not(.hero-has-img)::before,
.style-editorial .product-hero::after { background: none; }
.style-editorial .product-hero__inner { padding-top: 48px; padding-bottom: 48px; }
.style-editorial .hero-actions .product-btn { border-radius: var(--ed-radius); }

/* Boutique : nom de marque en texte simple, sans encadré flottant */
.style-editorial .shero__wordmark { padding: 0; background: none; box-shadow: none; font-size: 28px; }
.style-editorial .shero__inner { padding-top: 40px; padding-bottom: 40px; }

/* Gabarit Marque : fond uni, pas de compteurs ni de numérotation */
.style-editorial .bhero:not(.bhero--cover) { background: var(--ed-soft); }
.style-editorial .bhero__card { border-radius: var(--ed-radius); background: #fff; color: var(--ed-ink); border: 1px solid var(--ed-line); box-shadow: none; }
.style-editorial .bhero__brand { font-size: 18px; color: var(--ed-muted); }
.style-editorial .bhero__stats, .style-editorial .bgamme__num { display: none; }
.style-editorial .bhero__list a { color: var(--ed-ink); border-top-color: var(--ed-line); }
.style-editorial .bhero__list a::after { color: var(--w-blue); }
.style-editorial .bhero__points li { border-radius: var(--ed-radius); background: transparent; border-color: var(--ed-line); }
.style-editorial .phero, .style-editorial .ahero { background: var(--ed-soft); }

/* ---------- Avantages : liste à filets au lieu de cartes ---------- */
.style-editorial .product-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.style-editorial .product-benefit {
    min-height: 0; padding: 18px 0 20px; border: 0; border-top: 2px solid var(--ed-ink);
    border-radius: 0; background: none; box-shadow: none;
}
.style-editorial .product-benefit h3 { text-align: left; font-size: 19px; }

/* ---------- Cartes de navigation : liste en lignes ---------- */
.style-editorial .nav-cards { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--ed-line); }
.style-editorial .nav-card {
    display: grid; grid-template-columns: minmax(180px, .9fr) minmax(0, 2fr) auto; gap: 6px 28px; align-items: baseline;
    padding: 18px 4px; border: 0; border-bottom: 1px solid var(--ed-line); border-radius: 0; box-shadow: none; background: none;
}
.style-editorial .nav-card:hover, .style-editorial .nav-card:focus-within { transform: none; box-shadow: none; background: var(--ed-soft); }
.style-editorial .nav-card__meta { grid-column: 1; grid-row: 2; margin: 0; color: var(--ed-muted); font-weight: 400; }
.style-editorial .nav-card__title { grid-column: 1; grid-row: 1; margin: 0; font-size: 18px; }
.style-editorial .nav-card__text { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.style-editorial .nav-card__more { grid-column: 3; grid-row: 1; }
.style-editorial .nav-card[style*="--card-color"] { border-top: 0; }

/* ---------- Gabarit Marque ---------- */
.style-editorial .bgamme--alt { background: var(--ed-soft); }
.style-editorial .bgamme__products span { border-radius: 3px; background: none; border: 1px solid var(--ed-line); }
.style-editorial .bsub__item { min-height: 0; border: 1px solid var(--ed-line); border-top: 1px solid var(--ed-line); border-radius: var(--ed-radius); }
.style-editorial .bsub__item:hover, .style-editorial .bsub__item:focus-within { transform: none; box-shadow: none; border-color: var(--seg); }
.style-editorial .btabs a { font-weight: 600; }
.style-editorial .bmatrix-wrap { border-radius: var(--ed-radius); }
.style-editorial .bmatrix thead th { background: var(--ed-soft); color: var(--ed-ink); }
.style-editorial .bmatrix__link { border-radius: 0; padding: 0; background: none; text-decoration: underline; }

/* ---------- Programmes CSP / SPLA, offre ---------- */
.style-editorial .program, .style-editorial .program--dark { border-radius: var(--ed-radius); box-shadow: none; }
.style-editorial .program--dark { background: #0b2c4a; }
.style-editorial .product-offer { border-radius: var(--ed-radius); background: #0b2c4a; }

/* ---------- Listes cochées, tuiles, caractéristiques ---------- */
.style-editorial .tiles { gap: 0 32px; }
.style-editorial .tile { padding: 14px 0; border: 0; border-bottom: 1px solid var(--ed-line); border-radius: 0; }
.style-editorial .tile__abbr { display: none; }
.style-editorial .specs, .style-editorial .rich-html, .style-editorial .quote-card { border-radius: var(--ed-radius); }
.style-editorial .quote-card { box-shadow: none; }
.style-editorial .quote-card__btn { border-radius: var(--ed-radius); }

/* ---------- Puces « Nous proposons aussi » : liens simples ---------- */
.style-editorial .product-related a { padding: 0; border: 0; background: none; border-radius: 0; text-decoration: underline; }
.style-editorial .product-related a + a::before { content: "· "; color: var(--ed-muted); text-decoration: none; display: inline-block; margin-right: 4px; }

/* ---------- Ressources ---------- */
.style-editorial .res-card { border: 0; border-top: 1px solid var(--ed-line); border-radius: 0; padding: 16px 0; }
.style-editorial .res-card:hover, .style-editorial .res-card:focus-within { transform: none; box-shadow: none; }
.style-editorial .reslist__item { border-radius: var(--ed-radius); }
.style-editorial .reslist__item:hover { transform: none; box-shadow: none; }
.style-editorial .subnav a { border-radius: var(--ed-radius); }

/* ---------- FAQ : style validé de wassla.net (encadrés, titre centré en capitales), même en mode Éditorial ---------- */
.style-editorial .product-faq-head { text-align: center; }
.style-editorial .product-faq-head .product-eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.style-editorial .product-faq-head .product-section-title { color: #3b3b3b; font-size: clamp(27px, 3vw, 35px); letter-spacing: -.02em; text-transform: uppercase; }

/* ---------- Références clients : logos sans encadrés ---------- */
.style-editorial .refs__card { background: none; border-top: 1px solid var(--ed-line); border-radius: 0; padding-left: 0; padding-right: 0; }
.style-editorial .refs__title { font-size: clamp(22px, 2.4vw, 28px); text-align: left; }
.style-editorial .refs__intro { text-align: left; margin-left: 0; }
.style-editorial .refs__item { box-shadow: none; border-radius: 0; background: none; }

/* ---------- Boutons : arrondi discret ---------- */
.style-editorial .btn, .style-editorial .product-btn { border-radius: var(--ed-radius); }

@media (max-width: 860px) {
    .style-editorial .nav-card { grid-template-columns: 1fr; }
    .style-editorial .nav-card__title, .style-editorial .nav-card__meta, .style-editorial .nav-card__text, .style-editorial .nav-card__more { grid-column: 1; grid-row: auto; }
}
@media (max-width: 620px) {
    .style-editorial .product-benefits { grid-template-columns: 1fr; }
}
.style-editorial .product-compare thead th { font-size: 15px; }
