/*-----------------------------------------------------------------------------------

    Theme Name: COVERINK - Covering & Solutions Visuelles
    Author: Atelier COVERINK
    Support: contact@coverink.fr
    Description: Site web professionnel pour atelier de covering
    Version: 1.0
    
-----------------------------------------------------------------------------------*/

/* CSS Index
-----------------------------------
1. Theme Default CSS
2. Header Area CSS
3. Hero Section CSS
4. About Section CSS
5. Service Section CSS
6. Portfolio/Realisation Section CSS
7. Contact Section CSS
8. Footer CSS
9. Animations
*/

/*=== MEDIA QUERY ===*/
@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900&display=swap');

:root {
    --primary-color: #6ec6d9;
    --primary-color-dark: #4ba8bc;
    --secondary-color: #ffffff;
    --dark-color: #0a0a0a;
    --grey-color: #1a1a1a;
    --text-color: #ececec;
    --font-family: 'Poppins', sans-serif;
    --header-bg: rgba(10, 10, 10, 0.95);
    --card-border: rgba(110, 198, 217, 0.2);
    --card-border-hover: rgba(110, 198, 217, 0.4);
    --card-shadow: rgba(110, 198, 217, 0.2);
    --overlay-bg: rgba(10, 10, 10, 0.4);
    --input-bg: #0a0a0a;
    --input-border: rgba(110, 198, 217, 0.3);
    --input-text: #ffffff;
    --input-placeholder: rgba(236, 236, 236, 0.5);
    --nav-link-color: #000000;
    --heading-color: #ffffff;
    --caption-muted: rgba(236, 236, 236, 0.6);
}

/* ========================================
   LIGHT MODE THEME (style2)
   ======================================== */
[data-theme="light"] {
    --primary-color: #6ec6d9;
    --primary-color-dark: #1e7a8c;
    --secondary-color: #1a1a2e;
    --dark-color: #f5f5f7;
    --grey-color: #ffffff;
    --text-color: #4a4a5a;
    --header-bg: rgba(0, 0, 0, 0.97);
    --card-border: rgba(42, 143, 163, 0.15);
    --card-border-hover: rgba(42, 143, 163, 0.35);
    --card-shadow: rgba(42, 143, 163, 0.12);
    --overlay-bg: rgba(245, 245, 247, 0.3);
    --input-bg: #f0f0f3;
    --input-border: rgba(42, 143, 163, 0.25);
    --input-text: #1a1a2e;
    --input-placeholder: rgba(74, 74, 90, 0.5);
    --nav-link-color: #ffffff;
    --heading-color: #1a1a2e;
    --caption-muted: rgba(74, 74, 90, 0.6);
}

/* Light mode header */
[data-theme="light"] .header-section.sticky {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    background: var(--header-bg);
}

[data-theme="light"] .mainmenu .nav-link {
    color: var(--nav-link-color);
}

[data-theme="light"] .mainmenu .nav-link:hover,
[data-theme="light"] .mainmenu .nav-link.active {
    color: var(--primary-color);
}

[data-theme="light"] .lang-toggle-btn {
    color: #fff;
}

[data-theme="light"] .lang-toggle-btn:hover {
    color: var(--primary-color);
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: var(--heading-color);
}

/* Hero stays cinematic even in light mode */
[data-theme="light"] .service-hero .titleService,
[data-theme="light"] .service-hero .lead,
[data-theme="light"] .realisation-hero h1,
[data-theme="light"] .realisation-hero .lead {
    color: #ffffff;
}

[data-theme="light"] .service-hero::before,
[data-theme="light"] .realisation-hero::before {
    background: rgba(0, 0, 0, 0.35);
}

/* Services nav */
[data-theme="light"] .services-nav {
    background: var(--grey-color);
    border-bottom: 4px solid var(--card-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.417);
}

[data-theme="light"] .services-nav-item {
    color: var(--text-color);
}

[data-theme="light"] .services-nav-item i {
    color: rgba(42, 143, 163, 0.5);
}

[data-theme="light"] .services-nav-item:hover,
[data-theme="light"] .services-nav-item.active {
    color: var(--primary-color);
}

[data-theme="light"] .services-nav-item:hover i,
[data-theme="light"] .services-nav-item.active i {
    color: var(--primary-color);
}

