/* ==========================
   Fonts
========================== */
@font-face {
    font-family: 'tanmoncheri';
    src: url(fonts/TAN-MONCHERI.otf);
    font-display: swap;
}

@font-face {
    font-family: 'hpsimplified_light';
    src: url(fonts/hpsimplified_light.ttf);
    font-display: swap;
}

/* ==========================
   Global Styles
========================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'hpsimplified_light', sans-serif;
}

a{
    color: black;
    background-color: #E1DC00;
    font-size: 20px;
    text-decoration: none;
    border-radius: 20px;
    padding: 20px;
    margin: 15px;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

a:hover {
    transform: scale(1.2);
}

a img{
  width: 40px;
  height: 40px;
}

/* ==========================
   Header & Navigation
========================== */

/* ===== HEADER ===== */
header {
    background-color: white;
    display: flex;
    align-items: center;          
    justify-content: space-between; 
    position: fixed;
    z-index: 999;
    width: 100%;
    top: 0;
    left: 0;
    padding: 0 20px; /* espace intérieur */
    box-sizing: border-box;
    height: 90px; /* fixe la hauteur du header */
}

/* ===== LOGO ===== */
.logo img {
    width: 250px;
    aspect-ratio: 2 / 1;
    height: auto;
    display: block;
    margin-top: 60px;
}

.logo a {
  border: none;
  background-color: transparent;
}

/* ===== LANGUES ===== */
.langues {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
    height: auto;
}

.langues a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #834594;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    margin: 0px;
}

.langues img {
    width: 100%;
    height: 100%;
    display: block;
}

/* ===== RESPONSIVE ===== */
.burger {
    display: none; 
}

.show {
  display: flex;
}

/* ===== RESPONSIVE MOBILE ===== */
@media screen and (max-width: 768px) {
  /* Masquer le menu classique */
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    position: absolute;
    top: 90px; /* hauteur de la nav */
    left: 0;
    padding: 10px 0;
    border-radius: 0 0 10px 10px;
    z-index: 100;
  }

  /* Afficher le menu burger */
  .burger {
    display: block;
    cursor: pointer;
    font-size: 28px;
    padding: 0 20px;
  }

  /* Liens verticaux dans le menu */
  nav ul li {
    width: 100%;
    text-align: center;
    margin: 5px 0;
  }

  nav ul li a {
    font-size: 20px;
    display: block;
    padding: 10px 0;
  }

  /* Dropdown dans le menu mobile */
  nav ul ul {
    position: static;
    background-color: transparent;
    border-radius: 0;
    padding-left: 15px;
  }

  nav ul li:hover ul,
  nav ul li:focus-within ul {
    display: block;
  }

  /* Afficher le menu quand on clique sur burger */
  nav ul.show {
    display: flex;
  }
}

/* ===== DROPDOWN ===== */
nav ul ul {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 5px;
}

nav ul li:hover ul {
    display: block;
    margin: 0;
}

/* ===== MENU ===== */
nav {
    flex: 1;               
    display: flex;
    justify-content: end; 
    align-items: center;
    min-height: 90px;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;              
}

nav a {
  display: inline-block;
    text-decoration: none;
    padding: 0;
    color: #000;
    transition: transform 0.3s ease, color 0.3s ease;
    font-size: 22px;
    position: relative;
    background-color: transparent;
    font-weight: 400;
}

nav a:hover {
    transform: scale(1.1);
    color: #834594;
}

nav > ul > li:last-child > a::after {
    content: none !important;
}

