/* Polices auto-hébergées (fonts/) — évite l'envoi de l'IP du visiteur à Google
   avant tout consentement (fonts.googleapis.com), voir bandeau cookies. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/sora.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/sora.woff2') format('woff2');
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/sora.woff2') format('woff2');
}

:root {
  --bleu-nuit: #0f1b2d;
  --bleu-primaire: #1b6f88;
  --bleu-primaire-vif: #22b8c9;
  --bleu-clair: #e3f5f7;
  --vert-succes: #16a34a;
  --rouge-alerte: #dc2626;
  --violet-formateur: #7c3aed;
  --or-manager: #b45309;
  --diamant-directeur: #0891b2;
  --gris-texte: #4b5563;
  --gris-fond: #f7f8fa;
  --blanc: #ffffff;
  --radius: 14px;
  --ombre: 0 2px 10px rgba(15, 27, 45, 0.08);
  --ombre-douce: 0 8px 24px rgba(15, 27, 45, 0.06);
  --ombre-forte: 0 20px 48px rgba(15, 27, 45, 0.16);
  --degrade-primaire: linear-gradient(135deg, #14536b 0%, #22c3d6 100%);
  --degrade-clair: linear-gradient(135deg, #e3f5f7 0%, #eafcfb 100%);
  --font-corps: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-titres: "Sora", "Inter", -apple-system, sans-serif;
  font-family: var(--font-corps);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--gris-fond);
  color: var(--bleu-nuit);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Pied de page toujours collé en bas, même quand le contenu est court */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body > footer.site { margin-top: auto; }
/* Pages à carte unique (connexion, inscription, devis...) : carte centrée verticalement */
body > .carte { margin-top: auto; margin-bottom: auto; }
body > .carte ~ footer.site { margin-top: 0; }

h1, h2, h3, h4 { font-family: var(--font-titres); letter-spacing: -0.01em; }

a { color: var(--bleu-primaire); text-decoration: none; transition: color .18s ease; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Révélation douce au scroll ---------- */
.au-scroll { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.au-scroll.visible { opacity: 1; transform: translateY(0); }
.au-scroll-delai-1.visible { transition-delay: .08s; }
.au-scroll-delai-2.visible { transition-delay: .16s; }
.au-scroll-delai-3.visible { transition-delay: .24s; }

/* ---------- Header ---------- */
header.site {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e7eb;
  position: sticky; top: 0; z-index: 10;
}
header.site .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px 20px; min-height: 64px; padding-top: 10px; padding-bottom: 10px;
}
header.site .logo { font-family: var(--font-titres); font-weight: 700; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
header.site .logo a { display: flex; align-items: center; gap: 10px; color: inherit; }
header.site .logo img { display: block; height: 36px; width: auto; }
header.site nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; }
header.site nav a { font-weight: 500; color: var(--bleu-nuit); white-space: nowrap; position: relative; }
header.site nav a:not(.cta)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--degrade-primaire); transition: width .22s ease;
}
header.site nav a:not(.cta):hover::after { width: 100%; }
header.site .cta {
  background: var(--degrade-primaire); color: var(--blanc); padding: 9px 20px;
  border-radius: 999px; white-space: nowrap; box-shadow: 0 4px 14px rgba(27,111,136,.28);
  transition: transform .18s ease, box-shadow .18s ease;
}
header.site .cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(27,111,136,.36); }