/* Service cards */
[data-theme="light"] .service-card {
    background: var(--grey-color);
    border-color: var(--card-border);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .service-card:hover {
    border-color: var(--card-border-hover);
    box-shadow: 0 8px 35px var(--card-shadow);
}

[data-theme="light"] .service-card-header {
    border-bottom-color: var(--card-border);
}

[data-theme="light"] .service-card-header .lead {
    color: var(--heading-color);
}

[data-theme="light"] .service-card-cta {
    border-top-color: var(--card-border);
}

[data-theme="light"] .service-card-cta h3 {
    color: var(--heading-color);
}

[data-theme="light"] .service-detail-text h4 {
    color: var(--heading-color);
}

/* Service slider arrows */
[data-theme="light"] .service-slider-prev,
[data-theme="light"] .service-slider-next {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(42, 143, 163, 0.4);
    color: var(--heading-color);
}

[data-theme="light"] .service-slider-prev:hover,
[data-theme="light"] .service-slider-next:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* Realisations */
[data-theme="light"] .real-activity-header {
    border-bottom-color: var(--card-border);
}

[data-theme="light"] .real-project-item-full {
    background: var(--grey-color);
    border-color: var(--card-border);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .real-project-item-full:hover {
    border-color: var(--card-border-hover);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .real-project-caption h4 {
    color: var(--heading-color);
}

[data-theme="light"] .real-project-caption p {
    color: var(--caption-muted);
}

/* Before/After */
[data-theme="light"] .before-after-container {
    border-bottom-color: rgba(42, 143, 163, 0.4);
}

[data-theme="light"] .slider-control {
    background: var(--heading-color);
}

[data-theme="light"] .slider-button {
    background: var(--primary-color);
    border-color: #ffffff;
}

[data-theme="light"] .slider-button i {
    color: #ffffff;
}

[data-theme="light"] .before-label,
[data-theme="light"] .after-label {
    background: rgba(42, 143, 163, 0.9);
    color: #ffffff;
}

/* CTA box */
[data-theme="light"] .cta-box {
    background: var(--grey-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 25px rgba(42, 143, 163, 0.08);
}

[data-theme="light"] .cta-box h2,
[data-theme="light"] .cta-box h3 {
    color: var(--heading-color) !important;
}

[data-theme="light"] .cta-box p {
    color: var(--text-color);
}

/* Service content cards (stats etc) */
[data-theme="light"] .service-content {
    background: var(--grey-color);
    border-color: var(--card-border);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .service-content:hover {
    background: rgba(42, 143, 163, 0.03);
    border-color: var(--primary-color);
    box-shadow: 0 10px 35px var(--card-shadow);
}

[data-theme="light"] .service-content h3 {
    color: var(--heading-color);
}

/* Forms */
[data-theme="light"] .contact-form {
    background: var(--grey-color);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .form-control {
    background: var(--input-bg);
    border-color: var(--input-border);
    color: var(--input-text);
}

[data-theme="light"] .form-control:focus {
    background: var(--input-bg);
    color: var(--input-text);
    border-color: var(--primary-color);
    box-shadow: 0 0 12px rgba(42, 143, 163, 0.15);
}

[data-theme="light"] .form-control::placeholder {
    color: var(--input-placeholder);
}

/* Footer - Light mode */
[data-theme="light"] .footer-section {
    background: #eaeaef;
    border-top-color: var(--card-border);
}

[data-theme="light"] .footer-col-title {
    color: var(--heading-color);
}

[data-theme="light"] .footer-links a {
    color: var(--text-color);
}

[data-theme="light"] .footer-links a:hover {
    color: var(--primary-color);
}

[data-theme="light"] .footer-contact li {
    color: var(--text-color);
}

[data-theme="light"] .footer-bottom {
    border-top-color: rgba(42, 143, 163, 0.1);
    color: var(--text-color);
}

[data-theme="light"] .footer-bottom a {
    color: var(--text-color);
}

[data-theme="light"] .footer-bottom a:hover {
    color: var(--primary-color);
}

[data-theme="light"] .footer-social a {
    border-color: rgba(42, 143, 163, 0.3);
    color: var(--primary-color);
}

[data-theme="light"] .footer-social a:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

[data-theme="light"] .site-preloader-wrap {
    background: var(--dark-color);
}

[data-theme="light"] .engagement-section,
[data-theme="light"] .CTA-Section,
[data-theme="light"] .contact-section {
    border-top-color: var(--card-border);
}

/* Theme toggle button (for pages using style2) */
.theme-toggle {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--grey-color);
    color: var(--primary-color);
    cursor: pointer;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0.3;
}

.theme-toggle:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(110, 198, 217, 0.3);
    background: var(--primary-color);
    color: var(--dark-color);
    opacity:1;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: all 0.4s ease;
}

.theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

[data-theme="light"] .theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="light"] .theme-toggle .icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-toggle {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Smooth transition on theme change — ciblé pour ne pas écraser les transitions individuelles */
body,
.header-section,
.header-section.sticky,
.footer-section,
.footer-grid,
.footer-col-title,
.footer-links a,
.footer-contact li,
.footer-bottom,
.footer-bottom a,
.service-card,
.service-card-header,
.service-card-cta,
.service-content,
.service-detail-text,
.services-nav,
.services-nav-item,
.contact-form,
.form-control,
.cta-box,
.real-project-item-full,
.real-project-caption,
.real-activity-header,
.before-label,
.after-label,
.slider-button,
h1, h2, h3, h4, h5, h6,
p, span:not(.logo-pulse-ring),
section,
.section,
.bg-dark {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Theme Default CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
    background: var(--dark-color);
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.2;
}

h1 { font-size: 60px; }
h2 { font-size: 42px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p {
    margin-bottom: 15px;
    line-height: 1.8;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover, a:focus {
    color: var(--secondary-color);
    text-decoration: none;
    outline: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.section {
    padding: 100px 0;
    position: relative;
}

.bg-dark {
    background: var(--grey-color);
}

/* Preloader */
.site-preloader-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark-color);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(110, 198, 217, 0.3);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   LOGO PULSE ANIMATION
   ======================================== */
.logo-pulse-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: visible !important;
}

.logo-pulse-ring {
    position: absolute;
    left: 79.6%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    opacity: 0;
    pointer-events: none;
    animation: logoPulseWave 3.5s ease-out infinite !important;
    transition: none !important;
}

.logo-pulse-ring.ring-2 {
    animation-delay: 1.2s;
}

@keyframes logoPulseWave {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.7);
    }
    70% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.6);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.6);
    }
}

