/* unique2.css - Style TikTok */
:root {
    /* Colors TikTok-inspired */
    --primary-color: #FE2C55;        /* TikTok Red/Pink - Main brand color */
    --secondary-color: #25F4EE;      /* TikTok Cyan - Accent color for CTAs, highlights */
    --accent-color: #000000;         /* Black - For text and main backgrounds */
    --text-color: #FFFFFF;           /* White - For text on dark backgrounds */
    --dark-bg: #111111;              /* Near Black Background - For sections, footer */
    --light-gray-tiktok: #222222;    /* Dark Gray for subtle elements */

    /* Typography */
    --font-family: 'Montserrat', sans-serif; /* Modern, clean font */
    --heading-font-size: 2.8em;      /* Base size for main headings (h1, h2) */
    --subheading-font-size: 1.8em;   /* Base size for sub-headings (h3) */
    --body-font-size: 1.1em;         /* Base size for paragraph text */

    /* Spacing */
    --spacing-sm: 15px;              /* Small spacing */
    --spacing-md: 30px;              /* Medium spacing */
    --spacing-lg: 60px;              /* Large spacing */
    --section-padding: 80px 20px;    /* Default padding for main sections (top/bottom, left/right) */

    /* Borders & Shadows */
    --border-radius: 8px;            /* Standard border radius for rounded corners */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.3);      /* Darker shadow for contrast */
    --shadow-medium: 0 5px 20px rgba(0, 0, 0, 0.5);     /* More prominent shadow */
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.7);      /* Very dark shadow for depth */

    /* Transitions */
    --transition-speed: 0.3s ease-in-out; /* Standard transition duration and timing function */
}

/* --- Variables CSS pour une palette moderne (TikTok) --- */
:root {
    --primary-color: #FE2C55;   /* TikTok Red/Pink */
    --secondary-color: #005351; /* TikTok Cyan */
    --accent-color: #000000;    /* Black */
    --text-dark: #FFFFFF;       /* White text on dark backgrounds */
    --text-light: #111111;      /* Dark text for contrast elements (less common in TikTok style) */
    --bg-light: #000000;        /* Main background should be dark */
    --bg-dark: #111111;         /* Darker background for sections */
    --gray-light: #333333;      /* Dark gray for subtle elements */
    --gray-medium: #555555;     /* Medium dark gray */
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.4);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.6);
    --border-radius-soft: 8px;
    --transition-speed: 0.3s ease-in-out;
}

/* --- Styles Généraux du Corps --- */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark); /* Default text color is white/light */
    background-color: var(--bg-light); /* Default background is dark */
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

a {
    text-decoration: none;
    color: var(--secondary-color); /* Links in bright cyan */
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--primary-color); /* Hover in red/pink */
}

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

.section-container {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--bg-dark); /* Dark background for sections */
    color: var(--text-dark);
}

.section-container:nth-of-type(even) {
    background-color: var(--light-gray-tiktok); /* Alternating slightly lighter dark background */
}

.section-title {
    font-size: 2.8em;
    margin-bottom: 40px;
    color: var(--text-dark); /* Section titles are white */
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    text-shadow: 2px 2px var(--primary-color), -2px -2px var(--secondary-color); /* Glitchy text shadow */
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color); /* Cyan underline */
    border-radius: 2px;
}

/* --- Préchargeur (Preloader) --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark); /* Dark background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader {
    display: flex;
    gap: 10px;
}

.dot {
    width: 15px;
    height: 15px;
    background-color: var(--secondary-color); /* Cyan dot */
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
    box-shadow: 0 0 8px rgba(37, 244, 238, 0.7); /* Glow effect */
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }
.dot:nth-child(3) { animation-delay: 0s; }
.dot:nth-child(4) { animation-delay: 0.16s; }
.dot:nth-child(5) { animation-delay: 0.32s; }

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        background-color: var(--secondary-color);
        box-shadow: 0 0 8px rgba(37, 244, 238, 0.7);
    }
    40% {
        transform: scale(1.0);
        background-color: var(--primary-color);
        box-shadow: 0 0 15px rgba(254, 44, 85, 0.9);
    }
}

