
:root {
    --primary-blue: #1e5a8a;
    --primary-red: #dc2e4b;
    --secondary-blue: #2980b9;
    --accent-blue: #3498db;
    --light-gray: #f8f9fa;
    --dark-gray: #2c3e50;
    --white: #ffffff;
    --orange-cta: #ff6b35;
    --gold: #f39c12;
    --green: #27ae60;
    --gradient-primary: linear-gradient(135deg, #1e5a8a 0%, #2980b9 50%, #3498db 100%);
    --gradient-red: linear-gradient(135deg, #c41e3a 0%, #e74c3c 100%);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
    padding-top: 40px;
}

/* ==================== TYPOGRAPHY ENHANCEMENTS ==================== */
p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #4a5568;
    text-align: justify;
    hyphens: auto;
}

.lead {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--primary-blue);
    margin-bottom: 25px;
    position: relative;
    padding-left: 25px;
}

.lead::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 60%;
    background: var(--gradient-red);
    border-radius: 2px;
}

.text-highlight {
    background: linear-gradient(120deg, rgba(196, 30, 58, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    padding: 20px 25px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-red);
    margin: 25px 0;
    position: relative;
    overflow: hidden;
}

.text-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1));
    transform: skewX(-15deg);
}

.text-highlight p {
    margin-bottom: 15px;
    color: var(--dark-gray);
    position: relative;
    z-index: 2;
}

.text-highlight p:last-child {
    margin-bottom: 0;
}

/* ==================== ENHANCED LISTS ==================== */
.list-enhanced {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.list-enhanced li {
    padding: 15px 0;
    padding-left: 40px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    font-size: 1.05rem;
    line-height: 1.7;
}

.list-enhanced li:last-child {
    border-bottom: none;
}

.list-enhanced li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 15px;
    width: 25px;
    height: 25px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.list-enhanced li:hover {
    background: rgba(30, 90, 138, 0.02);
    padding-left: 45px;
}

.list-enhanced li:hover::before {
    background: var(--gradient-red);
    transform: scale(1.1);
}

/* ==================== QUOTE STYLES ==================== */
.quote-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 6px solid var(--primary-blue);
    padding: 30px 40px;
    margin: 30px 0;
    border-radius: 0 15px 15px 0;
    position: relative;
    font-style: italic;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.quote-box::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-blue);
    opacity: 0.3;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
}

.quote-box p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.quote-author {
    text-align: right;
    font-weight: 600;
    color: var(--primary-blue);
    font-style: normal;
    margin-top: 15px;
}

/* ==================== CONTENT BOXES ==================== */
.content-box {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-red);
}

.content-box h3, .content-box h4, .content-box h5 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.content-box p {
    margin-bottom: 18px;
    text-align: left;
}

.content-box ul {
    padding-left: 0;
}

.content-box ul li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.content-box ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    width: 8px;
    height: 8px;
    background: var(--primary-red);
    border-radius: 50%;
}

/* ==================== TECHNICAL SPECS ==================== */
.tech-spec {
    background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
    border: 2px solid rgba(30, 90, 138, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
}

.tech-spec h5 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.tech-spec h5 i {
    margin-right: 10px;
    color: var(--orange-cta);
}

.tech-spec p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #2d3748;
}

.tech-spec ul {
    margin: 15px 0;
}

.tech-spec ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
}

.tech-spec ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

/* ==================== EMPHASIS STYLES ==================== */
.text-emphasis {
    background: linear-gradient(120deg, rgba(255, 107, 53, 0.1), rgba(196, 30, 58, 0.1));
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary-red);
    display: inline-block;
    margin: 0 2px;
}

.number-highlight {
    background: var(--gradient-primary);
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    margin: 0 5px;
    box-shadow: 0 3px 10px rgba(30, 90, 138, 0.3);
}

.feature-highlight {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid var(--orange-cta);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.1);
}

.feature-highlight h6 {
    color: var(--orange-cta);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== IMPROVED READABILITY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

h3 {
    font-size: 1.8rem;
    margin-top: 35px;
    margin-bottom: 25px;
}

h4 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 20px;
}

h5 {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 18px;
}

strong {
    color: var(--primary-red);
    font-weight: 700;
}

/* ==================== SEPARATOR STYLES ==================== */
.text-separator {
    width: 60px;
    height: 4px;
    background: var(--gradient-red);
    margin: 30px auto;
    border-radius: 2px;
}

.text-separator.left {
    margin: 30px 0;
}

/* ==================== HEADER & NAVIGATION ==================== */
.header-top {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 0;
    font-size: 14px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.header-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 15px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1000;
    transform: translateY(0);
}

.navbar-scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
}

.navbar-hidden {
    transform: translateY(-100%);
}

/* Navbar Container - Largeur réduite */
.navbar-custom .container {
    max-width: 1200px;
    padding: 0 20px;
}

.brand-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

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

.navbar-scrolled .navbar-brand img {
    height: 40px;
}

.brand-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-top: 4px;
    transition: all 0.3s ease;
}

.navbar-scrolled .brand-text {
    font-size: 0.7rem;
    margin-top: 2px;
}

.brand-net {
    color: var(--primary-red);
}

.brand-surelevation {
    color: var(--primary-blue);
}

.brand-360 {
    color: var(--primary-red);
}

/* LogisFrance360 Brand Colors */
.logis-brand .logis-text {
    color: #2c3e50;
    font-weight: 600;
}

.logis-brand .france360-text {
    color: #50c878;
    font-weight: 600;
}