[data-theme="light"] .logo-pulse-ring {
    border-color: rgba(110, 198, 217, 0.4);
}

/* Header CSS */
.header-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 20px 0;
    transition: all 0.4s ease;
    
    backdrop-filter: blur(1px);
}

.header-section.sticky {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    background: rgba(10, 10, 10, 0.95);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand img {
    height: 55px;
    transition: all 0.3s ease;
}

.mainmenu .nav {
    display: flex;
    align-items: center;
}

.mainmenu .nav li {
    margin-left: 35px;
}

.mainmenu .nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.mainmenu .nav-link:hover,
.mainmenu .nav-link.active {
    color: var(--primary-color);
}

.mainmenu .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.mainmenu .nav-link:hover::after,
.mainmenu .nav-link.active::after {
    width: 100%;
}

.lang-toggle-btn {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 6px 12px;
    border: 1px solid rgba(110, 198, 217, 0.55);
    background: rgba(110, 198, 217, 0.08);
    cursor: pointer;
    font-family: var(--font-family);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
    overflow: hidden;
    transition: all 0.35s ease;
}

.lang-toggle-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(110, 198, 217, 0), rgba(110, 198, 217, 0.3), rgba(110, 198, 217, 0));
    transform: translateX(-140%);
    transition: transform 0.5s ease;
    pointer-events: none;
}

.lang-toggle-btn:hover {
    color: var(--dark-color);
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(110, 198, 217, 0.25);
}

.lang-toggle-btn:hover::after {
    transform: translateX(140%);
}

