/* Massla.sn/decouvrir — page d'accueil marketing, charte Massla (jetons de massla-tokens.css, chargé avant).
   Aucune couleur ni police en dur : tout vient des jetons. Mobile d'abord ; ruptures du kit à 600 et 1024 px. */

:root {
  --wrap: 1200px;
  --texte-max: 680px;
  --marge: 16px;      /* marges latérales : 16 / 24 / 32 px */
  --section-y: 64px;  /* espace entre deux sections : 64 / 96 / 128 px */
  --entete-h: 64px;
  /* dérivés des jetons Massla (mêmes valeurs que dans style.css) : texte sur fond Sahel, voile, survol */
  --sahel-800: #13503B;
  --on-brand-muted: rgba(243, 248, 243, 0.78);
  --on-brand-chip: rgba(243, 248, 243, 0.16);
  --on-brand-hover: rgba(243, 248, 243, 0.12);
  --on-brand-line: rgba(243, 248, 243, 0.3);
  --overlay: rgba(11, 31, 24, 0.5);
  --hover: rgba(15, 61, 46, 0.06);
  /* icônes Lucide (trait 2 px) utilisées en masque : elles prennent la couleur du texte */
  --i-livre: 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='M12 7v14'/%3E%3Cpath d='M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z'/%3E%3C/svg%3E");
  --i-facture: 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='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 9H8'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E");
  --i-personne: 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='M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  --i-wifi-barre: 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='M12 20h.01'/%3E%3Cpath d='M8.5 16.429a5 5 0 0 1 7 0'/%3E%3Cpath d='M5 12.859a10 10 0 0 1 5.17-2.69'/%3E%3Cpath d='M19 12.859a10 10 0 0 0-2.007-1.523'/%3E%3Cpath d='M2 8.82a15 15 0 0 1 4.177-2.643'/%3E%3Cpath d='M22 8.82a15 15 0 0 0-11.288-3.764'/%3E%3Cpath d='m2 2 20 20'/%3E%3C/svg%3E");
  --i-portefeuille: 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='M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1'/%3E%3Cpath d='M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4'/%3E%3C/svg%3E");
  --i-message: 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='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E");
  --i-tableau: 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 width='7' height='9' x='3' y='3' rx='1'/%3E%3Crect width='7' height='5' x='14' y='3' rx='1'/%3E%3Crect width='7' height='9' x='14' y='12' rx='1'/%3E%3Crect width='7' height='5' x='3' y='16' rx='1'/%3E%3C/svg%3E");
  --i-equipe: 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='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 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");
  --i-modules: 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 width='7' height='7' x='3' y='3' rx='1'/%3E%3Crect width='7' height='7' x='14' y='3' rx='1'/%3E%3Crect width='7' height='7' x='14' y='14' rx='1'/%3E%3Crect width='7' height='7' x='3' y='14' rx='1'/%3E%3C/svg%3E");
  --i-cadenas: 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 width='18' height='11' x='3' y='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
  --i-telephone: 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 width='14' height='20' x='5' y='2' rx='2' ry='2'/%3E%3Cpath d='M12 18h.01'/%3E%3C/svg%3E");
  --i-coche: 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --i-plus: 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='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E");
  --i-moins: 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='M5 12h14'/%3E%3C/svg%3E");
  --i-menu: 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='M4 6h16'/%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M4 18h16'/%3E%3C/svg%3E");
  --i-fermer: 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='M18 6 6 18'/%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E");
  --i-fleche: 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='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  /* bouton principal : Sahel sur fond clair ; vert Dakar quand le thème sombre est actif */
  --btn-principal-fond: var(--sahel-900);
  --btn-principal-texte: var(--on-brand);
  --titre: var(--sahel-900); /* titres : vert Sahel sur fond clair, texte clair en thème sombre */
}
@media (min-width: 600px) { :root { --marge: 24px; --section-y: 96px; } }
@media (min-width: 1024px) { :root { --marge: 32px; --section-y: 128px; --entete-h: 72px; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --btn-principal-fond: var(--dakar-500); --btn-principal-texte: var(--on-accent); --titre: var(--on-brand); }
}
:root[data-theme="dark"] { --btn-principal-fond: var(--dakar-500); --btn-principal-texte: var(--on-accent); --titre: var(--on-brand); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete-h) + 16px); }
body {
  margin: 0; background: var(--senegal-50); color: var(--ink);
  font-family: var(--font-text); font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dakar-700); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aller-au-contenu { position: absolute; left: var(--space-4); top: -100px; z-index: 100; background: var(--surface); color: var(--ink); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); }
