/* ========================================================================= */
/* PALETTE ET VARIABLES CSS */
/* ========================================================================= */
:root {
    --color-onyx-dark: #09090B;
    --color-onyx-dark-gray: #131313;
    --color-onyx-primary-cyan: #53a9bb;
    --color-text-primary: #F0F0F0;
    --color-text-secondary: #C0C0C0;
    --max-width-content: 1280px;
    --header-height: 72px;
    --spacing-lg: 3rem;
    --spacing-md: 1rem;
    --spacing-sm: 0.5rem;
}

/* ========================================================================= */
/* STYLES GÉNÉRAUX */
/* ========================================================================= */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-onyx-dark);
    color: var(--color-text-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Archivo Expanded';
    src: url('assets/fonts/Archivo/archivo-expanded-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo Expanded';
    src: url('assets/fonts/Archivo/archivo-expanded-black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

h1 {
    font-family: 'Archivo Expanded', sans-serif;
    font-weight: 900;
    letter-spacing: 0.05em;
}

h2, h3, h4, h5, h6 {
    font-family: 'Archivo Expanded', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.container {
    max-width: var(--max-width-content);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

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

#main-content-wrapper {
    position: relative;
    transition: filter 0.5s ease-in-out;
    filter: brightness(1) blur(0px);
    min-height: 100vh;
    margin-top: -0.6rem;
}

#main-content-wrapper.is-mobile-menu-open {
    filter: blur(8px) brightness(0.75);
}

/* ========================================================================= */
 /* STYLES SPÉCIFIQUES AUX PAGES */
/* ========================================================================= */
        .page-contact .hero-background-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 20;
            background-image: url('assets/hero-contact.png');
            background-size: cover;
            background-position: bottom;
            background-repeat: no-repeat;
            pointer-events: none;
            filter: opacity(80%);
            animation: none;
        }

        .page-contact .hero-content {
            padding-top: 40vh;
        }

        .page-contact .hero-title::after {
            content: '';
            position: absolute;
            left: 50%;
            top: 30%;
            width: 120%;
            height: 120%;
            transform: translate(-50%, -50%);
            background: radial-gradient(circle, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0) 100%);
            filter: blur(14px);
            z-index: -1;
            pointer-events: none;
        }

        .a-propos-page .hero-background-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 20;
            background-image: url('assets/abstract-car.png');
            background-size: cover;
            background-position: bottom;
            background-repeat: no-repeat;
            pointer-events: none;
            animation: none;
        }

        .a-propos-page .hero-background-image::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            width: 100%;
            height: 35%;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 70%);
            z-index: 21;
            pointer-events: none;
        }

        .a-propos-page .hero-content {
            padding-top: 36vh;
        }

        .a-propos-page .hero-paragraph {
            margin-top: 4rem;
        }

        .a-propos-page .hero-title::after {
            content: '';
            position: absolute;
            left: 50%;
            top: 30%;
            width: 120%;
            height: 120%;
            transform: translate(-50%, -50%);
            background: radial-gradient(circle, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0) 100%);
            filter: blur(14px);
            z-index: -1;
            pointer-events: none;
        }

        .services-page .hero-background-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 20;
            background-image: url('assets/car-inside.png');
            background-size: cover;
            background-position: bottom;
            background-repeat: no-repeat;
            pointer-events: none;
            animation: none;
        }

        .services-page .hero-content {
            padding-top: 40vh;
        }

        .services-page .hero-title::after {
            content: '';
            position: absolute;
            left: 50%;
            top: 30%;
            width: 120%;
            height: 120%;
            transform: translate(-50%, -50%);
            background: radial-gradient(circle, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0) 100%);
            filter: blur(14px);
            z-index: -1;
            pointer-events: none;
        }



/* ========================================================================= */
/* STYLES DES SECTIONS */
/* ========================================================================= */

/* HERO SECTION */
.hero-section {
    position: relative;
    background-color: var(--color-onyx-dark-gray);
    height: 100vh;
    overflow: hidden;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    border-bottom: 1px solid rgba(0, 163, 224, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 100%;
    z-index: 20;
    background-image: url('assets/hero-abstract-background.png');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    pointer-events: none;
    filter: none;
    padding-top: 9rem;
    animation: background-move 5s linear infinite;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(1rem, 2rem, 3rem);
    position: relative;
    z-index: 30;
    padding-top: 20vh;
    flex: 1;
    overflow: visible;
}

.hero-title {
    font-size: clamp(1.5rem, 6vw, 5.5rem);
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-onyx-primary-cyan);
    /*margin-bottom: clamp(1rem, 2vh, 2rem);*/
    margin-bottom: 2rem;
    max-width: 100%;
    padding: 0 1rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: relative;
    z-index: 10;
    word-break: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.hero-paragraph {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #D5D5D5;
    margin-bottom: clamp(1.5rem, 3vh, 3rem);
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    text-align: center;
    position: relative;
    z-index: 30;
    box-sizing: border-box;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 30;
    padding-top: 1rem;
    margin-bottom: clamp(0.5rem, 1vh, 1rem);
}

.cta-group .btn-base {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-group .btn-base svg {
    flex-shrink: 0;
}

.text-gradient {
    background-image: linear-gradient(to bottom, var(--color-text-primary) 70%, rgba(255, 255, 255, 0));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-content-center {
    text-align: center;
    position: relative;
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.hero-title-animated {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-out forwards;
}

.hero-paragraph-animated {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-out 1s forwards;
}

.hero-scroll-indicator {
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    animation: slideUp 1s ease-out 2s forwards;
}

.hero-cta-group {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-out 1.4s forwards;
}

.hero-cta-1 {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-out 1.4s forwards;
}

.hero-cta-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-out 1.6s forwards;
}

.scroll-text {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.chevron-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--color-text-secondary);
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: bounce 2s infinite;
}

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

@media (max-width: 534px) {
    .hero-content-center {
        margin-top: -4rem;
        padding: 0;
    }
}

@media (max-width: 440px) {
    .hero-title {
        font-size: 2rem;
        margin: 2rem 0;
        padding: 0;
    }

    .page-contact .hero-title .text-gradient,
    .a-propos-page .hero-title .text-gradient {
        background: none;
        -webkit-text-fill-color: currentColor;
        color: var(--color-text-primary);
    }

    .hero-content {
        padding-top: 11vh;
    }

    .hero-content-center {
        padding: 0rem;
        margin-top: 0rem;
    }

    .hero-paragraph {
        font-size: 0.98rem;
        margin-top: 4rem;
    }
}

.mobile-br { display: none; }
.desktop-br { display: none; }
.mid-br { display: none; }
.no-wrap { white-space: nowrap; }
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* >=714px: 2 lignes */
@media (min-width: 714px) {
    .desktop-br { display: inline-block; }
}

@media (max-width: 713px) {
    .no-wrap { white-space: normal; }
}

/* 348px-605px: 3 lignes "Protégez" / "ce qui compte" / "pour vous" */
@media (min-width: 348px) and (max-width: 605px) {
    .mid-br { display: inline-block; }
}

/* <348px: 3 lignes avec texte plus petit */
@media (max-width: 347px) {
    .mobile-br { display: inline-block; }
}

@media (min-width: 700px) {
    .hero-background-image {
        width: 100%;
        height: 100%;
        background-size: 140% auto;
        background-position: 0% 90%;
        animation: background-move-desktop 12s linear infinite;
        will-change: background-position;
    }
}

        .lead-text-contact {
            font-size: clamp(0.9rem, 2vw, 1.1rem);
        }

/* ============================================
   SCANNER - SCAN INVENTAIRE 1
   ============================================ */

#scanner-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
}

#interactive {
    position: relative;
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    background-color: #000;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#interactive video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 4;
    pointer-events: none;
    width: 0;
    height: 0;
    top: 0;
    left: 0;
}

#scan-zone {
    position: absolute;
    width: 75%;
    max-width: 300px;
    height: 30%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    box-sizing: border-box;
    pointer-events: none;
    overflow: hidden;
}

            .mobile-control-left::before {
                width: 260px;
                height: 260px;
                left: -4%;
                bottom: -4rem;
                opacity: 0.65;
            }

#scan-frame-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image:
        linear-gradient(to bottom, white 5px, transparent 5px),
        linear-gradient(to right, white 5px, transparent 5px),
        linear-gradient(to bottom, white 5px, transparent 5px),
        linear-gradient(to left, white 5px, transparent 5px),
        linear-gradient(to top, white 5px, transparent 5px),
        linear-gradient(to right, white 5px, transparent 5px),
        linear-gradient(to top, white 5px, transparent 5px),
        linear-gradient(to left, white 5px, transparent 5px);
    background-size: 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
    background-position:
        0 0, 0 0,
        100% 0, 100% 0,
        0 100%, 0 100%,
        100% 100%, 100% 100%;
    background-repeat: no-repeat;
}

#scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), #ffffff, rgba(255, 255, 255, 0.1));
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    z-index: 10;
    transform: translateY(0);
}

#closeScanModal {
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    padding: 0;
    line-height: 1;
    font-size: 24px;
    z-index: 15;
    transition: opacity 0.2s, outline-color 0.2s;
    opacity: 0.8;
    stroke-width: 2;
}

#closeScanModal:hover {
    opacity: 1;
}

#closeScanModal:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

#scan-status-container {
    position: absolute;
    top: auto;
    bottom: auto;
    left: auto;
    transform: none;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 8px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 10;
    font-size: 0.8rem;
    font-weight: 400;
    box-sizing: border-box;
}

#scan-status-container svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    color: #ffffff;
    flex-shrink: 0;
}

#scan-status-message {
    margin: 2px 0 0 0;
    text-align: left;
    min-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#scanner-window button {
    display: none !important;
}

/* Media query pour mobile */
@media (max-width: 480px) {
    #scan-zone {
        width: 85%;
        height: 25%;
    }
}

/* ============================================
   STYLES POUR SCAN-INVENTAIRE (adaptés depuis inventory-common.css)
   ============================================ */

/* Reset et base pour scan-inventaire */
.scan-inventaire-page * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.scan-inventaire-page body {
    font-family: 'Archivo', sans-serif;
    background-color: var(--color-onyx-dark);
    color: var(--color-text-primary);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.scan-installation-page .container,
.scan-inventaire-page .container {
    max-width: 600px;
    background: rgba(19, 19, 19, 0.16);
    background-image: url('assets/background_scanpage.png');
    background-size: cover;
    background-position: center;
    min-height: auto;
    padding: clamp(1rem, 3vw, 1.25rem);
    margin: clamp(1rem, 3vw, 1.25rem) auto;
    border-radius: clamp(0.75rem, 2vw, 1rem);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-sizing: border-box;
}

.scan-installation-page h1,
.scan-inventaire-page h1 {
    color: var(--color-onyx-primary-cyan);
    text-align: center;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 2.5rem);
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
    padding: 1rem 0 0;
    line-height: 1.2;
}

.scan-inventaire-page h3 {
    color: var(--color-text-secondary);
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Labels */
.scan-installation-page label,
.scan-inventaire-page label {
    display: block;
    margin-top: 15px;
    margin-bottom: 7px;
    font-weight: 600;
}

/* Input wrapper */
.scan-installation-page .input-wrapper,
.scan-inventaire-page .input-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.scan-inventaire-page .input-wrapper.scan-field svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

/* Inputs */
.scan-installation-page .container input[type="text"],
.scan-installation-page .container input[type="password"],
.scan-installation-page .container input[type="tel"],
.scan-installation-page .container input[type="email"],
.scan-inventaire-page .container input[type="text"],
.scan-inventaire-page .container input[type="password"] {
    width: 100%;
    padding: 8px;
    border: 1px solid rgba(68, 68, 68, 0.5);
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1.2rem;
    background-color: rgba(25, 25, 25, 0.33);
    color: var(--color-text-primary);
    transition: border-color 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(5px);
}

.scan-installation-page .container select {
    width: 100%;
    padding: 8px;
    border: 1px solid rgba(68, 68, 68, 0.5);
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1.2rem;
    background-color: rgba(25, 25, 25, 0.33);
    color: var(--color-text-primary);
    transition: border-color 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(5px);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0C0C0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select {
    width: 100%;
    padding: 8px;
    border: 1px solid rgba(68, 68, 68, 0.5);
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1.2rem;
    background-color: rgba(25, 25, 25, 0.33);
    color: #969494;
    transition: border-color 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(5px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-select-selected {
    flex-grow: 1;
}

.custom-select-arrow {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.custom-select-arrow svg {
    width: 100%;
    height: 100%;
    color: #C0C0C0;
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #000;
    border: 1px solid rgba(68, 68, 68, 0.5);
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: -1px;
    padding-left: 0;
}

.custom-select-options.open {
    display: block;
}

.custom-select-option {
    padding: 10px 8px;
    cursor: pointer;
    color: white;
    background-color: #1e1e1e;
    transition: background-color 0.3s;
    list-style: none;
    font-size: 1.2rem;
}

.custom-select-option:hover {
    background-color: #444;
}

.scan-installation-page .container input[type="text"]:focus,
.scan-installation-page .container input[type="password"]:focus,
.scan-installation-page .container input[type="tel"]:focus,
.scan-installation-page .container input[type="email"]:focus,
.scan-inventaire-page .container input[type="text"]:focus,
.scan-inventaire-page .container input[type="password"]:focus,
.scan-installation-page .container select:focus {
    outline: none;
    border-color: var(--color-onyx-primary-cyan);
    box-shadow: 0 0 0 1px var(--color-onyx-primary-cyan), 0 0 8px rgba(83, 169, 187, 0.3);
}

.scan-installation-page #email,
.scan-installation-page #tel {
    padding-left: 40px !important;
}

.scan-installation-page .input-wrapper.scan-field input[type="tel"] {
    padding-left: 12px;
    padding-right: 48px;
}

.scan-inventaire-page .scan-field input {
    padding-right: 48px;
}

/* Scan button */
.scan-installation-page .scan-button,
.scan-inventaire-page .scan-button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: outline-color 0.2s;
}

.scan-installation-page .scan-button:focus,
.scan-inventaire-page .scan-button:focus {
    outline: 1px solid var(--color-onyx-primary-cyan);
    outline-offset: -2px;
    border-radius: 6px;
}

.scan-installation-page .scan-button svg,
.scan-inventaire-page .scan-button svg {
    color: var(--color-onyx-primary-cyan);
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
    transition: color 0.2s;
}

.scan-installation-page .scan-button:hover svg,
.scan-inventaire-page .scan-button:hover svg {
    color: #4a9ba3;
}

/* Invalid input */
.scan-installation-page .invalid-input,
.scan-inventaire-page .invalid-input {
    border-color: #dc3545 !important;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.8);
}

/* Buttons */
.scan-installation-page button,
.scan-inventaire-page button {
    padding: 12px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, box-shadow 0.3s;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-installation-page #submitBtn,
.scan-inventaire-page #submitBtn {
    width: 100%;
    background-color: var(--color-onyx-primary-cyan);
    color: white;
    font-size: 18px;
    margin-top: 25px;
    padding: 15px;
    height: auto;
}

.scan-installation-page #submitBtn:hover:not(:disabled),
.scan-inventaire-page #submitBtn:hover:not(:disabled) {
    background-color: #2b6273;
}

.scan-installation-page #submitBtn:disabled,
.scan-inventaire-page #submitBtn:disabled {
    background-color: rgba(25, 25, 25, 0.6);
    color: #999;
    cursor: not-allowed;
}

.scan-installation-page #submitBtn:focus,
.scan-inventaire-page #submitBtn:focus {
    outline: 2px solid #fff;
    outline-offset: -2px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}