.lang-toggle-btn .lang-icon {
    font-size: 14px;
    opacity: 0.85;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.lang-toggle-btn:hover .lang-icon {
    transform: scale(1.1);
    opacity: 1;
}

[data-theme="light"] .lang-toggle-btn {
    color: #ffffff;
    border-color: rgba(110, 198, 217, 0.7);
    background: rgba(110, 198, 217, 0.16);
}

[data-theme="light"] .lang-toggle-btn:hover {
    color: #0a0a0a;
}

.header-section:not(.sticky) .lang-toggle-btn:hover {
    color: #ffffff;
    background: rgba(110, 198, 217, 0.22);
    border-color: var(--primary-color);
}

.header-section.sticky .lang-toggle-btn:hover {
    color: #0a0a0a;
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: url('../img/hero-background.jpg') center center / cover no-repeat;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h5 {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-content h1 {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-content h1 span.rotate {
    color: var(--primary-color);
    display: block;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.6s both;
}

.social-link {
    display: flex;
    justify-content: center;
    gap: 15px;
    animation: fadeInUp 1s ease 0.8s both;
}

.social-link li a {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-link li a:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

.down-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.arrow-animated {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}



/* About Section */
.about-wrap {
    align-items: center;
}

.about-content {
    padding: 80px;
}


.pdl-80 {
    padding-left: 80px;
    width:860px;
}

.section-heading {
    margin-bottom: 40px;
}

.section-heading h2 {
    position: relative;
    padding-bottom: 15px;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
  
}


.section-heading-engagement h2 {
    position: relative;
    padding-bottom: 15px;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.section-heading-engagement h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 528px;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
  
}

.section-heading h1 {
    position: relative;
    padding-bottom: 15px;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.section-heading h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}


.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

.default-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--dark-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.default-btn:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(110, 198, 217, 0.3);
}

/* Service Section */
.service-section {
    padding: 100px 0;
}

.padding {
    padding: 100px 0;
}

.service-area {
    align-items: flex-start;
}

.xs-padding {
    padding: 40px 15px;
}

.service-wrap {
    margin: 0 -15px;
}

.pd-15 {
    padding: 15px;
}

.service-content {
    background: var(--grey-color);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid transparent;
    cursor: pointer;
}

.service-content:hover {
    background: rgba(110, 198, 217, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(110, 198, 217, 0.2);
}

.service-content i {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-content:hover i {
    transform: scale(1.1) rotateY(360deg);
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-content p {
    color: var(--text-color);
    margin: 0;
    font-size: 14px;
}

/* Service Detail Page */
.service-detail-section {
    padding: 0;
    scroll-margin-top: 180px;
}

.services-sections-wrap {
    padding: 30px 0 30px;
}

/* background uniquement */
/* .services-sections-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url(../img/hyper_background_section.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0.4;
    z-index: 1;
} */

/* contenu au-dessus */
/* .services-sections-wrap > * {
    position: relative;
    z-index: 1;
} */

.service-hero {
    background: url('../img/Img-service_hero_01.jpg') center center / cover no-repeat;
    padding: 180px 0px 48px 0;
    text-align: center;
    height: 512px;
    position: relative;
}

[data-theme="light"] .service-hero {
    background: url('../img/Img-service_hero_02.jpg') center center / cover no-repeat !important;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 10, 0);
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

.service-hero .titleService {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.service-hero .lead {
    font-size: 18px;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
}


.realisation-hero {
    background: url('../img/Img-realisations_hero_01.jpg') center center / cover no-repeat;
    padding: 180px 0px 48px 0;
    text-align: center;
    height: 512px;
    position: relative;
}

.realisation-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 10, 0.15);
}


[data-theme="light"] .realisation-hero {
    background: url('../img/Img-realisations_hero_02.jpg') center center / cover no-repeat !important;
}

.realisation-hero .container {
    position: relative;
    z-index: 2;
}

.realisation-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.realisation-hero .lead {
    font-size: 18px;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
}
/* ========================================
   NAVIGATION SERVICES - RESPONSIVE OPTIMISÉ
   Pour services.html et realisations.html
   ======================================== */

/* ===== BASE (Desktop > 992px) ===== */
.services-nav {
    background: var(--grey-color);
    border-bottom: 1px solid rgba(110, 198, 217, 0.15);
    padding: 0;
    position: sticky;
    top: 70px;
    z-index: 999;
    backdrop-filter: blur(10px);
}

.services-nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 28px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    transition: all 0.3s ease;
}

.services-nav-item i {
    font-size: 22px;
    color: rgba(110, 198, 217, 0.5);
    transition: all 0.3s ease;
}

.services-nav-item:hover,
.services-nav-item.active {
    color: var(--primary-color);
}

.services-nav-item:hover i,
.services-nav-item.active i {
    color: var(--primary-color);
    transform: scale(1.1);
}

.services-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.services-nav-item:hover::after,
.services-nav-item.active::after {
    width: 70%;
}

/* ========================================
   TABLETTE (768px - 991px)
   ======================================== */

@media (max-width: 991px) {
    .services-nav {
        top: 70px;
    }
    
    .services-nav .container {
        padding: 0 15px;
    }
    
    /* Grid 2 colonnes sur tablette */
    .services-nav-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        padding: 0;
        justify-items: center;
    }
    
    .services-nav-item {
        padding: 18px 20px;
        font-size: 11px;
        gap: 6px;
        border-right: 1px solid rgba(110, 198, 217, 0.1);
        border-bottom: 1px solid rgba(110, 198, 217, 0.1);
    }
    
    /* Enlève la bordure droite pour chaque 3ème élément */
    .services-nav-item:nth-child(3n) {
        border-right: none;
    }
    
    /* Enlève la bordure bas pour les 3 derniers */
    .services-nav-list li:nth-last-child(-n+3) .services-nav-item {
        border-bottom: none;
    }
    
    .services-nav-item i {
        font-size: 20px;
    }
}


/* ========================================
   MOBILE (< 767px)
   ======================================== */

@media (max-width: 767px) {
    .services-nav {
        top: 60px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .services-nav .container {
        padding: 0;
        max-width: 100%;
    }
    
    /* Scroll horizontal smooth */
    .services-nav-list {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        gap: 0;
        padding: 0 5px;
        
        /* Cache la scrollbar mais garde le scroll */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }
    
    .services-nav-list::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    /* Style des items en mode scroll */
    .services-nav-item {
        flex: 0 0 auto; /* Ne pas rétrécir */
        padding: 16px 20px;
        font-size: 10px;
        gap: 6px;
        white-space: nowrap;
        min-width: fit-content;
        border-right: 1px solid rgba(110, 198, 217, 0.08);
    }
    
    .services-nav-item:last-child {
        border-right: none;
        padding-right: 20px;
    }
    
    .services-nav-item:first-child {
        padding-left: 20px;
    }
    
    .services-nav-item i {
        font-size: 18px;
    }
    
    .services-nav-item span {
        font-size: 10px;
    }
    
    /* Indicateur visuel de scroll (optionnel) */
    .services-nav::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(to left, var(--grey-color), transparent);
        pointer-events: none;
    }
}

/* Gradient pulsant */
.services-nav::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    background: linear-gradient(to left, var(--grey-color), transparent);
    pointer-events: none;
    z-index: 10;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.7; width: 50px; }
    50% { opacity: 1; width: 60px; }
}

/* Flèche animée */
.services-nav::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 14px;
    z-index: 11;
    animation: slideHint 2s ease-in-out infinite;
}

@keyframes slideHint {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(5px); }
}