.aller-au-contenu:focus { top: var(--space-2); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--marge); }
section { padding-block: calc(var(--section-y) / 2); }
.section-claire { background: var(--senegal-50); }
.section-blanche { background: var(--surface); }
.section-sahel { background: var(--sahel-900); color: var(--on-brand); }
.section-sahel h2, .section-sahel h3 { color: var(--on-brand); }
.section-sahel a { color: var(--dakar-500); }

/* ---------- Typographie : une seule famille (Onest) ---------- */
h1, h2, h3, h4 { margin: 0; color: var(--titre); }
h1 { font-size: 32px; line-height: 38px; font-weight: 800; letter-spacing: -0.5px; }
h2 { font-size: 26px; line-height: 32px; font-weight: 700; letter-spacing: -0.3px; }
h3 { font-size: 20px; line-height: 26px; font-weight: 700; }
h1 em { font-style: normal; color: var(--dakar-700); }
.surtitre { margin: 0 0 var(--space-3); font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dakar-700); }
.section-sahel .surtitre { color: var(--dakar-500); }
.chapeau { margin: var(--space-4) 0 0; max-width: var(--texte-max); font-size: 18px; line-height: 28px; color: var(--ink-muted); }
.section-sahel .chapeau { color: var(--on-brand-muted, var(--on-brand)); }
.intro { margin: var(--space-3) 0 0; max-width: var(--texte-max); font-size: 17px; line-height: 27px; color: var(--ink-muted); }
.section-sahel .intro { color: var(--on-brand); opacity: 0.88; }
@media (min-width: 600px) {
  h1 { font-size: 44px; line-height: 50px; }
  h2 { font-size: 32px; line-height: 40px; }
  .chapeau { font-size: 20px; line-height: 30px; }
}
@media (min-width: 1024px) {
  h1 { font-size: 56px; line-height: 60px; letter-spacing: -1px; }
  h2 { font-size: 40px; line-height: 46px; }
  h3 { font-size: 22px; line-height: 30px; }
  .surtitre { font-size: 14px; }
  .intro { font-size: 18px; line-height: 28px; }
}

