/* ================= VARIABLES & RESET ================= */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,400;0,700;0,900;1,700&family=Roboto:wght@300;400;700&display=swap');

:root {
    --primary: #ff0000;      /* Rouge Sport */
    --primary-dark: #cc0000;
    --eco: #00e676;          /* Vert */
    --e85: #2979ff;          /* Bleu */
    --fap: #ffd700;          /* Jaune */
    --orange: #ff9800;       /* Orange */
    --dark: #0a0a0a;         /* Noir profond */
    --grey: #161616;         /* Gris cartes */
    --light: #f4f4f4;
    --text-dim: #b3b3b3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .btn-main, .btn-nav, .price, .slogan-full, .nav-links a, .btn-card, .btn-submit {
    font-family: 'Exo 2', sans-serif;
    letter-spacing: 1px;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.red { color: var(--primary); }
.blue { color: var(--e85); }
.orange { color: var(--orange); }
.container { width: 90%; max-width: 1200px; margin: auto; padding: 0 20px; }
.italic { font-style: italic; }

/* ================= STYLE DU BOUTON PRINCIPAL ================= */
.btn-main {
    background-color: var(--primary);
    color: white;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
}
.btn-main:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ================= NAVIGATION ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background-color: rgba(10, 10, 10, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
    backdrop-filter: blur(10px);
    height: 90px;
}

.logo-container { display: flex; align-items: center; height: 100%; text-decoration: none; }

.logo-img {
    height: 85px !important; 
    width: auto !important;
    max-width: 100%;
    border-radius: 6px;
    margin-right: 15px;
    transition: all 0.4s ease;
    animation: electricGlow 2s infinite alternate;
}
.logo-img:hover { 
    transform: scale(1.05); 
    animation: none;
    filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.9));
}

.slogan-box { display: flex; flex-direction: column; justify-content: center; }
.slogan-full { font-weight: 700; font-size: 0.9rem; line-height: 1.2; color: white; }
.slogan-mobile { font-size: 0.8rem; color: var(--primary); font-weight: 400; }

.nav-links { display: flex; }
.nav-links li { margin-left: 30px; }
.nav-links a { font-weight: 700; font-size: 0.9rem; text-transform: uppercase; }
.nav-links a:hover { color: var(--primary); }

.btn-nav { background-color: var(--primary); padding: 10px 20px; border-radius: 4px; color: white !important; font-weight: 700; }
.btn-nav:hover { background-color: var(--primary-dark); }

/* ================= HERO SECTION ================= */
.hero {
    height: 100vh;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.9)), url('tupasses.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 80px;
}
.hero h1 { font-size: 3.2rem; line-height: 1.2; margin-bottom: 20px; text-transform: uppercase; font-weight: 900; }
.hero p { font-size: 1.3rem; margin-bottom: 30px; color: #ddd; }

/* ================= CONCEPT & ABOUT (IMAGE DE FOND) ================= */
section { padding: 80px 0; }
h2 { text-align: center; font-size: 2.5rem; margin-bottom: 50px; text-transform: uppercase; position: relative; padding-bottom: 20px; font-weight: 900; }
h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background-color: var(--primary); }

