/* EducForm31 — Site 2.0 design system (efh-v3) — généré depuis le handoff Designer 3/7/2026 */
/* Typo */
html { scroll-behavior: smooth; }
.efh3 { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: #0f2440; background: #fff; overflow-x: hidden; }
.efh3 * { box-sizing: border-box; }
.efh3 h1, .efh3 h2, .efh3 h3, .efh3 .ef-jak { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; letter-spacing: -0.02em; }
.efh3 section[id] { scroll-margin-top: 84px; }

/* ===== Keyframes ===== */
@keyframes efFloatY { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-16px) rotate(-2deg); } }
@keyframes efHaloPulse { 0%,100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes efMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes efShine { 0% { transform: translateX(-160%) skewX(-18deg); } 55%,100% { transform: translateX(460%) skewX(-18deg); } }

/* ===== Display utilities (kses strippe display:flex/grid inline) ===== */
.efx { display: flex; }
.efxi { display: inline-flex; }
.egp { display: grid; place-items: center; }
.eg { display: grid; }
.eg-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.eg-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; }
.eg-cards-sm { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.eg-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.eg-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.eg-2-wide { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.eg-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.eg-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.eg-foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }

/* ===== Header commun ===== */
.ef-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; border-bottom: 1px solid transparent; transition: background .4s ease, box-shadow .4s ease, border-color .4s ease; }
.ef-header.on { background: rgba(14,30,51,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 12px 30px -18px rgba(0,0,0,.65); border-bottom-color: rgba(255,255,255,.08); }
.ef-header-in { max-width: 1280px; margin: 0 auto; padding: 18px clamp(20px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ef-logo { text-decoration: none; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 800; font-size: 1.18rem; letter-spacing: -0.01em; color: #fff; }
.ef-logo b { background: linear-gradient(92deg, #F97316, #FF9D3F); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.ef-nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); flex-wrap: wrap; }
.ef-nav a { text-decoration: none; color: rgba(255,255,255,.82); font-weight: 600; font-size: .92rem; transition: color .25s; }
.ef-nav a:hover { color: #fff; }
.ef-nav a.cur { color: #fff; font-weight: 700; }
.ef-nav a.ef-appbtn { color: #fff; font-weight: 800; font-size: .88rem; padding: 10px 20px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.45); transition: border-color .25s, background .25s; }
.ef-nav a.ef-appbtn:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* Progress bar */
.ef-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(92deg, #F97316, #FF9D3F); z-index: 70; will-change: transform; }

/* ===== Boutons ===== */
.ef-cta { position: relative; overflow: hidden; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(92deg, #F97316, #FF9D3F); color: #fff !important; font-weight: 800; font-size: 1rem; padding: 15px 28px; border-radius: 999px; box-shadow: 0 12px 30px -8px rgba(249,115,22,.55); border: 0; cursor: pointer; transition: transform .25s; }
.ef-cta:hover { transform: translateY(-2px); }
.ef-cta .sh { position: absolute; top: 0; left: 0; width: 38%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-18deg); animation: efShine 5s ease-in-out infinite; z-index: 1; pointer-events: none; }
.ef-cta span { position: relative; z-index: 2; }
.ef-ghost { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; color: #fff !important; font-weight: 800; font-size: 1rem; padding: 15px 28px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.5); background: rgba(255,255,255,.03); transition: border-color .25s, background .25s; }
.ef-ghost:hover { border-color: #fff; background: rgba(255,255,255,.09); }
.ef-dark { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; background: #0E1E33; color: #fff !important; font-weight: 800; font-size: .95rem; padding: 14px 26px; border-radius: 999px; transition: transform .25s, box-shadow .25s; }
.ef-dark:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -16px rgba(14,30,51,.7); }

/* Kicker */
.ef-kick { display: inline-flex; align-items: center; gap: 12px; }
.ef-kick i { width: 26px; height: 2px; background: linear-gradient(92deg, #F97316, #FF9D3F); display: block; }
.ef-kick span { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #F97316; font-style: normal; }
.ef-kick.lt span { color: #FF9D3F; }

/* ===== Cartes ===== */
.ef-card { background: #fff; border: 1px solid #e6ebf2; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 54px -34px rgba(14,30,51,.55); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease; }
.ef-card:hover { transform: translateY(-8px); box-shadow: 0 34px 64px -30px rgba(14,30,51,.6); }
.ef-card-lite { background: #fff; border: 1px solid #e6ebf2; border-radius: 18px; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease; }
.ef-card-lite:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgba(14,30,51,.5); }

/* Fenêtre d'aperçu d'outil */
.ef-preview { border-radius: 20px; overflow: hidden; border-top: 5px solid #F97316; box-shadow: 0 24px 54px -34px rgba(14,30,51,.55); background: #0E1E33; }
.ef-preview-bar { background: #0E1E33; padding: 10px 14px; display: flex; align-items: center; gap: 9px; }
.ef-preview-dot { width: 9px; height: 9px; border-radius: 50%; background: #37D67A; flex: none; }
.ef-preview-dom { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .78rem; color: rgba(255,255,255,.78); }
.ef-preview-body { position: relative; aspect-ratio: 16/10; display: grid; place-items: center; }
.ef-preview-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ef-preview-pill { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.4); color: #fff; font-size: .74rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; white-space: nowrap; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* Marquee */
.ef-marquee { background: #1E3A5F; padding: 18px 0; overflow: hidden; }
.ef-marquee-track { display: flex; width: max-content; animation: efMarquee 34s linear infinite; }
.ef-marquee-track span.it { display: inline-flex; align-items: center; gap: 34px; white-space: nowrap; color: rgba(255,255,255,.85); font-weight: 700; font-size: .92rem; letter-spacing: .02em; padding-right: 34px; }
.ef-marquee-track span.it i { width: 6px; height: 6px; border-radius: 50%; background: #F97316; display: block; font-style: normal; }

/* Halos & floats (hero) */
.ef-halo { position: absolute; border-radius: 50%; z-index: 1; animation: efHaloPulse 12s ease-in-out infinite; pointer-events: none; }
.ef-float { position: absolute; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); z-index: 2; animation: efFloatY 10s ease-in-out infinite; }
.ef-fpill { position: absolute; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.82); z-index: 2; animation: efFloatY 10s ease-in-out infinite; }

/* Chips / pills */
.ef-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.ef-chip-dip { background: #EAF1FE; color: #1769E0; }
.ef-anchor-pill { text-decoration: none; display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.35); color: #fff; font-weight: 700; font-size: .88rem; background: rgba(255,255,255,.05); transition: background .25s, border-color .25s; }
.ef-anchor-pill:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.ef-filter { border: 1.5px solid #d7dfea; background: #fff; color: #0f2440; font-weight: 700; font-size: .88rem; padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: all .25s; }
.ef-filter.act { background: linear-gradient(92deg, #F97316, #FF9D3F); color: #fff; border-color: transparent; box-shadow: 0 10px 24px -10px rgba(249,115,22,.55); }

/* Reveal */
.efh3 [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.efh3 [data-reveal].vis { opacity: 1; transform: none; }

/* RGPD */
.ef-rgpd { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; background: #0f2440; color: #fff; border-radius: 16px; padding: 16px 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between; box-shadow: 0 24px 54px -24px rgba(0,0,0,.6); max-width: 980px; margin: 0 auto; }
.ef-rgpd p { margin: 0; font-size: .88rem; line-height: 1.5; color: rgba(255,255,255,.88); }
.ef-rgpd a { color: #FF9D3F; }
.ef-rgpd button { background: linear-gradient(92deg, #F97316, #FF9D3F); border: 0; color: #fff; font-weight: 800; padding: 10px 22px; border-radius: 999px; cursor: pointer; }

/* Newsletter */
.ef-news-form { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.ef-news-form input { flex: 1 1 260px; max-width: 380px; padding: 15px 20px; border-radius: 999px; border: 1.5px solid #d7dfea; font-size: .96rem; outline: none; }
.ef-news-form input:focus { border-color: #F97316; }

/* Footer */
.ef-foot { background: #0E1E33; color: rgba(255,255,255,.75); padding: clamp(56px, 7vw, 84px) clamp(20px, 4vw, 48px) 36px; }
.ef-foot a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .92rem; line-height: 2; }
.ef-foot a:hover { color: #fff; }
.ef-foot h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 12px; }
.ef-social { display: flex; gap: 12px; margin-top: 18px; }
.ef-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1rem; text-decoration: none; transition: transform .25s; line-height: 1; }
.ef-social a:hover { transform: translateY(-3px); }
.ef-social .yt { background: #FF0000; } .ef-social .tk { background: #010101; box-shadow: -1.5px 0 0 #25F4EE, 1.5px 0 0 #FE2C55; } .ef-social .fb { background: #1877F2; } .ef-social .ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

/* Mockup téléphone */
.ef-phone { width: min(320px, 82vw); margin: 0 auto; background: #05101f; border-radius: 42px; padding: 14px; box-shadow: 0 40px 80px -34px rgba(0,0,0,.75); }
.ef-phone-scr { border-radius: 30px; overflow: hidden; background: linear-gradient(135deg, #0E1E33, #2d2340); padding: 22px 16px 16px; min-height: 430px; }
.ef-bubble { border-radius: 16px; padding: 12px 14px; font-size: .86rem; line-height: 1.5; margin-top: 10px; max-width: 88%; }
.ef-bubble.ia { background: rgba(255,255,255,.1); color: #fff; border-top-left-radius: 4px; }
.ef-bubble.me { background: linear-gradient(92deg, #F97316, #FF9D3F); color: #fff; margin-left: auto; border-top-right-radius: 4px; }

/* QR / install */
.ef-qrbox { display: inline-flex; align-items: center; gap: 18px; background: #fff; border: 1px solid #e6ebf2; border-radius: 18px; padding: 16px 20px; box-shadow: 0 18px 40px -28px rgba(14,30,51,.5); }
.ef-qrbox img { width: 96px; height: 96px; border-radius: 8px; }
.ef-qrbox .t { font-size: .9rem; line-height: 1.45; color: #4a5c74; max-width: 240px; }
.ef-qrbox .t b { color: #0f2440; display: block; font-size: .95rem; margin-bottom: 3px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .eg-2, .eg-2-wide, .eg-3, .eg-4 { grid-template-columns: 1fr; }
  .eg-foot { grid-template-columns: 1fr 1fr; }
  .ef-float, .ef-fpill { display: none; }
}
@media (max-width: 620px) {
  .eg-stats { grid-template-columns: repeat(2, 1fr); }
  .ef-nav { gap: 10px; }
  .ef-nav a { font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) {
  .efh3 *, .efh3 { animation: none !important; transition: none !important; }
  .efh3 [data-reveal] { opacity: 1 !important; transform: none !important; }
}


/* v3.0.1 - fixes 3/7 : Blocksy .entry-content a reintroduit le souligne (specificite) ; icones sociales sans URL masquees en attendant les vraies adresses */
.efh3 a, .efh3 a:hover, .entry-content .efh3 a { text-decoration: none !important; }
.ef-social a[href="#"] { display: none !important; }

/* v3.0.2 - les pages efh-v3 ont leur propre .ef-foot : masquer le footer herite (Customizer) pour eviter le double footer */
body:has(.efh3) footer.ef-footer { display: none !important; }

/* v3.0.3 - icones sociales du footer herite : police d'icones non chargee (ronds vides) + profils non confirmes -> masquees en attendant les URLs officielles */
footer.ef-footer .ef-footer-bottom .ef-footer-social, footer.ef-footer .ef-footer-social { display: none !important; }


/* v3.1 - Virage premium : filigrane DEMO sur les apercus publics (classe .ef-demo-wm ajoutee par efh-v3.js hors /espace-outils/). */
.efh3 .ef-demo-wm{overflow:hidden}
.efh3 .ef-demo-wm::before{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;background-image:url('data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27320%27%20height%3D%27160%27%3E%3Ctext%20x%3D%2710%27%20y%3D%2792%27%20font-family%3D%27Arial%2C%20sans-serif%27%20font-size%3D%2721%27%20font-weight%3D%27700%27%20fill%3D%27rgba(255%2C255%2C255%2C0.22)%27%20transform%3D%27rotate(-22%20160%2080)%27%3EEducForm31%20%26%23183%3B%20D%26%23201%3BMO%3C%2Ftext%3E%3C%2Fsvg%3E');background-repeat:repeat;background-size:190px 95px}
.efh3 .ef-demo-wm::after{content:"D e9mo";position:absolute;top:10px;right:10px;z-index:4;pointer-events:none;background:rgba(14,30,51,.82);color:#fff;font-weight:800;font-size:.6rem;letter-spacing:.14em;text-transform:uppercase;padding:5px 10px;border-radius:999px}
