
/* ===================================
   SPTP - CSS COMPLET MULTI-PAGES
   Tous les styles pour toutes les pages
   =================================== */

/* ===================================
   VARIABLES
   =================================== */
:root {
    --primary-color: #3B5998;
    --secondary-color: #A4B82C;
    --dark-bg: #1a1a1a;
    --text-color: #2C3E50;
    --text-light: #7F8C8D;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --border-color: #E0E0E0;
    --transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s ease;
    --reveal-transition: 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ===================================
   RESET & BASE
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ===================================
   ANIMATIONS SIGNATURE SPTP
   =================================== */

/* Animations Reveal avec IntersectionObserver */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity var(--reveal-transition), transform var(--reveal-transition);
}

.reveal.is-visible,
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Compatibilité avec les anciennes classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity var(--reveal-transition), transform var(--reveal-transition);
}

.reveal-on-scroll.is-visible,
.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Respect des préférences utilisateur */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Strates de sol - Section divider */
.strates-divider {
    position: relative;
    height: 120px;
    overflow: hidden;
    background: linear-gradient(to bottom, #f8f9fa 0%, #e8eef2 100%);
}

.strates-divider::before,
.strates-divider::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 40px;
    opacity: 0;
    transition: opacity 1s ease-out, clip-path 1.2s ease-out;
    clip-path: inset(0 100% 0 0);
}

.strates-divider::before {
    top: 20px;
    background: linear-gradient(90deg, rgba(59,89,152,0.08) 0%, rgba(164,184,44,0.08) 100%);
    transition-delay: 0.1s;
}

.strates-divider::after {
    top: 60px;
    background: linear-gradient(90deg, rgba(59,89,152,0.12) 0%, rgba(164,184,44,0.12) 100%);
    transition-delay: 0.3s;
}

.strates-divider.is-visible::before,
.strates-divider.is-visible::after {
    opacity: 1;
    clip-path: inset(0 0 0 0);
}

/* Grille de pavés subtile en background */
.paves-pattern {
    position: relative;
}

.paves-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(59,89,152,0.5) 19px, rgba(59,89,152,0.5) 20px),
        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(59,89,152,0.5) 19px, rgba(59,89,152,0.5) 20px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
    transition: transform 0.5s ease-out;
}

.paves-pattern > * {
    position: relative;
    z-index: 1;
}

/* Micro parallax sur la grille */
@media (prefers-reduced-motion: no-preference) {
    .paves-pattern::before {
        will-change: transform;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Container avec pattern pavés */
.container-paves {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar-minimal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-fast);
}

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

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    text-decoration: none;
}

.nav-menu a:not(.btn-minimal)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu a:not(.btn-minimal):hover::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    width: 100%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--secondary-color);
}

.btn-minimal {
    padding: 10px 25px;
    background: linear-gradient(to left, var(--secondary-color) 50%, var(--primary-color) 50%);
    background-size: 200% 100%;
    background-position: right;
    color: white !important;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: background-position 0.4s ease, transform 0.3s ease;
}

.btn-minimal:hover {
    background-position: left;
    transform: translateY(-2px);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition-fast);
}

/* ===================================
   HERO DYNAMIQUE (PAGE ACCUEIL)
   =================================== */
.hero-dynamic {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    margin-top: 70px;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-video::-webkit-media-controls {
    display: none !important;
}

.hero-bg-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.hero-bg-video::-webkit-media-controls-panel {
    display: none !important;
}

.hero-bg-video::-webkit-media-controls-play-button {
    display: none !important;
}

.hero-bg-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,26,26,0.6), rgba(59,89,152,0.5));
    z-index: 1;
}

.hero-bg-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    transform-origin: center;
    will-change: transform;
    z-index: 0;
    filter: blur(3px) brightness(0.4);
    transform: scale(1.1);
    transition: transform 0.5s ease-out;
}

.hero-content-center {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 0 40px;
}

.hero-xxl {
    font-size: 4.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.hero-xxl .line-1,
.hero-xxl .line-2 {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: revealLine 1s ease forwards;
}

.hero-xxl .line-2 {
    animation-delay: 0.3s;
}

@keyframes revealLine {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeInDelayed 1s ease forwards 0.8s;
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeInDelayed 1s ease forwards 0.8s;
}

@keyframes fadeInDelayed {
    to {
        opacity: 1;
    }
}

.btn-hero {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(to left, var(--secondary-color) 50%, var(--primary-color) 50%);
    background-size: 200% 100%;
    background-position: right;
    color: white;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    opacity: 0;
    animation: fadeInDelayed 1s ease forwards 1.2s;
    transition: background-position 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-hero:hover {
    background-position: left;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 89, 152, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

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

/* ===================================
   PAGE HERO (PAGES INTERNES)
   =================================== */
.page-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #e0e0e0;
    transition: transform 0.8s ease;
}

.page-hero:hover .page-hero-bg {
    transform: scale(1.05);
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.85), rgba(52, 73, 94, 0.85));
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 40px;
}

