* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter",
    sans-serif;
  background: #0a1628;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: #00D9FF;
    letter-spacing: 2px;
    text-decoration: none;
} 

.logo-header {
    display: flex;
    align-items: center;
}

.logo-header img {
    height: 1.8rem !important;
    width: auto !important;
    max-height: none !important;
}


.logo::after {
    content: none !important;  /* Supprime complètement le ::after */
}

nav {
    display: flex;
    gap: 48px;  /* Au lieu de 40px */
    align-items: center;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
  position: relative;
}

nav a:hover {
  color: #00d9ff;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00d9ff;
  transition: width 0.5s;
}

nav a:hover::after {
  width: 100%;
}

.btn-primary {
  background: #00d9ff;
  color: #0a1628;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary:hover {
  background: #00b8d9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 217, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #00d9ff;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid #00d9ff;
  cursor: pointer;
  font-size: 16px;
}

.btn-secondary:hover {
  background: rgba(0, 217, 255, 0.1);
}

/* On cache le bouton mobile sur l'ordinateur */
.btn-mobile {
  display: none;
}

/* On aligne le bouton PC et le hamburger côte à côte */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* HERO SECTION */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  text-align: center;
}

.hero h1 {
  font-size: 64px;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero h1 .highlight {
  color: #00d9ff;
}

.hero p {
  font-size: 19px;
  color: #a0aec0;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.video-container {
  max-width: 1800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1a2332;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #a0aec0;
}

/* SECTION COMMUNE */
section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 40px;
}

.section-title {
  text-align: center;
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 60px;
}

/* EXPERTISE SECTION */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.expertise-card {
  background: #1a2332;
  padding: 40px 32px;
  border-radius: 12px;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.expertise-card:hover {
  border-color: #00d9ff;
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 217, 255, 0.2);
}

.expertise-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: #00d9ff;
}

.expertise-card h3 {
  font-size: 21px;
  margin-bottom: 16px;
  color: #ffffff;
}

.expertise-card p {
  color: #a0aec0;
  font-size: 16px;
  line-height: 1.6;
}

/* LIENS INTERNES DANS LE TEXTE (Version Caméléon) */
.inline-link {
    color: #a0aec0; /* EXACTEMENT la même couleur que le texte de ton paragraphe */
    font-weight: 00; /* EXACTEMENT la même épaisseur que ton texte */
    text-decoration: underline;
    text-decoration-color: rgba(0, 217, 255, 0.25); /* Une ligne cyan TRÈS transparente (25% d'opacité) */
    text-underline-offset: 4px; 
    text-decoration-thickness: 1px;
    transition: all 0.3s ease;
}

.inline-link:hover {
    color: #00d9ff; /* Le texte s'illumine en cyan au survol */
    text-decoration-color: #00d9ff; /* La ligne devient 100% visible */
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.2); /* Petit effet de lueur subtil */
}

/* STATS SECTION */
.stats {
  background: transparent;
  border: 2px solid rgba(0, 217, 255, 0.2);
  border-radius: 16px;
  padding: 60px 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 40px;
  font-weight: 900;
  color: #00d9ff;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 18px;
  color: #ffffff;
}

/* TESTIMONIALS SECTION */

.trust-header {
      text-align: center;
      margin-bottom: 0;
  }

  .section-title {
      font-size: 55px;
      font-weight: 900;
      margin-bottom: 20px;
  }

  .section-subtitle {
      font-size: 18px;
      color: #A0AEC0;
      max-width: 750px;
      margin: 0 auto 32px;
      line-height: 1.6;
  }

  .trust-badge {
      display: inline-block;
      background: linear-gradient(135deg, rgba(0, 217, 255, 0.15), rgba(0, 217, 255, 0.05));
      color: #00D9FF;
      padding: 16px 36px;
      border-radius: 30px;
      border: 2px solid rgba(0, 217, 255, 0.3);
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 40px;
      box-shadow: 0 4px 20px rgba(0, 217, 255, 0.2);
      animation: pulse-badge 3s ease-in-out infinite;
      text-decoration: none;  /* Enlève le soulignement */
      cursor: pointer;
      transition: all 0.3s;
  }

  .trust-badge:hover {
      transform: translateY(-2px) scale(1.05);
      box-shadow: 0 8px 30px rgba(0, 217, 255, 0.4);
      border-color: #00D9FF;
  }

  @keyframes pulse-badge {
      0%, 100% { 
          box-shadow: 0 4px 20px rgba(0, 217, 255, 0.2);
      }
      50% { 
          box-shadow: 0 4px 30px rgba(0, 217, 255, 0.4);
      }
  }