/* Messages */
.message {
    margin-top: 15px;
    margin-bottom: 0px;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(25, 25, 25, 0.8);
    backdrop-filter: blur(10px);
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.message-success {
    background-color: #2b5a38;
    color: #d4edda;
}

.message-error {
    background-color: #721c24;
    color: #f8d7da;
}

.message-warning {
    background-color: #856404;
    color: #fff3cd;
}

.message-info {
    background-color: #00597a;
    color: #e0f7ff;
}

.scan-inventaire-page .error-message {
    color: #dc3545;
    font-weight: normal;
    font-size: 0.85rem;
    margin-top: 5px;
    margin-bottom: 10px;
}

/* History Section */
.scan-inventaire-page #history-section {
    margin-top: 30px;
    padding: 15px;
    background: rgba(25, 25, 25, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(66, 93, 96, 0.5);
    backdrop-filter: blur(10px);
}    

.scan-inventaire-page #history-section h4 {
    color: var(--color-text-secondary);
    margin-bottom: 10px;
    font-size: 1rem;
}

.scan-inventaire-page #history-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scan-inventaire-page #history-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #8f8f8f;
    color: var(--color-text-secondary);
}

.scan-inventaire-page #history-list li:last-child {
    border-bottom: none;
}

.scan-inventaire-page #history-list li:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.scan-inventaire-page .delete-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #FFFF;
    transition: color 0.2s;
}

.scan-inventaire-page .delete-btn:hover {
    color: #d3d2d2;
}

/* Media query pour mobile */
@media (max-width: 480px) {
    .scan-inventaire-page .container {
        padding: clamp(1rem, 3vw, 1.5rem);
        min-height: 90vh;
        margin: 0.5rem;
        border-radius: clamp(0.75rem, 2vw, 1rem);
    }

    .scan-inventaire-page h1 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: clamp(2rem, 6vw, 3rem);
    }

    .scan-inventaire-page h3 {
        margin-top: 2rem;
        margin-bottom: 1.5rem;
    }

    .scan-inventaire-page label {
        margin-top: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .scan-inventaire-page .input-wrapper {
        margin-bottom: 1.5rem;
    }

    .scan-inventaire-page #submitBtn {
        margin-top: 2rem;
    }

    .scan-inventaire-page #message {
        margin-top: 1.5rem;
        margin-bottom: 0;
    }

    .scan-inventaire-page #history-section {
        margin-top: 2rem;
    }

    .scan-inventaire-page body {
        padding: 0.5rem;
    }
}

