/* Fichier CSS séparé pour le thème Ik' Média */

/* Highlight boxes pour la section À propos */
.about-highlight {
    background: rgba(93, 174, 111, 0.25) !important;
    color: #f8f9fa !important;
    border: 1px solid rgba(93, 174, 111, 0.4) !important;
    padding: 1rem 1.8rem !important;
    border-radius: 12px !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(93, 174, 111, 0.2) !important;
    cursor: pointer !important;
}

.about-highlight:hover {
    background: rgba(93, 174, 111, 0.4) !important;
    border-color: rgba(93, 174, 111, 0.7) !important;
    box-shadow: 0 4px 15px rgba(93, 174, 111, 0.4) !important;
    transform: translateY(-2px) !important;
}

.about-highlight:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(93, 174, 111, 0.3) !important;
}

/* Classes pour la section À propos - remplaçant les styles inline */
.about-container {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Section À propos avec fond subtil animé et aucun effet de box */
.about-section-content {
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.04) 0%, 
        rgba(255, 255, 255, 0.08) 25%, 
        rgba(212, 36, 42, 0.05) 50%, 
        rgba(255, 255, 255, 0.08) 75%, 
        rgba(255, 255, 255, 0.04) 100%);
    background-size: 400% 400%;
    border-radius: 12px;
    padding: 2rem 1rem;
    margin: 2rem auto;
    animation: subtleGradientShift 8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    /* Aucun border, shadow, ou hover effect - juste un fond subtil animé mais plus visible */
    /* Pas de max-width ici pour ne pas entrer en conflit avec about-container */
}

/* Formes géométriques flottantes dans le fond */
.about-section-content::before,
.about-section-content::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.about-section-content::before {
    top: 10%;
    right: 5%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(212, 36, 42, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatShape1 12s ease-in-out infinite;
}

.about-section-content::after {
    bottom: 15%;
    left: 8%;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(74, 137, 91, 0.12), rgba(74, 137, 91, 0.08));
    transform: rotate(45deg);
    animation: floatShape2 10s ease-in-out infinite reverse;
}

/* Assurer que le contenu reste au-dessus des formes */
.about-section-content > * {
    position: relative;
    z-index: 1;
}

/* Formes géométriques supplémentaires pour un effet plus riche */
.about-container::before,
.about-container::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.about-container {
    position: relative;
}

.about-container::before {
    top: 20%;
    left: 3%;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(74, 137, 91, 0.1), rgba(74, 137, 91, 0.05));
    border-radius: 8px;
    transform: rotate(30deg);
    animation: floatShape3 15s ease-in-out infinite;
}

.about-container::after {
    top: 60%;
    right: 10%;
    width: 25px;
    height: 25px;
    background: rgba(212, 36, 42, 0.08);
    border-radius: 50%;
    animation: floatShape4 8s ease-in-out infinite;
}

/* Animation pour les formes supplémentaires */
@keyframes floatShape3 {
  0%, 100% {
    transform: rotate(30deg) translateY(0px) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: rotate(45deg) translateY(-20px) scale(1.2);
    opacity: 0.9;
  }
}

@keyframes floatShape4 {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.7;
  }
  33% {
    transform: translateY(-8px) translateX(5px);
    opacity: 0.9;
  }
  66% {
    transform: translateY(5px) translateX(-3px);
    opacity: 0.5;
  }
}

.about-title {
    color: #f8f9fa;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #f8f9fa;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.about-description strong {
    color: #d4242a;
    font-weight: 700;
}

.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.about-cta {
    font-size: 1.1rem;
    color: white;
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #d4242a, #0a0a0a);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(212, 36, 42, 0.3);
}

.about-cta a {
    color: white;
    font-weight: 600;
    text-decoration: underline;
    border-bottom: 2px solid transparent;
}

.about-cta a:hover {
    border-bottom-color: white;
}