/* Disparition après scroll */
.services-nav.scrolled::before,
.services-nav.scrolled::after {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* ========================================
   TRÈS PETIT MOBILE (< 480px)
   ======================================== */

@media (max-width: 480px) {
    .services-nav-item {
        padding: 14px 16px;
        font-size: 9px;
        gap: 5px;
    }
    
    .services-nav-item i {
        font-size: 16px;
    }
    
    .services-nav-item span {
        font-size: 9px;
    }
}


/* ========================================
   MINI MOBILE (< 375px)
   ======================================== */

@media (max-width: 375px) {
    .services-nav-item {
        padding: 12px 14px;
        font-size: 8px;
    }
    
    .services-nav-item i {
        font-size: 14px;
    }
    
    .services-nav-item span {
        font-size: 8px;
        letter-spacing: 0.5px;
    }
}


/* ========================================
   AMÉLIORATIONS UX
   ======================================== */

/* Smooth scroll pour les ancres */
html {
    scroll-behavior: smooth;
}

/* Active state plus visible sur mobile */
@media (max-width: 767px) {
    .services-nav-item.active {
        background: rgba(110, 198, 217, 0.08);
    }
    
    .services-nav-item.active::after {
        width: 90%;
        height: 3px;
    }
}

/* Tap highlight sur mobile */
@media (max-width: 767px) {
    .services-nav-item {
        -webkit-tap-highlight-color: rgba(110, 198, 217, 0.2);
    }
}

/* ========================================
   SERVICE CARD (Unified container)
   ======================================== */
.service-card {
    background: var(--grey-color);
    border: 1px solid rgba(110, 198, 217, 0.2);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 50px;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    border-color: rgba(110, 198, 217, 0.4);
    box-shadow: 0 5px 40px rgba(110, 198, 217, 0.08);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-header {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(110, 198, 217, 0.1);
}

.service-card-header h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 30px;
    display: flex;
    align-items: center;
}

.service-card-header h3 i {
    margin-right: 18px;
    font-size: 28px;
    opacity: 0.8;
}

.service-card-header .lead {
    font-size: 17px;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.service-card-header p:last-child {
    margin-bottom: 0;
    color: var(--text-color);
}

/* CTA inside card */
.service-card-cta {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid rgba(110, 198, 217, 0.1);
    text-align: center;
}

.service-card-cta h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 22px;
}

.service-card-cta p {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 15px;
}

/* Legacy .cta-box for final CTA */
.cta-box {
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    margin-top: 0;
    border: 2px solid rgba(110, 198, 217, 0.4);
    background: var(--grey-color);
}

.cta-box h3,
.cta-box h2 {
    color: #fff;
    margin-bottom: 15px;
}

.cta-box p {
    color: var(--text-color);
    margin-bottom: 30px;
    font-size: 16px;
}

.cta-box .default-btn {
    background: var(--primary-color);
    color: var(--dark-color);
}

.cta-box .default-btn:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
}

/* ========================================
   REALISATIONS - Tab System & Before/After
   ======================================== */

/* Tabs wrapper */
.real-tabs-wrapper {
    padding: 60px 0 30px;
}

/* Tab panels: hidden by default, visible when .active */
.real-tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.real-tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Fade-out animation */
.real-tab-panel.fading-out {
    display: block;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Fade-in animation */
.real-tab-panel.fading-in {
    opacity: 0;
    transform: translateY(15px);
    animation: realTabFadeIn 0.5s ease forwards;
}

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

/* Nav item as button (for tab mode) */
button.services-nav-item {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
}

/* Activity header with icon + title */
.real-activity-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(110, 198, 217, 0.2);
}

.real-activity-header i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 18px;
    display: block;
    opacity: 0.85;
}

.real-activity-header h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 14px;
}

.real-activity-header p {
    color: var(--text-color);
    font-size: 16px;
    margin: 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Full-width project items (one per row, big) */
.real-project-item-full {
    border-radius: 15px;
    overflow: hidden;
    background: var(--grey-color);
    border: 1px solid rgba(110, 198, 217, 0.15);
    margin-bottom: 40px;
    transition: all 0.4s ease;
}

.real-project-item-full:last-child {
    margin-bottom: 0;
}

.real-project-item-full:hover {
    border-color: rgba(110, 198, 217, 0.35);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

/* Before/After container */
.before-after-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-bottom: 5px solid rgba(110, 198, 217, 0.5);
    
}

.before-after-container img {
    width: 100%;
    display: block;
    user-select: none;
}

.before-image {
    position: relative;
    z-index: 1;
}

.after-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.after-image {
    width: 200%;
    height: 100%;
    object-fit: cover;
}

.slider-control {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--secondary-color);
    z-index: 3;
    cursor: ew-resize;
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.slider-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(110, 198, 217, 0.5);
}

.slider-button i {
    color: var(--dark-color);
    font-size: 20px;
}