/* ---------- Boutons (54 px, rayon 16, libellé 16 px / 700) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--button-h); padding: 0 var(--space-6); border: 1.5px solid transparent; border-radius: var(--radius-lg);
  font: 700 16px/20px var(--font-text); text-decoration: none; cursor: pointer; text-align: center;
}
.btn-principal { background: var(--btn-principal-fond); color: var(--btn-principal-texte); }
.btn-accent { background: var(--dakar-500); color: var(--on-accent); }
.btn-contour { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-contour-clair { background: transparent; color: var(--on-brand); border-color: var(--on-brand-line, var(--border-strong)); }
.btn-petit { min-height: 44px; padding: 0 var(--space-4); border-radius: var(--radius-md); font-size: 15px; }
.btn:hover { filter: brightness(1.08); }
.btn-contour:hover, .btn-contour-clair:hover { background: var(--hover, transparent); filter: none; }
.btn-lien { background: none; border: 0; padding: 0; min-height: var(--tap-min); color: var(--dakar-700); font: 700 16px/20px var(--font-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cta-row { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-6); }
@media (min-width: 600px) { .cta-row { flex-direction: row; flex-wrap: wrap; } }

/* ---------- En-tête fixe ---------- */
.entete { position: sticky; top: 0; z-index: 60; background: var(--sahel-900); color: var(--on-brand); }
.entete .wrap { display: flex; align-items: center; gap: var(--space-4); height: var(--entete-h); }
.logo-entete { display: flex; align-items: center; min-height: var(--tap-min); }
.logo-entete img { height: 32px; width: auto; min-width: 140px; }
.entete a { color: var(--on-brand); text-decoration: none; font-weight: 600; }
.nav-principal { display: none; margin-left: auto; align-items: center; gap: var(--space-6); }
.nav-principal a:hover { text-decoration: underline; text-underline-offset: 4px; }
.entete-actions { display: flex; align-items: center; gap: var(--space-4); margin-left: auto; }
.entete .btn-accent { color: var(--on-accent); }
.entete-demo { display: none; }
.menu-mobile { position: relative; }
.menu-mobile > summary {
  list-style: none; cursor: pointer; width: var(--tap-min); height: var(--tap-min); display: grid; place-items: center; border-radius: var(--radius-md);
}
.menu-mobile > summary::-webkit-details-marker { display: none; }
.menu-mobile > summary::before { content: ""; width: 24px; height: 24px; background-color: var(--on-brand); -webkit-mask: var(--i-menu) center / contain no-repeat; mask: var(--i-menu) center / contain no-repeat; }
.menu-mobile[open] > summary::before { -webkit-mask-image: var(--i-fermer); mask-image: var(--i-fermer); }
.menu-mobile > nav {
  position: fixed; inset: var(--entete-h) 0 0 0; background: var(--sahel-900); padding: var(--space-6) var(--marge);
  display: flex; flex-direction: column; gap: var(--space-2); overflow-y: auto;
}
.menu-mobile > nav a { display: flex; align-items: center; min-height: 56px; font-size: 20px; border-bottom: 1px solid var(--on-brand-hover, var(--border)); }
.menu-mobile > nav .btn { margin-top: var(--space-4); border-bottom: 0; }
@media (min-width: 600px) { .entete-demo { display: inline-flex; } }
@media (min-width: 1024px) {
  .nav-principal { display: flex; }
  .entete-actions { margin-left: var(--space-6); }
  .menu-mobile { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-block: var(--space-8) calc(var(--section-y) / 2); }
.hero .wrap { display: grid; gap: var(--space-8); align-items: center; }
.hero-visuel img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); aspect-ratio: 1200 / 686; object-fit: cover; }
.ligne-confiance { margin: var(--space-5) 0 0; font-size: 16px; color: var(--ink-muted); }
.ligne-confiance strong { color: var(--ink); }
.puces-secteurs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.puce-secteur { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4); border-radius: 999px; background: var(--niayes-100); color: var(--ink); font-size: 15px; font-weight: 600; }
@media (min-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr 1fr; gap: var(--space-10); }
}

/* ---------- Icônes (masques) et pastilles ---------- */
.ico { display: inline-block; flex: none; width: 24px; height: 24px; background-color: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.pastille { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--niayes-100); color: var(--ink); }
.ic-livre { --i: var(--i-livre); } .ic-facture { --i: var(--i-facture); } .ic-personne { --i: var(--i-personne); } .ic-wifi-barre { --i: var(--i-wifi-barre); }
.ic-portefeuille { --i: var(--i-portefeuille); } .ic-message { --i: var(--i-message); } .ic-tableau { --i: var(--i-tableau); }
.ic-equipe { --i: var(--i-equipe); } .ic-modules { --i: var(--i-modules); } .ic-cadenas { --i: var(--i-cadenas); } .ic-telephone { --i: var(--i-telephone); }

/* ---------- Cartes ---------- */
.grille { display: grid; gap: var(--space-4); margin-top: var(--space-8); }
.carte { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); }
.section-blanche .carte { background: var(--senegal-50); }
.carte p { margin: var(--space-3) 0 0; color: var(--ink-muted); }
.carte .pastille { margin-bottom: var(--space-4); }
@media (min-width: 600px) {
  .grille-2, .grille-4, .grille-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
}
@media (min-width: 1024px) {
  .grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grille-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grille { gap: var(--space-6); }
}