.logo-carousel-wrapper {
  overflow: hidden;
  margin-bottom: 60px;
  padding: 40px 0;
  position: relative;
}

.logo-carousel-wrapper::before,
.logo-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #0a1628, transparent);
}

.logo-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #0a1628, transparent);
}

.logo-carousel {
  position: relative;
  width: 100%;
}

.logo-track {
    display: flex;
    gap: 60px;  /* Plus d'espace entre les logos */
    animation: scroll-left 100s linear infinite;  /* Un peu plus lent */
    width: fit-content;
    align-items: center;  /* Centre verticalement */
}

.logo-item {
    font-size: 24px;
    font-weight: 700;
    color: #A0AEC0;
    white-space: nowrap;
    letter-spacing: 2px;
    transition: color 0.3s;
    flex-shrink: 0;
    text-decoration: none;  /* Ajouter */
    cursor: pointer;         /* Ajouter */
}

.logo-item img {
    height: 90px;  /* Un peu plus grand */
    width: 90px;   /* Carré pour garder les proportions */
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s;
    border: 3px solid rgba(0, 217, 255, 0.3);  /* Bordure bleu clair */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);  /* Ombre pour du relief */
}

.logo-item:hover img {
    transform: scale(1.15) translateY(-5px);  /* Effet lift au hover */
    border-color: #00D9FF;  /* Bordure plus vive au hover */
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.4);  /* Glow bleu au hover */
}

.logo-item:hover img {
    filter: grayscale(0%) brightness(1);  /* Couleur au hover */
}

.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

.logo-item:hover {
  color: #00d9ff;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: #1a2332;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(0, 217, 255, 0.1);
  transition: all 0.3s;
}

.testimonial-card:hover {
  border-color: #00d9ff;
  transform: translateY(-4px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d9ff, #0a1628);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.testimonial-info h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.testimonial-info p {
  font-size: 14px;
  color: #a0aec0;
}

.testimonial-text {
  font-style: italic;
  color: #e2e8f0;
  margin-bottom: 16px;
  line-height: 1.6;
}

.testimonial-rating {
  color: #00d9ff;
  font-size: 18px;
}

/* CTA SECTION */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #0a1628, #1a2332);
  border-radius: 16px;
  padding: 80px 40px;
}

.cta-section h2 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 20px;
  color: #a0aec0;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* FAQ SECTION */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #1a2332;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-question {
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 18px;
  user-select: none;
}

.faq-question:hover {
  background: #1e2936;
}

.faq-icon {
  font-size: 24px;
  color: #00d9ff;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 24px 24px;
  color: #a0aec0;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-link {
  display: inline-block;
  margin-top: 12px;
  color: #00d9ff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.faq-link:hover {
  color: #00b8d9;
  transform: translateX(4px);
}

/* ============================================
   SECTION OFFRE DÉCOUVERTE - HOMEPAGE
   À ajouter dans styles.css
============================================ */

.discover-offer-section {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.05), transparent);
    border-radius: 24px;
    text-align: center;
}

.discover-content {
    max-width: 900px;
    margin: 0 auto;
}

.discover-badge {
    display: inline-block;
    background: linear-gradient(135deg, #00D9FF, #00B8D9);
    color: #0A1628;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(0, 217, 255, 0.4);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 0 20px 5px rgba(0, 217, 255, 0.2);
    }
}

.discover-offer-section h2 {
    font-size: 48px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.2;
}