.page-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.95;
}

.fade-zoom {
    opacity: 0;
    transform: scale(0.95);
    animation: fadeZoom 1s ease forwards 0.3s;
}

@keyframes fadeZoom {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===================================
   SECTION MANIFESTE
   =================================== */
.manifeste {
    padding: 120px 0;
    background: var(--bg-light);
}

.manifeste-content {
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition);
}

.manifeste-content.visible,
.manifeste-content.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-from-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition);
}

.slide-from-left.visible,
.slide-from-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.manifeste-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.underline-animated {
    position: relative;
    display: inline-block;
}

.underline-animated::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: width 0.8s ease;
}

.manifeste-content.visible .underline-animated::after,
.slide-from-left.visible .underline-animated::after {
    width: 100%;
}

.manifeste-text {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.manifeste-text strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* ===================================
   SERVICES IMMERSIFS
   =================================== */
.services-immersive {
    background: var(--bg-white);
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
}

.service-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-block-reverse {
    direction: rtl;
}

.service-block-reverse .service-content {
    direction: ltr;
}

.service-image {
    position: relative;
    background-size: cover;
    background-position: center;
}

.service-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 89, 152, 0.3), rgba(164, 184, 44, 0.3));
}

.service-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px;
    background: var(--bg-white);
}

.service-title-xxl {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.service-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-style: italic;
}

.service-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* ===================================
   SECTION EXPÉRIENCE - VIGNETTES DÉFILANTES
   =================================== */
.experience-section {
    background: linear-gradient(135deg, rgba(26,26,26,0.95) 0%, rgba(59,89,152,0.9) 100%);
    position: relative;
    padding: 100px 0 60px;
    color: white;
}

.experience-grid {
    display: grid;
    gap: 60px;
    align-items: start;
}

@media (min-width: 992px) {
    .experience-grid {
        grid-template-columns: 380px 1fr;
        gap: 80px;
    }
}

/* Colonne gauche - Sticky */
.experience-left {
    position: sticky;
    top: 120px;
    align-self: start;
}

.experience-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.experience-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin: 0;
}

@media (max-width: 991px) {
    .experience-title {
        font-size: 2.5rem;
    }
}

/* Colonne droite - Stage sticky */
.experience-right {
    position: relative;
    min-height: 500px;
}

.experience-stage {
    position: sticky;
    top: 120px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.experience-cards-container {
    position: relative;
    width: 100%;
    height: 500px;
    max-width: 600px;
}

/* Card - Style de base avec position absolute pour effet pile */
.experience-card {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a5298 100%);
    border-radius: 16px;
    padding: 40px 45px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transform: translateY(var(--ty, 0)) scale(var(--scale, 1));
    filter: blur(var(--blur, 0));
    opacity: var(--op, 1);
    z-index: var(--z, 1);
    transition: transform 0.05s linear, filter 0.05s linear, opacity 0.05s linear;
}

/* Badge numéro */
.experience-card-badge {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
    backdrop-filter: blur(10px);
}

/* Contenu de la carte */
.experience-card-content {
    flex: 1;
}

.experience-card-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.experience-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0 0 12px 0;
}

.experience-card-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

