/* ========================================
   PAGE SERVICES - STYLES DÉDIÉS
   ======================================== */

.adux-services-template-page {
  /* Styles pour la page services */
}

.adux-services-pro-hero {
  position: relative;
  min-height: 50vh;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 80px 0;
  color: white;
  overflow: hidden;
  background-blend-mode: multiply;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  box-sizing: border-box;
}

/* Container et contenu pour services hero */
.adux-services-pro-hero .adux-hero-container {
  position: relative;
  max-width: 1200px;
}

/* Responsive mobile - hauteur réduite */
@media (max-width: 768px) {
  .adux-services-pro-hero {
    min-height: 60vh;
    padding: 30px 0;
  }
}

@media (max-width: 480px) {
  .adux-services-pro-hero {
    min-height: 50vh;
    padding: 20px 0;
  }
}

.adux-services-pro-hero[data-has-bg="true"] {
  background: linear-gradient(90deg, 
      rgba(229, 65, 62, 0.98) 40%, 
      rgba(44, 47, 50, 0.99) 40%
  ), var(--hero-bg) center/cover;
}

.adux-services-pro-hero[data-has-bg="false"] {
  background: linear-gradient(90deg, 
      #E5413E 40%, 
      #2C2F32 40%
  );
}

/* Section Services */
.adux-services-section {
    background-color: #f8f9fa;
    background-image: url('../images/adux-banner-motif-1.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: auto 50%;
    background-attachment: fixed;
    padding: 80px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.adux-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.adux-services-pro-hero .adux-hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 5;
}


.adux-services-header {
    text-align: center;
    margin-bottom: 60px;
}

.adux-services-header h2 {
    color: #E5413E;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'sweet-sans-pro', sans-serif;
    text-transform: uppercase;
}

.adux-services-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'sweet-sans-pro', sans-serif;
    line-height: 1.6;
}

/* Grille des services */
.adux-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
    max-width: 100%;
}

/* CORRECTION SPÉCIFIQUE : Grille 3 colonnes pour les autres services */
.adux-other-services-section .adux-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1160px; /* 1200px - padding */
    margin: 0 auto;
}

/* Cartes services */
.adux-service-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 80%;
    display: flex;
    flex-direction: column;
}

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

.adux-service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.adux-service-image-default {
    background: linear-gradient(135deg, #E5413E 0%, #c73631 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.adux-service-icon {
    font-size: 3rem;
    color: white;
    text-align: center;
}

.adux-service-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.adux-service-title {
    font-family: 'sweet-sans-pro', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.adux-service-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.adux-service-title a:hover {
    color: #E5413E;
}

.adux-service-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    font-family: 'sweet-sans-pro', sans-serif;
    font-size: 0.95rem;
}

.adux-service-link {
    display: inline-block;
    background: #E5413E;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background 0.3s ease;
    align-self: flex-start;
    font-family: 'sweet-sans-pro', sans-serif;
}

.adux-service-link:hover {
    background: #c73631;
    color: white;
}

.adux-no-services {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
}

.adux-no-services p {
    font-family: 'sweet-sans-pro', sans-serif;
    color: #666;
    font-size: 1.1rem;
}

/* Hover cartes services */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important;
}

.service-card:hover .btn {
    background: #E5413E !important;
    color: #fff !important;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .adux-services-section {
        padding: 60px 0;
    }
    
    .adux-services-header h2 {
        font-size: 2rem;
    }
    
    .adux-services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 20px;
        margin-bottom: 40px;
    }
    
    .adux-service-card {
        margin-bottom: 20px;
    }
    
    .adux-service-image {
        height: 120px;
    }
    
    .adux-service-content {
        padding: 20px;
    }
    
    .adux-service-title {
        font-size: 1.1rem;
    }
    
    .adux-service-excerpt {
        font-size: 0.9rem;
    }
    
    .service-card {
        text-align: center;
    }
    
    .adux-hero-title {
        font-size: 2rem !important;
    }
    
    .adux-hero-marker {
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .adux-services-section {
        padding: 40px 0;
    }
    
    .adux-services-header h2 {
        font-size: 1.8rem;
    }
    
    .adux-services-grid {
        gap: 25px !important;
        margin-bottom: 30px;
    }
    
    .adux-service-image {
        height: 100px;
    }
    
    .adux-service-content {
        padding: 15px;
    }
    
    .adux-service-title {
        font-size: 1rem;
    }
}

/* ========================================
   SECTION AUTRES SERVICES
   ======================================== */

.adux-other-services-section {
    background: #ffffff;
    padding: 80px 0;
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100%;
}

/* CORRECTION : Forcer le container à respecter la largeur parent */
.adux-other-services-section .adux-container {
    max-width: 100% !important;
    padding: 0 20px !important;
    margin: 0 !important;
}

.adux-other-services-header {
    text-align: center;
    margin-bottom: 60px;
}

.adux-other-services-header .adux-section-title {
    font-family: 'sweet-sans-pro', sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    color: #2C2F32;
    font-size: 2.2rem;
    margin: 0;
    letter-spacing: -1px;
    line-height: 1.2;
}

/* Responsive pour la section autres services */
@media (max-width: 1024px) {
    .adux-other-services-section .adux-services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .adux-other-services-section {
        padding: 60px 0;
        max-width: 95% !important; /* Marge mobile */
    }
    
    .adux-other-services-section .adux-services-grid {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
        gap: 20px;
        max-width: 100%;
    }
    
    .adux-other-services-header .adux-section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .adux-other-services-section {
        padding: 40px 0;
    }
    
    .adux-other-services-header .adux-section-title {
        font-size: 1.6rem;
    }
}