.discover-subtitle {
    font-size: 24px;
    color: #00D9FF;
    margin-bottom: 20px;
    font-weight: 600;
}

.discover-description {
    font-size: 18px;
    color: #A0AEC0;
    margin-bottom: 40px;
    line-height: 1.6;
}

.discover-description strong {
    color: #00D9FF;
    font-weight: 700;
}

.discover-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* FOOTER */
footer {
  background: #050a12;
  padding: 60px 40px 40px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  color: #00d9ff;
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #00d9ff;
}

.footer-baseline {
  color: #a0aec0;
  font-size: 14px;
  margin-top: 8px;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: #1a2332;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00d9ff;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 20px;
}

.social-icon:hover {
  background: #00d9ff;
  color: #0a1628;
  transform: translateY(-4px);
}

.footer-copyright {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a0aec0;
  font-size: 14px;
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* RESPONSIVE */
/* =========================================
   RESPONSIVE & MENU HAMBURGER
========================================= */

/* 1. Bouton Hamburger (Caché sur Ordinateur) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 30px;
  height: 3px;
  background-color: #00D9FF;
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}

/* =========================================
   2. TABLETTE (Jusqu'à 1024px)
========================================= */
@media (max-width: 1024px) {
  /* On resserre un peu le menu */
  nav.nav-menu { gap: 24px; }
  
  /* On réduit la taille du gros titre */
  .hero h1 { font-size: 48px; }
  
  /* On passe la grille des stats de 4 à 2 colonnes */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  /* On réduit les marges générales pour gagner de la place */
  section { padding: 60px 20px; }

  /* On force la grille d'expertise à avoir 2 colonnes bien nettes */
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
}

/* =========================================
   3. TÉLÉPHONE (Jusqu'à 768px)
========================================= */
@media (max-width: 768px) {
  /* --- HEADER & MENU --- */
  .header-container {
    padding: 0 20px;
  }

  /* On cache le bouton PC sur le téléphone */
  .btn-desktop {
    display: none;
  }
  
  /* On affiche le bouton à l'intérieur du menu hamburger */
  .btn-mobile {
    display: inline-block;
  }
  
  /* On affiche le bouton hamburger */
  .menu-toggle { display: flex; }
  
  /* On transforme la navigation en menu déroulant caché */
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    padding: 30px 20px;
    gap: 24px;
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    
    /* Animation du menu */
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .nav-menu.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-menu .btn-primary {
    text-align: center;
    margin-top: 10px;
  }

  /* Animation du bouton Hamburger en croix (X) */
  .menu-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
  .menu-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  /* --- RESTE DU SITE --- */
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; margin-bottom: 30px; }
  .hero { padding: 60px 20px 40px; }
  .section-title { font-size: 36px; }

  /* Les grilles passent toutes sur 1 seule colonne */
  .expertise-grid,
  .testimonials-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  /* --- SECTION OFFRE DÉCOUVERTE --- */
  .discover-offer-section {
    padding: 60px 24px;
    margin-bottom: 60px;
  }

  .discover-offer-section h2 {
    font-size: 32px;
  }

  .discover-subtitle {
    font-size: 20px;
  }

  .discover-description {
    font-size: 16px;
  }

  .discover-buttons {
    flex-direction: column;
  }

  .discover-buttons a {
    width: 100%;
  }

  /* --- SECTION CTA (Appel à l'action) --- */
  .cta-section {
    padding: 40px 20px;
  }

  .cta-section h2 {
    font-size: 32px;
    line-height: 1.3;
  }

  .cta-section p {
    font-size: 16px;
    margin-bottom: 24px;
  }

  /* Boutons 100% largeur */
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
    text-align: center;
  }

  /* --- FOOTER --- */
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }

  /* Centrage du logo dans le footer */
  footer .footer-logo,
  footer img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
  }
  /* --- CENTRAGE DU LOGO FOOTER --- */
  footer .logo-header {
      justify-content: center;
      margin-bottom: 15px;
  }
}