.countdown-timer {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.progress-ring {
    transform: rotate(-90deg); /* Start from top */
}

.progress-ring-track,
.progress-ring-bar {
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s linear;
}

.progress-ring-track {
    stroke: var(--gray-medium);
}

.progress-ring-bar {
    stroke: var(--secondary-color); /* Cyan progress bar */
}

#countdown-text {
    position: absolute;
    color: var(--text-dark); /* White text */
    font-size: 2.5em;
    font-weight: 600;
}

/* --- En-tête (Header) --- */
.main-header {
    background: rgba(0, 0, 0, 0.9); /* Darker, slightly transparent header */
    padding: 10px 0;
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color var(--transition-speed);
}

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

.logo img {
    max-height: 60px;
    filter: drop-shadow(2px 2px 0px var(--primary-color)) drop-shadow(-2px -2px 0px var(--secondary-color)); /* Glitch effect for logo */
    transition: transform var(--transition-speed), filter var(--transition-speed);
}

.logo img:hover {
    transform: scale(1.05);
    filter: none; /* Remove glitch on hover */
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-nav ul li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-dark); /* White text for navigation */
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color); /* Cyan underline */
    transform: translateX(-100%);
    transition: transform var(--transition-speed);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    transform: translateX(0%);
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.8em;
    color: var(--text-dark); /* White toggle icon */
    cursor: pointer;
    display: none;
    transition: color var(--transition-speed);
}

.menu-toggle:hover {
    color: var(--primary-color); /* Hover in red/pink */
}

/* --- Section Héro (Product Showcase) --- */
.hero-product-showcase {
    background: linear-gradient(135deg, var(--bg-dark), var(--accent-color)); /* Dark to black gradient */
    padding: 120px 20px 60px; /* Adjusted padding for fixed header */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh; /* Ensure it takes a good portion of the viewport */
    overflow: hidden;
    color: var(--text-dark);
}

.hero-content {
    max-width: 800px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards ease-out;
}

.hero-content h1 {
    font-size: 3.8em;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--text-dark); /* White heading */
    font-weight: 700;
    text-shadow: 4px 4px var(--primary-color), -4px -4px var(--secondary-color); /* More pronounced glitch effect */
}

.hero-content p {
    font-size: 1.5em;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.button {
    display: inline-block;
    padding: 14px 30px;
    background-color: var(--secondary-color); /* Cyan button */
    color: var(--text-light); /* Dark text on button for contrast */
    text-decoration: none;
    border-radius: var(--border-radius-soft);
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(37, 244, 238, 0.4); /* Cyan glow */
    transition: transform var(--transition-speed), background-color var(--transition-speed), box-shadow var(--transition-speed);
}

.button:hover {
    background-color: var(--primary-color); /* Hover to red/pink */
    color: var(--text-dark); /* White text on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(254, 44, 85, 0.6); /* Red/pink glow on hover */
}

/* --- Slideshow d'Images Héro (Carrousel) --- */
.hero-image-slideshow {
    width: 100%;
    max-width: 900px;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-soft);
    box-shadow: var(--shadow-medium);
    margin-top: 40px;
    max-height: 400px;
}

.slides-container {
    display: flex;
    transition: transform 0.8s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: var(--border-radius-soft);
    object-fit: cover;
    filter: brightness(0.8); /* Slightly dim images for better text contrast */
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Darker, more opaque caption */
    color: var(--text-dark); /* White text */
    padding: 15px;
    font-size: 1.1em;
    text-align: center;
    border-bottom-left-radius: var(--border-radius-soft);
    border-bottom-right-radius: var(--border-radius-soft);
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
}

.slide:hover .slide-caption {
    transform: translateY(0);
}

.tiktok-link {
    color: var(--secondary-color); /* Cyan link */
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-speed);
}

.tiktok-link:hover {
    color: var(--primary-color); /* Hover to red/pink */
}

.tiktok-link i {
    font-size: 1.2em;
}

/* --- Modal d'Image --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95); /* Nearly black overlay */
    backdrop-filter: blur(8px); /* Stronger blur effect */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: var(--border-radius-soft);
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
    box-shadow: var(--shadow-dark); /* Darker shadow for modal */
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--secondary-color); /* Cyan close button */
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: color var(--transition-speed), transform var(--transition-speed);
}

.modal-close:hover,
.modal-close:focus {
    color: var(--primary-color); /* Hover to red/pink */
    transform: rotate(90deg);
}

/* --- Section Héro (Challenge Intro) --- */
.hero-challenge-intro {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--dark-bg) 100%); /* Black gradient */
    color: var(--text-dark); /* White text */
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
}