nav ul ul li a {
    display: block;
    padding: 0;  /* réduit la hauteur et largeur */
    font-size: 18px;    /* police plus petite */
    line-height: 1;   /* texte plus serré */
    color: #000;
    white-space: nowrap;
}
/* ==========================
   Sections
========================== */
section{
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding-top: 20px; */
    min-height: 300px;
    /* max-height: 900px; */
    margin-top: 35px;
    margin-bottom: 20px;
 }

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section1{
  align-items: end;
  padding-right: 30px;
  margin-left: 300px;
  min-height: 350px;
  background: url(images/fond.webp);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section1 img{
  width: 38px;
  height: auto;
}

/* ==========================
   Style global
========================== */

.section1 h1 {
  opacity: 1; /* texte visible immédiatement */
  transform: none; /* pas de décalage initial */
  font-family: 'tanmoncheri';
  font-size: 40px;
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 25px;
  margin-top: 100px;
  margin-bottom: 10px;
  text-align: end;
}

.section1 h1 > span {
  display: block;
  font-family: 'hpsimplified_light';
  font-size: 25px;  /* Remplace 1.25rem par 35px si tu préfères */
  font-weight: 400;
  color: white;
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.8s forwards ease-out;
  animation-delay: 1.1s;
  will-change: opacity, transform;
}

 h2{
   font-family: 'tanmoncheri';
   font-size: 25px;
   background: black;
   background-color: rgba(0, 0, 0, 0.7);
   color: white;
   padding: 20px;
   border-top: 40px;
   border-color:rgba(0, 0, 0, 0.7);
   border-radius: 20px;
   margin-top: 20px;
 }
 

 h3{
font-family: 'hpsimplified_light';
text-align: center;
margin: 0;
font-size: 30px;
 }

 h4{
   font-family: 'hpsimplified_light';
   text-align: center;
   margin: 0;
   font-size: 25px;
 }

 p, li ,ul{
   font-family: 'hpsimplified_light';
   text-align: justify;
   font-size: 17px;
 }

 a{
   display: inline-flex;
   align-items: center;
   color: black;
   background-color: #E1DC00;
   font-family:hpsimplified_light;
   font-size: 20px;
   text-decoration: none;
   border-radius: 20px;
   padding: 13px;
   margin: 15px;
   gap: 8px;
 }

 li{
    list-style: none;
    margin: 10px;
    font-size: 20px;
    font-weight: 600;
 }

 /* ==========================
   Formulaire
========================== */

.form-images-wrapper {
  display: flex;
  gap: 40px;               
  align-items: flex-start; /* aligne le haut de l'image et du formulaire */
  margin: 0 auto;
  padding: 0;
  flex-wrap: wrap;         /* permet le retour à la ligne sur mobile */
}

/* Bloc image */
.form-images-wrapper img {
  flex: 1 1 300px;         /* prend minimum 300px, mais peut s'étendre */
  max-width: 400px;        /* limite la largeur max */
  height: auto;
  margin: 0;
}

/* Section globale */
.sform {
  max-width: 1200px;       /* plus large pour caser image + form */
  margin: 0 auto;
  padding: 40px;
}

/* Bloc formulaire */
.sform form {
  flex: 1 1 400px;         /* prend l’espace restant, min 400px */
  margin: 0;               /* supprime le margin-left qui cassait l’alignement */
  display: flex;
  flex-direction: column;
  gap: 15px;
}


.rgpd label{
   text-align: justify;
}

textarea, input{
   font-family: 'hpsimplified_light'; 
   border-radius: 5px;
   border: none;
   width: 100%;
   min-width: 95%;
   max-width: 95%;
   height: 25px;
   margin-top: 10px;
   background-color: #E1DC00;
   color: #000;
}

textarea {
   height: 150px;
   color: black;
}   

label{
   font-size: 20px;
   font-family: hpsimplified_light;
   color: black;
 }

 button{
   background-color: #E1DC00;   
  color: #000;                 
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: inline-block;       /* reste aligné à gauche */
}

/* Effet hover */
button:hover {
  background-color: #834594;   /* violet */
  transform: scale(1.3);       /* zoom avant */
}

 .sform div p{
   max-width: 600px;
   margin-top: 20px;
   font-weight: bold;
   font-size: 22px;
 }

 .links a{
   background-color: #fff;
   margin: 0;
   min-width: 50px;
   padding: 10px;
 }

select {
  background-color: #E1DC00; /* vert */
  color: #000;              /* texte noir */
  border: none;
  padding: 10px 15px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  appearance: none;          /* supprime le style natif (selon navigateur) */
}

select option {
  background-color: #834594;    
  color: #fff;               
}

/* ==========================
   Classes
========================== */
.btn img{
  width: 38px;
  height: auto;
}


.profile-container {
  display: flex;
  flex-direction: row;          
  align-items: center;                               
  padding: 20px;
  width: 1200px;    
  margin: 0 auto;
}

.profile-container img{
  width: 90%;
}

.profile-container a{
  width: 50px;
  height: auto;
  background-color: #fff;
  padding: 0;
  margin: 0px;
}

.profile-container h3{
  text-align: start;
  margin: 20px;
}

.plargeur{
   width: 800px;
   margin: 20px;
}

.portfolio{
   display: flex;
   justify-content: center;
   flex-wrap: wrap;
   max-width: 1200px;
}

.portfolio a{
   background-color: transparent;
   padding: 0;
   margin: 0;
}

.portfolio img{
   margin: 20px;
   width: 300px;
   height: auto;
   padding: 0;
   border-radius: 20px;
   filter: drop-shadow(13px 13px 10px rgba(0, 0, 0, 0.7));
}

.portfolio h3{
   font-size: 25px;
   border-color:rgba(0, 0, 0, 0.7);
   border-radius: 20px;
   padding: 10px;
   color: white;
   background: black;
   background-color: rgba(0, 0, 0, 0.7);
   margin-top: 50px;
   margin: 20px;
}

.expert, .services{
   display: grid; /* Grille pour aligner les services */
   grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
   gap: 20px;
   min-width: 1300px;
   margin: 0 auto;
   padding: 20px;
}  

.expert > div {
   text-align: center;
   margin: 40px;
   width: 250px;
   padding: 15px;
}

.expert img {
   display: block;
   margin: 0 auto;
   max-width: 95%;
   height: 150px;
   margin-bottom: 20px;
}

.services div{
  display: flex; 
  align-items: center;              
  flex-direction: column;      
   margin-top: 10px;
   margin-bottom: 10px;
   max-width: 600px;
   background: #fff;              
   padding: 5px;
   border-radius: 12px;            
   box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* Ombre douce */
   text-align: center;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services .scroll-animate .counter {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #E1DC00; 
    border-radius: 8px;          
    font-weight: bold;
    font-size: 1.5rem;
    color: #000000;             
    margin-top: 0.5rem;
}

.services div img{
  border-radius: 20px;
  filter: drop-shadow(rgba(0, 0, 0, 0.7) 6px 6px 4px);
  margin: 20px;
}

.services div a{
   padding: 8px 15px;
   background-color: #E1DC00;
   text-decoration: none;
   border-radius: 8px;
   transition: background 0.3s ease;
}


.services a:hover{
  background-color: #834594;
  color: #fff;
}

.projet{
   background :url(images/transition2.webp);
   background-size: cover;
    background-position: center;
    padding: 0px;
    margin: 0;
    display: flex;
    flex-direction: column; /* empile h3 et a */
   align-items: center;    /* centre horizontalement */
   text-align: center;     /* centre le texte du h3 */
   min-height: 400px;
}

.projet a {
  display: inline-flex;
  align-items: center;
  padding: 0.70rem 1rem;
  gap: 10px;
  background-color: rgba(0,0,0,0.7); /* bouton lisible sur l'image */
  color: #fff;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
  max-width: 100%;       /* empêche de déborder */
}

.projet a:hover {
  background-color: #834594 !important;
  color: #fff !important;
}

.projet h3{
   padding-top: 50px;
   max-width: 900px;
}

.collab >div{
   display: flex;
   flex-direction: row;
   margin: 10px;
}

.collab > div > div{
   max-width: 300px;
   text-align: center;
   min-height: 150px;
   margin: 25px;
}

svg{
   width: 80px;
   height: auto;
   text-align: center;
}

.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-start;
  margin-bottom: 40px;
}

.projects-grid article {
  flex: 1 1 calc(33.333% - 2rem);
  max-width: calc(33.333% - 2rem);
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.projects-grid article a {
  margin-top: auto; /* pousse le bouton vers le bas */
  align-self: flex-start; /* ou center / flex-end selon ton besoin */
}

.projects-grid article p {
  min-height: 150px; /* ajuste selon la longueur moyenne de tes textes */
  margin-bottom: 1rem; /* garde un espace avant le bouton */
}

.projects-grid article div:first-child {
  background: linear-gradient(135deg, #E1DC00 0%, #fff 100%);
  min-height: 150px;
  display: flex;           
  align-items: center;     
  justify-content: center;
}

.project-image {
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #E1DC00;
}

.project-category {
    background: #834594;
    color: #fff ;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin: 20px 0 30px 0;
}

 /* Testimonials SEO */
.testimonials-grid {
  display: flex;
  overflow: hidden; /* cache ce qui dépasse */
  width: 100%;
  margin: 20px;
}

.carousel-track {
  display: flex; 
  gap: 20px;
  animation: scroll 10s linear infinite; /* animation auto */
}

@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* décale la moitié car on duplique les éléments */
}

.testimonial-card {
  flex: 0 0 350px;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid #E1DC00;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.testimonial-card::before {
    content: '"';
    font-size: 4rem;
    color: #834594;
    position: absolute;
    top: -5px;
    left: 20px;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    padding-left: 25px;
    color: #000;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 25px;
}

/* ==========================
   Footer
========================== */
 footer{
   background-color: #834594;
   display: flex;
   flex-direction: row;
   justify-content: space-evenly;
   color: white;
   margin-top: 25px;
   padding-top: 10px;
}

footer > div{
   display: flex;
   flex-direction: column;
   align-items: center;

}

footer a{
   border: none ;
   padding: 0;
   margin: 0;
   background-color: transparent;
   color: #fff;
}

.picto{
   width: 50px;
   height: auto;
}

.reseau{
   display: flex;
   flex-direction: column;
}

/* ==========================
   Animations
========================== */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

/* Classe activée par le JS */
.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
  padding: 20px;
}

/* Optionnel : décalage progressif pour effet cascade */
.expert > div:nth-child(1) {
  transition-delay: 0.2s;
}
.expert > div:nth-child(2) {
  transition-delay: 0.4s;
}
.expert > div:nth-child(3) {
  transition-delay: 0.6s;
}

/* ==========================
   Caroussel Portfolio 
========================== */
.slider {
  position: relative;
  overflow: hidden;
}
/* Styles pour le conteneur du slider */
.slider-container {
  position: relative;
  max-width: 820px;
  width: 100%;
  height: 800px; /* ou ajustable via JS */
  overflow: hidden; /* empêche les images absolues de dépasser */
  margin: 20px;
}

/* Styles pour les images du slider */
.slider-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  transition: opacity 1s ease-in-out;
  z-index: 0; /* bien derrière */
}

