/* ========================================
   TÉLÉPHONIE PAGE - VERSION OPTIMISÉE
   CSS Réorganisé et Corrigé
   Structure: Base → Layout → Composants → Responsive
   ======================================== */

/* ========================================
   1. BASE & RESET
   ======================================== */
  
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: 
    linear-gradient(135deg, rgba(3, 7, 18, 0.85) 0%, rgba(13, 59, 102, 0.30) 100%),
    url('https://images.unsplash.com/photo-1560264280-88b68371db39?w=1920&q=80&blur=0') center/cover no-repeat fixed;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   2. ANIMATIONS GLOBALES
   ======================================== */

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { 
    opacity: 0.5; 
  }
  50% { 
    opacity: 1; 
  }
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px); 
  }
  50% { 
    transform: translateY(-10px); 
  }
}

/* ========================================
   2. NAVBAR
   ======================================== */

/* ============================================================
   2. NAVBAR
   ============================================================ */

.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5%;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.3s ease;
  animation: slideDown 0.6s ease-out;
}

/* ── 2a. Animations navbar ── */

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1);   }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0);    }
}

.nav-container.scrolled {
  background-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 20px rgba(0, 114, 188, 0.3);
  backdrop-filter: blur(5px);
}

/* ── 2b. Logo ── */

.logo img {
  width: clamp(200px, 17vw, 400px);
  height: auto;
  transition: width 0.3s ease;
  animation: fadeInScale 0.8s ease-out 0.2s both;
}

/* ── 2c. Liens de navigation ── */

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(15px, 2vw, 35px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li { animation: fadeInUp 0.6s ease-out both; }
.nav-links li:nth-child(1) { animation-delay: 0.3s; }
.nav-links li:nth-child(2) { animation-delay: 0.4s; }
.nav-links li:nth-child(3) { animation-delay: 0.5s; }
.nav-links li:nth-child(4) { animation-delay: 0.6s; }
.nav-links li:nth-child(5) { animation-delay: 0.7s; }
.nav-links li:nth-child(6) { animation-delay: 0.8s; }

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: clamp(13px, 1.1vw, 17px);
  padding-bottom: 5px;
  position: relative;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-links a:hover { color: #0072BC; }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background-color: #0072BC;
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

/* ── 2d. Boutons CTA ── */

.nav-actions {
  display: flex;
  gap: clamp(8px, 1vw, 12px);
  align-items: center;
  animation: fadeInRight 0.8s ease-out 0.7s both;
}

.phone-button,
.eligibilite-button {
  background: #0099ff;
  color: white;
  border: none;
  padding: clamp(10px, 1.2vw, 14px) clamp(18px, 2.5vw, 28px);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 114, 188, 0.3);
}

.phone-button:hover,
.eligibilite-button:hover {
  background: #0072BC;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #0072BC;
}

/* ── 2e. Menu hamburger ── */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-container.open .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-container.open .hamburger span:nth-child(2) { opacity: 0; }
.nav-container.open .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ========================================
   4. SECTIONS COMMUNES
   ======================================== */

/* Section de base avec effets */
.hero-section,
.advantages-section,
.blue-section,
.solutions-section,
.features-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: clamp(60px, 8vh, 100px) clamp(20px, 5%, 40px);
  color: white;
}

/* Effets radiaux pour chaque section */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0, 114, 188, 0.2) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
  pointer-events: none;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards, pulse 4s ease-in-out 1s infinite;
}

.advantages-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0, 114, 188, 0.15) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.blue-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 50%, rgba(0, 114, 188, 0.15) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.solutions-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(0, 114, 188, 0.15) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 114, 188, 0.15) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

/* Ligne lumineuse en bas de chaque section */
.hero-section::after,
.advantages-section::after,
.blue-section::after,
.solutions-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, #0072BC, transparent);
  box-shadow: 0 0 20px rgba(0, 114, 188, 0.8);
  transform: scaleX(0);
  animation: lineExpand 1.2s ease-out 0.5s forwards;
}

/* Conteneurs standards */
.advantages-container,
.solutions-container,
.features-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpFadeIn 0.8s ease-out 0.3s forwards;
}

/* Titres H2 des sections */
.advantages-container h2,
.solutions-container h2,
.features-container h2 {
  font-size: clamp(28px, 4vw, 48px);
  color: white;
  text-align: center;
  margin-bottom: clamp(35px, 5vh, 60px);
  font-weight: 700;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInDown 0.8s ease-out 0.6s forwards;
}