/* Variables CSS modernisées avec nouvelle palette rouge */
:root {
  --primary-red: #d4242a; /* Rouge principal - nouvelle couleur */
  --primary-red-dark: #911F22; /* Rouge foncé */
  --primary-red-medium: #ad2a39; /* Rouge moyen */
  --primary-green: #4A895B; /* Couleur secondaire verte */  --primary-teal: #16a085;
  --primary-purple: #8e44ad;
  --accent-orange: #e67e22;
  --accent-green: #4A895B; /* Vert secondaire */
  --accent-red: #d4242a; /* Rouge principal pour cohérence */
  --text-light: #f8f9fa;
  --text-muted: #95a5a6;
  --text-dark: #2c3e50;
  --background-dark: #181818;
  --surface-dark: #212121;
  --card-dark: #282828;
  --border-dark: #3a3a3a;
  --shadow-dark: rgba(0,0,0,0.12);
  --shadow-colored: rgba(212, 36, 42, 0.2);
  --gradient-primary: linear-gradient(135deg, var(--primary-red), var(--primary-red-medium));
  --gradient-accent: linear-gradient(135deg, var(--primary-red-medium), var(--primary-red-dark));
  --gradient-subtle: linear-gradient(135deg, #212121, #252525);  
  /* Nouveaux dégradés rouge */
  --gradient-red-primary: linear-gradient(135deg, #d4242a, #ad2a39);
  --gradient-red-dark: linear-gradient(135deg, #ad2a39, #911F22);
  --gradient-red-intense: linear-gradient(135deg, #d4242a, #911F22);
  --gradient-red-hover: linear-gradient(135deg, #ad2a39, #7a1a1d);
  
  /* Nouveaux dégradés vert */
  --gradient-green-primary: linear-gradient(135deg, #4A895B, #3e7a4f);
  --gradient-green-light: linear-gradient(135deg, #5dae6f, #4A895B);
  --gradient-green-dark: linear-gradient(135deg, #3e7a4f, #2d5739);
}

/* Désactive l'étirement des colonnes pour les services */
.no-stretch-columns {
  align-items: stretch !important;
  display: flex !important;
  flex-wrap: wrap !important;
}

.no-stretch-columns .column {
  display: flex;
  flex-direction: column;
  min-height: 300px; /* Force une hauteur minimale uniforme */
}

/* Styles pour les box services améliorées */
.service-box {
  background: linear-gradient(135deg, rgba(60, 60, 60, 1), rgba(45, 45, 45, 1));
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 320px;
  flex: 1;
  backdrop-filter: blur(3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.service-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 19px;
  z-index: -1;
}

.service-box:hover::before {
  opacity: 0.03;
}

.service-box:hover {
  transform: translateY(-12px);
  border-color: var(--primary-red);
  box-shadow: 0 25px 50px var(--shadow-colored);
}

/* Variantes de couleurs pour les différentes boxes avec palette harmonieuse */
.service-box:nth-of-type(1)::before {
  background: var(--gradient-primary);
}

.service-box:nth-of-type(2)::before {
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-red));
}

.service-box:nth-of-type(3)::before {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-red));
}

.service-box:nth-of-type(4)::before {
  background: linear-gradient(135deg, var(--accent-green), var(--primary-teal));
}

.service-box:nth-of-type(5)::before {
  background: linear-gradient(135deg, var(--accent-red), var(--primary-purple));
}

.service-box:nth-of-type(6)::before {
  background: linear-gradient(135deg, var(--primary-teal), var(--accent-green));
}

.service-box:nth-of-type(1):hover {
  border-color: var(--primary-red);
  box-shadow: 0 20px 40px rgba(212, 36, 42, 0.3);
}

.service-box:nth-of-type(2)::before {
  background: linear-gradient(135deg, var(--primary-teal), var(--accent-green));
}

.service-box:nth-of-type(2):hover {
  border-color: var(--primary-teal);
  box-shadow: 0 20px 40px rgba(80, 200, 163, 0.3);
}

.service-box:nth-of-type(3)::before {
  background: linear-gradient(135deg, var(--primary-purple), var(--accent-orange));
}

.service-box:nth-of-type(3):hover {
  border-color: var(--primary-purple);
  box-shadow: 0 20px 40px rgba(139, 95, 191, 0.3);
}

.service-box:nth-of-type(4)::before {
  background: linear-gradient(135deg, var(--accent-orange), var(--primary-green));
}

.service-box:nth-of-type(4):hover {
  border-color: var(--accent-orange);
  box-shadow: 0 20px 40px rgba(243, 156, 18, 0.3);
}

.service-box:nth-of-type(5)::before {
  background: linear-gradient(135deg, var(--accent-green), var(--primary-teal));
}

.service-box:nth-of-type(5):hover {
  border-color: var(--accent-green);
  box-shadow: 0 20px 40px rgba(39, 174, 96, 0.3);
}

.service-box:nth-of-type(6)::before {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-red));
}

.service-box:nth-of-type(6):hover {
  border-color: var(--primary-purple);
  box-shadow: 0 20px 40px rgba(139, 95, 191, 0.3);
}

.service-box-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-box:hover .service-box-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-box h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.service-box p {
  flex-grow: 1;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  font-size: 1rem;
}

/* Texte d'introduction des services centré */
.service-intro {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  color: var(--text-light);
  font-size: 1.15rem;
  line-height: 1.7;
  font-weight: 400;
}

/* Style pour la section À propos simple et centré */
.about-simple {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem;
}

/* Introduction simple */
.about-intro {
  margin-bottom: 3rem;
}

.about-intro h3 {
  color: var(--primary-red);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-medium));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-intro p {
  line-height: 1.7;
  color: var(--text-light);
  font-size: 1.1rem;
  margin: 0 auto;
}

/* Points clés en ligne */
.about-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.point-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--card-dark) 0%, #383838 100%);
  border-radius: 12px;
  border: 1px solid var(--border-dark);
  transition: all 0.3s ease;
}

.point-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary-teal);
  box-shadow: 0 8px 25px rgba(80, 200, 163, 0.2);
}

.point-icon {
  width: 24px;
  height: 24px;
  fill: var(--primary-teal);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.point-item h4 {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.point-item p {
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 0.95rem;
  margin: 0;
}

/* Section À propos - Styles nettoyés */

/* Responsive pour mobile */
@media (max-width: 768px) {
  .about-points {
    grid-template-columns: 1fr;
  }
  
  .point-item {
    text-align: center;
    flex-direction: column;
    align-items: center;
  }
  
  .about-intro h3 {
    font-size: 1.6rem;
  }
}

/* Boutons améliorés et plus petits */
.btn-small {
  padding: 0.6rem 1.2rem; /* Boutons plus petits */
  font-size: 0.9rem; /* Police plus petite */
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s ease;
  border: none;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--gradient-red-primary);
  color: white;
  box-shadow: 0 3px 12px rgba(212, 36, 42, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 36, 42, 0.4);
  color: white;
}

.btn-contact {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 3px 12px rgba(230, 126, 34, 0.3);
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
  color: white;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--primary-green), #3e7a4f);
  color: white;
  box-shadow: 0 3px 12px rgba(74, 137, 91, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 137, 91, 0.4);
  color: white;
}