/* Styles pour les boutons précédent et suivant */
.slider-button {
  position: absolute;
  top: 50%;              /* centre verticalement */
  transform: translateY(-50%); /* ajuste pour centrer pile au milieu */
  cursor: pointer;
  padding: 10px;
  background-color: rgba(51, 51, 51, 0.6);
  color: #fff;
  border: none;
  outline: none;
  z-index: 1000; /* garanti devant */
  border-radius: 50%;
}


.slider-button.prev {
  left: 20px;
}

.slider-button.next {
  right: 20px;
}

#popup, #pop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    font-size: 200%;
}

  @media (min-width: 768px) {
    section#apropos {
      grid-template-columns: 1fr 1fr;
      .steps 
    }
  }

  .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 2rem auto;
  max-width: 1200px;
}

.step {
   box-shadow: 0 6px 18px rgba(0,0,0,.2);
   background: rgba(0, 0, 0, 0.7);
   text-align: center;
   border-radius: .5rem;
   color: #ffffff;
   padding: 20px;
   transition: all 0.3s ease; 
   margin: 0;
}

.step img{
  width: 50px;
  height: auto;
}

.step:hover {
   background: #E1DC00;
   color: #000000; /* couleur du texte au survol */
   box-shadow: 0 8px 20px rgba(0,0,0,.3); /* léger effet d'ombre */
}