/* ---------- Secteurs ---------- */
.secteur-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.secteur-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.secteur-corps { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); flex: 1; }
.secteur-corps ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-3); color: var(--ink-muted); }
.secteur-corps li { display: flex; gap: var(--space-3); }
.secteur-corps li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; background-color: var(--dakar-700); -webkit-mask: var(--i-coche) center / contain no-repeat; mask: var(--i-coche) center / contain no-repeat; }
.secteur-corps .btn-lien { margin-top: auto; align-self: flex-start; }

/* ---------- Aviculture : texte + captures de l'application ---------- */
.duo { display: grid; gap: var(--space-8); align-items: center; }
.liste-coches { margin: var(--space-5) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-3); max-width: var(--texte-max); }
.liste-coches li { display: flex; gap: var(--space-3); color: var(--ink); }
.liste-coches li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; background-color: var(--dakar-700); -webkit-mask: var(--i-coche) center / contain no-repeat; mask: var(--i-coche) center / contain no-repeat; }
.duo-visuel { display: flex; gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--space-2) 0 var(--space-4); }
.telephone { flex: 0 0 min(260px, 72%); margin: 0; scroll-snap-align: center; }
.telephone img { width: 100%; height: auto; border: 1px solid var(--border-strong); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); background: var(--surface); }
.telephone figcaption { margin-top: var(--space-3); font-size: 14px; line-height: 20px; color: var(--ink-muted); text-align: center; }
@media (min-width: 600px) { .duo-visuel { justify-content: center; overflow: visible; } }
@media (min-width: 1024px) { .duo { grid-template-columns: 1fr 1fr; gap: var(--space-10); } }

/* ---------- Pages de secteur et pages légales ---------- */
.fil-ariane { margin: 0 0 var(--space-4); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.fil-ariane a { color: var(--dakar-700); }
a.puce-secteur { text-decoration: none; }
a.puce-secteur:hover { text-decoration: underline; text-underline-offset: 3px; }
.note-secteur { margin: var(--space-6) 0 0; max-width: var(--texte-max); color: var(--ink-muted); }
.page-legale { background: var(--surface); padding-block: var(--space-10) var(--section-y); }
.texte-legal { max-width: var(--texte-max); }
.texte-legal h1 { margin-bottom: var(--space-2); }
.texte-legal .maj { margin: 0 0 var(--space-6); color: var(--ink-muted); font-size: 15px; }
.texte-legal h2 { margin: var(--space-8) 0 var(--space-3); font-size: 22px; line-height: 30px; }
.texte-legal h3 { margin: var(--space-5) 0 var(--space-2); font-size: 18px; line-height: 24px; }
.texte-legal p, .texte-legal li { color: var(--ink); }
.texte-legal ul { padding-left: var(--space-5); display: grid; gap: var(--space-2); }
.choix-audience { margin: var(--space-4) 0 0; padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--senegal-50); display: grid; gap: var(--space-3); justify-items: start; }
.choix-audience p { margin: 0; font-weight: 600; }

/* ---------- Fonctionnalités ---------- */
.fonction { display: flex; gap: var(--space-4); align-items: flex-start; }
.fonction h3 { font-size: 18px; line-height: 24px; }
.fonction p { margin: var(--space-2) 0 0; color: var(--ink-muted); }
.carte.carte-demo, .section-blanche .carte.carte-demo { background: var(--sahel-900); border-color: var(--sahel-900); color: var(--on-brand); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); justify-content: center; }
.carte-demo h3 { color: var(--on-brand); }
.carte-demo p { margin: 0; color: var(--on-brand); opacity: 0.88; }