/* Touches de rouge élégantes pour rappeler le logo */
.btn-action-red {
  background: linear-gradient(135deg, var(--accent-red), #e74c3c);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
}

.btn-action-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(192, 57, 43, 0.4);
  background: linear-gradient(135deg, #e74c3c, var(--accent-red));
}

/* Accent rouge pour certains éléments */
.accent-red {
  color: var(--accent-red);
}

.border-accent-red {
  border-color: var(--accent-red);
}

/* Badge avec accent rouge */
.badge-red {
  background: var(--accent-red);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Lien avec hover rouge élégant */
.link-red:hover {
  color: var(--accent-red);
  transition: color 0.3s ease;
}

/* Section divider avec accent vert */
.section-divider-red {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
  margin: 2rem auto;
  border-radius: 2px;
}

/* Responsive pour les boutons */
@media (max-width: 768px) {
  .btn-small {
    min-width: 200px;
    justify-content: center;
  }
}

/* Styles pour les réseaux sociaux dans le menu */
.social-links {
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border-top: 1px solid var(--border-dark);
}

.social-links h4 {
  color: var(--text-light);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.social-links a:hover {
  color: var(--primary-red);
  transform: translateX(5px);
}

.social-links .icon-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Améliorations générales du design */
.section-title-improved {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 3rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.content-box {
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  padding: 3rem;
  margin: 3rem 0;
  box-shadow: 0 10px 30px var(--shadow-dark);
  transition: all 0.3s ease;
}

.content-box:hover {
  border-color: var(--primary-red);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(212, 36, 42, 0.1);
}

/* Hero section */
.ikm-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
  padding: 4rem 0;
  min-height: 70vh;
}

.ikm-hero .content {
  flex: 1;
  min-width: 400px;
  max-width: 600px;
}

.ikm-hero .ikm-hero-svg {
  flex: 0 0 600px;
  width: 600px;
  height: 550px;
}

/* Typography améliorée */
.content {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
}

.content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--text-light);
  letter-spacing: -0.01em;
}

.content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

/* Amélioration des formulaires */
.ikm-contact-form {
  background: linear-gradient(135deg, rgba(42, 42, 42, 0.95) 0%, rgba(50, 50, 50, 0.95) 100%);
  border: 1px solid rgba(212, 36, 42, 0.2);
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 25px rgba(212, 36, 42, 0.15);
  backdrop-filter: blur(10px);
}

.ikm-contact-form input,
.ikm-contact-form textarea,
.ikm-contact-form select {
  background: var(--surface-dark);
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  font-size: 0.9rem;
  padding: 0.6rem;
  border-radius: 6px;
}

.ikm-contact-form label {
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 0.4rem;
  display: block;
  font-size: 0.85rem;
}

/* Amélioration de la section titre améliorée */
.section-title-improved {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

/* Amélioration des content-box */
.content-box {
  background: linear-gradient(135deg, var(--card-dark) 0%, #383838 100%);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 6px 20px var(--shadow-dark);
  transition: all 0.3s ease;
}

.content-box:hover {
  border-color: var(--primary-red);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 36, 42, 0.15);
}

/* Amélioration des animations et transitions */
* {
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

/* Design plus compact et élégant */
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0;
  justify-content: center;
}

/* Amélioration de la sidebar avec scrollbar sans décalage */
.ikm-sidebar {
  background: linear-gradient(180deg, var(--surface-dark) 0%, #252525 100%);
  border-right: 1px solid var(--border-dark);
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  overflow-y: auto;
  overflow-x: hidden;
  /* Scrollbar toujours présente mais transparente par défaut */
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

/* Firefox - scrollbar visible rouge au hover */
.ikm-sidebar:hover {
  scrollbar-color: var(--primary-red) rgba(0,0,0,0.1);
}

/* Webkit - scrollbar toujours présente avec largeur fixe */
.ikm-sidebar::-webkit-scrollbar {
  width: 6px; /* Largeur fixe pour éviter tout décalage */
  background: transparent;
}

.ikm-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.ikm-sidebar::-webkit-scrollbar-thumb {
  background: transparent; /* Invisible par défaut */
  border-radius: 3px;
  transition: background 0.3s ease;
}

/* Webkit - scrollbar visible au hover */
.ikm-sidebar:hover::-webkit-scrollbar-thumb {
  background: var(--primary-red);
}

.ikm-sidebar:hover::-webkit-scrollbar-thumb:hover {
  background: var(--primary-red-medium);
}

/* Contact info plus élégant */
.contact-info {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.85rem;
}

.contact-info .icon-svg {
  width: 16px;
  height: 16px;
  fill: var(--primary-teal);
}

/* Amélioration responsive pour mobile */
@media (max-width: 768px) {
  .content {
    font-size: 0.85rem;
  }
  
  .section-title-improved {
    font-size: 1.4rem;
  }
  
  .content-box {
    padding: 1.2rem 1rem;
    margin: 1rem 0;
  }
  
  .btn-small {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
  }
}

/* Force l'égalité des hauteurs pour les boxes de services */
.columns.is-multiline.no-stretch-columns {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.columns.is-multiline.no-stretch-columns .column {
  display: flex;
  align-items: stretch;
}

.columns.is-multiline.no-stretch-columns .service-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 320px; /* Hauteur fixe pour toutes les boxes */
}

/* Titre de page avec indicateur */
.page-title-indicator {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
}

.page-title-indicator::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-green-primary);
  border-radius: 2px;
}

.page-title-indicator::after {
  content: attr(data-section);
  position: absolute;
  top: -2.5rem;
  left: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Style pour le titre principal de section */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 40px;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--accent-orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

/* Styles pour les titres épurés - Version clean et moderne */
.section-header-clean {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title-clean {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
  position: relative;
  padding-bottom: 1rem;
}

.section-title-clean::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
  border-radius: 2px;
}

/* Version encore plus épurée pour une approche minimaliste */
.section-title-minimal {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 0 0 2rem 0;
  text-align: left;
  border-left: 4px solid var(--primary-green);
  padding-left: 1rem;
  letter-spacing: -0.01em;
}

/* Icônes des boutons */
.btn-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Espacement et disposition des boutons d'action */
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .action-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .btn-icon {
    width: 14px;
    height: 14px;
  }
}

/* Responsive pour l'animation SVG agrandie */
@media (max-width: 1200px) {
  .ikm-hero .ikm-hero-svg {
    flex: 0 0 500px;
    width: 500px;
    height: 450px;
  }
}

@media (max-width: 900px) {
  .ikm-hero .ikm-hero-svg {
    flex: 0 0 400px;
    width: 400px;
    height: 350px;
  }
}

@media (max-width: 768px) {
  .ikm-hero {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .ikm-hero .content {
    min-width: auto;
    max-width: 100%;
  }
  
  .ikm-hero .ikm-hero-svg {
    flex: 0 0 350px;
    width: 350px;
    height: 320px;  }
}

/* Classes pour la page d'accueil - remplaçant les styles inline */
.ikm-hero-title .hero-subtitle {
  font-size: 1.8rem !important;
  font-weight: 400 !important;
  color: var(--ikm-accent) !important;
  line-height: 1.3 !important;
}

.ikm-hero-description {
  font-size: 1.1rem !important;
  margin-bottom: 2rem !important;
  max-width: 550px !important;
  line-height: 1.6 !important;
  color: var(--text-light) !important;
}

/* Styles pour les éléments SVG avec animation-direction */
.simple-rotate.reverse-animation {
  animation-direction: reverse !important;
}

/* Classes pour les dégradés SVG */
.svg-modern-grad-stop-1 {
  stop-color: #4A895B !important;
  stop-opacity: 0.8 !important;
}

.svg-modern-grad-stop-2 {
  stop-color: #357a47 !important;
  stop-opacity: 0.6 !important;
}

.svg-accent-grad-stop-1 {
  stop-color: #c0392b !important;
  stop-opacity: 0.7 !important;
}

.svg-accent-grad-stop-2 {
  stop-color: #e67e22 !important;
  stop-opacity: 0.5 !important;
}

/* Amélioration de la navigation entre les sections */
.smooth-scroll {
  scroll-behavior: smooth;
}

/* Correction pour les liens de navigation - ancres */
[id] {
  scroll-margin-top: 2rem; /* Compense la hauteur du header fixe */
}

/* Amélioration de l'état actif des liens de navigation */
.nav-link.active {
  color: var(--primary-red) !important;
  font-weight: 600;
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-red);
  border-radius: 1px;
}

/* Titre de la page contact avec trait vert - positionné en dehors du container */
.contact-page-title {
  color: #f8f9fa;
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin: 2rem auto 3rem auto;
  position: relative;
  max-width: 1200px;
  overflow: hidden;
}

/* Formes décoratives pour le titre contact */
.contact-page-title::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 15%;
  width: 30px;
  height: 30px;
  background: rgba(74, 137, 91, 0.08);
  border-radius: 6px;
  transform: rotate(25deg);
  animation: contactTitleShape 12s ease-in-out infinite;
  z-index: -1;
}

.contact-page-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-green);
  border-radius: 2px;
}