.nav-link {
    color: var(--dark-gray) !important;
    font-weight: 600;
    margin: 0 10px;
    padding: 8px 12px !important;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-red) !important;
    background: rgba(196, 30, 58, 0.1);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    padding: 15px 0;
    margin-top: 10px;
    min-width: 280px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item {
    padding: 12px 25px;
    color: var(--dark-gray);
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(5px);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.dropdown-item:hover i {
    opacity: 1;
    color: white;
}

.dropdown-header {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 25px 5px;
    margin-bottom: 5px;
}

.dropdown-divider {
    margin: 10px 20px;
    border-color: rgba(0, 0, 0, 0.1);
}



/* Dropdown Toggle Arrow */
.dropdown-toggle::after {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.btn-primary-custom {
    background: var(--gradient-red);
    border: none;
    padding: 15px 35px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white !important;
    text-decoration: none;
}

.btn-primary-custom.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Navbar CTA Button Enhancement */
.navbar-custom .btn-primary-custom {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    border-radius: 20px;
    box-shadow: 0 3px 15px rgba(196, 30, 58, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.navbar-custom .btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.4);
}

.navbar-scrolled .btn-primary-custom {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-primary-custom:hover {
    color: white !important;
    text-decoration: none;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    padding: 140px 0 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-margin-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images&videos/elevation-rendu-final-sur-immeuble.webp') center/cover;
    opacity: 0.1;
    z-index: 1;
}

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

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-content .highlight {
    color: var(--primary-red);
    position: relative;
}

.hero-content .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-red);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
}

.hero-pills .pill-item {
    background: rgba(30, 90, 138, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-pills .pill-item:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.3);
}

.hero-pills .pill-item i {
    color: var(--orange-cta);
    font-size: 1.2rem;
}

.hero-pills .pill-item:hover i {
    color: white;
}

.hero-video {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-video video {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: white;
}

.play-button i {
    color: var(--primary-red);
    font-size: 2rem;
    margin-left: 5px;
}

/* ==================== FLOATING ELEMENTS ==================== */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 15s infinite ease-in-out;
}

.shape:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ==================== SECTIONS STYLING ==================== */
.section-padding {
    padding: 80px 0 60px 0;
    scroll-margin-top: 20px;
}

/* Sections avec fond coloré - ajustement spécifique */
.bg-light {
    scroll-margin-top: 20px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-red);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #666;
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== FEATURE CARDS ==================== */
.feature-card {
    background: white;
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    margin-bottom: 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.feature-card:hover::before {
    left: 0;
    opacity: 0.05;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.feature-card * {
    position: relative;
    z-index: 2;
}

.feature-icon {
    font-size: 4rem;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    display: block;
    text-align: center;
}

.feature-card h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 20px;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--orange-cta);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== PROCESS STEPS ==================== */
.process-step {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.step-number {
    background: var(--gradient-red);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    margin: 0 auto 30px;
    position: relative;
    box-shadow: var(--shadow-md);
}

.step-number::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    opacity: 0.3;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* ==================== PORTFOLIO SLIDER ==================== */
.portfolio-slider {
    position: relative;
    margin: 50px 0;
}

.swiper-slide {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}

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

.portfolio-content {
    text-align: center;
    color: white;
    padding: 30px;
}

.portfolio-content h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
}

/* ==================== BEFORE/AFTER SLIDER ==================== */
.before-after-container {
    position: relative;
    margin: 40px 0;
}

.before-after-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.before-after-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.after-image {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.3s ease;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    z-index: 10;
    border: 3px solid var(--primary-red);
}

.slider-handle:active {
    cursor: grabbing;
}

.slider-handle i {
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: white;
    z-index: 9;
    transform: translateX(-50%);
    transition: left 0.3s ease;
}

/* ==================== VIDEO MODAL ==================== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.video-modal.active {
    display: flex;
}

.video-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.video-container video {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--orange-cta);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: var(--gradient-red);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 20px;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

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

.cta-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: white;
}

.cta-section .btn {
    color: white !important;
    text-decoration: none;
}

.cta-section .btn:hover {
    color: white !important;
    text-decoration: none;
}

.cta-section .btn-light {
    background: white !important;
    border-color: white !important;
    color: var(--primary-blue) !important;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.cta-section .btn-light:hover {
    background: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-section .btn-outline-light {
    background: transparent !important;
    border: 2px solid white !important;
    color: white !important;
    font-weight: 700;
}

.cta-section .btn-outline-light:hover {
    background: white !important;
    border-color: white !important;
    color: var(--primary-red) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ==================== CONTACT FORM ==================== */
.contact-form {
    background: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-red);
    border-radius: 25px 25px 0 0;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 15px 20px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 90, 138, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(135deg, var(--dark-gray) 0%, #1a252f 100%);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-red);
}

.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.05;
    z-index: 1;
}

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

.footer h5 {
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-red);
    border-radius: 2px;
}

.footer p, .footer li {
    color: #b8c2cc;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer a {
    color: #b8c2cc;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    display: inline-block;
    position: relative;
}

.footer a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.footer a:hover {
    color: var(--primary-red);
    transform: translateX(8px);
}

.footer a:hover::before {
    width: 30px;
}

.footer .company-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.footer .company-logo {
    max-width: 200px;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-red);
    transition: left 0.3s ease;
    z-index: 1;
}

.social-icons a:hover::before {
    left: 0;
}

.social-icons a i {
    position: relative;
    z-index: 2;
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.footer-contact-info {
    background: rgba(196, 30, 58, 0.1);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-red);
}

.footer-contact-info i {
    color: var(--primary-red);
    width: 20px;
    text-align: center;
    margin-right: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 30px;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    padding: 5px 0;
    font-size: 0.9rem;
}