@media (prefers-reduced-motion: no-preference) {
  h1 {
    animation: fadeSlideUp 0.8s forwards ease-out;
    animation-delay: 0.3s;
  }
}

/* ==========================
   Caroussel PA 
========================== */
/* Conteneur du carrousel */
.carousel1 {
  width: 100vw;           /* largeur = écran */
  overflow: hidden;       /* masque le reste */
  box-sizing: border-box;
  margin: 15px;
}

/* Track des images */
.carousel-track {
  display: flex;
  width: max-content;     /* s’adapte à toutes les images */
  animation: scroll 20s linear infinite;
}

/* Images du carrousel */
.carousel-track img {
  width: 250px;
  height: 250px;
  flex-shrink: 0;
  margin-right: 20px;     /* espace entre images */
}

/* Animation défilement */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* défilement sur la moitié du track pour boucle continue */
}

 /* ==========================
   Page apropos
========================== */

.row-container {
  display: flex;               /* active flexbox */
  flex-direction: row;          /* aligne horizontalement (par défaut) */
  align-items: center;          /* centre verticalement image et texte */
  gap: 30px;                    /* espace entre l’image et le texte */
  margin: 40px 0;
}

.row-container img {
  max-width: 250px;             /* limite la taille de l’image */
  height: auto;                 /* garde les proportions */
  border-radius: 20px;          /* coins arrondis (optionnel) */
}