/* Container de la page contact - simplifié pour centrer uniquement le formulaire */
.contact-page-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 300px);
  position: relative;
  overflow: hidden;  background: linear-gradient(135deg, 
      rgba(255, 255, 255, 0.06) 0%, 
      rgba(212, 36, 42, 0.08) 25%, 
      rgba(74, 137, 91, 0.06) 50%, 
      rgba(212, 36, 42, 0.08) 75%, 
      rgba(255, 255, 255, 0.06) 100%);
  background-size: 400% 400%;
  animation: contactGradientShift 10s ease-in-out infinite;
  border-radius: 16px;
}

/* Formes géométriques pour la page contact */
.contact-page-container::before,
.contact-page-container::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.contact-page-container::before {
  top: 8%;
  right: 10%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(74, 137, 91, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  animation: contactFloatShape1 14s ease-in-out infinite;
}

.contact-page-container::after {
  bottom: 12%;
  left: 15%;
  width: 70px;
  height: 70px;
  background: linear-gradient(45deg, rgba(212, 36, 42, 0.15), rgba(212, 36, 42, 0.08));
  transform: rotate(45deg);
  animation: contactFloatShape2 11s ease-in-out infinite reverse;
}

/* Assurer que le contenu reste au-dessus des formes */
.contact-page-container > * {
  position: relative;
  z-index: 1;
}

/* Classes pour remplacer les styles inline */
.hidden-field {
  display: none !important;
}

.contact-intro-text {
  max-width: 520px;
  text-align: center;
  margin: 0 auto 2rem auto;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-email-link {
  color: var(--primary-red);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Animation de rotation pour le spinner */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Animation subtile pour le fond de la section À propos */
@keyframes subtleGradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 50% 100%;
  }
  75% {
    background-position: 50% 0%;
  }
}

/* Animation pour le fond de la page contact */
@keyframes contactGradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  20% {
    background-position: 100% 20%;
  }
  40% {
    background-position: 80% 100%;
  }
  60% {
    background-position: 20% 80%;
  }
  80% {
    background-position: 100% 50%;
  }
}

/* Animations pour les formes géométriques de la page contact */
@keyframes contactFloatShape1 {
  0%, 100% {
    transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
    opacity: 0.8;
  }
  25% {
    transform: translateY(-20px) translateX(15px) scale(1.15) rotate(90deg);
    opacity: 1;
  }
  50% {
    transform: translateY(-10px) translateX(-10px) scale(0.85) rotate(180deg);
    opacity: 0.7;
  }
  75% {
    transform: translateY(15px) translateX(12px) scale(1.1) rotate(270deg);
    opacity: 0.9;
  }
}

