/**
 * ADUX Services Template - Frontend CSS
 * 
 * CSS qui connecte le plugin avec les classes ADUX authentiques
 * Optimisé pour la performance et le responsive
 * 
 * @package AduxServicesTemplate
 * @version 1.0.0
 */

/* ==========================================================================
   Variables CSS héritées du thème ADUX
   ========================================================================== */

/* Override du 500vh de .services-content pour la page services - evite conflit avec front-adux.css */
.adux-services-template-page .services-content.services-page-content {
    height: auto !important;
    min-height: auto !important;
    margin-bottom: 0 !important;
}

/* Styles pour les titres des onglets services - hierarchie correcte H3 > H4 > P - SPECIFITÉ MAXIMALE */
.adux-services-template-page .services-content.services-page-content .service-content h3.adux-service-title {
    color: #E5413E !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.adux-services-template-page .services-content.services-page-content .service-content h4.adux-service-subtitle {
    color: #E5413E !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    line-height: 1.4 !important;
}

/* BACKUP - Si les classes ne marchent toujours pas, ciblage par ID */
.adux-services-template-page h3[class*="adux-service-title"],
.adux-services-template-page h4[class*="adux-service-subtitle"] {
    color: #E5413E !important;
}

/* Force TOUS les H4 dans la section services à être rouge - capture les H4 sans classe */
.adux-services-template-page .services-content h4,
.adux-services-template-page .services-content .service-content h4,
.adux-services-template-page #adux-services-numeriques h4 {
    color: #E5413E !important;
}

/* Style pour le texte des onglets services - TEXTE BLANC */
.adux-services-template-page .service-content .adux-service-text {
    font-family: 'sweet-sans-pro', sans-serif;
    font-weight: 400;
    color: #fff !important;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   ANIMATIONS ET EFFETS - CSS déplacé depuis JavaScript pour performance
   ========================================================================== */

/* Animation d'entrée pour les sections */
.adux-section-content.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.8s ease-out !important;
}

/* Effet hover pour les témoignages */
.adux-temoignages-wrapper .slider-wrap.hover-effect {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(229, 65, 62, 0.25);
    transition: all 0.3s ease;
}

/* Focus pour l'accessibilité */
.keyboard-focus {
    outline: 2px solid var(--adux-primary) !important;
    outline-offset: 2px !important;
}

/* Scroll mobile optimisé */
.mobile-scroll {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Animation in-view pour les sections et pages services */
.adux-section-content.in-view,
.adux-temoignages-wrapper.in-view,
.services-page-content.in-view {
    animation: slideInUp 0.6s ease-out forwards;
}

/* Keyframes pour l'animation slideInUp */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================================================== */
/* SECTION CTA - Styles déplacés depuis inline pour performance et responsive
========================================================================== */

.adux-services-template-page #adux-cta.section-pad.adux-fullwidth {
    background: linear-gradient(135deg, #E5413E 0%, #C73530 100%);
    padding: 80px 0;
    color: white;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    text-align: center;
}

.adux-services-template-page #adux-cta .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.adux-services-template-page #adux-cta h2[itemprop="name"] {
    font-family: 'sweet-sans-pro', sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.adux-services-template-page #adux-cta p[itemprop="description"] {
    font-family: 'sweet-sans-pro', sans-serif;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.adux-services-template-page #adux-cta .adux-cta-button {
    display: inline-block;
    background: #fff;
    color: #E5413E;
    padding: 18px 40px;
    font-family: 'sweet-sans-pro', sans-serif;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 0px 0px 25px 0px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 40px;
}

.adux-services-template-page #adux-cta .adux-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
    color: #E5413E;
}