/* CONTENU */
.content-section {
    min-height: 70vh;
    padding: 4rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.content-section > div {
    max-width: 60rem;
    margin: -4rem 0 3rem;
}

.content-section h2 {
    font-size: 3rem;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
}

.content-section p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

.bg-contact-gradient {
    min-height: 50vh;
    background: linear-gradient(to top, rgb(28, 28, 28) 0%, rgb(50, 50, 50) 100%);
            transition: border-color 0.3s, box-shadow 0.3s;
            resize: vertical;
            font-family: inherit;
            font-size: 1rem;
            box-sizing: border-box;
            min-height: 2.5rem;
        }

        select.form-input {
            appearance: none; 
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0C0C0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 0.75rem center;
            background-size: 1rem;
            padding-right: 2.5rem;
            color: var(--color-text-secondary);
        }

        select.form-input option {
            color: var(--color-text-primary);
            background-color: var(--color-onyx-dark);
        }

        select.form-input option:first-child {
            color: var(--color-text-secondary);
        }

        .form-input:focus {
            outline: none;
            border-color: var(--color-onyx-primary-cyan);
            box-shadow: 0 0 0 1px var(--color-onyx-primary-cyan);
        }

        .form-input::placeholder {
            color: var(--color-text-secondary);
            opacity: 0.85;
            font-family: inherit;
            font-size: 1rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
        }
        @media (min-width: 640px) {
            .form-row {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 400px) {
            .page-contact .hero-content {
                padding-top: 36vh;
            }
        }    

        .contact-detail-box {
            display: flex;
            align-items: center;
            gap: var(--spacing-md);
            background-color: var(--color-onyx-dark);
            padding: var(--spacing-md);
            border-radius: var(--spacing-sm);
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: border-color 0.3s;
            text-decoration: none;
            color: var(--color-text-primary);
            width: 100%;
            margin:0px 0px 0.8rem 0px;
            box-sizing: border-box;
        }
        @media (max-width: 767px) {
            .contact-detail-box {
                padding: 0.5rem;
            }
        }
        .contact-detail-box:hover {
            border-color: var(--color-onyx-primary-cyan);
        }
        .contact-detail-box svg {
            flex-shrink: 0;
            width: 1.5rem;
            height: 1.5rem;
        }

        .phone-numbers a {
            display: block;
            color: var(--color-text-primary);
            text-decoration: none;
            margin: 0;
            line-height: 1.25;
        }
        .phone-numbers a + a {
            margin-top: 0.1rem;
        }

        .badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            border-radius: 9999px;
            background-color: rgba(120, 120, 120, 0.3);
            color: #fff;
            border: 1px solid #fff;
        }

        /* ------------------------------------------------------------------------- */
        /* STYLES DES BOUTONS
        /* ------------------------------------------------------------------------- */
       .btn-base {
            padding: clamp(0.6rem, 1.0vw, 0.7rem) clamp(1.5rem, 2.0vw, 1.75rem); 
            /* Taille de police: Min 0.8rem -> Max 0.9rem */
            font-size: clamp(0.8rem, 1.0vw, 0.9rem); 
            border-radius: 9999px; 
            font-weight: 400; 
            transition: all 0.3s ease-in-out;
            white-space: nowrap; 
            cursor: pointer;
            position: relative;
            display: inline-block;
            text-decoration: none;
            text-align: center;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            overflow: hidden;
            z-index: 10; 
            border: none;
        }
        
        .btn-base span {
            position: relative;
            z-index: 5; 
        }

        .btn-base::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0; 
            bottom: 0;
            border-radius: inherit;
            pointer-events: none;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%); 
            opacity: 1; 
            transition: opacity 0.3s ease-in-out;
            z-index: 1;
        }

        .btn-base:hover::before {
            opacity: 0.8; 
            transform: none; 
        }

        .btn-base::after {
            content: '';
            position: absolute;
            top: 0;
            left: -150%; 
            width: 70%; 
            height: 100%;
            border-radius: inherit;
            pointer-events: none;
            
            background: linear-gradient(
                90deg, 
                rgba(255, 255, 255, 0) 0%, 
                rgba(0, 240, 255, 0.02) 40%, 
                rgba(255, 255, 255, 0.08) 50%,  
                rgba(0, 240, 255, 0.02) 60%, 
                rgba(255, 255, 255, 0) 100%
            );
            
            transform: skewX(-25deg);
            
            transition: left 1.6s cubic-bezier(0, 0.8, 0.4, 1); 
            z-index: 3; 
        }

        .btn-base:hover::after {
            left: 150%; 
        }
        
        .btn-cyan {
            background-color: rgba(0, 163, 224, 0.05); 
            border: 1px solid var(--color-onyx-primary-cyan);
            color: var(--color-onyx-primary-cyan); 
            box-shadow: inset 0 0 5px rgba(0, 163, 224, 0.3);
            z-index: 2; 
        }
        .btn-cyan:hover {
            background-color: rgba(0, 163, 224, 0.15); 
            color: var(--color-onyx-primary-cyan); 
            box-shadow: 0 0 10px rgba(0, 163, 224, 0.3), inset 0 0 5px rgba(0, 163, 224, 0.5);
        }

        .btn-glass {
            background-color: rgba(255, 255, 255, 0.05); 
            border: 1px solid rgba(255, 255, 255, 0.2); 
            color: var(--color-text-secondary);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), inset 0 0 8px rgba(255, 255, 255, 0.05);
        }
        .btn-glass:hover {
            background-color: rgba(255, 255, 255, 0.15); 
            color: var(--color-text-primary); 
        }
        .btn-white {
            background-color: rgba(255, 255, 255, 0.15); 
            border: 1px solid transparent; 
            color: var(--color-text-primary);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        .btn-white:hover {
            background-color: rgba(255, 255, 255, 0.3); 
        }
        .btn-dark {
            border: 1px solid rgba(105, 105, 105, 0.39); 
            background: linear-gradient(145deg, rgba(0, 0, 0, 0.5) 0%, rgba(20, 20, 20, 0.4) 100%);
            color: var(--color-text-primary); 
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        .btn-dark:hover {
            background-color: rgba(0, 0, 0, 0.16); 
            color: var(--color-text-primary); 
            border: 1px solid rgba(105, 105, 105, 0.39); 
        }
        .btn-dark::before {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 60%);
        }
        .btn-dark:hover::before {
            opacity: 0.6;
            transform: none; 
        }

        .badge {
            display: inline-block;
            padding: 0.25rem 0.75rem; 
            font-size: 0.75rem; 
            font-weight: 600; 
            text-transform: uppercase;
            letter-spacing: 0.1em; 
            border-radius: 9999px; 
            background-color: rgba(120, 120, 120, 0.3);
            color: #fff; 
            border: 1px solid #fff; 
        }

        /* BANDEAU DÉFILANT */
        .scrolling-banner {
            position: relative;
            height: 8vh;
            width: 80%;
            margin: 0 auto;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            }

        .gradient-overlay {
            position: absolute;
            top: 0;
            width: 10%;
            height: 100%;
            z-index: 5;
            pointer-events: none;
            }

        .gradient-overlay.left {
            left: 0;
            background: linear-gradient(to right, rgba(9, 9, 11, 1), rgba(9, 9, 11, 0));
            }

        .gradient-overlay.right {
            right: 0;
            background: linear-gradient(to left, rgba(9, 9, 11, 1), rgba(9, 9, 11, 0));
            }

        .scrolling-text {
            display: flex;
            white-space: nowrap;
            animation: scroll-left 30s linear infinite;
            font-family: 'Archivo Expanded', sans-serif;
            font-size: clamp(1rem, 2vw, 1.8rem);
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            background: linear-gradient(90deg, #00A3E0, #FFFFFF, #00A3E0);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            }

            .scrolling-text span {
            display: inline-block;
            padding-right: 4rem;
            }

            @keyframes scroll-left {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
            }

        @keyframes background-move {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        @keyframes background-move-desktop {
            0% { background-position: 0% 90%; }
            50% { background-position: 100% 90%; }
            100% { background-position: 0% 90%; }
        }

        @keyframes slideUp {
            to {
                opacity: 1;
                translate: 0 0;
            }
        }

        @keyframes driftFromLeft {
            0% {
                opacity: 0;
                transform: translateX(-150px);
            }
            60% {
                opacity: 1;
                transform: translateX(8px);
            }
            100% {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes driftFromRight {
            0% {
                opacity: 0;
                transform: translateX(150px);
            }
            60% {
                opacity: 1;
                transform: translateX(-8px);
            }
            100% {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes driftLeftInfinite {
            0%, 100% {
                opacity: 1;
                transform: translateX(0);
            }
            50% {
                opacity: 1;
                transform: translateX(12px);
            }
        }

        @keyframes driftLeftInfinite2 {
            0%, 100% {
                opacity: 1;
                transform: translateX(0);
            }
            50% {
                opacity: 1;
                transform: translateX(16px);
            }
        }

        @keyframes driftRightInfinite {
            0%, 100% {
                opacity: 1;
                transform: translateX(0);
            }
            50% {
                opacity: 1;
                transform: translateX(-12px);
            }
        }

        @keyframes driftRightInfinite2 {
            0%, 100% {
                opacity: 1;
                transform: translateX(0);
            }
            50% {
                opacity: 1;
                transform: translateX(-18px);
            }
        }

        @keyframes driftRightInfinite3 {
            0%, 100% {
                opacity: 1;
                transform: translateX(0);
            }
            50% {
                opacity: 1;
                transform: translateX(-8px);
            }
        }

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

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-2px);
            }
            60% {
                transform: translateY(-1px);
            }
        }
        
        /* ========================================================================== */
        /* USAGES MULTIPLES SECTION */
        /* ========================================================================== */
        
        .usages-multiples-section {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: transparent;
        }

        .usages-container {
            max-width: var(--max-width-content);
            margin: 0 auto;
            display: grid;
            grid-template-columns: 0.8fr 2.8fr 0.8fr;
            gap: 2rem;
            align-items: center;
        }        @media (min-width: 1351px) {
            .usages-container {
                grid-template-columns: 0.6fr 3.4fr 0.6fr;
            }
        }

        .usages-left,
        .usages-right {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .usage-img-car,
        .usage-img-moto,
        .usage-img-homme,
        .usage-img-valise,
        .usage-img-camion {
            opacity: 1;
        }

        @media (min-width: 1024px) {
            .usages-multiples-section.animate .usage-img-car {
                animation: driftFromLeft 2.2s ease-in-out 0.5s backwards, driftLeftInfinite 8s ease-in-out 2.7s infinite;
            }

            .usages-multiples-section.animate .usage-img-moto {
                animation: driftFromRight 2.2s ease-in-out 0.7s backwards, driftRightInfinite 7s ease-in-out 2.9s infinite;
            }

            .usages-multiples-section.animate .usage-img-homme {
                animation: driftFromRight 2.2s ease-in-out 0.9s backwards, driftRightInfinite2 10s ease-in-out 3.1s infinite;
            }

            .usages-multiples-section.animate .usage-img-valise {
                animation: driftFromLeft 2.2s ease-in-out 1.1s backwards, driftLeftInfinite2 9.5s ease-in-out 3.3s infinite;
            }

            .usages-multiples-section.animate .usage-img-camion {
                animation: driftFromRight 2.2s ease-in-out 1.3s backwards, driftRightInfinite3 9s ease-in-out 3.5s infinite;
            }
        }

        @media (max-width: 1023px) {
            .usages-multiples-section.animate .usage-img-car {
                animation: driftFromLeft 2.2s ease-in-out 0.5s backwards, driftLeftInfinite 8s ease-in-out 2.7s infinite;
            }

            .usages-multiples-section.animate .usage-img-moto {
                animation: driftFromRight 2.2s ease-in-out 0.7s backwards, driftRightInfinite 7s ease-in-out 2.9s infinite;
            }

            .usages-multiples-section.animate .usage-img-homme {
                animation: driftFromRight 2.2s ease-in-out 0.9s backwards, driftRightInfinite2 10s ease-in-out 3.1s infinite;
            }

            .usages-multiples-section.animate .usage-img-valise {
                animation: driftFromLeft 2.2s ease-in-out 1.1s backwards, driftLeftInfinite2 9.5s ease-in-out 3.3s infinite;
            }

            .usages-multiples-section.animate .usage-img-camion {
                animation: driftFromRight 2.2s ease-in-out 1.3s backwards, driftRightInfinite3 9s ease-in-out 3.5s infinite;
            }
        }


        @media (min-width: 1351px) {
            .usages-left,
            .usages-right {
                gap: 0.8rem;
            }
        }

        .usage-img-card {
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            transition: opacity 0.6s ease;
            opacity: 0.85;
        }

        .usage-img-card:hover {
            opacity: 1;
        }

        .usage-img-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.6s ease;
        }

        .usage-img-card:hover img {
            transform: scale(1.08);
        }

        .usage-img-car {
            margin-left: -2rem;
        }

        .usage-img-moto {
            transform-origin: center;
            margin-left: -4rem;
            margin-top: 6rem;
            margin-bottom: 7rem;
            width: 76%;
        }

        .usage-img-homme {
            margin-right: -3rem;
            margin-left: 30%;
            margin-top: -6rem;
        }

        .usage-img-valise {
            margin-right: -4rem;
            margin-top: 3.5rem;
        }

        .usage-img-camion {
            margin-left: -10rem;
            width: 89%;
            margin-top: -4rem;
        }

        @media (min-width: 1351px) {
            .usage-img-car {
                margin-left: calc(-1rem - ((100vw - var(--max-width-content)) / 2));
            }

            .usage-img-homme {
                margin-right: calc(-1rem - ((100vw - var(--max-width-content)) / 2));
            }
        }

        .usages-center {
            text-align: center;
            padding: 0rem 2rem;
        }

        .usages-multiples-section.animate .usages-center {
            opacity: 0;
            transform: translateY(30px);
            animation: slideUp 1s ease-out forwards;
        }
        
        .usages-multiples-section .client-container {
            /* Pas d'opacity/transform initial - géré par JS */
        }

        .usages-center .badge-container {
            display: flex;
            justify-content: center;
            margin-bottom: 2rem;
        }

        .usages-center .badge-container,
        .usages-center h1,
        .usages-paragraph,
        .usages-center .client-container {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .usages-center .is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .usages-center .client-container.is-visible {
            transform: translateY(7.5rem);
        }

        .usages-center .badge-container,
        .usages-center h1,
        .usages-paragraph,
        .usages-center .client-container {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .usages-center .is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .usages-center h1 {
            font-size: clamp(2rem, 4vw, 3rem);
            margin-bottom: 1.5rem;
            line-height: 1.2;
            font-weight: 700;
        }

        .usages-paragraph {
            font-family: 'Archivo', sans-serif;
            font-weight: 400;
            font-size: clamp(1rem, 1.2vw, 1.1rem);
            line-height: 1.6;
            color: var(--color-text-secondary);
            max-width: 600px;
            margin: 0 auto;
            margin-bottom: 2rem;
        }

        @media (max-width: 1023px) {

        .usages-center {
            text-align: center;
            padding: 0rem 2rem 2rem;
            }

            .usages-container {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .usages-left {
                flex-direction: row;
                gap: 4rem;
                height: 88%;
                max-width: 60%;
                margin-left: 7rem;
                margin-bottom: -5rem;
            }

            .usages-right {
                flex-direction: row;
                gap: 3rem;
                height: 70%;
            }

            .usage-img-card {
                flex: 1;
            }

            .usage-img-car {
                margin-left: 0;
                margin-bottom: 2rem;
            }

            .usage-img-moto {
                transform: none;
                margin-left: 0rem;
                margin-top: -32px;
                margin-bottom: 0px;
                height: 70%;
            }

            .usage-img-homme {
                margin-right: 0;
                margin-left: 0;
                margin-top: 0;
                height: 137%;
            }

            .usage-img-valise {
                margin-top: 2rem;
                margin-bottom: 9rem;
                height: 64%;
            }

            .usage-img-camion {
                margin-left: 0;
                width: 100%;
                margin-top: -3rem;
            }
        }

        @media (max-width: 600px) {
            .usages-left, .usages-right {
                gap: 1.5rem;
            }

            .usages-left {
                margin-left: 3rem;
            }    
        }

        @media (min-width: 1024px) and (max-width: 1263px) {
            .usages-multiples-section .usage-img-moto {
                width: 70%;
                margin-left: -4rem;
                margin-top: 6rem;
                margin-bottom: 7rem;
            }
            .usages-multiples-section .usage-img-camion {
                margin-left: -9rem;
                width: 77%;
                margin-top: -2rem;
            }
            .usages-multiples-section .usage-img-valise {
                width: 92%;
                margin-right: -3rem;
                margin-top: 3.5rem;
                margin-left: 3rem;
            }
        }
        
/* ------------------------------------------------------------------------- */
/* TRACKER FONCTION SECTION */
/* ------------------------------------------------------------------------- */

.tracker-fonction-section {
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-top: clamp(2rem, 4vh, 3rem);
  padding-bottom: clamp(4rem, 8vh, 6rem);
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
}

.tracker-fonction-section::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50vw;
    height: 100vh;
    background-image: url("assets/halo8.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right center;
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
}

.tracker-fonction-container {
  width: min(100%, 1400px);
  padding: 0 1.5rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  z-index: 1;
  position: relative;
}

/* ✅ Gestion d'affichage des 2 images DANS CETTE SECTION uniquement
   - Desktop : image gauche visible / image droite cachée
   - Mobile : image gauche cachée / image droite visible
*/
.tracker-fonction-section .tracker-fonction-left .phone-stack {
  display: flex; /* image desktop */
  border-radius: 40px;
  overflow: hidden;
}

.tracker-fonction-section .tracker-fonction-left .phone-stack .phone-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
/* .tracker-fonction-section .tracker-fonction-left .phone-stack .phone-bg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;*/
}

.tracker-fonction-section .tracker-fonction-right .phone-stack {
  display: none;
}

@keyframes scrollCards {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-300px * 4 - 2rem * 4));
  }
}

.tracker-fonction-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.tracker-fonction-section,
.mobile-control-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.tracker-fonction-section.animate,
.mobile-control-section.animate {
  opacity: 1;
  transform: translateY(0);
}

.tracker-fonction-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(1.5rem, 2vw, 2rem);
}

.tracker-fonction-right h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 3rem;
  max-width: 550px;
  margin-left: 0;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.tracker-fonction-description {
  font-size: clamp(0.9rem, 1.5vw, 1.125rem);
  color: var(--color-text-secondary);
  text-align: left;
  max-width: 600px;
  margin: -3rem 0 4rem 0;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Animations désactivées - gérées par JavaScript pour séquençage personnalisé */
.tracker-fonction-section.animate .tracker-fonction-right h1,
.tracker-fonction-section.animate .tracker-fonction-left,
.tracker-fonction-section.animate .tracker-fonction-description {
  /* Pas d'animation CSS - géré en JS */
}

/* ------------------------------------------------------------------------- */
/* Responsive tracker-fonction */
/* ------------------------------------------------------------------------- */

@media (min-width: 600px) {
  .tracker-fonction-section {
    /* padding-bottom: clamp(6rem, 10vh, 8rem); */
    margin-top: -2rem; /* a supprimer si decalement section suivante */
  }

  .tracker-fonction-container {
    overflow: visible;
    padding-bottom: 2rem;
    align-items: flex-start;
  }

  .tracker-fonction-left {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .tracker-fonction-left .phone-stack {
    height: 100%;
  }

  .tracker-fonction-left .phone-bg {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
  }

  .cards-scroll-container {
    position: absolute;
    bottom: -6rem;
    left: -30%;
    right: -30%;
    padding-top: 2rem;
    height: auto;
    min-height: 200px;
    overflow: hidden;
    z-index: 10;
  }

  .tracker-fonction-section.animate .glass-cards-grid {
    display: flex;
    flex-wrap: nowrap;
    animation: scrollCards 20s linear infinite;
    animation-play-state: running;
    width: max-content;
    position: relative;
    z-index: 5;
    margin-top: 0;
    padding: 1rem 0;
  }

  .tracker-fonction-section.animate .glass-cards-grid .glass-card {
    flex: 0 0 280px;
    min-width: 280px;
    box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.35);
  }
}

@media (max-width: 1023px) and (min-width: 601px) {
  .cards-scroll-container {
    bottom: -11rem;
  }
}

/* ✅ Mobile */
@media (max-width: 600px) {
  .tracker-fonction-section {
    min-height: auto;
    padding-top: clamp(2rem, 4vh, 3rem);
    padding-bottom: clamp(3rem, 6vh, 4rem);
  }

  /* layout 1 colonne */
  .tracker-fonction-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
    margin: 0 auto;
  }

  /* ✅ On cache complètement la colonne gauche */
  .tracker-fonction-left {
    display: none !important;
  }

  /* ✅ Et on affiche l'image DANS la colonne droite */
  .tracker-fonction-section .tracker-fonction-right .phone-stack {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

  .tracker-fonction-section .phone-bg {
    object-fit: cover;
    border-radius: 40px;
    display: block;
    margin: 0 auto;
    z-index: 0;
    width: 97vw;
    height: 65vh;
  }

  .tracker-fonction-section .phone-bg {
    object-fit: cover;
    border-radius: 40px;
    display: block;
    margin: 0 auto;
    z-index: 0;
    width: 97vw;
    height: 65vh;
  }

  .tracker-fonction-right {
    order: 1;
    text-align: center;
  }

  .tracker-fonction-right h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .tracker-fonction-description {
    margin-left: 1rem;
    margin-right: 1rem;
    text-align: center;
  }

  .tracker-fonction-section .glass-cards-grid,
  .tracker-fonction-section .card-text-group,
  .tracker-fonction-section .card-title,
  .tracker-fonction-section .card-description {
    text-align: left;
  }

  /* ✅ Espacement pour client-container */
  .tracker-fonction-right .client-container {
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  /* cards en grid */
  .cards-scroll-container {
    display: none !important;
  }

  .tracker-fonction-section.animate .glass-cards-grid {
    display: grid !important;
    animation: none !important;
    flex-wrap: revert;
    width: auto !important;
    top: auto !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    position: relative;
    margin-top: 2rem;
  }

  .tracker-fonction-section.animate .glass-cards-grid .glass-card:nth-child(1) {
    opacity: 0;
    translate: 0 30px;
    animation: slideUp 0.8s ease-out 0.8s forwards;
  }

  .tracker-fonction-section.animate .glass-cards-grid .glass-card:nth-child(2) {
    opacity: 0;
    translate: 0 30px;
    animation: slideUp 0.8s ease-out 1s forwards;
  }

  .tracker-fonction-section.animate .glass-cards-grid .glass-card:nth-child(3) {
    opacity: 0;
    translate: 0 30px;
    animation: slideUp 0.8s ease-out 1.2s forwards;
  }

  .tracker-fonction-section.animate .glass-cards-grid .glass-card:nth-child(4) {
    opacity: 0;
    translate: 0 30px;
    animation: slideUp 0.8s ease-out 1.4s forwards;
  }

  .tracker-fonction-section.animate .glass-cards-grid .glass-card:nth-child(n+5) {
    display: none;
  }

  .tracker-fonction-section .phone-bg {
    object-fit: cover;
    border-radius: 40px;
    display: block;
    margin: 0 auto;
    z-index: 0;
    width: 94vw;
  }

  .tracker-fonction-section::before {
    width: 123vw;
    height: 97vh;
    right: 0;
  }
}


        /* ----------------------------------------------------------- */
        /* MOBILE CONTROL SECTION */
        /* ----------------------------------------------------------- */
        .mobile-control-section {
            min-height: clamp(64vh, 78vh, 88vh);
            padding: clamp(3rem, 4.5vh, 4.75rem) 1.25rem;
            padding-top: 0; /*clamp(3.25rem, 7vh, 5rem)*/
            background-color: transparent;
            display: flex;
            align-items: center;
            justify-content: center;
            padding-bottom: revert;
            position: relative;
            overflow: hidden;
        }

        .mobile-control-section::before {
            content: "";
            position: absolute;
            left: -49%;
            width: 120vw;
            height: 120vh;
            background-image: url('assets/halo7.png');
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center;
            opacity: 0.7;
            pointer-events: none;
            z-index: 0;
        }

        .mobile-control-container {
            width: min(100%, 1400px);
            padding: 0 1.5rem;
            margin: 0 auto 3rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: stretch;
            position: relative;
            z-index: 1;
        }

        .mobile-control-left {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            /*gap: clamp(1.5rem, 2vw, 2rem);*/
            height: 100%;
        }

        .mobile-control-left h1 {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 700;
            margin-bottom: 3rem;
            max-width: 550px;
            margin-left: 0;
            margin-right: auto;
            position: relative;
            z-index: 1;
        }

        .mobile-control-description {
            font-size: clamp(1rem, 1.5vw, 1.125rem);
            color: var(--color-text-secondary);
            text-align: left;
            max-width: 600px;
            margin: -3rem 0 4rem 0;
            line-height: 1.6;
            position: relative;
            z-index: 1;
        }

        @media (min-width: 1210px) {
            .mobile-control-description {
                margin-top: -1.5rem;
            }
        }

        .glass-cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: clamp(1rem, 2vw, 1.5rem);
            max-width: 600px;
            margin: 0;
            margin-top: auto;
            position: relative;
            z-index: 1;
            padding: 0.5rem;
        }

        .glass-card {
            position: relative;
            padding: clamp(8px, 1vw, 12px);
            border-radius: 24px;
            backdrop-filter: blur(24px); 
            -webkit-backdrop-filter: blur(24px);
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35);
            border: 1px solid rgba(255, 255, 255, 0.18);
            display: flex;
            flex-direction: column;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
            min-height: 180px;
            overflow: visible;
            margin: 0;
        }

        .glass-card:hover {
            transform: scale(1.05) !important;
        }

        .card-inner-glow {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 30px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 50%);
            pointer-events: none;
        }

        .icon-wrapper {
            position: relative;
            margin-bottom: auto;
        }

        .circle-outer {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .circle-inner {
            position: absolute;
            top: 8px;
            left: 8px;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: rgba(24, 24, 24, 0.14);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .icon-svg {
            width: 20px;
            height: 20px;
            stroke: #ffffff;
        }

        .card-footer {
            display: flex;
            gap: clamp(0.6rem, 1vw, 0.8rem);
            align-items: flex-end;
            /*margin-top: clamp(0.8rem, 1.2vw, 1rem);*/
        }

        .card-text-group {
            flex: 1;
        }

        .card-title {
            font-size: clamp(0.9rem, 1.2vw, 1.1rem);
            font-weight: 600;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: clamp(0.2rem, 0.4vw, 0.3rem);
        }

        .card-description {
            font-size: clamp(0.65rem, 1vw, 0.8rem);
            font-weight: 400;
            line-height: 1.4;
            color: rgba(255, 255, 255, 0.5);
        }

        .arrow-button {
            width: 44px;
            height: 44px;
            min-width: 44px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.09);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .arrow-button:hover {
            background: rgba(0, 0, 0, 0.14);
            transform: scale(1.1);
        }

        .arrow-svg {
            width: 20px;
            height: 20px;
            color: rgba(255, 255, 255, 0.8);
        }

        .mobile-control-right {
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: center;
            max-height: 94vh;
            width: 100%;
        }

        .phone-stack {
            position: relative;
            width: 100%;
            max-width: 560px;
            max-height: 75vh;
            aspect-ratio: 3 / 5;
            height: auto;
            margin-top: auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .phone-bg {
            width: 100%;
            object-fit: cover;
            display: block;
            height: 84vh;
            border-radius: 40px;
        }

        .phone-device {
            position: absolute;
            top: 45%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100%;
            height: 125%;
            object-fit: contain;
            animation: float-phone 4.5s ease-in-out infinite;
        }

        @keyframes float-phone {
            0% { transform: translate(-50%, -50%) translateY(0); }
            50% { transform: translate(-50%, -50%) translateY(-10px); }
            100% { transform: translate(-50%, -50%) translateY(0); }
        }

        /* Animations désactivées - gérées par JavaScript pour séquençage personnalisé */
        .mobile-control-section.animate .mobile-control-left h1,
        .mobile-control-section.animate .mobile-control-right,
        .mobile-control-section.animate .mobile-control-description,
        .mobile-control-section.animate .glass-cards-grid .glass-card {
            /* Pas d'animation CSS - géré en JS */
        }

        @media (max-width: 1211px) {
            .glass-cards-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.25rem;
                top: 2rem;
            }

            .glass-card {
                margin: -3rem 0rem 3rem 0rem;
            }
        }

        @media (max-width: 1211px) and (min-width: 1024px) {
        .mobile-control-section .glass-cards-grid {
                top: 0rem;
            }
        }

        @media (max-width: 1023px) and (min-width: 734px) {
            .mobile-control-container {
                position: relative;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 3rem;
                padding: 14rem 1.25rem 3rem;
            }

            .mobile-control-left {
                position: absolute;
                inset: 0;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                gap: clamp(1.25rem, 3vw, 1.75rem);
                padding: 1rem;
                z-index: 2;
            }

            .mobile-control-left h1 {
                position: relative;
                top: auto;
                transform: none;
                width: 80%;
                text-align: center;
                margin: -2rem 0rem 3rem 0;
                max-width: 100%;
            }

            .mobile-control-description {
                text-align: center;
            }

            .mobile-control-section .glass-cards-grid {
                position: absolute;
                top: 40%;
                left: 50%;
                transform: translateX(-50%);
                grid-template-columns: 1fr 0.7fr 1fr;
                gap: 1rem 2.25rem;
                width: min(100%, 960px);
                max-width: none;
                margin: 0;
                padding: 0;
                justify-items: center;
            }

            .mobile-control-section .glass-card:nth-child(odd) {
                grid-column: 1;
                margin-left: -1rem;
                margin-right: 2rem;
                max-width: 80%;
                padding: clamp(12px, 1.5vw, 16px);
            }

            .mobile-control-section .glass-card:nth-child(even) {
                grid-column: 3;
                max-width: 80%;
                margin-left: 2rem;
                margin-right: -1.4rem;
                padding: clamp(12px, 1.5vw, 16px);
            }

            .mobile-control-section {
                background-size: 55%;
                background-position: center bottom;
                padding-top: clamp(3.75rem, 9vh, 5.75rem);
            }

            .mobile-control-section::before {
                width: 360px;
                height: 360px;
                left: -7rem;
                bottom: 7rem;
            }

            .mobile-control-left::before {
                width: 340px;
                height: 340px;
                left: -6%;
                bottom: -5rem;
            }

            .mobile-control-section .phone-bg {
                height: 70vh;
            }

            .phone-stack {
                max-width: 460px;
                max-height: 65vh;
                z-index: 1;
            }

            .mobile-screenshot {
                max-width: 350px;
            }

            .mobile-control-right {
                z-index: 1;
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                margin-top: 6rem;
            }
        }

        @media (max-width: 734px) and (min-width: 599px) {
            .mobile-control-container {
                position: relative;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 3rem;
                padding: 9.5rem 1.25rem 3rem;
            }

            .mobile-control-left {
                position: absolute;
                inset: 0;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                gap: clamp(1.25rem, 3vw, 1.75rem);
                padding: 1rem;
                z-index: 2;
            }

            .mobile-control-left h1 {
                position: relative;
                top: auto;
                transform: none;
                width: 80%;
                text-align: center;
                margin: -2rem 0 3rem 0;
                max-width: 100%;
            }

            .mobile-control-description {
                text-align: center;
                max-width: 90%;
                margin-top: -2.7rem;
            }

            .mobile-control-section {
                background-size: 55%;
                background-position: center bottom;
                padding-top: 1rem;
                /*padding-top: clamp(3.75rem, 9vh, 5.75rem);*/
            }

            .mobile-control-section::before {
                width: 360px;
                height: 360px;
                left: -7rem;
                bottom: 0rem;
            }

            .mobile-control-left::before {
                width: 340px;
                height: 340px;
                left: -6%;
                bottom: -5rem;
            }

            .mobile-control-section .phone-bg {
                height: 70vh;
            }

            .glass-cards-grid {
                position: absolute;
                top: 39%;
                left: 50%;
                transform: translateX(-50%);
                grid-template-columns: 1fr 0.7fr 1fr;
                gap: 2.5rem 2.25rem;
                width: min(100%, 960px);
                max-width: none;
                margin: 0;
                padding: 0;
                justify-items: center;
            }

            .mobile-control-section .glass-card {
                margin: -5rem 0rem 4rem 0rem;
                padding: clamp(12px, 2vw, 16px);
            }

            .mobile-control-section .glass-card:nth-child(2n+1) {
                grid-column: 1;
                margin-left: -2.5rem;
                margin-right: 1.5rem;
                max-width: 76%;
            }

            .mobile-control-section .glass-card:nth-child(2n) {
                grid-column: 3;
                max-width: 67%;
                margin-left: 1.5rem;
                margin-right: -3rem;
            }

            .mobile-control-section .glass-card:nth-child(2) .arrow-button {
                position: relative;
                left: -3rem;
            }

            .mobile-control-section .glass-card:nth-child(4) .arrow-button {
                position: relative;
                left: -1rem;
            }

            .mobile-control-right {
                z-index: 1;
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                margin-top: 6rem;
            }

            .phone-stack {
                max-width: 460px;
                max-height: 65vh;
                z-index: 1;
            }

            .mobile-screenshot {
                max-width: 350px;
            }

            .tracker-fonction-right h1 {
                font-size: clamp(1.35rem, 2.4vw, 1.7rem);
                margin-top: -0.6rem;
            }

            .tracker-fonction-right .client-container {
                padding: 0.8rem;
            }

            .tracker-fonction-section .glass-card {
                min-height: 140px;
            }

            .tracker-fonction-section.animate .glass-cards-grid .glass-card {
                margin-top: 1rem;
            }
        }

        @media (max-width: 599px) {
            .mobile-control-section {
                overflow: hidden;
            }

            .mobile-control-container {
                position: relative;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                gap: 0;
                padding: 2rem 1rem 3rem;
                z-index: 1;
            }

            .mobile-control-left {
                position: static;
                inset: auto;
                width: 100%;
                display: contents;
            }

            .mobile-control-left h1 {
                position: relative;
                top: auto;
                left: auto;
                transform: none;
                width: 100%;
                text-align: center;
                order: 1;
            }

            .mobile-control-description {
                order: 2;
                text-align: center;
                margin: -1rem 0 5rem 0;
            }

            .mobile-control-right {
                position: relative;
                z-index: 0;
                width: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
                margin: 0 0 2rem 0;
                order: 3;
            }

            .glass-cards-grid {
                position: relative;
                top: 0;
                left: auto;
                transform: none;
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 1.25rem;
                width: 100%;
                max-width: none;
                margin-top: 2rem;
                padding: 0 0 2rem 0;
                order: 4;
                z-index: 10;
            }

            .glass-card {
                grid-column: auto;
                margin-top: 0rem;
                margin-bottom: 0rem;
                max-width: 100%;
                height: auto;
                z-index: 3;
            }

            .mobile-control-section {
                min-height: auto;
                padding-top: 0;
                padding-bottom: 0;
                margin-top: -3rem;
                margin-bottom: -7rem;
            }

            .mobile-control-section::before {
                position: absolute;
                height: 80vh;
                width: 100%;
                left: 0;
                right: 0;
                transform: none;
                bottom: 0;
                top: auto;
                background-position: -20vw bottom;
                background-size: contain;
                opacity: 0.8;
            }

            .phone-stack {
                max-width: 360px;
                max-height: 58vh;
                z-index: 0;
            }

            .mobile-screenshot {
                max-width: 300px;
            }

            .phone-device {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: clamp(90%, 100vw, 120%);
                height: clamp(50vh, 65vh, 80vh);
                max-width: 450px;
                object-fit: contain;
                animation: float-phone 4.5s ease-in-out infinite;
                z-index: 1;
            }

            .mobile-control-section .phone-bg {
                width: clamp(75vw, 85vw, 95vw);
                height: 100%;
                margin-top: 11rem;
            }
        }


        @media (max-width: 450px) {

            .phone-device {
                width: clamp(120%, 140vw, 160%);
                max-width: none;
            }

            .arrow-button {
                display: none;
            }

            .mobile-control-description {
                order: 2;
                text-align: center;
                margin: -1rem 0 5rem 0;
            }
        }

        @media (max-width: 400px) {
            .phone-device {
                width: clamp(110%, 125vw, 145%);
            }

            .mobile-control-section .phone-bg {
                height: 64vh;
            }   
     }

        @media (max-width: 320px) {
            .phone-device {
                width: clamp(100%, 115vw, 130%);
                height: clamp(55vh, 70vh, 85vh);
            }

            .glass-cards-grid {
                width: clamp(240px, 75vw, 100vw);
                margin-left: -3.5rem;
                margin-top: -5rem;
            } 

        .mobile-control-description {
            order: 2;
            text-align: center;
            margin: -1rem 0 0rem 0;
        }    
    }

        /* ------------------------------------------------------------------------- */
        /* SECTIONS DE CONTENU */
        /* ------------------------------------------------------------------------- */
        
        .content-section > div {
            max-width: 60rem; 
            margin: 0 auto;
        }

        .content-section h2 {
            font-size: 3rem; 
            color: var(--color-text-primary);
            margin-bottom: 2rem;
        }

        .content-section .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-top: 0.75rem;
            margin-bottom: 1.5rem;
        }
        .content-section p {
            font-size: 1.1rem; 
            color: var(--color-text-secondary);
            margin-top: 2rem;
        }
        
        .bg-contact-gradient {
            min-height: 50vh;
            background: linear-gradient(to top, rgb(28, 28, 28) 0%, rgb(50, 50, 50) 100%); 
        }
        
        .cta-section {
            padding: 7rem 1rem;
            text-align: center;
        }

        /* Style spécifique pour la page À propos */
        .a-propos-page .cta-section.animate h1 {
            padding: 1rem 20%;
        }

        .a-propos-page .cta-section {
            padding: 3rem 1rem;
        }
        
        .text-base {
            font-size: 1rem;
            line-height: 1.5;
        }

        .scroll-indicator {
            position: relative;
            opacity: 0;
            animation: slideUp 1s ease-out 3s forwards;
            text-align: center;
            text-decoration: none;
            display: block;
            margin-top: 3rem;
        }

        .scroll-indicator {
            position: relative;
        }

        @media (max-width: 715px) {
            .scroll-indicator {
                margin-top: 8rem;
            }
        }

        @media (min-width: 716px) and (max-width: 1400px) {
            .scroll-indicator {
                margin-top: 4rem;
            }
        }

        @media (min-width: 1401px) {
            .scroll-indicator {
                margin-top: 3rem;
            }
        }

        .chevron-icon {
            width: 24px;
            height: 24px;
            fill: none;
            stroke: var(--color-text-secondary);
            stroke-width: 2px;
            stroke-linecap: round;
            stroke-linejoin: round;
            animation: bounce 2s infinite;
        }

        .scroll-text {
            color: var(--color-text-secondary);
            font-size: 0.9rem;
            margin-bottom: 0.2rem;
        }

        .centered-image-container {
            text-align: center;
            margin: 1rem 0;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 1s ease-out, transform 1s ease-out;
        }

        .centered-image-container.animate {
            opacity: 1;
            transform: translateY(0);
        }

        body:not(.index-page) .centered-image-container {
            opacity: 1;
            transform: none;
        }

        .image-footer {
            text-align: center;
            margin: 3rem 0 1rem 0;
        }

        .centered-image {
            max-width: 100%;
            height: auto;
            border-radius: 20px;
        }

        .footer {
            text-align: center;
            /*padding: 1rem;*/
            background-color: var(--color-onyx-dark);
            color: var(--color-text-secondary);
            z-index: 1;
        }

        .footer-image-container {
            text-align: center;
            margin-bottom: 0;
            position: relative;
        }

        .footer-image {
            width: auto;
            height: auto;
            max-width: 45vw;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 1s ease-out, transform 1s ease-out;
            border-radius: 999px;
            filter: contrast(99.1%);
        }

        .footer-content {
            position: static;
            z-index: 2;
            padding: 0;
            margin-top: 0;
            margin-bottom: 1.25rem;
        }

        @media (max-width: 1000px) {
            .footer-image {
                max-width: 100%;
            }
        }

        .footer.animate .footer-image,
        .footer.animate p,
        .footer.animate .footer-grid {
            opacity: 1;
            transform: translateY(0);
            transition-delay: 1s;
        }

        .footer p,
        .footer .footer-grid {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 1s ease-out, transform 1s ease-out;
        }

        .footer p {
            margin: 0rem 0.2rem;
        }

        .footer a {
            color: var(--color-text-secondary);
            text-decoration: none;
        }

        .copyright {
            font-size: 0.9rem;
            font-weight: bold;
        }

        .footer p:not(.copyright) {
            font-size: 0.8rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto auto;
            gap: 0;
            margin-top: 1rem;
        }

        .footer-grid p {
            padding: 0.3rem 1rem 0rem 0.6rem;
        }

        .footer-grid p:nth-child(odd) {
            border-right: 1px solid rgba(255, 255, 255, 0.2);
            text-align: right;
        }

        .footer-grid p:nth-child(even) {
            text-align: left;

        }

        /* ========================================================================= */
        /* STYLES SPÉCIFIQUES POUR LA SECTION CONTACT */
        /* ========================================================================= */

        .contact-section {
            background-color: transparent;
            padding: 0;
        }

        .contact-section .container {
            padding: 0;
        }

        .contact-section .main-contact-block {
            background-color: transparent;
            border-radius: 40px;
            overflow: hidden;
        }

        
        @media (max-width: 768px) {
            .contact-section .main-contact-block {
                border-radius: 20px;
            }
        }

        /* Styles spécifiques au formulaire de contact */
        .contact-section .space-y-6 > * + * {
            margin-top: 0.6rem;
        }

        .contact-section .form-label {
            margin-bottom: 0.2rem;
            display: block;
            font-size: 0.875rem;
            font-weight: 500;
            color: var(--color-onyx-primary-cyan);
        }

        .contact-section .form-input {
            width: 100%;
            padding: 0.75rem var(--spacing-md);
            background-color: var(--color-onyx-dark);
            color: var(--color-text-primary);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--spacing-sm);
            transition: border-color 0.3s, box-shadow 0.3s;
            resize: vertical;
            font-family: inherit;
            font-size: 1rem;
            box-sizing: border-box;
            min-height: 2.5rem;
        }

        .contact-section select.form-input {
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C0C0C0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 0.75rem center;
            background-size: 1rem;
            padding-right: 2.5rem;
            color: var(--color-text-secondary);
        }

        .contact-section select.form-input option {
            color: var(--color-text-primary);
            background-color: var(--color-onyx-dark);
        }

        .contact-section select.form-input option:first-child {
            color: var(--color-text-secondary);
        }

        .contact-section .form-input:focus {
            outline: none;
            border-color: var(--color-onyx-primary-cyan);
            box-shadow: 0 0 0 1px var(--color-onyx-primary-cyan);
        }

        .contact-section .form-input::placeholder {
            color: var(--color-text-secondary);
            opacity: 0.85;
            font-family: inherit;
            font-size: 1rem;
        }

        .contact-section #description.form-input {
            min-height: 255px;
        }

        .contact-section input[type="number"].form-input {
            appearance: textfield;
            -moz-appearance: textfield;
        }

        .contact-section input[type="number"].form-input::-webkit-outer-spin-button,
        .contact-section input[type="number"].form-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .contact-section .form-row {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        @media (min-width: 640px) {
            .contact-section .form-row {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        .contact-section .contact-detail-box {
            display: flex;
            align-items: center;
            gap: var(--spacing-md);
            background-color: var(--color-onyx-dark);
            padding: var(--spacing-md);
            border-radius: var(--spacing-sm);
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: border-color 0.3s;
            text-decoration: none;
            color: var(--color-text-primary);
            width: 100%;
            margin: 0px 0px 0.8rem 0px;
            box-sizing: border-box;
        }

        @media (max-width: 767px) {
            .contact-section .contact-detail-box {
                padding: 0.5rem;
            }
        }

        .contact-section .contact-detail-box:hover {
            border-color: var(--color-onyx-primary-cyan);
        }

        .contact-section .contact-detail-box svg {
            flex-shrink: 0;
            width: 1.5rem;
            height: 1.5rem;
        }

        .contact-section .phone-numbers a {
            display: block;
            color: var(--color-text-primary);
            text-decoration: none;
            margin: 0;
            line-height: 1.25;
        }

        .contact-section .phone-numbers a + a {
            margin-top: 0.1rem;
        }

        .contact-section .badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            border-radius: 9999px;
            background-color: rgba(120, 120, 120, 0.3);
            color: #fff;
            border: 1px solid #fff;
        }

        .contact-section .success-message {
            color: var(--color-onyx-primary-cyan);
            font-weight: bold;
            margin-bottom: 1rem;
            text-align: center;
            font-size: 1.1rem;
        }

        .contact-section .error-message {
            color: #ff444476;
            font-weight: bold;
            margin-bottom: 1rem;
            text-align: center;
            font-size: 1.1rem;
        }

        .contact-section .contact-grid-section {
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem;
            padding: var(--spacing-lg);
            border-bottom-left-radius: 40px;
            border-bottom-right-radius: 40px;
        }

        
        @media (min-width: 768px) {
            .contact-section .contact-grid-section {
                grid-template-columns: 1fr 2fr;
                gap: 2rem;
                padding: 3rem;
            }
        }

        /* ========================================================================= */
        /* HERO CONTENT SECTION STYLES */
        /* ========================================================================= */
        .device-demo-section {
            padding: 4rem 1rem;
            background-color: transparent;
        }

        .device-demo-grid {
            max-width: var(--max-width-content);
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 2fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .device-demo-left {
            display: flex;
            justify-content: center;
        }

        .device-demo-image {
            max-width: 100%;
            height: auto;
            border-radius: 1rem;
        }

        .device-demo-middle {
            text-align: left;
        }

        .device-demo-middle .badge {
            margin-bottom: 1rem;
        }

        .device-demo-text {
            font-size: 1.1rem;
            color: var(--color-text-secondary);
            line-height: 1.6;
            margin-bottom: 2rem;
        }

        .device-demo-controls {
            display: flex;
            gap: 1rem;
        }

        .control-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: 2px solid var(--color-onyx-primary-cyan);
            background-color: transparent;
            color: var(--color-onyx-primary-cyan);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .control-btn:hover {
            background-color: var(--color-onyx-primary-cyan);
            color: white;
        }

        .device-demo-right {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .play-text {
            font-size: 0.8rem;
            color: #646464;
            margin-bottom: 2rem;
            text-align: center;
        }

        .play-btn {
            position: relative;
            width: 70px;
            height: 70px;
            border-radius: 50%;
            background-color: var(--color-onyx-primary-cyan);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .play-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background-color: var(--color-onyx-primary-cyan);
            opacity: 0.3;
            z-index: -1;
        }

        .play-btn:hover {
            transform: scale(1.1);
        }

        .play-btn:hover::before {
            opacity: 0.5;
        }

        @media (max-width: 768px) {
            .device-demo-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .device-demo-middle {
                text-align: center;
            }

            .device-demo-controls {
                justify-content: center;
            }
        }

/* ========================================================================= */
/* CLIENT COMPTEUR + TESTIMONALS */
/* ========================================================================= */

.client-testimonials {
  padding: clamp(3.25rem, 6vh, 5rem) 0;
  padding-top:0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-container .badge-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

.testimonials-title {
  text-align: center;
}

.testimonials-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  max-width: 720px;
  margin: 0 auto 2.25rem;
  padding: 0.5rem 0 2rem;
}

.client-testimonials.animate .testimonials-title {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.9s ease-out 0s forwards;
}

.client-testimonials.animate .testimonials-subtitle {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.9s ease-out 0.2s forwards;
}

.client-testimonials.animate .badge-container {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.9s ease-out 0.4s forwards;
}

.client-testimonials.animate .testimonials-marquee,
.client-testimonials.animate .testimonials-mobile {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.9s ease-out 0.6s forwards;
}

.client-testimonials.animate .testimonials-row--ltr {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease-out 0.6s forwards;
}

.client-testimonials.animate .testimonials-row--rtl {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s ease-out 0.8s forwards;
}

.testimonials-marquee {
  display: grid;
  gap: 0.5rem;
  overflow: hidden;
}

.testimonials-row {
  position: relative;
  padding: 0.2rem 0;
  width: 100%;
  z-index: 2;
  overflow: visible;
}

.testimonials-row::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -25px;
  width: 200px;
  background: linear-gradient(to right, var(--color-onyx-dark) 0%, var(--color-onyx-dark) 20%, rgba(9, 9, 11, 0.8) 50%, rgba(9, 9, 11, 0) 100%);
  z-index: 3;
  pointer-events: none;
}

.testimonials-row::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 180px;
  background: linear-gradient(to left, var(--color-onyx-dark) 0%, var(--color-onyx-dark) 20%, rgba(9, 9, 11, 0.8) 50%, rgba(9, 9, 11, 0) 100%);
  z-index: 3;
  pointer-events: none;
}

.testimonials-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  will-change: transform;
  padding: 0.25rem;
  position: relative;
  z-index: 1;
}


.client-testimonials.animate .testimonials-track[data-direction="ltr"] {
  animation: testimonialsScrollLTR 34s linear infinite;
}

.client-testimonials.animate .testimonials-track[data-direction="rtl"] {
  animation: testimonialsScrollRTL 34s linear infinite;
}

.client-testimonials .testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes testimonialsScrollLTR {
  from { transform: translateX(-50%); }
  to { transform: translateX(0%); }
}

@keyframes testimonialsScrollRTL {
  from { transform: translateX(0%); }
  to { transform: translateX(-50%); }
}

.glass-card.testimonial-card {
  /*min-height: 168px;*/
  width: 320px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0.4rem 0;
}

.testimonial-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 1;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--font-archivo-expanded, "Archivo Expanded", system-ui);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(24, 24, 24, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.testimonial-name {
  margin: 0;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

.testimonial-role {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.testimonial-rating {
  display: inline-flex;
  gap: 2px;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--color-onyx-primary-cyan);
  opacity: 0.95;
  align-self: start;
  justify-self: end;
}

.testimonial-quote {
  margin: 0;
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  line-height: 1.45;
  flex: 1 1 auto;
}

.testimonial-location {
  margin-top: auto;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  bottom: 0;
  position: fixed;
}

.testimonials-mobile {
  display: none;
}

.testimonials-mobile-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  order: 2;
}

.testimonials-controls {
  display: flex;
  gap: 1rem;
}

.testimonials-controls button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--color-onyx-primary-cyan);
}