@keyframes contactFloatShape2 {
  0%, 100% {
    transform: rotate(45deg) translateY(0px) translateX(0px) scale(1);
    opacity: 0.7;
  }
  30% {
    transform: rotate(75deg) translateY(12px) translateX(-15px) scale(1.2);
    opacity: 1;
  }
  60% {
    transform: rotate(15deg) translateY(-18px) translateX(18px) scale(0.8);
    opacity: 0.6;
  }
}

/* Animation pour la forme décorative du titre contact */
@keyframes contactTitleShape {
  0%, 100% {
    transform: rotate(25deg) translateY(0px) scale(1);
    opacity: 0.4;
  }
  33% {
    transform: rotate(45deg) translateY(-8px) scale(1.3);
    opacity: 0.7;
  }
  66% {
    transform: rotate(5deg) translateY(5px) scale(0.9);
    opacity: 0.3;
  }
}

/* Ajout d'une forme supplémentaire flottante pour la page contact */
.contact-page-container:before {
  /* Cercle supplémentaire en haut à gauche */
  content: '';
  position: absolute;
  top: 5%;
  left: 5%;
  width: 20px;
  height: 20px;
  background: rgba(212, 36, 42, 0.06);
  border-radius: 50%;
  animation: contactFloatShape3 16s ease-in-out infinite;
  z-index: 0;
}

@keyframes contactFloatShape3 {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-5px) translateX(8px);
    opacity: 0.6;
  }
  50% {
    transform: translateY(8px) translateX(-3px);
    opacity: 0.2;
  }
  75% {
    transform: translateY(-3px) translateX(5px);
    opacity: 0.5;
  }
}

.spinner-icon {
  animation: spin 1s linear infinite;
}

/* ========================================
   CAPTCHA STYLES - Formulaire de contact
   ======================================== */

.captcha-field {
    background: var(--ikm-surface) !important; /* Fond sombre harmonieux */
    border: 1px solid var(--ikm-border) !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin: 20px 0 !important;
    transition: all 0.3s ease !important;
}

.captcha-field:hover {
    border-color: var(--ikm-red) !important;
    box-shadow: 0 2px 8px rgba(212, 36, 42, 0.15) !important;
}

.captcha-question {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
}

.captcha-text {
    font-weight: 600 !important;
    color: var(--ikm-text) !important; /* Texte clair pour le thème sombre */
    font-size: 1.1em !important;
    margin: 0 !important;
}

.captcha-field .control input {
    max-width: 80px !important;
    text-align: center !important;
    font-weight: bold !important;
    background: var(--ikm-input-bg) !important; /* Fond d'input harmonieux */
    border: 2px solid var(--ikm-input-border) !important;
    color: var(--ikm-text) !important; /* Texte clair */
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    font-size: 1.1em !important;
}

.captcha-field .control input:focus {
    border-color: var(--ikm-red) !important;
    box-shadow: 0 0 0 0.2rem rgba(212, 36, 42, 0.25) !important;
    outline: none !important;
    background: #4d4d4d !important; /* Fond légèrement plus clair au focus */
}

.captcha-field .control input:valid {
    border-color: var(--ikm-success) !important; /* Vert pour succès */
}

.captcha-field .control input:invalid {
    border-color: #dc3545 !important;
}

.captcha-field .control input::placeholder {
    color: #888 !important;
    opacity: 1 !important;
}

/* ========================================
   HONEYPOTS - Protection anti-spam
   ======================================== */

.hidden-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  overflow: hidden !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ========================================
   CSS TRANSFÉRÉ DEPUIS INDEX.PHP - Styles inline déplacés
   ======================================== */

/* Variables CSS principales pour le thème */
:root {
  --ikm-red: #d4242a; /* Rouge principal - nouvelle couleur */
  --ikm-red-dark: #911F22; /* Rouge foncé pour les dégradés */
  --ikm-red-medium: #ad2a39; /* Rouge moyen pour les variantes */
  --ikm-green: #4A895B; /* Couleur secondaire verte */
  --ikm-light: #282828;
  --ikm-text: #f5f5f5; /* Texte plus doux */
  --ikm-background: #181818; /* Fond plus profond */
  --ikm-surface: #212121;
  --ikm-border: #3a3a3a;
  --ikm-shadow: rgba(0,0,0,0.12);
  --ikm-shadow-hover: rgba(212, 36, 42, 0.25);
  --ikm-card-bg: #282828;
  --ikm-form-bg: #333333;
  --ikm-input-bg: #404040;
  --ikm-input-border: #505050;
  --ikm-footer-text: #95a5a6;
  --ikm-accent: #4A895B; /* Vert secondaire */
  --ikm-accent-red: #d4242a; /* Rouge principal pour rappel */
  --ikm-accent-teal: #16a085; /* Teal pour diversifier */
  --ikm-success: #4A895B; /* Vert pour succès */
  
  /* Nouveaux dégradés rouge */
  --gradient-red-primary: linear-gradient(135deg, #d4242a, #ad2a39);
  --gradient-red-dark: linear-gradient(135deg, #ad2a39, #911F22);
  --gradient-red-intense: linear-gradient(135deg, #d4242a, #911F22);
  --gradient-red-hover: linear-gradient(135deg, #ad2a39, #7a1a1d);
}

/* Styles de base pour html et body */
html, body {
  background: var(--ikm-background);
  color: var(--ikm-text);
  font-family: 'Outfit', 'Inter', 'Montserrat Variable', 'Montserrat', Arial, sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

/* Logo principal */
.ikm-logo {
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--ikm-red);
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  text-decoration: none;
  text-shadow: 0 0 8px rgba(212, 36, 42, 0.3);
}

.ikm-logo:hover {
  color: var(--ikm-red-medium);
  text-shadow: 0 0 15px rgba(212, 36, 42, 0.6);
}

/* Styles des icônes SVG */
.icon-svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-right: 10px;
  flex-shrink: 0;
}

.icon-svg-large {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.service-icon-svg {
  width: 32px;
  height: 32px;
  fill: var(--ikm-red);
  margin-bottom: 12px;
}

/* Sidebar styling for desktop */
.ikm-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 300px;
  background: linear-gradient(180deg, var(--ikm-surface) 0%, #1f1f1f 100%);
  border-right: 1px solid var(--ikm-border);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 30;
  box-shadow: 4px 0 15px rgba(0,0,0,0.1);
}

.ikm-menu {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0 1rem;
}

.ikm-menu a {
  color: var(--ikm-text);
  font-size: 1.1rem;
  padding: 0.7em 1.2rem;
  border-radius: 0.4em 0 0 0.4em;
  transition: all 0.25s ease;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  display: flex;
  align-items: center;
  letter-spacing: 0.02em;
}

.ikm-menu a.active {
  background: var(--gradient-red-primary);
  color: #fff;
}

.ikm-menu a:hover {
  background: var(--gradient-red-dark);
  color: #fff;
  transform: translateX(5px);
}

.ikm-svg {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 5px rgba(212, 36, 42, 0.4));
}

.ikm-footer {
  font-size: 0.85rem;
  color: var(--ikm-footer-text);
  margin-top: auto;
  padding: 1.5rem 1rem 0.8rem 1rem;
  text-align: center;
  line-height: 1.5;
  padding-left: 1.5rem;
}

/* Styles pour les liens sociaux dans la sidebar */
.ikm-sidebar .social-links {
  text-align: center;
  margin-top: 1rem;
  padding-left: 0.5rem;
}

.ikm-sidebar .social-links h4 {
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ikm-text);
}

.ikm-sidebar .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ikm-footer-text);
  text-decoration: none;
  padding: 0.5rem;
  margin: 0.3rem 0;
  border-radius: 0.3rem;
  transition: all 0.25s ease;
  font-size: 0.85rem;
}

