/* ==========================================================================
   BaalInov – Unified Stylesheet (Version complète avec menu responsive corrigé)
   Pages couvertes : Stratégie & Planification, Confidentialité, Header/Footer communs
   ========================================================================== */

/* ----------------------------
   Fonts & Root Variables
----------------------------- */
@font-face {
  font-family: 'Odin Rounded';
  src: url('odin_rounded-bold.eot');
  font-weight: bold;
  font-style: normal;
}

:root {
  --primary: #6c757d;
  --dark: #000000;
  --dark-light: #333333;
  --gray: #6c757d;
  --gray-light: #f8f9fa;
  --gray-medium: #e9ecef;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  --focus: #82b1ff;
}

/* ----------------------------
   Base & Layout
----------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Roboto', sans-serif; line-height: 1.7; color: var(--dark); overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ----------------------------
   Header & Navigation
----------------------------- */
.header {
  position: fixed; 
  top: 0; 
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(15,23,42,0.95) !important;
  backdrop-filter: blur(10px);
  z-index: 1000; 
  transition: all .3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 1rem 0; 
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.logo {
  font-family: 'Odin Rounded', sans-serif;
  font-size: 1.8rem; 
  font-weight: bold; 
  color: var(--white) !important;
  text-decoration: none; 
  display: flex; 
  align-items: center; 
  gap: .5rem;
  z-index: 1001;
}

.nav-links { 
  display: flex; 
  list-style: none; 
  gap: 2rem; 
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  list-style: none;
  position: relative;
}

.nav-links a {
  color: var(--white) !important; 
  text-decoration: none; 
  font-weight: 500;
  transition: all .3s ease; 
  position: relative;
  display: inline-block;
}

.nav-links a:hover { 
  color: #cbd5e1 !important; 
}

.nav-links a::after {
  content: ''; 
  position: absolute; 
  bottom: -5px; 
  left: 0; 
  width: 0; 
  height: 2px;
  background: #cbd5e1; 
  transition: width .3s ease;
}

.nav-links a:hover::after { 
  width: 100%; 
}

.mobile-menu { 
  display: none; 
  color: var(--white) !important; 
  font-size: 1.5rem; 
  cursor: pointer; 
  z-index: 1001;
  background: none;
  border: none;
  padding: 0.5rem;
}

/* ----------------------------
   Language Button
----------------------------- */
.lang-btn, .lang-btn:link, .lang-btn:visited {
  background-color: transparent;
  color: white;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px; /* Rectangle avec bords arrondis */
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent;
  min-height: 40px;
  min-width: 44px;
  box-sizing: border-box;
  line-height: 1;
}

.lang-btn:hover, .lang-btn:active {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  text-decoration: none !important;
}

.lang-btn:active {
  transform: translateY(1px);
}

.lang-btn:focus {
  outline: 3px solid rgba(245,158,11,0.9);
  outline-offset: 3px;
  text-decoration: none !important;
}

.lang-btn i {
  font-size: 14px;
}

.lang-label {
  display: inline-block;
}

/* ----------------------------
   Dropdowns (basic)
----------------------------- */
.dropdown { position: relative; }
.dropdown-toggle { 
  display: flex; align-items: center; gap: .5rem; cursor: pointer;
  background: none; border: none; color: inherit; font: inherit;
}
.dropdown-menu {
  position: absolute; top: 100%; left: 0;
  background: rgba(0,0,0,.95);
  backdrop-filter: blur(10px);
  border-radius: 8px; padding: 1rem 0; min-width: 300px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: all .3s ease; z-index: 1000;
  border: 1px solid rgba(108,117,125,.2);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item {
  display: block; padding: .75rem 1.5rem; color: var(--white); text-decoration: none;
  transition: all .3s ease; border-bottom: 1px solid rgba(108,117,125,.1);
}
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover {
  background: rgba(108,117,125,.2); color: var(--white); text-decoration: none; padding-left: 2rem;
}

/* ----------------------------
   Mega Menu
----------------------------- */
.dropdown.mega { 
  position: static; 
}

.mega-menu {
  position: absolute; 
  left: 0; 
  right: 0; 
  top: 100%;
  background: rgba(15, 23, 42, 0.98) !important;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 2rem 0; 
  opacity: 0; 
  visibility: hidden; 
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.mega:hover .mega-menu,
.mega.open .mega-menu { 
  opacity: 1; 
  visibility: visible; 
  transform: translateY(0); 
}

.mega-grid {
  display: grid; 
  gap: 2rem; 
  align-items: start;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  width: min(1200px, 92vw); 
  margin: 0 auto; 
  padding: 0 20px;
}

.mega-col h4 {
  color: var(--white) !important; 
  font-family: 'Odin Rounded', sans-serif; 
  font-size: 1.05rem; 
  margin: 0 0 .75rem;
  font-weight: 600;
}

.mega-col .dropdown-item { 
  border: 0; 
  padding: .45rem 0; 
  color: #cbd5e1 !important;
  background: transparent !important;
  display: block;
}

.mega-col .dropdown-item:hover { 
  color: #fff !important; 
  background: transparent !important; 
  padding-left: 0; 
  text-decoration: underline; 
}

.mega-highlight {
  background: rgba(255,255,255,0.05); 
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px; 
  padding: 1rem 1.25rem;
}

.mega-note { 
  color: #cbd5e1 !important; 
  font-size: .95rem; 
  line-height: 1.5; 
  margin: .25rem 0 1rem; 
}

.btn-ghost {
  display: inline-flex; 
  align-items: center; 
  gap: .5rem; 
  padding: .6rem 1rem;
  border: 1px solid rgba(255,255,255,0.3); 
  border-radius: 50px; 
  color: #fff !important; 
  text-decoration: none;
  transition: all .3s ease;
}

.btn-ghost:hover { 
  background: rgba(255,255,255,0.1); 
  border-color: rgba(255,255,255,0.5);
  text-decoration: none; 
}

/* ----------------------------
   Hero
----------------------------- */
.hero {
  height: 60vh;
  background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(51,51,51,0.8)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%236c757d" stop-opacity="0.1"/><stop offset="100%" stop-color="%236c757d" stop-opacity="0"/></radialGradient></defs><rect width="1000" height="1000" fill="%23000"/><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="300" cy="700" r="80" fill="url(%23a)"/><circle cx="700" cy="800" r="120" fill="url(%23a)"/></svg>');
  background-size: cover; background-attachment: fixed;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--white); position: relative;
  margin-top: 80px;
}
.hero-content { max-width: 900px; animation: fadeInUp 1s ease-out; position: relative; z-index: 2; }
.hero h1 {
  font-family: 'Odin Rounded', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: bold; margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, #6c757d);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: 1.3rem; margin-bottom: 2rem; color: #cbd5e1; font-weight: 300; }
.hero-tagline { font-size: 1.3rem; margin-bottom: 3rem; color: #94a3b8; max-width: 700px; margin-inline: auto; font-weight: 300; line-height: 1.6; }

/* Variante hero Confidentialité (plus haute) */
.confidentialite .hero { height: 70vh; }
.confidentialite .hero h1 { font-size: clamp(3rem, 8vw, 5.5rem); }

/* ----------------------------
   Buttons
----------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: 1rem 2rem;
  border: none; border-radius: 50px; font-size: 1rem; font-weight: 600;
  text-decoration: none; transition: all .3s ease; cursor: pointer; position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--gradient); color: var(--white);
  box-shadow: 0 10px 30px rgba(108, 117, 125, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(108, 117, 125, 0.4); color: var(--white); text-decoration: none; }
.btn-outline { background: transparent; color: var(--gray); border: 2px solid var(--gray); }
.btn-outline:hover { background: var(--gray); color: var(--white); transform: translateY(-2px); text-decoration: none; }
.btn-light { background: var(--white); color: var(--dark); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(0,0,0,.3); color: var(--dark); text-decoration: none; }

/* ----------------------------
   Content Sections
----------------------------- */
.main-content { padding: 6rem 0; background: var(--white); }
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title h2 {
  font-family: 'Odin Rounded', sans-serif; font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold; color: var(--dark); margin-bottom: 1rem;
}
.section-subtitle { font-size: 1.2rem; color: var(--gray); max-width: 800px; margin: 0 auto; line-height: 1.7; }

/* Trust Indicators (confidentialité) */
.trust-indicators { padding: 4rem 0; background: var(--dark); color: var(--white); }
.indicators-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem; margin-top: 2rem;
}
.indicator-card {
  background: rgba(255,255,255,.05); backdrop-filter: blur(10px);
  border-radius: 20px; padding: 2.5rem; text-align: center;
  border: 1px solid rgba(108,117,125,.2); transition: all .3s ease; position: relative; overflow: hidden;
}
.indicator-card::before{
  content:''; position:absolute; top:0; left:-100%; width:100%; height:100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  transition: left .5s ease;
}
.indicator-card:hover::before{ left:100%; }
.indicator-card:hover{ transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,.3); border-color: var(--gray); }
.indicator-icon{
  width:80px; height:80px; background: var(--gradient); border-radius:50%;
  display:flex; align-items:center; justify-content:center; margin:0 auto 1.5rem; font-size:2.2rem; position:relative; z-index:2;
}
.indicator-card h3{ font-family:'Odin Rounded',sans-serif; font-size:1.5rem; margin-bottom:1rem; color:var(--white); }
.indicator-card p{ color:#cbd5e1; line-height:1.6; position:relative; z-index:2; }

/* Feature / Security cards */
.security-features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem; margin: 4rem 0;
}
.feature-card { background: var(--gray-light); border-radius: 20px; padding: 3rem; border: 2px solid var(--gray-medium);
  transition: all .3s ease; position: relative; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,.1); border-color: var(--gray); }
.feature-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.feature-icon {
  width: 60px; height: 60px; background: var(--gradient); border-radius: 15px;
  display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.5rem; flex-shrink: 0;
}
.feature-card h3 { font-family: 'Odin Rounded', sans-serif; font-size: 1.4rem; color: var(--dark); margin: 0; }
.feature-card p { color: var(--gray); margin-bottom: 1rem; line-height: 1.7; }
.feature-list { list-style: none; padding: 0; }
.feature-list li { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; color: var(--gray); }
.feature-list li::before { content: '✓'; color: #28a745; font-weight: bold; font-size: 1.1rem; }

/* Principles (Stratégie) */
.principles { padding: 6rem 0; background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%); color: var(--white); }
.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; }
.principle-item { text-align: center; padding: 2rem; height: 320px; perspective: 1000px; }
.principle-card { position: relative; width: 100%; height: 100%; text-align: center; transition: transform .6s; transform-style: preserve-3d; cursor: pointer; }
.principle-item:hover .principle-card { transform: rotateY(180deg); }
.principle-front, .principle-back {
  position: absolute; width: 100%; height: 100%; backface-visibility: hidden;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  border-radius: 15px; padding: 2rem; border: 1px solid rgba(255,255,255,.1);
}
.principle-front { background: rgba(255,255,255,.05); backdrop-filter: blur(10px); }
.principle-back { background: var(--gradient); color: var(--white); transform: rotateY(180deg); }
.principle-icon {
  width: 60px; height: 60px; background: var(--gradient); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 1.5rem; color: var(--white);
}
.principle-card h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--white); }
.principle-card p { color: #cbd5e1; line-height: 1.6; }

/* Services (Stratégie) */
.services { padding: 6rem 0; background: var(--gray-light); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; }
.service-card {
  background: var(--white); padding: 2.5rem; border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,.08); transition: all .3s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--gradient); transform: scaleX(0); transition: transform .3s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,.12); }