.testimonials-controls button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-onyx-primary-cyan);
  color: #ffffff;
}

.testimonials-controls button svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2px;
}

.testimonials-mobile-viewport {
  position: relative;
  min-height: 200px;
  order: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonials-mobile-viewport .testimonial-card {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.testimonials-mobile-viewport .testimonial-card:not(.is-active) {
  display: none;
}

@media (max-width: 680px) {
  .glass-card.testimonial-card {
    width: 45vw;
    min-height: 172px;
  }

  .testimonials-row::before,
  .testimonials-row::after {
    width: 70px;
  }
}

@media (max-width: 500px) {
  .testimonials-marquee {
    display: none;
  }

  .testimonials-mobile {
    display: flex;
    flex-direction: column;
  }

  .glass-card.testimonial-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .testimonials-mobile-viewport {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /*
  .testimonials-mobile-viewport .testimonial-card {
    margin: 0 1rem;
  }
*/
  .client-testimonials::after {
    z-index: 0;
  }

  .testimonials-container {
    position: relative;
    z-index: 2;
  }
}
        .client-container {
            max-width: 11rem;
            margin: 0 auto;
            text-align: center;
            background-color: transparent;
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 1rem;
            padding: 1.2rem;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            overflow: visible;
            will-change: transform;
            cursor: pointer;
            transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
        } 
        
        .client-container:hover {
            transform: scale(1.05) !important;
        }

        .usages-multiples-section .client-container:hover {
            transform: translateY(7.5rem) scale(1.05) !important;
        }
        
        .client-container.counter-complete {
            animation: counterCompleteZoom 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
        }

        .usages-multiples-section .client-container.counter-complete-usages {
            animation: counterCompleteZoomUsages 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
        }
        
        @keyframes counterCompleteZoom {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.08);
            }
            100% {
                transform: scale(1);
            }
        }

        @keyframes counterCompleteZoomUsages {
            0% {
                transform: translateY(7.5rem) scale(1);
            }
            50% {
                transform: translateY(7.5rem) scale(1.08);
            }
            100% {
                transform: translateY(7.5rem) scale(1);
            }
        }

        .client-rating {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1rem;
        }

        .rating-score {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--color-text-primary);
        }

        .client-stars {
            display: flex;
            gap: 0.25rem;
        }

        .client-stars svg {
            width: 15px;
            height: 15px;
            fill: white;
            stroke: white;
            stroke-width: 2px;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .client-images {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 1rem;
            position: relative;
        }

        .client-image {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            border: 2px solid var(--color-onyx-dark);
            object-fit: cover;
            margin-left: -8px;
        }

        .client-image:first-child {
            margin-left: 0;
        }

        .client-plus {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background-color: var(--color-onyx-primary-cyan);
            border: 2px solid var(--color-onyx-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: -8px;
        }

        .client-text {
            font-size: 0.8rem;
            color: var(--color-text-secondary);
            margin: 0;
        }

        .client-count {
            font-weight: 700;
            color: var(--color-text-primary);
            display: inline-block;
            min-width: 4ch;
            text-align: right;
        }

        .usages-multiples-section .client-container {
            transform: translateY(7.5rem);
        }

        .tracker-fonction-right .client-container {
            margin-bottom: 0rem;
        }

        @media (max-width: 1024px) {
        .usages-multiples-section .client-container {
            display: none;
        }  
        .tracker-fonction-right .client-container {
            margin-left: 0;
        } 
    }

        @media (min-width: 1023px) {
        .tracker-fonction-right .client-container {
            display: none;
        } 
        .usages-multiples-section .client-container {
            display: block;
        }  
    }
    
        @media (max-width: 600px) {
        .tracker-fonction-right .client-container {
            max-width: 11rem;
            margin: 0 auto;
            text-align: center;
            background-color: transparent;
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 1rem;
            padding: 1.2rem;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            margin-top: 3rem;
            cursor: pointer;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
        }
        
        .tracker-fonction-right .client-container:hover {
            transform: scale(1.05) !important;
        }
    }

        /* ========================================================================= */
        /* AVANTAGES CLÉS SECTION STYLES */
        /* ========================================================================= */
        .avantages-section {
            max-width: var(--max-width-content);
            margin: 0 auto;
            padding: 3rem 1.5rem;
        }

        .avantages-title {
            margin-bottom: 4rem;
            text-align: center;
        }

        .avantages-section.animate .avantages-title {
            opacity: 0;
            transform: translateY(30px);
            animation: slideUp 1s ease-out forwards;
            font-size: clamp(2rem, 4vw, 3rem);
        }

.avantages-grid {
    display: grid;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.avantages-section.animate .avantages-grid {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s ease-out 0.3s forwards;
}

        /* Grille principale (Cards 1-3) - toujours visible */
        .avantages-grid-main {
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        }

        /* Cards 4-5 masquées par défaut dans la grille principale */
        .avantage-card-desktop {
            display: none !important;
        }

        /* Card 4 mobile masquée par défaut (visible seulement <700px) */
        .avantage-card-mobile {
            display: flex;
        }

        /* Grille single (Card 4 seule) - masquée par défaut */
        .avantages-grid-single {
            display: none;
        }

        /* Grille bottom (Cards 4-5) - masquée par défaut */
        .avantages-grid-bottom {
            display: none;
        }

        /* Mobile strict (<374px): 1 colonne, toutes les cartes empilées */
        @media (max-width: 374px) {
            .avantages-grid-main {
                grid-template-columns: 1fr;
            }
            .avantage-card-desktop {
                display: none !important;
            }
            .avantages-grid-single {
                display: grid;
                grid-template-columns: 1fr;
                justify-items: center;
            }
            .avantages-grid-bottom {
                display: none;
            }
        }

        /* Entre 375px et 700px: cards 1-4 en 2 colonnes, card 5 centrée */
        @media (min-width: 375px) and (max-width: 700px) {
            .avantages-grid-main {
                grid-template-columns: repeat(2, 1fr);
            }
            .avantage-card-desktop {
                display: none !important;
            }
            .avantages-grid-single {
                display: grid;
                grid-template-columns: 1fr;
                justify-items: center;
                max-width: 300px;
                margin-left: auto;
                margin-right: auto;
            }
            .avantages-grid-bottom {
                display: none;
            }
        }

        /* Entre 375px et 497px: réduire légèrement la taille du texte */
        @media (min-width: 375px) and (max-width: 497px) {
            .avantage-title {
                font-size: clamp(0.875rem, 3vw, 1rem);
            }
            .avantage-desc {
                font-size: clamp(0.75rem, 2.5vw, 0.875rem);
            }
        }

        /* Entre 375px et 700px: ajuster l'espacement et la largeur de la card 5 */
        @media (min-width: 375px) and (max-width: 700px) {
            .avantages-grid-main {
                margin-bottom: 0;
            }
            .avantages-grid-single {
                margin-top: 1rem;
                padding: 0 1rem;
            }
            .avantages-grid-single .avantage-card {
                max-width: 230px;
                margin: 0 auto;
            }
        }

        /* Entre 700px et 1199px: 3 cards en haut, 2 cards centrées en bas */
        @media (min-width: 700px) and (max-width: 1199px) {
            .avantages-grid-main {
                grid-template-columns: repeat(3, 1fr);
            }
            .avantage-card-mobile {
                display: none !important;
            }
            .avantage-card-desktop {
                display: none !important;
            }
            .avantages-grid-single {
                display: none;
            }
            .avantages-grid-bottom {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                max-width: 600px;
                margin-left: auto;
                margin-right: auto;
                justify-items: center;
            }
        }

        /* Entre 970px et 1199px: ajouter de la marge pour les cartes du haut */
        @media (min-width: 970px) and (max-width: 1199px) {
            .avantages-grid-main {
                margin: 4rem;
            }
        }

        /* Au-dessus de 1200px: toutes les 5 cartes sur une ligne */
        @media (min-width: 1201px) {
            .avantages-grid-main {
                grid-template-columns: repeat(5, 1fr);
            }
            .avantage-card-mobile {
                display: none !important;
            }
            .avantage-card-desktop {
                display: flex !important;
            }
            .avantages-grid-single {
                display: none;
            }
            .avantages-grid-bottom {
                display: none;
            }
        }

        .avantage-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 1rem;
            transition: transform 0.3s ease;
        }

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

        .feature-icon {
            width: 3rem;
            height: 3rem;
            color: var(--color-onyx-primary-cyan);
            margin-bottom: 0.75rem;
        }

        .avantage-title {
            font-weight: 600;
            color: var(--color-text-primary);
            margin-bottom: 0.25rem;
        }

        .avantage-desc {
            font-size: 0.875rem;
            color: #9ca3af;
        }

        /* ========================================================================= */
        /* FAQ SECTION STYLES */
        /* ========================================================================= */

        .faq-section {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 1s ease-out, transform 1s ease-out;
            position: relative;
            min-height: 600px;
        }

        .faq-section.animate {
            opacity: 1;
            transform: translateY(0);
        }

        .cta-section h1 {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 1s ease-out, transform 1s ease-out;
            transition-delay: 0s;
        }

        .cta-section h2 {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 1s ease-out, transform 1s ease-out;
            transition-delay: 0.2s;
        }

        .cta-section .cta-group {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 1s ease-out, transform 1s ease-out;
            transition-delay: 0.4s;
        }

        .cta-section.animate h1,
        .cta-section.animate h2,
        .cta-section.animate .cta-group {
            opacity: 1;
            transform: translateY(0);
        }

        .faq-background {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('assets/halo5.png'), url('assets/halo1b.png');
            background-position: left top, right top;
            background-repeat: no-repeat;
            background-size: auto 600px, auto;
            background-attachment: scroll;
            z-index: 1;
            pointer-events: none;
        }

        @media (max-width: 767px) {
            .faq-background {
                background-position: left top, right calc(100% - 10vw);
            }
        }

        @media (min-width: 340px) and (max-width: 515px) {
            .faq-background {
                background-position: left top, right 40vh;
            }
        }

        .faq-content {
            position: relative;
            z-index: 2;
            padding: 5rem 2rem 0;
        }

        @media (max-width: 900px) {
            .faq-content {
                padding: 0;
            }
        }

        .faq-grid {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: var(--spacing-lg);
            align-items: start;
        }

        .faq-left {
            padding: var(--spacing-lg);
            border-radius: 8px;
        }

        .faq-left h1 {
            font-size: 3rem;
            font-weight: 700;
            color: var(--color-text-primary);
            margin-bottom: var(--spacing-md);
        }

        .faq-left h2 {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--color-onyx-primary-cyan);
            margin-bottom: var(--spacing-md);
        }

        .faq-left p {
            font-size: 1rem;
            color: var(--color-text-secondary);
            line-height: 1.6;
        }

        .faq-right {
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            background-color: rgba(19, 19, 19, 0.16);
            border: 1px solid rgba(255, 255, 255, 0.1);

            padding: var(--spacing-lg);
            border-radius: 8px;
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
        }

        .faq-item {
            border-bottom: 1px solid var(--color-text-secondary);
            margin-bottom: var(--spacing-md);
        }

        .faq-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }

        .faq-question {
            width: 100%;
            background: none;
            border: none;
            color: var(--color-text-primary);
            font-family: 'Inter', sans-serif;
            font-size: 1.125rem;
            font-weight: 500;
            text-align: left;
            padding: var(--spacing-md) 0;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: color 0.3s ease;
        }

        .faq-question:hover {
            color: var(--color-onyx-primary-cyan);
        }

        /* Style de l'icône + / x */
        .faq-toggle {
            width: 24px;
            height: 24px;
            position: relative;
            transition: transform 0.3s ease;
        }

        .faq-toggle::before,
        .faq-toggle::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 2px;
            background-color: var(--color-text-primary);
            top: 50%;
            left: 0;
            transform: translateY(-50%);
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        .faq-toggle::after {
            transform: translateY(-50%) rotate(90deg);
        }

        .faq-item.open .faq-toggle::before {
            transform: translateY(-50%) rotate(45deg);
        }

        .faq-item.open .faq-toggle::after {
            transform: translateY(-50%) rotate(-45deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease-in-out;
            color: var(--color-text-secondary);
            font-size: 1rem;
            line-height: 1.6;
            padding: 0 var(--spacing-md) var(--spacing-md) 0;
        }

        .faq-item.open .faq-answer {
            max-height: 500px;
        }

        @media (max-width: 768px) {
            .faq-grid {
                grid-template-columns: 1fr;
                gap: var(--spacing-md);
            }

            .faq-left h1 {
                font-size: 2rem;
            }

            .faq-left h2 {
                font-size: 2rem;
            }
        }

        @media (max-width: 459px) {
            .faq-section {
                min-height: auto;
            }

            .faq-left {
                padding: 1rem;
            }

            .faq-left h1 {
                font-size: 1.5rem;
                margin-bottom: 0.5rem;
            }

            .faq-left h2 {
                font-size: 2.3rem;
                margin-bottom: 1.5rem;
            }

            .faq-left p {
                font-size: 0.875rem;
            }

            .faq-right {
                padding: 1rem;
            }

            .faq-item {
                padding: 0.75rem 0;
            }

            .faq-question {
                font-size: 0.875rem;
                padding: 0.75rem 0;
            }

            .faq-answer {
                font-size: 0.8rem;
                padding: 0 0.5rem 0.5rem 0;
            }

            .faq-toggle {
                width: 20px;
                height: 20px;
            }
        }

        /* ========================================================================= */
        /* PRICING SECTION STYLES */
        /* ========================================================================= */

        #pricing > div,
        #tracker > div {
            max-width: none;
        }

        #pricing {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 1s ease-out, transform 1s ease-out;
        }

        #pricing.animate {
            opacity: 1;
            transform: translateY(0);
        }

        .pricing-container h2 {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 1s ease-out, transform 1s ease-out;
            transition-delay: 0s;
        }

        .pricing-subtitle {
            font-size: clamp(1rem, 2vw, 1.125rem);
            color: var(--color-text-secondary);
            max-width: 600px;
            margin: -2rem auto 6rem;
            line-height: 1.6;
            text-align: center;
        }

        .pricing-card.recommended {
            opacity: 0;
            transform: translateY(30px) scale(1.07);
            transition: opacity 1s ease-out, transform 1s ease-out;
            transition-delay: 0.3s;
        }

        .pricing-card:not(.recommended) {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 1s ease-out, transform 1s ease-out;
            transition-delay: 0.6s;
        }

        #pricing.animate .pricing-container h2,
        #pricing.animate .pricing-card:not(.recommended) {
            opacity: 1;
            transform: translateY(0rem); 
            padding-top: 4rem;
        }   

        #pricing.animate .pricing-card.recommended {
            opacity: 1;
            transform: translateY(0) scale(1.07);
        }

        body:not(.index-page) #pricing,
        body:not(.index-page) .pricing-container h2,
        body:not(.index-page) .pricing-card:not(.recommended) {
            opacity: 1;
            transform: none;
        }

        body:not(.index-page) .pricing-card.recommended {
            opacity: 1;
            transform: scale(1.07);
        }

        .pricing-container h2 {
            margin-bottom: 5rem;
            font-size: 2.5rem;
        }

        .pricing-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .pricing-card {
            padding: 2rem;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            background-color: rgba(19, 19, 19, 0.16);
            background-image: url('assets/halo3.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 1rem;
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
            transition: all 0.3s ease;
            position: relative;
        }

        .pricing-card:hover {
            border-color: var(--color-onyx-primary-cyan);
            box-shadow: 0 10px 30px rgba(0, 163, 224, 0.3);
            transform: translateY(-10px);
            transition: all 0.4s ease;
        }

        .pricing-card.recommended:hover {
            transform: translateY(-10px) scale(1.07);
            transition: all 0.4s ease;
        }

        #pricing.animate .pricing-card:hover,
        #pricing.animate .pricing-card.recommended:hover {
            transform: translateY(-10px) scale(1.07);
            transition: all 0.4s ease;
        }

        #pricing.animate .pricing-card:not(.recommended):hover {
            transform: translateY(-10px);
            transition: all 0.4s ease;
        }

        .pricing-card.recommended {
            border-color: var(--color-onyx-primary-cyan);
            position: relative;
            background-image: url('assets/halo1.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        .pricing-card.recommended .badge {
            position: absolute;
            top: -0.8rem;
            left: 50%;
            transform: translateX(-50%);
            background-color: var(--color-onyx-primary-cyan)
        }

        .pricing-card.recommended h3,
        .pricing-card.recommended p,
        .pricing-card.recommended ul li {
            transform: scale(0.952);
        }

        .pricing-card h3,
        .pricing-card p {
            text-align: center;
        }

        .pricing-card ul li {
            text-align: left !important;
        }

        .pricing-card h3 {
            font-size: 2rem;
            font-weight: 700;
            color: var(--color-onyx-primary-cyan);
            margin-bottom: 1rem;
        }

        .pricing-card p {
            color: var(--color-text-secondary);
            margin-bottom: 1.5rem;
        }

        .pricing-card .price {
            font-size: 2rem;
            font-weight: bold;
            color: white;
            margin-bottom: 0.5rem;
        }

        .pricing-card .price-note {
            font-size: 0.875rem;
            color: #9ca3af;
            margin-bottom: 2rem;
        }

        .pricing-card ul {
            list-style: none;
            padding: 0;
            margin-bottom: 2rem;
        }

        .pricing-card ul li {
            color: var(--color-text-secondary);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
        }

        .pricing-card:not(.recommended) ul li {
            transform: scale(0.952);
        }

        .pricing-card ul li::before {
            content: '';
            color: var(--color-onyx-primary-cyan);
            font-weight: bold;
            margin-right: 0.5rem;
        }

        @media (min-width: 1324px) {
            .pricing-card ul li {
                padding-left: 2rem;
            }
        }


        @media (max-width: 1100px) {
            #pricing {
                margin: 0 2rem 3rem;
                padding: 0 1rem;
            }

            .pricing-card ul {
                margin: 0 auto;
                max-width: fit-content;
            }

            #pricing {
                margin: 0 2rem 3rem;
                padding: 0 1rem;
            }

            .pricing-card ul {
                margin: 0 auto;
                max-width: fit-content;
            }

            .pricing-grid {
                gap: 4rem;
            }

            .pricing-card .btn-base {
            margin-top: 2rem; 
            }
        }

        @media (min-width: 1100px) {
            .pricing-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }


        @media (max-width: 599px) {
            .pricing-card {
                padding: 1.5rem;
                max-width: 100%;
            }
        }


        @media (max-width: 599px) {
            #pricing {
                margin: 0 1rem 3rem;
                padding: 0;
            }

            .pricing-grid {
                padding: 0 0.5rem;
            }

            .pricing-card {
                max-width: 100%;
                margin: 0 auto;
            }
        }

        @media (max-width: 459px) {
            .pricing-card ul li {
                font-size: 0.9rem;
            }

            .pricing-card ul {
                margin-left: 0px;
            }    

            .pricing-card:nth-of-type(3) h3 {
                font-size: 1.5rem;
            }
        }

        /* ========================================================================= */
        /* TRACKER SECTION STYLES */
        /* ========================================================================= */

        .tracker-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            max-width: 80rem;
            margin: 0 auto;
        }

        .tracker-card {
            padding: 1.5rem;
            background-image: url('assets/hero-abstract-background.png');
            border-radius: 0.75rem;
            border: 1px solid #202020;
            transition: border-color 0.3s;
            background-size: 197%;
        }

        .tracker-card:hover {
            border-color: var(--color-onyx-primary-cyan);
        }

        .tracker-card h3 {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--color-text-primary);
            margin-bottom: 0.5rem;
        }

        .tracker-card p {
            color: #9ca3af;
        }

        .tracker-title {
            font-size: clamp(1.5rem, 4vw, 1.875rem);
            font-weight: 700;
            color: var(--color-text-primary);
            margin-bottom: 3.5rem;
            text-align: center;
        }

        @media (max-width: 480px) {
            .tracker-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            .tracker-card {
                padding: 1rem;
            }
            .tracker-title {
                margin-bottom: 2rem;
                font-size: 1.25rem;
            }
        }

        @media (min-width: 481px) and (max-width: 767px) {
            .tracker-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.25rem;
            }
            .tracker-card {
                padding: 1.25rem;
            }
            .tracker-title {
                margin-bottom: 3rem;
            }
        }

        @media (min-width: 768px) {
            .tracker-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }  

        @media (min-width: 1024px) {
            .tracker-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

            .mb-4 {
                margin-bottom: 1rem;
        }

            .text-xl {
                font-size: 1.25rem;
                line-height: 1.75rem;
        }

            .font-semibold {
                font-weight: 600;
        }

            .text-white {
                color: #ffffff;
        }

            .text-gray-400 {
                color: #9ca3af;
        }

            .hero-title-animated {
                opacity: 0;
                transform: translateY(30px);
                animation: slideUp 1s ease-out forwards;
        }

            .hero-paragraph-animated {
                opacity: 0;
                transform: translateY(30px);
                animation: slideUp 1s ease-out 1s forwards;
        }

            .lead-text-contact {
                font-size: clamp(0.9rem, 2vw, 1.1rem);
        }

            /* ============================================
            STYLES SPÉCIFIQUES SCAN-INSTALLATION
            ============================================ */

            .scan-installation-page {
                overflow-x: hidden;
        }

            .scan-installation-page .input-wrapper.client-field svg {
                position: absolute;
                left: 10px;
                top: 50%;
                transform: translateY(-50%);
                color: #888;
                pointer-events: none;
                z-index: 1;
        }

            .scan-installation-page .input-wrapper.client-field input {
                padding-left: 40px;
        }

            .scan-installation-page #email,
            .scan-installation-page #tel {
                padding-left: 40px !important;
        }

            .scan-installation-page .input-wrapper.scan-field input[type="tel"] {
                padding-left: 12px;
                padding-right: 48px;
        }

            .offer-qty-row {
            display: flex;
            gap: 10px;
            width: 100%;
            align-items: flex-end;
        }

            .offer-col {
            flex: 4;
            min-width: 0;
        }

            .qty-col {
            flex: 1;
            min-width: 0;
        }

            .offer-qty-row .custom-select-wrapper,
            .offer-qty-row .custom-select {
            width: 100%;
        }

            .scan-installation-page .input-wrapper.special-price-field input {
                padding-left: 12px !important;
        }

            .serial-row .field {
            flex: 0 0 calc(50% - 4px);
            max-width: calc(50% - 4px);
            min-width: 0;
            margin-bottom: 0;
        }

            .two-input-row {
            display: flex;
            gap: 12px;
            flex-wrap: nowrap;
        }

            .two-input-row .field {
            flex: 0 0 calc(50% - 6px);
            max-width: calc(50% - 6px);
            min-width: 0;
        }

            .serial-row {
            display: flex;
            gap: 8px;
            margin-top: 8px;
            flex-wrap: nowrap;
        }

            .serial-row .field .input-wrapper.scan-field {
            position: relative;
            width: 100%;
            margin-bottom: 8px;
        }

            .serial-row .field .input-wrapper.scan-field input {
            width: 100%;
            box-sizing: border-box;
            padding: 10px 12px;
            border: 1px solid #444;
            border-radius: 6px;
            background-color: #19191961;
        }

            .sim-section-title {
            margin-top: 30px;
        }