.ikm-sidebar .social-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--ikm-text);
}

/* Hamburger menu for mobile */
.ikm-navbar-mobile {
  display: none;
  width: 100%;
  background: var(--ikm-surface);
  border-bottom: 1.5px solid var(--ikm-border);
  z-index: 40;
  position: sticky;
  top: 0;
  left: 0;
}

.ikm-navbar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
}

.ikm-navbar-menu {
  display: none;
  flex-direction: column;
  background: var(--ikm-surface);
  width: 100%;
  transition: max-height 0.3s;
  border-bottom: 1.5px solid var(--ikm-border);
}

.ikm-navbar-menu.show {
  display: flex;
}

.ikm-navbar-menu a {
  color: var(--ikm-text);
  font-size: 0.95rem;
  padding: 0.8em 1rem;
  border-radius: 0.3em;
  transition: all 0.25s ease;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1.5px solid var(--ikm-border);
  display: flex;
  align-items: center;
}

.ikm-navbar-menu a.active,
.ikm-navbar-menu a:hover {
  background: var(--ikm-green);
  color: #fff;
}

/* Main content area */
.ikm-main-content {
  margin-left: 300px;
  padding: 4rem 3rem 2rem 3rem;
  min-height: 100vh;
  transition: margin 0.3s;
  width: calc(100% - 300px);
  background: var(--ikm-background);
  font-size: 1.1rem;
  line-height: 1.7;
}

.page-section {
  min-height: auto;
  margin-bottom: 8rem; /* Plus d'espace entre les sections */
  padding: 4rem 0; /* Plus de padding vertical */
}

@media (max-width: 1024px) {
  .ikm-main-content {
    padding: 1.5rem 0.5rem 1rem 0.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 800px) {
  .ikm-main-content {
    margin-left: 0;
  }
  .ikm-sidebar {
    display: none;
  }
  .ikm-navbar-mobile {
    display: block;
  }
}

/* Decorative SVG section dividers */
.ikm-svg-divider {
  width: 95px;
  margin: 1.7em 0 .7em 0;
  height: 8px;
  display: block;
}

/* Hero section */
.ikm-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.ikm-hero .content {
  flex: 3;
  min-width: 250px;
}

.ikm-hero .ikm-hero-svg {
  flex: 2;
  width: 100%;
  max-width: 600px;
  height: 550px;
}

.ikm-hero-title {
  font-size: 3.2rem;
  color: var(--ikm-text);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ikm-section-title {
  font-size: 2.4rem;
  color: var(--ikm-text);
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  text-align: center;
}

/* Suppression des anciens styles ikm-service-card - remplacés par service-box dans plus.css */
/* Désactive l'étirement des colonnes pour les services */
.no-stretch-columns {
  align-items: flex-start !important;
}

.no-stretch-columns .column {
  display: flex;
  flex-direction: column;
}

/* Styles pour les SVG dans le contenu des pages */
.content .service-box-icon {
  width: 48px;
  height: 48px;
  fill: var(--ikm-red);
  margin-bottom: 12px;
  flex-shrink: 0;
}

/* Styles pour les listes avec icônes dans les pages */
.content ul li svg {
  width: 16px;
  height: 16px;
  fill: var(--ikm-red);
  margin-right: 8px;
  flex-shrink: 0;
}

/* Pour que les éléments flex s'alignent correctement */
.content ul li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5em;
}

/* Formulaires - Mode sombre amélioré */
.ikm-contact-form {
  background: var(--ikm-form-bg);
  border-radius: 1em;
  border: 2px solid var(--ikm-red); /* Bordure rouge principale */
  max-width: 500px;
  padding: 2.1em 2em 1.2em 2em;
  margin: 2em 0;
  box-shadow: 0 4px 20px rgba(212, 36, 42, 0.15);
}

.ikm-contact-form input,
.ikm-contact-form textarea,
.ikm-contact-form select {
  background: var(--ikm-input-bg);
  border: 2px solid var(--ikm-input-border);
  color: var(--ikm-text);
  font-size: 1rem;
  padding: 0.75em;
}

.ikm-contact-form input::placeholder,
.ikm-contact-form textarea::placeholder {
  color: #888;
  opacity: 1;
}

.ikm-contact-form input:focus,
.ikm-contact-form textarea:focus,
.ikm-contact-form select:focus {
  background: #4d4d4d;
  border-color: var(--ikm-red);
  color: var(--ikm-text);
  box-shadow: 0 0 0 3px rgba(212, 36, 42, 0.2);
}

/* Labels de formulaire plus visibles */
.ikm-contact-form label {
  color: var(--ikm-text);
  font-weight: 600;
  margin-bottom: 0.5em;
  display: block;
}

.ikm-form-success {
  color: #4caf50;
  background: #1b5e20;
  border: 1.2px solid #2e7d32;
  border-radius: 6px;
  padding: 0.7em 1.1em;
  margin-bottom: 1.1em;
  font-weight: 600;
  font-size: 1.1em;
}

.ikm-form-error {
  color: #f44336;
  background: #5d1a1a;
  border: 1.1px solid #7f2929;
  border-radius: 6px;
  padding: 0.7em 1.1em;
  margin-bottom: 1.1em;
  font-weight: 600;
  font-size: 1.1em;
}

.ikm-form-btn {
  background: var(--gradient-red-primary);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  padding: 0.75em 1.5em;
  border-radius: 0.5em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 36, 42, 0.3);
}

