:root{--ink:#0B1220;--ink-soft:#16213A;--paper:#FAF9F4;--paper-2:#F0ECE0;--gris:#6B6F63;--gris-clair:#E3E0D4;--orange:#0E8F5E;--orange-deep:#0A6B47;--bleu:#B8860B;--bleu-deep:#8F6A08;--bleu-soft:#FBF3DC;--line:#E4E0D2;--line-dark:#24304A;--text-muted:#7A7D70;--success:#147A6C;--danger:#C23B2E;--font-display:'Fraunces',serif;--font-body:'Inter',sans-serif;--font-mono:'IBM Plex Mono',monospace;--radius:14px;--radius-lg:22px;--shadow:0 8px 30px rgba(11,18,32,0.07);--max-width:1180px}*{box-sizing:border-box;margin:0;padding:0}body,html{overflow-x:hidden;max-width:100%}.table-responsive{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive table{min-width:640px}html{scroll-behavior:smooth}body{font-family:var(--font-body);color:var(--ink);background:var(--paper);line-height:1.6;font-size:16px;-webkit-font-smoothing:antialiased}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}ul{list-style:none}button{font-family:inherit;cursor:pointer}h1,h2,h3,h4{font-family:var(--font-display);font-weight:700;line-height:1.15;letter-spacing:-.01em}h1{font-size:clamp(2.2rem, 5vw, 3.6rem);font-weight:800}h2{font-size:clamp(1.7rem, 3.4vw, 2.5rem)}h3{font-size:1.25rem}.container{max-width:var(--max-width);margin:0 auto;padding:0 24px}.eyebrow{font-family:var(--font-mono);font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--orange-deep);font-weight:600}.muted{color:var(--text-muted)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 28px;border-radius:10px;font-weight:600;font-size:.95rem;border:1px solid transparent;transition:all .15s ease;white-space:nowrap}.btn-primary{background:var(--orange);color:#fff}.btn-primary:hover{background:var(--orange-deep);transform:translateY(-1px)}.btn-dark{background:var(--ink);color:#fff}.btn-dark:hover{background:#000}.btn-outline{background:0 0;border-color:var(--ink);color:var(--ink)}.btn-outline:hover{background:var(--ink);color:#fff}.btn-outline-light{background:0 0;border-color:rgba(255,255,255,.35);color:#fff}.btn-outline-light:hover{background:rgba(255,255,255,.12)}.btn-sm{padding:8px 16px;font-size:.85rem;border-radius:7px}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover{background:#b5301d}.btn-bleu{background:var(--bleu);color:#fff}.btn-bleu:hover{background:var(--bleu-deep);transform:translateY(-1px)}.btn-block{width:100%}.site-header{position:sticky;top:0;z-index:100;background:rgba(250,248,245,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}.nav{display:flex;align-items:center;justify-content:space-between;padding:16px 0}.logo{font-family:var(--font-display);font-weight:800;font-size:1.3rem;display:flex;align-items:baseline;gap:2px}.logo span.com{color:var(--orange)}.logo span.tag{font-family:var(--font-mono);font-size:.6rem;font-weight:600;color:var(--text-muted);margin-left:8px;letter-spacing:.1em;text-transform:uppercase}.nav-links{display:flex;gap:28px;align-items:center;font-weight:500;font-size:.92rem}.nav-links a:hover{color:var(--orange)}.mega-menu-wrap{position:relative}.mega-menu-panel{display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);margin-top:14px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:0 12px 32px rgba(0,0,0,.12);padding:10px;min-width:280px;z-index:200}.mega-menu-wrap:hover .mega-menu-panel{display:block}.mega-menu-item{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border-radius:10px;color:var(--ink);text-decoration:none;font-weight:500}.mega-menu-item:hover{background:var(--paper-2)}.mega-menu-item span{font-size:.8rem;color:var(--text-muted);font-weight:400}.mega-menu-item .mega-menu-prix{color:var(--orange-deep);font-weight:700;font-family:var(--font-mono);margin-top:4px}.nav-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;font-size:1.05rem;text-decoration:none;color:var(--ink);transition:background .15s ease}.nav-icon-btn:hover{background:var(--paper-2)}.nav-notif-badge{position:absolute;top:2px;right:2px;background:var(--orange);color:#fff;font-size:.62rem;font-weight:700;min-width:16px;height:16px;border-radius:999px;display:flex;align-items:center;justify-content:center;padding:0 3px;font-family:var(--font-mono)}.nav-actions{display:flex;gap:12px;align-items:center}.nav-toggle{display:none;background:0 0;border:none;font-size:1.6rem}@media (max-width:860px){.nav-links{display:none}.nav-toggle{display:block}.nav-links.open{display:flex;flex-direction:column;position:absolute;top:100%;left:0;right:0;background:var(--paper);padding:20px 24px;border-bottom:1px solid var(--line);gap:16px}}.hero{background:var(--ink);color:#fff;padding:90px 0 70px;position:relative;overflow:hidden}.hero::after{content:"";position:absolute;right:-120px;top:-120px;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle at center,rgba(14,143,94,.35),transparent 70%)}.hero .container{position:relative;z-index:1}.hero-grid{display:grid;grid-template-columns:1.1fr 0.9fr;gap:48px;align-items:center;position:relative}@media (max-width:900px){.hero-grid{grid-template-columns:1fr}}.hero h1{margin:14px 0 20px}.hero p.lead{font-size:1.1rem;color:rgba(255,255,255,.78);max-width:520px;margin-bottom:28px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap}.hero-stats{display:flex;gap:28px;margin-top:40px;flex-wrap:wrap}.hero-stats .stat-num{font-family:var(--font-mono);font-size:1.6rem;font-weight:600;color:var(--orange)}.hero-stats .stat-label{font-size:.78rem;color:rgba(255,255,255,.6)}.roadmap{display:flex;flex-direction:column;gap:0;position:relative}.roadmap::before{content:"";position:absolute;left:19px;top:38px;bottom:38px;width:2px;background:linear-gradient(180deg,var(--orange),var(--bleu),transparent);opacity:.5}.roadmap-item{display:flex;gap:18px;padding:18px 0;align-items:flex-start;position:relative}.roadmap-num{font-family:var(--font-mono);font-weight:600;font-size:.9rem;color:var(--orange);border:1px solid rgba(14,143,94,.4);background:var(--ink);border-radius:50%;width:38px;height:38px;flex:none;display:flex;align-items:center;justify-content:center;position:relative;z-index:1;transition:transform .2s ease,box-shadow .2s ease}.roadmap-item:hover .roadmap-num{transform:scale(1.12);box-shadow:0 0 0 6px rgba(14,143,94,.12)}.roadmap-content .rt{font-weight:600;margin-bottom:2px}.roadmap-content .rd{font-size:.85rem;color:rgba(255,255,255,.6)}.roadmap.light .roadmap-num{color:var(--orange-deep);border-color:rgba(194,65,12,.3);background:var(--paper)}.roadmap.light .roadmap-content .rd{color:var(--text-muted)}.roadmap.light::before{background:linear-gradient(180deg,var(--orange-deep),var(--bleu),transparent)}.card .icon.step-num{font-family:var(--font-mono);font-weight:700;font-size:1rem;color:var(--orange-deep);border:1.5px solid rgba(194,65,12,.35);border-radius:50%;width:36px;height:36px;display:flex;align-items:center;justify-content:center;margin-bottom:14px}.section{padding:72px 0}.section-head{max-width:640px;margin-bottom:44px}.section-head h2{margin-top:10px}.section.alt{background:var(--paper-2)}.section.dark{background:var(--ink);color:#fff}.section.dark .muted{color:rgba(255,255,255,.6)}.grid{display:grid;gap:24px}.grid-2{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}@media (max-width:900px){.grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}}@media (max-width:620px){.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:26px;transition:box-shadow .15s ease,transform .15s ease}.card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}.card .icon{font-size:1.6rem;margin-bottom:14px;display:block}.card h3{margin-bottom:8px}.badge{display:inline-flex;align-items:center;gap:6px;font-family:var(--font-mono);font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;padding:4px 10px;border-radius:999px;background:var(--paper-2);color:var(--ink)}.badge.orange{background:rgba(14,143,94,.12);color:var(--orange-deep)}.badge.bleu{background:var(--bleu-soft);color:var(--bleu-deep)}.badge.success{background:rgba(30,142,90,.12);color:var(--success)}.badge.muted{background:var(--paper-2);color:var(--text-muted)}.testimonial{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:24px}.testimonial .stars{color:var(--orange);margin-bottom:10px;font-size:.9rem}.testimonial .who{margin-top:14px;font-weight:600;font-size:.9rem}.testimonial .role{font-size:.8rem;color:var(--text-muted)}.faq-item{border:1px solid var(--line);border-radius:14px;padding:4px 22px;margin-bottom:12px;background:#fff;box-shadow:0 1px 2px rgba(14,14,16,.03),0 4px 12px rgba(14,14,16,.04);transition:box-shadow .2s ease,border-color .2s ease}.faq-item[open]{border-color:rgba(14,143,94,.3);box-shadow:0 2px 4px rgba(14,14,16,.05),0 10px 24px rgba(14,14,16,.07)}.faq-item summary{font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;padding:18px 0;gap:16px}.faq-item summary::after{content:"+";color:var(--orange);font-size:1.3rem;flex:none;width:24px;text-align:center}.faq-item[open] summary::after{content:"–"}.faq-item p{margin:0 0 18px;color:var(--text-muted);line-height:1.7}.site-footer{background:var(--ink);color:rgba(255,255,255,.7);padding:56px 0 28px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px}@media (max-width:780px){.footer-grid{grid-template-columns:1fr 1fr}}.footer-grid h4{color:#fff;font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;font-family:var(--font-mono);margin-bottom:14px}.footer-grid li{margin-bottom:8px;font-size:.9rem}.footer-grid a:hover{color:var(--orange)}.footer-bottom{border-top:1px solid var(--line-dark);margin-top:40px;padding-top:20px;font-size:.8rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px}.form-group{margin-bottom:18px}.form-group label{display:block;font-weight:600;font-size:.88rem;margin-bottom:6px}.form-control{width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius);font-family:inherit;font-size:.95rem;background:#fff;color:var(--ink)}.form-control:focus{outline:2px solid var(--orange);outline-offset:1px;border-color:var(--orange)}textarea.form-control{resize:vertical;min-height:120px}.auth-card{max-width:440px;margin:60px auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:36px;box-shadow:var(--shadow)}.auth-card h1{font-size:1.7rem;margin-bottom:6px}.alert{padding:14px 18px;border-radius:var(--radius);font-size:.9rem;margin-bottom:18px}.alert-error{background:rgba(215,64,43,.1);color:var(--danger);border:1px solid rgba(215,64,43,.25)}.alert-success{background:rgba(30,142,90,.1);color:var(--success);border:1px solid rgba(30,142,90,.25)}.alert-info{background:rgba(14,143,94,.08);color:var(--orange-deep);border:1px solid rgba(14,143,94,.2)}.app-layout{display:flex;min-height:100vh}.app-sidebar{width:260px;flex:none;background:var(--ink);color:#fff;padding:24px 18px;position:sticky;top:0;height:100vh;overflow-y:auto}.app-sidebar .logo{color:#fff;margin-bottom:30px;padding-left:6px}.app-sidebar nav a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:8px;font-size:.92rem;font-weight:500;color:rgba(255,255,255,.75);margin-bottom:2px}.app-sidebar nav a.active,.app-sidebar nav a:hover{background:rgba(255,255,255,.08);color:#fff}.app-sidebar nav a.active{border-left:3px solid var(--orange)}.app-sidebar .nav-group{font-family:var(--font-mono);font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:rgba(255,255,255,.35);margin:20px 0 8px 12px}.app-sidebar .sidebar-foot{margin-top:30px;padding-top:16px;border-top:1px solid var(--line-dark);font-size:.82rem;color:rgba(255,255,255,.55)}.app-main{flex:1;padding:28px 32px;min-width:0}.app-topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:16px;flex-wrap:wrap}.app-topbar h1{font-size:1.6rem}@media (max-width:900px){.app-layout{flex-direction:column}.app-sidebar{width:100%;height:auto;position:relative}.app-main{padding:20px}}.stat-tile{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:20px}.stat-tile .num{font-family:var(--font-mono);font-size:1.8rem;font-weight:600}.stat-tile .label{font-size:.82rem;color:var(--text-muted);margin-top:4px}.progress-track{background:var(--paper-2);border-radius:999px;height:8px;overflow:hidden}.progress-fill{background:var(--orange);height:100%;border-radius:999px}.module-block{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);margin-bottom:16px;overflow:hidden}.module-head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:var(--paper-2);cursor:pointer;gap:12px}.module-head h3{font-size:1.02rem}.module-head .module-meta{font-family:var(--font-mono);font-size:.75rem;color:var(--text-muted)}.lesson-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 20px;border-top:1px solid var(--line);font-size:.92rem}.lesson-row a{font-weight:500}.lesson-row a:hover{color:var(--orange-deep)}.lesson-status{font-size:.78rem;font-family:var(--font-mono)}.lesson-status.termine{color:var(--success)}.lesson-status.en_cours{color:var(--orange-deep)}.lesson-status.non_commence{color:var(--text-muted)}.resource-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:10px;background:#fff}.resource-item .res-left{display:flex;align-items:center;gap:12px}.resource-item .res-title{font-weight:600;font-size:.92rem}.resource-item .res-type{font-size:.75rem;color:var(--text-muted);font-family:var(--font-mono);text-transform:uppercase}table.data-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden}table.data-table td,table.data-table th{padding:12px 16px;text-align:left;font-size:.9rem;border-bottom:1px solid var(--line)}table.data-table th{background:var(--paper-2);font-family:var(--font-mono);font-size:.74rem;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted)}table.data-table tr:last-child td{border-bottom:none}.table-actions{display:flex;gap:8px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:24px;margin-bottom:24px}.panel h2{font-size:1.2rem;margin-bottom:16px}.flex{display:flex}.flex-between{display:flex;justify-content:space-between;align-items:center}.gap-8{gap:8px}.gap-12{gap:12px}.gap-16{gap:16px}.mt-8{margin-top:8px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mb-8{margin-bottom:8px}.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}.text-center{text-align:center}.w-full{width:100%}.reveal{opacity:0;transform:translateY(32px);transition:opacity .65s cubic-bezier(.22,.68,0,1.2),transform .65s cubic-bezier(.22,.68,0,1.2)}.reveal.reveal-left{transform:translateX(-32px)}.reveal.reveal-right{transform:translateX(32px)}.reveal.reveal-zoom{transform:scale(.92)}.reveal.visible{opacity:1;transform:none}.reveal-delay-1{transition-delay:0.1s}.reveal-delay-2{transition-delay:0.2s}.reveal-delay-3{transition-delay:0.3s}.reveal-delay-4{transition-delay:0.4s}.reveal-delay-5{transition-delay:0.5s}.stats-section{background:var(--ink);padding:72px 0;position:relative;overflow:hidden}.stats-section::before{content:"";position:absolute;left:50%;top:-80px;transform:translateX(-50%);width:600px;height:300px;background:radial-gradient(ellipse at center,rgba(14,143,94,.18),transparent 70%);pointer-events:none}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}@media (max-width:860px){.stats-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:480px){.stats-grid{grid-template-columns:1fr 1fr}}.stat-block{text-align:center;padding:32px 24px;border-right:1px solid rgba(255,255,255,.07);position:relative}.stat-block:last-child{border-right:none}.stat-block .stat-big{font-family:var(--font-mono);font-size:clamp(2.2rem, 4vw, 3.2rem);font-weight:700;color:var(--orange);line-height:1;display:block;letter-spacing:-.02em}.stat-block .stat-suffix{font-family:var(--font-mono);font-size:1.4rem;color:var(--orange);font-weight:700}.stat-block .stat-desc{margin-top:10px;font-size:.88rem;color:rgba(255,255,255,.55);font-weight:500;text-transform:uppercase;letter-spacing:.08em}.formation-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;transition:box-shadow .25s ease,transform .25s ease;display:flex;flex-direction:column;cursor:pointer}.formation-card:hover{box-shadow:0 20px 60px rgba(14,14,16,.14);transform:translateY(-6px)}.formation-card-thumb{position:relative;height:200px;overflow:hidden;background:linear-gradient(135deg,var(--ink-soft) 0,#0f2a1c 100%)}.formation-card-thumb .thumb-bg{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}.formation-card:hover .thumb-bg{transform:scale(1.06)}.formation-card-thumb .thumb-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:3.5rem;background:linear-gradient(135deg,#0b1220 0,#0a1f16 40%,#123320 100%);position:relative}.formation-card-thumb .thumb-placeholder::after{content:"";position:absolute;bottom:0;left:0;right:0;height:60px;background:linear-gradient(to top,rgba(14,143,94,.12),transparent)}.formation-card-badges{position:absolute;top:12px;left:12px;display:flex;gap:6px;flex-wrap:wrap}.badge-premium{font-family:var(--font-mono);font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;padding:4px 9px;border-radius:999px;display:inline-flex;align-items:center;gap:4px}.badge-new{background:#0e8f5e;color:#fff}.badge-bestseller{background:#c9a227;color:#111}.badge-level{background:rgba(0,0,0,.7);color:#fff;backdrop-filter:blur(4px)}.formation-card-body{padding:20px 22px 22px;flex:1;display:flex;flex-direction:column}.formation-card-body h3{font-size:1.08rem;font-weight:700;margin-bottom:8px;line-height:1.3}.formation-card-body .card-desc{font-size:.85rem;color:var(--text-muted);margin-bottom:14px;flex:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-meta-row{display:flex;align-items:center;gap:14px;font-size:.78rem;color:var(--text-muted);font-family:var(--font-mono);margin-bottom:14px;flex-wrap:wrap}.card-meta-row span{display:flex;align-items:center;gap:4px}.card-stars{display:flex;align-items:center;gap:6px;margin-bottom:14px}.card-stars .stars-visual{color:#f59e0b;font-size:.85rem;letter-spacing:1px}.card-stars .stars-score{font-family:var(--font-mono);font-weight:700;font-size:.82rem}.card-stars .stars-count{font-size:.75rem;color:var(--text-muted)}.card-price-row{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:14px;border-top:1px solid var(--line)}.price-tag{font-family:var(--font-mono);font-size:1.1rem;font-weight:700;color:var(--orange-deep)}.testimonials-premium{background:var(--paper-2);padding:80px 0;overflow:hidden}.testimonials-slider-wrapper{position:relative;margin-top:44px}.testimonials-track{display:flex;gap:24px;transition:transform .5s cubic-bezier(.22,.68,0,1.05);will-change:transform}.testimonial-card-premium{background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:28px;flex:none;width:calc(33.333% - 16px);box-shadow:0 2px 16px rgba(14,14,16,.04);transition:box-shadow .2s ease,transform .2s ease;display:flex;flex-direction:column}@media (max-width:860px){.testimonial-card-premium{width:calc(50% - 12px)}}@media (max-width:580px){.testimonial-card-premium{width:calc(85vw)}}.testimonial-card-premium:hover{box-shadow:0 12px 40px rgba(14,14,16,.1);transform:translateY(-3px)}.testi-stars{color:#f59e0b;font-size:1rem;letter-spacing:2px;margin-bottom:14px}.testi-quote{font-size:.95rem;line-height:1.65;color:#3a3a3a;flex:1;position:relative;padding-left:20px}.testi-quote::before{content:""";
  position: absolute;
  left: 0;
  top: -6px;
  font-size: 2.5rem;
  color: var(--orange);
  font-family: Georgia, serif;
  line-height: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-none;
}
.testi-name { font-weight: 700; font-size: 0.9rem; }
.testi-role { font-size: 0.78rem; color: var(--text-muted); }
.testi-result {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--success);
  font-weight: 600;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.slider-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.15s ease;
  color: var(--ink);
}
.slider-btn:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.slider-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}
.slider-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.slider-dot.active { background: var(--orange); transform: scale(1.35); }