.service-card h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 1.5rem; color: var(--dark); display: flex; align-items: center; gap: 1rem; }
.service-card .icon { font-size: 1.2rem; color: var(--gray); }
.service-list { list-style: none; padding: 0; }
.service-list li { margin-bottom: .8rem; display: flex; align-items: flex-start; gap: .8rem; color: var(--gray); }
.service-list li i { color: var(--gray); margin-top: .2rem; flex-shrink: 0; }

/* Commitments (Stratégie) */
.commitments { padding: 6rem 0; background: var(--dark); color: var(--white); }
.commitment-item {
  display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2rem; padding: 1.5rem;
  background: rgba(255,255,255,.05); border-radius: 10px; transition: all .3s ease;
}
.commitment-item:hover { background: rgba(255,255,255,.08); transform: translateX(10px); }
.commitment-icon {
  width: 50px; height: 50px; background: var(--gradient); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--white); flex-shrink: 0;
}
.commitment-content h4 { margin-bottom: .5rem; color: var(--white); }
.commitment-content p { color: #cbd5e1; line-height: 1.6; }

/* Contact */
.contact { padding: 6rem 0; background: var(--white); text-align: center; }
.contact-info { margin: 2rem 0 3rem; font-size: 1.1rem; line-height: 1.8; color: var(--gray); }

/* CTA (Confidentialité) */
.cta-section { padding: 5rem 0; background: var(--gradient); text-align: center; color: var(--white); }
.cta-content h2 { font-family:'Odin Rounded',sans-serif; font-size: 2.5rem; margin-bottom: 1rem; }
.cta-content p { font-size: 1.2rem; margin-bottom: 2rem; color: rgba(255,255,255,.9); max-width: 600px; margin-inline: auto; }

/* Footer */
.footer { background: var(--dark-light); color: var(--white); padding: 3rem 0 1rem; }
.footer-content {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem; margin-bottom: 2rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: #94a3b8; text-decoration: none; transition: color .3s ease; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); color: #64748b; }

/* ----------------------------
   FAQ Accordion (Confidentialité)
----------------------------- */
.faq{ margin-top: 3rem; }
.accordion{ border-radius:16px; overflow:hidden; border:2px solid var(--gray-medium); background:#fff; }
.accordion-item + .accordion-item{ border-top:1px solid var(--gray-medium); }
.accordion-button{
  width:100%; text-align:left; background:#fff; border:0; padding:1.1rem 1rem;
  font-size:1.05rem; font-weight:600; cursor:pointer; display:flex; align-items:center; justify-content:space-between;
}
.accordion-button:focus{ outline:3px solid var(--focus); outline-offset:2px; }
.accordion-icon{ transition:transform .25s ease; margin-left:1rem; }
.accordion-panel{
  max-height:0; overflow:hidden; transition:max-height .3s ease, opacity .25s ease; opacity:0; background:var(--gray-light);
}
.accordion-panel-inner{ padding:0 1rem 1rem 1rem; color:#4b5563; }
.accordion-item[aria-expanded="true"] .accordion-panel{ opacity:1; padding-top:.25rem; }
.accordion-item[aria-expanded="true"] .accordion-icon{ transform:rotate(180deg); }
/* open-state max-height large enough */
.accordion-item[aria-expanded="true"] .accordion-panel{ max-height:350px; }

/* ----------------------------
   Animations
----------------------------- */
@keyframes fadeInUp { from {opacity:0; transform: translateY(50px);} to {opacity:1; transform: translateY(0);} }
.fade-in { opacity: 0; transform: translateY(30px); transition: all .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
@keyframes shimmer { 0%{ transform: translateX(-100%);} 100%{ transform: translateX(100%);} }

/* ----------------------------
   Responsive - CORRECTION COMPLETE
----------------------------- */
@media (max-width: 992px){
  .dropdown.mega { 
    position: relative; 
  }
  .dropdown.mega.open > .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 2000px !important;
    padding: 1rem !important;
    z-index: 1300 !important;
  }
  .dropdown.mega.open .mega-col,
  .dropdown.mega.open .dropdown-item {
    visibility: visible !important;
    color: #cbd5e1 !important; /* couleur claire lisible sur fond sombre */
  }
  .mega-menu {
    position: static; 
    left: auto; 
    right: auto; 
    top: auto;
    opacity: 0; 
    visibility: hidden; 
    transform: none;
    background: rgba(15, 23, 42, 0.95) !important;
    border: 1px solid rgba(255,255,255,0.1);
    margin: .5rem 1rem; 
    padding: 0; 
    border-radius: 12px; 
    max-height: 0; 
    overflow: hidden;
    transition: max-height .3s ease, opacity .3s ease, visibility .3s ease, padding .3s ease;
  }
  
  .mega.open .mega-menu { 
    opacity: 1; 
    visibility: visible; 
    max-height: 1000px; 
    padding: 1rem;
  }
  
  .mega-grid { 
    grid-template-columns: 1fr; 
    gap: 1rem; 
    width: 100%; 
    padding: 0; 
  }
  
  /* Suppression du hover sur tablette */
  .dropdown:hover .dropdown-menu { 
    opacity: 0; 
    visibility: hidden; 
  }
  
  .mega:hover .mega-menu { 
    opacity: 0; 
    visibility: hidden; 
  }
  
  .dropdown.open .dropdown-menu { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
    max-height: 500px; 
  }
}

@media (max-width: 768px){
  .nav-links {
    display: none; 
    position: fixed;
    top: 70px;
    left: 0; 
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(15, 23, 42, 0.98) !important;
    flex-direction: column; 
    padding: 0;
    max-height: 0; 
    overflow-y: auto;
    overflow-x: hidden;
    transition: max-height .3s ease;
    gap: 0;
  }
  
  .nav-links.show { 
    display: flex; 
    max-height: calc(100vh - 70px);
    padding: 1rem 0;
  }
  
  /* Dropdowns sur mobile */
  .dropdown { 
    width: 100%; 
  }
  
  .dropdown-toggle { 
    width: 100%; 
    padding: .75rem 1.5rem;
    justify-content: space-between;
    color: var(--white) !important;
  }
  
  .dropdown-menu {
    position: static; 
    opacity: 0; 
    visibility: hidden; 
    transform: none;
    background: rgba(255,255,255,0.05) !important;
    margin: .5rem 1rem; 
    border-radius: 8px;
    max-height: 0; 
    overflow: hidden; 
    padding: 0;
    transition: max-height .3s ease, opacity .3s ease, visibility .3s ease, padding .3s ease;
    border: 1px solid rgba(255,255,255,0.1);
  }
  
  .dropdown.open .dropdown-menu { 
    opacity: 1; 
    visibility: visible; 
    max-height: 500px; 
    padding: 1rem 0;
  }
  
  /* MEGA MENU sur mobile - CORRECTION IMPORTANTE */
  .mega-menu {
    position: static !important;
    left: auto;
    right: auto;
    top: auto;
    opacity: 0; 
    visibility: hidden; 
    transform: none;
    background: rgba(255,255,255,0.05) !important;
    margin: .5rem 1rem; 
    border-radius: 8px;
    max-height: 0 !important;
    overflow: hidden; 
    padding: 0 !important;
    transition: max-height .3s ease, opacity .3s ease, visibility .3s ease, padding .3s ease !important;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: none;
  }
  
  .mega.open .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 2000px !important;
    padding: 1.5rem 1rem !important;
  }
  
  /* Grid du mega-menu sur mobile */
  .mega-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
    padding: 0 !important;
  }
  
  /* Colonnes du mega-menu */
  .mega-col {
    width: 100%;
  }
  
  .mega-col h4 {
    color: var(--white) !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.75rem !important;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .mega-col .dropdown-item {
    padding: 0.6rem 0 !important;
    color: #cbd5e1 !important;
    display: block;
    font-size: 0.95rem;
  }
  
  .mega-col .dropdown-item:hover {
    color: #fff !important;
    padding-left: 0.5rem !important;
  }
  
  /* Mega-highlight sur mobile */
  .mega-highlight {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    padding: 1rem !important;
    border-radius: 8px;
  }
  
  .mega-note {
    color: #cbd5e1 !important;
    font-size: 0.9rem !important;
    margin: 0.5rem 0 1rem !important;
  }
  
  .btn-ghost {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
  
  .mobile-menu { 
    display: block; 
  }
  
  .hero { 
    height: 60vh; 
    margin-top: 70px;
  }
  
  .indicators-grid, 
  .security-features, 
  .services-grid, 
  .principles-grid { 
    grid-template-columns: 1fr; 
    gap: 1.5rem; 
  }
  
  .feature-card, 
  .indicator-card { 
    padding: 2rem; 
  }
  
  /* Amélioration de l'affichage des liens sur mobile */
  .nav-links > li { 
    width: 100%; 
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  
  .nav-links > li:last-child {
    border-bottom: none;
  }
  
  .nav-links > li > a:not(.dropdown-toggle) { 
    display: block; 
    padding: .75rem 1.5rem; 
    width: 100%;
    color: var(--white) !important;
  }
  
  .dropdown-item {
    padding: .5rem 1.5rem;
    color: #cbd5e1 !important;
  }
  
  /* Icône chevron rotation */
  .dropdown-toggle i {
    transition: transform .3s ease;
  }
  
  .dropdown.open .dropdown-toggle i,
  .mega.open .dropdown-toggle i {
    transform: rotate(180deg);
  }
  
  /* Language button sur mobile */
  .lang-btn {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    padding: 6px 12px;
    font-size: 13px;
    z-index: 1200;
  }
  
  .solution-grid, 
  .benefits-grid, 
  .pricing-grid, 
  .digital-stats {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }

  .digital-animation, 
  .cyber-shield, 
  .compliance-animation {
    display: none;
  }
}

/* Très petits écrans */
@media (max-width: 480px) {
  .lang-label {
    display: none;
  }
  
  .lang-btn {
    padding: 8px 12px; /* Gardez rectangulaire */
    min-width: 44px;
    justify-content: center;
    border-radius: 5px; /* PAS de border-radius: 50% */
    right: 55px;
  }
  
  .lang-btn i {
    font-size: 16px;
  }
  
  .logo {
    font-size: 1.4rem;
  }
  
  .logo img {
    height: 30px;
  }
}