/* Animation de pulsation dorée */
@keyframes pulseGold {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
    opacity: 0.8;
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    opacity: 1;
  }
}

/* Animation de vibration au survol */
@keyframes vibrate {
  0% { transform: translate(0); }
  20% { transform: translate(-1px, 1px); }
  40% { transform: translate(1px, -1px); }
  60% { transform: translate(-1px, -1px); }
  80% { transform: translate(1px, 1px); }
  100% { transform: translate(0); }
}

/* Header */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a1929;
  white-space: nowrap;
}

/* Styles pour le badge de spécialisation */
.expert-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffd700, #ffec80);
  color: #1a365d;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  margin-left: 10px;
  white-space: nowrap;
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  animation: pulseGold 4s infinite ease-in-out;
  vertical-align: middle;
  line-height: 1.3;
}

/* Navigation */
.nav ul {
  display: flex;
  list-style: none;
  gap: 15px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav a {
  color: #0a1929;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav a:hover {
  background: rgba(10, 25, 41, 0.05);
  color: #0056b3;
}

/* Menu mobile */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background: #0a1929;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Ajustement pour mobile */
@media (max-width: 1024px) {
  .expert-badge {
    font-size: 0.7rem;
    padding: 3px 10px;
    margin-left: 10px;
  }
}

/* Pour les très petits écrans, on cache le badge pour garder le header propre */
@media (max-width: 640px) {
  .expert-badge {
    display: none;
  }
}

/* Reset et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* TYPOGRAPHY REFINEMENT – READABILITY */
/* Styles de base pour les paragraphes */
p {
  text-align: left; /* Par défaut aligné à gauche pour mobile */
  line-height: 1.65;
}

/* Justification du texte sur desktop */
@media (min-width: 768px) {
  p {
    text-align: justify;
  }
}

/* Footer */
.footer {
  background-color: #031a2e;
  color: #fff;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  flex: 0 0 100%;
  max-width: 300px;
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  width: 60px;
  height: auto;
  margin-bottom: 1rem;
  display: block;
}

.footer-logo span {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #00b4d8, #0077b6);
}

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

.footer-section ul li {
  margin-bottom: 0.8rem;
}

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

.footer-section a:hover {
  color: #00b4d8;
}

.footer-section p {
  color: #a0aec0;
  margin: 0 0 0.8rem;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #718096;
  font-size: 0.9rem;
  margin: 0;
}

/* Centrer le texte du footer sur mobile */
@media (max-width: 767px) {
  .footer-content {
    flex-direction: column;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
  
  .footer-section:last-child {
    margin-bottom: 0;
  }
  
  footer p, .footer-section p {
    text-align: center;
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Styles pour la page À propos */
.about-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-image {
  text-align: center;
  margin-bottom: 1.5rem;
}

.about-image img {
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.about-content {
  line-height: 1.7;
  font-size: 1.05rem;
}

.about-content h2 {
  color: #031a2e;
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #00b4d8, #0077b6);
  border-radius: 3px;
}

.domaine-intervention {
  background-color: #f8f9fa;
  border-left: 4px solid #00b4d8;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.domaine-intervention h3 {
  margin-top: 0;
  color: #031a2e;
  font-size: 1.3rem;
}

.domaine-intervention ul {
  padding-left: 1.5rem;
  margin: 1rem 0 0;
}

.domaine-intervention li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.domaine-intervention li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #00b4d8;
  font-weight: bold;
}

.contact-cta {
  font-size: 1.2rem;
  font-weight: 600;
  color: #031a2e;
  margin: 2rem 0;
  text-align: center;
  background: linear-gradient(90deg, rgba(0, 180, 216, 0.1), rgba(0, 119, 182, 0.1));
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #00b4d8;
}

.button-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
  background: linear-gradient(135deg, #0096c7, #023e8a);
}

.btn-secondary {
  display: inline-block;
  background: white;
  color: #031a2e;
  border: 2px solid #00b4d8;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
}

.btn-secondary:hover {
  background: #f8f9fa;
  color: #031a2e;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Styles pour les grands écrans */
@media (min-width: 992px) {
  .about-container {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }
  
  .about-image {
    flex: 0 0 300px;
    margin-bottom: 0;
  }
  
  .about-content {
    flex: 1;
  }
  
  .button-container {
    flex-direction: row;
    justify-content: center;
  }
  
  .btn, .btn-secondary {
    min-width: 200px;
  }
}

/* Styles pour les tablettes */
@media (min-width: 768px) and (max-width: 991px) {
  .about-container {
    max-width: 800px;
  }
  
  .about-image img {
    max-width: 250px;
  }
}

/* Styles pour les mobiles */
@media (max-width: 767px) {
  .about-content h2 {
    font-size: 1.3rem;
  }
  
  .contact-cta {
    font-size: 1.1rem;
    padding: 1.2rem;
  }
  
  .btn, .btn-secondary {
    width: 100%;
  }
}

/* Styles pour la barre de défilement */
html {
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: #0a1929 #f5f5f5;
}

/* Pour les navigateurs WebKit (Chrome, Safari) */
html::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-track {
  background: #f5f5f5;
}

html::-webkit-scrollbar-thumb {
  background-color: #0a1929;
  border-radius: 4px;
}

body {
  font-family: "Inter", sans-serif;
  color: #1e293b;
  background: #f5f5f5;
  line-height: 1.6;
  margin: 0;
  padding-top: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
}

h1 + p,
h2 + p,
h3 + p,
h4 + p {
  margin-top: 0.75rem;
}

h1 {
  margin-bottom: 1.25rem;
}

h2 {
  margin-bottom: 1rem;
}

h3 {
  margin-bottom: 0.875rem;
}

h4 {
  margin-bottom: 0.75rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Header */
.header {
  background: #0a1929;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  left: 0;
  right: 0;
  margin: 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.logo-icon {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  animation: pulseGold 15s infinite ease-in-out;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.6));
  position: relative;
  z-index: 1;
  overflow: hidden; /* Pour s'assurer que l'image reste dans le cercle */
  object-fit: cover; /* Pour que l'image remplisse correctement le cercle */
  display: block; /* Évite l'espace sous l'image */
}

/* Effet de halo doré */
.logo::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(255, 215, 0, 0.4) 0%,
    rgba(255, 183, 0, 0.2) 50%,
    rgba(255, 229, 127, 0) 70%
  );
  background-position: center;
  background-size: cover;
  opacity: 0.8;
  z-index: 0;
  transition: all 0.5s ease;
  pointer-events: none;
}

/* Effet de survol */
.logo:hover .logo-icon {
  animation: pulseGold 2s infinite ease-in-out, vibrate 1.5s ease-in-out;
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.9));
}

.logo:hover .logo-icon::after {
  background: radial-gradient(circle, rgba(255, 215, 0, 0.6) 0%, rgba(255, 183, 0, 0.4) 50%, rgba(255, 229, 127, 0.1) 70%);
  opacity: 1;
  transform: scale(1.2);
}

/* Adaptation pour le logo dans le footer */
.footer-logo-container {
  position: relative;
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
}

.footer-logo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  animation: pulseGold 15s infinite ease-in-out;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.6));
}