/* Responsive CTA */
@media (max-width: 991px) {
    .adux-services-template-page #adux-cta.section-pad.adux-fullwidth {
        padding: 60px 0;
    }
    
    .adux-services-template-page #adux-cta .container {
        padding: 0 30px;
    }
    
    .adux-services-template-page #adux-cta h2[itemprop="name"] {
        font-size: 2.2rem;
    }
    
    .adux-services-template-page #adux-cta p[itemprop="description"] {
        font-size: 16px;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .adux-services-template-page #adux-cta.section-pad.adux-fullwidth {
        padding: 50px 0;
    }
    
    .adux-services-template-page #adux-cta .container {
        padding: 0 20px;
    }
    
    .adux-services-template-page #adux-cta h2[itemprop="name"] {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .adux-services-template-page #adux-cta p[itemprop="description"] {
        font-size: 15px;
        margin-bottom: 25px;
        max-width: 100%;
    }
    
    .adux-services-template-page #adux-cta .adux-cta-button {
        padding: 15px 30px;
        font-size: 13px;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .adux-services-template-page #adux-cta.section-pad.adux-fullwidth {
        padding: 40px 0;
    }
    
    .adux-services-template-page #adux-cta .container {
        padding: 0 15px;
    }
    
    .adux-services-template-page #adux-cta h2[itemprop="name"] {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .adux-services-template-page #adux-cta p[itemprop="description"] {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .adux-services-template-page #adux-cta .adux-cta-button {
        padding: 12px 25px;
        font-size: 12px;
        margin-top: 25px;
    }
}