/* Responsive tablet */
@media (max-width: 991px) {
    .experience-cards-container {
        max-width: 540px;
    }
    
    .experience-card {
        padding: 32px 36px;
    }
    
    .experience-card-badge {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    
    .experience-card-icon {
        font-size: 2rem;
    }
    
    .experience-card-title {
        font-size: 1.5rem;
    }
    
    .experience-card-text {
        font-size: 0.95rem;
    }
}

/* Responsive mobile - Fallback simple */
@media (max-width: 480px) {
    .experience-section {
        padding: 60px 0;
        min-height: auto !important;
    }
    
    .experience-grid {
        gap: 40px;
    }
    
    .experience-left {
        position: relative;
        top: 0;
    }
    
    .experience-title {
        font-size: 2rem;
    }
    
    .experience-right {
        position: relative;
    }
    
    .experience-stage {
        position: relative;
        top: 0;
        height: auto;
    }
    
    .experience-cards-container {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .experience-card {
        position: relative !important;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
        z-index: 1 !important;
        padding: 24px 28px;
    }
    
    .experience-card-badge {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    
    .experience-card-icon {
        font-size: 1.8rem;
    }
    
    .experience-card-title {
        font-size: 1.3rem;
    }
    
    .experience-card-text {
        font-size: 0.9rem;
    }
}

.difference-item i {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.difference-item h3 {
    font-size: 1.3rem;
}

/* ===================================
   RÉALISATIONS CARROUSELS
   =================================== */
.realisations-carousel {
    padding: 120px 0;
    background: var(--bg-light);
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

/* Container de chaque carrousel */
.realisation-slider-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.realisation-slider-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Slider interne */
.realisation-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4; /* Format portrait */
    overflow: hidden;
}

.realisation-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.realisation-slider .slide.active {
    opacity: 1;
    pointer-events: auto;
}

.realisation-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Boutons de navigation */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.realisation-slider-container:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

.slider-btn i {
    color: var(--primary-color);
    font-size: 16px;
}

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

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* Informations de la réalisation */
.realisation-info {
    padding: 20px;
    background: white;
}

.realisation-info h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.realisation-info p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ===================================
   SECTION CONFIANCE
   =================================== */
.confiance-calm {
    padding: 120px 0;
    background: var(--bg-white);
    text-align: center;
}

.confiance-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: var(--text-color);
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.confiance-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.confiance-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   CTA FINAL
   =================================== */
.cta-final {
    padding: 100px 0;
    background: var(--bg-white);
    text-align: center;
}

.cta-title-clean {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.btn-cta-large {
    display: inline-block;
    padding: 20px 60px;
    background: linear-gradient(to left, var(--secondary-color) 50%, var(--primary-color) 50%);
    background-size: 200% 100%;
    background-position: right;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: background-position 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 3rem;
}

.btn-cta-large:hover {
    background-position: left;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(59, 89, 152, 0.3);
}

.contact-info-minimal {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

/* ===================================
   CONTENT SECTION (PAGES)
   =================================== */
.content-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.content-text-large {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.content-text-large.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-text-large p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.content-text-large strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.text-large {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ===================================
   VALEURS SECTION
   =================================== */
.valeurs-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.valeur-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.valeur-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.valeur-item.cascade-1 { transition-delay: 0.1s; }
.valeur-item.cascade-2 { transition-delay: 0.2s; }
.valeur-item.cascade-3 { transition-delay: 0.3s; }
.valeur-item.cascade-4 { transition-delay: 0.4s; }

.valeur-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.valeur-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.valeur-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   ZONE INTERVENTION
   =================================== */
.zone-intervention {
    padding: 80px 0;
    background: var(--bg-white);
}

.zone-content {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.zone-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title-left {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.section-title-center {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.zone-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-light);
}

.zone-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.zone-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.zone-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* ===================================
   CTA SECTION PAGE
   =================================== */
.cta-section-page {
    padding: 100px 0;
    background: var(--bg-light);
    text-align: center;
}

.cta-title-page {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-color);
}

/* ===================================
   FOOTER MINIMAL
   =================================== */
.footer-minimal {
    background: var(--dark-bg);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.footer-col p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

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

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

.footer-col ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-col i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-brand p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* ===================================
   SERVICES HUB (PAGE SERVICES)
   =================================== */
.services-hub {
    padding: 80px 0;
    background: var(--bg-white);
}

.service-hub-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
}

.service-hub-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-hub-reverse {
    direction: rtl;
}

.service-hub-reverse .service-hub-content {
    direction: ltr;
}

.service-hub-image {
    background-size: cover;
    background-position: center;
    background-color: #e0e0e0;
}

.service-hub-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    background: var(--bg-light);
}

.service-hub-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    text-transform: uppercase;
}

.service-hub-tagline {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-style: italic;
}

.service-hub-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.btn-service-detail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(to left, var(--text-color) 50%, var(--secondary-color) 50%);
    background-size: 200% 100%;
    background-position: right;
    color: white;
    font-weight: 600;
    transition: background-position 0.4s ease, transform 0.3s ease;
    align-self: flex-start;
}

.btn-service-detail:hover {
    background-position: left;
    transform: translateX(5px);
}

/* ===================================
   SERVICE DESCRIPTION (PAGES DÉTAILLÉES)
   =================================== */
.service-description {
    padding: 80px 0;
    background: var(--bg-white);
}

.service-intro {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.service-intro.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   SERVICE AVANTAGES
   =================================== */
.service-avantages {
    padding: 80px 0;
    background: var(--bg-light);
}

.avantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.avantage-item {
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.avantage-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.avantage-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.avantage-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.avantage-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   TYPES DE PAVÉS
   =================================== */
.types-paves {
    padding: 80px 0;
    background: var(--bg-white);
}

.types-content {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.types-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.types-list {
    list-style: none;
    margin-top: 30px;
}

.types-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.types-list li i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

/* ===================================
   GALERIE RÉALISATIONS (PAGE RÉALISATIONS)
   =================================== */
.galerie-realisations {
    padding: 80px 0;
    background: var(--bg-white);
}

/* Filtres */
.realisations-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Grid format carré */
.galerie-grid-square {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.galerie-item {
    position: relative;
    aspect-ratio: 1/1; /* Format carré */
    border-radius: 12px;
    overflow: visible;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
    margin-bottom: 35px;
}

.galerie-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.galerie-item.hidden {
    display: none;
}

.galerie-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.galerie-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #e0e0e0;
    transition: var(--transition);
}

.galerie-item:hover .galerie-image {
    transform: scale(1.05);
}

.galerie-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 25px;
    background: linear-gradient(to top, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0.6) 60%, transparent 100%);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.galerie-item:hover .galerie-overlay {
    transform: translateY(0);
    opacity: 1;
}

.galerie-overlay h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 6px;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.galerie-item:hover .galerie-overlay h3 {
    transform: translateY(0);
    opacity: 1;
}

.galerie-overlay p {
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.galerie-item:hover .galerie-overlay p {
    opacity: 0.85;
    transform: translateY(0);
}

.galerie-overlay p i {
    color: var(--secondary-color);
    font-size: 0.85rem;
}

.galerie-filename {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .galerie-realisations .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .galerie-grid-square {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }
    
    .galerie-item {
        width: 100%;
        margin: 0 auto;
    }
    
    .galerie-image {
        width: 100%;
        padding-bottom: 75%;
        background-size: cover;
        background-position: center;
    }
    
    .galerie-filename {
        display: none;
    }
    
    .galerie-overlay {
        transform: translateY(0);
        opacity: 1;
    }
    
    .galerie-overlay h3,
    .galerie-overlay p {
        transform: translateY(0);
        opacity: 1;
    }
    
    .galerie-overlay p {
        opacity: 0.85;
    }
    
    .realisations-filters {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* ===================================
   MATÉRIEL SECTION
   =================================== */
.materiel-avantages {
    padding: 80px 0;
    background: var(--bg-light);
}

.materiel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.materiel-item {
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.materiel-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.materiel-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.materiel-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.materiel-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.contact-form-container {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.contact-form-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-form-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.contact-form-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.btn-submit {
    padding: 15px 40px;
    background: linear-gradient(to left, var(--secondary-color) 50%, var(--primary-color) 50%);
    background-size: 200% 100%;
    background-position: right;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-position 0.4s ease, transform 0.3s ease;
    align-self: flex-start;
}

.btn-submit:hover {
    background-position: left;
    transform: translateY(-2px);
}

.contact-info-container {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.contact-info-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-info-container h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 5px;
}

.contact-info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-info-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-info-item a {
    color: var(--text-light);
    transition: var(--transition-fast);
}

.contact-info-item a:hover {
    color: var(--secondary-color);
}

/* ===================================
   ANIMATIONS UTILITAIRES
   =================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 40px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition-fast);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .burger {
        display: flex;
    }
    
    .hero-xxl {
        font-size: 3rem;
    }
    
    .service-block {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .service-block-reverse {
        direction: ltr;
    }
    
    .service-content {
        order: 1;
        padding: 60px 40px;
    }
    
    .service-image {
        order: 2;
        min-height: 300px;
    }
    
    .service-title-xxl {
        font-size: 3rem;
    }
    
    .realisations-grid-immersive {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container,
    .container-narrow {
        padding: 0 20px;
    }
    
    .hero-xxl {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .manifeste-title {
        font-size: 2rem;
    }
    
    .service-title-xxl {
        font-size: 1.6rem;
    }
    
    .difference-title,
    .section-title-xxl,
    .confiance-title,
    .cta-title-clean {
        font-size: 2rem;
    }
    
    .contact-info-minimal {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Réalisations carrousels responsive */
    .realisations-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .slider-btn {
        opacity: 1;
        width: 35px;
        height: 35px;
    }
    
    .slider-btn.prev {
        left: 10px;
    }
    
    .slider-btn.next {
        right: 10px;
    }
    
    /* Contact Page Responsive */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    .contact-form-title {
        font-size: 2rem !important;
    }
    
    .contact-form-subtitle {
        font-size: 1rem !important;
    }
    
    .form-row {
        flex-direction: column !important;
        gap: 25px !important;
    }
    
    .form-row .form-group {
        width: 100% !important;
        flex: none !important;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100% !important;
    }
    
    .contact-info-container h3 {
        font-size: 1.5rem !important;
    }
    
    .contact-info-item {
        margin-bottom: 25px !important;
    }
    
    .btn-submit {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col {
        text-align: left;
    }
}

/* ===================================
   ANIMATIONS AVANCÉES PAGE ENTREPRISE
   =================================== */

/* Ligne verte horizontale au scroll */
.green-level-line {
    position: fixed;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--secondary-color) 20%, var(--secondary-color) 80%, transparent 100%);
    box-shadow: 0 0 12px rgba(164, 184, 44, 0.6), 0 0 24px rgba(164, 184, 44, 0.3);
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.green-level-line.active {
    opacity: 1;
}

/* Effet de mise à niveau des titres */
.level-title {
    filter: blur(1.5px);
    transform: translateX(-3px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}

.level-title.leveled {
    filter: blur(0);
    transform: translateX(0);
    opacity: 1;
}

/* Animation d'assemblage des blocs (pavage visuel) */
.paving-block {
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.paving-block.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.paving-block.cascade-1 {
    transition-delay: 0.1s;
}

.paving-block.cascade-2 {
    transition-delay: 0.2s;
}

.paving-block.cascade-3 {
    transition-delay: 0.3s;
}

.paving-block.cascade-4 {
    transition-delay: 0.4s;
}

/* Construction du chiffre "20 ans" bloc par bloc */
.build-number {
    display: inline-block;
}

.build-number .digit-2,
.build-number .digit-0 {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
}

.build-number .digit-2 {
    animation: buildDigit 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.build-number .digit-0 {
    animation: buildDigit 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.build-text {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    animation: buildDigit 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards;
}

@keyframes buildDigit {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    60% {
        transform: translateY(-5px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Transition de pages - Coupe de sol */
.page-transition {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, 
        #2C3E50 0%, 
        #34495E 20%, 
        #5D6D7E 40%, 
        #85929E 60%, 
        #A6ACAF 80%, 
        #D5D8DC 100%
    );
    z-index: 9999;
    pointer-events: none;
}

.page-transition.active {
    animation: soilCut 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes soilCut {
    0% {
        height: 0;
    }
    100% {
        height: 100vh;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .level-title {
        filter: blur(1px);
        transform: translateX(-2px);
    }
    
    .paving-block {
        transform: translateX(-3px);
    }
}


/* ===================================
   GALERIE MATÉRIEL
   =================================== */
.materiel-galerie {
    padding: 100px 0;
    background: var(--bg-white);
}

.materiel-galerie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.materiel-galerie-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.materiel-galerie-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.materiel-galerie-image {
    position: relative;
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.materiel-galerie-item:hover .materiel-galerie-image {
    transform: scale(1.05);
}

.materiel-galerie-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26,26,26,0.95) 0%, rgba(26,26,26,0.7) 70%, transparent 100%);
    padding: 30px 25px;
    color: white;
    transition: all 0.3s ease;
}

.materiel-galerie-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.materiel-galerie-overlay p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.materiel-galerie-item:hover .materiel-galerie-overlay {
    background: linear-gradient(to top, var(--primary-color) 0%, rgba(59,89,152,0.9) 70%, transparent 100%);
}

@media (max-width: 1024px) {
    .materiel-galerie-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .materiel-galerie {
        padding: 60px 0;
    }
    
    .materiel-galerie-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .materiel-galerie-image {
        height: 280px;
    }
}

/* ===================================
   SECTION CTA IMPACT VISUEL
   =================================== */
.cta-impact {
    position: relative;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 80px 0;
    overflow: hidden;
}

.cta-impact-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    color: #3B5998;
}

.cta-impact-stripe {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, #8A9624 100%);
    box-shadow: 2px 0 8px rgba(164, 184, 44, 0.3);
}

.cta-impact-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.cta-impact-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.cta-impact-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-impact-location,
.cta-impact-services {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-impact-location i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.cta-impact-services i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.btn-cta-impact {
    display: inline-block;
    padding: 20px 50px;
    background: linear-gradient(to left, var(--secondary-color) 50%, var(--primary-color) 50%);
    background-size: 200% 100%;
    background-position: right;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: background-position 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(164, 184, 44, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cta-impact:hover {
    background-position: left;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 89, 152, 0.4);
}

@media (max-width: 768px) {
    .cta-impact {
        padding: 60px 0;
    }
    
    .cta-impact-title {
        font-size: 1.8rem;
    }
    
    .cta-impact-details {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-cta-impact {
        padding: 16px 35px;
        font-size: 1rem;
    }
}

/* ===================================
   BOUTONS RÉALISATIONS
   =================================== */
.realisations-cta-center {
    text-align: center;
    margin-top: 60px;
}

.btn-realisations-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(to left, var(--primary-color) 50%, var(--secondary-color) 50%);
    background-size: 200% 100%;
    background-position: right;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background-position 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.15);
}

.btn-realisations-primary:hover {
    background-position: left;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(164, 184, 44, 0.3);
}

.btn-realisations-primary i {
    transition: transform 0.3s ease;
}

.btn-realisations-primary:hover i {
    transform: translateX(5px);
}

/* ===================================
   PAGES LÉGALES
   =================================== */
.legal-content {
    padding: 80px 0;
    background: var(--bg-white);
}

.legal-intro {
    margin-bottom: 60px;
    padding: 30px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.legal-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 15px;
}

.legal-intro p:last-child {
    margin-bottom: 0;
}

.legal-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.legal-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 25px;
    margin-bottom: 15px;
}

.legal-info {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.legal-info p {
    margin-bottom: 15px;
}

.legal-info strong {
    color: var(--text-color);
    font-weight: 600;
}

.legal-info ul {
    margin: 20px 0;
    padding-left: 30px;
}

.legal-info ul li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.legal-info a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition-fast);
}

.legal-info a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .legal-content {
        padding: 60px 0;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .legal-intro {
        padding: 20px;
    }
    
    /* Services Hub Responsive */
    .service-hub-block {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .service-hub-block,
    .service-hub-reverse {
        direction: ltr;
    }
    
    .service-hub-content {
        order: 1;
        padding: 40px 20px;
    }
    
    .service-hub-image {
        order: 2;
        min-height: 300px;
    }
    
    .service-hub-title {
        font-size: 2rem;
    }
    
    .service-hub-tagline {
        font-size: 1.1rem;
    }
    
    .service-hub-text {
        font-size: 1rem;
    }
    
    /* Entreprise Page Responsive */
    .page-hero-title {
        font-size: 2.5rem !important;
    }
    
    .page-hero-subtitle {
        font-size: 1.2rem !important;
    }
    
    /* Section Matériel & Autonomie */
    section[style*="background: linear-gradient(135deg, #f8f9fa"] div[style*="grid-template-columns: 1fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }
    
    section[style*="background: linear-gradient(135deg, #f8f9fa"] div[style*="grid-template-columns: 1fr 1fr"] > div:first-child {
        order: 1;
    }
    
    section[style*="background: linear-gradient(135deg, #f8f9fa"] div[style*="grid-template-columns: 1fr 1fr"] > div:last-child {
        order: 2;
    }
    
    section[style*="background: linear-gradient(135deg, #f8f9fa"] img {
        transform: none !important;
    }
    
    section[style*="background: linear-gradient(135deg, #f8f9fa"] ul li {
        font-size: 1rem !important;
    }
    
    /* Grille méthode de travail */
    section div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Level title responsive */
    .level-title {
        font-size: 2rem !important;
    }
    
    /* Padding sections mobile */
    section[style*="padding: 120px 0"] {
        padding: 60px 0 !important;
    }
    
    /* Section Ancrage Local - Entreprise locale + Zones d'intervention */
    section[style*="overflow: hidden"] div[style*="grid-template-columns: 1fr 1fr"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }
    
    section[style*="overflow: hidden"] div[style*="padding: 60px"] {
        padding: 40px 30px !important;
    }
    
    section[style*="overflow: hidden"] h2 {
        font-size: 1.8rem !important;
    }
    
    section[style*="overflow: hidden"] h3 {
        font-size: 1.5rem !important;
    }
    
    section[style*="overflow: hidden"] p,
    section[style*="overflow: hidden"] strong {
        font-size: 1rem !important;
    }
    
    section[style*="overflow: hidden"] i.fa-map-marked-alt {
        font-size: 3rem !important;
    }
}