/* ------------------------------------------------------------------------- */
/* Ajustements spacing (mobile) */
/* ------------------------------------------------------------------------- */
@media (max-width: 600px) {
  .tracker-fonction-section {
    padding-bottom: 2.5rem;
  }
  .mobile-control-container {
    margin-bottom: 0.5rem;
  }
}

/* ========================================================================= */
/* Testimonials */
/* ========================================================================= */
.client-testimonials {
  position: relative;
  z-index: 1;
}

.client-testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -2rem;
  width: min(520px, 55vw);
  background-image: url("assets/halo5.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  opacity: 0.75;
  pointer-events: none;
  z-index: 3;
}

.client-testimonials::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(520px, 55vw);
  background-image: url("assets/halo5b.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right center;
  opacity: 0.75;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 640px) {
    .client-testimonials::after {
        display: none !important;
    }
    .client-testimonials::before {
        display: none !important;
    }
}

.client-testimonials .testimonials-container {
  position: relative;
  z-index: 1;
}

.testimonials-container {
  padding: 0 1.25rem;
}

.client-testimonials .testimonials-marquee {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (max-width: 499px) {
  .client-testimonials .testimonials-marquee {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
}





        
        .whatsapp-float::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 74px;
            height: 74px;
            border-radius: 50%;
            background-color: var(--color-onyx-primary-cyan);
            opacity: 0.25;
            z-index: -1;
        }

        .whatsapp-float::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 62px;
            height: 62px;
            border-radius: 50%;
            background-color: var(--color-onyx-primary-cyan);
            opacity: 0.18;
            z-index: -1;
        }

        .whatsapp-float svg {
            display: block;
        }

        .whatsapp-float:hover {
            opacity: 0.9;
            transform: scale(1.05);
        }

        @keyframes whatsappPulse {
            0% { transform: scale(1); }
            45% { transform: scale(1.06); }
            70% { transform: scale(0.98); }
            100% { transform: scale(1); }
        }

        @media (max-width: 400px) {
                    }


        .whatsapp-float {
            position: fixed;
            right: 30px;
            bottom: 30px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: var(--color-onyx-primary-cyan);
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            z-index: 999;
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
            animation: whatsappPulse 2.4s ease-in-out infinite;
        }

        .whatsapp-float::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 74px;
            height: 74px;
            border-radius: 50%;
            background-color: var(--color-onyx-primary-cyan);
            opacity: 0.25;
            z-index: -1;
        }

        .whatsapp-float::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 62px;
            height: 62px;
            border-radius: 50%;
            background-color: var(--color-onyx-primary-cyan);
            opacity: 0.18;
            z-index: -1;
        }

        .whatsapp-float svg {
            display: block;
        }

        .whatsapp-float:hover {
            opacity: 0.9;
        }

        @keyframes whatsappPulse {
            0% { transform: scale(1); }
            45% { transform: scale(1.06); }
            70% { transform: scale(0.98); }
            100% { transform: scale(1); }
        }

