/* 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); }
}

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

/* Styles de base pour les paragraphes */
p {
  text-align: left; /* Par défaut aligné à gauche pour mobile */
}

/* 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 {
  background: white;
  color: #031a2e;
  border: 2px solid #00b4d8;
  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;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  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: 60px 0 100px;
  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 p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 600px;
}

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

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

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

.service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

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

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

/* About */
.about {
  padding: 80px 20px;
  background: #f5f5f5;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

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

.about p {
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* Articles */
.articles {
  padding: 80px 0 100px;
  background: #f5f5f5;
  width: 100%;
  overflow: hidden;
}

.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-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.article-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.article-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.article-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  padding: 25px 25px 15px;
  margin: 0;
  transition: color 0.3s ease;
}

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

.article-card p {
  font-size: 15px;
  color: #475569;
  padding: 0 25px 25px;
  margin: 0;
  flex-grow: 1;
}

.article-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  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: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  backface-visibility: hidden;
}

.article-card:hover .article-image img {
  transform: scale(1.08);
}

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

.contact .container {
  max-width: 800px;
}

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

.contact p {
  font-size: 18px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-left: auto;
  margin-right: 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: 768px) {
  .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: 80px 0 100px;
  }

  .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,
  .article-card {
    padding: 25px;
  }

  .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,
  .article-card h3 {
    font-size: 18px;
  }

  .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;
  }
}

/* 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;
}

.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;
}

/* 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;
  }
}
