/* OAcom Template - Grandes Lignes Category Styles */
/* SOURCE: templates/oui_build/html/com_content/category/grandeslignes.php */

    #logoa svg {fill:#FFF;}
        /* Variables CSS exactes de Figma */
        :root {
            --color-white: #FFFFFF;
            --color-beige: #D4CFC1;
            --color-grey-blue: #4A5458;
            --color-accent: #AAA491;
            --color-light-grey-blue: #717F85;
            --color-yellow: #FFC635;
            --color-yellow-secondary: #F5C149;
            --color-bg: #CDCDCD;

            /* Typography sizes from Figma */
            --font-size-t1: 88.91px;
            --font-size-t2: 100px;
            --font-size-t3: 30px;
            --font-size-t4: 40px;
            --font-size-t5: 65px;
            --font-size-h2: 40px;
            --font-size-text: 22px;
            --font-size-text-small: 19px;
            --font-size-text-regular: 16px;
            --font-size-subtitle: 53.793px;
            --font-size-button: 24px;
            --font-size-menu: 25px;
        }

        /* Reset précis */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Roboto', sans-serif;
            background-color: var(--color-bg);
            color: var(--color-grey-blue);
            overflow-x: hidden;
            position: relative;
            width: 1920px;
            margin: 0 auto;
        }


        /* Page Texture - Position absolue exacte */
        .page-texture {
            position: fixed;
            top: 0;
            left: 0px;
            width: 1920px;
            height: 1120px;
            pointer-events: none;
            z-index: -2;
        }

        .texture-image {
            width: 1920px;
            height: 1120px;
            background-image: url('/images/maj/413eacfbb03b509dd7e3fa2a0b5030242f610297.webp');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: sticky;
            top: 0;
        }

        .texture-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 1920px;
            height: 1120px;
            background-color: var(--color-beige);
            mix-blend-mode: soft-light;
            opacity: 0.6;
        }

        /* Hero Section - Exactement comme Figma */
        .hero-section {
            width: 100%;
            height: 100vh;
            padding-top:20vh;
            position: relative;
            overflow: hidden;
        }

        .hero-background {
            position: absolute;
            width: 2076px;
            height: 1695px;
            left: 0;
            top: -43px;
            background-size: 100% 122.48%;
            background-position: left;
            background-repeat: no-repeat;
            transform: translate3d(0, -150px, 0);
            will-change: transform;
        }

        .hero-content {
            position: relative;
            max-width:75%;
            margin:auto;
            display: flex;
            flex-direction: column;
            gap: 40px;
        }

        .hero-tagline {
            display: flex;
            gap: 10px;
            align-items: center;
            font-family: 'New Atten', 'Roboto', sans-serif;
            font-weight: 300;
            font-size: 25px;
            color: var(--color-beige);
        }

        .hero-tagline-dot {
            width: 9px;
            height: 9px;
            background-image: url('/images/maj/2633468cdfeaf08a854a4c018d1aa3159e27579e.svg');
        }

        .hero-divider {
            width: 246.354px;
            height: 1px;
            background-image: url('/images/maj/2e702251f8e3ee9651fe6d4ae248a0a145232468.svg');
        }

        .hero-title {
            font-family: 'PolicePrincipale', 'Roboto', sans-serif;
            font-weight: 700;
            font-size: var(--font-size-t1);
            line-height: 1;
            color: var(--color-accent);
            white-space: nowrap;
            opacity: 0; /* Hidden until typewriter JS kicks in */
        }

        .hero-subtitle {
            width: 546px;
            font-family: 'Gothiks', 'Roboto', sans-serif;
            font-size: 28px;
            line-height: 1.3;
            color: var(--color-light-grey-blue);
        }

        .hero-subtitle-light {
            font-weight: 300;
        }

        .hero-subtitle-bold {
            font-weight: 700;
        }

        /* Section 1 - Position exacte */
        .section-1 {
            width: 100vw;
            padding: 12vh 5vw 12vh 10vw;
            position: relative;
        }

        .section-container {
            display: flex;
            gap: 45px;
            align-items: flex-start;
        }

        .section-number {
                font-family: 'PolicePrincipale', 'Roboto', sans-serif;
            font-weight: 500;
            font-size: var(--font-size-t2);
            color: rgba(255, 255, 255, 0.5);
            text-align: center;
            line-height: normal;
            white-space: nowrap;
        }

        .section-content-wrapper {
            display: flex;
            gap: 62px;
        }

        .section-text-content {
            width: 603px;
            display: flex;
            flex-direction: column;
            gap: 40px;
        }

        .section-title-wrapper {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .section-title {
            font-family: 'Gothiks', 'Roboto', sans-serif;
            font-weight: 400;
            font-size: var(--font-size-t2);
            line-height: 1;
            color: var(--color-grey-blue);
            height: 220px;
        }

        .section-divider {
            width: 100%;
            height: 2px;
            background-image: url('/images/maj/d64c19343d55a5684dcdceda7f26cf8a8dfe24e9.svg');
        }

        .section-description {
            font-family: 'New Atten', 'Roboto', sans-serif;
            font-weight: 300;
            font-size: var(--font-size-text);
            line-height: 1.2;
            color: var(--color-grey-blue);
            width: 520px;
        }

        /* Bouton personnalisé — aligné sur le bouton "En savoir ++" de la home (pilule + sweep) */
        .btn-custom {
            width: 251px;
            height: 50px;
            position: relative;
            border: 1px solid var(--color-grey-blue);
            background: transparent;
            cursor: pointer;
            overflow: hidden;
            border-radius: 50px;
            padding: 15px 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .btn-custom-bg {
            position: absolute;
            left: 0;
            top: 0;
            width: 46px;
            height: 50px;
            background-color: var(--color-yellow-secondary);
            border-radius: 5px;
            z-index: 0;
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .btn-custom:hover .btn-custom-bg {
            width: 100%;
        }

        .btn-custom-text {
            position: relative;
            font-family: 'New Atten', 'Roboto', sans-serif;
            font-weight: 500;
            font-size: var(--font-size-button);
            line-height: 1.2;
            color: var(--color-grey-blue);
            white-space: nowrap;
            z-index: 1;
            transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .btn-custom:hover .btn-custom-text {
            color: var(--color-white);
        }

        /* Carousel de cartes - Position exacte */
        .cards-container {
            width: 702px;
            height: 444px;
            display: flex;
            gap: 40px;
            align-items: center;
        }

        .carousel-nav-left,
        .carousel-nav-right {
            width: 22px;
            height: 48px;
            cursor: pointer;
            transition: opacity 0.3s ease;
            flex-shrink: 0;
        }

        .carousel-nav-left:hover,
        .carousel-nav-right:hover {
            opacity: 0.6;
        }

        .cards-carousel-wrapper {
            width: 580px;
            height: 412px;
            overflow-x: auto;
            overflow-y: hidden;
            display: flex;
            gap: 40px;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
        }

        .cards-carousel-wrapper::-webkit-scrollbar {
            display: none;
        }

        /* Product Card - Dimensions exactes */
        .product-card {
            flex: 0 0 16vw;
            width: 16vw;
            height: 400px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            padding: 20px;
            box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 6px;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .product-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.15);
            background: rgba(255, 255, 255, 0.3);
        }

        .product-card-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 9px;
            align-items: center;
            justify-content: center;
        }

        .product-card-image {
            width: 100%;
            height: 153px;
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
            transition: transform 0.3s ease;
        }

        .product-card:hover .product-card-image {
            transform: scale(1.05);
        }

        h3.product-card-title {
            font-family: 'Gothiks', 'Roboto', sans-serif!important;
            font-weight: 400;
            font-size: 24px;
            line-height: 1.15;
            color: var(--color-grey-blue);
            text-align: center;
            text-transform:lowercase!important;
        }

        .product-card-category {
            font-family: 'Meutas Medium', 'Roboto', sans-serif;
            font-weight: 500;
            font-size: 16px;
            line-height: 1.2;
            letter-spacing: 4.8px;
            text-transform: lowercase;;
            color: var(--color-accent);
            text-align: center;
            height: 30px;
        }

        .product-card-button {
            height: 2.4rem;
            background-color: var(--color-grey-blue);
            border-radius: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0.55rem 1.4rem;
            border: none;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .product-card-button:hover {
            background-color: var(--color-yellow);
            transform: translateY(-2px);
        }

        .product-card-button-text {
            font-family: 'New Atten', 'Roboto', sans-serif;
            font-weight: 300;
            font-size: 16px;
            line-height: 1.2;
            color: var(--color-white);
            transition: color 0.3s ease;
        }

        .product-card-button:hover .product-card-button-text {
            color: var(--color-grey-blue);
        }

        /* Favorite button - Position exacte */
        .favorite-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 34px;
            height: 34px;
            background: transparent;
            border: none;
            cursor: pointer;
            z-index: 2;
            transition: transform 0.3s ease;
        }

        .favorite-btn:hover {
            transform: scale(1.2);
        }



        .favorite-btn-icon {
            position: absolute;
            top: 6px;
            left: 5px;
            right: 5px;
            bottom: 4px;
            background-image: url('/images/maj/0c63ae32aaac2fb7d6334c811f4f5733ad42ae21.svg');
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
            transition: filter 0.3s ease;
        }

        .favorite-btn:hover .favorite-btn-icon {
            filter: brightness(0) saturate(100%) invert(76%) sepia(39%) saturate(1834%) hue-rotate(5deg) brightness(101%) contrast(101%);
        }

        .favorite-btn.active .favorite-btn-icon {
            filter: brightness(0) saturate(100%) invert(28%) sepia(93%) saturate(5917%) hue-rotate(353deg) brightness(88%) contrast(91%);
        }

        /* Section 2 - Identité de marque */
        .section-2 {
            width: 1920px;
            padding: 200px 200px 300px 200px;
            position: relative;
        }

        .section-2-subtitle {
            font-family: 'Meutas Medium', 'Roboto', sans-serif;
            font-weight: 500;
            font-size: var(--font-size-t3);
            line-height: 1.2;
            letter-spacing: 9px;
            color: var(--color-white);
            width: 520px;
            margin-top: -50px;
        }

        /* Section 3 - Gagner en visibilité */
        .section-3 {
            width: 100vw;
            position: relative;
        }

        .section-3-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--color-beige);
            mix-blend-mode: color-burn;
        }

        .section-3-content {
            position: relative;
                padding: 25vh 5vw 25vh 10vw;
            display: flex;
            gap: 50px;
        }



        .section-3-left {
            width: 25vw;
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .section-3-title {
            font-family: 'Gothiks', 'Roboto', sans-serif;
            font-weight: 400;
            font-size: var(--font-size-t2);
            line-height: 1;
            color: var(--color-white);
            height: 214px;
        }

        .section-3-subtitle {
            font-family: 'Meutas Medium', 'Roboto', sans-serif;
            font-weight: 500;
            font-size: var(--font-size-t3);
            line-height: 1.2;
            letter-spacing: 9px;
            color: var(--color-white);

        }

        .service-list {
            display: flex;
            flex-direction: column;
            height: 225px;
            padding-bottom: 5px;
        }

        .service-item {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: -5px;
            padding-bottom: 5px;
            cursor: pointer;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .service-item:hover {
            transform: translateX(15px);
        }

        .service-heart {
            width: 23.465px;
            height: 23.465px;
            background-image: url('/images/maj/c1b30c0da7836b6718ba97570afe0c30fbe3eb34.svg');
            transition: transform 0.3s ease;
        }

        .service-item:hover .service-heart {
            transform: scale(1.2) rotate(10deg);
        }

        .service-button {
            width: 251px;
            height: 60px;
            position: relative;
            background: transparent;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            padding: 15px 25px;
        }

        .service-button-bg {
            position: absolute;
            left: 0;
            top: 10px;
            width: 251px;
            height: 40px;
            background-color: var(--color-yellow-secondary);
            border-radius: 5px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .service-button:hover .service-button-bg {
            opacity: 1;
        }

        .service-button-bg-small {
            position: absolute;
            left: 0;
            top: 10px;
            width: 46px;
            height: 40px;
            background-color: var(--color-yellow-secondary);
            border-radius: 5px;
            transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .service-button:hover .service-button-bg-small {
            width: 251px;
        }

        .service-button-text {
            position: relative;
            font-family: 'New Atten', 'Roboto', sans-serif;
            font-weight: 300;
            font-size: var(--font-size-button);
            line-height: 1.2;
            color: var(--color-grey-blue);
            z-index: 1;
            transition: color 0.3s ease, font-weight 0.3s ease;
        }

        .service-button:first-child .service-button-text {
            font-weight: 500;
        }

        .service-button:hover .service-button-text {
            color: var(--color-white);
            font-weight: 500;
        }

        .section-3-nav {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .section-3-nav-btn {
            width: 3rem;
            height: 3rem;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            cursor: pointer;
            transition: transform 0.3s ease;
            border-radius:50%;
            border:3px solid #666;
           
        }

        .section-3-nav-btn:hover {
            transform: scale(1.1);
        }

        .section-3-nav-btn.rotated {
            transform: rotate(180deg) scaleY(-1);
        }

        .section-3-images {
            width: 810px;
            display: flex;
            gap: 20px;
            align-items: center;
        }

        .section-3-main-image {
            width: 600px;
            height: 600px;
            border-radius: 5px;
            background-size: cover;
            background-position: center;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .section-3-main-image:hover {
            transform: scale(1.08);
        }

        .section-3-thumb {
            width: 50px;
            height: 600px;
            border-radius: 5px;
            background-size: cover;
            background-position: center;
            mix-blend-mode: luminosity;
            opacity: 0.5;
            cursor: pointer;
            transform-origin: center;
            transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, mix-blend-mode 0.3s ease, transform 0.4s ease;
        }

        .section-3-thumb:hover {
            opacity: 1;
            mix-blend-mode: normal;
            width: 500px;
        }

 /* Reassurance Section */
        .reassurance-section {
            width: 100vw;
            background-color: var(--color-grey-blue);
            mix-blend-mode: multiply;
            padding: 30vh 10vw 30vh 20vw;
            position: relative;
        }

@media screen and (min-width: 640px) and (max-width: 1200px) {
   .reassurance-section {
            width: 100vw;
            background-color: var(--color-grey-blue);
            mix-blend-mode: multiply;
            padding: 30vh 10vw 30vh 10vw;
            position: relative;
        }
}


       

        .reassurance-container {
            display: flex;
            gap: 60px;
        }

        .reassurance-card {
            width: 300px;
            display: flex;
            flex-direction: column;
            gap: 23px;
        }

        .reassurance-title {
            font-family: 'Gothiks', 'Roboto', sans-serif;
            font-weight: 400;
            font-size: var(--font-size-t5);
            line-height: 1;
            color: var(--color-beige);
        }

        .reassurance-divider {
            width: 80px;
            height: 1px;
            background-image: url('/images/maj/acb8e7f8845613eef820cfcc1bc3da1a41385edc.svg');
        }

        .reassurance-text {
            font-family: 'New Atten', 'Roboto', sans-serif;
            font-weight: 400;
            font-size: 18px;
            line-height: 1.44;
            color: var(--color-white);
            height: 96px;
        }

        /* Sticky Elements - Positions exactes */
        .sticky-element-1 {
            position: sticky;
            top: 10vh;
            left: 0;
            width: 626px;
            height: 1036px;
            pointer-events: none;
            z-index: -1;
            transform: rotate(180deg) scaleY(-1);
            mix-blend-mode: overlay;
            opacity: 0;
        }

        .sticky-element-1-content {
            width: 626px;
            height: 1036px;
            overflow: hidden;
            position: relative;
        }

        .sticky-element-1-img {
            position: absolute;
            left: 223.58px;
            width: 1429.415px;
            height: 1432.499px;
            transform: rotate(37.44deg) scaleY(-1);
            mix-blend-mode: soft-light;
        }

        .sticky-element-2 {
            position: sticky;
            top: 10vh;
            background-blend-mode: overlay;
            left: 0;
            width: 626px;
            height: 1517px;
            pointer-events: none;
            z-index: -1;
            transform: rotate(180deg) scaleY(-1);
            mix-blend-mode: overlay;
            opacity: 0;
        }

        .sticky-element-2-content {
            width: 626px;
            height: 1517px;
            overflow: hidden;
            position: relative;
        }

        .sticky-element-2-img {
            position: absolute;
            left: 0;
            bottom: 0.18px;
            width: 1143.108px;
            height: 1128.641px;
            transform: rotate(96.896deg) scaleY(-1);
            mix-blend-mode: soft-light;
            border-radius:50%;
        }


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

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes scaleIn {
            from {
                opacity: 0;
                transform: scale(0.9);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
            100% {
                transform: scale(1);
            }
        }

        .animate-fade-in {
            animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        .animate-slide-left {
            animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        .animate-slide-right {
            animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        .animate-scale {
            animation: scaleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
        }

        .animate-pulse {
            animation: pulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
        }

        /* Parallax Effect */
        .parallax {
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Responsive - Breakpoints Bootstrap */
        @media (max-width: 1920px) {
            body {
                width: 100%;
                max-width: 1920px;
            }
        }

        @media (max-width: 1400px) {
            :root {
                --font-size-t1: 70px;
                --font-size-t2: 80px;
                --font-size-t3: 25px;
                --font-size-t5: 50px;
            }

            .hero-content {
                left: 150px;
            }

            .section-1,
            .section-2 {
                padding: 150px 100px;
            }
        }

        @media (max-width: 1200px) {
            :root {
                --font-size-t1: 60px;
                --font-size-t2: 60px;
                --font-size-subtitle: 40px;
            }

            .cards-container {
                width: auto;
            }

            .section-content-wrapper {
                flex-direction: column;
                gap: 40px;
            }

            .product-card {
                flex: 0 0 300px;
                height: 350px;
            }
        }

        @media (max-width: 992px) {
            .hero-section {
                height: auto;
                min-height: 100vh;
            }

            .hero-content {
                position: relative;
                left: auto;
                bottom: auto;
                padding: 40px;
            }

            .section-container {
                flex-direction: column;
            }

            .reassurance-container {
                flex-direction: column;
                gap: 40px;
            }

            .footer-main {
                flex-direction: column;
                gap: 60px;
            }

            .footer-columns {
                flex-direction: column;
                gap: 40px;
            }

            /* Fluid widths for tablet */
            .section-1,
            .section-2,
            .section-3,
            .reassurance-section,
            .page-texture,
            .texture-image,
            .texture-overlay {
                width: 100%;
            }
        }

        /* ========================================
           MOBILE LAYOUT - Figma 400px design
           ======================================== */
        @media (max-width: 768px) {
            /* Mobile typography from Figma */
            :root {
                --font-size-t1: 45px;
                --font-size-t2: 70px;
                --font-size-subtitle: 45px;
                --font-size-t5: 50px;
                --font-size-button: 20px;
            }

            /* Remove all fixed 1920px widths */
            body,
            .page-texture,
            .texture-image,
            .texture-overlay,
            .section-1,
            .section-2,
            .section-3,
            .reassurance-section {
                width: 100% !important;
            }

            /* Hide decorative circles and menu pseudo-element on mobile */
            .decorative-circles-wrapper,
            .menu-pseudo {
                display: none !important;
            }

            /* --- HERO SECTION --- */
            .hero-section {
                height: 100vh;
                min-height: 100vh;
                padding-top: 0;
            }

            .hero-background {
                width: 100%;
                height: 100%;
                top: 0;
                left: 0;
                background-size: cover;
                background-position: center;
            }

            .hero-content {
                max-width: 100%;
                padding: 150px 30px 60px;
                gap: 40px;
            }

            .hero-title {
                font-size: 45px;
                white-space: pre-wrap;
                line-height: 1.27;
            }

            .hero-subtitle {
                width: 100%;
            }

            .hero-subtitle-light,
            .hero-subtitle-bold {
                font-size: 22px;
            }

            /* --- SECTIONS 1 & 2 --- */
            .section-1,
            .section-2 {
                padding: 100px 30px;
            }

            .module-position-1,
            .module-position-2 {
                width: 100%;
            }

            .section-container {
                flex-direction: column;
                gap: 0;
            }

            .section-content-wrapper {
                flex-direction: column;
                gap: 40px;
                width: 100%;
            }

            .section-text-content {
                width: 100%;
            }

            .section-number {
                font-size: 100px;
            }

            .section-title {
                font-size: 70px;
                height: auto;
                width: 100%;
            }

            .section-title-wrapper {
                gap: 15px;
                width: 100%;
            }

            .section-divider {
                width: 100%;
            }

            .section-description {
                width: 100%;
            }

            .section-2-subtitle {
                width: 100%;
                font-size: 22px;
                letter-spacing: 4.4px;
                margin-top: 0;
            }

            /* Mobile button - yellow strip style */
            .btn-custom {
                width: 251px;
                height: 50px;
                border-radius: 50px;
                padding: 15px 25px;
            }

            .btn-custom-bg {
                width: 35px;
                height: 30px;
                top: 50%;
                left: 0;
                transform: translateY(-50%);
            }

            .btn-custom:hover .btn-custom-bg {
                width: 100%;
            }

            .btn-custom-text {
                position: relative;
                font-size: 20px;
                font-weight: 500;
                left: auto;
                top: auto;
                transform: none;
            }

            /* --- CARDS CAROUSEL --- */
            .cards-container {
                width: 100%;
                height: auto;
                flex-wrap: wrap;
                justify-content: center;
                gap: 10px;
            }

            .cards-carousel-wrapper {
                width: 100%;
                flex: 0 0 100%;
                height: auto;
                min-height: 300px;
                gap: 40px;
            }

            .product-card {
                flex: 0 0 220px;
                width: 220px;
                height: 280px;
                padding: 20px 30px;
            }

            .product-card:hover {
                transform: none;
                box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
            }

            .product-card-image {
                width: 178px;
                height: 124px;
                margin: 0 auto;
            }

            h3.product-card-title {
                font-size: 22px;
            }

            .product-card-category {
                display: none;
            }

            .product-card-button {
                height: 35px;
                padding: 5px 15px;
            }

            .product-card-button-text {
                font-size: 15px;
            }

            .favorite-btn {
                width: 26px;
                height: 26px;
            }

            .favorite-btn-bg {
                width: 26px;
                height: 26px;
            }

            /* --- SECTION 3 --- */
            .section-3 {
                height: auto;
                padding: 100px 0;
            }

            .section-3-content {
                position: relative;
                top: auto;
                left: auto;
                right: auto;
                bottom: auto;
                flex-direction: column;
                padding: 0 30px;
                gap: 20px;
            }

            .section-3-left {
                width: 100%;
            }

            .section-3-title {
                font-size: 70px;
                height: auto;
            }

            .section-3-subtitle {
                width: 100%;
                font-size: 22px;
                letter-spacing: 4.4px;
                font-weight: 400;
            }

            .service-list {
                height: auto;
            }

            .service-item {
                gap: 0;
            }

            .service-heart {
                display: none;
            }

            .service-button {
                height: 50px;
                padding: 10px 25px;
            }

            .service-button-bg-small {
                width: 35px;
                height: 30px;
            }

            .service-button:hover .service-button-bg-small {
                width: 35px;
            }

            .service-button-text {
                font-size: 20px;
            }

            /* First service button - active/selected state with full bg */
            .service-item:first-child .service-button-bg-small {
                width: 251px;
            }

            /* Section 3 images - horizontal gallery */
            .section-3-images {
                width: 100%;
                gap: 8px;
            }

            .section-3-main-image {
                flex: 1;
                width: auto;
                height: 252px;
                border-radius: 2px;
            }

            .section-3-thumb {
                width: 21px;
                height: 252px;
                border-radius: 2px;
            }

            .section-3-nav {
                justify-content: center;
            }

            .section-3-nav-btn {
                width: 34px;
                height: 34px;
            }

            /* --- REASSURANCE --- */
            .reassurance-section {
                padding: 100px 30px 100px 100px;
            }

            .reassurance-container {
                flex-direction: column;
                gap: 60px;
            }

            .reassurance-card {
                width: 248px;
            }

            .reassurance-title {
                font-size: 50px;
            }

            .reassurance-text {
                height: auto;
            }
        }

        /* Small mobile fine-tuning */
        @media (max-width: 480px) {
            .hero-content {
                padding: 120px 30px 40px;
            }

            .section-1,
            .section-2 {
                padding: 80px 20px;
            }

            .section-3-content {
                padding: 0 20px;
            }

            .reassurance-section {
                padding: 80px 20px 80px 60px;
            }

            .reassurance-card {
                width: 100%;
            }
        }

        main {position:relative;}

/* ============================================================
   Pages Piliers — blocs todo.md (rebuild 2026-05-21)
   Introduction · Démarche · Approche · Communication ·
   Explorer plus loin · Perspectives liées · Outils · Ce que cela change
   ============================================================ */

.gl-section {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 12vh 0;
}
.gl-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 6vw;
    color: var(--color-grey-blue);
}
.gl-container > h2,
.gl-block-title {
    font-family: 'Gothiks', 'Roboto', sans-serif;
    font-weight: 400;
    font-size: var(--font-size-h2);
    line-height: 1.05;
    color: var(--color-grey-blue);
    margin-bottom: 36px;
}
.gl-container h3 {
    font-family: 'Meutas Medium', 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 26px;
    line-height: 1.2;
    color: var(--color-grey-blue);
    margin-bottom: 12px;
}
.gl-container p {
    font-family: 'Roboto', sans-serif;
    font-size: var(--font-size-text);
    line-height: 1.7;
    margin-bottom: 18px;
}
.gl-container ul {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}
.gl-container ul li {
    position: relative;
    padding-left: 32px;
    font-size: var(--font-size-text);
    line-height: 1.6;
    margin-bottom: 14px;
}
.gl-container ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 16px;
    height: 2px;
    background: var(--color-yellow);
}

/* Introduction — lead paragraph emphasis */
.gl-introduction .gl-container { max-width: 980px; }
.gl-introduction p:first-child,
.gl-introduction .gl-lead {
    font-size: 26px;
    line-height: 1.5;
    color: var(--color-light-grey-blue);
}

/* Démarche — "… concrètement" : 4 items grid */
.gl-demarche .gl-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 64px;
    margin-top: 12px;
}
.gl-demarche .gl-item {
    position: relative;
    padding-top: 22px;
    border-top: 2px solid var(--color-yellow);
}
.gl-demarche .gl-item p { margin-bottom: 0; }

/* Une approche / Communication & systèmes */
.gl-approche .gl-container,
.gl-communication .gl-container { max-width: 980px; }
.gl-communication { background: rgba(74, 84, 88, 0.04); }

/* Explorer plus loin — eyebrow header above the dynamic module sections */
.gl-explorer { position: relative; z-index: 1; }
.gl-explorer-head { padding-top: 12vh; padding-bottom: 0; }
.gl-eyebrow {
    display: inline-block;
    font-family: 'Gothiks', 'Roboto', sans-serif;
    font-size: 22px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-yellow);
}

/* Perspectives liées — 3 article cards */
.gl-perspectives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.gl-persp-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(74, 84, 88, 0.12);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
}
.gl-persp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(74, 84, 88, 0.2);
}
.gl-persp-img {
    display: block;
    width: 100%;
    height: 200px;
    background: var(--color-beige) center/cover no-repeat;
}
.gl-persp-body { padding: 24px 26px 28px; }
.gl-persp-title {
    display: block;
    font-family: 'Meutas Medium', 'Roboto', sans-serif;
    font-size: 21px;
    line-height: 1.3;
    color: var(--color-grey-blue);
    margin-bottom: 16px;
}
.gl-persp-more {
    font-family: 'Gothiks', 'Roboto', sans-serif;
    font-size: 18px;
    color: var(--color-accent);
}

/* Outils & systèmes associés — tag/cards */
.gl-tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.gl-tool {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--color-white);
    border: 1px solid rgba(74, 84, 88, 0.12);
    border-radius: 50px;
    text-decoration: none;
    color: var(--color-grey-blue);
    font-family: 'Meutas Medium', 'Roboto', sans-serif;
    font-size: 20px;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}
.gl-tool:hover {
    background: var(--color-grey-blue);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Ce que cela change — closing list on dark band */
.gl-change {
    width: 100vw;
    background-color: var(--color-grey-blue);
    color: var(--color-white);
    padding: 18vh 0;
}
.gl-change .gl-container { color: var(--color-white); }
.gl-change .gl-container > h2,
.gl-change .gl-block-title { color: var(--color-beige); }
.gl-change .gl-container p,
.gl-change .gl-container li { color: var(--color-white); }
.gl-change .gl-container ul li::before { background: var(--color-yellow); }

/* ---- Responsive ---- */
@media (max-width: 1200px) {
    .gl-perspectives-grid { gap: 28px; }
    .gl-container { padding: 0 5vw; }
}
@media (max-width: 992px) {
    .gl-demarche .gl-grid { grid-template-columns: 1fr; gap: 36px; }
    .gl-perspectives-grid { grid-template-columns: 1fr; }
    .gl-section { padding: 9vh 0; }
    .gl-container > h2, .gl-block-title { font-size: 32px; }
    .gl-introduction p:first-child, .gl-introduction .gl-lead { font-size: 22px; }
}
@media (max-width: 768px) {
    .gl-container { padding: 0 28px; }
    .gl-persp-img { height: 170px; }
}

/* ============================================================
   Pages Piliers — TYPOGRAPHY COHERENCE (2026-05-21)
   Lock the .gl-* blocks to one readable type system and defeat
   global element rules (h3→PolicePrincipale, li→new-atten, etc.)
   that were making the new sections incoherent / low-contrast.
   ============================================================ */

/* Headings — site section font (Gothiks), strong contrast */
.gl-section h2,
.gl-section .gl-block-title {
    font-family: 'Gothiks', 'Roboto', sans-serif !important;
    font-weight: 400 !important;
    font-size: 40px !important;
    line-height: 1.1 !important;
    color: var(--color-grey-blue) !important;
    margin-bottom: 32px !important;
    text-transform: none;
}

/* Item / sub titles — clean medium weight (not the display font) */
.gl-section h3,
.gl-demarche .gl-item h3 {
    font-family: 'Meutas Medium', 'Roboto', sans-serif !important;
    font-weight: 600 !important;
    font-size: 23px !important;
    line-height: 1.25 !important;
    color: var(--color-grey-blue) !important;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 10px !important;
}

/* Body copy + lists — Roboto, dark, comfortable measure */
.gl-section p,
.gl-section li,
.gl-section .gl-lead {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400 !important;
    font-size: 19px !important;
    line-height: 1.65 !important;
    color: var(--color-grey-blue) !important;
}

/* Intro lead — slightly larger, still high-contrast (was washed-out light grey) */
.gl-introduction .gl-lead,
.gl-introduction p:first-child {
    font-size: 23px !important;
    line-height: 1.5 !important;
    color: var(--color-grey-blue) !important;
}

/* Tool chips */
.gl-tool {
    font-family: 'Meutas Medium', 'Roboto', sans-serif !important;
    font-size: 18px !important;
    color: var(--color-grey-blue) !important;
}
.gl-tool:hover { color: var(--color-white) !important; }

/* Perspectives card text */
.gl-persp-title { font-family: 'Meutas Medium', 'Roboto', sans-serif !important; font-size: 20px !important; line-height: 1.3 !important; color: var(--color-grey-blue) !important; }
.gl-persp-more  { font-family: 'Gothiks', 'Roboto', sans-serif !important; color: var(--color-accent) !important; }

/* Eyebrow */
.gl-eyebrow {
    font-family: 'Gothiks', 'Roboto', sans-serif !important;
    font-size: 20px !important;
    letter-spacing: 0.14em;
    color: var(--color-accent) !important;
}

/* Dark "Ce que cela change" band — keep light text on dark */
.gl-change h2,
.gl-change .gl-block-title { color: var(--color-beige) !important; }
.gl-change p,
.gl-change li,
.gl-change .gl-lead { color: var(--color-white) !important; }

/* Perspectives card — default picto fallback (contain, not cropped) */
.gl-persp-img--default {
    background-size: 110px auto !important;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--color-beige);
}

/* Concevoir — "Concevoir autrement" + "Communication & systèmes" side by side */
.gl-two-col .gl-two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
    max-width: 1200px;
}
.gl-two-col .gl-col-communication {
    padding-left: 72px;
    border-left: 1px solid rgba(74, 84, 88, 0.18);
}
@media (max-width: 992px) {
    .gl-two-col .gl-two-col-grid { grid-template-columns: 1fr; gap: 40px; }
    .gl-two-col .gl-col-communication { padding-left: 0; border-left: 0; }
}