/* Halo autour du logo du footer */
.footer-logo-container::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    rgba(255, 215, 0, 0.4) 0%,
    rgba(255, 183, 0, 0.2) 50%,
    rgba(255, 229, 127, 0) 70%
  );
  background-position: center;
  background-size: cover;
  opacity: 0.8;
  z-index: -1;
  transition: all 0.5s ease;
  pointer-events: none;
}

.footer-logo::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, rgba(255, 183, 0, 0.2) 50%, rgba(255, 229, 127, 0) 70%);
  opacity: 0.8;
  z-index: -1;
  transition: all 0.5s ease;
}

.footer-logo:hover {
  animation: pulseGold 2s infinite ease-in-out, vibrate 1.5s ease-in-out;
  filter: drop-shadow(0 0 15px rgba(255, 223, 100, 0.9));
}

.footer-logo:hover::after {
  background: radial-gradient(circle, rgba(255, 223, 100, 0.9) 0%, rgba(255, 199, 0, 0.6) 50%, rgba(255, 229, 127, 0.2) 70%);
  opacity: 1;
  transform: scale(1.2);
}

.logo-text {
  color: #60a5fa;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0 20px 0 0;
  width: auto;
  justify-content: flex-end;
}

.nav li {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
  font-size: 15px;
  transition: color 0.3s ease;
  white-space: nowrap;
  padding: 8px 12px;
  display: block;
  position: relative;
}