/* ---------- Preuve ---------- */
.citation { margin: var(--space-6) 0 0; max-width: 860px; }
.citation blockquote { margin: 0; font-size: 22px; line-height: 32px; font-weight: 500; color: var(--on-brand); }
.citation cite { display: block; margin-top: var(--space-4); font-style: normal; font-size: 16px; color: var(--on-brand); opacity: 0.88; }
.citation .etiquette { display: inline-block; margin-top: var(--space-3); padding: var(--space-1) var(--space-3); border-radius: var(--radius-sm); background: var(--on-brand-chip, var(--sahel-800)); font-size: 13px; line-height: 18px; font-weight: 700; color: var(--on-brand); }
.avis-bloc { margin-top: var(--space-10); }
.avis-bloc:has(.avis-grid[hidden]) .avis-titre { display: none; }
.avis-entete { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.avis-grid { display: grid; gap: var(--space-4); margin-top: var(--space-4); }
.avis-card { background: var(--sahel-800); border-radius: var(--radius-lg); padding: var(--space-6); color: var(--on-brand); }
.avis-card p { margin: var(--space-3) 0; }
.avis-card cite { font-style: normal; font-weight: 600; opacity: 0.88; }
.avis-stars { color: var(--dakar-500); letter-spacing: 2px; font-size: 18px; }
@media (min-width: 600px) { .avis-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .citation blockquote { font-size: 24px; line-height: 34px; } }

/* ---------- Trois étapes ---------- */
.etapes { display: grid; gap: var(--space-8); margin-top: var(--space-8); }
.etape-num { font-size: 44px; line-height: 48px; font-weight: 800; color: var(--dakar-700); font-variant-numeric: tabular-nums; }
.etape h3 { margin-top: var(--space-2); }
.etape p { margin: var(--space-2) 0 0; color: var(--ink-muted); }
@media (min-width: 1024px) { .etapes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); } }