.adux-services-template-page .services-content.services-page-content h5.adux-service-subtitle {
    color: #E5413E !important;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}

.adux-services-template-page {
    --plugin-aduxred: var(--aduxred, #E5413E);
    --plugin-aduxdark: var(--aduxdark, #2C2F32);
    --plugin-aduxlight: var(--aduxlight, #F2F5F7);
    --plugin-aduxgris: var(--aduxgris, #969799);
    --plugin-text: var(--text, #424243);
    --plugin-sweetsans: var(--sweetsans, 'sweet-sans-pro', sans-serif);
    --plugin-bold: var(--bold, 800);
    --plugin-medium: var(--medium, 700);
    --plugin-regular: var(--regular, 600);
    --plugin-heavy: var(--heavy, 900);
}

/* ==========================================================================
   Layout et conteneurs
   ========================================================================== */

.adux-services-template-page {
    font-family: var(--plugin-sweetsans);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

.adux-services-template-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.adux-services-template-page .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.adux-services-template-page .col-md-4,
.adux-services-template-page .col-md-6,
.adux-services-template-page .col-md-8,
.adux-services-template-page .col-md-12 {
    padding: 0 15px;
    flex: 1;
}

.adux-services-template-page .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.adux-services-template-page .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.adux-services-template-page .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.adux-services-template-page .align-items-center {
    align-items: center;
}

.adux-services-template-page .text-center {
    text-align: center;
}

/* ==========================================================================
   Typography et éléments de base
   ========================================================================== */

.adux-services-template-page .img-fluid {
    max-width: 100%;
    height: auto;
}

.adux-services-template-page .adux-boxshadow {
    box-shadow: 0 20px 38px rgba(0,0,0,.16) !important;
}

/* Classe section-pad héritée d'ADUX */
.adux-services-template-page .section-pad {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

/* Classes d'icônes héritées d'ADUX */
.adux-services-template-page .adux-icon-subtitle {
    display: table;
}

.adux-services-template-page .adux-icon-subtitle.centered {
    display: flex;
}

.adux-services-template-page .adux-icon-subtitle.centered .wpb_wrapper {
    margin: auto;
}

.adux-services-template-page .adux-icon-subtitle span,
.adux-services-template-page .adux-icon-subtitle h3,
.adux-services-template-page .adux-icon-subtitle h4 {
    display: table-cell;
}

/* Séparateur ADUX */
.adux-services-template-page .adux-separator {
    width: 50px !important;
    padding: 10px 0px;
    height: 3px;
    background-color: var(--plugin-aduxred);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.adux-services-template-page #adux-hero-services {
    position: relative;
    overflow: hidden;
    color: #fff;
    background-blend-mode: multiply !important;
}

.adux-services-template-page #adux-hero-services .adux-hero-content {
    z-index: 2;
    position: relative;
}

.adux-services-template-page .adux-hero-title {
    font-family: var(--plugin-sweetsans);
    text-transform: uppercase;
    font-weight: var(--plugin-heavy);
    color: #fff;
    margin: 0;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* ==========================================================================
   Hero Section - Services Template
   ========================================================================== */

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

}

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

.adux-services-pro-hero[data-has-bg="false"] {
    background: linear-gradient(90deg, 
        var(--plugin-aduxred) 40%, 
        var(--plugin-aduxdark) 40%
    );
}

/* Styles pour les titres du hero */
.adux-services-pro-hero .adux-hero-h2,
.adux-services-pro-hero .adux-hero-h2-2 {
    font-family: var(--plugin-sweetsans);
    text-transform: uppercase;
    color: #fff;
    font-weight: var(--plugin-bold);
    font-size: 1.8rem;
    line-height: 1.1;
    margin: 25px 0 5px 0;
    letter-spacing: -0.5px;
}

.adux-services-pro-hero .adux-hero-h3 {
    font-family: var(--plugin-sweetsans);
    text-transform: uppercase;
    color: #fff;
    font-weight: var(--plugin-regular);
    font-size: 1rem;
    line-height: 1.3;
    margin: 20px 0 0 0;
    letter-spacing: 1px;
    opacity: 0.9;
}

.adux-services-pro-hero .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adux-services-pro-hero .adux-side-text {
    font-family: var(--plugin-sweetsans);
    font-weight: var(--plugin-bold);
    font-size: 4rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
    text-align: left;
}

/* ==========================================================================
   Sections de contenu
   ========================================================================== */

.adux-services-template-page .adux-section-title {
    font-family: var(--plugin-sweetsans);
    text-transform: uppercase;
    font-weight: var(--plugin-heavy);
    color: var(--plugin-text);
    line-height: 1.2;
    margin-bottom: 10px;
}

.adux-services-template-page .adux-section-subtitle {
    font-family: var(--plugin-sweetsans);
    text-transform: uppercase;
    font-weight: var(--plugin-heavy);
    color: var(--plugin-text);
    line-height: 1.2;
}

.title-with-icon {
    display: flex;
   
    gap: 10px;
}

.title-with-icon img {
    height: 30%;
    width: auto;
    display: block;
    margin-top: 2px; /* Ajuste si l'icône semble trop haute ou trop basse */
}


.adux-services-template-page .adux-section-paragraph {
    font-family: var(--plugin-sweetsans);
    font-weight: var(--plugin-regular);
    color: var(--plugin-text);
    line-height: 1.6;
}

.adux-services-template-page .adux-placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.adux-services-template-page .adux-placeholder-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ==========================================================================
   Section Services Numériques
   ========================================================================== */



/* ==========================================================================
   Témoignages
   ========================================================================== */

.adux-services-template-page .adux-temoignages-wrapper {
    margin-bottom: 30px;
}

.adux-services-template-page .adux-temoignages-wrapper .slider-wrap {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.adux-services-template-page .adux-temoignages-wrapper .slider-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(229, 65, 62, 0.05) 0%, rgba(229, 65, 62, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.adux-services-template-page .adux-temoignages-wrapper .slider-wrap:hover::before {
    opacity: 1;
}

.adux-services-template-page .adux-temoignages-wrapper .slider-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(229, 65, 62, 0.2);
}

.adux-services-template-page .adux-temoignages-inner .wpb_wrapper {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Animations
   ========================================================================== */

.adux-services-template-page .adux-section-content {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.adux-services-template-page .adux-temoignages-wrapper {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation au scroll */
.adux-services-template-page.aos-animate .adux-section-content,
.adux-services-template-page.aos-animate .adux-temoignages-wrapper {
    animation-play-state: running;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

    
    .adux-services-template-page .vc_tta-tabs-list {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .adux-services-template-page .vc_tta-tab {
        flex-shrink: 0;
        margin-right: 30px !important;
    }
    
    .adux-services-template-page .adux-hero-title {
        font-size: 2.5rem !important;
    }
    
    .adux-services-template-page .adux-section-title {
        font-size: 1.8rem !important;
    }
    
    .adux-services-template-page .adux-section-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-top: 30px;
    }
    
    .adux-services-template-page #adux-services-numeriques h2 {
        font-size: 2rem !important;
    }
    
    .adux-services-template-page .vc_tta-tabs-list {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .adux-services-template-page .vc_tta-tab {
        display: inline-block !important;
        margin-right: 20px !important;
    }
    
    .adux-services-template-page .adux-placeholder-image {
        height: 250px !important;
    }
    
    .adux-services-template-page .adux-hero-title {
        font-size: 2rem !important;
    }
    
    .adux-services-template-page .adux-section-title {
        font-size: 1.5rem !important;
    }
    
    .adux-services-template-page #adux-services-numeriques {
        padding: 60px 0 !important;
    }

/* ==========================================================================
   SECTION SERVICES NUMÉRIQUES AVEC ONGLETS - STYLES COMPLETS
   Spécificité élevée sans !important pour bonnes pratiques CSS
   ========================================================================== */

.adux-services-template-page #adux-services-numeriques.section-pad.adux-fullwidth {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

.adux-services-template-page #adux-services-numeriques .adux-inner-boxshadow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.adux-services-template-page #adux-services-numeriques .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 80px 20px;
}

.adux-services-template-page #adux-services-numeriques .col-md-12 {
    margin-bottom: 60px;
}

.adux-services-template-page #adux-services-numeriques .adux-icon-subtitle {
    margin-bottom: 20px;
}

.adux-services-template-page #adux-services-numeriques .adux-icon-subtitle h4 {
    color: #fff;
    font-family: 'sweet-sans-pro', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    margin: 0;
}

.adux-services-template-page #adux-services-numeriques .adux-icon-subtitle span {
    color: #E5413E;
    margin-right: 15px;
}

.adux-services-template-page #adux-services-numeriques h2[itemprop="name"] {
    font-family: 'sweet-sans-pro', sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    color: #fff;
    font-size: 3.2rem;
    margin: 0;
    letter-spacing: -1px;
    line-height: 1.1;
}

/* Responsive pour services numériques */
@media (max-width: 768px) {
    .adux-services-template-page #adux-services-numeriques.section-pad.adux-fullwidth {
        padding: 80px 0;
    }
    
    .adux-services-template-page #adux-services-numeriques h2[itemprop="name"] {
        font-size: 2.5rem;
    }
    
    .adux-services-template-page #adux-services-numeriques .adux-icon-subtitle h4 {
        font-size: 12px;
    }
    
    .adux-services-template-page .adux-temoignages-wrapper .slider-wrap {
        padding: 20px !important;
    }
}

/* ==========================================================================
   Optimisations de performance
   ========================================================================== */

.adux-services-template-page * {
    box-sizing: border-box;
}

.adux-services-template-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Optimisation pour les grandes images */
.adux-services-template-page .adux-section-image img {
    object-fit: cover;
    width: 100%;
    height: auto;
}

/* ==========================================================================
   Accessibilité
   ========================================================================== */

.adux-services-template-page a:focus,
.adux-services-template-page button:focus {
    outline: 2px solid var(--plugin-aduxred);
    outline-offset: 2px;
}

.adux-services-template-page .vc_tta-tab a:focus {
    background-color: rgba(229, 65, 62, 0.1) !important;
}

/* Mode sombre (si supporté par le navigateur) */

/* Réduction des animations pour les utilisateurs qui préfèrent */

/* ==========================================================================
   SECTION AUGMENTEZ VOTRE VISIBILITÉ - GRID RESPONSIVE
   ========================================================================== */

.adux-services-template-page #adux-section-main.section-pad.adux-fullwidth.adux-section-visibilite {
    padding: 120px 80px;
}

.adux-services-template-page .adux-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 40px;
}

