:root {
    --bg-color: #282727;
    --text-color: #e0e0e0;
    --accent-color: #64dfdf;
    --secondary-color: #48bfe3;
    --tertiary-color: #5e60ce;
}

/* Base styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    perspective: 1000px;
    overflow-x: hidden;
}

/* Navigation styles */
.nav {
    background-color: rgb(22 22 58);
    padding: 1em;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
}

a{
    color: inherit; /* Utilise la couleur par défaut du texte */
    text-decoration: none; /* Enlève le soulignement */
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    justify-content: space-around
}

.nav button {
    background-color: transparent;
    border: none;
    color: var(--text-color);
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav button:hover {
    background-color: var(--secondary-color);
    color: var(--bg-color);
}

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

/* ----------------------------- */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.sub-dropdown {
    position: relative;
}

.sub-dropdown-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.sub-dropdown:hover .sub-dropdown-content {
    display: block;
}

.sub-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.sub-dropdown-content a:hover {
    background-color: #ddd;
}


/* Header styles */
.header {
    height: 100vh;
    min-height: 600px;
    background-color: #1a1a1a;
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(30, 30, 30, 0.8) 0%, rgba(18, 18, 18, 0.8) 100%),
        url('https://source.unsplash.com/random/1600x900?technology');
    background-size: cover;
    background-position: center;
    transform: translateZ(-1px) scale(2);
    z-index: -1;
}

.header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    z-index: 2;
}

.header-title {
    font-size: 6em;
    margin-bottom: 0.2em;
    font-family: 'Arial Black', sans-serif;
    text-transform: uppercase;
    color: var(--accent-color);
    text-shadow: 
        0 1px 0 #2a2a2a,
        0 2px 0 #252525,
        0 3px 0 #202020,
        0 4px 0 #1a1a1a,
        0 5px 0 #151515,
        0 6px 1px rgba(0,0,0,.1),
        0 0 5px rgba(0,0,0,.1),
        0 1px 3px rgba(0,0,0,.3),
        0 3px 5px rgba(0,0,0,.2),
        0 5px 10px rgba(0,0,0,.25),
        0 10px 10px rgba(0,0,0,.2),
        0 20px 20px rgba(0,0,0,.15);
    transition: all 0.5s ease, transform 0.2s ease;
}

.header-subtitle {
    font-size: 1.8em;
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    transition: all 0.5s ease, transform 0.2s ease;
}

.header-title .word,
.header-subtitle .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

@keyframes subtitleWave {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

.header-subtitle .word {
    animation: subtitleWave 2s ease-in-out infinite;
    animation-delay: calc(var(--word-index) * 0.2s);
}

/* Geometric shapes */
.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

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

.shape-1 {
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    background-color: #48bfe3;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-2 {
    top: 60%;
    right: 20%;
    width: 150px;
    height: 150px;
    background-color: #5e60ce;
    border-radius: 50%;
}

.shape-3 {
    bottom: 10%;
    left: 30%;
    width: 80px;
    height: 80px;
    background-color: #64dfdf;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator::before {
    content: '↓';
    color: #ffffff;
    font-size: 2em;
}

/* Main content styles */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2em;
    padding-top: 80px;
}

.section {
    margin-bottom: 4em;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    transition-delay: 0.2s;
}

.section.visible > * {
    opacity: 1;
    transform: translateY(0);
}

.section h2 {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 0.5em;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--tertiary-color);
    margin-top: 10px;
}

.section p {
    font-size: 1.1em;
}

/* Highlight section */
.highlight {
    background-color: var(--tertiary-color);
    color: var(--bg-color);
    padding: 3em 2em;
    text-align: center;
    margin: 3em 0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.highlight h2 {
    color: var(--bg-color);
}

.highlight h2::after {
    background-color: var(--bg-color);
}

/* Feature styles */
.feature {
    display: flex;
    align-items: center;
    margin-bottom: 2em;
}

.feature-icon {
    flex: 0 0 100px;
    height: 100px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2em;
    color: var(--bg-color);
    font-size: 2em;
}

.feature-content {
    flex: 1;
}

/* Grid and card styles */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.card {
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 200px;
    background-color: #bdc3c7;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 1.5em;
}

/* Testimonial section */
.testimonial {
    background-color: var(--tertiary-color);
    color: var(--bg-color);
    padding: 3em 2em;
    border-radius: 10px;
    margin-top: 3em;
    text-align: center;
    overflow: hidden;
}

.carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 100%;
    padding: 0.8em;
}

