/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ffcc00; /* Jaune or, côté course/victoire */
    --text-color: #f2f2f2;
    --bg-dark: #222;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* En-tête */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: var(--bg-dark);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* Section Héro avec Canvas 3D */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 100px 20px 50px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

#canvas-container {
    width: 100%;
    height: 400px;
    margin: 30px 0;
    background: radial-gradient(circle, #333 0%, #111 100%);
    border-radius: 10px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
    position: relative;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 20px;
    max-width: 800px;
    margin-bottom: 40px;
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

.video-container {
    margin-top: 50px;
    width: 80%;
    max-width: 800px;
    aspect-ratio: 16/9;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Offres (Tunnel de Vente) */
.pricing {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--bg-dark);
}

.pricing h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: var(--primary-color);
    border: 1px solid #444;
    border-radius: 10px;
    padding: 40px 30px;
    width: 320px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.card.pro {
    border-color: var(--secondary-color);
    transform: scale(1.05);
    z-index: 10;
}

.card.pro::before {
    content: "Recommandé";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.card.pro:hover {
    transform: scale(1.05) translateY(-10px);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.card .price {
    font-size: 40px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.card .price span {
    font-size: 16px;
    color: #888;
}

.card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
    flex-grow: 1;
}

.card ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.buy-button {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    width: 100%;
}

.buy-button:hover, .card.pro .buy-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Pied de page */
footer {
    text-align: center;
    padding: 30px;
    background-color: #111;
    color: #888;
}

/* Réactivité */
@media (max-width: 1000px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    .card.pro {
        transform: scale(1);
    }
    .card.pro:hover {
        transform: translateY(-10px);
    }
    nav ul {
        gap: 15px;
    }
}