.nav a:hover {
  color: #60a5fa;
}

/* Bouton menu mobile */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 30px;
  padding: 5px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #0d2b5b 0%, #0a1f40 100%);
  padding: 80px 0 80px;
  color: white;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.hero-logo-circle {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0 auto 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
  flex-shrink: 0;
}

.hero-logo-circle img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  animation: pulseGold 15s infinite ease-in-out;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-logo-circle::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, rgba(255, 183, 0, 0.15) 50%, rgba(255, 229, 127, 0) 70%);
  opacity: 0.8;
  z-index: -1;
  transition: all 0.5s ease;
}

.hero-logo-circle:hover img {
  animation: pulseGold 2s infinite ease-in-out, vibrate 1.5s ease-in-out;
  filter: drop-shadow(0 0 25px rgba(255, 223, 100, 0.9));
}

.hero-logo-circle:hover::after {
  background: radial-gradient(circle, rgba(255, 223, 100, 0.9) 0%, rgba(255, 199, 0, 0.6) 50%, rgba(255, 229, 127, 0.2) 70%);
  opacity: 1;
  transform: scale(1.1);
}

.hero-logo-circle img {
  object-fit: cover;
  border-radius: 50%;
}

.hero-text h1 {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff;
}

.hero-text-content {
  max-width: 600px;
  margin: 0 auto;
}

.hero-text p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  max-width: 100%;
  text-align: left;
  letter-spacing: 0.01em;
  font-weight: 400;
}

.hero-text p:last-child {
  margin-bottom: 0;
  opacity: 0.95;
}

/* Services */
.services {
  padding: 70px 0;
  background: #f5f5f5;
  width: 100%;
  overflow: hidden;
}

/* SPACING REFINEMENT – HOME PAGE */
.services h2 {
  font-size: 42px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 37px;
  text-align: center;
}

.services ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.services ul li {
  font-size: 16px;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 14px;
  padding-left: 0;
}

/* Benefits section specific improvements */
#benefits.services {
  padding: 70px 0 40px;
}

#benefits.services ul {
  max-width: 1000px;
}

#benefits.services ul li {
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* SERVICE CARDS – PREMIUM REFINEMENT */
.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid #e2e8f0;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none !important;
  gap: 4px;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 12px;
  margin-top: 0;
}

.service-card p {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Services section specific improvements */
#services.services {
  padding: 50px 0 50px;
}

#services.services .services-grid {
  max-width: 1200px;
}

#services.services .service-card p {
  line-height: 1.7;
}

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

.service-card ul li {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
}

.service-card .btn-secondary {
  margin-top: auto;
  display: inline-block;
  width: auto;
  align-self: flex-start;
}

/* About */
.about {
  padding: 70px 0;
  background: #f8fafc;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.about .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.about h2 {
  font-size: 2.625rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.about h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0077b6, #00b4d8);
}

.about p {
  font-size: 1.125rem;
  color: #334155;
  line-height: 1.75;
  margin: 0 0 1.5rem 0;
  text-align: left;
  max-width: 100%;
  padding: 0;
}

.about p:last-child {
  margin-bottom: 0;
  color: #475569;
  font-size: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
  margin-top: 1rem;
}