.ikm-form-btn:hover,
.ikm-form-btn:focus {
  background: var(--gradient-red-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 36, 42, 0.5);
}

.ikm-about {
  max-width: 700px;
}

/* Accessibility: Focus for links */
a:focus {
  outline: none;
}

/* Styles spécifiques mode sombre pour Bulma */
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
  color: var(--ikm-text);
}

.content p, .content li {
  color: var(--ikm-text);
}

.input, .textarea, .select select {
  background-color: var(--ikm-input-bg) !important;
  border: 2px solid var(--ikm-input-border) !important;
  color: var(--ikm-text) !important;
  font-size: 1rem !important;
}

.input::placeholder, .textarea::placeholder {
  color: #888 !important;
  opacity: 1 !important;
}

.input:focus, .textarea:focus, .select select:focus {
  border-color: var(--ikm-red) !important;
  box-shadow: 0 0 0 3px rgba(212, 36, 42, 0.25) !important;
  background-color: #4d4d4d !important;
}

.label {
  color: var(--ikm-text) !important;
  font-weight: 600 !important;
}

.field .label {
  margin-bottom: 0.5em !important;
}

.button.is-white {
  background-color: var(--ikm-surface) !important;
  border: 2px solid var(--ikm-border) !important;
  color: var(--ikm-text) !important;
}

.button.is-white:hover {
  background-color: #484848 !important;
  border-color: var(--ikm-red) !important;
}

/* ========================================
   ANIMATIONS - Toutes les animations CSS
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 0.8;
  }
  50% { 
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0) rotate(0deg);
  }
  33% { 
    transform: translateY(-8px) rotate(1deg);
  }
  66% { 
    transform: translateY(4px) rotate(-1deg);
  }
}

@keyframes slide {
  0% { 
    transform: translateX(0) scaleX(1);
  }
  25% { 
    transform: translateX(15px) scaleX(1.1);
  }
  50% { 
    transform: translateX(-5px) scaleX(0.95);
  }
  75% { 
    transform: translateX(8px) scaleX(1.05);
  }
  100% { 
    transform: translateX(0) scaleX(1);
  }
}

@keyframes glow {
  0%, 100% { 
    filter: drop-shadow(0 0 5px rgba(229, 57, 53, 0.3));
  }
  50% { 
    filter: drop-shadow(0 0 20px rgba(229, 57, 53, 0.8));
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Nouveau design pour le SVG hero */
.ikm-hero-svg {
  width: 100%;
  max-width: 600px;
  height: 550px;
}

/* Animations pour le nouveau design */
@keyframes drawPath {
  0% {
    stroke-dasharray: 0 1000;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    stroke-dasharray: 1000 0;
    opacity: 1;
  }
}

@keyframes fillShape {
  0% {
    fill-opacity: 0;
    transform: scale(0.8);
  }
  100% {
    fill-opacity: 0.1;
    transform: scale(1);
  }
}