/* ---------- Partner Logos Ticker ---------- */
.partners-section {
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.partners-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.partners-ticker-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.partners-ticker {
  display: flex;
  gap: 48px;
  animation: ticker 22s linear infinite;
  width: max-content;
  align-items: center;
}
.partners-ticker:hover { animation-play-state: paused; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.partner-item {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 10px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all 0.2s ease;
}
.partner-item:hover { color: var(--orange); border-color: var(--orange); }

/* ---------- Button Hover Premium ---------- */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
.btn-primary:active::after {
  width: 260px; height: 260px;
  opacity: 0;
}
.btn-primary:hover::after {
  width: 160px; height: 80px;
  opacity: 1;
}

/* ---------- Dashboard Premium Upgrade ---------- */
.stat-tile-premium {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.stat-tile-premium:hover {
  box-shadow: 0 8px 32px rgba(14,14,16,0.08);
  transform: translateY(-2px);
}
.stat-tile-premium::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  border-radius: 50%;
  opacity: 0.07;
  transform: translate(30%, -30%);
}
.stat-tile-premium.orange::before { background: var(--orange); }
.stat-tile-premium.green::before { background: var(--success); }
.stat-tile-premium.blue::before { background: #2563EB; }
.stat-tile-premium.purple::before { background: #7C3AED; }

.stat-tile-premium .tile-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
  display: block;
}
.stat-tile-premium .tile-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}
.stat-tile-premium .tile-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 5px;
  font-weight: 500;
}
.stat-tile-premium .tile-trend {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}
.tile-trend.up { background: rgba(30,142,90,0.12); color: var(--success); }
.tile-trend.neutral { background: var(--paper-2); color: var(--text-muted); }

/* Animated progress bar */
.progress-track-premium {
  background: var(--paper-2);
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
  position: relative;
}
.progress-fill-premium {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), #3FAE7E);
  position: relative;
  transition: width 1.2s cubic-bezier(.22,.68,0,1.1);
  width: 0%;
}
.progress-fill-premium::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.35));
  animation: shimmer 1.8s ease infinite;
}
@keyframes shimmer {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

/* ---------- Gamification Badges ---------- */
.gamification-section {
  background: var(--paper-2);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.gamification-section h2 { font-size: 1.1rem; margin-bottom: 18px; }

.badges-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  min-width: 90px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}
.badge-item:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 24px rgba(14,14,16,0.1);
}
.badge-item.locked {
  opacity: 0.4;
  filter: grayscale(100%);
}
.badge-item.unlocked {
  border-color: rgba(14,143,94,0.3);
  background: rgba(14,143,94,0.03);
}
.badge-emoji { font-size: 2rem; line-height: 1; }
.badge-name { font-size: 0.7rem; font-weight: 700; color: var(--ink); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; }
.badge-desc { font-size: 0.65rem; color: var(--text-muted); }

