/* ÉDIFIQ — styles communs aux 4 pages de la landing (index, sibatix, immo, syndik).
   Design Claude Design : tokens, animations, grilles et composants partagés. Les utilitaires
   Tailwind (CDN) couvrent le reste ; on ne met ici que ce qu'ils ne savent pas exprimer —
   keyframes, clamp(), grilles auto-fit, halos et masques, composants réutilisés tels quels. */

/* ------------------------------------------------------------------ base */
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; font-family: 'Inter', system-ui, sans-serif; background: #FFFFFF; color: #1B2A4A; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
input, select, textarea, button { font-family: inherit; }
::selection { background: #C8A951; color: #14213B; }
:focus-visible { outline: 2px solid #C8A951; outline-offset: 3px; border-radius: 6px; }
section[id], footer[id] { scroll-margin-top: 82px; }   /* navbar collante de 70 px */
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

/* ------------------------------------------------------ animations (README) */
@keyframes edFadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes edFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes edFloat  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes edPulse  { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(200,169,81,.45); } 50% { opacity: .85; box-shadow: 0 0 0 7px rgba(200,169,81,0); } }
@keyframes edSweep  { from { transform: translateX(-120%); } to { transform: translateX(320%); } }
@keyframes edBar    { from { width: 0; } }
.ed-fade-up { animation: edFadeUp .7s cubic-bezier(.2,.7,.2,1) both; }
.ed-d1 { animation-delay: .08s } .ed-d2 { animation-delay: .16s } .ed-d3 { animation-delay: .24s } .ed-d4 { animation-delay: .32s }
.ed-fade-up-slow { animation: edFadeUp 1s cubic-bezier(.2,.7,.2,1) .3s both; }
.ed-float { animation: edFloat 6s ease-in-out infinite; }
.ed-pulse { animation: edPulse 3.2s ease-in-out infinite; }
.ed-pulse-fast { animation: edPulse 2.6s ease-in-out infinite; }
.ed-sweep { animation: edSweep 4.5s ease-in-out infinite; }
.ed-bar { animation: edBar 1.6s cubic-bezier(.2,.7,.2,1) .6s both; }
.ed-fade-in { animation: edFadeIn .25s ease both; }

/* Révélations au scroll : visibles par défaut (garde-fou), animées seulement quand le JS
   pose `.js` sur <html>. Le contenu n'est donc jamais invisible sans JS. */
html.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .75s cubic-bezier(.2,.7,.2,1), transform .75s cubic-bezier(.2,.7,.2,1); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .ed-fade-up, .ed-fade-up-slow, .ed-float, .ed-pulse, .ed-pulse-fast, .ed-sweep, .ed-bar, .ed-fade-in { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------ grille et titres */
.ed-container { max-width: 1240px; margin: 0 auto; padding-left: clamp(18px, 4vw, 40px); padding-right: clamp(18px, 4vw, 40px); }
.ed-section { padding-top: clamp(72px, 9vw, 130px); padding-bottom: clamp(72px, 9vw, 130px); }
.ed-eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; color: #C8A951; text-transform: uppercase; }
.ed-h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; }
.ed-h1-produit { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.03; letter-spacing: -.04em; font-weight: 700; }
.ed-h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.06; letter-spacing: -.035em; font-weight: 700; }
.ed-h2-contact { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.07; letter-spacing: -.035em; font-weight: 700; }
.ed-lead { font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.6; color: #5A6478; }
.ed-hero-sub { font-size: clamp(16.5px, 1.35vw, 19.5px); line-height: 1.6; color: rgba(255,255,255,.72); }
.ed-quote { font-size: clamp(24px, 3.2vw, 40px); font-weight: 500; line-height: 1.24; letter-spacing: -.03em; }
.ed-proof { font-size: clamp(28px, 3vw, 38px); font-weight: 700; letter-spacing: -.04em; }

/* ------------------------------------------------------------------ navbar */
.ed-nav { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid #ECEEF2; transition: background .3s ease, box-shadow .3s ease; }
.ed-nav.is-scrolled { background: rgba(255,255,255,.94); box-shadow: 0 10px 30px -22px rgba(27,42,74,.5); }
.ed-nav-links { gap: clamp(16px, 2vw, 30px); }
.ed-nav-lien { font-size: 14.5px; font-weight: 500; color: #4A5468; white-space: nowrap; transition: color .2s ease; }
.ed-nav-lien:hover { color: #C8A951; }
.ed-nav-retour { font-size: 14px; font-weight: 500; color: #7A849A; white-space: nowrap; transition: color .2s ease; }
.ed-nav-retour:hover { color: #C8A951; }
@media (max-width: 520px) { .ed-retour-long { display: none; } }
.ed-nav-sep { display: inline-block; width: 1px; height: 20px; background: #E6E8EC; }
.ed-nav-produit { font-size: 18px; font-weight: 700; letter-spacing: -.03em; color: #1B2A4A; white-space: nowrap; }
.ed-point { margin-left: 4px; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #C8A951; }
.ed-btn-nav { display: inline-flex; align-items: center; background: #1B2A4A; color: #FFFFFF; font-size: 14.5px; font-weight: 600; padding: 11px 20px; border-radius: 8px; white-space: nowrap; transition: background .2s ease, transform .2s ease; }
.ed-btn-nav:hover { background: #14213B; color: #FFFFFF; transform: translateY(-1px); }
.ed-btn-nav-gold { display: inline-flex; align-items: center; background: #C8A951; color: #14213B; font-size: 14.5px; font-weight: 600; padding: 11px 20px; border-radius: 8px; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease; }
.ed-btn-nav-gold:hover { color: #14213B; transform: translateY(-1px); box-shadow: 0 12px 28px -12px rgba(200,169,81,.7); }
.ed-burger { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid #E6E8EC; background: #F5F6F8; border-radius: 8px; }
.ed-burger span { display: block; width: 16px; height: 1.5px; background: #1B2A4A; box-shadow: 0 -5px 0 #1B2A4A, 0 5px 0 #1B2A4A; }
.ed-drawer { padding: 14px clamp(18px, 4vw, 40px) 22px; border-top: 1px solid #ECEEF2; background: #FFFFFF; }
.ed-drawer-lien { display: block; padding: 12px 0; font-size: 16px; font-weight: 600; color: #1B2A4A; border-bottom: 1px solid #F2F3F6; }
.ed-drawer-lien:last-child { border-bottom: 0; }
.ed-drawer-fin { color: #C8A951; }
@media (min-width: 901px)  { .ed-only-narrow { display: none !important; } }
@media (max-width: 900px)  { .ed-only-wide { display: none !important; } }
@media (max-width: 1140px) { .ed-only-verywide { display: none !important; } }

/* -------------------------------------------------------------------- hero */
.ed-hero { padding-top: clamp(60px, 7vw, 108px); padding-bottom: clamp(72px, 9vw, 130px); }
.ed-hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .ed-hero-grid { grid-template-columns: 1fr; } }
.ed-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border: 1px solid rgba(200,169,81,.38); background: rgba(200,169,81,.08); border-radius: 100px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: #E3C878; }
.ed-grid-tech { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 74px 74px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 78%); }
.ed-grid-tech-afrique { -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 80% 50%, #000 20%, transparent 75%); }
.ed-halo-gold { position: absolute; pointer-events: none; width: 760px; height: 760px; top: -220px; right: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(200,169,81,.20) 0%, rgba(200,169,81,.05) 42%, transparent 70%); }
.ed-halo-blue { position: absolute; pointer-events: none; width: 700px; height: 700px; bottom: -300px; left: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(74,104,168,.22) 0%, transparent 68%); }

/* ------------------------------------------------------------------ boutons */
.ed-btn-gold { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: #C8A951; color: #14213B; font-size: 15.5px; font-weight: 600; padding: 15px 26px; border-radius: 9px; box-shadow: 0 12px 34px -12px rgba(200,169,81,.65); transition: transform .2s ease, box-shadow .2s ease; }
.ed-btn-gold:hover { color: #14213B; transform: translateY(-2px); box-shadow: 0 18px 42px -12px rgba(200,169,81,.8); }
.ed-btn-gold .ed-reflet { position: absolute; top: 0; bottom: 0; left: 0; width: 34%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); pointer-events: none; }
.ed-btn-ghost { display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.22); color: #FFFFFF; font-size: 15.5px; font-weight: 500; padding: 15px 24px; border-radius: 9px; transition: background .2s ease, border-color .2s ease; }
.ed-btn-ghost:hover { color: #FFFFFF; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.4); }
.ed-btn-gold-outline { display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(200,169,81,.5); color: #E3C878; font-size: 15.5px; font-weight: 500; padding: 14px 24px; border-radius: 9px; transition: background .2s ease; }
.ed-btn-gold-outline:hover { color: #E3C878; background: rgba(200,169,81,.1); }
.ed-btn-form { width: 100%; padding: 15px 20px; background: #1B2A4A; color: #FFFFFF; font-size: 15.5px; font-weight: 600; border: 0; border-radius: 9px; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.ed-btn-form:hover { background: #14213B; transform: translateY(-1px); }

/* --------------------------------------------------------- maquette produit */
.ed-mock { border-radius: 16px; background: #FFFFFF; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 50px 90px -40px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.04); overflow: hidden; }
.ed-mock-bar-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, #1B2A4A, #C8A951); }
.ed-badge-ia { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid rgba(200,169,81,.3); background: rgba(200,169,81,.12); border-radius: 100px; font-size: 11.5px; font-weight: 600; color: #8A6F20; white-space: nowrap; }
.ed-carte-flottante { position: absolute; bottom: -26px; left: -18px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #FFFFFF; border: 1px solid #ECEEF2; border-radius: 12px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); }
.ed-pastille-ia { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(200,169,81,.14); font-size: 12px; font-weight: 700; color: #8A6F20; }

/* ------------------------------------------------ cartes IA (landing) + numéros */
.ed-card { background: #FFFFFF; border: 1px solid #E6E8EC; border-radius: 14px; padding: 28px; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s cubic-bezier(.2,.7,.2,1), border-color .3s cubic-bezier(.2,.7,.2,1); }
.ed-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -26px rgba(27,42,74,.25); border-color: #D8DCE4; }
.ed-card-accent { border-color: rgba(200,169,81,.45); background: linear-gradient(180deg, rgba(200,169,81,.07), rgba(200,169,81,0)); }
.ed-card-accent:hover { border-color: rgba(200,169,81,.45); box-shadow: 0 26px 50px -26px rgba(200,169,81,.45); }
.ed-grid-ia { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.ed-num { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: #14213B; color: #E3C878; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 16px; font-weight: 600; }
.ed-num-gold { background: #C8A951; color: #14213B; font-weight: 700; }

/* ------------------------------------------------------- produits (landing) */
.ed-produit { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid #E6E8EC; border-radius: 16px; overflow: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s cubic-bezier(.2,.7,.2,1); }
.ed-produit:hover { transform: translateY(-5px); box-shadow: 0 34px 60px -30px rgba(27,42,74,.32); }
.ed-grid-produits { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 20px; align-items: stretch; }
.ed-monogramme { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 11px; font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.ed-badge-produit { padding: 6px 11px; border-radius: 100px; font-size: 11px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }

/* --------------------------------------------------- problème (pages produit) */
.ed-grid-probleme { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.ed-bloc-probleme { padding: 26px; background: #FBFBFC; border: 1px solid #E6E8EC; border-radius: 14px; }
.ed-marqueur { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #FFFFFF; border: 1px solid #E6E8EC; font-size: 13px; font-weight: 600; color: #9AA3B5; }

/* ---------------------------------------------- fonctionnalités (pages produit) */
.ed-grid-fonctions { display: grid; grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); gap: 20px; }
@media (max-width: 939px) { .ed-grid-fonctions { grid-template-columns: 1fr; } }
.ed-carte-fonction { padding: 30px; background: #FFFFFF; border: 1px solid #E6E8EC; border-radius: 16px; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s cubic-bezier(.2,.7,.2,1), border-color .3s cubic-bezier(.2,.7,.2,1); }
.ed-carte-fonction:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -26px rgba(27,42,74,.25); border-color: #D8DCE4; }
.ed-carte-fonction-accent { border-color: rgba(200,169,81,.45); background: linear-gradient(180deg, rgba(200,169,81,.07), rgba(255,255,255,1) 55%); }
.ed-carte-fonction-accent:hover { border-color: rgba(200,169,81,.45); box-shadow: 0 26px 50px -26px rgba(200,169,81,.45); }
.ed-badge-coeur { padding: 6px 11px; border-radius: 100px; background: rgba(200,169,81,.15); color: #8A6F20; font-size: 11px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }

/* ---------------------------------------------------- timeline (pages produit) */
.ed-etape { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 24px; padding-bottom: 36px; }
.ed-etape-fin { padding-bottom: 0; }
.ed-connecteur { position: absolute; left: 25px; top: 52px; bottom: 0; width: 1px; background: #E6E8EC; }
.ed-badge-etape { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 13px; background: #14213B; color: #E3C878; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 17px; font-weight: 600; }
.ed-badge-etape-fin { background: #C8A951; color: #14213B; font-weight: 700; }

/* ------------------------------------------------------- pilotage (ÉDIFIQ SI) */
.ed-grid-pilotage { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.ed-carte-pilotage { background: #FFFFFF; border: 1px solid #E6E8EC; border-radius: 16px; overflow: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s cubic-bezier(.2,.7,.2,1); }
.ed-carte-pilotage:hover { transform: translateY(-5px); box-shadow: 0 34px 60px -30px rgba(27,42,74,.32); }
.ed-pastille-role { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(200,169,81,.18); color: #E3C878; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; font-weight: 600; }

/* --------------------------------------------------------- conçu pour l'Afrique */
.ed-grid-afrique { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: clamp(40px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .ed-grid-afrique { grid-template-columns: 1fr; } }
.ed-grid-afrique-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.ed-carte-afrique { padding: 24px; border-radius: 13px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.ed-carte-afrique-accent { background: rgba(200,169,81,.1); border-color: rgba(200,169,81,.32); }

/* ------------------------------------------------------- témoignage et preuves */
.ed-avatar-batix { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: #14213B; color: #E3C878; font-size: 15px; font-weight: 700; }
.ed-preuves { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: #E6E8EC; border: 1px solid #E6E8EC; border-radius: 14px; overflow: hidden; margin-top: clamp(48px, 6vw, 72px); }

/* -------------------------------------------------------------- contact / démo */
.ed-grid-demo { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: clamp(36px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .ed-grid-demo { grid-template-columns: 1fr; } }
.ed-form-card { background: #FFFFFF; border: 1px solid #E6E8EC; border-radius: 16px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 60px -36px rgba(27,42,74,.3); }
.ed-label { font-size: 12.5px; font-weight: 600; color: #4A5468; }
.ed-field { width: 100%; padding: 12px 14px; font-size: 14.5px; color: #1B2A4A; background: #FBFBFC; border: 1px solid #E0E3E9; border-radius: 9px; transition: border-color .2s ease, box-shadow .2s ease; }
.ed-field:focus { outline: none; border-color: #C8A951; box-shadow: 0 0 0 3px rgba(200,169,81,.16); }
.ed-contact-card { display: flex; align-items: center; gap: 14px; background: #FFFFFF; border: 1px solid #E6E8EC; border-radius: 12px; padding: 18px 20px; transition: border-color .2s ease, transform .2s ease; }
a.ed-contact-card:hover { border-color: #C8A951; transform: translateY(-2px); color: inherit; }
.ed-pastille-contact { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none; border-radius: 10px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; font-weight: 700; }
.ed-pastille-navy { background: #14213B; color: #E3C878; }
.ed-pastille-or { background: rgba(200,169,81,.15); color: #8A6F20; }
.ed-coche { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0 auto; border-radius: 50%; background: rgba(200,169,81,.15); color: #8A6F20; font-size: 22px; }

/* ------------------------------------------------------------------- footer */
.ed-footer { padding-top: clamp(56px, 7vw, 86px); padding-bottom: 34px; }
.ed-grid-footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 40px; }
.ed-footer-titre { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: rgba(255,255,255,.42); }
.ed-footer-liens { margin-top: 16px; display: grid; gap: 11px; font-size: 14.5px; color: rgba(255,255,255,.8); }
.ed-footer-bas { margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255,255,255,.45); }