.carousel-slide blockquote {
    font-size: 1.1em;
    font-style: italic;
    margin-bottom: 0.8em;
    line-height: 1.4;
}

.carousel-slide .author {
    font-weight: bold;
    font-size: 0.9em;
}

.carousel-nav {
    margin-top: 1.5em;
}

.carousel-nav button {
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    color: var(--bg-color);
    font-size: 1.3em;
    padding: 0.4em 0.8em;
    cursor: pointer;
    margin: 0 0.5em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.carousel-nav button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* CTA section */
.cta {
    background-color: var(--secondary-color);
    color: var(--bg-color);
    padding: 3em 2em;
    text-align: center;
    margin: 3em 0;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.cta h2 {
    color: var(--bg-color);
    font-size: 2.5em;
    margin-bottom: 0.5em;
    position: relative;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(20deg) rotateY(5deg);
}

.cta h2::before,
.cta h2::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    background: var(--secondary-color);
}

.cta h2::before {
    transform: translateZ(-5px);
    color: var(--accent-color);
}

.cta h2::after {
    transform: translateZ(-10px);
    color: var(--tertiary-color);
}

.cta p {
    margin-bottom: 1.5em;
}

.cta-button {
    display: inline-block;
    background-color: var(--bg-color);
    color: var(--secondary-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    background-color: var(--text-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: var(--text-color);
    text-align: center;
    padding: 2em;
    margin-top: 3em;
}

/* Innovation section */
.innovation-section {
    padding: 4em 0;
}

.innovation-content {
    display: flex;
    align-items: center;
    gap: 2em;
}

.innovation-text {
    flex: 1;
}

.innovation-image {
    flex: 1;
    height: 400px;
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.innovation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

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

@keyframes colorShift {
    0% { color: var(--accent-color); }
    50% { color: var(--secondary-color); }
    100% { color: var(--accent-color); }
}

/* Responsive design */


/* ... (code précédent) ... */

/* Responsive design */
    @media (max-width: 768px) {
    /* ... (règles précédentes) ... */

    .carousel-nav button {
        font-size: 1.1em;
        padding: 0.3em 0.6em;
    }

    .innovation-content {
        flex-direction: column;
    }

    .innovation-image {
        width: 100%;
        height: 300px;
    }

    .feature {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin-right: 0;
        margin-bottom: 1em;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print styles */
@media print {
    .nav,
    .header,
    .cta,
    .carousel-nav,
    .scroll-indicator {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    .content {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    a {
        text-decoration: underline;
        color: #000;
    }

    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    .card,
    .feature,
    .section {
        page-break-inside: avoid;
    }
}

/* ici */
.highlight,
.testimonial,
.cta {
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    margin: 3em 0;
    padding: 3em 2em;
    border-radius: 10px;
    text-align: center;
}

.highlight:hover,
.testimonial:hover,
.cta:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.highlight > *,
.testimonial > *,
.cta > * {
    transition: transform 0.5s ease;
}

.highlight:hover > *,
.testimonial:hover > *,
.cta:hover > * {
    transform: translateZ(30px);
}

/* Styles spécifiques pour chaque section */
.highlight {
    background-color: var(--tertiary-color);
    color: var(--bg-color);
}

.highlight h2 {
    color: var(--bg-color);
}

.highlight h2::after {
    background-color: var(--bg-color);
}

.testimonial {
    background-color: var(--tertiary-color);
    color: var(--bg-color);
}

.cta {
    background-color: var(--secondary-color);
    color: var(--bg-color);
}

.cta h2 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    position: relative;
}

.cta h2::before,
.cta h2::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
}

.cta h2::before {
    transform: translateZ(-5px);
    color: var(--accent-color);
}

.cta h2::after {
    transform: translateZ(-10px);
    color: var(--tertiary-color);
}

.cta-button {
    display: inline-block;
    background-color: var(--bg-color);
    color: var(--secondary-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    background-color: var(--text-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


/* ---------------------- */