/* Animations */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideUpFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineExpand {
  to {
    transform: scaleX(1);
  }
}

/* Responsive - désactiver les animations sur mobile si nécessaire */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before,
  .advantages-section::before,
  .blue-section::before,
  .solutions-section::before,
  .features-section::before,
  .hero-section::after,
  .advantages-section::after,
  .blue-section::after,
  .solutions-section::after,
  .advantages-container,
  .solutions-container,
  .features-container,
  .advantages-container h2,
  .solutions-container h2,
  .features-container h2 {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ========================================
   5. HERO SECTION
   ======================================== */

.hero-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(30px, 4vw, 60px);
}

.hero-content {
  animation: fadeInLeft 0.8s ease-out;
}

.hero-content h1 {
  font-size: clamp(28px, 4.5vw, 52px);
  color: white;
  margin-bottom: clamp(20px, 3vh, 35px);
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: clamp(15px, 1.8vw, 20px);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: clamp(15px, 2.5vh, 25px);
  line-height: 1.7;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
}

.hero-content strong {
  color: #4db8ff;
  text-shadow: 0 0 10px rgba(77, 184, 255, 0.5);
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease-out;
  padding: clamp(15px, 2vw, 30px);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ========================================
   6. ADVANTAGES SECTION
   ======================================== */

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(25px, 3.5vw, 40px);
}

.advantage-card {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  padding: clamp(25px, 3vw, 35px);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.advantage-card:hover {
  border-color: #0072BC;
  box-shadow: 
    0 0 20px rgba(0, 114, 188, 0.4),
    0 0 40px rgba(0, 114, 188, 0.2),
    0 15px 50px rgba(0, 114, 188, 0.5);
  animation: float 3s ease-in-out infinite;
}

.advantage-icon {
  font-size: clamp(36px, 4vw, 48px);
  margin-bottom: clamp(15px, 2vh, 22px);
  filter: drop-shadow(0 2px 8px rgba(0, 114, 188, 0.3));
}

.advantage-card h3 {
  font-size: clamp(18px, 2vw, 24px);
  color: #ffffff;
  margin-bottom: clamp(12px, 1.5vh, 18px);
  font-weight: 600;
}

.advantage-card p {
  font-size: clamp(14px, 1.5vw, 17px);
  color: #faf9f9;
  line-height: 1.6;
}

/* ========================================
   7. BLUE SECTION
   ======================================== */

.blue-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(30px, 4vw, 60px);
}

.blue-section h2 {
  font-size: clamp(26px, 4vw, 48px);
  margin-bottom: clamp(20px, 3vh, 30px);
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.5);
}

.blue-section p {
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.7;
  margin-bottom: clamp(12px, 2vh, 18px);
  opacity: 0.95;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
}

.blue-section ul {
  list-style: none;
  margin: clamp(20px, 3vh, 30px) 0;
  background: rgba(0, 0, 0, 0.2);
  padding: clamp(20px, 2.5vw, 30px);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blue-section li {
  padding: clamp(10px, 1.5vh, 15px) 0;
  padding-left: clamp(25px, 3vw, 35px);
  position: relative;
  font-size: clamp(14px, 1.6vw, 18px);
}

.blue-section li:before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: clamp(18px, 2vw, 24px);
  color: #4db8ff;
  text-shadow: 0 0 10px rgba(77, 184, 255, 0.8);
}

.blue-image {
  width: 100%;
  height: 100%;
  min-height: 300px;
  max-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(15px, 2vw, 30px);
}

.blue-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.btn-primary {
  background: white;
  color: #0d3b66;
  padding: clamp(12px, 1.5vw, 18px) clamp(25px, 3vw, 40px);
  border: none;
  border-radius: 8px;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  margin-top: clamp(15px, 2.5vh, 25px);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(255, 255, 255, 0.4);
  background: #0072BC;
  color: white;
}

/* ========================================
   8. SOLUTIONS SECTION
   ======================================== */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(25px, 3.5vw, 40px);
}