/* ========================================================================= */
/* STYLES SPÉCIFIQUES PAGE À PROPOS */
/* ========================================================================= */

/* Section About */
.about-section {
    padding: clamp(4rem, 16vh, 6rem) 5rem;
    background-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.about-section.animate {
    opacity: 1;
    transform: translateY(0);
}

.about-container {
    max-width: var(--max-width-content);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 2rem 0 0;
}

.about-content p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 3.5rem;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.about-content p:last-child {
    margin-bottom: 0;
}



/* Section Expertise */
.expertise-section {
    padding: clamp(4rem, 8vh, 6rem) 1.5rem;
    background-color: transparent;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    padding-top: 0;
}

.expertise-section.animate {
    opacity: 1;
    transform: translateY(0);
}

.expertise-container {
    max-width: var(--max-width-content);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.expertise-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 6rem;
}

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

.expertise-section.animate .expertise-card:nth-child(1) {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out 0.2s forwards;
}

.expertise-section.animate .expertise-card:nth-child(2) {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out 0.4s forwards;
}

.expertise-section.animate .expertise-card:nth-child(3) {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out 0.6s forwards;
}

.expertise-card {
    background-color: var(--color-onyx-primary-cyan);
    border-radius: 1rem;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(83, 169, 187, 0.4);
}

.expertise-card-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.expertise-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    padding: 0 2rem;
}