.nav-toggle {
  display: none; background: none; border: 0; font-size: 1.6rem; line-height: 1;
  cursor: pointer; color: var(--bleu-nuit); padding: 4px 6px;
}
@media (max-width: 860px) {
  header.site .container { flex-wrap: wrap; }
  .nav-toggle { display: block; }
  header.site nav {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 8px 0 4px; border-top: 1px solid #e5e7eb; margin-top: 8px;
  }
  header.site nav.ouvert { display: flex; }
  header.site nav a:not(.cta) { display: block; padding: 11px 4px; }
  header.site nav a:not(.cta)::after { display: none; }
  header.site .cta { text-align: center; margin-top: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 64px; text-align: center;
  background: var(--degrade-clair);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0;
  opacity: .55;
}
.hero::before { width: 420px; height: 420px; background: #22b8c9; top: -160px; left: -120px; }
.hero::after { width: 380px; height: 380px; background: #14536b; bottom: -180px; right: -100px; opacity: .35; }
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: 2.9rem; font-weight: 800; line-height: 1.12; margin-bottom: 16px;
  animation: montee-douce .8s cubic-bezier(.16,1,.3,1) both;
}
.hero p { font-size: 1.2rem; color: var(--gris-texte); max-width: 640px; margin: 0 auto 28px;
  animation: montee-douce .8s cubic-bezier(.16,1,.3,1) .1s both; }

@keyframes montee-douce { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px;
  font-weight: 600; cursor: pointer; border: none; font-size: 1rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primaire { background: var(--degrade-primaire); color: var(--blanc); box-shadow: 0 8px 22px rgba(27,111,136,.32); }
.btn-primaire:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(27,111,136,.4); }
.btn-secondaire { background: var(--blanc); color: var(--bleu-primaire); border: 1px solid #d7deff; box-shadow: var(--ombre-douce); }
.btn-secondaire:hover { transform: translateY(-2px); border-color: var(--bleu-primaire); box-shadow: var(--ombre); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }

/* ---------- Cards / Pricing ---------- */
.grille-plans {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin: 40px 0;
}
.carte-plan {
  background: var(--blanc); border-radius: var(--radius); box-shadow: var(--ombre-douce);
  padding: 28px; text-align: left; border: 2px solid transparent;
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s ease, border-color .22s ease;
}
.carte-plan:hover { transform: translateY(-6px); box-shadow: var(--ombre-forte); }
.carte-plan.recommande { border-color: var(--bleu-primaire); position: relative; }
.carte-plan.recommande::before {
  content: "★ Le plus populaire"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--degrade-primaire); color: var(--blanc); font-size: .72rem; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap; box-shadow: 0 4px 10px rgba(27,111,136,.3);
}
.carte-plan h3 { margin: 0 0 6px; font-size: 1.15rem; }
.carte-plan .prix { font-size: 2.1rem; font-weight: 800; margin: 12px 0; font-family: var(--font-titres); }
.carte-plan .prix span { font-size: .9rem; font-weight: 400; color: var(--gris-texte); font-family: var(--font-corps); }
.carte-plan ul { list-style: none; padding-left: 0; color: var(--gris-texte); }
.carte-plan ul li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.carte-plan ul li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%2322b8c9'/%3E%3Cpath d='M6 10.3l2.6 2.6L14.5 7' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}
.carte-plan ul small { display: block; margin-top: 2px; }

/* Options « à la carte » sous une carte de plan (Gestion Email, Pack Complet) */
.opt-bloc { margin-top: 18px; padding-top: 16px; border-top: 1px solid #e5e7eb; }
.opt-bloc-titre { font-weight: 700; font-size: .95rem; margin: 0 0 4px; }
.opt-bloc-sous { color: var(--gris-texte); font-size: .82rem; margin: 0 0 12px; }
.opt-liste { display: flex; flex-direction: column; gap: 8px; }
.opt-item {
  display: grid; grid-template-columns: 18px 1fr auto; column-gap: 10px; align-items: start;
  padding: 11px 13px; border: 1px solid #e5e7eb; border-radius: 10px;
  font-weight: 400; cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.opt-item:hover { border-color: var(--bleu-primaire); }
.opt-item:has(input:checked) { border-color: var(--bleu-primaire); background: var(--bleu-clair); }
.opt-item input { margin-top: 2px; }
.opt-item .opt-nom { font-weight: 600; font-size: .92rem; }
.opt-item .opt-prix { white-space: nowrap; color: var(--bleu-primaire); font-weight: 700; font-size: .85rem; }
.opt-item .opt-desc { grid-column: 2 / -1; color: var(--gris-texte); font-size: .82rem; margin-top: 3px; line-height: 1.45; }
.opt-total { margin: 14px 0 4px; font-weight: 700; }
.opt-total span { font-weight: 400; }
/* Icônes vectorielles (12/09/2026, remplacent les emojis) : pas de fond, la couleur
   de l'icône elle-même (currentColor dans le SVG) porte la différenciation de palier. */
.icone-carte {
  width: 44px; height: 44px; color: var(--bleu-primaire);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.icone-carte svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 2px 4px rgba(20,30,40,.16));
}
/* Variantes de palier : sur une offre à plusieurs niveaux, l'icône du niveau
   intermédiaire passe en argenté, celle du niveau supérieur en or (ou diamant
   au-dessus de l'or pour un 4e palier, ex. Sites Web "Sur-Mesure") — le niveau de
   base garde la couleur "classique" par défaut ci-dessus. Le halo de couleur derrière
   chaque icône (drop-shadow teintée) donne un léger effet de brillance métallique
   sans revenir à un fond plein. */
.icone-carte--argente { color: #8b93a0; }
.icone-carte--argente svg { filter: drop-shadow(0 2px 6px rgba(139,147,160,.55)); }
.icone-carte--or { color: #c99a34; }
.icone-carte--or svg { filter: drop-shadow(0 2px 6px rgba(201,154,52,.5)); }
.icone-carte--diamant { color: #2fb6cf; }
.icone-carte--diamant svg { filter: drop-shadow(0 2px 6px rgba(47,182,207,.5)); }

/* ---------- Aperçus (remplacent la prose pure par un exemple concret) ---------- */
.apercu-mockup { background: var(--blanc); border-radius: var(--radius); box-shadow: var(--ombre-douce); max-width: 420px; margin: 28px auto 0; overflow: hidden; }
.apercu-mockup .apercu-entete { display: flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--gris-fond); border-bottom: 1px solid #e5e7eb; font-size: .78rem; font-weight: 700; color: var(--gris-texte); text-transform: uppercase; letter-spacing: .04em; }
.apercu-mockup .apercu-corps { padding: 18px 20px; text-align: left; }
/* Variante chat : bulles conversation */
.apercu-chat .bulle { border-radius: 14px; padding: 10px 14px; margin-bottom: 10px; font-size: .92rem; line-height: 1.5; max-width: 85%; }
.apercu-chat .bulle-bot { background: var(--gris-fond); color: var(--bleu-nuit); border-bottom-left-radius: 4px; }
.apercu-chat .bulle-visiteur { background: var(--degrade-primaire); color: var(--blanc); margin-left: auto; border-bottom-right-radius: 4px; }
.apercu-chat .bulle:last-child { margin-bottom: 0; }
/* Variante email : objet + liste récap */
.apercu-email .apercu-objet { font-weight: 700; font-size: .95rem; margin-bottom: 2px; }
.apercu-email .apercu-meta { font-size: .78rem; color: var(--gris-texte); }
.apercu-mockup .apercu-corps ul { margin: 0; padding-left: 20px; font-size: .9rem; color: var(--bleu-nuit); }
.apercu-mockup .apercu-corps ul li { margin-bottom: 8px; }
.apercu-mockup .apercu-corps ul li:last-child { margin-bottom: 0; }
.prix-ancien { font-size: 1.1rem; color: var(--gris-texte); text-decoration: line-through; font-weight: 600; margin-right: 8px; }
.badge-lancement {
  display: inline-block; background: var(--vert-succes); color: var(--blanc);
  font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  margin-left: 6px; vertical-align: middle; white-space: nowrap;
}
.badge-bientot {
  display: inline-block; background: var(--bleu-primaire); color: var(--blanc);
  font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  margin-left: 6px; vertical-align: middle; white-space: nowrap;
}
.economie-realisee {
  background: #ecfdf3; color: var(--vert-succes); font-weight: 700; font-size: .82rem;
  padding: 7px 12px; border-radius: 8px; margin: 4px 0 16px; text-align: center;
}

.toggle-cible {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 24px;
}
.toggle-cible button {
  padding: 10px 24px; border-radius: 999px; border: 1px solid #d1d5db;
  background: var(--blanc); font-weight: 600; cursor: pointer; transition: all .2s ease;
}
.toggle-cible button:hover { border-color: var(--bleu-primaire); color: var(--bleu-primaire); }
.toggle-cible button.actif { background: var(--degrade-primaire); color: var(--blanc); border-color: transparent; box-shadow: 0 6px 16px rgba(27,111,136,.28); }
.toggle-cible button.actif:hover { color: var(--blanc); }

/* ---------- Forms ---------- */
.carte {
  background: var(--blanc); border-radius: var(--radius); box-shadow: var(--ombre-forte);
  padding: 36px; max-width: 520px; margin: 48px auto;
  border: 1px solid #eef0f6;
}
.carte h2 { font-size: 1.5rem; }
.champ { margin-bottom: 16px; }
.champ label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; }
.champ input, .champ select, .champ textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #d7dce3; border-radius: 8px; font-size: 1rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: none; border-color: var(--bleu-primaire); box-shadow: 0 0 0 3px rgba(27,111,136,.14);
}
.champ small { color: var(--gris-texte); }
.message-erreur { color: var(--rouge-alerte); font-size: .9rem; margin-top: 8px; }
.message-succes { color: var(--vert-succes); font-size: .9rem; margin-top: 8px; }
.hidden { display: none !important; }

/* ---------- Dashboard ---------- */
.dash-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 64px); }
.dash-sidebar { background: var(--bleu-nuit); color: var(--blanc); padding: 20px 12px; }
.dash-sidebar a {
  display: flex; align-items: center; gap: 12px;
  color: #8ea3b8; padding: 11px 14px; border-radius: 10px; font-weight: 500;
  margin-bottom: 2px; border-left: 3px solid transparent;
  transition: background .15s ease, color .15s ease;
}
.dash-sidebar a::before {
  content: ""; width: 18px; height: 18px; flex: none; background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
  opacity: .9;
}
.dash-sidebar a:hover { background: rgba(255,255,255,.06); color: #e2eaf2; }
.dash-sidebar a.actif {
  background: rgba(34,184,201,.14); color: var(--blanc); border-left-color: var(--bleu-primaire-vif);
}

/* Icônes par lien — ciblage par href, aucune modification du HTML nécessaire */
.dash-sidebar a[href="dashboard-client.html"]::before,
.dash-sidebar a[href="dashboard-commercial.html"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
}
.dash-sidebar a[href="#demandes"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h18v14H3z'/%3E%3Cpath d='M3 6l9 7 9-7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h18v14H3z'/%3E%3Cpath d='M3 6l9 7 9-7'/%3E%3C/svg%3E");
}
.dash-sidebar a[href="#factures"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cline x1='8' y1='13' x2='16' y2='13'/%3E%3Cline x1='8' y1='17' x2='16' y2='17'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cline x1='8' y1='13' x2='16' y2='13'/%3E%3Cline x1='8' y1='17' x2='16' y2='17'/%3E%3C/svg%3E");
}
.dash-sidebar a[href="#abonnement"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E");
}
.dash-sidebar a[href="#versements"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E");
}
.dash-sidebar a[href="#progression"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 6 13.5 15.5 8.5 10.5 1 18'/%3E%3Cpolyline points='17 6 23 6 23 12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 6 13.5 15.5 8.5 10.5 1 18'/%3E%3Cpolyline points='17 6 23 6 23 12'/%3E%3C/svg%3E");
}
.dash-sidebar a[href="#pipeline"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='6'/%3E%3Cpath d='M6 11.5V16a6 3 0 0 0 12 0v-4.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='6'/%3E%3Cpath d='M6 11.5V16a6 3 0 0 0 12 0v-4.5'/%3E%3C/svg%3E");
}
.dash-sidebar a[href="#reseau"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}
.dash-sidebar a[href="#ventes"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='5' x2='5' y2='19'/%3E%3Ccircle cx='6.5' cy='6.5' r='2.5'/%3E%3Ccircle cx='17.5' cy='17.5' r='2.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='5' x2='5' y2='19'/%3E%3Ccircle cx='6.5' cy='6.5' r='2.5'/%3E%3Ccircle cx='17.5' cy='17.5' r='2.5'/%3E%3C/svg%3E");
}
.dash-sidebar a[href="#defis"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M8.21 13.89 7 23l5-3 5 3-1.21-9.12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M8.21 13.89 7 23l5-3 5 3-1.21-9.12'/%3E%3C/svg%3E");
}
.dash-sidebar a[href="#historique-ventes"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v5h5'/%3E%3Cpath d='M3.05 13A9 9 0 1 0 6 5.3L3 8'/%3E%3Cpath d='M12 7v5l4 2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v5h5'/%3E%3Cpath d='M3.05 13A9 9 0 1 0 6 5.3L3 8'/%3E%3Cpath d='M12 7v5l4 2'/%3E%3C/svg%3E");
}
.dash-sidebar a[href="#activite-equipe"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 12 18 12 15 21 9 3 6 12 2 12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='22 12 18 12 15 21 9 3 6 12 2 12'/%3E%3C/svg%3E");
}
.dash-sidebar a[href="#lien"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E");
}

.dash-main { padding: 32px; }

.grille-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-tuile { background: var(--blanc); border-radius: var(--radius); box-shadow: var(--ombre); padding: 20px; }
.stat-tuile .valeur { font-size: 1.8rem; font-weight: 700; }
.stat-tuile .label { color: var(--gris-texte); font-size: .85rem; }

table.donnees { width: 100%; border-collapse: collapse; background: var(--blanc); border-radius: var(--radius); overflow: hidden; box-shadow: var(--ombre); }
table.donnees th, table.donnees td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #eef0f3; font-size: .9rem; }
table.donnees th { background: var(--bleu-clair); color: var(--bleu-nuit); }

.badge { padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.badge-actif { background: #dcfce7; color: var(--vert-succes); }
.badge-essai { background: #fef9c3; color: #a16207; }
.badge-suspendu, .badge-resilie { background: #fee2e2; color: var(--rouge-alerte); }

footer.site { text-align: center; padding: 32px; color: #aebdd0; font-size: .85rem; background: var(--bleu-nuit); }
footer.site a { color: #d3e2ee; text-decoration: underline; }
footer.site a:hover { color: var(--bleu-primaire-vif); }

/* ---------- Bandeaux d'alerte (ex: SIRET commercial requis) ---------- */
.alerte-bandeau {
  padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 600;
}
.alerte-bandeau-danger { background: #fee2e2; color: var(--rouge-alerte); border: 1px solid #fecaca; }
.alerte-bandeau-info { background: #fef9c3; color: #a16207; border: 1px solid #fde68a; }

/* ---------- Gamification MLM (dashboard commercial) ---------- */
.entete-bienvenue { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.entete-bienvenue h2 { margin: 0; }

.badge-niveau {
  display: inline-block; padding: 6px 16px; border-radius: 999px; font-weight: 700; font-size: .85rem;
  letter-spacing: .3px; color: var(--blanc); background: var(--gris-texte);
  box-shadow: 0 2px 8px rgba(15,27,45,.18);
}
.badge-niveau-conseiller { background: linear-gradient(135deg, var(--bleu-primaire), var(--bleu-primaire-vif)); }
.badge-niveau-formateur { background: linear-gradient(135deg, var(--violet-formateur), #a78bfa); }
.badge-niveau-manager { background: linear-gradient(135deg, var(--or-manager), #f59e0b); }
.badge-niveau-directeur { background: linear-gradient(135deg, var(--diamant-directeur), #67e8f9); }
.badge-niveau-petit { padding: 2px 10px; font-size: .72rem; box-shadow: none; }

.carte-section {
  background: var(--blanc); border-radius: var(--radius); box-shadow: var(--ombre);
  padding: 24px; margin-bottom: 24px;
}
.carte-section h3 { margin-top: 0; }
.sous-titre-section { color: var(--gris-texte); font-size: .88rem; margin-top: -8px; margin-bottom: 20px; }
.sous-section-titre { font-size: .95rem; color: var(--bleu-nuit); margin: 20px 0 10px; }

/* La carte de progression se distingue du reste du dashboard (fond sombre,
   façon "écran de niveau" de jeu vidéo) — demande explicite d'un ton moins
   corporate/plus fun pour cette partie précise. */
.carte-progression {
  background: linear-gradient(135deg, var(--bleu-nuit) 0%, #1a3352 100%);
  color: var(--blanc);
}
.carte-progression h3 { color: var(--blanc); }

.bloc-progression { margin-top: 8px; }
.ligne-objectif { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; flex-wrap: wrap; gap: 6px; }
.ligne-objectif #titre-objectif { font-weight: 700; color: var(--blanc); font-size: 1.05rem; }
.ligne-objectif #texte-progression { color: #aebdd0; font-size: .9rem; }

.progress-track { background: rgba(255,255,255,.14); border-radius: 999px; height: 18px; overflow: hidden; box-shadow: inset 0 1px 3px rgba(0,0,0,.3); }
.progress-fill {
  height: 100%; border-radius: 999px; position: relative;
  background: linear-gradient(90deg, var(--bleu-primaire-vif), var(--violet-formateur));
  transition: width .6s cubic-bezier(.16,1,.3,1);
}
.progress-fill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  width: 40%; animation: eclat-progression 2.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .progress-fill::after { animation: none; } }
@keyframes eclat-progression {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}

.paliers-niveaux { display: flex; justify-content: space-between; margin-top: 12px; font-size: .78rem; color: #aebdd0; font-weight: 600; }
.palier { display: flex; align-items: center; gap: 5px; opacity: .55; transition: opacity .25s ease; }
.palier-icone { font-size: 1.05rem; filter: grayscale(1); transition: filter .25s ease; }
.palier.atteint { opacity: 1; color: var(--blanc); }
.palier.atteint .palier-icone { filter: none; }
.palier.actif { opacity: 1; color: var(--blanc); }
.palier.actif .palier-icone { filter: none; animation: pulse-palier 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .palier.actif .palier-icone { animation: none; } }
@keyframes pulse-palier {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.stat-tuile-accent { border-left: 4px solid var(--bleu-primaire); }
.stat-tuile-succes { border-left: 4px solid var(--vert-succes); }

.liste-versements-a-venir { display: flex; flex-direction: column; gap: 10px; }
.ligne-versement-a-venir {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; background: var(--gris-fond); border-radius: 10px; font-size: .9rem;
  border-left: 4px solid var(--bleu-primaire-vif);
}
.ligne-versement-a-venir.quete-debloquee { border-left-color: var(--vert-succes); }
.delai-versement { color: var(--gris-texte); font-size: .78rem; margin-left: 8px; }
.montant-versement {
  font-weight: 700; color: var(--bleu-nuit); background: var(--bleu-clair);
  padding: 4px 12px; border-radius: 999px; font-size: .95rem;
}
.nb-tranches { font-weight: 400; color: var(--gris-texte); font-size: .78rem; }
.etat-vide { color: var(--gris-texte); font-size: .9rem; }
.etiquette-niveau { color: var(--gris-texte); font-size: .74rem; }
.etiquette-residuel {
  display: inline-block; margin-top: 3px; padding: 1px 8px; border-radius: 999px;
  background: #ecfeff; color: #0e7490; font-size: .68rem; font-weight: 700; letter-spacing: .2px;
}

/* Catalogue de défis (primes sur objectif) */
.defis-grille { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap:16px; }
.defi-carte { background:var(--gris-fond); border-radius:10px; padding:16px 18px; }
.defi-carte h4 { margin:0 0 10px; font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; color:var(--bleu-primaire); }
.defi-item { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:8px 0; border-top:1px solid #e5e7eb; font-size:.88rem; }
.defi-item:first-of-type { border-top:none; }
.defi-item.defi-obtenu .defi-nom { color: var(--vert-succes); font-weight:600; }
.defi-montant { font-weight:700; color:var(--bleu-nuit); white-space:nowrap; }
.defi-item.defi-obtenu .defi-montant { color: var(--vert-succes); }

/* Statuts de quête (journal des commissions) — remplace l'affichage brut du
   statut interne (ex. "en_attente") par un libellé + une couleur dédiés. */
.badge-quete-encaissee { background: #dcfce7; color: var(--vert-succes); }
.badge-quete-debloquee { background: #dbeafe; color: var(--bleu-primaire); }
.badge-quete-attente { background: #fef9c3; color: #a16207; }
.badge-quete-bloquee { background: #fee2e2; color: var(--rouge-alerte); }
.badge-quete-annulee { background: #f1f5f9; color: var(--gris-texte); }

/* ---------- Chatbot flottant ---------- */
#chatbot-bulle {
  position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px;
  border-radius: 50%; background: var(--bleu-primaire); color: var(--blanc);
  font-size: 1.5rem; border: none; box-shadow: var(--ombre); cursor: pointer; z-index: 999;
}
#chatbot-panneau {
  position: fixed; bottom: 92px; right: 24px; width: 320px; max-width: 90vw;
  height: 420px; max-height: 70vh; background: var(--blanc); border-radius: var(--radius);
  box-shadow: var(--ombre); display: flex; flex-direction: column; overflow: hidden; z-index: 999;
}
#chatbot-header {
  background: var(--bleu-nuit); color: var(--blanc); padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: .9rem;
}
#chatbot-header button { background: none; border: none; color: var(--blanc); cursor: pointer; font-size: 1rem; }
#chatbot-messages { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.chatbot-msg { padding: 8px 12px; border-radius: 12px; font-size: .88rem; max-width: 85%; }
.chatbot-msg-assistant { background: var(--bleu-clair); align-self: flex-start; }
.chatbot-msg-utilisateur { background: var(--bleu-primaire); color: var(--blanc); align-self: flex-end; }
#chatbot-form { display: flex; border-top: 1px solid #e5e7eb; }
#chatbot-form input { flex: 1; border: none; padding: 10px 12px; font-size: .9rem; }
#chatbot-form input:focus { outline: none; }
#chatbot-form button { border: none; background: var(--bleu-primaire); color: var(--blanc); padding: 0 14px; cursor: pointer; }

/* ---------- Réassurance / Process / FAQ (funnel autonome) ---------- */
.bloc-reassurance {
  background: var(--bleu-clair); text-align: center; padding: 14px; border-radius: var(--radius);
  max-width: 640px; margin: 0 auto 28px; font-weight: 600; color: var(--bleu-nuit);
}
.grille-etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; margin: 32px 0; }
.etape {
  background: var(--blanc); border-radius: var(--radius); box-shadow: var(--ombre-douce); padding: 26px; text-align: center;
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s ease;
}
.etape:hover { transform: translateY(-5px); box-shadow: var(--ombre); }
.etape h3 { font-size: 1.05rem; }
.etape .numero {
  width: 38px; height: 38px; border-radius: 50%; background: var(--degrade-primaire); color: var(--blanc);
  display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 14px;
  font-family: var(--font-titres); box-shadow: 0 6px 16px rgba(27,111,136,.28);
}
.deux-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

.faq-item { border-bottom: 1px solid #e5e7eb; padding: 18px 0; transition: padding-left .18s ease; }
.faq-item:hover { padding-left: 6px; }
.faq-item h4 { margin: 0 0 6px; font-family: var(--font-titres); font-size: 1.02rem; }
.faq-item p { margin: 0; color: var(--gris-texte); }

/* ---------- Bandes de couleur (rythme visuel, évite le gris/blanc plat) ---------- */
.section-navy {
  position: relative; overflow: hidden;
  background: var(--bleu-nuit);
  padding: 64px 0;
}
.section-navy::before, .section-navy::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); z-index: 0; opacity: .28;
}
.section-navy::before { width: 380px; height: 380px; background: var(--bleu-primaire-vif); top: -140px; right: -100px; }
.section-navy::after { width: 340px; height: 340px; background: var(--bleu-primaire); bottom: -160px; left: -80px; }
.section-navy .container { position: relative; z-index: 1; }
.section-navy h2 { color: var(--blanc); }
.section-navy .etape { background: rgba(255,255,255,.07); box-shadow: none; border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.section-navy .etape:hover { background: rgba(255,255,255,.1); }
.section-navy .etape h3 { color: var(--blanc); }
.section-navy .etape p { color: #aebdd0; }

.section-teintee { background: var(--degrade-clair); padding: 56px 0; }

#cal-embed { min-height: 500px; background: var(--blanc); border-radius: var(--radius); box-shadow: var(--ombre-douce); }

.cal-embed-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 32px; background: var(--gris-fond);
}
.cal-embed-placeholder p { max-width: 420px; color: var(--gris-texte); margin: 0; }

/* ============ Bandeau de consentement cookies ============ */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
  background: var(--bleu-nuit); color: var(--blanc);
  padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--ombre-forte);
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between;
}
.cookie-banner__texte { flex: 1 1 420px; font-size: .92rem; line-height: 1.5; color: #dbe3ff; margin: 0; }
.cookie-banner__texte a { color: var(--blanc); }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 18px; font-size: .9rem; }
.cookie-banner-lien { background: none; border: none; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
}

section#offres h2, section#site-web h2, section#realisations h2, section#faq h2, section#comment-ca-marche h2, section#reserver h2 {
  font-size: 2rem; margin-bottom: 8px;
}

/* ============================================================================
   Refonte home (29/08/2026) — rythme de section homogène + en-têtes structurés
   ============================================================================ */

/* Rythme vertical unique pour toutes les sections de la home
   (surclasse .section-teintee / .section-navy définis plus haut). */
.section, .section-teintee.section, .section-navy.section { padding: 84px 0; }
@media (max-width: 720px) {
  .section, .section-teintee.section, .section-navy.section { padding: 56px 0; }
}

/* En-tête de section : kicker + titre + accroche, centré, largeur maîtrisée */
.section-tete { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-tete .kicker {
  display: inline-block; font-family: var(--font-titres); font-weight: 700;
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bleu-primaire); margin-bottom: 14px;
  padding: 5px 12px; border-radius: 999px; background: var(--bleu-clair);
}
.section-navy .section-tete .kicker { color: var(--bleu-primaire-vif); background: rgba(34,184,201,.14); }
.section-tete h2 { font-size: 2.15rem; line-height: 1.15; margin: 0 0 12px; }
.section-tete .lead { font-size: 1.08rem; color: var(--gris-texte); margin: 0; }
.section-navy .section-tete .lead { color: #aebdd0; }
@media (max-width: 720px) { .section-tete h2 { font-size: 1.7rem; } }

/* Hero — un cran plus affirmé */
.hero { padding: 108px 0 84px; }
.hero h1 { font-size: 3.15rem; letter-spacing: -0.02em; }
.hero p { font-size: 1.22rem; }
@media (max-width: 720px) { .hero { padding: 72px 0 56px; } .hero h1 { font-size: 2.2rem; } }
.hero .bloc-reassurance { max-width: 620px; margin-left: auto; margin-right: auto; }

/* Bande de confiance sous le hero (logos de secteurs desservis, chiffres…) */
.hero-preuve {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
  margin-top: 30px; font-size: .86rem; color: var(--gris-texte);
}
.hero-preuve span { display: inline-flex; align-items: center; gap: 7px; }
.hero-preuve span::before { content: "✓"; color: var(--bleu-primaire); font-weight: 800; }

/* Section « Ce qu'on fabrique » — cadre navigateur autour des aperçus */
.realisations-grille { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:26px; }
.realisation {
  border:1px solid #e6e9ef; border-radius:16px; overflow:hidden; background:var(--blanc);
  display:flex; flex-direction:column; box-shadow: var(--ombre-douce);
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s ease;
}
.realisation:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }
.realisation .chrome {
  height: 34px; background: #f1f3f6; border-bottom: 1px solid #e6e9ef;
  display:flex; align-items:center; gap:7px; padding: 0 14px;
}
.realisation .chrome i { width:9px; height:9px; border-radius:50%; background:#cfd4dc; display:block; }
.realisation .apercu { position:relative; height:230px; overflow:hidden; background:#f4f5f7; }
.realisation .apercu iframe {
  position:absolute; top:0; left:0; width:1280px; height:960px; border:0;
  transform:scale(.34); transform-origin:top left; pointer-events:none;
}
.realisation .apercu > a { position:absolute; inset:0; z-index:2; }
.realisation .infos { padding:18px 20px; display:flex; flex-direction:column; gap:6px; }
.realisation .infos b { font-size:1rem; }
.realisation .infos span { color:var(--gris-texte); font-size:.86rem; line-height:1.5; }
.realisation .infos a.ouvrir { margin-top:8px; font-size:.88rem; font-weight:700; }

/* Grille des « autres services » — cartes homogènes, hauteur alignée */
#autres-services .grille-plans { align-items: stretch; }
#autres-services .carte-plan { display:flex; flex-direction:column; }
#autres-services .carte-plan .btn { margin-top:auto; }

@media (max-width: 720px) {
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { display: flex; overflow-x: auto; padding: 8px; }
  .dash-sidebar a { padding: 8px 14px; white-space: nowrap; }
}