.concept { background-color: var(--grey); text-align: center; }
.tech-wrapper { margin: 30px auto; max-width: 800px; }
.tech-img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.6); border: 1px solid #333; filter: brightness(0.9) contrast(1.1); }
.features { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 40px; }
.feature-box { background: var(--dark); padding: 40px 30px; border-radius: 8px; flex: 1 1 300px; border-top: 3px solid var(--primary); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.feature-box h3 { font-size: 1.4rem; margin-bottom: 15px; font-weight: 700; }

.about-section {
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.9)), url('tupasses.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
}
.about-content-box {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 50px;
    border-radius: 10px;
    border-left: 5px solid var(--primary);
    max-width: 800px;
    margin: auto;
    backdrop-filter: blur(5px);
}
.about-content-box p { margin-bottom: 20px; color: #ddd; font-size: 1.1rem; }
.about-list { list-style: none; margin-top: 20px; }
.about-list li { margin-bottom: 15px; font-size: 1rem; color: white; }
.about-list i { margin-right: 10px; font-size: 1.1rem; }

/* ================= PACKS & BOUTONS ================= */
.services-section { background-color: var(--dark); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.card { background-color: var(--grey); padding: 30px; border-radius: 8px; transition: 0.3s; border: 1px solid #222; position: relative; cursor: pointer; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 5px 20px rgba(255,0,0,0.2); }

.card h3 { font-size: 1.4rem; margin-bottom: 5px; text-transform: uppercase; font-weight: 800; color: white;}
.card .price { font-size: 1.4rem; color: var(--primary); font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 0.95rem; flex-grow: 1; margin-bottom: 20px; }

/* Styles Boutons "Voir Détails" */
.btn-card {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary);
    color: white;
    text-align: center;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: 0.3s;
    margin-top: auto;
}
.card:hover .btn-card { transform: scale(1.05); }

/* Couleurs Spécifiques Packs */
.card-e85 .price { color: var(--e85) !important; }
.card-e85 .btn-blue { background-color: var(--e85); }
.card-e85:hover { border-color: var(--e85); box-shadow: 0 5px 20px rgba(41, 121, 255, 0.2); }

.card-eco .price { color: var(--eco) !important; }
.card-eco .btn-green { background-color: var(--eco); }
.card-eco:hover { border-color: var(--eco); box-shadow: 0 5px 20px rgba(0, 230, 118, 0.2); }

.card-fap .price { color: var(--fap) !important; }
.card-fap .btn-yellow { background-color: var(--fap); color: black; }
.card-fap:hover { border-color: var(--fap); box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2); }

/* DIAGNOSTIC : FORCE ORANGE */
.card-diag .price { color: var(--orange) !important; }
.btn-orange { background-color: var(--orange) !important; color: white !important; }
.card-diag:hover { border-color: var(--orange) !important; box-shadow: 0 5px 20px rgba(255, 152, 0, 0.2) !important; }

/* BOUTON BLANC RETOUR ORIGINE */
.btn-white { background-color: #ffffff; color: #000000; }
.btn-white-modal { background-color: #ffffff !important; color: #000000 !important; border: none !important; }
.btn-white-modal:hover { background-color: #dcdcdc !important; }
.card:hover .btn-white { background-color: #e0e0e0; transform: scale(1.05); box-shadow: 0 0 15px rgba(255, 255, 255, 0.4); }

.badge-promo { position: absolute; top: 15px; right: 15px; background-color: var(--primary); color: white; font-size: 0.7rem; font-weight: bold; padding: 5px 10px; border-radius: 20px; animation: pulse 2s infinite; font-family: 'Roboto', sans-serif;}
.highlight-card { border: 1px solid #4CAF50; }

/* ================= MODALES (POP-UPS) ================= */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.modal-content { background-color: var(--grey); border: 1px solid #333; width: 90%; max-width: 600px; padding: 30px; border-radius: 10px; position: relative; text-align: center; box-shadow: 0 0 30px rgba(255,0,0,0.2); animation: zoomIn 0.3s ease; max-height: 90vh; overflow-y: auto; }
.modal-content h2 { font-size: 1.8rem; margin-bottom: 20px; font-weight: 700; }
.modal-img { width: 100%; height: 250px; object-fit: cover; border-radius: 5px; margin-bottom: 20px; border: 1px solid #333; display: block; }
.modal-list { text-align: left; margin: 20px 0; padding-left: 10px; }
.modal-list li { margin-bottom: 10px; color: #ddd; list-style: none; }
.close { position: absolute; top: 10px; right: 20px; color: #aaa; font-size: 28px; font-weight: bold; cursor: pointer; }
.close:hover { color: white; }

/* Bouton Large dans la Modale */
.btn-full-modal { width: 100%; box-sizing: border-box; margin-top: 20px; display: block; text-align: center;}
.btn-orange-modal { background-color: var(--orange) !important; border: none !important; }

/* ================= TABLEAU GAINS ================= */
.gains-section { background-color: var(--grey); }
.table-responsive { overflow-x: auto; border-radius: 8px; }
.gains-table { width: 100%; border-collapse: collapse; min-width: 600px; background-color: var(--dark); }
.gains-table th, .gains-table td { padding: 15px; text-align: left; border-bottom: 1px solid #222; }
.gains-table th { background-color: var(--primary); color: white; text-transform: uppercase; font-size: 0.85rem; font-family: 'Exo 2', sans-serif;}

/* ================= FAQ ================= */
.faq-section { background-color: var(--dark); }
.faq-grid { display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-start; }
.faq-col { flex: 1 1 300px; }
.faq-item { background: var(--grey); padding: 15px 20px; margin-bottom: 15px; border-radius: 6px; border-left: 3px solid var(--primary); }
.faq-item h4 { margin-bottom: 5px; color: white; font-family: 'Exo 2', sans-serif; font-weight: 700; }

/* ================= CONTACT & FOOTER ================= */
footer { background-color: black; padding: 60px 0 30px 0; border-top: 5px solid var(--primary); }
.contact-grid { display: flex; flex-wrap: wrap; gap: 50px; justify-content: space-between; }
.contact-infos { flex: 1 1 300px; }
.contact-infos h2 { font-size: 2rem; margin-bottom: 20px; }
.info-block p { margin: 15px 0; font-size: 1.1rem; color: #ddd; }
.legal-links { margin-top: 40px; border-top: 1px solid #333; padding-top: 20px; font-size: 0.8rem; color: #555; }

/* Réseaux Sociaux */
.social-icons { display: flex; gap: 15px; }
.social-icon { 
    width: 50px; height: 50px; 
    border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 1.5rem; color: white; 
    transition: 0.3s; 
    text-decoration: none; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.insta { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%) !important; }
.whatsapp { background: #25D366 !important; }
.social-icon:hover { transform: translateY(-3px); filter: brightness(1.2); }

/* Formulaire */
.contact-form-box { 
    flex: 1 1 400px; 
    background-color: var(--grey); 
    padding: 30px; 
    border-radius: 10px; 
    border: 1px solid #333; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.contact-form-box h3 { margin-bottom: 20px; text-align: center; color: white; }
.form-group { margin-bottom: 15px; }
input, select, textarea { width: 100%; padding: 12px; background-color: var(--dark); border: 1px solid #333; color: white; border-radius: 5px; font-family: 'Roboto', sans-serif; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); }
.full-width { width: 100%; cursor: pointer; border: none; font-size: 1rem; }

/* Bouton Vert Formulaire */
.btn-submit {
    background-color: var(--eco);
    color: black;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.4);
    transition: 0.3s;
    border: none; cursor: pointer; width: 100%;
}
.btn-submit:hover { background-color: #00b35c; transform: translateY(-2px); }

/* MOBILE */
.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 3px; background-color: white; margin: 5px; transition: 0.3s; }
@media screen and (max-width: 768px) {
    .navbar { height: 80px; padding: 0 15px; }
    .logo-img { height: 55px !important; margin-right: 10px; }
    .slogan-full { font-size: 0.7rem; }
    .nav-links { position: absolute; right: 0; height: 100vh; top: 0; background-color: var(--dark); display: flex; flex-direction: column; align-items: center; justify-content: center; width: 80%; transform: translateX(100%); transition: 0.4s ease-in-out; border-left: 1px solid #333; }
    .nav-links li { margin: 20px 0; }
    .burger { display: block; z-index: 1001; position: relative; }
    .nav-active { transform: translateX(0%); }
    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); background-color: var(--primary); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); background-color: var(--primary); }
    .hero h1 { font-size: 2rem; }
    .about-content-box { padding: 20px; }
    .contact-grid { flex-direction: column; }
}

@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes zoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes electricGlow {
    from { filter: drop-shadow(0 0 2px rgba(255, 0, 0, 0.4)); }
    to { filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.8)); }
}