:root {
    --primary-color: #c9a063; 
    --primary-hover: #b08d53; 
    --bg-base: #0a0a0a; 
    --bg-alt: #131313; 
    --card-bg: rgba(30, 30, 30, 0.6); 
    --text-light: #fdfdfd;
    --text-muted: #aaaaaa;
    
    --radius-large: 20px; 
    --radius-medium: 12px; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-light);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
}

body::before, body::after {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}
body::before { background: var(--primary-color); top: -10%; left: -10%; }
body::after { background: #ffffff; bottom: 20%; right: -10%; opacity: 0.05; }

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Navigation */
header { position: fixed; top: 0; width: 100%; padding: 25px 50px; display: flex; justify-content: space-between; align-items: center; z-index: 1000; transition: all 0.4s ease; }
header.scrolled { background: rgba(10, 10, 10, 0.95); padding: 15px 50px; backdrop-filter: blur(15px); border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.logo { font-size: 22px; font-weight: 700; color: var(--text-light); text-decoration: none; letter-spacing: 2px; text-transform: uppercase; z-index: 1002; }
.logo span { color: var(--primary-color); }
nav ul { list-style: none; display: flex; gap: 30px; align-items: center; }
nav ul li a { color: var(--text-light); text-decoration: none; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; transition: color 0.3s ease; }
nav ul li a:hover { color: var(--primary-color); }
.nav-contact { border: 1px solid var(--primary-color); padding: 8px 20px; border-radius: 20px; color: var(--primary-color) !important; }
.nav-contact:hover { background: var(--primary-color); color: #000 !important; }

/* Menu Burger (caché sur ordi) */
.menu-toggle { display: none; flex-direction: column; cursor: pointer; gap: 6px; z-index: 1002; }
.menu-toggle .bar { width: 30px; height: 2px; background-color: var(--text-light); transition: all 0.3s ease; }

/* HERO */
#hero { height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 20px; position: relative; overflow: hidden; }
.video-bg { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translateX(-50%) translateY(-50%); z-index: 0; object-fit: cover; }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 10, 10, 0.65); z-index: 1; }
.hero-content, .scroll-down { z-index: 2; position: relative; }
#hero h1 { font-size: 3.5rem; font-weight: 700; letter-spacing: 4px; margin-bottom: 10px; }
#hero h2 { font-size: 1.3rem; font-weight: 400; color: var(--primary-color); margin-bottom: 30px; letter-spacing: 2px; text-transform: uppercase; }
#hero p { font-size: 1.1rem; max-width: 600px; margin: 0 auto 40px; color: #ddd; }
.btn { padding: 15px 40px; background-color: var(--primary-color); color: #000; text-decoration: none; font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; border-radius: 30px; transition: all 0.3s ease; border: 2px solid var(--primary-color); display: inline-block; }
.btn:hover { background-color: transparent; color: var(--primary-color); transform: translateY(-3px); }
.scroll-down { position: absolute; bottom: 40px; display: flex; flex-direction: column; align-items: center; gap: 10px; animation: bounce 2s infinite; }
.scroll-down p { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: #ccc; }
.scroll-down a { color: var(--primary-color); font-size: 1.5rem; text-decoration: none; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }
                          
/* SECTIONS */
section { padding: 100px 10%; position: relative; z-index: 2; }
.section-dark { background-color: transparent; }
.section-alt { background-color: var(--bg-alt); }
.section-divider { position: absolute; top: 0; left: 10%; width: 80%; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,160,99,0.3), transparent); }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 60px; text-transform: uppercase; letter-spacing: 3px; }
.section-title::after { content: ''; display: block; width: 50px; height: 2px; background: var(--primary-color); margin: 15px auto 0; }

.about-container { display: flex; align-items: center; gap: 50px; max-width: 1000px; margin: 0 auto; background: var(--card-bg); padding: 40px; border-radius: var(--radius-large); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.05); }
.about-image { flex: 1; height: 350px; background: #222 url('https://images.unsplash.com/photo-1579848529525-4c6e9389e023?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover; border-radius: var(--radius-medium); }
.about-text { flex: 1; }
.about-text h3 { color: var(--primary-color); font-size: 1.5rem; margin-bottom: 20px; }
.about-text p { color: var(--text-light); margin-bottom: 15px; font-weight: 300; font-size: 1rem; }

.portfolio-grid, .services-container, .socials-grid { display: grid; gap: 30px; }
.portfolio-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.services-container { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.socials-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); max-width: 900px; margin: 0 auto; }

.video-card, .service-box, .social-card { background: var(--card-bg); border-radius: var(--radius-medium); border: 1px solid rgba(255,255,255,0.05); transition: all 0.3s ease; backdrop-filter: blur(5px); }
.video-card:hover, .service-box:hover, .social-card:hover { transform: translateY(-8px); border-color: rgba(201,160,99,0.4); }