.solution-card {
  background: rgba(0, 0, 0, 0.753);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  backdrop-filter: blur(15px);
  padding: clamp(25px, 3.5vw, 40px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.solution-card:hover {
  transform: translateY(-10px);
  background: rgba(0, 0, 0, 0.959);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 15px 50px rgba(0, 114, 188, 0.4);
  animation: float 3s ease-in-out infinite;
}

.solution-card h3 {
  font-size: clamp(20px, 2.5vw, 28px);
  margin-bottom: clamp(15px, 2vh, 22px);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.solution-card h3 span {
  font-size: clamp(24px, 2.8vw, 32px);
  filter: drop-shadow(0 2px 8px rgba(77, 184, 255, 0.5));
}

.solution-card p {
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.6;
  margin-bottom: clamp(15px, 2.5vh, 22px);
  opacity: 0.95;
}

.solution-card ul {
  list-style: none;
  padding: 0;
}

.solution-card li {
  padding: clamp(8px, 1.2vh, 12px) 0;
  padding-left: clamp(20px, 2.5vw, 28px);
  position: relative;
  font-size: clamp(13px, 1.4vw, 16px);
  opacity: 0.9;
}

.solution-card li:before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: clamp(20px, 2.5vw, 26px);
  line-height: 1;
  color: #4db8ff;
  text-shadow: 0 0 10px rgba(77, 184, 255, 0.8);
}

/* ========================================
   9. FEATURES SECTION
   ======================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 35px);
}

.feature-card {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 15px;
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  gap: clamp(15px, 2vw, 22px);
  align-items: flex-start;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  border-color: #0072BC;
  transform: translateY(-8px);
  box-shadow: 
    0 0 20px rgba(0, 114, 188, 0.4),
    0 0 40px rgba(0, 114, 188, 0.2),
    0 15px 50px rgba(0, 114, 188, 0.5);
  background: white;
}

.feature-check {
  font-size: clamp(24px, 2.8vw, 32px);
  color: #0072BC;
  flex-shrink: 0;
  font-weight: bold;
  filter: drop-shadow(0 2px 8px rgba(0, 114, 188, 0.3));
}

.feature-content h3 {
  font-size: clamp(16px, 1.8vw, 20px);
  color: #0072BC;
  margin-bottom: clamp(6px, 1vh, 10px);
  font-weight: 600;
}

.feature-content p {
  font-size: clamp(13px, 1.4vw, 16px);
  color: #000000;
  line-height: 1.5;
}

/* ========================================
   10. FOOTER
   ======================================== */

footer {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: white;
  padding: clamp(40px, 6vh, 70px) 5%;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
}

footer h3 {
  color: lightskyblue;
  margin-bottom: 18px;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  text-shadow: 0 2px 8px rgba(135, 206, 250, 0.3);
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 10px;
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s;
}

footer a:hover {
  color: #0072BC;
  text-shadow: 0 0 8px rgba(0, 114, 188, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(25px, 4vw, 40px);
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid a {
  color: #0099ff;
  transition: color 0.3s;
}

.footer-grid div {
  margin: auto;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #0099ff;
  margin-top: clamp(25px, 4vh, 40px);
  padding-top: clamp(18px, 3vh, 28px);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  opacity: 0.8;
}

.footer-bottom p {
  text-align: center;
}

.footer-bottom a {
  color: #0099ff;
}

/* ========================================
   11. RESPONSIVE - MOBILE FIRST
   ======================================== */

/* ---------- Smartphones (0 - 576px) ---------- */
@media (max-width: 576px) {
  body {
    background-attachment: fixed;
  }

  /* Navigation */
  .nav-container {
    padding: 10px 4%;
    height: auto;
  }

  .logo img {
    width: 100px;
  }
  
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 58px;
    left: 0;
    width: 100%;
    height: calc(100vh - 58px);
    background: linear-gradient(to bottom, rgba(3, 7, 18, 0.98), rgba(13, 59, 102, 0.98));
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    gap: 18px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
  }

  .nav-container.open .nav-links {
    display: flex;
  }

  .nav-actions {
    gap: 8px;
  }

  .phone-button,
  .eligibilite-button {
    padding: 4px 6px;
    font-size: 8px;
  }

  /* Sections */
  .hero-section,
  .advantages-section,
  .blue-section,
  .solutions-section,
  .features-section {
    padding: 80px 4% 40px;
    min-height: auto;
  }

  /* Hero & Blue containers */
  .hero-container{
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 25px;
  }
  .blue-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
  }

  .blue-content h2 {
    font-size: clamp(20px, 5vw, 24px);
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .blue-content p {
    font-size: clamp(13px, 3.5vw, 15px);
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .blue-content ul {
    font-size: clamp(12px, 3vw, 14px);
    line-height: 1.6;
    padding-left: 20px;
  }

  .blue-content ul li {
    margin-bottom: 10px;
  }

  /* Image masquée sur mobile */
  .blue-image {
    display: none;
  }

  .btn-primary{
    display: flex;
    justify-content: center;
  }

  .hero-image {
    min-height: 220px;
    max-height: 300px;
    order: -1;
  }

  /* Grids */
  .advantages-grid,
  .solutions-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .footer-grid{
    text-align: center;
  }
}

/* ---------- Tablettes (577px - 992px) ---------- */
@media (min-width: 577px) and (max-width: 992px) {
  body {
    background-attachment: fixed;
  }

  /* Navigation */
  .nav-container {
    padding: 12px 5%;
  }

  .logo img {
    width: 160px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 58px;
    left: 0;
    width: 100%;
    height: calc(100vh - 58px);
    background: linear-gradient(to bottom, rgba(3, 7, 18, 0.98), rgba(13, 59, 102, 0.98));
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    gap: 18px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
  }

  .nav-container.open .nav-links {
    display: flex;
  }

  /* Sections */
  .hero-section,
  .blue-section {
    padding: 100px 5% 50px;
  }

  /* Hero & Blue containers */
  .hero-container{
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 35px;
  }
  .blue-container {
    max-width: 95%;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px;
  }

  .blue-content h2 {
    font-size: clamp(24px, 4vw, 28px);
    line-height: 1.3;
    margin-bottom: 18px;
  }

  .blue-content p {
    font-size: clamp(14px, 2.5vw, 16px);
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .blue-content ul {
    font-size: clamp(13px, 2.2vw, 15px);
    line-height: 1.6;
    padding-left: 25px;
  }

  .blue-content ul li {
    margin-bottom: 12px;
  }

  /* Image masquée sur tablette */
  .blue-image {
    display: none;
  }

  .hero-image {
    min-height: 280px;
    max-height: 380px;
  }

  /* Grids */
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .solutions-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ---------- Petits laptops (993px - 1200px) ---------- */
@media (min-width: 993px) and (max-width: 1200px) {
  body {
    background-attachment: fixed;
  }

  /* Navigation */
  .nav-container {
    padding: 10px 3%;
  }

  .logo img {
    width: 160px;
  }
  
  .nav-links a {
    font-size: 9px;
    padding: 6px 8px;
  }
  
  .phone-button,
  .eligibilite-button {
    font-size: 9px;
    padding: 6px 10px;
  }
  
  .hero-section {
    padding: 60px 30px;
  }
  
  .hamburger {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  /* Hero & Blue containers */
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 25px;
  }

  .hero-content h1 {
    font-size: 22px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 12px;
    line-height: 1.5;
  }

  .hero-image {
    min-height: 240px;
    max-height: 320px;
  }
  .blue-container {
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
  }

  .blue-content h2 {
    font-size: clamp(22px, 3vw, 26px);
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .blue-content p {
    font-size: clamp(12px, 1.8vw, 14px);
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .blue-content ul {
    font-size: clamp(11px, 1.6vw, 13px);
    line-height: 1.6;
    text-align: left;
    margin: 0 auto;
    max-width: 500px;
  }

  .blue-content ul li {
    margin-bottom: 10px;
  }

  /* Image masquée sur petit laptop */
  .blue-image {
    display: none;
  }

  /* Grids */
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .advantage-card {
    padding: 18px;
  }

  .advantage-icon {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .advantage-card h3 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .advantage-card p {
    font-size: 11px;
    line-height: 1.5;
  }
  
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .solution-card {
    padding: 20px;
  }

  .solution-card h3 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .solution-card p,
  .solution-card li {
    font-size: 11px;
    line-height: 1.5;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .feature-card {
    padding: 16px;
  }

  .feature-check {
    font-size: 20px;
  }

  .feature-card h3 {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .feature-card p {
    font-size: 10px;
    line-height: 1.5;
  }

  /* Sections */
  .advantages-container,
  .solutions-container,
  .features-container {
    padding: 50px 30px;
  }

  h2 {
    font-size: 24px;
    margin-bottom: 25px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

/* ---------- Laptop medium (1201px - 1366px) ---------- */
@media (min-width: 1201px) and (max-width: 1366px) {
  body {
    background-attachment: fixed;
  }

  .nav-container {
    padding: 12px 4%;
  }

  .logo img {
    width: 220px;
  }
  .nav-links{
    gap: 10px;
  }

  .nav-links a {
    font-size: 16px;
    padding: 7px 10px;
  }

  .phone-button,
  .eligibilite-button {
    font-size: 12px;
    padding: 7px 12px;
  }

  .hero-section {
    padding: 70px 40px;
  }

  .hero-container{
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    padding: 30px;
    margin-top:60px;
  }

  .blue-container {
    max-width: 85%;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
  }

  .blue-content h2 {
    font-size: clamp(26px, 3.2vw, 30px);
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .blue-content p {
    font-size: clamp(13px, 1.8vw, 15px);
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .blue-content ul {
    font-size: clamp(12px, 1.6vw, 14px);
    line-height: 1.6;
    text-align: left;
    margin: 0 auto;
    max-width: 550px;
  }

  .blue-content ul li {
    margin-bottom: 12px;
  }

  /* Image masquée jusqu'à 1366px */
  .blue-image {
    display: none;
  }

  .hero-content h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 13px;
    line-height: 1.6;
  }

  .hero-image {
    min-height: 260px;
    max-height: 350px;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .advantage-card {
    padding: 20px;
  }

  .advantage-icon {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .advantage-card h3 {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .advantage-card p {
    font-size: 12px;
    line-height: 1.5;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .solution-card {
    padding: 22px;
  }

  .solution-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .solution-card p,
  .solution-card li {
    font-size: 12px;
    line-height: 1.6;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .feature-card {
    padding: 18px;
  }

  .feature-check {
    font-size: 22px;
  }

  .feature-card h3 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .feature-card p {
    font-size: 11px;
    line-height: 1.5;
  }

  .advantages-container,
  .solutions-container,
  .features-container {
    padding: 60px 40px;
  }

  h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

/* ---------- Laptop large (1367px+) - Image visible ---------- */
@media (min-width: 1367px) {
  .blue-container {
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 45px;
  }

  .blue-content h2 {
    font-size: clamp(28px, 3.5vw, 34px);
    line-height: 1.3;
    margin-bottom: 22px;
  }

  .blue-content p {
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 1.6;
    margin-bottom: 22px;
  }

  .blue-content ul {
    font-size: clamp(13px, 1.6vw, 15px);
    line-height: 1.6;
    padding-left: 25px;
  }

  .blue-content ul li {
    margin-bottom: 14px;
  }

  /* Image visible à partir de 1367px */
  .blue-image {
    display: block;
    width: 100%;
    min-height: 300px;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
  }
}
/* ---------- Laptop large (1367px - 1600px) ---------- */
@media (min-width: 1367px) and (max-width: 1600px) {
  body {
    background-attachment: fixed;
  }

  .nav-container {
    padding: 14px 4%;
  }

  .logo img {
    width: 200px;
  }
  .nav-links{
    gap: 18px;
  }

  .nav-links a {
    font-size: 18px;
    padding: 8px 12px;
  }

  .phone-button,
  .eligibilite-button {
    font-size: 16px;
    padding: 8px 14px;
  }

  .hero-section {
    padding: 80px 50px;
  }

  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 35px;
  }
  .blue-container {
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 45px;
  }

  .blue-content h2 {
    font-size: clamp(28px, 3.5vw, 34px);
    line-height: 1.3;
    margin-bottom: 22px;
  }

  .blue-content p {
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 1.6;
    margin-bottom: 22px;
  }

  .blue-content ul {
    font-size: clamp(13px, 1.6vw, 15px);
    line-height: 1.6;
    padding-left: 25px;
  }

  .blue-content ul li {
    margin-bottom: 14px;
  }

  .blue-image {
    width: 100%;
    min-height: 300px;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
    order: 0;
  }

  .hero-content h1 {
    font-size: 30px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-image,
  .blue-image {
    min-height: 280px;
    max-height: 380px;
  }

  .advantages-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .advantage-card {
    padding: 22px;
  }

  .advantage-icon {
    font-size: 34px;
    margin-bottom: 12px;
  }

  .advantage-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .advantage-card p {
    font-size: 12px;
    line-height: 1.6;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .solution-card {
    padding: 24px;
  }

  .solution-card h3 {
    font-size: 17px;
    margin-bottom: 12px;
  }

  .solution-card p,
  .solution-card li {
    font-size: 13px;
    line-height: 1.6;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-check {
    font-size: 24px;
  }

  .feature-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .feature-card p {
    font-size: 12px;
    line-height: 1.6;
  }

  .advantages-container,
  .solutions-container,
  .features-container {
    padding: 70px 50px;
  }

  h2 {
    font-size: 32px;
    margin-bottom: 35px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* ---------- Desktop Full HD (1601px - 1920px) ---------- */
@media (min-width: 1601px) and (max-width: 1920px) {
  body {
    background-attachment: fixed;
  }

  .nav-container {
    padding: 16px 5%;
  }

  .logo img {
    width: 280px;
  }
  .nav-links{
    gap: 20px;
  }

  .nav-links a {
    font-size: 20px;
    padding: 6px 6px;
  }

  .phone-button,
  .eligibilite-button {
    font-size: 18px;
    padding: 9px 16px;
  }

  .hero-section {
    padding: 90px 60px;
  }

  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    padding: 80px
  }

  .hero-content h1 {
    font-size: 34px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-image {
    min-height: 300px;
    max-height: 400px;
  }
  .blue-container {
    max-width: 85%;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    text-align: left;
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
  }

  .blue-content h2 {
    font-size: clamp(32px, 4vw, 38px);
    line-height: 1.3;
    margin-bottom: 25px;
  }

  .blue-content p {
    font-size: clamp(15px, 1.8vw, 17px);
    line-height: 1.6;
    margin-bottom: 25px;
  }

  .blue-content ul {
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 1.6;
    padding-left: 30px;
  }

  .blue-content ul li {
    margin-bottom: 16px;
  }

  .blue-image {
    width: 100%;
    min-height: 320px;
    max-height: 450px;
    object-fit: cover;
    border-radius: 18px;
    order: 0;
  }

  .advantages-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }

  .advantage-card {
    padding: 24px;
  }

  .advantage-icon {
    font-size: 36px;
    margin-bottom: 14px;
  }

  .advantage-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
  }

  .advantage-card p {
    font-size: 13px;
    line-height: 1.6;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .solution-card {
    padding: 26px;
  }

  .solution-card h3 {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .solution-card p,
  .solution-card li {
    font-size: 13px;
    line-height: 1.6;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .feature-card {
    padding: 22px;
  }

  .feature-check {
    font-size: 26px;
  }

  .feature-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .feature-card p {
    font-size: 13px;
    line-height: 1.6;
  }

  .advantages-container,
  .solutions-container,
  .features-container {
    padding: 80px 60px;
  }

  h2 {
    font-size: 36px;
    margin-bottom: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }
}

/* ---------- Ultra-wide (1921px+) ---------- */
@media (min-width: 1921px) {
  body {
    background-attachment: fixed;
  }

  .nav-container {
    margin: 0 auto;
    padding: 16px 8%;
  }

  .logo img {
    width: 420px;
  }
  .nav-links a {
    font-size: 24px
  }
  .phone-button,
  .eligibilite-button {
    padding: 15px 30px;
    font-size: 20px;
  }
  .hero-container {
    max-width: 1800px;
    gap: 80px;
    padding: 70px;
  }

  .hero-image {
    min-height: 400px;
    max-height: 600px;
  }
  .blue-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    text-align: left;
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px;
  }

  .blue-content h2 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 30px;
  }

  .blue-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
  }

  .blue-content ul {
    font-size: 17px;
    line-height: 1.6;
    padding-left: 35px;
  }

  .blue-content ul li {
    margin-bottom: 18px;
  }

  .blue-image {
    width: 100%;
    min-height: 400px;
    max-height: 550px;
    object-fit: cover;
    border-radius: 20px;
    order: 0;
  }

  .advantages-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 45px;
  }

  .solutions-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1800px;
  }
}

/* ---------- Écrans en hauteur réduite ---------- */
@media (max-height: 700px) {
  .hero-section,
  .blue-section {
    min-height: auto;
    padding: 80px 5% 40px;
  }

  .hero-image,
  .blue-image {
    min-height: 200px;
    max-height: 280px;
  }
}

@media (max-height: 600px) {
  .hero-image,
  .blue-image {
    min-height: 180px;
    max-height: 240px;
  }
}

/* ========================================
   12. OPTIMISATIONS PERFORMANCES
   ======================================== */

/* Réduction des animations sur préférence utilisateur */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Amélioration des performances scroll */
@supports (scroll-behavior: smooth) {
  html {
    scroll-behavior: smooth;
  }
}

/* GPU acceleration pour les éléments animés */
.advantage-card,
.solution-card,
.feature-card,
.hero-image,
.blue-image {
  will-change: transform;
}

/* ========================================
   FIN DU CSS OPTIMISÉ
   ======================================== */