/* ==================== FLOATING CTA ==================== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-cta .btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-red);
    border: none;
    color: white !important;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.floating-cta .btn:hover {
    animation: none;
    transform: scale(1.1);
    color: white !important;
    text-decoration: none;
}

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

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 120px 0 60px 0;
        min-height: 90vh;
    }
    
    .section-padding {
        padding: 70px 0 50px 0;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .navbar-custom {
        padding: 12px 0;
    }
    
    .navbar-custom .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .navbar-brand img {
        height: 45px;
    }
    
    .brand-text {
        font-size: 0.75rem;
        margin-top: 3px;
    }
    
    .feature-card {
        padding: 40px 30px;
        margin-bottom: 30px;
    }
    
    .hero-pills {
        justify-content: center;
    }
    
    .hero-pills .pill-item {
        flex: 1 1 auto;
        min-width: 200px;
        justify-content: center;
    }
    
    .stats-section .stat-number {
        font-size: 3.5rem;
    }
    
    .process-step .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .section-padding {
        padding: 60px 0 40px 0;
        scroll-margin-top: 15px;
    }
    
    .hero-section {
        padding: 130px 0 50px 0;
        min-height: 90vh;
        scroll-margin-top: 0;
    }
    
    .nav-link {
        margin: 5px 0;
        padding: 10px 0 !important;
        border-radius: 0;
        text-align: center;
    }
    
    .navbar-toggler {
        border: none;
        padding: 4px 8px;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        margin-top: 15px;
        padding: 20px;
        border-radius: 15px;
        box-shadow: var(--shadow-lg);
    }
    
    /* Navbar CTA Button Mobile */
    .navbar-custom .btn-primary-custom {
        padding: 15px 30px;
        font-size: 1rem;
        margin-top: 15px;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
        display: block;
        text-align: center;
    }
    
    /* Mobile Dropdown Styles */
    .dropdown-menu {
        background: rgba(248, 249, 250, 0.95);
        border-radius: 10px;
        margin-top: 5px;
        min-width: 100%;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .dropdown-item {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .dropdown-header {
        font-size: 0.75rem;
        padding: 6px 20px 3px;
    }
    
    .dropdown-item {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .dropdown-header {
        font-size: 0.7rem;
        padding: 5px 15px 2px;
    }
    
    .feature-card {
        padding: 30px 20px;
        margin-bottom: 25px;
    }
    
    .feature-card h4 {
        font-size: 1.3rem;
    }
    
    .feature-icon {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-item {
        padding: 30px 15px;
    }
    
    .hero-pills {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-pills .pill-item {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 15px 20px;
    }
    
    .before-after-slider {
        height: 300px;
    }
    
    .process-step {
        margin-bottom: 40px;
    }
    
    .process-step .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .cta-section h2 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .cta-section .lead {
        font-size: 1.1rem;
    }
    
    .footer {
        padding: 60px 0 20px;
    }
    
    .footer .company-info {
        padding: 25px 20px;
    }
    
    .footer-contact-info {
        padding: 20px 15px;
    }
    
    .footer-links {
        justify-content: center;
        gap: 15px;
    }
    
    .footer-bottom {
        text-align: center;
        margin-top: 40px;
        padding-top: 20px;
    }
    
    .footer-bottom .col-md-6:last-child {
        margin-top: 15px;
    }
    
    .social-icons {
        justify-content: center;
        gap: 12px;
    }
    
    .social-icons a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* Footer Mobile Optimizations */
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer .company-info {
        text-align: center;
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .footer .company-logo {
        max-width: 150px;
        margin-bottom: 15px;
    }
    
    .footer h5 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .footer-nav-mobile {
        text-align: center;
    }
    
    .footer-nav-mobile li {
        margin-bottom: 8px;
    }
    
    .footer-nav-mobile a {
        font-size: 0.9rem;
        padding: 5px 0;
    }
    
    .footer-contact-info {
        text-align: center;
        padding: 15px 10px;
        margin-bottom: 20px;
    }
    
    .footer-contact-info div {
        font-size: 0.85rem;
        margin-bottom: 12px !important;
    }
    
    .footer-contact-info i {
        margin-right: 8px;
        width: 15px;
    }
    
    .footer-links {
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .footer-links a {
        font-size: 0.8rem;
        padding: 3px 0;
    }
    
    .footer-bottom {
        margin-top: 30px;
        padding-top: 20px;
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.4;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 50px 0 30px 0;
        scroll-margin-top: 10px;
    }
    
    .hero-section {
        padding: 120px 0 40px 0;
        min-height: 85vh;
        scroll-margin-top: 0;
    }
    
    .navbar-custom {
        padding: 12px 0;
    }
    
    .navbar-brand img {
        height: 45px;
    }
    
    .brand-text {
        font-size: 0.7rem;
        margin-top: 2px;
        letter-spacing: 0.5px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .feature-card h4 {
        font-size: 1.2rem;
    }
    
    .contact-form {
        padding: 25px 15px;
    }
    
    .btn-primary-custom, .btn-lg {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .hero-pills .pill-item {
        padding: 12px 18px;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .before-after-slider {
        height: 250px;
    }
    
    .slider-handle {
        width: 50px;
        height: 50px;
    }
    
    .slider-handle i {
        font-size: 1.2rem;
    }
    
    .process-step .step-number {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }
    
    .process-step h4 {
        font-size: 1.1rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section .lead {
        font-size: 1rem;
    }
    
    .footer {
        padding: 50px 0 15px;
    }
    
    .footer h5 {
        font-size: 1.1rem;
    }
    
    .footer .company-info {
        padding: 20px 15px;
    }
    
    .footer-contact-info {
        padding: 15px 12px;
    }
    
    .footer-contact-info div {
        font-size: 0.9rem;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .floating-cta .btn {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
        bottom: 20px;
        right: 20px;
    }
    
    .header-top {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .header-top .col-md-6:last-child {
        display: none;
    }
    
    body {
        padding-top: 35px;
    }
    
    .brand-text {
        font-size: 0.6rem;
        margin-top: 1px;
        letter-spacing: 0.3px;
    }
    
    /* Footer Extra Small Mobile */
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer .company-info {
        padding: 15px 10px;
        margin-bottom: 15px;
    }
    
    .footer .company-logo {
        max-width: 120px;
        margin-bottom: 12px;
    }
    
    .footer h5 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .footer-nav-mobile a {
        font-size: 0.85rem;
        padding: 4px 0;
    }
    
    .footer-nav-mobile li {
        margin-bottom: 6px;
    }
    
    .footer-contact-info {
        padding: 12px 8px;
        margin-bottom: 15px;
    }
    
    .footer-contact-info div {
        font-size: 0.8rem;
        margin-bottom: 10px !important;
        line-height: 1.4;
    }
    
    .footer-links {
        gap: 8px;
    }
    
    .footer-links a {
        font-size: 0.75rem;
        padding: 2px 0;
    }
    
    .footer-bottom {
        margin-top: 25px;
        padding-top: 15px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .social-icons {
        gap: 10px;
        margin-top: 15px;
    }
    
    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-pills .pill-item {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .feature-card {
        padding: 20px 12px;
    }
    
    .contact-form {
        padding: 20px 12px;
    }
    
    .before-after-slider {
        height: 200px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .footer .company-info {
        padding: 15px 12px;
    }
    
    .footer-contact-info {
        padding: 12px 10px;
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.5;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .hero-pills .pill-item {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .btn-primary-custom, .btn-lg {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ==================== LANDSCAPE MOBILE ==================== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 40px 0;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero-pills {
        margin-bottom: 20px;
    }
    
    .hero-pills .pill-item {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

/* ==================== SECTION-SPECIFIC COLOR OVERRIDES ==================== */

/* Hero Section - Couleurs blanches */
.hero-section p {
    color: white !important;
    text-align: left !important;
}

.hero-section .lead {
    color: white !important;
    padding-left: 0 !important;
}

.hero-section .lead::before {
    display: none !important;
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6 {
    color: white !important;
}

/* Stats Section - Couleurs blanches */
.stats-section p,
.stats-section .stat-label {
    color: white !important;
    text-align: center !important;
}

.stats-section h1,
.stats-section h2,
.stats-section h3,
.stats-section h4,
.stats-section h5,
.stats-section h6 {
    color: white !important;
}

/* CTA Section - Couleurs blanches */
.cta-section p,
.cta-section .lead {
    color: white !important;
    text-align: center !important;
    padding-left: 0 !important;
}

.cta-section .lead::before {
    display: none !important;
}

.cta-section h1,
.cta-section h2,
.cta-section h3,
.cta-section h4,
.cta-section h5,
.cta-section h6 {
    color: white !important;
}

/* Footer - Couleurs spécifiques */
.footer p {
    color: #b8c2cc !important;
    text-align: left !important;
}

.footer .lead {
    color: #b8c2cc !important;
    padding-left: 0 !important;
}

.footer .lead::before {
    display: none !important;
}

.footer h5 {
    color: white !important;
}

/* Sections avec fond coloré */
.bg-primary p,
.bg-dark p,
.text-white p {
    color: white !important;
    text-align: left !important;
}

.bg-primary .lead,
.bg-dark .lead,
.text-white .lead {
    color: white !important;
    padding-left: 0 !important;
}

.bg-primary .lead::before,
.bg-dark .lead::before,
.text-white .lead::before {
    display: none !important;
}

/* ==================== CUSTOM SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-red);
    border-radius: 4px;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}

/* ==================== LOADING ANIMATION ==================== */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== VIDEO PREVIEW ==================== */
.video-preview-container {
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-preview-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.video-preview-overlay {
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.video-preview-container:hover .video-preview-overlay {
    opacity: 1;
}

.video-preview-play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.video-preview-play-btn:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.video-preview-play-btn i {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-left: 3px;
}

.video-preview-badge {
    z-index: 10;
}

.video-preview-badge .badge {
    background: var(--gradient-primary) !important;
    color: white;
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(30, 90, 138, 0.3);
}

/* ==================== CARROUSEL OPTIMISATIONS ==================== */
.chantiers-swiper {
    padding: 20px 0 60px;
    overflow: hidden;
}

.chantiers-swiper .swiper-slide {
    height: auto;
    padding: 0 15px;
}

.chantiers-swiper .swiper-button-next,
.chantiers-swiper .swiper-button-prev {
    color: var(--primary-blue);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    margin-top: -25px;
}

.chantiers-swiper .swiper-button-next:hover,
.chantiers-swiper .swiper-button-prev:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
}

.chantiers-swiper .swiper-button-next::after,
.chantiers-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.chantiers-swiper .swiper-pagination {
    bottom: 10px;
}

.chantiers-swiper .swiper-pagination-bullet {
    background: var(--primary-blue);
    opacity: 0.3;
    width: 12px;
    height: 12px;
}

.chantiers-swiper .swiper-pagination-bullet-active {
    background: var(--primary-red);
    opacity: 1;
    transform: scale(1.2);
}

/* Carrousel Rendus Architecturaux */
.rendus-swiper {
    padding: 15px 0 40px;
    overflow: hidden;
}

.rendus-swiper .swiper-slide {
    height: auto;
    padding: 0 15px;
}

.rendus-swiper .feature-card {
    padding: 25px 20px;
    margin-bottom: 0;
}

.rendus-swiper .feature-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.rendus-swiper .feature-card h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.rendus-swiper .feature-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.rendus-swiper .swiper-button-next,
.rendus-swiper .swiper-button-prev {
    color: var(--primary-blue);
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    margin-top: -22px;
}

.rendus-swiper .swiper-button-next:hover,
.rendus-swiper .swiper-button-prev:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
}

.rendus-swiper .swiper-button-next::after,
.rendus-swiper .swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

.rendus-swiper .swiper-pagination {
    bottom: 5px;
}

.rendus-swiper .swiper-pagination-bullet {
    background: var(--primary-blue);
    opacity: 0.3;
    width: 10px;
    height: 10px;
}

.rendus-swiper .swiper-pagination-bullet-active {
    background: var(--primary-red);
    opacity: 1;
    transform: scale(1.2);
}

/* Carrousel Fabrication Ossature */
.fabrication-swiper {
    padding: 20px 0 60px;
    overflow: hidden;
}

.fabrication-swiper .swiper-slide {
    height: auto;
    padding: 0 15px;
}

.fabrication-swiper .swiper-button-next,
.fabrication-swiper .swiper-button-prev {
    color: var(--primary-blue);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    margin-top: -25px;
}

.fabrication-swiper .swiper-button-next:hover,
.fabrication-swiper .swiper-button-prev:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
}

.fabrication-swiper .swiper-button-next::after,
.fabrication-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

.fabrication-swiper .swiper-pagination {
    bottom: 10px;
}

.fabrication-swiper .swiper-pagination-bullet {
    background: var(--primary-blue);
    opacity: 0.3;
    width: 12px;
    height: 12px;
}

.fabrication-swiper .swiper-pagination-bullet-active {
    background: var(--primary-red);
    opacity: 1;
    transform: scale(1.2);
}

/* ==================== ACCORDION STYLES ==================== */
.accordion-custom {
    border: none;
    box-shadow: none;
}

.accordion-custom .accordion-item {
    border: none;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: white;
}

.accordion-custom .accordion-header {
    border: none;
}

.accordion-custom .accordion-button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 25px 30px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.accordion-custom .accordion-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-red);
    transition: left 0.3s ease;
    z-index: 1;
}

.accordion-custom .accordion-button:hover::before {
    left: 0;
}

.accordion-custom .accordion-button * {
    position: relative;
    z-index: 2;
}

.accordion-custom .accordion-button:not(.collapsed) {
    background: var(--gradient-red);
    color: white;
    box-shadow: none;
}

.accordion-custom .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-custom .accordion-button::after {
    background-image: none;
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.2rem;
    color: white;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.accordion-custom .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-custom .accordion-body {
    padding: 30px;
    background: white;
    border-top: 3px solid var(--primary-red);
}

.accordion-custom .accordion-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--orange-cta);
    position: relative;
    z-index: 2;
}

/* Accordion Process Steps */
.accordion-process .accordion-button {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--primary-blue);
    border-left: 5px solid var(--primary-red);
}

.accordion-process .accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
}

.accordion-process .step-number-accordion {
    background: var(--gradient-red);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-right: 15px;
    position: relative;
    z-index: 2;
}

/* Accordion Why Steel */
.accordion-steel .accordion-button {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: var(--primary-blue);
    border-left: 5px solid var(--orange-cta);
}

.accordion-steel .accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
}

/* ==================== RESPONSIVE ACCORDION ==================== */
@media (max-width: 768px) {
    .accordion-custom .accordion-button {
        padding: 20px 15px;
        font-size: 1rem;
    }
    
    .accordion-custom .accordion-body {
        padding: 20px 15px;
    }
    
    .accordion-custom .accordion-icon {
        font-size: 1.3rem;
        margin-right: 10px;
    }
    
    .accordion-process .step-number-accordion {
        width: 35px;
        height: 35px;
        margin-right: 10px;
    }
}

/* ==================== CUSTOM SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}

/* ==================== PARTNERS SECTION ==================== */
.partner-logo-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.partner-logo-card.small {
    height: 80px;
    padding: 20px 15px;
}

.partner-logo-card.featured-partner {
    border: 2px solid var(--primary-red);
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.partner-logo-card.featured-partner:hover {
    border-color: var(--primary-red);
    box-shadow: 0 15px 40px rgba(196, 30, 58, 0.2);
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%) opacity(0.8);
    transition: all 0.3s ease;
}

.partner-logo-card:hover .partner-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.partner-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gradient-red);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(196, 30, 58, 0.3);
}

/* ==================== PARTNERS RESPONSIVE ==================== */
@media (max-width: 768px) {
    .partner-logo-card {
        height: 100px;
        padding: 20px 15px;
    }
    
    .partner-logo-card.small {
        height: 70px;
        padding: 15px 10px;
    }
    
    .partner-badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}

@media (max-width: 576px) {
    .partner-logo-card {
        height: 80px;
        padding: 15px 10px;
    }
    
    .partner-logo-card.small {
        height: 60px;
        padding: 10px 8px;
    }
}

/* ==================== CATALOGUES SECTION ==================== */
.catalogues-stack {
    position: relative;
    height: 500px;
    perspective: 1000px;
    margin: 0 auto;
    max-width: 400px;
}

.catalogue-card {
    position: absolute;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
}

.catalogue-card.catalogue-1 {
    z-index: 3;
    transform: translateZ(0px) rotateY(-5deg);
}

.catalogue-card.catalogue-2 {
    z-index: 2;
    transform: translateZ(-20px) rotateY(0deg) translateX(20px);
}

.catalogue-card.catalogue-3 {
    z-index: 1;
    transform: translateZ(-40px) rotateY(5deg) translateX(40px);
}

.catalogue-card:hover {
    transform: translateZ(50px) rotateY(0deg) scale(1.05) !important;
    z-index: 10 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.catalogue-cover {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
    transition: transform 0.4s ease;
}

.catalogue-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.catalogue-card:hover .catalogue-overlay {
    opacity: 1;
}

.catalogue-card:hover .catalogue-cover {
    transform: scale(1.1);
}

.catalogue-info {
    color: white;
    text-align: center;
    width: 100%;
}

.catalogue-info h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: white;
}

.catalogue-info p {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
    color: white;
}

.catalogue-btn {
    background: var(--gradient-red);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.catalogue-btn:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.catalogue-feature {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.catalogue-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* ==================== CATALOGUE NAVIGATION ==================== */
.catalogue-navigation {
    position: absolute;
    top: 50%;
    left: -60px;
    right: -60px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 15;
}

.catalogue-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.catalogue-nav-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(30, 90, 138, 0.3);
}

.catalogue-nav-btn i {
    font-size: 1.2rem;
}

.catalogue-indicators {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 15;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(30, 90, 138, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: var(--primary-blue);
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(30, 90, 138, 0.2);
}

.indicator:hover {
    background: var(--primary-red);
    transform: scale(1.1);
}

/* ==================== CATALOGUES RESPONSIVE ==================== */
@media (max-width: 992px) {
    .catalogues-stack {
        height: 400px;
        max-width: 350px;
    }
    
    .catalogue-card {
        height: 320px;
    }
    
    .catalogue-card.catalogue-2 {
        transform: translateZ(-15px) rotateY(0deg) translateX(15px);
    }
    
    .catalogue-card.catalogue-3 {
        transform: translateZ(-30px) rotateY(3deg) translateX(30px);
    }
}

@media (max-width: 768px) {
    .catalogues-stack {
        height: 350px;
        max-width: 300px;
        margin-bottom: 40px;
    }
    
    .catalogue-card {
        height: 280px;
    }
    
    .catalogue-card.catalogue-1 {
        transform: translateZ(0px) rotateY(-3deg);
    }
    
    .catalogue-card.catalogue-2 {
        transform: translateZ(-10px) rotateY(0deg) translateX(10px);
    }
    
    .catalogue-card.catalogue-3 {
        transform: translateZ(-20px) rotateY(3deg) translateX(20px);
    }
    
    .catalogue-overlay {
        padding: 20px;
    }
    
    .catalogue-info h5 {
        font-size: 1.2rem;
    }
    
    .catalogue-info p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .catalogue-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .catalogue-feature {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .catalogue-navigation {
        left: -50px;
        right: -50px;
    }
    
    .catalogue-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .catalogue-nav-btn i {
        font-size: 1rem;
    }
    
    .catalogue-indicators {
        bottom: -40px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .catalogues-stack {
        height: 300px;
        max-width: 250px;
    }
    
    .catalogue-card {
        height: 240px;
    }
    
    .catalogue-card.catalogue-2 {
        transform: translateZ(-8px) rotateY(0deg) translateX(8px);
    }
    
    .catalogue-card.catalogue-3 {
        transform: translateZ(-16px) rotateY(2deg) translateX(16px);
    }
    
    .catalogue-overlay {
        padding: 15px;
    }
    
    .catalogue-info h5 {
        font-size: 1.1rem;
    }
    
    .catalogue-info p {
        font-size: 0.85rem;
    }
    
    .catalogue-navigation {
        left: -45px;
        right: -45px;
    }
    
    .catalogue-nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .catalogue-nav-btn i {
        font-size: 0.9rem;
    }
    
    .catalogue-indicators {
        bottom: -35px;
        gap: 8px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
}

/* ==================== CATALOGUE DESCRIPTIONS ==================== */
.catalogue-description {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    transform: translateY(10px);
}

.catalogue-description.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateY(0);
}

.catalogue-descriptions-container {
    position: relative;
    min-height: 600px;
    transition: min-height 0.3s ease;
}

.catalogue-description .tech-spec {
    background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
    border: 1px solid rgba(30, 90, 138, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.catalogue-description .tech-spec h6 {
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.catalogue-description .tech-spec p {
    margin: 0;
    color: #4a5568;
    line-height: 1.5;
}

.catalogue-description .content-box {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.catalogue-description .content-box h6 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1rem;
}

.catalogue-description .content-box .list-enhanced {
    margin: 0;
}

.catalogue-description .content-box .list-enhanced li {
    padding: 8px 0;
    padding-left: 30px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.catalogue-description .content-box .list-enhanced li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* ==================== PRESTATION CARDS INTERACTIVE ==================== */
.prestation-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
}

.prestation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.prestation-card:hover::before {
    left: 0;
    opacity: 0.05;
}

.prestation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(30, 90, 138, 0.2);
    border-color: var(--primary-blue);
}

.prestation-card.featured {
    border-color: var(--primary-red);
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.prestation-card.featured:hover {
    border-color: var(--primary-red);
    box-shadow: 0 20px 60px rgba(196, 30, 58, 0.2);
}

.prestation-card * {
    position: relative;
    z-index: 2;
}

.prestation-icon {
    font-size: 3.5rem;
    color: var(--primary-red);
    margin-bottom: 25px;
    display: block;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.prestation-icon i {
    /* Fallback color for browsers that don't support background-clip */
    color: var(--primary-red);
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (-webkit-background-clip: text) {
    .prestation-icon i {
        color: var(--primary-red) !important;
        background: none !important;
    }
}

.prestation-card:hover .prestation-icon {
    transform: scale(1.1);
}

.prestation-card:hover .prestation-icon i {
    /* Au hover, on utilise une couleur solide pour plus de visibilité */
    color: var(--orange-cta);
    -webkit-text-fill-color: var(--orange-cta);
    background: none;
    text-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
}

.prestation-card h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-blue);
    text-align: center;
    font-size: 1.4rem;
}

.prestation-card p {
    color: #6c757d;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.6;
}

.prestation-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-tag {
    background: var(--gradient-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prestation-hover-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-top: 20px;
}

.prestation-card:hover .prestation-hover-content {
    opacity: 1;
    max-height: 200px;
}

.prestation-hover-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prestation-hover-content li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #4a5568;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.prestation-hover-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.prestation-hover-content li:last-child {
    border-bottom: none;
}

/* ==================== MATERIAL COMPARISON INTERACTIVE ==================== */
.comparison-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 40px 0;
}

.comparison-tabs {
    display: flex;
    background: var(--gradient-primary);
    padding: 0;
}

.comparison-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 25px 20px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.comparison-tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-red);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.comparison-tab.active::before {
    transform: scaleX(1);
}

.comparison-tab:hover,
.comparison-tab.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.comparison-tab i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.comparison-content {
    padding: 50px 40px;
    min-height: 500px;
    position: relative;
}

.material-comparison {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 50px;
    left: 40px;
    right: 40px;
    transition: all 0.5s ease;
    transform: translateY(20px);
}

.material-comparison.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(0);
}

.material-hero {
    text-align: center;
    margin-bottom: 40px;
}

.material-icon {
    font-size: 4rem;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.material-hero h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.material-hero .lead {
    color: #6c757d;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.performance-bars {
    margin-bottom: 40px;
}

.performance-item {
    margin-bottom: 25px;
}

.performance-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-blue);
}

.performance-value {
    background: var(--gradient-red);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
}

.performance-bar {
    height: 12px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.performance-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 6px;
    width: 0%;
    transition: width 1.5s ease-out;
    position: relative;
}

.performance-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.material-advantages {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.advantage-item:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.advantage-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: var(--gradient-primary);
    flex-shrink: 0;
}

.advantage-icon.warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.advantage-icon.danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.advantage-content h5 {
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 1.1rem;
}

.advantage-content p {
    color: #6c757d;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==================== TIMELINE PROCESSUS INTERACTIVE ==================== */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #e9ecef;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-progress-bar {
    width: 100%;
    height: 0%;
    background: var(--gradient-red);
    border-radius: 2px;
    transition: height 1s ease-out;
}

.timeline-step {
    position: relative;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.timeline-step.animate,
.timeline-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline Steps Hidden Container */
.timeline-steps-hidden {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease-out;
}

.timeline-steps-hidden.expanded {
    max-height: 3000px;
}

/* Discover Button */
.timeline-discover-btn {
    display: flex;
    justify-content: center;
    margin: 60px 0;
    position: relative;
}

.btn-discover-process {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 3px solid var(--primary-blue);
    border-radius: 25px;
    padding: 25px 40px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 90, 138, 0.15);
    min-width: 400px;
}

.btn-discover-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.4s ease;
    z-index: 1;
}

.btn-discover-process:hover::before {
    left: 0;
}

.btn-discover-process:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(30, 90, 138, 0.25);
}

.btn-discover-process * {
    position: relative;
    z-index: 2;
}

.discover-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.discover-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: bounce-gentle 2s infinite;
    transition: all 0.3s ease;
}

.btn-discover-process:hover .discover-icon {
    background: white;
    color: var(--primary-red);
    transform: scale(1.1);
    animation: none;
}

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

.discover-text {
    text-align: left;
    flex: 1;
}

.discover-text h5 {
    color: var(--primary-blue);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.btn-discover-process:hover .discover-text h5 {
    color: white;
}

.discover-text p {
    color: #6c757d;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.btn-discover-process:hover .discover-text p {
    color: rgba(255, 255, 255, 0.9);
}

.discover-steps-preview {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.step-dot {
    width: 35px;
    height: 35px;
    background: rgba(30, 90, 138, 0.1);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    animation: pulse-dot 2s infinite;
}

.step-dot:nth-child(1) { animation-delay: 0.2s; }
.step-dot:nth-child(2) { animation-delay: 0.4s; }
.step-dot:nth-child(3) { animation-delay: 0.6s; }
.step-dot:nth-child(4) { animation-delay: 0.8s; }
.step-dot:nth-child(5) { animation-delay: 1s; }

@keyframes pulse-dot {
    0%, 70%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    35% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.btn-discover-process:hover .step-dot {
    background: white;
    border-color: white;
    color: var(--primary-blue);
    animation: none;
    transform: scale(1.05);
}

/* Hidden State */
.timeline-discover-btn.hidden {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

.timeline-step:nth-child(even) .timeline-content {
    margin-left: calc(50% + 60px);
}

.timeline-step:nth-child(odd) .timeline-content {
    margin-right: calc(50% + 60px);
    text-align: right;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.3);
    transition: all 0.3s ease;
}

.timeline-marker:hover .timeline-number {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(196, 30, 58, 0.4);
}

.timeline-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.timeline-marker:hover .timeline-icon {
    background: var(--gradient-red);
    transform: scale(1.05);
}

.timeline-content {
    position: relative;
}

.timeline-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.timeline-step:hover .timeline-card::before {
    left: 0;
    opacity: 0.03;
}

.timeline-step:hover .timeline-card {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(30, 90, 138, 0.15);
    border-color: var(--primary-blue);
}

.timeline-card * {
    position: relative;
    z-index: 2;
}

.timeline-card h4 {
    color: var(--primary-blue);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.timeline-card p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.timeline-details {
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #4a5568;
}

.detail-item i {
    color: var(--primary-red);
    font-size: 0.8rem;
}

.timeline-duration {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 90, 138, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    width: fit-content;
}

.timeline-duration i {
    color: var(--orange-cta);
}

.timeline-summary {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.summary-item {
    text-align: center;
    padding: 20px;
}

.summary-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.3);
}

.summary-item h5 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 10px;
}

.summary-item p {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* ==================== RESPONSIVE ADJUSTMENTS ==================== */
@media (max-width: 992px) {
    .comparison-tabs {
        flex-direction: column;
    }
    
    .comparison-tab {
        flex-direction: row;
        justify-content: center;
        padding: 20px;
    }
    
    .comparison-tab i {
        margin-bottom: 0;
        margin-right: 10px;
    }
    
    .timeline-step:nth-child(even) .timeline-content,
    .timeline-step:nth-child(odd) .timeline-content {
        margin-left: 80px;
        margin-right: 0;
        text-align: left;
    }
    
    .timeline-marker {
        left: 30px;
        transform: translateX(0);
    }
    
    .timeline-progress {
        left: 30px;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .prestation-card {
        padding: 30px 20px;
    }
    
    .comparison-content {
        padding: 30px 20px;
    }
    
    .material-comparison {
        left: 20px;
        right: 20px;
    }
    
    .advantage-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .timeline-container {
        padding: 20px 0;
    }
    
    .timeline-step {
        margin-bottom: 60px;
    }
    
    .timeline-step:nth-child(even) .timeline-content,
    .timeline-step:nth-child(odd) .timeline-content {
        margin-left: 60px;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .timeline-progress {
        left: 20px;
    }
    
    .timeline-card {
        padding: 25px 20px;
    }
    
    .timeline-summary {
        padding: 30px 20px;
    }
    
    /* Discover Button Responsive */
    .btn-discover-process {
        min-width: 320px;
        padding: 20px 25px;
    }
    
    .discover-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .discover-text {
        text-align: center;
    }
    
    .discover-text h5 {
        font-size: 1.1rem;
    }
    
    .discover-text p {
        font-size: 0.85rem;
    }
    
    .discover-steps-preview {
        gap: 8px;
    }
    
    .step-dot {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    /* Rendus Swiper Mobile */
    .rendus-swiper {
        padding: 10px 0 30px;
    }
    
    .rendus-swiper .feature-card {
        padding: 20px 15px;
    }
    
    .rendus-swiper .feature-card img {
        height: 180px;
    }
    
    .rendus-swiper .feature-card h5 {
        font-size: 1rem;
    }
    
    .rendus-swiper .feature-card p {
        font-size: 0.85rem;
    }
    
    .rendus-swiper .swiper-button-next,
    .rendus-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }
    
    .rendus-swiper .swiper-button-next::after,
    .rendus-swiper .swiper-button-prev::after {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .prestation-card {
        padding: 25px 15px;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .material-hero h3 {
        font-size: 1.8rem;
    }
    
    .performance-bar {
        height: 10px;
    }
    
    .advantage-item {
        padding: 15px;
    }
    
    .timeline-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .timeline-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .summary-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Discover Button Mobile */
    .btn-discover-process {
        min-width: 280px;
        padding: 18px 20px;
    }
    
    .discover-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .discover-text h5 {
        font-size: 1rem;
    }
    
    .discover-text p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .step-dot {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .discover-steps-preview {
        gap: 6px;
    }
}

/* ==================== TECHNICAL PLANS SECTION ==================== */
.technical-plans-gallery {
    margin: 40px 0;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.plan-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-blue);
}

.plan-container {
    position: relative;
}

.plan-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 3px solid var(--primary-red);
}

.plan-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: all 0.4s ease;
    filter: contrast(1.1) brightness(1.05);
    background: white;
    padding: 15px;
}

.plan-card:hover .plan-image {
    transform: scale(1.05);
    filter: contrast(1.2) brightness(1.1);
}

.plan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: all 0.4s ease;
}

.plan-card:hover .plan-overlay {
    opacity: 1;
}

.plan-zoom-btn,
.plan-download-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--primary-blue);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.plan-zoom-btn:hover,
.plan-download-btn:hover {
    background: white;
    transform: scale(1.1);
    color: var(--primary-red);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.plan-info {
    padding: 25px;
}

.plan-category {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-category i {
    font-size: 1.1rem;
    color: var(--orange-cta);
}

.plan-info h5 {
    color: var(--primary-blue);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.plan-info p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.plan-specs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(30, 90, 138, 0.1);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.spec-item i {
    color: var(--orange-cta);
    font-size: 0.7rem;
}

/* Plan Viewer Modal */
.plan-viewer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plan-viewer-modal.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.plan-viewer-container {
    width: 95%;
    height: 95%;
    max-width: 1400px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.plan-viewer-header {
    background: var(--gradient-primary);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-viewer-header h4 {
    margin: 0;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.plan-viewer-controls {
    display: flex;
    gap: 10px;
}

.plan-control-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.plan-viewer-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.plan-viewer-image-container {
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.plan-viewer-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: grab;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.plan-viewer-image:active {
    cursor: grabbing;
}

/* Technical Specifications Cards */
.technical-specs-section {
    margin-top: 60px;
}

@media (max-width: 768px) {
    .technical-specs-section {
        margin-top: 40px;
    }
    
    .technical-specs-section .row {
        gap: 20px 0;
    }
}

@media (max-width: 576px) {
    .technical-specs-section {
        margin-top: 30px;
    }
}

.tech-spec-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.tech-spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-red);
}

.tech-spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(30, 90, 138, 0.15);
    border-color: var(--primary-blue);
}

.tech-spec-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(30, 90, 138, 0.3);
    transition: all 0.3s ease;
}

.tech-spec-card:hover .tech-spec-icon {
    background: var(--gradient-red);
    transform: scale(1.1);
}

.tech-spec-content h5 {
    color: var(--primary-blue);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.tech-spec-content p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.spec-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #4a5568;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.spec-list li:last-child {
    border-bottom: none;
}

.spec-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 992px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 800px;
    }
    
    .plan-image-wrapper {
        height: 200px;
    }
    
    .plan-info {
        padding: 20px;
    }
    
    .plan-viewer-header {
        padding: 15px 20px;
    }
    
    .plan-viewer-header h4 {
        font-size: 1.1rem;
    }
    
    .tech-spec-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .plan-card {
        margin-bottom: 20px;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }
    
    .plan-image-wrapper {
        height: 200px;
        border-radius: 15px 15px 0 0;
    }
    
    .plan-info {
        padding: 20px 15px;
    }
    
    .plan-info h5 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .plan-info p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .plan-category {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .plan-category i {
        font-size: 1rem;
    }
    
    .plan-specs {
        gap: 8px;
        justify-content: flex-start;
    }
    
    .spec-item {
        font-size: 0.75rem;
        padding: 4px 10px;
        border-radius: 12px;
    }
    
    .plan-zoom-btn,
    .plan-download-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .plan-overlay {
        gap: 15px;
    }
    
    .plan-viewer-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    
    .plan-viewer-header {
        padding: 15px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .plan-viewer-header h4 {
        font-size: 1rem;
        margin: 0;
    }
    
    .plan-viewer-controls {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .plan-control-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .tech-spec-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .tech-spec-content h5 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .tech-spec-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .technical-plans-gallery {
        margin: 30px 0;
    }
    
    .plans-grid {
        gap: 20px;
        padding: 0 5px;
    }
    
    .plan-card {
        border-radius: 12px;
        margin-bottom: 15px;
    }
    
    .plan-image-wrapper {
        height: 180px;
        border-radius: 12px 12px 0 0;
    }
    
    .plan-info {
        padding: 15px 12px;
    }
    
    .plan-info h5 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .plan-info p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .plan-category {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }
    
    .plan-specs {
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .spec-item {
        font-size: 0.7rem;
        padding: 3px 8px;
        border-radius: 10px;
    }
    
    .plan-zoom-btn,
    .plan-download-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .plan-overlay {
        gap: 12px;
    }
    
    .plan-viewer-header {
        padding: 12px;
    }
    
    .plan-viewer-header h4 {
        font-size: 0.9rem;
    }
    
    .plan-control-btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .tech-spec-card {
        padding: 18px 12px;
        margin-bottom: 15px;
        border-radius: 15px;
    }
    
    .tech-spec-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .tech-spec-content h5 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .tech-spec-content p {
        font-size: 0.85rem;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    
    .spec-list li {
        font-size: 0.8rem;
        padding: 6px 0;
    }
}

/* ==================== AOS RESPONSIVE FIX ==================== */
@media (max-width: 991px) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .aos-init {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    .aos-animate {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* Ensure smooth transitions on desktop only */
@media (min-width: 992px) {
    [data-aos] {
        transition-duration: 0.5s;
        transition-timing-function: ease-in-out;
    }
}