@keyframes floatGentle {
  0%, 100% { 
    transform: translateY(0) rotate(0deg);
  }
  50% { 
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes orbitalMotion {
  0% { 
    transform: rotate(0deg) translateX(30px) rotate(0deg);
  }
  100% { 
    transform: rotate(360deg) translateX(30px) rotate(-360deg);
  }
}

@keyframes pulseGlow {
  0%, 100% { 
    filter: drop-shadow(0 0 8px rgba(229, 57, 53, 0.4));
    opacity: 0.8;
  }
  50% { 
    filter: drop-shadow(0 0 25px rgba(229, 57, 53, 0.8));
    opacity: 1;
  }
}

@keyframes morphShape {
  0%, 100% { 
    d: path("M50 10 C80 10, 90 40, 60 60 C30 80, 10 50, 40 30 C50 20, 50 10, 50 10");
  }
  50% { 
    d: path("M50 15 C75 15, 85 35, 65 55 C35 75, 15 55, 35 35 C45 25, 50 15, 50 15");
  }
}

/* Application des animations au nouveau SVG */
.hero-main-shape {
  animation: drawPath 2s ease-out forwards, fillShape 1s ease-out 1.5s forwards, floatGentle 4s ease-in-out infinite 3s;
  stroke-dasharray: 0 1000;
  fill-opacity: 0;
  transform-origin: center;
}

.hero-orbit-1 {
  animation: orbitalMotion 8s linear infinite 2s;
  transform-origin: center;
}

.hero-orbit-2 {
  animation: orbitalMotion 12s linear infinite reverse 2.5s;
  transform-origin: center;
}

.hero-pulse-circle {
  animation: pulseGlow 3s ease-in-out infinite 1s;
  transform-origin: center;
}

.hero-accent-line {
  animation: drawPath 1.5s ease-out 0.5s forwards;
  stroke-dasharray: 0 500;
}

.hero-floating-dot {
  animation: floatGentle 3s ease-in-out infinite;
  transform-origin: center;
}

.hero-floating-dot:nth-child(2) {
  animation-delay: 1s;
  animation-duration: 4s;
}

.hero-floating-dot:nth-child(3) {
  animation-delay: 2s;
  animation-duration: 5s;
}

/* Application des animations */
.ikm-ellipse {
  animation: float 6s ease-in-out infinite;
  transform-origin: center;
}

.ikm-circle-big {
  animation: pulse 4s ease-in-out infinite, glow 3s ease-in-out infinite;
  transform-origin: center;
}

.ikm-circle-small {
  animation: bounce 2s ease-in-out infinite;
  transform-origin: center;
  animation-delay: 0.5s;
}

.ikm-bar {
  animation: slide 7s ease-in-out infinite;
  transform-origin: left center;
}

/* Animations pour les éléments de la page */
.ikm-hero {
  animation: fadeInUp 1s ease-out;
}

.ikm-hero-svg {
  animation: slideInRight 1.2s ease-out 0.3s both;
}

/* Suppression des styles pour ikm-service-card - utilisation des service-box maintenant */
.service-box-icon {
  transition: all 0.3s ease;
}

.service-box:hover .service-box-icon {
  transform: scale(1.1) rotate(5deg);
  animation: pulse 1s ease-in-out;
}

/* Animation des icônes du menu */
.icon-svg {
  transition: all 0.3s ease;
}

.ikm-menu a:hover .icon-svg,
.ikm-navbar-menu a:hover .icon-svg {
  transform: scale(1.2) rotate(10deg);
}

/* Animation du logo */
.ikm-logo img {
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.ikm-logo:hover img {
  transform: scale(1.1) rotate(-5deg);
  filter: drop-shadow(0 5px 15px rgba(229, 57, 53, 0.4));
}

/* Animation des boutons */
.ikm-form-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.ikm-form-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.ikm-form-btn:hover::before {
  left: 100%;
}

.ikm-form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 36, 42, 0.4);
}

/* Animation au scroll */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.page-section {
  animation: slideInFromLeft 0.8s ease-out;
}

/* Animation du titre hero */
.ikm-hero-title {
  background: linear-gradient(45deg, var(--ikm-red), var(--ikm-red-medium));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out 0.5s both;
}

/* Animation des dividers SVG */
.ikm-svg-divider {
  animation: slideInRight 0.8s ease-out;
}

.ikm-svg-divider path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLine 2s ease-out forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* Animation des éléments au focus */
a:focus,
button:focus {
  animation: pulse 0.5s ease-in-out;
}

/* Suppression des animations pour les champs de formulaire */
input:focus,
textarea:focus,
select:focus {
  animation: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Style focus simple pour les champs */
input:focus,
textarea:focus,
select:focus {
  border-color: var(--ikm-red);
  box-shadow: 0 0 0 2px rgba(212, 36, 42, 0.15);
  outline: none;
}

/* Réduire les animations sur mobile pour les performances */
@media (max-width: 768px) {
  .service-box:hover {
    transform: translateY(-4px) scale(1.01);
  }
  
  .ikm-logo:hover img {
    transform: scale(1.05) rotate(-3deg);
  }
}

/* Animation pour les utilisateurs préférant moins d'animations */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Animations simples pour le SVG héro */
@keyframes gentleFloat {
  0%, 100% { 
    transform: translateY(0);
    opacity: 0.7;
  }
  50% { 
    transform: translateY(-12px);
    opacity: 1;
  }
}

@keyframes softPulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 0.6;
  }
  50% { 
    transform: scale(1.1);
    opacity: 0.9;
  }
}

@keyframes smoothRotate {
  0% { 
    transform: rotate(0deg);
  }
  100% { 
    transform: rotate(360deg);
  }
}

@keyframes fadeInOut {
  0%, 100% { 
    opacity: 0.4;
  }
  50% { 
    opacity: 0.8;
  }
}

/* Application des animations simples */
.simple-circle {
  animation: gentleFloat 5s ease-in-out infinite;
}

.simple-pulse {
  animation: softPulse 6s ease-in-out infinite;
}

.simple-rotate {
  animation: smoothRotate 12s linear infinite;
}

.simple-fade {
  animation: fadeInOut 5s ease-in-out infinite;
}

/* Délais pour créer du mouvement */
.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1s; }
.delay-3 { animation-delay: 1.5s; }
.delay-4 { animation-delay: 2s; }
.delay-5 { animation-delay: 2.5s; }

/* Force l'égalité des hauteurs pour les service-box avec CSS Grid */
.columns.is-multiline.no-stretch-columns {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.columns.is-multiline.no-stretch-columns .column {
  display: contents;
}

.columns.is-multiline.no-stretch-columns .service-box {
  height: 100%;
  min-height: 320px;
}

@media (max-width: 768px) {
  .columns.is-multiline.no-stretch-columns {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .columns.is-multiline.no-stretch-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .columns.is-multiline.no-stretch-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}