/* =========================================================
   EDUTECH ERP — Marketing site
   Design tokens deliberately reuse the app's own palette
   (--clr-blue #0284c7, --clr-green #10b981, --clr-yellow #f59e0b,
   --clr-dark-blue #0f172a) so the website and the software feel
   like one product.
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

:root{
  /* Base */
  --navy:#0F172A;
  --navy-2:#16213A;
  --navy-3:#1E293B;
  --paper:#F8FAFC;
  --white:#FFFFFF;

  /* Brand — pulled straight from the app */
  --blue:#0284C7;
  --blue-deep:#0369A1;
  --sky:#38BDF8;
  --emerald:#10B981;
  --emerald-deep:#059669;
  --amber:#F59E0B;
  --red:#EF4444;
  --violet:#6366F1;

  --text:#1E293B;
  --muted:#64748B;
  --muted-2:#94A3B8;
  --border:#E2E8F0;
  --border-dark:rgba(248,250,252,0.14);

  --shadow-sm:0 2px 8px rgba(15,23,42,0.06);
  --shadow-md:0 12px 32px -12px rgba(15,23,42,0.18);
  --shadow-lg:0 30px 70px -25px rgba(15,23,42,0.35);
  --shadow-glow:0 20px 60px -20px rgba(2,132,199,0.35);

  --radius-sm:8px;
  --radius-md:14px;
  --radius-lg:22px;
  --ease:cubic-bezier(.16,.84,.44,1);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
}
body{
  margin:0;
  background:var(--paper);
  color:var(--text);
  font-family:'Inter',sans-serif;
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4{
  font-family:'Sora',sans-serif;
  font-weight:700;
  margin:0;
  color:var(--navy);
  letter-spacing:-0.02em;
}
p{margin:0;}
a{color:inherit; text-decoration:none;}
button{font-family:inherit; cursor:pointer;}
ul{margin:0; padding:0; list-style:none;}
img{max-width:100%; display:block;}
:focus-visible{outline:2.5px solid var(--blue); outline-offset:3px;}

.container{max-width:1200px; margin:0 auto; padding:0 32px;}
.mono{font-family:'Space Mono',monospace;}

.eyebrow{
  font-family:'Space Mono',monospace;
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:6px 14px 6px 6px;
  border-radius:30px;
  background:rgba(2,132,199,0.08);
  color:var(--blue-deep);
  margin-bottom:20px;
}
.eyebrow .dot{width:8px; height:8px; border-radius:50%; background:var(--amber); flex-shrink:0;}
section.on-dark .eyebrow{background:rgba(56,189,248,0.14); color:var(--sky);}

body.lang-fr .lang-en{display:none !important;}
body.lang-en .lang-fr{display:none !important;}

/* =========================================================
   BUTTONS
========================================================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding:14px 26px; font-size:14.5px; font-weight:700; font-family:'Inter',sans-serif;
  border-radius:10px; border:1.5px solid transparent; transition:all .3s var(--ease); white-space:nowrap;
}
.btn-primary{background:var(--blue); color:var(--white); box-shadow:0 10px 24px -10px rgba(2,132,199,0.55);}
.btn-primary:hover{background:var(--blue-deep); transform:translateY(-2px); box-shadow:0 16px 30px -10px rgba(2,132,199,0.6);}
.btn-amber{background:var(--amber); color:var(--navy); box-shadow:0 10px 24px -10px rgba(245,158,11,0.5);}
.btn-amber:hover{background:#FFB020; transform:translateY(-2px);}
.btn-ghost{background:transparent; color:var(--navy); border-color:var(--border);}
.btn-ghost:hover{border-color:var(--blue); color:var(--blue-deep); background:rgba(2,132,199,0.05);}
.btn-ghost-light{background:transparent; color:var(--white); border-color:var(--border-dark);}
.btn-ghost-light:hover{background:rgba(255,255,255,0.1); border-color:var(--sky);}
.btn-white{background:var(--white); color:var(--navy);}
.btn-white:hover{background:var(--paper); transform:translateY(-2px);}
.btn-sm{padding:10px 18px; font-size:13px; border-radius:8px;}
.btn-block{width:100%;}

/* =========================================================
   HEADER / NAV
========================================================= */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:rgba(248,250,252,0.85);
  backdrop-filter:blur(12px);
  border-bottom:1px solid transparent;
  transition:all .35s var(--ease);
}
.site-header.scrolled{background:rgba(248,250,252,0.97); border-bottom:1px solid var(--border); box-shadow:var(--shadow-sm);}
.header-inner{
  max-width:1200px; margin:0 auto; padding:0 32px;
  height:80px; display:flex; align-items:center; justify-content:space-between;
  transition:height .3s var(--ease);
}
.site-header.scrolled .header-inner{height:66px;}
.brand{display:flex; align-items:center; gap:11px;}
.brand-mark{
  width:38px; height:38px; border-radius:10px; flex-shrink:0;
  /* background:linear-gradient(135deg, var(--blue) 0%, var(--emerald) 100%); */
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-family:'Sora',sans-serif; font-weight:800; font-size:15px;
  box-shadow:0 6px 16px -6px rgba(2,132,199,0.55);
}
.brand-text{display:flex; flex-direction:column; line-height:1.15;}
.brand-text .b1{font-family:'Sora',sans-serif; font-weight:800; font-size:18.5px; color:var(--navy);}
.brand-text .b2{font-family:'Space Mono',monospace; font-size:9.5px; letter-spacing:0.1em; color:var(--muted); text-transform:uppercase;}
.main-nav{display:flex; gap:30px;}
.main-nav a{
  font-size:14.5px; font-weight:600; color:var(--text); position:relative; padding:6px 0;
}
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:0; width:0; height:2px; border-radius:2px;
  background:linear-gradient(90deg,var(--blue),var(--emerald));
  transition:width .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after{width:100%;}