/* Articles */
.articles {
  padding: 80px 0;
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.articles .section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.articles .section-header h2 {
  font-size: 2rem;
  color: #1e293b;
  margin-bottom: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.articles .section-subtitle {
  color: #64748b;
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.articles h2 {
  font-size: 42px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 50px;
  text-align: center;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.article-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.article-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  padding: 1.5rem 1.5rem 0.75rem;
  margin: 0;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.article-card:hover h3 {
  color: #1e88e5;
}

.article-excerpt {
  padding: 0 1.5rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-excerpt p {
  color: #475569;
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.article-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f8fafc;
  position: relative;
}

.article-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  backface-visibility: hidden;
  mix-blend-mode: multiply;
  filter: grayscale(20%) contrast(1.05);
}

.article-card:hover .article-image img {
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

/* Sections d'articles */
.section-header {
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #1e88e5, #0d47a1);
  border-radius: 3px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Section B2B */
.b2b-grid {
  margin-bottom: 4rem;
}

.b2b-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
}

.b2b-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.b2b-card h3 {
  color: #1e40af;
  font-weight: 600;
  text-decoration: none;
}

/* Désactive le soulignement sur les liens dans les cartes */
.article-card {
  text-decoration: none !important;
}

/* Suppression des effets de lien */
.article-link {
  text-decoration: none !important;
  color: inherit;
  display: block;
}

.article-card h3 {
  text-decoration: none !important;
}

.article-card:hover h3 {
  color: #1e40af;
  text-decoration: none !important;
}

/* Section Guides */
.guides-header {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #e2e8f0;
}

.guide-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.9;
  text-decoration: none !important;
}

.guide-card:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background-color: #f8fafc;
}

.guide-card h3 {
  color: #334155;
  font-weight: 500;
  font-size: 17px;
}

/* Ajustements pour la grille */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Contact */
.contact {
  background: #0d2b5b;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
  width: 100%;
}

.contact .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 24px;
}

.contact p {
  font-size: 18px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.contact .cta-button {
  display: inline-block;
  margin: 0 auto;
  width: auto;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border-radius: 6px;
  border: none;
  font-family: inherit;
  font-size: 15px;
  width: 100%;
  max-width: 100%;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  background: #60a5fa;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 16px;
  margin-top: 10px;
}

.contact-form button:hover {
  background: #3b82f6;
}

#form-status {
  margin-top: 10px;
  font-weight: 600;
  padding: 10px;
  border-radius: 4px;
}

.success {
  color: #22c55e;
  background-color: rgba(34, 197, 94, 0.1);
}

.error {
  color: #ef4444;
  background-color: rgba(239, 68, 68, 0.1);
}

/* Footer */
.footer {
  background: #0a1929;
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 20px;
  font-size: 15px;
  width: 100%;
}

.footer .container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 0;
  margin: 0;
}

/* Colonne du footer contenant le logo et le copyright */
.footer-col:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Style spécifique pour le texte de copyright */
.footer-col .copyright {
  margin: 20px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
  padding: 0;
  width: 100%;
  line-height: 1.5;
  order: 3; /* S'assure que le copyright est en bas de la colonne */
}

/* Style du texte sous le logo */
.footer-col p:not(.copyright) {
  margin: 0 0 15px 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}


.footer h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
}

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

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

.footer a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.copyright {
  margin: 20px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  line-height: 1.5;
}

/* Style spécifique pour le texte de copyright */
.copyright p {
  margin: 0;
  padding: 0;
  font-size: 0.9em;
}

/* Styles pour les articles de blog */
.article-banner {
  width: 100%;
  text-align: center;
  overflow: hidden;
  margin: 0 0 40px;
  max-height: 500px;
  background: #f0f0f0;
}

.article-banner img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  max-height: 500px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
}

.article-content {
  max-width: 800px;
  margin: 0 auto 60px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333;
  padding: 0 20px;
}

.article-content h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #1c6dd0;
  line-height: 1.2;
}

