/* ========================================================================= */
/* 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(60%);
            animation: none;
        }

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

        .a-propos-page .hero-background-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 20;
            background-image: url('assets/men-onyx-blue.jpg');
            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) 90%);
            z-index: 21;
            pointer-events: none;
        }

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



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

/* HÉROS */
.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;
    /*margin-top: -0.6rem;*/
}

.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;
}

@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;
    }
}

.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: 31vh;
    max-height: 69vh;
    overflow: hidden;
}

.hero-title {
    font-size: clamp(1.5rem, 6vw, 5.5rem);
    /* .hero-title {
  font-size: clamp(2rem, 7vw, 5rem);*/
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-onyx-primary-cyan);
    margin-bottom: clamp(1rem, 2vh, 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;
}

.mobile-br { display: none; }
.desktop-br { display: none; }
.mid-br { display: none; }

/* 606px-1254px: 2 lignes */
@media (min-width: 606px) and (max-width: 1254px) {
    .desktop-br { display: inline-block; }
}

/* 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; }
}

.hero-paragraph {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.4vw, 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;
    gap: 1rem;
    position: relative;
    z-index: 30;
    padding-top: 1rem;
    margin-bottom: clamp(0.5rem, 1vh, 1rem);
}

.text-gradient {
    background-image: linear-gradient(to bottom, var(--color-text-primary) 60%, 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;
}

        .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;
}

#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;
}

/* Container principal avec glassmorphism */
.scan-installation-page .container,
.scan-inventaire-page .container {
    width: 95%;
    max-width: 600px;
    background: rgba(19, 19, 19, 0.16);
    background-image: url('https://test17777.my.canva.site/maquette-onyx/_assets/media/ab5da960bc749c573c49e8b15e8d7213.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);
}

/* Titres */
.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: #09151a;
    transition: background-color 0.3s;
    list-style: none;
    font-size: 1.2rem;
}

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

.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-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: 0 auto;
}

.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-dark-accent {
    background-color: rgba(19, 19, 19, 0.2);
}

.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;
        }

        /* Specific styles for select elements */
        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);
            }
        }

        .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;
        }

        /* FIN STYLES FORMULAIRE DE CONTACT */

        /* ========================================================================= */

        /* ------------------------------------------------------------------------- */
        /* 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 Style (Contact label) */
        .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;
            }

        /* Animation fluide */
            @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;
                transform: translateY(0);
            }
        }

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

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-2px);
            }
            60% {
                transform: translateY(-1px);
            }
        }
        
        /* ------------------------------------------------------------------------- */
        /* SECTIONS DE 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: 0 auto;
        }

        .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-dark-accent {
            background-color: rgba(19, 19, 19, 0.2); 
        }
        
        .bg-contact-gradient {
            min-height: 50vh;
            background: linear-gradient(to top, rgb(28, 28, 28) 0%, rgb(50, 50, 50) 100%); 
        }
        
        .cta-section {
            padding: 5rem 1rem;
            text-align: center;
        }
        
        /* Navigation responsive & mobile menu moved to nav.css */

        /* Classes pour remplacer les styles inline */


        .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;
        }

        @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 Styles */
        .image-footer {
            text-align: center;
            margin: 3rem 0 1rem 0;
        }

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

        /* Footer Styles */
        .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; /* plus d'espace sous l'image */
            position: relative;
        }

        .footer-image {
            width: auto;
            height: auto;
            max-width: 60vw;
            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; /* empile sous l'image sans espace */
            z-index: 2;
            padding: 0; /* suppression padding */
            margin-top: 0; /* suppression margin */
            margin-bottom: 1.25rem; /* espace final sous le bloc footer */
        }

        @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 .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 */
        /* ========================================================================= */
        .hero-content-section {
            padding: 4rem 1rem;
            background-color: transparent;
        }

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

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

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

        .hero-content-middle {
            text-align: left;
        }

        .hero-content-middle .badge {
            margin-bottom: 1rem;
        }

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

        .hero-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;
        }

        .hero-content-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) {
            .hero-content-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .hero-content-middle {
                text-align: center;
            }

            .hero-controls {
                justify-content: center;
            }
        }

        /* ========================================================================= */
        /* CLIENT TESTIMONIALS SECTION STYLES */
        /* ========================================================================= */
        .client-testimonials {
            padding: 4rem 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: transparent;
        }

        .client-container {
            max-width: 60rem;
            margin: 0 auto;
            text-align: center;
            background-color: transparent;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 1rem;
            padding: 2rem;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            transition: transform 0.3s ease;
        }

        .client-container:hover {
            transform: scale(1.02);
        }

        .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;
        }

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

        .avantages-title {
            font-size: 1.875rem;
            font-weight: 700;
            color: var(--color-text-primary);
            margin-bottom: 3.5rem;
            text-align: center;
        }

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

        /* Configuration de base pour toutes les grilles */
        .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('https://test17777.my.canva.site/maquette-onyx/_assets/media/bf95e8b88b17d6811cf2c1df0fe9e1d4.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 90vh;
            }
        }

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

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

        /* Gauche : Titre et description */
        .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;
        }

        /* Droite : FAQ Accordéon AVEC GLASSMORPHISME */
        .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); /* Ligne verticale */
        }

        /* État "Ouvert" : transforme le + en x */
        .faq-item.open .faq-toggle::before {
            transform: translateY(-50%) rotate(45deg);
        }

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

        /* Contenu de la réponse */
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s ease-in-out; /* Transition plus longue pour le contenu */
            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; /* Ajuster la hauteur max pour garantir l'affichage */
        }

        /* Responsive : Sur mobile, grille en colonne */
        @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: 1.25rem;
            }
        }

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

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

        /* Scroll animation pricing section */
        #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-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(0);
        }

        #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);
        }

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

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

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

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

        @media (max-width: 1023px) {
            .pricing-grid {
                gap: 4rem;
            }
        }

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

        .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;
        }

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

        .pricing-card ul li::before {
            content: '';
            color: var(--color-onyx-primary-cyan);
            font-weight: bold;
            margin-right: 0.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.HTML
   ============================================ */

.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;
}

/* Media query pour mobile */
@media (max-width: 480px) {
    .scan-installation-page .container {
        width: 85%;
        max-width: 600px;
        background: rgba(19, 19, 19, 0.16);
        background-image: url('https://test17777.my.canva.site/maquette-onyx/_assets/media/ab5da960bc749c573c49e8b15e8d7213.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);
    }

    .scan-installation-page body {
        margin-left: 0px;
        margin-right: 0px;
    }

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

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

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

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

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

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

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

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