.main-nav a.active{color:var(--blue-deep);}
.header-actions{display:flex; align-items:center; gap:14px;}
.lang-switch{
  display:flex; border:1.5px solid var(--border); border-radius:20px; overflow:hidden; font-family:'Space Mono',monospace; font-size:11.5px; font-weight:700;
}
.lang-switch button{background:none; border:none; padding:6px 13px; color:var(--muted); transition:all .25s var(--ease);}
.lang-switch button.active{background:var(--navy); color:#fff;}
.burger{display:none; flex-direction:column; gap:5px; background:none; border:none; padding:6px;}
.burger span{width:22px; height:2px; background:var(--navy); border-radius:2px; transition:all .3s;}
.mobile-menu{
  position:fixed; top:0; right:-100%; width:84%; max-width:360px; height:100vh; z-index:1100;
  background:var(--navy); color:#fff; padding:100px 34px 40px; transition:right .4s var(--ease);
  display:flex; flex-direction:column; gap:22px; overflow-y:auto;
}
.mobile-menu.open{right:0;}
.mobile-menu a{font-family:'Sora',sans-serif; font-size:21px; font-weight:700;}
.mobile-menu a.active{color:var(--sky);}
.mobile-close{position:absolute; top:26px; right:26px; background:none; border:none; color:#fff; font-size:26px;}
.menu-scrim{position:fixed; inset:0; background:rgba(15,23,42,0.55); z-index:1050; opacity:0; pointer-events:none; transition:opacity .3s;}
.menu-scrim.open{opacity:1; pointer-events:auto;}

/* =========================================================
   PAGE HERO (inner pages)
========================================================= */
.page-hero{
  position:relative; padding:168px 0 90px; background:var(--navy); color:#fff; overflow:hidden;
}
.page-hero::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 620px 460px at 88% 6%, rgba(56,189,248,0.22), transparent 60%),
    radial-gradient(ellipse 560px 460px at 8% 100%, rgba(16,185,129,0.22), transparent 60%);
  pointer-events:none;
}
.page-hero .container{position:relative; z-index:2;}
.page-hero h1{color:#fff; font-size:clamp(32px,4.4vw,52px); line-height:1.1;}
.page-hero p.lead{margin-top:18px; font-size:17px; color:rgba(248,250,252,0.75); max-width:600px;}
.crumbs{display:flex; gap:8px; align-items:center; font-family:'Space Mono',monospace; font-size:12px; color:rgba(248,250,252,0.55); margin-bottom:22px;}
.crumbs a:hover{color:var(--sky);}

/* =========================================================
   SECTION / GENERIC LAYOUT
========================================================= */
.section{padding:100px 0;}
.section-alt{background:var(--white); border-top:1px solid var(--border); border-bottom:1px solid var(--border);}
.section-navy{background:var(--navy); color:#fff;}
.section-head{max-width:660px; margin-bottom:56px;}
.section-head.center{margin-left:auto; margin-right:auto; text-align:center;}
.section-head h2{font-size:clamp(28px,3.4vw,40px); line-height:1.15;}
.section-navy .section-head h2{color:#fff;}
.section-head p{margin-top:16px; color:var(--muted); font-size:16px;}
.section-navy .section-head p{color:rgba(248,250,252,0.72);}

/* reveal on scroll */
.reveal{opacity:0; transform:translateY(24px); transition:opacity .7s var(--ease), transform .7s var(--ease);}
.reveal.in-view{opacity:1; transform:translateY(0);}

/* =========================================================
   CARDS / KPI (dashboard-flavoured signature element)
========================================================= */
.kpi-card{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius-md); padding:22px 24px;
  box-shadow:var(--shadow-sm); position:relative; overflow:hidden;
}
.kpi-card::before{content:""; position:absolute; left:0; top:0; bottom:0; width:4px;}
.kpi-card.k-blue::before{background:var(--blue);}
.kpi-card.k-green::before{background:var(--emerald);}
.kpi-card.k-amber::before{background:var(--amber);}
.kpi-card.k-red::before{background:var(--red);}
.kpi-top{display:flex; justify-content:space-between; align-items:flex-start;}
.kpi-label{font-family:'Space Mono',monospace; font-size:10.5px; letter-spacing:0.06em; text-transform:uppercase; color:var(--muted);}
.kpi-value{font-family:'Sora',sans-serif; font-size:26px; font-weight:800; color:var(--navy); margin-top:8px;}
.kpi-delta{font-family:'Space Mono',monospace; font-size:11.5px; font-weight:700; padding:3px 8px; border-radius:20px;}
.kpi-delta.up{color:var(--emerald-deep); background:rgba(16,185,129,0.12);}
.kpi-delta.warn{color:#B45309; background:rgba(245,158,11,0.14);}

.card{background:#fff; border:1px solid var(--border); border-radius:var(--radius-md); transition:all .3s var(--ease);}
.card:hover{transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:rgba(2,132,199,0.3);}

/* =========================================================
   FOOTER
========================================================= */
footer{background:var(--navy); border-top:1px solid var(--border-dark); padding:70px 0 26px; color:#fff;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:50px;}
.footer-brand p{color:rgba(248,250,252,0.62); font-size:13.5px; margin-top:16px; max-width:280px;}
.footer-col h5{font-family:'Space Mono',monospace; font-size:11.5px; text-transform:uppercase; letter-spacing:0.1em; color:var(--sky); margin-bottom:18px;}
.footer-col a, .footer-col span{display:block; font-size:14px; color:rgba(248,250,252,0.7); padding:6px 0;}
.footer-col a:hover{color:#fff;}
.footer-bottom{margin-top:56px; padding-top:24px; border-top:1px solid var(--border-dark); display:flex; justify-content:space-between; font-size:12.5px; color:rgba(248,250,252,0.5); flex-wrap:wrap; gap:12px;}

/* back to top */
.totop{
  position:fixed; bottom:26px; right:26px; width:48px; height:48px; border-radius:50%; background:var(--navy); color:#fff;
  border:none; display:flex; align-items:center; justify-content:center; font-size:18px; z-index:900;
  opacity:0; pointer-events:none; transition:all .35s var(--ease); box-shadow:var(--shadow-md);
}
.totop.show{opacity:1; pointer-events:auto;}
.totop:hover{background:var(--blue);}

/* =========================================================
   FORMS
========================================================= */
.form-card{background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:44px; box-shadow:var(--shadow-lg);}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px;}
.form-group{display:flex; flex-direction:column; gap:8px;}
.form-group.full{grid-column:1/-1;}
.form-group label{font-family:'Space Mono',monospace; font-size:11px; text-transform:uppercase; letter-spacing:0.06em; color:var(--muted);}
.form-group input, .form-group select, .form-group textarea{
  border:1.5px solid var(--border); background:var(--paper); padding:13px 14px; font-family:'Inter',sans-serif; font-size:14.5px;
  color:var(--text); border-radius:9px; transition:border-color .25s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{outline:none; border-color:var(--blue);}
.form-actions{display:flex; gap:14px; margin-top:8px; flex-wrap:wrap;}
.form-note{font-size:12.5px; color:var(--muted-2); margin-top:16px; line-height:1.6;}

/* =========================================================
   FAQ / ACCORDION
========================================================= */
.faq-item{border-bottom:1px solid var(--border);}
.faq-q{width:100%; background:none; border:none; text-align:left; padding:24px 0; display:flex; justify-content:space-between; align-items:center; gap:20px; font-family:'Sora',sans-serif; font-size:17.5px; font-weight:700; color:var(--navy);}
.faq-q .plus{font-family:'Space Mono',monospace; font-size:20px; color:var(--blue); transition:transform .3s var(--ease); flex-shrink:0;}
.faq-item.open .plus{transform:rotate(45deg);}
.faq-a{max-height:0; overflow:hidden; transition:max-height .4s var(--ease);}
.faq-a-inner{padding-bottom:24px; color:var(--muted); font-size:15px; max-width:700px; line-height:1.7;}

/* =========================================================
   BADGES / TAGS
========================================================= */
.tag{font-family:'Space Mono',monospace; font-size:11px; padding:5px 11px; border-radius:20px; font-weight:700; display:inline-flex; align-items:center; gap:6px;}
.tag-blue{background:rgba(2,132,199,0.1); color:var(--blue-deep);}
.tag-green{background:rgba(16,185,129,0.12); color:var(--emerald-deep);}
.tag-amber{background:rgba(245,158,11,0.14); color:#B45309;}
.tag-violet{background:rgba(99,102,241,0.12); color:#4338CA;}

/* =========================================================
   FLOATING WHATSAPP BUTTON
========================================================= */
.wa-float{
  position:fixed; bottom:26px; right:26px; z-index:950;
  width:58px; height:58px; border-radius:50%; background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center; box-shadow:0 14px 34px -12px rgba(37,211,102,0.6);
  transition:all .3s var(--ease);
}
.wa-float:hover{transform:translateY(-3px) scale(1.05); box-shadow:0 18px 40px -12px rgba(37,211,102,0.7);}
.wa-float svg{width:28px; height:28px;}
.wa-float::before{
  content:""; position:absolute; inset:-6px; border-radius:50%; border:2px solid rgba(37,211,102,0.5);
  animation:waPulse 2.4s ease-out infinite;
}
@keyframes waPulse{0%{transform:scale(0.9); opacity:0.9;} 100%{transform:scale(1.5); opacity:0;}}
.totop{bottom:98px;}
@media (max-width:600px){
  .wa-float{width:52px; height:52px; bottom:20px; right:20px;}
  .totop{bottom:86px; right:20px;}
}

/* =========================================================
   ECOSYSTEM PRODUCT CARDS (a-propos.html)
========================================================= */
.eco-card{background:#fff; border:1px solid var(--border); border-radius:var(--radius-md); padding:28px 26px; transition:all .3s var(--ease); height:100%;}
.eco-card:hover{transform:translateY(-6px); box-shadow:var(--shadow-md);}
.eco-mark{width:46px; height:46px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-family:'Sora',sans-serif; font-weight:800; font-size:14px; color:#fff; margin-bottom:16px;}

/* =========================================================
   VIDEO GALLERY (tutoriels.html)
========================================================= */
.video-card{background:#fff; border:1px solid var(--border); border-radius:var(--radius-md); overflow:hidden; cursor:pointer; transition:all .3s var(--ease); position:relative;}
.video-card:hover{transform:translateY(-6px); box-shadow:var(--shadow-md);}
.video-thumb{
  height:150px; position:relative; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--navy),var(--blue-deep));
}
.video-play{
  width:52px; height:52px; border-radius:50%; background:rgba(255,255,255,0.92); display:flex; align-items:center; justify-content:center;
  transition:all .3s var(--ease);
}
.video-card:hover .video-play{transform:scale(1.1); background:#fff;}
.video-play::after{content:""; border-style:solid; border-width:9px 0 9px 15px; border-color:transparent transparent transparent var(--blue-deep); margin-left:4px;}
.video-soon{position:absolute; top:12px; right:12px; background:rgba(15,23,42,0.7); color:#fff; font-family:'Space Mono',monospace; font-size:9.5px; text-transform:uppercase; letter-spacing:0.06em; padding:4px 9px; border-radius:20px;}
.video-modal{
  position:fixed; inset:0; z-index:2000; background:rgba(15,23,42,0.85); display:none;
  align-items:center; justify-content:center; padding:30px;
}
.video-modal.open{display:flex;}
.video-modal-inner{width:100%; max-width:860px; background:#000; border-radius:14px; overflow:hidden; position:relative; aspect-ratio:16/9;}
.video-modal-inner iframe{width:100%; height:100%; border:none;}
.video-modal-close{position:absolute; top:-44px; right:0; background:none; border:none; color:#fff; font-size:30px; cursor:pointer;}

/* =========================================================
   WIZARD (creer-ecole.html)
========================================================= */
.wizard-steps{display:flex; justify-content:space-between; margin-bottom:50px; position:relative;}
.wizard-steps::before{content:""; position:absolute; top:19px; left:0; right:0; height:2px; background:var(--border); z-index:0;}
.wizard-step-ind{display:flex; flex-direction:column; align-items:center; gap:10px; position:relative; z-index:1; flex:1;}
.wizard-step-ind .circ{
  width:40px; height:40px; border-radius:50%; background:#fff; border:2px solid var(--border); display:flex; align-items:center; justify-content:center;
  font-family:'Space Mono',monospace; font-weight:700; font-size:14px; color:var(--muted); transition:all .3s var(--ease);
}
.wizard-step-ind .lbl{font-size:11.5px; color:var(--muted); text-align:center; max-width:100px; font-weight:600;}
.wizard-step-ind.active .circ{background:var(--blue); border-color:var(--blue); color:#fff; box-shadow:0 0 0 5px rgba(2,132,199,0.15);}
.wizard-step-ind.active .lbl{color:var(--navy);}
.wizard-step-ind.done .circ{background:var(--emerald); border-color:var(--emerald); color:#fff;}
.wizard-panel{display:none; animation:panelIn .4s var(--ease);}
.wizard-panel.active{display:block;}
.plan-pick{border:2px solid var(--border); border-radius:14px; padding:22px; cursor:pointer; transition:all .25s var(--ease); position:relative;}
.plan-pick:hover{border-color:var(--blue);}
.plan-pick.selected{border-color:var(--blue); background:rgba(2,132,199,0.04); box-shadow:0 0 0 4px rgba(2,132,199,0.1);}
.plan-pick input{position:absolute; opacity:0; pointer-events:none;}
.plan-pick .rec{position:absolute; top:-11px; right:16px; background:var(--amber); color:var(--navy); font-family:'Space Mono',monospace; font-size:9.5px; font-weight:700; padding:3px 9px; border-radius:20px; text-transform:uppercase;}
.wizard-nav{display:flex; justify-content:space-between; margin-top:36px; padding-top:26px; border-top:1px solid var(--border);}
.recap-block{background:var(--paper); border:1px solid var(--border); border-radius:12px; padding:20px 22px; margin-bottom:16px;}
.recap-block h5{font-family:'Space Mono',monospace; font-size:11px; text-transform:uppercase; letter-spacing:0.06em; color:var(--blue-deep); margin-bottom:12px;}
.recap-row{display:flex; justify-content:space-between; gap:20px; padding:7px 0; border-bottom:1px dashed var(--border); font-size:13.5px;}
.recap-row:last-child{border-bottom:none;}
.recap-row span:first-child{color:var(--muted);}
.recap-row span:last-child{font-weight:600; color:var(--navy); text-align:right;}
.pw-wrap{position:relative;}
.pw-toggle{position:absolute; right:12px; top:50%; transform:translateY(-50%); background:none; border:none; font-family:'Space Mono',monospace; font-size:11px; color:var(--muted); cursor:pointer;}

/* =========================================================
   RESPONSIVE
========================================================= */
/* =========================================================
   CORRECTIONS SPÉCIFIQUES POUR LA PAGE INDEX (HERO)
   ========================================================= */

/* Hero - correction du débordement du dashboard mock */
@media (max-width: 1200px) {
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child {
    position: relative !important;
    height: auto !important;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
  
  /* Carte du dashboard */
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child > div:first-child {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    padding: 16px !important;
  }
  
  /* Graphique en bas à droite */
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child > div:last-child {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 350px !important;
    margin: 0 auto !important;
    padding: 16px !important;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding-top: 140px !important;
    padding-bottom: 60px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] {
    gap: 30px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child {
    min-height: 280px;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child > div:first-child {
    max-width: 100% !important;
    padding: 14px !important;
    border-radius: 12px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child > div:first-child > div:first-child {
    margin-bottom: 12px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child > div:first-child > div:last-child {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child > div:first-child .kpi-card {
    padding: 10px 12px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child > div:first-child .kpi-value {
    font-size: 16px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child > div:first-child .kpi-label {
    font-size: 8.5px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child > div:last-child {
    max-width: 100% !important;
    padding: 14px !important;
    border-radius: 12px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child > div:last-child > div:last-child {
    height: 50px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child > div:last-child > div:last-child > div {
    height: auto !important;
  }
  
  /* Statistiques 4 colonnes */
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:first-child > div:last-child {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    margin-top: 32px !important;
    padding-top: 16px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:first-child > div:last-child > div {
    border-right: none !important;
    padding: 0 !important;
    text-align: center !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:first-child > div:last-child .mono {
    font-size: 22px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:first-child > div:last-child > div > div:last-child {
    font-size: 10px !important;
  }
  
  /* Boutons hero */
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:first-child > div[style*="display:flex; gap:16px;"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:first-child > div[style*="display:flex; gap:16px;"] .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child > div:first-child > div:last-child {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child > div:first-child .kpi-card {
    padding: 8px 10px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child > div:first-child .kpi-value {
    font-size: 14px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child > div:first-child .kpi-label {
    font-size: 7px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:first-child > div:last-child {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:first-child > div:last-child .mono {
    font-size: 18px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:first-child > div:last-child > div > div:last-child {
    font-size: 8.5px !important;
  }
}

/* =========================================================
   CORRECTIONS SPÉCIFIQUES POUR LA PAGE À PROPOS
   ========================================================= */

/* KPI cards sur la page à propos */
@media (max-width: 992px) {
  section.section .container[style*="grid-template-columns:1fr 1fr; gap:70px; align-items:center;"] > div:last-child {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
}

@media (max-width: 600px) {
  section.section .container[style*="grid-template-columns:1fr 1fr; gap:70px; align-items:center;"] > div:last-child {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  
  section.section .container[style*="grid-template-columns:1fr 1fr; gap:70px; align-items:center;"] > div:last-child .kpi-card {
    padding: 14px 12px !important;
  }
  
  section.section .container[style*="grid-template-columns:1fr 1fr; gap:70px; align-items:center;"] > div:last-child .kpi-value {
    font-size: 18px !important;
  }
  
  section.section .container[style*="grid-template-columns:1fr 1fr; gap:70px; align-items:center;"] > div:last-child .kpi-label {
    font-size: 9px !important;
  }
}

/* Nos valeurs - 3 cartes */
@media (max-width: 992px) {
  .section-alt .container > div[style*="display:grid; grid-template-columns:repeat(3,1fr); gap:22px;"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }
}

@media (max-width: 600px) {
  .section-alt .container > div[style*="display:grid; grid-template-columns:repeat(3,1fr); gap:22px;"] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  
  .section-alt .container > div[style*="display:grid; grid-template-columns:repeat(3,1fr); gap:22px;"] .card {
    padding: 20px 18px !important;
  }
  
  .section-alt .container > div[style*="display:grid; grid-template-columns:repeat(3,1fr); gap:22px;"] .card h4 {
    font-size: 16px !important;
  }
  
  .section-alt .container > div[style*="display:grid; grid-template-columns:repeat(3,1fr); gap:22px;"] .card p {
    font-size: 13px !important;
  }
}

/* =========================================================
   CORRECTIONS SPÉCIFIQUES POUR LA PAGE CONTACT
   ========================================================= */

/* Page contact - grille */
@media (max-width: 992px) {
  section.section .container[style*="display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start;"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

@media (max-width: 600px) {
  section.section .container[style*="display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start;"] {
    gap: 30px !important;
  }
  
  /* Coordonnées contact */
  section.section .container[style*="display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start;"] > div:first-child > div {
    padding: 14px 0 !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
  }
  
  section.section .container[style*="display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start;"] > div:first-child > div > div:first-child {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
  }
  
  section.section .container[style*="display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start;"] > div:first-child > div a {
    font-size: 14px !important;
  }
  
  section.section .container[style*="display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start;"] > div:first-child > div p {
    font-size: 13px !important;
  }
  
  /* Iframe carte */
  section.section .container[style*="display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start;"] > div:first-child > div:last-child iframe {
    height: 200px !important;
  }
}

/* =========================================================
   CORRECTIONS GÉNÉRALES SUPPLÉMENTAIRES
   ========================================================= */

/* Empêcher les débordements sur tous les conteneurs */
.container,
.section > .container,
.page-hero > .container {
  overflow: hidden !important;
  max-width: 100% !important;
}

/* Correction pour les images et iframes */
img, iframe, video, canvas {
  max-width: 100% !important;
  height: auto !important;
}

/* Correction pour les grilles avec gap sur mobile */
@media (max-width: 600px) {
  [style*="display:grid"] {
    gap: 12px !important;
  }
  
  [style*="gap:"] {
    gap: 12px !important;
  }
}

/* Correction pour les cartes KPI */
@media (max-width: 768px) {
  .kpi-card {
    padding: 12px 14px !important;
  }
  .kpi-value {
    font-size: 18px !important;
  }
  .kpi-label {
    font-size: 9px !important;
  }
}

/* Correction pour les tags */
@media (max-width: 600px) {
  .tag {
    font-size: 9px !important;
    padding: 3px 8px !important;
  }
}

/* Correction pour les écrans très petits */
@media (max-width: 380px) {
  .page-hero h1 {
    font-size: 20px !important;
  }
  
  .page-hero p.lead {
    font-size: 12.5px !important;
  }
  
  .btn {
    font-size: 12px !important;
    padding: 10px 14px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:first-child > div:last-child .mono {
    font-size: 16px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child > div:first-child .kpi-value {
    font-size: 12px !important;
  }
  
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child > div:first-child .kpi-label {
    font-size: 6.5px !important;
  }
}

/* Force le bon affichage des éléments en position absolute dans le hero */
.page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child {
  position: relative !important;
}

@media (max-width: 1200px) {
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] > div:last-child > div {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
    right: auto !important;
  }
}
@media (max-width:980px){
  .main-nav{display:none;}
  .header-cta{display:none;}
  .burger{display:flex;}
  .footer-grid{grid-template-columns:1fr 1fr; gap:36px;}
}
@media (max-width:600px){
  .container{padding:0 20px;}
  .header-inner{padding:0 20px;}
  .page-hero{padding:140px 0 70px;}
  .section{padding:70px 0;}
  .form-row{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .wizard-step-ind .lbl{display:none;}
  .wizard-nav{flex-direction:column-reverse; gap:12px;}
  .wizard-nav .btn{width:100%;}
}
@media (max-width:980px){
  .video-modal-inner{max-width:100%;}
}



/* =========================================================
   RESPONSIVE COMPLET — TABLEAU DE BORD ET TOUTES LES PAGES
   ========================================================= */

/* ---------- BREAKPOINTS GÉNÉRAUX ---------- */
@media (max-width: 1200px) {
  .container {
    padding: 0 24px;
  }
  .page-hero .container[style*="grid-template-columns:1.1fr 0.9fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .page-hero {
    padding-top: 160px !important;
    padding-bottom: 80px !important;
  }
  .page-hero .container > div:last-child {
    position: relative !important;
    height: auto !important;
    min-height: 340px;
  }
  .page-hero .container > div:last-child > div {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 16px !important;
  }
  .page-hero .container > div:last-child > div:last-child {
    width: 90% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
  }
  /* Dashboard mock sur accueil */
  .page-hero .container > div:last-child > div:first-child {
    max-width: 500px !important;
    margin: 0 auto !important;
  }
  .page-hero .container > div:last-child > div:last-child {
    width: 80% !important;
    max-width: 340px !important;
  }
}

@media (max-width: 992px) {
  /* ----- ACCUEIL : sections en grille ----- */
  .page-hero .container[style*="display:grid"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .page-hero .container[style*="display:grid"] > div:last-child {
    height: auto !important;
    min-height: 300px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    position: relative !important;
  }
  .page-hero .container[style*="display:grid"] > div:last-child > div {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 480px !important;
  }
  .page-hero .container[style*="display:grid"] > div:last-child > div:last-child {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
    position: relative !important;
  }

  /* Section "Le constat" */
  .section-alt .container[style*="grid-template-columns:0.9fr 1.1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Section "À propos" grilles */
  section.section .container[style*="grid-template-columns:1fr 1fr; gap:70px;"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  section.section .container[style*="grid-template-columns:1fr 1fr; gap:70px; align-items:center;"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  section.section .container[style*="grid-template-columns:1fr 1fr; gap:70px; align-items:center;"] > div:first-child {
    order: 1 !important;
  }
  section.section .container[style*="grid-template-columns:1fr 1fr; gap:70px; align-items:center;"] > div:last-child {
    order: 2 !important;
  }

  /* Contact page */
  section.section .container[style*="grid-template-columns:1fr 1fr; gap:60px;"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Modules overview (10 modules) */
  .section .container > div[style*="grid-template-columns:repeat(5,1fr); gap:16px;"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
  }

  /* Cycles (3 colonnes) */
  .section-navy .container > div[style*="grid-template-columns:repeat(3,1fr); gap:22px;"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Écosystème (6 cartes) */
  .section-alt .container > div[style*="grid-template-columns:repeat(3,1fr); gap:20px;"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Blog cards */
  section.section .container > div[style*="grid-template-columns:repeat(3,1fr); gap:26px;"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Features registry */
  section.section .container > div[style*="grid-template-columns:290px 1fr;"] {
    grid-template-columns: 1fr !important;
    border-radius: var(--radius-md) !important;
  }
  section.section .container > div[style*="grid-template-columns:290px 1fr;"] > div:first-child {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    background: var(--paper) !important;
  }
  section.section .container > div[style*="grid-template-columns:290px 1fr;"] > div:first-child button {
    border-bottom: none !important;
    border-right: 1px solid var(--border) !important;
    padding: 14px 16px !important;
    font-size: 13px !important;
    gap: 10px !important;
  }
  section.section .container > div[style*="grid-template-columns:290px 1fr;"] > div:first-child button .tag {
    width: 30px !important;
    height: 30px !important;
    font-size: 9px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    justify-content: center !important;
  }
  section.section .container > div[style*="grid-template-columns:290px 1fr;"] > div:last-child {
    padding: 30px 24px !important;
    min-height: auto !important;
  }
  .registry-panel ul[style*="grid-template-columns:1fr 1fr;"] {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Tarifs (4 colonnes) */
  .section .container > div[style*="grid-template-columns:repeat(4,1fr); gap:22px;"] {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  /* Tutoriels (3 colonnes) */
  .section .container > div[style*="grid-template-columns:repeat(3,1fr); gap:20px;"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Roles (barres) */
  .section-alt .container[style*="grid-template-columns:0.9fr 1.1fr; gap:60px;"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .section-alt .container[style*="grid-template-columns:0.9fr 1.1fr; gap:60px;"] > div:last-child > div {
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 10px 0 !important;
  }
  .section-alt .container[style*="grid-template-columns:0.9fr 1.1fr; gap:60px;"] > div:last-child .mono {
    width: 140px !important;
    font-size: 11px !important;
  }

  /* Fiabilité (4 colonnes) */
  .section-navy .container > div[style*="grid-template-columns:repeat(4,1fr); gap:20px;"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
  }
}

@media (max-width: 768px) {
  /* ----- HEADER ----- */
  .header-inner {
    height: 68px !important;
    padding: 0 16px !important;
  }
  .site-header.scrolled .header-inner {
    height: 60px !important;
  }
  .brand .brand-mark {
    width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
  }
  .brand-text .b1 {
    font-size: 15px !important;
  }
  .brand-text .b2 {
    font-size: 7.5px !important;
  }
  .header-actions .lang-switch button {
    font-size: 10px !important;
    padding: 4px 10px !important;
  }
  .burger span {
    width: 20px !important;
    height: 2px !important;
  }

  /* ----- HERO ----- */
  .page-hero {
    padding-top: 120px !important;
    padding-bottom: 60px !important;
  }
  .page-hero h1 {
    font-size: clamp(26px, 6vw, 34px) !important;
  }
  .page-hero p.lead {
    font-size: 15px !important;
  }
  .page-hero .container > div[style*="display:grid; grid-template-columns:repeat(4,1fr);"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    padding-top: 16px !important;
  }
  .page-hero .container > div[style*="display:grid; grid-template-columns:repeat(4,1fr);"] > div {
    border-right: none !important;
    padding: 0 !important;
    text-align: center !important;
  }
  .page-hero .container > div[style*="display:grid; grid-template-columns:repeat(4,1fr);"] .mono {
    font-size: 24px !important;
  }
  .page-hero .container > div[style*="display:grid; grid-template-columns:repeat(4,1fr);"] > div:last-child {
    padding-left: 0 !important;
  }

  /* Dashboard mock */
  .page-hero .container > div:last-child > div:first-child {
    padding: 16px !important;
    max-width: 100% !important;
  }
  .page-hero .container > div:last-child > div:first-child .kpi-card {
    padding: 10px 12px !important;
  }
  .page-hero .container > div:last-child > div:first-child .kpi-value {
    font-size: 16px !important;
  }
  .page-hero .container > div:last-child > div:last-child {
    padding: 14px !important;
    max-width: 100% !important;
  }
  .page-hero .container > div:last-child > div:last-child > div:last-child {
    height: 50px !important;
  }

  /* ----- BOUTONS ----- */
  .btn {
    padding: 12px 20px !important;
    font-size: 13px !important;
  }
  .btn-sm {
    padding: 8px 14px !important;
    font-size: 11.5px !important;
  }

  /* ----- SECTIONS ----- */
  .section {
    padding: 60px 0 !important;
  }
  .section-head {
    margin-bottom: 36px !important;
  }
  .section-head h2 {
    font-size: clamp(24px, 5vw, 30px) !important;
  }
  .section-head p {
    font-size: 14px !important;
  }

  /* ----- MODULES OVERVIEW (10 modules) ----- */
  .section .container > div[style*="grid-template-columns:repeat(5,1fr); gap:16px;"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .section .container > div[style*="grid-template-columns:repeat(5,1fr); gap:16px;"] .card {
    padding: 16px 14px !important;
  }
  .section .container > div[style*="grid-template-columns:repeat(5,1fr); gap:16px;"] .card h4 {
    font-size: 14px !important;
    margin-top: 10px !important;
  }
  .section .container > div[style*="grid-template-columns:repeat(5,1fr); gap:16px;"] .card p {
    font-size: 11.5px !important;
  }

  /* ----- FEATURES REGISTRY ----- */
  section.section .container > div[style*="grid-template-columns:290px 1fr;"] > div:first-child {
    grid-template-columns: 1fr 1fr !important;
  }
  section.section .container > div[style*="grid-template-columns:290px 1fr;"] > div:first-child button {
    padding: 10px 12px !important;
    font-size: 11px !important;
    gap: 8px !important;
  }
  section.section .container > div[style*="grid-template-columns:290px 1fr;"] > div:first-child button .tag {
    width: 26px !important;
    height: 26px !important;
    font-size: 8px !important;
  }
  section.section .container > div[style*="grid-template-columns:290px 1fr;"] > div:last-child {
    padding: 24px 18px !important;
  }
  section.section .container > div[style*="grid-template-columns:290px 1fr;"] > div:last-child h3 {
    font-size: 20px !important;
  }
  .registry-panel ul {
    margin-top: 16px !important;
  }
  .registry-panel ul li {
    font-size: 13px !important;
  }

  /* ----- CONTACT ----- */
  .form-card {
    padding: 24px 18px !important;
  }
  .form-actions {
    flex-direction: column !important;
  }
  .form-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* ----- WIZARD ----- */
  .wizard-steps {
    gap: 0 !important;
    margin-bottom: 30px !important;
  }
  .wizard-steps::before {
    top: 16px !important;
  }
  .wizard-step-ind .circ {
    width: 32px !important;
    height: 32px !important;
    font-size: 11px !important;
  }
  .wizard-step-ind .lbl {
    font-size: 9px !important;
  }
  .wizard-nav {
    flex-direction: column-reverse !important;
    gap: 10px !important;
  }
  .wizard-nav .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .plan-pick {
    padding: 16px !important;
  }
  .plan-pick h4 {
    font-size: 15px !important;
  }
  .plan-pick p {
    font-size: 11.5px !important;
  }
  .recap-block {
    padding: 14px 16px !important;
  }
  .recap-row {
    font-size: 12px !important;
    flex-wrap: wrap !important;
  }

  /* ----- FAQ ----- */
  .faq-q {
    font-size: 15px !important;
    padding: 18px 0 !important;
  }
  .faq-a-inner {
    font-size: 13.5px !important;
  }

  /* ----- FOOTER ----- */
  footer {
    padding: 40px 0 20px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .footer-brand p {
    font-size: 13px !important;
    max-width: 100% !important;
  }
  .footer-col a,
  .footer-col span {
    font-size: 13px !important;
    padding: 4px 0 !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    font-size: 11px !important;
    margin-top: 32px !important;
    padding-top: 16px !important;
  }

  /* ----- WHATSAPP & TOTOP ----- */
  .wa-float {
    width: 48px !important;
    height: 48px !important;
    bottom: 16px !important;
    right: 16px !important;
  }
  .wa-float svg {
    width: 24px !important;
    height: 24px !important;
  }
  .totop {
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
    bottom: 78px !important;
    right: 16px !important;
  }

  /* ----- MOBILE MENU ----- */
  .mobile-menu {
    padding: 80px 24px 30px !important;
    gap: 16px !important;
  }
  .mobile-menu a {
    font-size: 18px !important;
  }
  .mobile-close {
    top: 20px !important;
    right: 20px !important;
    font-size: 24px !important;
  }

  /* ----- VIDEO MODAL ----- */
  .video-modal {
    padding: 16px !important;
  }
  .video-modal-close {
    top: -38px !important;
    font-size: 26px !important;
  }
}

@media (max-width: 480px) {
  /* ----- TRÈS PETITS ÉCRANS ----- */
  .container {
    padding: 0 14px !important;
  }
  .header-inner {
    padding: 0 12px !important;
    height: 60px !important;
  }
  .site-header.scrolled .header-inner {
    height: 54px !important;
  }
  .brand .brand-mark {
    width: 28px !important;
    height: 28px !important;
    font-size: 11px !important;
    border-radius: 8px !important;
  }
  .brand-text .b1 {
    font-size: 13px !important;
  }
  .brand-text .b2 {
    font-size: 6.5px !important;
  }
  .lang-switch button {
    font-size: 9px !important;
    padding: 3px 8px !important;
  }
  .burger span {
    width: 18px !important;
    height: 2px !important;
    gap: 4px !important;
  }

  .page-hero {
    padding-top: 100px !important;
    padding-bottom: 48px !important;
  }
  .page-hero h1 {
    font-size: clamp(22px, 5vw, 28px) !important;
  }
  .page-hero p.lead {
    font-size: 14px !important;
  }
  .page-hero .container > div[style*="display:flex; gap:16px;"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .page-hero .container > div[style*="display:flex; gap:16px;"] .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .page-hero .container > div[style*="display:grid; grid-template-columns:repeat(4,1fr);"] {
    grid-template-columns: 1fr 1fr !important;
  }
  .page-hero .container > div[style*="display:grid; grid-template-columns:repeat(4,1fr);"] .mono {
    font-size: 20px !important;
  }
  .page-hero .container > div[style*="display:grid; grid-template-columns:repeat(4,1fr);"] > div {
    font-size: 10px !important;
  }

  .section {
    padding: 44px 0 !important;
  }
  .section-head h2 {
    font-size: clamp(20px, 4.5vw, 26px) !important;
  }
  .section-head p {
    font-size: 13px !important;
  }

  /* Modules 2 colonnes -> 1 colonne sur très petit */
  .section .container > div[style*="grid-template-columns:repeat(5,1fr); gap:16px;"],
  .section .container > div[style*="grid-template-columns:repeat(3,1fr); gap:16px;"] {
    grid-template-columns: 1fr 1fr !important;
  }
  .section .container > div[style*="grid-template-columns:repeat(5,1fr); gap:16px;"] .card {
    padding: 12px 12px !important;
  }
  .section .container > div[style*="grid-template-columns:repeat(5,1fr); gap:16px;"] .card h4 {
    font-size: 12.5px !important;
  }
  .section .container > div[style*="grid-template-columns:repeat(5,1fr); gap:16px;"] .card p {
    font-size: 10.5px !important;
  }

  /* Features registry -> 1 colonne */
  section.section .container > div[style*="grid-template-columns:290px 1fr;"] > div:first-child {
    grid-template-columns: 1fr !important;
  }
  section.section .container > div[style*="grid-template-columns:290px 1fr;"] > div:first-child button {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
  }
  section.section .container > div[style*="grid-template-columns:290px 1fr;"] > div:last-child {
    padding: 20px 14px !important;
  }

  /* Fiabilité 2 colonnes -> 1 colonne */
  .section-navy .container > div[style*="grid-template-columns:repeat(4,1fr); gap:20px;"],
  .section-navy .container > div[style*="grid-template-columns:repeat(3,1fr); gap:22px;"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* Blog / Tutoriels */
  section.section .container > div[style*="grid-template-columns:repeat(3,1fr); gap:26px;"],
  section.section .container > div[style*="grid-template-columns:repeat(3,1fr); gap:20px;"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Tarifs */
  .section .container > div[style*="grid-template-columns:repeat(4,1fr); gap:22px;"] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Contact */
  section.section .container[style*="grid-template-columns:1fr 1fr; gap:60px;"] {
    gap: 30px !important;
  }

  /* Écosystème */
  .section-alt .container > div[style*="grid-template-columns:repeat(3,1fr); gap:20px;"] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Wizard steps */
  .wizard-steps {
    gap: 0 !important;
  }
  .wizard-step-ind .circ {
    width: 28px !important;
    height: 28px !important;
    font-size: 10px !important;
  }
  .wizard-step-ind .lbl {
    font-size: 7.5px !important;
    max-width: 50px !important;
  }

  /* Form card */
  .form-card {
    padding: 18px 14px !important;
  }
  .form-card h3 {
    font-size: 18px !important;
  }

  /* Crumbs */
  .crumbs {
    font-size: 10px !important;
    flex-wrap: wrap !important;
  }

  /* KPI cards sur accueil */
  .page-hero .container > div:last-child > div:first-child .kpi-card .kpi-value {
    font-size: 14px !important;
  }
  .page-hero .container > div:last-child > div:first-child .kpi-card .kpi-label {
    font-size: 8.5px !important;
  }

  /* Newsletter form */
  #newsForm {
    flex-direction: column !important;
    gap: 10px !important;
  }
  #newsForm input {
    width: 100% !important;
  }
  #newsForm .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* WhatsApp float - réglage fin */
  .wa-float {
    width: 44px !important;
    height: 44px !important;
    bottom: 14px !important;
    right: 14px !important;
  }
  .wa-float svg {
    width: 20px !important;
    height: 20px !important;
  }
  .totop {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px !important;
    bottom: 70px !important;
    right: 14px !important;
  }
}

/* ---------- CORRECTIONS SPÉCIFIQUES ---------- */

/* Correction pour les cartes avec .card et .video-card sur mobile */
@media (max-width: 768px) {
  .card:hover {
    transform: translateY(-3px) !important;
  }
  .video-card:hover {
    transform: translateY(-3px) !important;
  }
  .video-card .video-thumb {
    height: 120px !important;
  }
  .video-card .video-play {
    width: 40px !important;
    height: 40px !important;
  }
  .video-play::after {
    border-width: 7px 0 7px 12px !important;
  }
}

/* Correction pour le bandeau CTA final */
@media (max-width: 600px) {
  section.section[style*="background:linear-gradient"] .container > div[style*="display:flex; gap:16px;"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  section.section[style*="background:linear-gradient"] .container > div[style*="display:flex; gap:16px;"] .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Correction pour les cartes "Écosystème" */
@media (max-width: 768px) {
  .eco-card {
    padding: 20px 18px !important;
  }
  .eco-card h4 {
    font-size: 16px !important;
  }
  .eco-card p {
    font-size: 12.5px !important;
  }
}

/* Correction pour les rôles (barres) sur mobile */
@media (max-width: 600px) {
  .section-alt .container[style*="grid-template-columns:0.9fr 1.1fr; gap:60px;"] > div:last-child > div {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    padding: 8px 0 !important;
  }
  .section-alt .container[style*="grid-template-columns:0.9fr 1.1fr; gap:60px;"] > div:last-child .mono {
    width: 100% !important;
    font-size: 10.5px !important;
  }
  .section-alt .container[style*="grid-template-columns:0.9fr 1.1fr; gap:60px;"] > div:last-child > div > div:last-child {
    width: 100% !important;
    height: 5px !important;
  }
}

/* Correction pour les plans de tarification */
@media (max-width: 768px) {
  .plan-pick .rec {
    font-size: 8px !important;
    padding: 2px 7px !important;
    top: -9px !important;
    right: 12px !important;
  }
}

/* Correction pour les écrans intermédiaires (tablette portrait) */
@media (min-width: 769px) and (max-width: 992px) {
  .section .container > div[style*="grid-template-columns:repeat(5,1fr); gap:16px;"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .section .container > div[style*="grid-template-columns:repeat(4,1fr); gap:22px;"] {
    grid-template-columns: 1fr 1fr !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  section.section .container > div[style*="grid-template-columns:290px 1fr;"] > div:first-child {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Correction pour que les colonnes ne débordent pas */
* {
  max-width: 100%;
  word-wrap: break-word;
}

/* Correction overflow sur petits écrans */
@media (max-width: 768px) {
  body {
    overflow-x: hidden !important;
  }
  .container,
  .header-inner,
  .footer-grid,
  .section > .container {
    overflow: hidden !important;
  }
  table,
  iframe,
  .video-modal-inner {
    max-width: 100% !important;
  }
}