.video-placeholder { height: 220px; background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; color: #777; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; border-radius: var(--radius-medium) var(--radius-medium) 0 0; }
.video-info { padding: 25px; }
.video-info h3, .service-box h3 { color: var(--primary-color); margin-bottom: 10px; font-size: 1.1rem; }
.video-info p, .social-card p { font-size: 0.9rem; color: var(--text-muted); }

.service-box { padding: 40px 30px; text-align: center; }
.service-box p { color: var(--text-light); font-weight: 300; font-size: 0.95rem; }

.social-card { padding: 30px 15px; text-align: center; text-decoration: none; }
.social-card h3 { color: var(--text-light); font-size: 1.2rem; margin-bottom: 8px; transition: color 0.3s; }
.social-card:hover h3 { color: var(--primary-color); }

form { max-width: 700px; margin: 0 auto; background: var(--card-bg); padding: 40px; border-radius: var(--radius-large); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.05); }
.full-width { grid-column: 1 / -1; }
input, select, textarea { width: 100%; padding: 15px; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); color: var(--text-light); border-radius: var(--radius-medium); font-size: 0.95rem; transition: all 0.3s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary-color); background: rgba(0,0,0,0.8); }
button { padding: 18px; background-color: var(--primary-color); color: #000; border: none; font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; border-radius: 30px; cursor: pointer; transition: all 0.3s ease; }
button:hover { background-color: var(--primary-hover); transform: translateY(-2px); }
#form-status { text-align: center; font-weight: 600; margin-top: 10px; display: none; }
.status-success { color: #4ade80; }
.status-error { color: #f87171; }

#scrollTopBtn { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background-color: var(--primary-color); color: #000; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; font-weight: bold; text-decoration: none; z-index: 999; opacity: 0; visibility: hidden; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
#scrollTopBtn.visible { opacity: 1; visibility: visible; }
#scrollTopBtn:hover { background-color: var(--primary-hover); transform: translateY(-5px); }

/* FOOTER */
footer { background: #030303; padding: 50px 10% 20px; border-top: 1px solid rgba(255,255,255,0.05); position: relative; z-index: 2; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 30px; }
.footer-col { flex: 1; min-width: 200px; }
.footer-col h4 { color: var(--text-light); font-size: 1.1rem; margin-bottom: 20px; letter-spacing: 1px; text-transform: uppercase; }
.footer-col p, .footer-col ul li { color: var(--text-muted); font-size: 0.9rem; font-weight: 300; list-style: none; margin-bottom: 10px; }
.contact-link { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.contact-link:hover { color: var(--primary-color); }

.footer-legal { border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 20px 0; margin: 20px 0; text-align: center; }
.legal-info p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 5px; }
.legal-links { margin-top: 15px; }
.legal-links a { color: var(--primary-color); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.legal-links a:hover { color: var(--primary-hover); text-decoration: underline; }
.legal-links .separator { color: #444; margin: 0 15px; }
.footer-bottom { text-align: center; color: #555; font-size: 0.8rem; padding-top: 10px; }

/* ==========================================================
   LES RÈGLES RESPONSIVE (POUR MOBILES ET TABLETTES)
   ========================================================== */

/* Tablettes (max 1024px) */
@media (max-width: 1024px) {
    section { padding: 80px 5%; }
    .about-container { gap: 30px; flex-direction: column; text-align: center; }
    .about-image { width: 100%; }
}

/* Smartphones (max 768px) */
@media (max-width: 768px) {
    header { padding: 15px 20px; background: rgba(10,10,10,0.95); }
    .menu-toggle { display: flex; } 
    nav ul { 
        position: absolute; top: 100%; left: 0; width: 100%; 
        background: rgba(10,10,10,0.98); flex-direction: column; 
        padding: 20px 0; transform: translateY(-150%); opacity: 0; 
        transition: all 0.4s ease; border-bottom: 1px solid rgba(255,255,255,0.1); 
    }
    nav ul.active { transform: translateY(0); opacity: 1; }
    nav ul li { margin: 15px 0; }
    
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    #hero h1 { font-size: 2.2rem; letter-spacing: 2px; }
    #hero h2 { font-size: 1rem; }
    #hero p { font-size: 1rem; }
    
    section { padding: 60px 5%; }
    .section-title { font-size: 1.6rem; margin-bottom: 40px; }
    
    form { grid-template-columns: 1fr; padding: 25px; }
    
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
    .legal-links .separator { display: none; }
    .legal-links a { display: block; margin-bottom: 10px; }
    
    #scrollTopBtn { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 1.2rem; }
}