/* ---------- Tarifs ---------- */
.tarifs { display: grid; gap: var(--space-4); margin-top: var(--space-8); }
.tarif { background: var(--sahel-800); border: 1px solid var(--on-brand-hover, var(--border)); border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); color: var(--on-brand); }
.tarif h3 { color: var(--on-brand); }
.tarif .etiquette-prix { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-brand); }
.tarif .montant { margin-top: var(--space-3); font-size: 32px; line-height: 38px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.5px; }
.tarif .montant .devise { margin-left: var(--space-2); font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: 0; }
.tarif .periode { font-size: 15px; opacity: 0.85; }
.tarif .desc { margin: var(--space-3) 0 0; opacity: 0.92; }
.tarif.vedette { background: var(--dakar-500); border-color: var(--dakar-500); color: var(--on-accent); order: -1; }
.tarif.vedette h3, .tarif.vedette .etiquette-prix { color: var(--on-accent); }
.tarif.vedette .periode, .tarif.vedette .desc { opacity: 1; }
.tarif.vedette .badge-plus { align-self: flex-start; padding: var(--space-1) var(--space-3); border-radius: var(--radius-sm); background: var(--sahel-900); color: var(--on-brand); font-size: 13px; line-height: 18px; font-weight: 700; }
.tarif.vedette .economie { margin: var(--space-3) 0 0; font-weight: 800; }
@media (min-width: 600px) { .tarifs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); } .tarif.vedette { order: 0; } }
@media (min-width: 1024px) { .tarifs { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tarif .montant { font-size: 44px; line-height: 48px; } }
.detail-tarifs { margin-top: var(--space-6); border: 1px solid var(--on-brand-hover, var(--border)); border-radius: var(--radius-lg); padding: var(--space-2) var(--space-6); }
.detail-tarifs > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 56px; font-size: 18px; font-weight: 600; color: var(--dakar-500); }
.detail-tarifs > summary::-webkit-details-marker { display: none; }
.detail-tarifs > summary::after { content: ""; flex: none; width: 24px; height: 24px; background-color: currentColor; -webkit-mask: var(--i-plus) center / contain no-repeat; mask: var(--i-plus) center / contain no-repeat; }
.detail-tarifs[open] > summary::after { -webkit-mask-image: var(--i-moins); mask-image: var(--i-moins); }
.lignes-modules { display: grid; margin: var(--space-2) 0 var(--space-4); }
.ligne-module { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--on-brand-hover, var(--border)); }
.ligne-module em { display: block; font-style: normal; font-size: 14px; line-height: 20px; opacity: 0.8; }
.ligne-module > span:last-child { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.ligne-module.total { border-bottom: 0; font-size: 18px; font-weight: 800; }
.comparaison { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); padding: var(--space-4) 0; }
.comparaison .cote { display: grid; }
.comparaison .cote small { font-size: 13px; opacity: 0.85; }
.comparaison .cote strong { font-size: 22px; line-height: 28px; font-variant-numeric: tabular-nums; }
.comparaison .badge-eco { padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); background: var(--dakar-500); color: var(--on-accent); font-weight: 800; }
.note-tarifs { margin: var(--space-4) 0 0; font-size: 16px; opacity: 0.88; max-width: var(--texte-max); }
/* ---------- Offres : Gratuit / Pro tout inclus ---------- */
.offres { display: grid; gap: var(--space-4); margin-top: var(--space-8); }
.offre { background: var(--sahel-800); border: 1px solid var(--on-brand-hover, var(--border)); border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); color: var(--on-brand); }
.offre h3 { color: var(--on-brand); }
.offre .montant { margin-top: var(--space-2); font-size: 36px; line-height: 42px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.5px; }
.offre .montant .devise { margin-left: var(--space-2); font-size: 18px; line-height: 24px; font-weight: 700; letter-spacing: 0; }
.offre .periode { font-size: 15px; opacity: 0.85; }
.offre-liste { margin: var(--space-4) 0; padding: 0; list-style: none; display: grid; gap: var(--space-3); }
.offre-liste li { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-2); padding-left: 32px; position: relative; }
.offre-liste li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background-color: currentColor; -webkit-mask: var(--i-coche) center / contain no-repeat; mask: var(--i-coche) center / contain no-repeat; }
.offre-liste li.non { opacity: 0.62; }
.offre-liste li.non::before { -webkit-mask-image: var(--i-moins); mask-image: var(--i-moins); }
.offre .btn { margin-top: auto; }
.offre.vedette { background: var(--dakar-500); border-color: var(--dakar-500); color: var(--on-accent); }
.offre.vedette h3 { color: var(--on-accent); }
.offre.vedette .periode { opacity: 1; }
.offre.vedette .badge-plus { align-self: flex-start; padding: var(--space-1) var(--space-3); border-radius: var(--radius-sm); background: var(--sahel-900); color: var(--on-brand); font-size: 13px; line-height: 18px; font-weight: 700; }
.offre-lancement { margin: 0 0 var(--space-4); font-weight: 800; }
.offre.vedette .btn { background: var(--sahel-900); color: var(--on-brand); border-color: var(--sahel-900); }
.etiquette-bientot { display: inline-block; padding: 1px var(--space-2); border-radius: var(--radius-sm); background: var(--niayes-100); color: var(--ink); font-size: 12px; line-height: 18px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.section-sahel .etiquette-bientot { background: var(--sahel-900); color: var(--on-brand); }
.aide-whatsapp { margin: var(--space-5) 0 0; }
@media (min-width: 1024px) { .offres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); } }

/* ---------- FAQ ---------- */
.faq { max-width: var(--texte-max); margin: var(--space-8) 0 0; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 64px; padding-block: var(--space-3); font-size: 18px; line-height: 26px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 24px; height: 24px; background-color: var(--dakar-700); -webkit-mask: var(--i-plus) center / contain no-repeat; mask: var(--i-plus) center / contain no-repeat; }
.faq details[open] summary::after { -webkit-mask-image: var(--i-moins); mask-image: var(--i-moins); }
.faq details p { margin: 0 0 var(--space-4); color: var(--ink-muted); }
.zones { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-6) 0 0; padding: 0; list-style: none; }
.zones li { padding: var(--space-2) var(--space-4); border-radius: 999px; background: var(--niayes-100); color: var(--ink); font-size: 15px; font-weight: 600; }