.adux-services-template-page .adux-section-visibility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Responsive pour section visibilité */
@media (max-width: 991px) {
    .adux-services-template-page #adux-section-main.section-pad.adux-fullwidth.adux-section-visibilite {
        padding: 80px 0;
    }
    
    .adux-services-template-page .adux-section-visibility-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: left;
    }
    
    .adux-services-template-page .adux-image-right {
        order: -1; /* Image en haut sur mobile */
        max-width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .adux-services-template-page #adux-section-main.section-pad.adux-fullwidth.adux-section-visibilite {
        padding: 60px 0;
    }
    
   
    
    .adux-services-template-page .adux-section-visibility-grid {
        gap: 40px;
    }
    
    .adux-services-template-page .adux-image-right {
        max-width: 85%;
    }
}

@media (max-width: 480px) {
    .adux-services-template-page #adux-section-main.section-pad.adux-fullwidth.adux-section-visibilite {
        padding: 40px 0;
    }
    
  
    
    .adux-services-template-page .adux-section-visibility-grid {
        gap: 30px;
    }
    
    .adux-services-template-page .adux-image-right {
        max-width: 90%;
    }
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    .adux-services-template-page #adux-hero-services,
    .adux-services-template-page #adux-services-numeriques {
        background: #f5f5f5 !important;
        color: #000 !important;
    }
    
    .adux-services-template-page .adux-temoignages-wrapper .slider-wrap {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}