.expertise-card ul {
    list-style: disc;
    padding: 0 2rem 2rem 3rem;
    margin: 0 auto;
    max-width: fit-content;
}

.expertise-card ul li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.expertise-card ul li::marker {

}

/* Section Différence */
.difference-section {
    padding: clamp(4rem, 8vh, 6rem) 1.5rem;
    background-color: transparent;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    margin-top: 4rem;
}

.difference-section.animate {
    opacity: 1;
    transform: translateY(0);
}

.difference-section.animate .difference-title {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out 0.2s forwards;
    text-transform: uppercase;
}

.difference-section.animate .difference-card:nth-child(1) {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out 0.4s forwards;
}

.difference-section.animate .difference-card:nth-child(2) {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out 0.5s forwards;
}

.difference-section.animate .difference-card:nth-child(3) {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out 0.6s forwards;
}

.difference-section.animate .difference-card:nth-child(4) {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease-out 0.7s forwards;
}

.difference-section::before {
    content: "";
    position: absolute;
    top: 0;
    width: 60vw;
    height: 100%;
    background-image: url("assets/halo5.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    pointer-events: none;
    z-index: 0;
}

.difference-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 152%;
    background-image: url("assets/halo1b.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right center;
    pointer-events: none;
    z-index: 0;
}

.difference-container {
    max-width: var(--max-width-content);
    margin: 0 3rem;
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
    position: relative;
    z-index: 1;
}

.difference-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.difference-title {
    font-size: 2rem;
    text-align: right;
    padding: 2rem;
}

.difference-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    margin: 0 6rem;
}