/* ---------- Demande de démo et pied de page ---------- */
.final h2 { max-width: 820px; }
.final .intro { max-width: var(--texte-max); }
.pied { background: var(--sahel-900); color: var(--on-brand); padding-block: var(--space-10) var(--space-8); border-top: 1px solid var(--on-brand-hover, var(--border)); }
.pied .wrap { display: grid; gap: var(--space-8); }
.pied img { width: 150px; height: auto; }
.pied nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.pied a { color: var(--on-brand); font-weight: 600; display: inline-flex; align-items: center; min-height: var(--tap-min); }
.pied .legal { margin: 0; font-size: 14px; line-height: 22px; color: var(--on-brand); opacity: 0.85; max-width: 520px; }
@media (min-width: 1024px) { .pied .wrap { grid-template-columns: auto 1fr auto; align-items: start; } }

/* barre « Demander ma démo » du téléphone : visible après le premier écran, masquée devant le formulaire */
.barre-demo { display: none; }
@media (max-width: 599px) {
  body { padding-bottom: 88px; }
  .barre-demo {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));
    background: var(--sahel-900); border-top: 1px solid var(--on-brand-hover, var(--border)); transform: translateY(110%); transition: transform 200ms ease;
  }
  .barre-demo.visible { transform: translateY(0); }
  .barre-demo .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .barre-demo { transition: none; } }

/* ---------- Fenêtres (démo, avis) ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: var(--space-4); background: var(--overlay, rgba(11, 31, 24, 0.5)); }
.modal-overlay[hidden] { display: none !important; }
.modal-box { position: relative; width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto; background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-md); }
.modal-box h3 { padding-right: var(--space-10); }
.modal-close { position: absolute; top: var(--space-3); right: var(--space-3); width: var(--tap-min); height: var(--tap-min); border: 0; border-radius: var(--radius-md); background: transparent; cursor: pointer; display: grid; place-items: center; font-size: 0; }
.modal-close::before { content: ""; width: 24px; height: 24px; background-color: var(--ink); -webkit-mask: var(--i-fermer) center / contain no-repeat; mask: var(--i-fermer) center / contain no-repeat; }
.modal-lede { margin: var(--space-2) 0 var(--space-5); color: var(--ink-muted); }
.form-field { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.form-field label { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: var(--input-h); padding: 0 var(--space-4); border: 1.5px solid var(--border-strong); border-radius: var(--radius-md);
  background: var(--surface); color: var(--ink); font: 400 16px/24px var(--font-text);
}
.form-field textarea { padding: var(--space-3) var(--space-4); min-height: 112px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--focus); }
.choix-secteurs { border: 0; padding: 0; margin: 0 0 var(--space-4); min-width: 0; }
.choix-secteurs legend { padding: 0; margin-bottom: var(--space-2); font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink); }
.form-field label .form-hint, .choix-secteurs legend .form-hint { font-weight: 400; }
.puces-choix { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.puce-choix { position: relative; display: inline-flex; }
.puce-choix input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.puce-choix span {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--tap-min); padding: 0 var(--space-4);
  border: 1.5px solid var(--border-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 16px; font-weight: 600;
}
.puce-choix input:checked + span { background: var(--btn-principal-fond); border-color: var(--btn-principal-fond); color: var(--btn-principal-texte); }
.puce-choix input:checked + span::before { content: ""; width: 16px; height: 16px; background-color: currentColor; -webkit-mask: var(--i-coche) center / contain no-repeat; mask: var(--i-coche) center / contain no-repeat; }
.puce-choix input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.form-hint { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.form-error { margin: 0 0 var(--space-4); color: var(--danger); font-size: 15px; line-height: 22px; font-weight: 600; }
.form-success { padding: var(--space-4) 0; }
.form-success p { margin: 0 0 var(--space-2); }
.form-success p:first-child { font-size: 20px; font-weight: 700; color: var(--success-ink); }
.modal-box form .btn { width: 100%; margin-top: var(--space-2); }
.modal-box .btn-principal { background: var(--sahel-900); color: var(--on-brand); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .modal-box .btn-principal { background: var(--dakar-500); color: var(--on-accent); } }
:root[data-theme="dark"] .modal-box .btn-principal { background: var(--dakar-500); color: var(--on-accent); }
