@charset "UTF-8";

/* =========================================================
   PORTAIL QUIZ - CSS GLOBAL UNIFIÉ PREMIUM
   =========================================================
   RÔLE :
   - Feuille de style unique pour tout le dossier /portail-quiz/
   - Sert pour :
     • admin.php
     • aide-module.html
     • aide-portail-admin.html
     • sitemap-quiz.html
     • deploiement-quiz.html
   - Base unifiée, plus propre, plus homogène, plus premium

   IMPORTANT :
   - Police "Inter" = textes
   - Police "Montserrat" = titres
   - La zone TYPOGRAPHIE ci-dessous est la zone principale
     à modifier si tu veux changer rapidement l'apparence
     des titres, paragraphes, petits textes, etc.
   ========================================================= */


/* =========================================================
   1. RESET + BASE GLOBALE
   ---------------------------------------------------------
   S'applique à toutes les pages
   ========================================================= */

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  min-height:100vh;
  color:#1f2a37;

  /* Fond global doux, déjà cohérent avec ta charte */
  background:
    radial-gradient(circle at top right, rgba(59,130,246,.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);

  font-family:'Inter', sans-serif;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

ul,
ol{
  margin:12px 0 0;
  padding-left:20px;
}

li{
  margin:6px 0;
  color:#475569;
  line-height:1.6;
}

strong{
  color:#0f172a;
}

code{
  display:inline-block;
  padding:2px 7px;
  border-radius:10px;
  background:#f1f5f9;
  border:1px solid #e2e8f0;
  color:#1e293b;
  font-size:.92em;
  font-weight:700;
}

pre{
  margin:12px 0 0;
  padding:14px 16px;
  border-radius:18px;
  background:#0b1220;
  color:#e2e8f0;
  border:1px solid rgba(148,163,184,.22);
  overflow:auto;
  box-shadow:0 18px 40px rgba(15,23,42,.14);
}

pre code{
  padding:0;
  border:none;
  background:transparent;
  color:inherit;
  font-size:13px;
  font-weight:600;
}


/* =========================================================
   2. TYPOGRAPHIE GLOBALE (ZONE PRINCIPALE À MODIFIER)
   ---------------------------------------------------------
   Modifie ici si tu veux ajuster rapidement :
   - H1, H2, H3
   - paragraphes
   - petits textes
   - style général du site
   ========================================================= */

/* Tous les titres */
h1,
h2,
h3,
h4,
h5,
h6{
  font-family:'Montserrat', sans-serif;
  letter-spacing:-0.025em;
  margin:0 0 10px;
  color:#0f172a;
}

/* Grand titre principal */
h1{
  font-size:clamp(30px, 4.2vw, 46px);
  line-height:1.08;
}

/* Titre de section */
h2{
  font-size:clamp(23px, 3vw, 30px);
  line-height:1.16;
}

/* Titre de carte / sous-section */
h3{
  font-size:19px;
  line-height:1.25;
}

/* Paragraphes */
p{
  margin:0 0 14px;
  font-size:16px;
  line-height:1.7;
  color:#475569;
}

/* Texte introductif plus visible */
.lead{
  font-size:18px;
  line-height:1.78;
  color:#526174;
}

/* Petits textes */
.small{
  font-size:13px;
  line-height:1.5;
}

.muted{
  color:#64748b;
  font-size:14px;
  line-height:1.6;
}

/* Utilisé dans certaines pages d'aide */
.footerNote{
  margin-top:20px;
  font-size:14px;
  line-height:1.6;
  color:#64748b;
}


/* =========================================================
   3. CONTENEURS / LAYOUTS GLOBAUX
   ---------------------------------------------------------
   Utilisé sur plusieurs pages
   ========================================================= */

/* Conteneur principal de la plupart des pages */
.wrap{
  width:min(1200px, calc(100% - 32px));
  margin:0 auto;
  padding:24px 0 56px;
}

/* Variante plus large utilisée par sitemap-quiz.html */
.wrapper{
  width:min(1320px, calc(100% - 32px));
  margin:0 auto;
  padding:24px 0 56px;
}

/* Grille générique */
.grid{
  display:grid;
  gap:20px;
}

/* 2 colonnes */
.grid.two{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

/* 3 colonnes */
.grid.three{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

/* Grille de mini-cartes */
.miniGrid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
}

/* 2 colonnes utilitaires, surtout pour aide-portail-admin.html */
.twoCols{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
  margin-top:10px;
}

/* Colonnes du plan du site */
.columns{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}


/* =========================================================
   4. TOPBARS / HEADERS
   ---------------------------------------------------------
   Utilisé sur :
   - admin.php
   - aide-module.html
   - aide-portail-admin.html
   - deploiement-quiz.html
   ========================================================= */

/* Barre haute principale */
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;

  margin-bottom:24px;
  padding:22px 24px;

  border-radius:24px;
  border:1px solid #e5e7eb;

  background:rgba(255,255,255,.90);
  backdrop-filter:blur(6px);

  box-shadow:
    0 12px 34px rgba(15,23,42,.06),
    0 1px 0 rgba(255,255,255,.85) inset;
}

/* Seconde topbar utilisée dans aide-module.html */
.topbar2{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;

  margin-bottom:24px;
  padding:16px 20px;

  border-radius:22px;
  border:1px solid #e5e7eb;
  background:rgba(255,255,255,.92);

  box-shadow:
    0 10px 30px rgba(15,23,42,.05),
    0 1px 0 rgba(255,255,255,.90) inset;
}

/* Colonnes dans admin.php */
.topbarLeft{
  flex:1;
  min-width:0;
}

.topbarRight{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

/* Petit bloc marque / logo texte */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  white-space:nowrap;
  color:#0f172a;
}

/* Petit point visuel */
.dot{
  width:12px;
  height:12px;
  border-radius:50%;
  background:#3b82f6;
  box-shadow:0 0 0 5px rgba(59,130,246,.12);
  flex:0 0 auto;
}

/* Petit badge haut */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
  padding:6px 10px;
  border-radius:999px;

  background:#eff6ff;
  border:1px solid #dbeafe;

  color:#1d4ed8;
  font-size:13px;
  font-weight:700;
}