.hero-challenge-intro h1 {
    font-size: 4em;
    margin-bottom: 15px;
    text-shadow: 4px 4px var(--primary-color), -4px -4px var(--secondary-color); /* Glitch effect for heading */
    animation: slideInUp 1s forwards ease-out;
    opacity: 0;
}

.hero-challenge-intro .subtitle {
    font-size: 1.8em;
    margin-bottom: 40px;
    animation: fadeIn 1.5s forwards ease-out 0.5s;
    opacity: 0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1.5s forwards ease-out 0.8s;
    opacity: 0;
}

.cta-buttons .btn {
    display: inline-block;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed), background-color var(--transition-speed);
}

.cta-buttons .primary {
    background-color: var(--secondary-color); /* Cyan primary button */
    color: var(--text-light); /* Dark text on button */
    box-shadow: 0 8px 20px rgba(37, 244, 238, 0.5); /* Cyan glow */
}

.cta-buttons .primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(37, 244, 238, 0.7);
    background-color: var(--primary-color); /* Hover to red/pink */
    color: var(--text-dark);
}

.cta-buttons .secondary {
    background-color: transparent;
    color: var(--text-dark); /* White text for secondary */
    border: 2px solid var(--text-dark); /* White border */
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.cta-buttons .secondary:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 25px rgba(255, 255, 255, 0.4);
}

/* Animation des ondes sonores */
.hero-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.sound-wave {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform-origin: bottom center;
    animation: waveAnimation 5s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wave-1 { animation-delay: 0s; height: 70px; background: rgba(254, 44, 85, 0.3); } /* Red/Pink wave */
.wave-2 { animation-delay: 0.5s; height: 80px; background: rgba(37, 244, 238, 0.3); } /* Cyan wave */
.wave-3 { animation-delay: 1s; height: 90px; background: rgba(254, 44, 85, 0.2); }
.wave-4 { animation-delay: 1.5s; height: 100px; background: rgba(37, 244, 238, 0.2); }
.wave-5 { animation-delay: 2s; height: 90px; background: rgba(254, 44, 85, 0.3); }
.wave-6 { animation-delay: 2.5s; height: 70px; background: rgba(37, 244, 238, 0.3); }

@keyframes waveAnimation {
    0%, 100% { transform: scaleY(0.7); opacity: 0.7; }
    50% { transform: scaleY(1.3); opacity: 1; }
}

/* --- Section À Propos (About Us) --- */
.about-section {
    padding: 80px 20px;
    background-color: var(--bg-dark); /* Dark background */
    text-align: left;
    color: var(--text-dark);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-content .brand-name {
    color: var(--primary-color); /* Red/Pink brand name */
    font-weight: 700;
}

.about-content .highlight {
    color: var(--secondary-color); /* Cyan highlight */
    font-weight: 600;
}

.about-content .challenge-name {
    font-weight: 600;
    color: var(--primary-color); /* Red/Pink challenge name */
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    list-style: none;
    padding: 0;
}

.feature-item {
    background-color: var(--light-gray-tiktok); /* Slightly lighter dark background for cards */
    padding: 25px;
    border-radius: var(--border-radius-soft);
    box-shadow: var(--shadow-light);
    text-align: center;
    font-weight: 600;
    color: var(--text-dark); /* White text */
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    background-color: rgba(37, 244, 238, 0.1); /* Subtle cyan tint on hover */
}

.cta-button {
    display: inline-block;
    margin-top: 40px;
    padding: 15px 30px;
    background-color: var(--primary-color); /* Red/Pink button */
    color: var(--text-dark); /* White text */
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 6px 15px rgba(254, 44, 85, 0.4);
    transition: transform var(--transition-speed), background-color var(--transition-speed), box-shadow var(--transition-speed);
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: var(--secondary-color); /* Hover to cyan */
    box-shadow: 0 8px 20px rgba(37, 244, 238, 0.5);
}

/* --- Section Types de Challenges --- */
.challenge-types-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--dark-bg)); /* Black gradient */
    color: var(--text-dark);
}

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

.challenge-division {
    background-color: var(--light-gray-tiktok); /* Slightly lighter dark background for cards */
    padding: 30px;
    border-radius: var(--border-radius-soft);
    box-shadow: var(--shadow-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.challenge-division:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-medium);
    background-color: rgba(254, 44, 85, 0.1); /* Subtle red/pink tint on hover */
}