.article-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
  color: #1c6dd0;
  line-height: 1.3;
}

.article-content p {
  margin-bottom: 1.5rem;
  color: #333;
}

.article-content ul,
.article-content ol {
  margin: 1.5rem 0 1.5rem 2rem;
}

.article-content ul {
  list-style-type: disc;
}

.article-content ol {
  list-style-type: decimal;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content a {
  color: #1c6dd0;
  text-decoration: none;
  font-weight: 500;
}

.article-content a:hover {
  text-decoration: underline;
}

.article-meta {
  text-align: center;
  color: #666;
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 2rem 0 3rem;
  background-color: #1c6dd0;
  color: white !important;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  min-width: 200px;
  text-align: center;
}

.back-link:hover {
  background-color: #1559a6;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none !important;
}

/* S'assurer que la couleur du texte est toujours visible */
.article-content .back-link {
  color: white !important;
  background-color: #1c6dd0;
  border: 1px solid #1c6dd0;
}

.article-content .back-link:hover {
  background-color: #1559a6;
  border-color: #1559a6;
  color: white !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }

  .hero-text h1 {
    font-size: 48px;
  }

  .hero-text p {
    max-width: 100%;
    font-size: 18px;
  }

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

@media (max-width: 1024px) {
  .expert-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
  }
  
  .nav a {
    font-size: 0.85rem;
    padding: 6px 10px;
  }
}