/* ==========================================================================
   ONGLETS SERVICES - DESIGN COMME TES IMAGES
   Font-size: 13.5px gras + soulignement rouge clip-path
   ========================================================================== */


.adux-services-template-page .services-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
}


.adux-services-template-page .service-tab {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 18px 25px 15px;
    font-family: 'sweet-sans-pro', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.35, 0.25, 1);
    position: relative;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    line-height: 1.2;
    min-width: 120px;
    max-width: 180px;
    outline: none;
}


.adux-services-template-page .service-tab::after {
    content: '';
    position: absolute;
    bottom: -3px;
    height: 7px;
    clip-path: polygon(4% 0, 100% 0%, 96% 100%, 0% 100%);
    background-color: #E5413E;
    left: 0;
    width: 0;
    transition: 0.3s cubic-bezier(0.2, 0.35, 0.25, 1);
    transition-property: width, transform;
}

/* État hover */
.adux-services-template-page .service-tab:hover {
    color: #ffffff;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    line-height: 1.2;
}

.adux-services-template-page .service-tab:hover::after {
    width: 100%;
}

/* État actif - titre rouge + soulignement */
.adux-services-template-page .service-tab.active {
    color: #E5413E;
    font-weight: 800;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    line-height: 1.2;
}

.adux-services-template-page .service-tab.active::after {
    width: 100%;
}

/* Responsive - Tablette */
@media (max-width: 991px) {
    .adux-services-template-page .services-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-wrap: nowrap;
        gap: 10px;
        padding-bottom: 15px;
    }
    
    .adux-services-template-page .services-nav::-webkit-scrollbar {
        display: none;
    }
    
    .adux-services-template-page .service-tab {
        flex-shrink: 0;
        padding: 15px 20px 12px;
        font-size: 12.5px;
        min-width: 100px;
        max-width: 150px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .adux-services-template-page .service-tab {
        padding: 12px 18px 10px;
        font-size: 11.5px;
        min-width: 90px;
        max-width: 130px;
    }
    
    .adux-services-template-page .service-tab::after {
        height: 5px;
        bottom: -2px;
    }
}

/* Responsive - Petit mobile */
@media (max-width: 480px) {
    .adux-services-template-page .service-tab {
        padding: 10px 15px 8px;
        font-size: 10.5px;
        min-width: 80px;
        max-width: 110px;
    }
    
    .adux-services-template-page .service-tab::after {
        height: 4px;
    }
} 