.before-label {
    position: absolute;
    top: 15px;
    background: rgba(110, 198, 217, 0.9);
    color: var(--dark-color);
    padding: 6px 14px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
    z-index: 1;
}


.after-label {
    position: absolute;
    top: 15px;
    background: rgba(110, 198, 217, 0.9);
    color: var(--dark-color);
    padding: 6px 14px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
    z-index: 3;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.before-label {
    right: 15px;
}

.after-label {
    left: 15px;
}

/* Project caption */
.real-project-caption {
    padding: 18px 20px;
}

.real-project-caption h4 {
    color: var(--secondary-color);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.real-project-caption p {
    color: rgba(236, 236, 236, 0.6);
    font-size: 13px;
    margin: 0;
}

/* Portfolio/Realisation Section */
.portfolio-section {
    padding: 100px 0;
}

.portfolio-wrap {
    align-items: center;
}

.portfolio-filter {
    text-align: center;
    margin-bottom: 50px;
}

.portfolio-filter button {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 30px;
    margin: 0 10px 10px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-filter button:hover,
.portfolio-filter button.active {
    background: var(--primary-color);
    color: var(--dark-color);
}

.portfolio-item {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    transition: all 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(110, 198, 217, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.portfolio-overlay p {
    color: var(--dark-color);
    margin: 0;
}

.engagement-section {
border-top: 1px solid rgba(110, 198, 217, 0.2);

}

.CTA-Section {
border-top: 1px solid rgba(110, 198, 217, 0.2);

}


/* Before After Section */
.before-after-container {
    position: relative;
    /* margin: 40px 0; */
    overflow: hidden;
    /* border-radius: 15px; */
    border-radius: 15px 15px 60px 60px;
}

.before-after-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.before-image,
.after-image {
    width: 100%;
    display: block;
}

.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    overflow: hidden;
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    cursor: ew-resize;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: var(--secondary-color);
    z-index: 9;
}

.project-info {
    background: var(--grey-color);
    padding: 30px;
    border-radius: 10px;
    margin-top: 20px;
}

.project-info h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    border-top: 1px solid rgba(110, 198, 217, 0.2);
}

.contact-form {
    background: var(--grey-color);
    padding: 60px;
    border-radius: 15px;
}

.form-control {
    background: var(--dark-color);
    border: 2px solid rgba(110, 198, 217, 0.3);
    color: var(--secondary-color);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    background: var(--dark-color);
    color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 15px rgba(110, 198, 217, 0.2);
}

.form-control::placeholder {
    color: rgba(236, 236, 236, 0.5);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
.footer-section {
    background: var(--grey-color);
    padding: 70px 0 0;
    border-top: 1px solid rgba(110, 198, 217, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-col-brand {
    padding-right: 20px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 45px;
    content: url('../img/logo_coverInk_01.svg');
}

[data-theme="light"] .footer-logo img {
    content: url('../img/logo_coverInk_02.svg');
}

.footer-description {
    color: var(--text-color);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(110, 198, 217, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col-title {
    color: var(--secondary-color);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-color);
    font-size: 14px;
    opacity: 0.75;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
    opacity: 1;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 14px;
    opacity: 0.8;
}

.footer-contact li i {
    color: var(--primary-color);
    font-size: 14px;
    margin-top: 3px;
    min-width: 16px;
}

.footer-bottom {
    display: flex;
    justify-content:center;
    align-items: center;
    gap:15px;
    padding: 20px 0;
    border-top: 1px solid rgba(110, 198, 217, 0.1);
    font-size: 13px;
    color: var(--text-color);
    opacity: 0.6;
}

.footer-bottom a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-color);
    opacity: 1;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease both;
}

/* ========================================
   SERVICE DETAIL ROW (Text + Slider)
   ======================================== */

.service-detail-row {
    display: flex;
    align-items: stretch;
    gap: 40px;
    margin-top: 30px;
}

.service-detail-text {
    flex: 1;
    min-width: 0;
    padding: 10px 0;
}

.service-detail-text h4 {
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
}

.service-detail-text h4:not(:first-child) {
    margin-top: 30px;
}

.service-detail-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
}

.service-detail-text ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-color);
    font-size: 15px;
}

.service-detail-text ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

/* ========================================
   SERVICE SLIDER
   ======================================== */

.service-slider {
    flex: 1;
    min-width: 0;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--grey-color);
}

.service-slider-viewport {
    width: 100%;
    height: 100%;
    min-height: 380px;
    overflow: hidden;
    position: relative;
}

.service-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-slider-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.service-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 380px;
}

/* Slider Navigation Arrows */
.service-slider-prev,
.service-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.6);
    border: 2px solid rgba(110, 198, 217, 0.5);
    color: var(--secondary-color);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
    backdrop-filter: blur(4px);
}

.service-slider-prev {
    left: 12px;
}

.service-slider-next {
    right: 12px;
}

.service-slider-prev:hover,
.service-slider-next:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