.difference-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.difference-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
}

.difference-card p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Section Vision Afrique */
.vision-section {
    padding: clamp(4rem, 8vh, 6rem) 1.5rem;
    background-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.vision-section.animate {
    opacity: 1;
    transform: translateY(0);
}

.vision-section.animate .vision-image-wrapper {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideUp 0.8s ease-out 0.2s forwards;
}

.vision-section.animate .vision-content {
    opacity: 0;
    transform: translateX(30px);
    animation: slideUp 0.8s ease-out 0.4s forwards;
}

.vision-container {
    max-width: var(--max-width-content);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: center;
}

.vision-image-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.vision-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.vision-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.vision-content p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    margin: 0;
}

/* Section Mission */
.mission-section {
    padding: clamp(4rem, 8vh, 6rem) 1.5rem;
    background-color: transparent;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.mission-section.animate {
    opacity: 1;
    transform: translateY(0);
}

.mission-section.animate .mission-content {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideUp 0.8s ease-out 0.2s forwards;
}

.mission-section.animate .mission-image-wrapper {
    opacity: 0;
    transform: translateX(30px);
    animation: slideUp 0.8s ease-out 0.4s forwards;
}

.mission-container {
    max-width: var(--max-width-content);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.mission-content {
    text-align: center;
    padding: 2rem;
}

.mission-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 4rem;
    font-family: 'Archivo Expanded', sans-serif;
}

.mission-quote {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 400;
    font-style: italic;
    color: var(--color-text-primary);
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.mission-subtitle {
    font-size: 1rem;
    color: #9ca3af;
    line-height: 1.4;
    margin-top: 4rem;
    padding: 0 6rem;
}

.mission-image-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.mission-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive page À propos */
@media (max-width: 1024px) {
    .about-container,
    .difference-container,
    .vision-container,
    .mission-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .difference-title-wrapper {
        justify-content: center;
    }

    .difference-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .difference-cards {
        grid-template-columns: 1fr;
        margin: 0;
        grid-template-rows: auto;
    }

    .difference-container {
        margin: 0 1rem;
    }

    .about-container,
    .difference-container,
    .vision-container,
    .mission-container {
        gap: 2rem;
    }

    /* Vision Section - Tablette/Mobile */
    .vision-section {
        padding: 3rem 1rem;
    }

    .vision-container {
        padding: 0;
        gap: 2.5rem;
    }

    .vision-image-wrapper {
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .vision-content {
        padding: 0 1.5rem;
        text-align: center;
    }

    /* Mission Section - Tablette/Mobile */
    .mission-section {
        padding: 3rem 1rem;
    }

    .mission-container {
        padding: 0;
        gap: 2.5rem;
    }

    .mission-content {
        padding: 0 1.5rem;
    }

    .mission-subtitle {
        padding: 0;
    }

    .mission-image-wrapper {
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .about-section,
    .expertise-section,
    .difference-section,
    .vision-section,
    .mission-section {
        padding: 3rem 1rem;
    }

    .expertise-title,
    .difference-title {
        margin-bottom: 2rem;
    }

    /* Section Différence - Mobile strict */
    .difference-section {
        padding: 3rem 0.5rem;
        overflow-x: hidden;
    }

    .difference-container {
        margin: 0;
        padding: 0 0.5rem;
    }

    .difference-cards {
        margin: 0;
        gap: 1.5rem;
        padding: 0;
    }

    .difference-card {
        padding: 1.25rem;
    }

    /* Section Vision - Mobile strict */
    .vision-section {
        padding: 3rem 0;
        overflow-x: hidden;
    }

    .vision-container {
        padding: 0;
        gap: 2rem;
        max-width: 100vw;
    }

    .vision-image-wrapper {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .vision-image {
        width: 100%;
        height: auto;
    }

    .vision-content {
        padding: 0 1.5rem;
        text-align: center;
    }

    .vision-content h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .vision-content p {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
    }

    .vision-section.animate .vision-content {
        transform: none;
    }

    /* Section Mission - Mobile strict */
    .mission-section {
        padding: 3rem 0;
        overflow-x: hidden;
    }

    .mission-container {
        padding: 0;
        gap: 2rem;
        max-width: 100vw;
        display: flex;
        flex-direction: column;
    }

    .mission-content {
        padding: 0 1.5rem;
        text-align: center;
        order: 2; /* Texte en deuxième position */
    }

    .mission-subtitle {
        padding: 0;
    }

    .mission-image-wrapper {
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        order: 1; /* Image en première position */
    }

    .mission-image {
        width: 100%;
        height: auto;
    }

    .mission-section.animate .mission-content {
        transform: none;
    }

    .a-propos-page .cta-section.animate h1 {
        padding: 0;
      }
}

/* ========================================================================= */
/* STYLES POUR LA PAGE MENTIONS LÉGALES */
/* ========================================================================= */

/* Section d'en-tête (sans hero) */
.legal-header-section {
    padding: clamp(6rem, 10vh, 8rem) 1.5rem clamp(3rem, 5vh, 4rem);
    background-color: var(--color-onyx-dark);
    text-align: center;
}

.legal-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-main-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.legal-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.legal-header-content .badge {
    display: inline-block;
    margin-top: 1rem;
}

/* Section de contenu principal */
.legal-content-section {
    padding: clamp(2rem, 4vh, 3rem) 0 clamp(4rem, 8vh, 6rem);
    background-color: var(--color-onyx-dark);
}

.legal-content-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Navigation latérale */
.legal-nav-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.legal-nav-card {
    padding: 1.5rem;
    position: relative;
    overflow: visible;
}

.legal-nav-card::before {
    content: "";
    position: fixed;
    bottom: 1.5rem;
    left: 0;
    width: 280px;
    height: 280px;
    background-image: url("assets/halo5.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;
    opacity: 0.6;
    pointer-events: none;
    z-index: -1;
}

.legal-nav-card:hover {
    transform: none !important;
}

.legal-nav-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-onyx-primary-cyan);
    margin-bottom: 1rem;
}

.legal-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.legal-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.legal-nav-link:hover {
    background-color: rgba(83, 169, 187, 0.1);
    color: var(--color-onyx-primary-cyan);
    transform: translateX(5px);
}

.legal-nav-link.active {
    background-color: rgba(83, 169, 187, 0.2);
    color: var(--color-onyx-primary-cyan);
    font-weight: 700;
}

/* Contenu principal */
.legal-main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.legal-section-card {
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.legal-section-card:hover {
    transform: none !important;
}

.legal-section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--color-onyx-primary-cyan);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-onyx-primary-cyan);
}

.legal-subsection-title {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
    color: var(--color-text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-subsubsection-title {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 600;
    color: rgba(240, 240, 240, 0.9);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-text {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.legal-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0 1.5rem 1.5rem;
}

.legal-list li {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.legal-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-onyx-primary-cyan);
    font-weight: bold;
}

.legal-list li strong {
    color: rgba(240, 240, 240, 0.95);
    font-weight: 600;
}

.legal-text strong {
    color: rgba(240, 240, 240, 0.95);
    font-weight: 600;
}

.legal-link {
    color: var(--color-onyx-primary-cyan);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.legal-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Boîte de mise en évidence */
.legal-highlight-box {
    background-color: rgba(83, 169, 187, 0.1);
    border-left: 4px solid var(--color-onyx-primary-cyan);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
}

.legal-highlight-box p {
    color: var(--color-text-primary);
    margin: 0;
    line-height: 1.6;
}

/* Section Contact */
.legal-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.legal-contact-box {
    padding: 1.5rem;
    background-color: rgba(19, 19, 19, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.legal-contact-box:hover {
    border-color: var(--color-onyx-primary-cyan);
    transform: none;
}

.legal-contact-address {
    grid-column: 1 / -1;
}

.legal-contact-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(83, 169, 187, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.legal-contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-onyx-primary-cyan);
}

.legal-contact-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
}

.legal-contact-info {
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-contact-link {
    color: var(--color-onyx-primary-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.legal-contact-link:hover {
    opacity: 0.8;
}

.legal-contact-hours {
    font-size: 0.875rem;
    color: rgba(192, 192, 192, 0.7);
}

.legal-contact-note {
    font-size: 0.875rem;
    color: rgba(192, 192, 192, 0.7);
}

.legal-contact-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Centrer le conteneur */
.legal-content-section .container {
    max-width: 1100px;
}

/* Responsive */
@media (max-width: 1024px) {
    .legal-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .legal-nav-sidebar {
        position: static;
        order: -1;
    }

    .legal-nav-card {
    display: none;
    }

    .legal-nav-card::before {
        display: none;
    }

    .legal-nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .legal-nav-link {
        padding: 0.5rem 1rem;
    }

    .legal-nav-link:hover {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .legal-header-section {
        padding: clamp(5rem, 8vh, 6rem) 1rem clamp(2rem, 4vh, 3rem);
    }

    .legal-section-card {
        padding: 1.5rem 1rem;
    }

    .legal-contact-grid {
        grid-template-columns: 1fr;
    }

    .legal-contact-address {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .legal-nav-links {
        flex-direction: column;
    }

    .legal-list {
        margin-left: 1rem;
    }

    .legal-list li {
        padding-left: 1rem;
    }
}