/* Navigation simple */
nav{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

nav a{
  font-size:14px;
  font-weight:700;
}


/* =========================================================
   5. COMPOSANTS GLOBAUX
   ---------------------------------------------------------
   Cartes, boutons, chips, badges, sections visuelles, etc.
   ========================================================= */

/* Carte blanche standard */
.card{
  border:1px solid #e5e7eb;
  border-radius:24px;
  background:#ffffff;

  box-shadow:
    0 12px 34px rgba(15,23,42,.06),
    0 1px 0 rgba(255,255,255,.90) inset;

  padding:22px;
  margin:10px 0 0;
}

/* Variante carte un peu plus douce */
.cardSoft{
  background:#f8fafc;
}

/* Carte principale utilisée dans aide-portail-admin.html */
.card-main{
  border:1px solid #e5e7eb;
  border-radius:24px;
  background:
    radial-gradient(900px 320px at 18% 0%, rgba(37,99,235,.10), transparent 62%),
    radial-gradient(760px 280px at 85% 0%, rgba(99,102,241,.08), transparent 60%),
    #ffffff;

  box-shadow:
    0 14px 36px rgba(15,23,42,.06),
    0 1px 0 rgba(255,255,255,.92) inset;

  padding:22px;
  margin:10px 0 0;
}

/* Mini cartes */
.miniCard{
  padding:16px 18px;
  border-radius:20px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  margin:10px 0 0;

  box-shadow:
    0 8px 22px rgba(15,23,42,.04),
    0 1px 0 rgba(255,255,255,.9) inset;
}

.miniCard .kicker{
  margin-bottom:6px;
}

/* Variante mini card dans deploiement */
.miniCard .title{
  font-weight:800;
  color:#0f172a;
  margin-bottom:6px;
}

/* Petits blocs visuels */
.cardTop{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.cardIcon{
  width:38px;
  height:38px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:#ffffff;
  color:#1e3a8a;
  font-size:18px;
  font-weight:900;
  flex:0 0 auto;
  border:1px solid #e2e8f0;
  box-shadow:0 6px 16px rgba(15,23,42,.05);
}

.stepNum{
  width:36px;
  height:36px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg, #56828C 0%, #395359 100%);
  color:#ffffff;
  font-weight:900;
  font-size:14px;
  flex:0 0 auto;
  box-shadow:0 10px 24px rgba(57,83,89,.22);
}

/* Utilisé dans aide-portail-admin.html */
.steps{
  display:grid;
  gap:14px;
  margin-top:10px;
}

.step{
  display:grid;
  grid-template-columns:52px 1fr;
  gap:14px;
  align-items:flex-start;
  padding:16px;
  border-radius:20px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  box-shadow:0 8px 22px rgba(15,23,42,.04);
}

/* Kicker / petit bandeau */
.kicker,
.cardKicker{
  display:inline-flex;
  align-items:center;
  margin-bottom:10px;
  padding:6px 10px;
  border-radius:999px;
  background:#f1f5f9;
  color:#334155;
  border:1px solid #e2e8f0;
  font-size:12px;
  font-weight:800;
  letter-spacing:.03em;
  text-transform:uppercase;
}

/* Chips */
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 11px;
  border-radius:15px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#334155;
  font-size:13px;
  font-weight:700;
  line-height:1.3;
}

.chip .tag{
  display:inline-flex;
  align-items:center;
  padding:5px 9px;
  border-radius:999px;
  background:#e9f2f4;
  color:#395359;
  border:1px solid #d7e3e6;
  font-size:12px;
  font-weight:800;
}

/* Pills */
.pillRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.pill{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  line-height:1.2;
  background:#e2e8f0;
  color:#334155;
  border:1px solid rgba(148,163,184,.30);
}

.pill.good{
  background:#dcfce7;
  color:#15803d;
  border-color:rgba(34,197,94,.25);
}

/* Boutons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  min-height:42px;
  padding:10px 15px;
  border-radius:15px;

  font-family:'Inter', sans-serif;
  font-size:14px;
  font-weight:800;
  line-height:1.2;

  border:1px solid transparent;
  cursor:pointer;

  transition:
    transform .16s ease,
    box-shadow .16s ease,
    background .16s ease,
    border-color .16s ease,
    color .16s ease;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn:focus-visible{
  outline:none;
  box-shadow:
    0 0 0 3px rgba(59,130,246,.16),
    0 10px 24px rgba(15,23,42,.08);
}

/* Bouton principal */
.btnPrimary,
.btn.primary{
  background:linear-gradient(180deg, #5f8f99 0%, #395359 100%);
  color:#ffffff;
  border-color:#395359;
  box-shadow:0 10px 24px rgba(57,83,89,.20);
}

.btnPrimary:hover,
.btn.primary:hover{
  background:linear-gradient(180deg, #6b98a1 0%, #46636a 100%);
  border-color:#46636a;
  color:#ffffff;
  box-shadow:0 14px 28px rgba(57,83,89,.24);
}

/* Bouton neutre */
.btnGhost,
nav a.btn,
.back,
.foot a{
  background:#ffffff;
  color:#1f2a37;
  border-color:#dbe2ea;
  box-shadow:
    0 8px 22px rgba(15,23,42,.05),
    0 1px 0 rgba(255,255,255,.92) inset;
}

.btnGhost:hover,
nav a.btn:hover,
.back:hover,
.foot a:hover{
  background:#f8fafc;
  border-color:#cfd8e3;
  color:#0f172a;
  box-shadow:0 12px 26px rgba(15,23,42,.07);
}

/* Bouton warning */
.btnWarn{
  background:#fff7ed;
  color:#b45309;
  border-color:#fed7aa;
  box-shadow:0 8px 22px rgba(180,83,9,.08);
}

.btnWarn:hover{
  background:#ffedd5;
  border-color:#fdba74;
  color:#92400e;
}

/* Bouton active */
.btnActive{
  background:#ecfdf5;
  color:#047857;
  border-color:#a7f3d0;
  box-shadow:0 8px 22px rgba(4,120,87,.08);
}

.btnActive:hover{
  background:#d1fae5;
  border-color:#6ee7b7;
  color:#065f46;
}

/* Icône ronde/carrée dans les boutons */
.icon{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:10px;
  background:rgba(255,255,255,.18);
  font-size:14px;
  flex:0 0 auto;
}

/* Badge statut */
.status{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.03em;
  text-transform:uppercase;
}

.statusOk{
  background:#ecfdf5;
  color:#047857;
  border:1px solid #a7f3d0;
}

.statusOff{
  background:#fff7ed;
  color:#b45309;
  border:1px solid #fed7aa;
}

/* Callouts */
.callout{
  padding:16px 18px;
  border-radius:20px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  margin:10px 0 0;
  box-shadow:0 8px 20px rgba(146,64,14,.05);
}

.okout{
  padding:16px 18px;
  border-radius:20px;
  background:#ecfdf5;
  border:1px solid #a7f3d0;
  margin:10px 0 0;
  box-shadow:0 8px 20px rgba(6,95,70,.05);
}

/* Variante warning simple */
.warn{
  margin-top:14px;
  padding:14px 16px;
  border-radius:18px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#92400e;
  font-weight:800;
}

/* Ligne de séparation */
.sep{
  margin:18px 0 0;
  height:1px;
  border:0;
  background:linear-gradient(
    90deg,
    rgba(226,232,240,.15),
    rgba(226,232,240,1),
    rgba(226,232,240,.15)
  );
}


/* =========================================================
   6. PORTAIL / ADMIN
   ---------------------------------------------------------
   Utilisé principalement dans admin.php et dans la page
   publique du portail si certaines classes sont reprises
   ========================================================= */

/* Grille de cartes */
.cardsGrid{
  display:grid;
  gap:20px;
}

/* Admin : cartes quiz */
.adminGrid{
  grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
}

/* Variante si un jour tu l'utilises */
.publicGrid{
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
}

/* Carte quiz image + texte */
.quizCard{
  display:flex;
  flex-direction:column;
}

/* Zone image d'une carte */
.quizMedia{
  position:relative;
  min-height:190px;
  background:#e2e8f0;
}

.quizMedia img{
  width:100%;
  height:100%;
  min-height:190px;
  object-fit:cover;
}

.quizMediaPlaceholder{
  display:grid;
  place-items:center;
  min-height:190px;
  color:#64748b;
  font-weight:700;
  background:linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
}

/* Corps de carte */
.quizBody{
  padding:20px;
}

/* Carte admin */
.adminCard{
  padding:20px;
}

/* En-tête carte admin */
.adminCardHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.statusWrap{
  flex-shrink:0;
}

/* Petites stats */
.statsGrid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
  margin:16px 0 18px;
}

.miniStat{
  padding:14px 12px;
  border-radius:18px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  text-align:center;

  box-shadow:
    0 8px 20px rgba(15,23,42,.03),
    0 1px 0 rgba(255,255,255,.88) inset;
}

.miniLabel{
  display:block;
  margin-bottom:6px;
  color:#64748b;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.03em;
}

.miniStat strong{
  font-family:'Montserrat', sans-serif;
  font-size:24px;
  line-height:1;
  color:#0f172a;
}

/* Groupes de liens */
.linkGroups{
  display:grid;
  gap:14px;
}

.linkGroup{
  padding:14px;
  border-radius:20px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
}

.groupTitle{
  margin-bottom:10px;
  font-size:13px;
  font-weight:800;
  color:#334155;
  text-transform:uppercase;
  letter-spacing:.03em;
}

/* Zone d'actions */
.actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 14px 0 0;
}

/* Formulaire d'activation */
.toggleForm{
  margin-top:14px;
}

/* Messages flash */
.flash{
  padding:14px 16px;
  border-radius:18px;
  margin:0 0 20px;
  border:1px solid transparent;
  font-weight:700;
  box-shadow:0 10px 30px rgba(15,23,42,.05);
}

.flashSuccess{
  background:#ecfdf5;
  color:#065f46;
  border-color:#a7f3d0;
}

.flashError{
  background:#fef2f2;
  color:#991b1b;
  border-color:#fecaca;
}

/* État vide */
.emptyState{
  padding:26px;
}


/* =========================================================
   7. AIDE - STRUCTURES SPÉCIFIQUES
   ---------------------------------------------------------
   Utilisé sur :
   - aide-module.html
   - aide-portail-admin.html
   - deploiement-quiz.html
   ========================================================= */

/* Hero principal */
.hero{
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:22px;
  margin-top:26px;
  align-items:start;
}

/* Partie gauche hero */
.heroLeft{
  padding:30px;
  border-radius:28px;
  background:
    radial-gradient(900px 320px at 18% 0%, rgba(86,130,140,.16), transparent 62%),
    radial-gradient(760px 280px at 85% 0%, rgba(57,83,89,.10), transparent 60%),
    #ffffff;
  border:1px solid #dbe5ea;
  box-shadow:
    0 18px 50px rgba(15,23,42,.07),
    0 1px 0 rgba(255,255,255,.94) inset;
}

.heroLeft h1{
  margin:0 0 12px;
}

/* Colonne droite hero */
.heroRight{
  display:grid;
  gap:14px;
}

/* Section classique */
.section{
  margin-top:34px;
  padding:28px;
  border-radius:28px;
  background:#ffffff;
  border:1px solid #e5e7eb;

  box-shadow:
    0 16px 44px rgba(15,23,42,.06),
    0 1px 0 rgba(255,255,255,.92) inset;
}

/* Meta zone */
.meta{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Sous-listes */
.sub{
  margin:10px 0 0;
  padding-left:18px;
  color:#334155;
}

.sub li{
  margin:6px 0;
  color:#475569;
}

/* Footer aide */
.footer,
.foot{
  margin-top:36px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  color:#64748b;
  font-size:13px;
}

.back{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 5px 15px;
  border-radius: 8px;
}


/* =========================================================
   8. AIDE PORTAIL ADMIN - SPÉCIFIQUE
   ---------------------------------------------------------
   Utilisé surtout par aide-portail-admin.html
   ========================================================= */

/* Liste spécifique */
.list{
  margin:0;
  padding-left:18px;
  color:#475569;
  line-height:1.7;
}

.list li + li{
  margin-top:8px;
}


/* =========================================================
   9. SITEMAP - PLAN DU SYSTÈME
   ---------------------------------------------------------
   Utilisé par sitemap-quiz.html
   ========================================================= */

.quiz{
  background:#ffffff;
  border-radius:24px;
  padding:26px;
  margin-bottom:28px;
  border:1px solid #e4e9ee;

  box-shadow:
    0 12px 34px rgba(15,23,42,.05),
    0 1px 0 rgba(255,255,255,.92) inset;
}

.quiz h2{
  margin:0 0 18px;
  padding-bottom:12px;
  border-bottom:2px solid #eef2f4;
  color:#395359;
  font-size:clamp(24px, 2.4vw, 30px);
  line-height:1.2;
}

/* Colonne de catégorie */
.section.public{
  background:#eef6ff;
}

.section.admin{
  background:#f8fafc;
}

.section.help{
  background:#f1f5f9;
}

.section.public,
.section.admin,
.section.help{
  margin-top:0;
  padding:18px;
  border-radius:20px;
  border:1px solid #dfe6eb;
  box-shadow:none;
}

/* Introduction du plan du site */
.intro{
  max-width:920px;
  margin:0 auto 38px;
  text-align:center;
  color:#66757b;
  line-height:1.7;
  font-size:1rem;
}

/* Titre lisible */
.pageTitle{
  display:block;
  font-size:1rem;
  font-weight:800;
  color:#1f2a2e;
}

/* Chemin technique */
.path{
  display:block;
  margin-top:4px;
  font-size:.92rem;
  color:#6f7e85;
  font-weight:500;
  word-break:break-word;
}

.note{
  margin-top:14px;
  font-size:.85rem;
  color:#718087;
  line-height:1.5;
}


/* =========================================================
   10. DÉPLOIEMENT - MÉMO TECHNIQUE
   ---------------------------------------------------------
   Utilisé par deploiement-quiz.html
   ========================================================= */

/* Rien de très spécifique ici car la plupart des blocs
   réutilisent déjà : topbar, hero, card, miniGrid, miniCard,
   chip, pill, callout, okout, footer */


/* =========================================================
   11. BLOC MARKETING QUIZMAKER
   ---------------------------------------------------------
   Tu l'avais dans ton ancien portail-quiz.css
   Je le garde ici avec une meilleure cohérence visuelle
   ========================================================= */

.qm-marketing-card{
  position:relative;
  max-width:1200px;
  margin:40px auto 0;
  padding:30px;
  border-radius:24px;
  background:#ffffff;
  border:1px solid #e5e7eb;

  box-shadow:
    0 16px 40px rgba(15,23,42,.06),
    0 1px 0 rgba(255,255,255,.92) inset;
}

.qm-badge{
  position:absolute;
  top:-12px;
  right:25px;
  padding:4px 12px;
  border-radius:10px;
  background:linear-gradient(180deg, #56828C 0%, #395359 100%);
  color:#ffffff;
  font-size:.75rem;
  font-weight:800;
  box-shadow:0 10px 22px rgba(57,83,89,.18);
}

.qm-header{
  display:flex;
  align-items:center;
  gap:15px;
  margin-bottom:20px;
}

.qm-icon{
  font-size:2rem;
}

.qm-title{
  margin:0;
  font-size:1.8rem;
  line-height:1.15;
  color:#0f172a;
}

.qm-content p{
  color:#5d6778;
  line-height:1.7;
  margin-bottom:15px;
}

.qm-footer{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:25px;
  padding-top:20px;
  border-top:1px dashed #dbe4ec;
}

.qm-tag{
  background:#f0f4f8;
  color:#395359;
  padding:5px 12px;
  border-radius:20px;
  border:1px solid #dbe5ea;
  font-size:.85rem;
  font-weight:700;
}

/* Détails marketing */
.qm-details-card{
  background:#ffffff;
  border-radius:24px;
  padding:30px;
  margin-top:20px;
  border:1px solid #e5e7eb;

  box-shadow:
    0 16px 40px rgba(15,23,42,.05),
    0 1px 0 rgba(255,255,255,.92) inset;
}

.qm-subtitle{
  color:#0f172a;
  font-size:1.08rem;
  margin-bottom:25px;
  border-left:4px solid #56828C;
  padding-left:15px;
}

.qm-grid-features{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:20px;
  margin-bottom:25px;
}

.qm-feature{
  display:flex;
  gap:15px;
  background:#f8fafc;
  padding:15px;
  border-radius:16px;
  border:1px solid #e2e8f0;
}

.qm-mini-icon{
  font-size:1.5rem;
}

.qm-feature strong{
  display:block;
  color:#0f172a;
  margin-bottom:5px;
}

.qm-feature p{
  font-size:.92rem;
  color:#5d6778;
  margin:0;
  line-height:1.5;
}

.qm-conclusion{
  text-align:center;
  padding-top:20px;
  border-top:1px solid #eef2f7;
  font-style:italic;
  color:#395359;
  font-size:.95rem;
}


/* =========================================================
   12. UTILITAIRES
   ---------------------------------------------------------
   Petites classes rapides
   ========================================================= */

.t-center{
  text-align:center;
}

.fs-12{
  font-size:12px;
}

.mt-20{
  margin-top:20px;
}

.mb-20{
  margin-bottom:20px;
}


/* =========================================================
   13. RESPONSIVE
   ---------------------------------------------------------
   Ajustements mobiles / tablettes
   ========================================================= */

@media (max-width: 1100px){
  .miniGrid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px){
  .hero,
  .grid.two,
  .grid.three,
  .columns,
  .twoCols{
    grid-template-columns:1fr;
  }

  .topbar,
  .topbar2{
    flex-direction:column;
  }

  nav{
    justify-content:flex-start;
  }

  .statsGrid{
    grid-template-columns:1fr;
  }

  .topbarRight,
  .actions{
    width:100%;
  }
}

@media (max-width: 640px){
  .wrap,
  .wrapper{
    width:min(100% - 20px, 1320px);
    padding:16px 0 36px;
  }

  .topbar,
  .topbar2,
  .card,
  .card-main,
  .section,
  .heroLeft,
  .quiz,
  .qm-marketing-card,
  .qm-details-card{
    padding:16px;
  }

  .miniCard,
  .linkGroup,
  .step{
    padding:14px;
  }

  .btn,
  .back,
  .foot a{
    width:100%;
  }

  .miniGrid{
    grid-template-columns:1fr;
  }

  h1{
    font-size:clamp(26px, 8vw, 34px);
  }

  h2{
    font-size:clamp(21px, 6vw, 26px);
  }

  h3{
    font-size:18px;
  }

  .lead{
    font-size:16px;
  }

  .step{
    grid-template-columns:1fr;
  }

  .stepNum{
    width:42px;
    height:42px;
  }
}