/* Slider Dots */
.service-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.service-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.service-slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.service-slider-dot.active {
    background: var(--primary-color);
    width: 28px;
    border-radius: 5px;
}

/* Placeholder for missing images */
.service-slider-slide img[src$=".jpg"]:not([src^="http"]) {
    background: linear-gradient(135deg, var(--grey-color), rgba(110, 198, 217, 0.15));
}

/* ========================================
   FOOTER RESPONSIVE (style2)
   ======================================== */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-col-brand {
        grid-column: 1 / -1;
        text-align: center;
        padding-right: 0;
    }
    .footer-col-brand .footer-social {
        justify-content: center;
    }
    .footer-col-brand .footer-description {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-col-brand .footer-logo {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .footer-section {
        padding: 50px 0 0;
    }
    .footer-col {
        text-align: center;
    }
    .footer-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-contact li {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 18px 0;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .hero-content h1 { font-size: 48px; }
    .about-content, .pdl-80 { padding-left: 30px; }

    .service-card {
        padding: 35px 30px;
    }

    .service-card-header h3 {
        font-size: 26px;
    }

    .service-detail-row {
        flex-direction: column;
    }

    .service-slider {
        max-width: 100%;
    }

    .service-slider-viewport {
        min-height: 320px;
    }

    .service-slider-slide img {
        min-height: 320px;
    }

    /* Nav sub-menu tablet */
    .services-nav-item {
        padding: 15px 18px;
        font-size: 11px;
    }

    .services-nav-item i {
        font-size: 18px;
    }

    /* Realisations tablet */
    .real-tabs-wrapper {
        padding: 40px 0 20px;
    }

    .real-activity-header {
        margin-bottom: 35px;
    }

    .real-activity-header h2 {
        font-size: 26px;
    }

    .real-project-item-full {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .hero-content h1 { font-size: 36px; }
    .mainmenu {
    position: fixed;
    top: 75px;
    left: -100%;  /* Caché hors écran */
    width: 100%;
    height: calc(100vh - 75px);
    background: rgba(10, 10, 10, 0.98);
    transition: left 0.3s ease;
    padding: 40px 20px;
    overflow-y: auto;
    z-index: 9998;
}

.mainmenu.active {
    left: 0;  /* Visible quand on clique */
}

.mainmenu .nav {
    flex-direction: column;
}

.mainmenu .nav li {
    margin: 0 0 20px 0;
    text-align: center;
}

.lang-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    font-size: 18px;
    min-width: 130px;
}
    .about-content { padding: 40px 20px; }
    .contact-form { padding: 40px 30px; }

    .service-card {
        padding: 25px 20px;
        margin-bottom: 30px;
        border-radius: 15px;
    }

    .service-card-header {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

    .service-card-header h3 {
        font-size: 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .service-card-header h3 i {
        margin-right: 0;
    }

    .service-card-cta {
        margin-top: 25px;
        padding-top: 20px;
    }

    .service-card-cta h3 {
        font-size: 18px;
    }

    .service-detail-row {
        gap: 25px;
    }

    .service-detail-text {
        padding: 0;
    }

    .service-slider-viewport {
        min-height: 250px;
    }

    .service-slider-slide img {
        min-height: 250px;
    }

    .service-slider-prev,
    .service-slider-next {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .service-slider-prev {
        left: 8px;
    }

    .service-slider-next {
        right: 8px;
    }

    /* Nav sub-menu mobile : scroll horizontal */
    .services-nav {
        top: 60px;
    }

    .services-nav .container {
        padding: 0;
    }

    .services-nav-list {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        padding: 0 10px;
    }

    .services-nav-list::-webkit-scrollbar {
        display: none;
    }

    .services-nav-item {
        padding: 14px 16px;
        font-size: 10px;
        white-space: nowrap;
        min-width: fit-content;
    }

    .services-nav-item i {
        font-size: 16px;
    }

    .services-sections-wrap {
        padding: 40px 0 15px;
    }

    .service-detail-section {
        scroll-margin-top: 140px;
    }

    /* Realisations mobile */
    .real-tabs-wrapper {
        padding: 30px 0 15px;
    }

    .real-activity-header {
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

    .real-activity-header i {
        font-size: 28px;
    }

    .real-activity-header h2 {
        font-size: 22px;
    }

    .real-project-item-full {
        margin-bottom: 25px;
        border-radius: 12px;
    }

    .slider-button {
        width: 40px;
        height: 40px;
    }

    .slider-button i {
        font-size: 16px;
    }

    .before-label,
    .after-label {
        font-size: 9px;
        padding: 4px 10px;
        top: 10px;
    }

    .before-label { right: 10px; }
    .after-label { left: 10px; }
}

@media (max-width: 991px) {
    
    /* Mode sombre (défaut) */
    .mainmenu {
        background: rgba(10, 10, 10, 0.98);
    }
    
    .mainmenu .nav-link {
        color: #ffffff;
    }
    
    .mainmenu .nav-link:hover,
    .mainmenu .nav-link.active {
        color: #6ec6d9;
    }

    .lang-toggle-btn {
        color: #ffffff;
    }
    
    .lang-toggle-btn:hover {
        color: #6ec6d9;
    }
    
    /* Mode clair */
    [data-theme="light"] .mainmenu {
        background: rgba(245, 245, 247, 0.98);
    }
    
    [data-theme="light"] .mainmenu .nav-link {
        color: #1a1a2e !important;
    }

    [data-theme="light"] .lang-toggle-btn {
        color: #1a1a2e !important;
    }
    
    [data-theme="light"] .mainmenu .nav-link:hover,
    [data-theme="light"] .mainmenu .nav-link.active {
        color: #2a8fa3 !important;
    }

    [data-theme="light"] .lang-toggle-btn:hover {
        color: #2a8fa3 !important;
    }
}



/* ========================================
   COMPORTEMENT SVG (Idem Font Awesome)
   ======================================== */
.services-nav-item svg {
    width: 1em; /* Permet au SVG de se caler sur le font-size */
    height: 1em;
    font-size: 22px; /* Taille par défaut de tes icônes */
    color: rgba(110, 198, 217, 0.5); /* Couleur au repos */
    transition: all 0.3s ease; /* Même vitesse d'animation */
}

/* Effet au survol et état actif */
.services-nav-item:hover svg,
.services-nav-item.active svg {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Responsive calqué sur tes Media Queries */
@media (max-width: 991px) { .services-nav-item svg { font-size: 20px; } }
@media (max-width: 767px) { .services-nav-item svg { font-size: 18px; } }
@media (max-width: 480px) { .services-nav-item svg { font-size: 16px; } }
@media (max-width: 375px) { .services-nav-item svg { font-size: 14px; } }


/* ========================================
   COMPORTEMENT SVG DANS LES TITRES H2
   ======================================== */
.service-card-header h3 svg {
    width: 28px;          /* Même taille que le font-size de ton icône Font Awesome */
    height: 28px;         
    margin-right: 18px;   /* Même espacement avec le texte */
    opacity: 0.8;         /* Même transparence */
    flex-shrink: 0;       /* Empêche le SVG de s'écraser si le titre est sur deux lignes */
}

/* Ajustement pour la version mobile (reprenant tes Media Queries) */
@media (max-width: 767px) {
    .service-card-header h3 svg {
        margin-right: 0;
        margin-bottom: 10px; /* Sur mobile, l'icône passe au-dessus du texte */
    }
}


/* ========================================
   CORRECTION SVG MODE CLAIR (LIGHT THEME)
   ======================================== */
[data-theme="light"] .services-nav-item svg {
    color: rgba(42, 143, 163, 0.5); /* Assombrit le SVG au repos en mode clair */
}

[data-theme="light"] .services-nav-item:hover svg,
[data-theme="light"] .services-nav-item.active svg {
    color: var(--primary-color); /* Remet la couleur vive au survol */
}


/* ========================================
   COMPORTEMENT SVG DANS LES EN-TÊTES DE RÉALISATIONS
   ======================================== */
.real-activity-header svg {
    width: 1em;
    height: 1em;
    font-size: 40px; /* Taille par défaut sur Desktop */
    color: var(--primary-color);
    margin: 0 auto 18px auto; /* Centre l'icône et gère l'espacement avec le titre */
    display: block;
    opacity: 0.85;
}

/* Ajustement pour la version mobile (reprenant tes Media Queries) */
@media (max-width: 767px) {
    .real-activity-header svg {
        font-size: 28px; /* Réduction proportionnelle sur mobile */
    }
}


/* ========================================
   SERVICES INTRO SECTION (SEO & Présentation)
   ======================================== */
.services-intro-section {
    padding: 80px 0 10px 0;
    text-align: center;
}

.services-intro-content {
    max-width: 900px; /* Limite la largeur pour que le texte soit lisible */
    margin: 0 auto;
}

.services-intro-section .intro-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.services-intro-section .intro-text {
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 200;
}

/* Petit séparateur design sous le texte */
.intro-divider {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto 0px auto;
    border-radius: 2px;
}

.services-intro-section .intro-subtitle {
    font-size: 42px; /* Taille standard de tes autres H2 */
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Prise en charge du Mode Clair (Light Theme) */
[data-theme="light"] .services-intro-section .intro-title,
[data-theme="light"] .services-intro-section .intro-subtitle {
    color: var(--heading-color);
}

/* Responsive - Mode Tablette */
@media (max-width: 991px) {
    .services-intro-section {
        padding: 60px 0 0 0;
    }
    .services-intro-section .intro-title {
        font-size: 28px;
    }
    .services-intro-section .intro-subtitle {
        font-size: 36px;
    }
}

/* Responsive - Mode Mobile */
@media (max-width: 767px) {
    .services-intro-section {
        padding: 40px 15px 0 15px;
    }
    .services-intro-section .intro-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
    .services-intro-section .intro-text {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .services-intro-section .intro-subtitle {
        font-size: 28px;
    }
}