/* Level badge */
.user-level-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 16px rgba(14,143,94,0.3);
}

/* Progress Ring (circular) */
.progress-ring-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}
.progress-ring-svg {
  transform: rotate(-90deg);
  flex-none;
}
.progress-ring-bg { fill: none; stroke: var(--paper-2); }
.progress-ring-fill {
  fill: none;
  stroke: var(--orange);
  stroke-linecap: round;
  transition: stroke-dashoffset 1.4s cubic-bezier(.22,.68,0,1.1);
}
.progress-ring-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  fill: var(--ink);
  dominant-baseline: middle;
  text-anchor: middle;
}

/* ---------- Mobile Bottom Nav ---------- */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 200;
  background: rgba(250,248,245,0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
}
@media (max-width: 640px) {
  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: 72px; }
}
.mobile-nav-items {
  display: flex;
  width: 100%;
  justify-content: space-around;
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
  border-radius: 10px;
}
.mobile-nav-item.active, .mobile-nav-item:hover { color: var(--orange); }
.mobile-nav-icon { font-size: 1.25rem; line-height: 1; }
.mobile-nav-label { font-size: 0.62rem; font-weight: 600; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Toast Notification ---------- */
.toast-container {
  position: fixed;
  top: 80px; right: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--ink);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  pointer-events: auto;
  animation: toastIn 0.3s cubic-bezier(.22,.68,0,1.2);
  max-width: 320px;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
.toast.toast-success { border-left: 3px solid var(--success); }
.toast.toast-info { border-left: 3px solid var(--orange); }

/* ---------- Hero Premium Upgrade ---------- */
.hero-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.6;
}
.hero-glow-1 {
  background: rgba(14, 143, 94, 0.22);
  top: -100px; right: -150px;
  animation: pulse-glow 6s ease-in-out infinite alternate;
}
.hero-glow-2 {
  background: rgba(184, 134, 11, 0.14);
  bottom: -80px; left: -100px;
  animation: pulse-glow 8s ease-in-out infinite alternate-reverse;
}
.hero-glow-3 {
  background: rgba(184, 134, 11, 0.28);
  top: 30%; left: 15%;
  width: 420px; height: 420px;
  animation: pulse-glow 7s ease-in-out infinite alternate;
}
@keyframes pulse-glow {
  from { opacity: 0.4; transform: scale(1) translate(0, 0); }
  to { opacity: 0.7; transform: scale(1.12) translate(14px, -10px); }
}

/* ---------- Section divider ---------- */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
  margin: 0 auto;
  max-width: 600px;
}

/* Responsive tweak */
@media (max-width: 620px) {
  .stats-grid { gap: 0; }
  .stat-block { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stat-block:last-child { border-bottom: none; }
}

/* ============================================================
   ADMIN — Circle.so Inspired Design System
   Clean, spacious, badge-driven navigation
   ============================================================ */

/* ---------- Admin Layout Override ---------- */
.app-layout {
  background: #F7F7F8;
}

.app-sidebar {
  width: 240px;
  background: #111114;
  border-right: none;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.app-sidebar .logo {
  padding: 6px 10px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 16px;
}

/* Sidebar nav groups */
.sidebar-group-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
  padding: 14px 10px 6px;
  font-weight: 600;
}

.app-sidebar nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 7px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1px;
  transition: background 0.12s ease, color 0.12s ease;
}
.app-sidebar nav a .nav-inner {
  display: flex;
  align-items: center;
  gap: 9px;
}
.app-sidebar nav a .nav-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-none;
}
.app-sidebar nav a:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}
.app-sidebar nav a.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-left: none;
}

/* Sidebar badge counts */
.nav-badge {
  background: #E53E3E;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  min-width: 18px;
  text-align: center;
  line-height: 1.4;
}
.nav-badge.orange { background: var(--orange); }
.nav-badge.green { background: var(--success); }

/* ---------- Admin Main Area ---------- */
.app-main {
  padding: 28px 36px;
  max-width: 1100px;
}

/* ---------- Admin Topbar ---------- */
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E8E8EA;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-topbar h1 {
  font-size: 1.4rem;
  font-weight: 700;
}
.admin-topbar .topbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ---------- KPI Cards (Circle style) ---------- */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 900px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }

.kpi-card {
  background: #fff;
  border: 1px solid #E8E8EA;
  border-radius: 12px;
  padding: 20px 22px;
  position: relative;
  transition: box-shadow 0.15s ease;
}
.kpi-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.kpi-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #8A8A90;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
  margin-bottom: 10px;
}
.kpi-value {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  color: #111114;
  line-height: 1;
  letter-spacing: -0.02em;
}
.kpi-sub {
  font-size: 0.78rem;
  color: #8A8A90;
  margin-top: 6px;
}
.kpi-trend {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
}
.kpi-trend.up { background: #ECFDF5; color: #059669; }
.kpi-trend.warn { background: #FFFBEB; color: #D97706; }
.kpi-trend.neutral { background: #F3F4F6; color: #6B6F63; }

/* ---------- Admin Panels ---------- */
.admin-panel {
  background: #fff;
  border: 1px solid #E8E8EA;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}
.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid #F0F0F2;
  gap: 12px;
}
.admin-panel-header h2 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111114;
}
.admin-panel-body {
  padding: 20px 22px;
}
.admin-panel-body.no-pad { padding: 0; }

/* ---------- Admin Tables (Circle style) ---------- */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8A8A90;
  font-weight: 600;
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid #F0F0F2;
  background: #FAFAFA;
}
.admin-table td {
  padding: 13px 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid #F5F5F7;
  vertical-align: middle;
  color: #1a1a1f;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #FAFAFA; }
.admin-table .td-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

/* ---------- Filter Pills ---------- */
.filter-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1.5px solid #E8E8EA;
  background: #fff;
  color: #5A5A65;
  cursor: pointer;
  transition: all 0.12s ease;
  text-decoration: none;
  font-family: inherit;
}
.filter-pill:hover { border-color: #111114; color: #111114; }
.filter-pill.active { background: #111114; border-color: #111114; color: #fff; }
.filter-pill .pill-count {
  background: rgba(255,255,255,0.25);
  padding: 1px 5px;
  border-radius: 999px;
  font-size: 0.65rem;
}
.filter-pill.active .pill-count { background: rgba(255,255,255,0.2); }

/* ---------- Status Badges (Circle style) ---------- */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.status-badge::before { content: "●"; font-size: 0.55rem; }
.status-badge.active, .status-badge.valide, .status-badge.publie {
  background: #ECFDF5; color: #059669;
}
.status-badge.pending, .status-badge.en_attente, .status-badge.brouillon {
  background: #FFFBEB; color: #D97706;
}
.status-badge.inactive, .status-badge.echoue, .status-badge.archive, .status-badge.masque, .status-badge.inactif, .status-badge.suspendu {
  background: #FFF5F5; color: #E53E3E;
}
.status-badge.neutral, .status-badge.lu, .status-badge.traite {
  background: #F3F4F6; color: #6B6F63;
}
.status-badge.non_lu {
  background: #FBF3DC; color: #4F46E5;
}

/* ---------- Search Bar ---------- */
.admin-search {
  position: relative;
  max-width: 320px;
}
.admin-search input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border: 1.5px solid #E8E8EA;
  border-radius: 8px;
  font-size: 0.875rem;
  background: #fff;
  color: #111114;
  font-family: inherit;
  transition: border-color 0.12s ease;
}
.admin-search input:focus {
  outline: 2px solid var(--bleu); outline-offset: 1px;
  border-color: #111114;
}
.admin-search::before {
  content: "🔍";
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  pointer-events: none;
}

/* ---------- Split View Layout ---------- */
.split-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  align-items: flex-start;
}
@media (max-width: 860px) { .split-layout { grid-template-columns: 1fr; } }

.split-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #F0F0F2;
  cursor: pointer;
  transition: background 0.1s ease;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.split-list-item:last-child { border-bottom: none; }
.split-list-item:hover { background: #FAFAFA; }
.split-list-item.selected { background: #F3F3F8; border-left: 3px solid #111114; }
.split-list-item .item-title { font-weight: 600; font-size: 0.88rem; }
.split-list-item .item-sub { font-size: 0.75rem; color: #8A8A90; margin-top: 2px; }

/* ---------- Admin Form Styling ---------- */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.admin-form .form-row {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}
.admin-form .form-row.cols-2 { grid-template-columns: 1fr 1fr; }
.admin-form .form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.admin-form .form-row.cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
@media (max-width: 640px) {
  .admin-form .form-row.cols-2,
  .admin-form .form-row.cols-3,
  .admin-form .form-row.cols-4 { grid-template-columns: 1fr; }
}
.admin-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 5px;
}
.admin-form .form-control {
  border: 1.5px solid #E8E8EA;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.875rem;
  transition: border-color 0.12s ease;
  background: #fff;
}
.admin-form .form-control:focus {
  outline: 2px solid var(--bleu); outline-offset: 1px;
  border-color: #111114;
}
.admin-form .form-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #F0F0F2;
}

/* ---------- Alert Banner (admin) ---------- */
.admin-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: 0.875rem;
  margin-bottom: 20px;
  border: 1px solid transparent;
}
.admin-alert.success { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.admin-alert.error { background: #FFF5F5; border-color: #FEB2B2; color: #9B2C2C; }
.admin-alert.info { background: #FBF3DC; border-color: #C7D2FE; color: #3730A3; }
.admin-alert.warning { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.admin-alert-icon { font-size: 1rem; flex-none; }

/* ---------- Empty State ---------- */
.empty-state {
  text-align: center;
  padding: 52px 24px;
  color: #8A8A90;
}
.empty-state .empty-icon { font-size: 2.5rem; margin-bottom: 12px; }
.empty-state .empty-title { font-weight: 700; color: #444; font-size: 0.95rem; margin-bottom: 6px; }
.empty-state .empty-desc { font-size: 0.85rem; }

/* ---------- Btn styles (admin) ---------- */
.btn-admin-primary {
  background: #111114;
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.btn-admin-primary:hover { background: #000; }

.btn-admin-secondary {
  background: #fff;
  color: #111114;
  border: 1.5px solid #E8E8EA;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.12s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}
.btn-admin-secondary:hover { border-color: #111114; color: #111114; }

.btn-admin-danger {
  background: #fff;
  color: #E53E3E;
  border: 1.5px solid #FEB2B2;
  padding: 7px 12px;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.12s ease;
}
.btn-admin-danger:hover { background: #FFF5F5; }

.btn-admin-sm {
  padding: 5px 10px;
  font-size: 0.78rem;
  border-radius: 6px;
}

/* ---------- Contact message card ---------- */
.contact-card {
  padding: 16px 20px;
  border-bottom: 1px solid #F0F0F2;
  transition: background 0.1s ease;
}
.contact-card:last-child { border-bottom: none; }
.contact-card:hover { background: #FAFAFA; }
.contact-card.unread {
  border-left: 3px solid #4F46E5;
  background: #FAFBFF;
}
.contact-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 12px;
  flex-wrap: wrap;
}
.contact-card-name { font-weight: 700; font-size: 0.9rem; }
.contact-card-meta { font-size: 0.78rem; color: #8A8A90; }
.contact-card-message {
  font-size: 0.875rem;
  color: #444;
  line-height: 1.55;
  margin-bottom: 10px;
}
.contact-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ---------- Chart container ---------- */
.chart-container {
  position: relative;
  height: 200px;
}

/* ---------- Responsive admin ---------- */
@media (max-width: 900px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .app-main { padding: 16px; }
  .admin-topbar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   LEÇON PREMIUM — Layout Udemy 2 colonnes
   ============================================================ */

/* Override layout pour la page leçon — fullwidth sans padding */
.lecon-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  min-height: 100vh;
  align-items: flex-start;
}
@media (max-width: 960px) {
  .lecon-layout { grid-template-columns: 1fr; }
  .lecon-sidebar { order: -1; }
}

/* Zone principale */
.lecon-main {
  padding: 0;
  min-width: 0;
}

/* Player vidéo */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 0;
}
.video-wrapper iframe {
  position: absolute; top:0; left:0;
  width: 100%; height: 100%; border:0;
}
.video-placeholder {
  position: absolute; top:0; left:0;
  width:100%; height:100%;
  display: flex; align-items:center; justify-content:center;
  flex-direction: column; gap: 12px;
  background: linear-gradient(135deg, #111114, #1a1a1f);
  color: rgba(255,255,255,0.4);
}
.video-placeholder .play-icon {
  font-size: 3.5rem;
  opacity: 0.4;
}
.video-placeholder p { font-size:0.9rem; }

/* Contenu sous le player */
.lecon-content-area {
  padding: 28px 36px;
}
@media (max-width: 640px) { .lecon-content-area { padding: 16px; } }

/* Breadcrumb leçon */
.breadcrumb-site { padding: 14px 0; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.breadcrumb-site ol { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; font-family: var(--font-mono); color: var(--text-muted); }
.breadcrumb-site li { display: flex; align-items: center; gap: 8px; }
.breadcrumb-site a { color: var(--text-muted); text-decoration: none; transition: color 0.15s ease; }
.breadcrumb-site a:hover { color: var(--orange-deep); }
.breadcrumb-site li[aria-current="page"] { color: var(--ink); font-weight: 600; }
.breadcrumb-site .sep { opacity: 0.4; }

.lecon-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #8A8A90;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  flex-wrap: wrap;
}
.lecon-breadcrumb a { color: #8A8A90; text-decoration:none; }
.lecon-breadcrumb a:hover { color: var(--orange); }
.lecon-breadcrumb .sep { opacity: 0.4; }

/* Onglets leçon */
.lecon-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #F0F0F2;
  margin: 24px 0 20px;
}
.lecon-tab {
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #8A8A90;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s ease;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lecon-tab:hover { color: #111114; }
.lecon-tab.active {
  color: #111114;
  border-bottom-color: var(--orange);
}
.lecon-tab-count {
  background: #F0F0F2;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  font-family: var(--font-mono);
}
.lecon-tab-panel { display: none; }
.lecon-tab-panel.active { display: block; }

/* Objectif leçon */
.lecon-objectif {
  background: #FFFBF5;
  border: 1px solid rgba(14,143,94,0.15);
  border-left: 3px solid var(--orange);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.lecon-objectif strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  font-family: var(--font-mono);
  margin-bottom: 5px;
}

/* Blocage leçon */
.lecon-locked {
  background: #F9F9FB;
  border: 1.5px dashed #D0D0D8;
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  margin: 24px 0;
}
.lecon-locked .lock-icon { font-size: 2.5rem; margin-bottom: 12px; display:block; }
.lecon-locked h3 { margin-bottom: 8px; }
.lecon-locked p { color: #8A8A90; font-size: 0.9rem; margin-bottom: 20px; }

/* Navigation bas de page */
.lecon-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 36px;
  border-top: 1px solid #F0F0F2;
  background: #fff;
  position: sticky;
  bottom: 0;
  z-index: 10;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width:640px) { .lecon-nav-bar { padding: 12px 16px; } }
.lecon-nav-bar .nav-center {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #8A8A90;
}

/* Sidebar navigation leçons */
.lecon-sidebar {
  background: #fff;
  border-left: 1px solid #F0F0F2;
  max-height: 100vh;
  position: sticky;
  top: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}
.lecon-sidebar::-webkit-scrollbar { width: 4px; }
.lecon-sidebar::-webkit-scrollbar-track { background: #F5F5F7; }
.lecon-sidebar::-webkit-scrollbar-thumb { background: #D0D0D8; border-radius: 99px; }

.sidebar-header {
  padding: 16px 18px;
  border-bottom: 1px solid #F0F0F2;
  font-weight: 700;
  font-size: 0.88rem;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-progress-mini {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--orange);
}

/* Semaine accordéon sidebar */
.sidebar-semaine {
  border-bottom: 1px solid #F5F5F7;
}
.sidebar-semaine-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  cursor: pointer;
  background: #FAFAFA;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #555;
  font-family: var(--font-mono);
  transition: background 0.1s ease;
  user-select: none;
}
.sidebar-semaine-header:hover { background: #F3F3F5; }
.sidebar-semaine-header .sem-toggle { transition: transform 0.2s ease; font-size: 0.7rem; }
.sidebar-semaine.open .sem-toggle { transform: rotate(180deg); }
.sidebar-semaine-body { display: none; }
.sidebar-semaine.open .sidebar-semaine-body { display: block; }

/* Module dans sidebar */
.sidebar-module-title {
  padding: 9px 18px 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #111;
  background: #fff;
}

/* Leçon dans sidebar */
.sidebar-lecon-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 18px 9px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.1s ease;
  border-left: 3px solid transparent;
}
.sidebar-lecon-item:hover { background: #FAFAFA; }
.sidebar-lecon-item.active {
  background: #FFF8F3;
  border-left-color: var(--orange);
}
.sidebar-lecon-item.locked {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}
.lecon-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid #D0D0D8;
  display: flex; align-items:center; justify-content:center;
  font-size: 0.6rem;
  flex-none;
  margin-top: 1px;
  transition: all 0.15s ease;
}
.lecon-check.done { background: #059669; border-color:#059669; color:#fff; }
.lecon-check.active { border-color: var(--orange); background: rgba(14,143,94,0.08); }
.lecon-check.locked { background: #F5F5F7; }
.sidebar-lecon-text { flex: 1; min-width: 0; }
.sidebar-lecon-text .ltitle {
  font-size: 0.82rem;
  line-height: 1.35;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-lecon-item.active .ltitle { font-weight: 600; color: #111; }
.sidebar-lecon-text .lmeta {
  font-size: 0.7rem;
  color: #8A8A90;
  margin-top: 2px;
  font-family: var(--font-mono);
}

/* Notes textarea */
.notes-area {
  width: 100%;
  min-height: 200px;
  padding: 14px;
  border: 1.5px solid #E8E8EA;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.65;
  resize: vertical;
  font-family: inherit;
  transition: border-color 0.12s ease;
  background: #FAFAFA;
}
.notes-area:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); background: #fff; }

/* Resource items premium */
.resource-premium {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid #E8E8EA;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: all 0.15s ease;
  text-decoration: none;
  color: inherit;
}
.resource-premium:hover {
  border-color: var(--orange);
  background: #FFF8F3;
  transform: translateX(3px);
}
.resource-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(14,143,94,0.1), rgba(184,134,11,0.10));
  display: flex; align-items:center; justify-content:center;
  font-size: 1.3rem;
  flex-none;
}
.resource-info { flex: 1; min-width: 0; }
.resource-info .rtitle { font-weight: 600; font-size: 0.88rem; }
.resource-info .rdesc { font-size: 0.75rem; color: #8A8A90; margin-top: 2px; }
.resource-type-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 7px;
  background: #F3F4F6;
  border-radius: 999px;
  color: #555;
  flex-none;
}

/* ============================================================
   FORMATIONS PAGE DE VENTE — Layout Teachable
   ============================================================ */

.formation-hero {
  background: var(--ink);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.formation-hero::before {
  content: "";
  position: absolute;
  top: -100px; right: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(14,143,94,0.15), transparent 70%);
  pointer-events: none;
}
.formation-hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: flex-start;
}
@media (max-width: 860px) {
  .formation-hero-grid { grid-template-columns: 1fr; }
  .price-box-sticky { position:static !important; }
}

.price-box {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  position: sticky;
  top: 20px;
}
.price-box-thumb {
  height: 180px;
  background:
    radial-gradient(circle at 30% 20%, rgba(14,143,94,0.25), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(184,134,11,0.3), transparent 55%),
    linear-gradient(135deg, #16161a, #0a0a0c);
  display: flex; align-items:center; justify-content:center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.price-box-thumb::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 16px 16px;
}
.price-box-thumb-play {
  position: relative; z-index: 1;
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--orange-deep);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.price-box-thumb-play:hover { transform: scale(1.08); }
.price-box-thumb-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700;
  color: #fff; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px);
  padding: 4px 10px; border-radius: 999px; letter-spacing: 0.04em;
}
.price-box-body { padding: 22px; }
.price-box-price {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  line-height: 1;
  margin-bottom: 4px;
}
.price-box-promo {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #8A8A90;
  text-decoration: line-through;
  margin-bottom: 12px;
}
.price-box .btn-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 15px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.price-box-includes {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #F0F0F2;
}
.price-box-includes h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8A8A90;
  font-family: var(--font-mono);
  margin-bottom: 10px;
}
.price-include-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 7px;
  color: #333;
}
.price-include-item::before {
  content: "✓";
  color: #059669;
  font-weight: 700;
  flex-none;
}

/* Programme accordéon page vente */
.programme-accordion {
  border: none;
  border-radius: 0;
  overflow: visible;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.programme-week {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-layered, 0 1px 2px rgba(14,14,16,0.04), 0 8px 16px rgba(14,14,16,0.05));
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.programme-week.open { border-color: rgba(14,143,94,0.35); box-shadow: var(--shadow-layered-hover, 0 2px 4px rgba(14,14,16,0.06), 0 14px 28px rgba(14,14,16,0.08)); }
.programme-week-header {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  background: #fff;
  transition: background 0.15s ease;
  user-select: none;
  gap: 16px;
}
.programme-week-header:hover { background: #FAFAFA; }
.programme-week.open .programme-week-header { background: linear-gradient(90deg, #FFF8F3, #fff); }
.pw-num {
  font-family: var(--font-mono); font-weight: 700; font-size: 1rem;
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-2); color: var(--orange-deep);
  border: 1px solid rgba(14,143,94,0.25);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.programme-week.open .pw-num { background: var(--orange); color: #fff; border-color: var(--orange); transform: scale(1.08); }
.pw-toggle { transition: transform 0.2s ease; color: #8A8A90; flex-none; }
.programme-week.open .pw-toggle { transform: rotate(180deg); color: var(--orange); }
.pw-title { font-weight: 700; font-size: 0.98rem; flex: 1; }
.pw-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #8A8A90;
  flex-none;
  background: var(--paper-2);
  padding: 4px 10px;
  border-radius: 999px;
}
.programme-week-body { display: none; padding: 4px 22px 20px 80px; }
.programme-week.open .programme-week-body { display: block; }
.pw-module-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #444;
  margin: 14px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-mono);
}
.pw-lecon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 0.88rem;
  border-radius: 8px;
  transition: background 0.12s ease;
}
.pw-lecon-item:hover { background: var(--paper-2); }
.pw-lecon-icon {
  color: var(--orange-deep); font-size: 0.8rem;
  width: 26px; height: 26px; flex: none;
  border-radius: 50%; background: rgba(14,143,94,0.1);
  display: flex; align-items: center; justify-content: center;
}

/* --- Timeline horizontale du programme (au-dessus de l'accordéon) --- */
.programme-overview {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 32px;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--paper-2), #fff);
  border-radius: 16px; border: 1px solid var(--line);
}
.programme-overview a {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; color: var(--text-muted);
  text-decoration: none; padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  transition: all 0.15s ease;
}
.programme-overview a:hover { color: var(--orange-deep); border-color: var(--orange); transform: translateY(-1px); }
.programme-overview a span { font-family: var(--font-mono); color: var(--orange); font-weight: 700; }

/* ============================================================
   PROFIL ÉTUDIANT PREMIUM
   ============================================================ */

.profil-header {
  background: linear-gradient(135deg, var(--ink), #0a1f16);
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.profil-header::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(14,143,94,0.15), transparent 70%);
}
.profil-avatar-big {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #3FAE7E);
  display: flex; align-items:center; justify-content:center;
  font-weight: 800; font-size: 1.8rem; color: #fff;
  flex-none;
  border: 3px solid rgba(255,255,255,0.2);
  position: relative; z-index: 1;
}
.profil-header-info { position: relative; z-index: 1; }
.profil-header-info h1 { color: #fff; font-size: 1.4rem; margin-bottom: 4px; }
.profil-header-info p { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.profil-header-badges {
  display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap;
}

/* ============================================================
   PROGRESSION TIMELINE PREMIUM
   ============================================================ */

.timeline-semaine {
  position: relative;
  padding-left: 40px;
  margin-bottom: 32px;
}
.timeline-semaine::before {
  content: "";
  position: absolute;
  left: 14px; top: 24px; bottom: -32px;
  width: 2px;
  background: #F0F0F2;
}
.timeline-semaine:last-child::before { display: none; }

.timeline-dot {
  position: absolute;
  left: 0; top: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #E8E8EA;
  display: flex; align-items:center; justify-content:center;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #8A8A90;
  z-index: 1;
  transition: all 0.2s ease;
}
.timeline-dot.done { background: #059669; border-color: #059669; color: #fff; }
.timeline-dot.active { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 0 0 4px rgba(14,143,94,0.15); }

.timeline-card {
  background: #fff;
  border: 1px solid #E8E8EA;
  border-radius: 12px;
  padding: 16px 20px;
  transition: box-shadow 0.15s ease;
}
.timeline-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.timeline-card.done { border-color: #A7F3D0; }
.timeline-card.active { border-color: rgba(14,143,94,0.3); background: #FFF8F3; }

.timeline-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
}
.timeline-card-title { font-weight: 700; font-size: 0.95rem; }
.timeline-pct {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}
.timeline-pct.done { color: #059669; }
.timeline-pct.active { color: var(--orange); }
.timeline-pct.todo { color: #8A8A90; }

/* ============================================================
   PRIORITÉ 12 — Animations premium : loader + transition de page
   ============================================================ */
.page-loader{
  position: fixed; top:0; left:0; width:100%; height:3px; z-index:9999;
  background: transparent; pointer-events: none;
}
.page-loader-bar{
  height:100%; width:0%;
  background: linear-gradient(90deg, var(--bleu), var(--orange));
  transition: width 0.4s ease, opacity 0.3s ease;
}
.page-loader.done .page-loader-bar{ width:100%; opacity:0; }

body{ animation: pageFadeIn 0.45s ease both; }
@keyframes pageFadeIn{
  from{ opacity:0; transform: translateY(6px); }
  to{ opacity:1; transform: translateY(0); }
}

/* respecte les préférences d'accessibilité (P13) */
@media (prefers-reduced-motion: reduce){
  body{ animation: none; }
  .reveal, .reveal.visible{ transition: none !important; transform:none !important; opacity:1 !important; }
}

/* ============================================================
   PRIORITÉ 13 — Accessibilité
   ============================================================ */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible{
  outline: 2px solid var(--bleu);
  outline-offset: 2px;
}

/* ============================================================
   PRIORITÉ 10 — Marketing : newsletter, WhatsApp flottant, exit-intent
   ============================================================ */
.newsletter-block{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  flex-wrap:wrap; padding:28px 0; margin-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.newsletter-form{ display:flex; gap:10px; flex-wrap:wrap; min-width:280px; flex:1; max-width:420px; }
.newsletter-form .form-control{ flex:1; min-width:180px; }

.whatsapp-float{
  position:fixed; right:20px; bottom:20px; z-index:900;
  width:56px; height:56px; border-radius:50%;
  background:#25D366; color:#fff; font-size:1.5rem;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 24px rgba(37,211,102,0.4);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover{ transform: scale(1.08); }
@media (max-width:640px){ .whatsapp-float{ bottom:76px; } }

.exit-popup-overlay{
  position:fixed; inset:0; background:rgba(14,14,16,0.6);
  display:flex; align-items:center; justify-content:center; padding:20px;
  z-index:2000; opacity:0; pointer-events:none; transition:opacity 0.25s ease;
}
.exit-popup-overlay.open{ opacity:1; pointer-events:auto; }
.exit-popup{
  background:#fff; border-radius: var(--radius-lg); padding:36px;
  max-width:440px; width:100%; position:relative;
  transform:translateY(12px); transition:transform 0.25s ease;
  box-shadow:0 24px 60px rgba(0,0,0,0.25);
}
.exit-popup-overlay.open .exit-popup{ transform:translateY(0); }
.exit-popup-close{
  position:absolute; top:14px; right:14px; background:var(--paper-2);
  border:none; width:32px; height:32px; border-radius:50%; font-size:0.9rem;
  cursor:pointer;
}

/* ============================================================
   PRIORITÉ 10 (suite) — Compte à rebours + upsell/cross-sell
   ============================================================ */
.countdown-box{
  background: var(--ink); color:#fff; border-radius:10px;
  padding:10px 12px; text-align:center; margin:10px 0 4px;
  font-size:0.75rem;
}
.countdown-box span{ opacity:0.7; display:block; margin-bottom:4px; }
.countdown-timer{
  font-family: var(--font-mono); font-weight:700; font-size:1.1rem;
  letter-spacing:0.03em; color: var(--orange);
}
.upsell-box{
  display:flex; align-items:center; gap:10px;
  background: var(--bleu-soft); border:1px solid rgba(184,134,11,0.15);
  border-radius: var(--radius); padding:12px;
}
.upsell-icon{ font-size:1.4rem; flex:none; }
.upsell-title{ font-size:0.82rem; font-weight:700; color: var(--bleu-deep); }
.upsell-desc{ font-size:0.72rem; color:#555; margin-top:2px; }
.upsell-link{ font-size:0.72rem; font-weight:700; color: var(--bleu); white-space:nowrap; margin-left:auto; }

/* ============================================================
   V51 — RAFFINEMENT VISUEL
   Objectif : casser la platitude par la profondeur (texture, ombres
   en couches), le rythme (variation entre sections) et une signature
   graphique reconnaissable (accent orange en "encoche").
   ============================================================ */

/* --- Grain subtil sur les fonds sombres : casse l'aplat --- */
.hero::before,
.stats-section::before,
.section.dark::before,
.formation-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero, .stats-section, .section.dark, .formation-hero { isolation: isolate; }

/* --- Ombres en couches : plus de profondeur que le shadow plat unique --- */
:root {
  --shadow-layered: 0 1px 2px rgba(14,14,16,0.04), 0 8px 16px rgba(14,14,16,0.05), 0 24px 48px rgba(14,14,16,0.06);
  --shadow-layered-hover: 0 2px 4px rgba(14,14,16,0.06), 0 14px 28px rgba(14,14,16,0.08), 0 32px 64px rgba(14,14,16,0.10);
}
.card, .formation-card, .testimonial-card-premium, .price-box, .stat-tile-premium { box-shadow: var(--shadow-layered); }
.card:hover, .stat-tile-premium:hover { box-shadow: var(--shadow-layered-hover); }
.formation-card:hover { box-shadow: 0 4px 8px rgba(14,14,16,0.06), 0 24px 60px rgba(14,14,16,0.16); }

/* --- Signature graphique : encoche orange sur les titres de section --- */
.section-head { position: relative; padding-left: 18px; }
.section-head::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--orange), var(--bleu));
}

/* --- Rythme entre sections : alternance de fond + motif pointillé discret --- */
.section.alt { position: relative; }
.section.alt::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.4;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  pointer-events: none;
}
.section.alt .container { position: relative; z-index: 1; }

/* --- Divider signature entre sections (remplace la ligne plate) --- */
.section-divider { position: relative; height: 40px; background: none; max-width: none; }
.section-divider::before {
  content: "";
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 60px; height: 1px; background: var(--line);
}
.section-divider::after {
  content: "";
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
}

/* --- Cartes premium : léger contour intérieur lumineux (effet verre) --- */
.formation-card, .testimonial-card-premium, .price-box, .card {
  position: relative;
  background-image: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0));
}

/* --- Boutons primaires : profondeur légère au repos, pas seulement au hover --- */
.btn-primary { box-shadow: 0 4px 14px rgba(14,143,94,0.28); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(14,143,94,0.38); }
.btn-bleu { box-shadow: 0 4px 14px rgba(184,134,11,0.22); }

/* --- Fil d'Ariane : légère profondeur pour ne pas paraître collé --- */
.breadcrumb-site { box-shadow: inset 0 -1px 0 var(--line); }

/* ============================================================
   REFONTE ACCUEIL — Effet "waouh" (barre de progression,
   CTA flottant, comparatif avant/après)
   ============================================================ */

/* --- Barre de progression de scroll --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 9999; background: transparent; pointer-events: none;
}
.scroll-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--bleu));
  transition: width 0.1s linear;
}

/* --- CTA flottant --- */
.floating-cta {
  position: fixed; right: 24px; bottom: 90px; z-index: 900;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: #fff; font-weight: 700; font-size: 0.88rem;
  padding: 14px 22px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 10px 30px rgba(14,143,94,0.4);
  opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}
.floating-cta.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.floating-cta:hover { box-shadow: 0 14px 36px rgba(14,143,94,0.5); transform: translateY(-2px) scale(1.03); }
.floating-cta i { animation: floatingRocket 1.8s ease-in-out infinite; }
@keyframes floatingRocket { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@media (max-width: 640px) {
  .floating-cta span { display: none; }
  .floating-cta { padding: 14px; bottom: 84px; }
}

/* --- Comparatif avant / après --- */
.compare-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
.compare-card {
  border-radius: 20px; padding: 32px 28px;
  border: 1px solid var(--line);
}
.compare-card.before { background: var(--paper-2); }
.compare-card.after {
  background: linear-gradient(160deg, var(--orange-deep), #052e1e);
  color: #fff; box-shadow: var(--shadow-layered-hover);
}
.compare-card h3 { display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.compare-card.before h3 { color: var(--text-muted); }
.compare-card.after h3 { color: #fff; }
.compare-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.compare-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }
.compare-card.before .compare-list i { color: #c0392b; margin-top: 3px; }
.compare-card.after .compare-list i { color: var(--orange); margin-top: 3px; }
.compare-arrow {
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--orange); flex: none;
}
@media (max-width: 780px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* --- Badges de confiance sous le hero --- */
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 28px; }
.trust-badges span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; color: rgba(255,255,255,0.65);
  font-family: var(--font-mono);
}
.trust-badges i { color: var(--orange); }

/* ============================================================
   ANTI-PLATITUDE — passe globale de profondeur
   Problème identifié : les cartes n'avaient de l'ombre qu'au survol,
   donc tout paraissait plat au repos (surtout sur mobile, sans hover).
   On applique une ombre légère PAR DÉFAUT partout, pas seulement au hover.
   ============================================================ */

/* --- Fond de page : casse l'aplat uni --- */
body {
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(14,143,94,0.04), transparent 60%),
    radial-gradient(ellipse 900px 500px at 90% 10%, rgba(184,134,11,0.04), transparent 60%);
  background-attachment: fixed;
}

/* --- Cartes admin (kpi-card) : profondeur au repos --- */
.kpi-card {
  box-shadow: 0 1px 2px rgba(14,14,16,0.03), 0 6px 16px rgba(14,14,16,0.045);
  border-color: transparent;
}
.kpi-card:hover { box-shadow: 0 4px 8px rgba(14,14,16,0.05), 0 14px 32px rgba(14,14,16,0.08); transform: translateY(-2px); }

/* --- Alertes admin/membre : légère profondeur au lieu d'un aplat de couleur --- */
.admin-alert, .alert {
  box-shadow: 0 1px 2px rgba(14,14,16,0.04), 0 4px 12px rgba(14,14,16,0.04);
  border-width: 1px;
}

/* --- Champs de formulaire : profondeur intérieure (creux) plutôt qu'un simple contour --- */
.form-control {
  box-shadow: inset 0 1px 2px rgba(14,14,16,0.04);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.form-control:focus {
  box-shadow: inset 0 1px 2px rgba(14,14,16,0.04), 0 0 0 3px rgba(14,143,94,0.12);
}

/* --- Badges : légère profondeur au lieu d'un aplat de couleur --- */
.badge { box-shadow: 0 1px 3px rgba(14,14,16,0.06); }

/* --- Boîte de prix (miniature vidéo) : profondeur intérieure --- */
.price-box-thumb { box-shadow: inset 0 -40px 60px -20px rgba(0,0,0,0.4); }

/* --- Sections claires en alternance automatique : casse la répétition de blancs --- */
.section:nth-of-type(even):not(.dark):not(.hero) { background: var(--paper-2); }

/* --- Séparation visible entre header sticky et contenu --- */
.site-header, .admin-topbar, .app-topbar { box-shadow: 0 1px 0 var(--line), 0 4px 16px rgba(14,14,16,0.04); }

/* --- Tables admin : lignes moins plates --- */
table.admin-table tbody tr:hover { background: var(--paper-2); }
table.admin-table { box-shadow: 0 1px 2px rgba(14,14,16,0.03), 0 6px 20px rgba(14,14,16,0.05); border-radius: 12px; overflow: hidden; }

/* ============================================================
   PASSE 2 — Renforcement de l'identité visuelle
   (accents dégradés, micro-interactions, signature graphique)
   ============================================================ */

/* --- Sélection de texte & scrollbar personnalisées --- */
::selection{ background: var(--orange); color:#fff; }
::-webkit-scrollbar{ width:10px; height:10px; }
::-webkit-scrollbar-track{ background: var(--paper-2); }
::-webkit-scrollbar-thumb{ background: var(--ink-soft); border-radius:99px; border:2px solid var(--paper-2); }
::-webkit-scrollbar-thumb:hover{ background: var(--orange-deep); }

/* --- Logo : initiale dégradée (signature de marque) --- */
.logo span.com{
  background: linear-gradient(120deg, var(--orange), var(--bleu));
  -webkit-background-clip: text; background-clip:text; color:transparent;
}

/* --- Liens de nav : soulignement animé au survol --- */
.nav-links a{ position:relative; padding-bottom:4px; }
.nav-links a::after{
  content:""; position:absolute; left:0; right:100%; bottom:0; height:2px; border-radius:2px;
  background: linear-gradient(90deg, var(--orange), var(--bleu));
  transition: right .25s cubic-bezier(.22,.68,0,1.05);
}
.nav-links a:hover::after{ right:0; }

/* --- Mega-menu : liseré supérieur signature --- */
.mega-menu-panel{ border-top:3px solid var(--orange); overflow:hidden; }

/* --- Hero : découpe diagonale + grille de points renforcée --- */
.hero{ clip-path: polygon(0 0, 100% 0, 100% 98%, 0 100%); }
.hero::before{
  content:""; position:absolute; inset:0; opacity:.5; pointer-events:none;
  background-image: radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 25% 20%, black, transparent 65%);
  mask-image: radial-gradient(circle at 25% 20%, black, transparent 65%);
}

/* --- Cartes : liseré dégradé qui apparaît au survol --- */
.card, .formation-card, .testimonial-card-premium{ position:relative; isolation:isolate; }
.card::before, .formation-card::before, .testimonial-card-premium::before{
  content:""; position:absolute; inset:0; border-radius:inherit; padding:1.5px;
  background: linear-gradient(135deg, var(--orange), var(--bleu));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity:0; transition: opacity .25s ease; pointer-events:none; z-index:0;
}
.card:hover::before, .formation-card:hover::before, .testimonial-card-premium:hover::before{ opacity:1; }

/* --- Boutons primaires : halo lumineux au survol --- */
.btn-primary{ position:relative; z-index:0; }
.btn-primary::before{
  content:""; position:absolute; inset:-2px; border-radius:inherit; z-index:-1;
  background: linear-gradient(135deg, var(--orange), var(--bleu));
  opacity:0; transition: opacity .25s ease; filter: blur(8px);
}
.btn-primary:hover::before{ opacity:.55; }

/* --- Prix : chip dégradé au lieu d'un texte simple --- */
.price-tag{
  background: linear-gradient(135deg, rgba(14,143,94,0.12), rgba(184,134,11,0.12));
  padding: 4px 10px; border-radius: 8px; display:inline-block;
}

/* --- Badge "nouveau" : dégradé signature --- */
.badge-new{ background: linear-gradient(135deg, var(--orange), var(--orange-deep)); }

/* --- FAQ ouverte : accent latéral franc --- */
.faq-item[open]{ border-left: 3px solid var(--orange); }

/* --- Footer : liseré dégradé supérieur + liens qui glissent --- */
.site-footer{ position:relative; }
.site-footer::before{
  content:""; position:absolute; top:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg, var(--orange), var(--bleu), transparent 85%);
}
.footer-grid a{ display:inline-block; transition: transform .2s ease, color .15s ease; }
.footer-grid a:hover{ transform: translateX(4px); }

/* --- Roadmap : halo au repos, pas seulement au survol --- */
.roadmap-num{ box-shadow: 0 0 0 4px rgba(14,143,94,0.08); }

/* --- App sidebar (membre/admin) : indicateur actif plus marqué --- */
.app-sidebar nav a.active{
  background: linear-gradient(90deg, rgba(14,143,94,0.18), rgba(14,143,94,0.02));
}

/* --- Stat tiles premium : liseré dégradé au repos --- */
.stat-tile-premium{ overflow:hidden; }
.stat-tile-premium::after{
  content:""; position:absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--orange), var(--bleu));
}

/* ============================================================
   PASSE 3 — Détails premium supplémentaires
   ============================================================ */

/* --- Chiffres clés du hero : texte en dégradé --- */
.hero-stats .stat-num{
  background: linear-gradient(120deg, var(--orange), var(--bleu));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* --- Guillemet des témoignages : cohérent avec la police de titres --- */
.testi-quote::before{ font-family: var(--font-display); font-weight:600; }

/* --- Vignettes formation : effet de brillance diagonale au survol --- */
.formation-card-thumb{ position:relative; }
.formation-card-thumb::before{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.16) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}
.formation-card:hover .formation-card-thumb::before{ transform: translateX(120%); }

/* --- Anneau décoratif supplémentaire dans le hero --- */
.hero::after{
  background: radial-gradient(circle at center, rgba(14,143,94,0.35), transparent 70%);
}
.hero-grid::before{
  content:""; position:absolute; right:6%; top:8%; width:180px; height:180px;
  border:1px solid rgba(184,134,11,0.3); border-radius:50%; pointer-events:none;
}

/* --- Slider témoignages : puces actives en dégradé --- */
.slider-dot.active{ background: linear-gradient(90deg, var(--orange), var(--bleu)); }

/* --- Focus clavier cohérent avec la marque --- */
a:focus-visible, button:focus-visible, .btn:focus-visible{
  outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 6px;
}

/* --- Boutons sombres : léger dégradé au lieu d'un aplat --- */
.btn-dark{ background: linear-gradient(135deg, var(--ink), var(--ink-soft)); }

/* --- Icônes de carte : fond dégradé discret au lieu d'une icône seule --- */
.card .icon{
  display:flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:12px; font-size:1.25rem;
  background: linear-gradient(135deg, rgba(14,143,94,0.12), rgba(184,134,11,0.10));
  color: var(--orange-deep);
}

/* --- Auth card (login/register) : accent supérieur --- */
.auth-card{ position:relative; overflow:hidden; }
.auth-card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:4px;
  background: linear-gradient(90deg, var(--orange), var(--bleu));
}

/* ============================================================
   PASSE 4 — Admin & espace leçon
   ============================================================ */

/* --- KPI cards : accent supérieur en dégradé --- */
.kpi-card{ overflow:hidden; }
.kpi-card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--orange), var(--bleu));
  opacity:0.85;
}

/* --- Boutons admin : dégradé au lieu d'un noir plat --- */
.btn-admin-primary{ background: linear-gradient(135deg, #111114, #26262c); }
.btn-admin-primary:hover{ background: linear-gradient(135deg, #000, #1a1a1f); }

/* --- Pilules de filtre actives : dégradé signature --- */
.filter-pill.active{
  background: linear-gradient(120deg, var(--orange), var(--orange-deep));
  border-color: transparent;
}

/* --- Panels admin : en-tête avec liseré --- */
.admin-panel-header{ position:relative; }
.admin-panel{ position:relative; overflow:hidden; }
.admin-panel::before{
  content:""; position:absolute; top:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg, var(--orange), var(--bleu)); opacity:0.7;
}

/* --- Badges de statut : point animé sur "actif" --- */
.status-badge.active::before, .status-badge.valide::before, .status-badge.publie::before{
  animation: statusPulse 1.8s ease-in-out infinite;
}
@keyframes statusPulse{ 0%,100%{ opacity:1; } 50%{ opacity:.35; } }

/* --- Lignes de tableau admin : accent au survol --- */
.admin-table tr{ position:relative; transition: background .12s ease; }
.admin-table tr:hover td:first-child{ box-shadow: inset 3px 0 0 var(--orange); }

/* --- Recherche admin : icône teintée --- */
.admin-search::before{ filter: saturate(0) opacity(.6); }

/* --- Onglets leçon : soulignement dégradé --- */
.lecon-tab.active{ border-bottom: 2px solid transparent; position:relative; }
.lecon-tab.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px;
  background: linear-gradient(90deg, var(--orange), var(--bleu));
}

/* --- Objectif de leçon : fond légèrement teinté --- */
.lecon-objectif{ background: linear-gradient(135deg, rgba(14,143,94,0.05), #FFFBF5); }

/* --- Sidebar leçon : semaine active mise en valeur --- */
.sidebar-semaine.open .sidebar-semaine-header{
  background: linear-gradient(90deg, rgba(14,143,94,0.08), transparent);
  color: var(--orange-deep);
}

/* --- Anneau de progression circulaire : dégradé --- */
.progress-ring-fill{ stroke: url(#epaRingGradient); }

/* --- Bouton "niveau" utilisateur : lueur au repos --- */
.user-level-badge{ box-shadow: 0 4px 18px rgba(14,143,94,0.35); }

/* --- Empty state : icône dans un cercle dégradé --- */
.empty-state .empty-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:64px; height:64px; border-radius:50%; margin: 0 auto 12px;
  background: linear-gradient(135deg, rgba(14,143,94,0.1), rgba(184,134,11,0.08));
}

/* --- Timeline (progression) : point actif avec halo --- */
.timeline-dot.done{ box-shadow: 0 0 0 4px rgba(5,150,105,0.15); }

/* ============================================================
   PASSE 5 — Icônes sur-mesure & logos partenaires défilants
   ============================================================ */

/* --- Icône SVG sur-mesure (remplace les glyphes génériques dans les listes) --- */
.icon-custom{
  width: 1.1em; height: 1.1em;
  display: inline-block; vertical-align: -0.18em;
  flex: none;
}

/* --- Puce des listes avant/après : pastille circulaire sur-mesure --- */
.compare-list li{ align-items:center; }
.compare-list .icon-custom{
  width:22px; height:22px; padding:4px; border-radius:50%; box-sizing:border-box;
}
.compare-card.before .compare-list .icon-custom{ color:#C23B2E; background: rgba(194,59,46,0.1); }
.compare-card.after .compare-list .icon-custom{ color: var(--orange); background: rgba(255,255,255,0.14); }

/* --- Badges de confiance du hero : icône sur-mesure dans une pastille --- */
.trust-badges .icon-custom{
  width:20px; height:20px; padding:4px; border-radius:50%; box-sizing:border-box;
  background: rgba(14,143,94,0.18); color: var(--orange);
}

/* --- Ticker partenaires : icône de lien + effet logo (grisé, coloré au survol) --- */
.partner-item{
  display:flex; align-items:center; gap:9px;
  filter: grayscale(1); opacity:0.55;
  transition: filter .25s ease, opacity .25s ease, color .2s ease, border-color .2s ease;
}
.partner-item:hover{ filter:none; opacity:1; }
.partner-item .icon-custom{ width:16px; height:16px; color: var(--orange); }

/* --- Second rail du ticker (sens inverse) --- */
.partners-ticker.reverse{ animation-direction: reverse; animation-duration: 26s; margin-top:16px; }

/* ============================================================
   PASSE 6 — Finitions signature (carte blanche)
   Couche globale : mouvement, focus, texture, formulaires, impression
   Additive et non-destructive — s'applique aux 3 zones du site
   ============================================================ */

/* --- Courbe de mouvement unique : cohérence de tout ce qui bouge --- */
:root{
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-snap: cubic-bezier(.16,1,.3,1);
}

/* --- Sélection de texte à la couleur de la marque --- */
::selection{ background: var(--orange); color:#fff; }

/* --- Scrollbar sur-mesure (Webkit + Firefox) --- */
html{ scrollbar-color: var(--gris-clair) var(--paper); scrollbar-width: thin; }
::-webkit-scrollbar{ width:10px; height:10px; }
::-webkit-scrollbar-track{ background: var(--paper); }
::-webkit-scrollbar-thumb{ background: var(--gris-clair); border-radius:10px; border:2px solid var(--paper); }
::-webkit-scrollbar-thumb:hover{ background: var(--gris); }

/* --- Focus clavier cohérent, visible et élégant partout (accessibilité) --- */
:focus-visible{ outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible{ outline-offset: 4px; }
input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(14,143,94,0.15);
}

/* --- Boutons : micro-relief au clic + halo au survol du bouton principal --- */
.btn{ transition: all .25s var(--ease); }
.btn:active{ transform: translateY(0) scale(.98); }
.btn-primary{ box-shadow: 0 1px 2px rgba(10,107,71,0.25); }
.btn-primary:hover{ box-shadow: 0 10px 24px rgba(14,143,94,0.28); }

/* --- Lien texte : soulignement animé signature (à poser sur les liens éditoriaux) --- */
.link-underline{ position:relative; display:inline-block; }
.link-underline::after{
  content:''; position:absolute; left:0; bottom:-2px; width:100%; height:1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.link-underline:hover::after{ transform: scaleX(1); transform-origin: left; }

/* --- Images éditoriales : traitement signature (désaturation légère, couleur au survol) --- */
.img-signature{ filter: saturate(.92) contrast(1.02); transition: filter .5s var(--ease), transform .5s var(--ease); }
.img-signature:hover{ filter: saturate(1.05) contrast(1.03); transform: scale(1.015); }

/* --- Carte blog : miniature (image réelle ou placeholder de marque) --- */
.blog-card{ padding:0; overflow:hidden; display:flex; flex-direction:column; }
.blog-card-thumb{
  position:relative; height:180px; overflow:hidden;
  background: linear-gradient(135deg, var(--ink-soft) 0%, #0f2a1c 100%);
}
.blog-card-img{
  width:100%; height:100%; object-fit:cover;
  filter: saturate(.92) contrast(1.02);
  transition: transform .5s var(--ease), filter .5s var(--ease);
}
.blog-card:hover .blog-card-img{ transform: scale(1.06); filter: saturate(1.05) contrast(1.03); }
.blog-card-placeholder{
  width:100%; height:100%; display:flex; align-items:center; justify-content:center;
  color: rgba(255,255,255,0.35); font-size:1.9rem;
}
.blog-card-body{ padding: 22px 26px 26px; flex:1; display:flex; flex-direction:column; }

/* --- Grain subtil sur les sections sombres et le hero : profondeur premium --- */
.section.dark, .hero{ position: relative; }
.section.dark::before, .hero::before{
  content:''; position:absolute; inset:0; pointer-events:none; z-index:0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* --- Rythme vertical harmonisé entre toutes les sections --- */
.section{ padding: clamp(56px, 8vw, 104px) 0; }

/* --- Skeleton de chargement (à utiliser pendant les fetch admin/membre) --- */
@keyframes skeleton-shimmer{ 0%{ background-position: -200% 0; } 100%{ background-position: 200% 0; } }
.skeleton{
  background: linear-gradient(90deg, var(--gris-clair) 25%, #ECE8DA 37%, var(--gris-clair) 63%);
  background-size: 400% 100%; animation: skeleton-shimmer 1.4s ease infinite; border-radius: var(--radius);
}

/* --- État vide, soigné plutôt que froid (listes admin/membre sans contenu) --- */
.empty-state{ text-align:center; padding: 64px 24px; color: var(--text-muted); }
.empty-state svg{ width:52px; height:52px; margin:0 auto 16px; opacity:.5; }

/* --- Respect du mouvement réduit demandé par l'utilisateur (accessibilité) --- */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   PASSE 7 — Plateforme communauté V2 (espaces, sujets, réactions)
   ============================================================ */

.alert-warning{ background: rgba(184,134,11,0.1); color: var(--bleu-deep); border:1px solid rgba(184,134,11,0.25); }

/* --- Hub communauté : liste des espaces + fil d'activité --- */
.communaute-grid{ display:grid; grid-template-columns: 300px 1fr; gap:24px; align-items:start; }
@media (max-width: 860px){ .communaute-grid{ grid-template-columns: 1fr; } }

.communaute-espaces{ background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; position:sticky; top:88px; }
.espace-item{
  display:flex; align-items:center; gap:12px; padding:12px 10px; border-radius:10px;
  color: var(--ink); transition: background .2s var(--ease);
}
.espace-item:hover{ background: var(--paper-2); }
.espace-icon{
  width:38px; height:38px; border-radius:10px; flex:none;
  display:flex; align-items:center; justify-content:center;
  background: rgba(14,143,94,0.1); color: var(--orange-deep); font-size:0.95rem;
}
.espace-info{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.espace-nom{ font-weight:600; font-size:0.9rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.espace-meta{ font-size:0.76rem; color: var(--text-muted); }

/* --- Fil de sujets --- */
.sujet-card{
  display:block; background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px; margin-bottom:14px; color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.sujet-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.sujet-card-top{ display:flex; align-items:center; justify-content:space-between; }
.sujet-card-meta{ display:flex; gap:18px; font-size:0.8rem; color: var(--text-muted); }
.sujet-card-meta i{ margin-right:4px; }

/* --- Fil de réponses dans un sujet --- */
.reponse-item{ margin-left: 0; }

/* --- Barre de réactions (5 types) --- */
.reaction-bar{ display:flex; gap:8px; flex-wrap:wrap; }
.reaction-btn{
  display:inline-flex; align-items:center; gap:6px; padding:7px 12px;
  border-radius:20px; border:1px solid var(--line); font-size:0.82rem; color: var(--text-muted);
  transition: all .2s var(--ease);
}
.reaction-btn:hover{ border-color: var(--orange); color: var(--orange-deep); }
.reaction-btn.active{ background: rgba(14,143,94,0.1); border-color: var(--orange); color: var(--orange-deep); font-weight:600; }
.reaction-btn-sm{ padding:5px 10px; font-size:0.76rem; }

/* --- Impression sobre : certificats, factures, reçus --- */
@media print{
  .site-header, .site-footer, .btn, .whatsapp-float, .newsletter-popup, .hero-glow, .section.dark::before, .hero::before{ display:none !important; }
  body{ background:#fff; color:#000; }
  a{ text-decoration: underline; }}