.row-container div:last-child {
  max-width: 600px;   /* largeur maximale du texte */
  text-align: left;   /* texte aligné à gauche */
}

.grid-container {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   gap: 40px;
   margin: 40px 0;
  max-width: 1200px;
  margin: 40px auto;
}


.grid-container > div {
  background: #fff;             /* fond blanc */
  border-radius: 15px;
  padding: 30px;                /* espace à l'intérieur du carré */
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-container > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  background-color: #E1DC00;
}

.grid-container img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

.section-gauche-droite {
    display: flex;               /* active le mode flex */
    align-items: center;         /* aligne verticalement le contenu */
    justify-content: space-between; /* espace entre le texte et l'image */
    gap: 2rem;                   /* espace entre les colonnes */
    flex-wrap: wrap;             /* permet de passer en vertical sur petit écran */
}

/* ==========================
   FAQ
========================== */

.faq-answer {
  display: block;          /* important pour scrollHeight */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding-top: 0;
  padding-bottom: 0;
  background-color: #834594; /* couleur de fond par défaut */
  color: #fff;
}

.faq-answer p{
  margin-left: 10px;
}

.faq-toggle {
  display: inline-block;
  margin-left: 10px;
  font-weight: bold;
  cursor: pointer;
}

.faq-item {
  background: #834594;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  margin: 20px;      
  overflow: hidden;
  transition: all 0.3s ease;
  box-sizing: border-box; 
  width: 95%;           /* prend toute la largeur disponible */

}

.faq-item:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transform: scale(1.03);
}

.faq-question {
  padding: 20px 25px;
  cursor: pointer;
  background: white;
  display: flex;
  justify-content: space-between; 
  align-items: center;
}

/* ==========================
   PAGE IDENTITE VISUELLE
========================== */
.identitevi {
  display: flex;
  flex-direction: row;
}

.identitevi img{
  width: 150px;
  height: auto;
}

.identity p{
  background-color: #834594;
  font-size: 20px;
  border-radius: 20px;
  padding: 10px;
  color: white;
  margin-top: 50px;
  margin-left: 20px;
  margin-right: 20px;
  text-align: center;
}

/* ==========================
   services web
========================== */
 /* Services Types Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 4 cartes max par ligne, auto-wrap */
    gap: 20px;
    margin: 20px;
    width: 97%;
    box-sizing: border-box;
}

.service-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;

    display: flex;               /* Flex interne */
    flex-direction: column;      /* Empile les éléments verticalement */
    justify-content: space-between; /* Espace entre h3/p et le bouton */
    align-items: center;
}


.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #834594 0%, #834594 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.service-card p {
    min-height: 90px; /* Ajuste cette valeur selon le design */
}

.service-card h3 {
    font-size: 25px;
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #834594;
}

.service-card img{
  max-width: 100px;
  margin: 20px;
}


/* Responsive pour tablettes */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

/* Responsive pour mobiles */
@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr; /* une carte par ligne */
    }

    .service-card {
        padding: 25px;
    }
}