.challenge-division h3 {
    font-size: 1.8em;
    color: var(--primary-color); /* Red/Pink heading */
    margin-bottom: 15px;
}

.challenge-division p {
    color: var(--text-dark);
    margin-bottom: 25px;
}

.challenge-button {
    background-color: var(--secondary-color); /* Cyan button */
    color: var(--text-light); /* Dark text on button */
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
    width: fit-content;
    max-width: 90%;
    margin-top: auto;
    box-shadow: 0 4px 10px rgba(37, 244, 238, 0.3);
}

.challenge-button:hover {
    background-color: var(--primary-color); /* Hover to red/pink */
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(254, 44, 85, 0.5);
}

.youtube-iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    margin-top: 25px;
    border-radius: var(--border-radius-soft);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); /* Darker shadow */
}

.youtube-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: var(--border-radius-soft);
}

/* --- Section Avantages du Challenge (Benefits) --- */
#challenge-benefits {
    padding: 80px 20px;
    background-color: var(--bg-dark); /* Dark background */
    color: var(--text-dark);
}

#challenge-benefits h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-dark); /* White heading */
    text-shadow: 2px 2px var(--primary-color), -2px -2px var(--secondary-color); /* Glitchy text shadow */
}

#challenge-benefits .intro-text,
#challenge-benefits .conclusion-text {
    max-width: 900px;
    margin: 0 auto 40px;
    font-size: 1.2em;
    color: var(--text-dark);
    line-height: 1.8;
}

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

.benefit-card {
    background-color: var(--light-gray-tiktok); /* Slightly lighter dark background for cards */
    padding: 30px;
    border-radius: var(--border-radius-soft);
    box-shadow: var(--shadow-light);
    text-align: left;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    background-color: rgba(37, 244, 238, 0.1); /* Subtle cyan tint on hover */
}

.benefit-card h3 {
    font-size: 1.6em;
    color: var(--primary-color); /* Red/Pink heading */
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-card h3 i {
    font-size: 1.2em;
    color: var(--secondary-color); /* Cyan icon */
}

.benefit-card p {
    color: var(--text-dark);
    font-size: 1.05em;
}

/* --- Section Info Challenge --- */
#challenge-info {
    padding: 80px 20px;
    background-color: var(--light-gray-tiktok); /* Slightly lighter dark background */
    color: var(--text-dark);
}

#challenge-info p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-dark);
}

.links-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); /* Red/Pink to Cyan gradient */
    color: var(--text-dark); /* White text */
    border-radius: var(--border-radius-soft);
    box-shadow: var(--shadow-medium);
    transition: transform var(--transition-speed), background var(--transition-speed);
    min-width: 280px;
    max-width: 400px;
    text-align: center;
}

.grid-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color)); /* Reverse gradient on hover */
}

.grid-item i {
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 2px 2px var(--accent-color), -2px -2px var(--text-dark); /* Subtle shadow for icons */
}

.grid-item span {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 5px;
}

.grid-item small {
    font-size: 0.9em;
    opacity: 0.8;
}

/* --- Section Comment ça Marche ? (How It Works) --- */
#how-it-works {
    padding: 80px 20px;
    background-color: var(--bg-dark); /* Dark background */
    color: var(--text-dark);
}

#how-it-works .instruction {
    font-size: 1.2em;
    max-width: 800px;
    margin: 40px auto 0;
    color: var(--text-dark);
    line-height: 1.8;
}

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

.step-item {
    background-color: var(--light-gray-tiktok); /* Slightly lighter dark background for cards */
    padding: 30px;
    border-radius: var(--border-radius-soft);
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    background-color: rgba(254, 44, 85, 0.1); /* Subtle red/pink tint on hover */
}

.step-icon {
    font-size: 3.5em;
    color: var(--secondary-color); /* Cyan icon */
    margin-bottom: 20px;
    animation: bounceIn 1s ease-out; /* Simple bounce animation */
}

.step-item h3 {
    font-size: 1.8em;
    color: var(--primary-color); /* Red/Pink heading */
    margin-bottom: 15px;
}

.step-item p {
    color: var(--text-dark);
}