@media (max-width: 900px) {
  .expert-badge {
    display: none;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 10px 0;
  }
  
  .header-content {
    padding: 0 15px;
    position: relative;
  }

  /* Afficher le bouton menu mobile */
  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }

  /* Cacher le menu de navigation par défaut */
  .nav ul {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0a1929;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 80px 20px 40px;
    z-index: 1000;
    overflow-y: auto;
  }
  
  .nav li {
    width: 100%;
    text-align: center;
  }
  
  .nav a {
    padding: 12px 0;
    font-size: 18px;
    display: block;
  }

  .nav.active ul {
    display: flex;
  }

  .nav li {
    width: 100%;
    text-align: center;
  }

  .nav a {
    display: block;
    padding: 12px 20px;
    transition: all 0.3s ease;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .hero {
    padding: 60px 0 60px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-logo-circle {
    width: 200px;
    height: 200px;
  }

  .services,
  .articles,
  .about {
    padding: 60px 0;
  }

  .services h2,
  .articles h2,
  .about h2,
  .contact h2 {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .services-grid,
  .articles-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .service-card {
    padding: 22px;
  }

  .contact {
    padding: 60px 0;
  }
  
  .article-card {
    margin-bottom: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 15px;
  }

  /* Styles responsifs pour les articles de blog */
  .article-content {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 15px;
  }

  .article-content h1 {
    font-size: 1.8rem;
  }

  .article-content h2 {
    font-size: 1.4rem;
  }

  .article-banner img {
    max-height: 300px;
  }
}

/* Styles pour les notes de service */
.service-note {
  font-style: italic;
  color: #4a90e2;
  margin: 8px 0 12px;
  font-size: 0.9em;
  line-height: 1.4;
}

/* Styles pour le fil d'Ariane */
.breadcrumb {
  margin: 15px 0 25px;
  padding: 0 15px;
  font-size: 0.9rem;
  color: #b0c4de;
}

.breadcrumb a {
  color: #b0c4de;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #00bcd4;
  text-decoration: underline;
}

.breadcrumb span,
.breadcrumb a:last-child {
  color: #ffffff;
  pointer-events: none;
  cursor: default;
}

.breadcrumb .separator {
  margin: 0 8px;
  color: #b0c4de;
}

/* Styles responsifs */
@media (max-width: 768px) {
  .breadcrumb {
    font-size: 0.85rem;
    margin: 10px 0 20px;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .breadcrumb {
    font-size: 0.8rem;
  }
  
  .breadcrumb .separator {
    margin: 0 5px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 15px;
  }

  .hero-logo-circle {
    width: 160px;
    height: 160px;
  }

  .services h2,
  .articles h2,
  .about h2,
  .contact h2 {
    font-size: 28px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .services {
    padding: 60px 0;
  }

  .services ul {
    padding: 0 10px;
  }

  .services ul li {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .service-card {
    padding: 22px;
  }

  .about {
    padding: 60px 0;
  }

  .contact {
    padding: 60px 0;
  }

  .contact h2 {
    font-size: 26px;
  }

  .contact p {
    font-size: 16px;
  }
  
  .article-card h3 {
    font-size: 1.1rem;
  }

  .article-content h1 {
    font-size: 1.6rem;
  }

  .article-content h2 {
    font-size: 1.3rem;
  }

  .back-link {
    width: 100%;
    justify-content: center;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 16px;
  }

  .services,
  .about {
    padding: 50px 0;
  }

  .services h2,
  .about h2,
  .contact h2 {
    font-size: 24px;
  }

  .services ul li {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .service-card {
    padding: 24px;
  }

  .service-card h3 {
    font-size: 17px;
  }

  .service-card {
    padding: 18px;
  }

  .service-card p {
    font-size: 14px;
  }

  .contact {
    padding: 60px 16px;
  }

  .contact h2 {
    font-size: 22px;
  }

  .contact p {
    font-size: 15px;
  }

  .about .container {
    padding: 0 20px;
  }

  .about p {
    font-size: 15px;
  }
}

/* Animation pour le bouton menu mobile */
.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

/* Section À Propos */
#presentation.about {
  padding: 5rem 0;
  background-color: #fff;
}

#presentation.about .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

#presentation.about h2 {
  color: #2c3e50;
  font-size: 2.2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

#presentation.about h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #00b4d8, #0077b6);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

#presentation.about p {
  color: #4a5568;
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 1.5rem 0;
  text-align: left;
  max-width: 100%;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
  #presentation.about {
    padding: 3rem 0;
  }
  
  #presentation.about h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  #presentation.about p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Ajout d'une transition fluide pour les ancres */
html {
  scroll-behavior: smooth;
}

/* Correction pour les éléments flexibles */
img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

/* Styles pour la grille de guides */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.guide-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e2e8f0;
}

.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.guide-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.guide-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.guide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.guide-card:hover .guide-image img {
  transform: scale(1.05);
}

.guide-content {
  padding: 1.5rem;
}

.guide-content h2 {
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
  line-height: 1.4;
  color: #1a365d;
}

.guide-content p {
  margin: 0;
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .guides-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .guides-grid {
    grid-template-columns: 1fr;
  }
  
  .guide-image {
    height: 160px;
  }
}

/* Amélioration de la lisibilité sur mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-content,
  .services-grid,
  .articles-grid,
  .footer-grid {
    padding: 0 10px;
  }
  
  .service-card,
  .article-card {
    padding: 20px;
  }
}

/* Correction pour les éléments en position fixe */
.header {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Correction pour les transitions sur mobile */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Sous-menu Blog : Guides & comparatifs */
.has-submenu {
  position: relative;
}

.has-submenu > a {
  position: relative;
  z-index: 1;
}

.has-submenu .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #031528; /* même bleu que le header */
  padding: 8px 0;
  min-width: 220px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.has-submenu:hover .submenu {
  display: block;
}

.has-submenu .submenu li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.has-submenu .submenu li a:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* PAGE LAYOUT FIXES */
.content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.content-wrapper h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.content-wrapper h2 {
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 1.6rem;
}

.content-wrapper h3 {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.content-wrapper p {
  margin-bottom: 16px;
  line-height: 1.6;
}

.content-wrapper ul,
.content-wrapper ol {
  margin: 0 0 20px 20px;
  line-height: 1.6;
}

.content-wrapper li {
  margin-bottom: 6px;
}

.content-wrapper .cta-button {
  display: block;
  margin: 30px auto 0;
  width: max-content;
}