/* --- Témoignages (Testimonials) - Si activé --- */
#testimonials {
    padding: 80px 20px;
    background-color: var(--light-gray-tiktok); /* Slightly lighter dark background */
    position: relative;
    overflow: hidden;
    display: none; /* Keep hidden as per HTML, but styled if enabled */
    color: var(--text-dark);
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin-top: 40px;
    position: relative;
    width: 100%;
}

.testimonial-item {
    flex: 0 0 100%;
    background-color: var(--bg-dark); /* Dark background for testimonial cards */
    padding: 30px;
    border-radius: var(--border-radius-soft);
    box-shadow: var(--shadow-light);
    text-align: center;
    margin: 0 15px;
    transition: transform 0.5s ease;
}

.testimonial-item p {
    font-size: 1.2em;
    font-style: italic;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.testimonial-item span {
    font-weight: 600;
    color: var(--primary-color); /* Red/Pink name */
    font-size: 1.1em;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6); /* Darker buttons */
    color: var(--secondary-color); /* Cyan arrows */
    border: none;
    padding: 10px 15px;
    font-size: 1.5em;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
    color: var(--primary-color); /* Hover to red/pink */
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* --- Pied de page (Footer) --- */
#footer {
    background-color: var(--accent-color); /* Black footer */
    color: var(--text-dark); /* White text */
    padding: 50px 20px;
    text-align: center;
    border-top: 5px solid var(--primary-color); /* Red/Pink top border */
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
}

.footer-contact-text {
    font-size: 1.2em;
    margin-bottom: 25px;
    font-weight: 600;
    color: var(--secondary-color); /* Cyan contact text */
}

.social-links {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-links a {
    color: var(--text-dark); /* White social icons */
    font-size: 2em;
    transition: color var(--transition-speed), transform var(--transition-speed);
}

.social-links a:hover {
    color: var(--secondary-color); /* Hover to cyan */
    transform: translateY(-5px) scale(1.1);
}

.copyright-text {
    font-size: 0.9em;
    color: var(--gray-medium);
}

/* --- Animations Cléframe --- */
/* (Animations remain largely the same, as they are generic enough) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes bounceIn {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }
    60% {
        transform: scale(1.05);
        opacity: 1;
    }
    80% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* --- Media Queries pour la Réactivité --- */
@media (max-width: 992px) {
    .hero-product-showcase {
        padding-top: 100px;
    }

    .hero-content h1 {
        font-size: 3em;
    }

    .hero-challenge-intro h1 {
        font-size: 3.2em;
    }

    .hero-challenge-intro .subtitle {
        font-size: 1.4em;
    }

    .benefits-grid,
    .challenge-container,
    .steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: rgba(0, 0, 0, 0.98); /* Dark background for mobile nav */
        box-shadow: var(--shadow-medium);
        padding-bottom: 10px;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav ul li a {
        padding: 15px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--gray-medium); /* Darker border */
    }
    .main-nav ul li:last-child a {
        border-bottom: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-product-showcase {
        padding: 100px 15px 40px;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .hero-image-slideshow {
        max-height: 300px;
    }

    .hero-challenge-intro {
        padding: 80px 15px;
        margin-top: 15px;
    }

    .hero-challenge-intro h1 {
        font-size: 2.5em;
    }

    .hero-challenge-intro .subtitle {
        font-size: 1.2em;
    }

    .cta-buttons .btn {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    .section-title {
        font-size: 2.2em;
    }

    .about-content p,
    #challenge-benefits .intro-text,
    #challenge-benefits .conclusion-text,
    #challenge-info p,
    #how-it-works .instruction {
        font-size: 1em;
    }

    .feature-item,
    .benefit-card,
    .step-item,
    .challenge-division {
        padding: 20px;
    }

    .grid-item {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2em;
    }

    .hero-challenge-intro h1 {
        font-size: 2em;
    }

    .hero-challenge-intro .subtitle {
        font-size: 1em;
    }

    .hero-image-slideshow {
        max-height: 250px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-buttons .btn {
        width: 80%;
        margin: 0 auto;
    }

    .section-title {
        font-size: 1.8em;
        text-shadow: 2px 2px var(--primary-color), -2px -2px var(--secondary-color); /* Smaller glitch for small screens */
    }

    .feature-item,
    .benefit-card,
    .step-item,
    .challenge-division {
        font-size: 0.9em;
    }

    .step-icon {
        font-size: 2.8em;
    }

    .social-links a {
        font-size: 1.8em;
    }
}