@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;600;800;900&display=swap');

:root {
  --rouge:     #E50914; 
  --rouge-dark:#8B0000;
  --or:        #F5C518; 
  --or-dark:   #C9A96E;
  --creme:     #E8D5A3;
  --noir:      #0A0A0A;
  --noir-alt:  #141414;
  --fond:      #FFFFFF;
  --fond-alt:  #F4F5F7;
  --texte:     #2D2D2D;
  --texte-muted: #6B7280;
  --texte-light: #E0E0E0;
  --radius:    16px;
  --shadow:    0 10px 40px rgba(0,0,0,0.08);
  --glow-rouge: 0 0 25px rgba(229, 9, 20, 0.4);
  --glow-or:    0 0 25px rgba(245, 197, 24, 0.3);
  --glass-bg:   rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', sans-serif;
    color: var(--texte);
    background-color: var(--fond-alt);
    line-height: 1.6;
    display: flex; flex-direction: column; min-height: 100vh;
    overflow-x: hidden;
}

/* Custom Webkit Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--noir);
}
::-webkit-scrollbar-thumb {
    background: var(--rouge);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--or);
}
h1, h2, h3, h4, .outfit-font { font-family: 'Outfit', sans-serif; color: var(--noir); line-height: 1.2; margin-bottom: 1rem; }
a { color: var(--rouge); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--rouge-dark); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 3rem; }

/* Gradients text */
.gradient-text { background: linear-gradient(135deg, #FFF, #CCC); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gradient-text-gold { background: linear-gradient(135deg, var(--or), var(--or-dark)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Header */
.site-header {
    background: rgba(10, 10, 10, 0.85); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border); position: sticky; top: 0; z-index: 100;
}
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; }
.logo img { height: 40px; border-radius: 0; }
.main-nav ul { list-style: none; display: flex; gap: 30px; }
.main-nav a { 
    color: var(--texte-light); font-weight: 500; font-family: 'Outfit', sans-serif;
    text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; position: relative;
}
.main-nav a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0%; height: 2px;
    background: var(--rouge); transition: 0.3s ease; box-shadow: var(--glow-rouge);
}
.main-nav a:hover::after { width: 100%; }

.progress-container { width: 100%; height: 3px; background: transparent; position: absolute; bottom: 0; left: 0; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--rouge), var(--or)); width: 0%; box-shadow: var(--glow-or); }

.burger-menu { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
.burger-menu span { display: block; width: 30px; height: 3px; background-color: var(--fond); transition: 0.4s; border-radius: 2px; }

/* Futuristic Hero */
.futuristic-hero {
    position: relative; background-color: var(--noir); padding: 140px 0 100px; text-align: center; color: var(--fond);
    overflow: hidden; border-bottom: 1px solid var(--glass-border);
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(229, 9, 20, 0.15) 0%, transparent 60%); pointer-events: none;
}
.cyber-grid {
    position: absolute; top: 0; left: 0; width: 100%; height: 200%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px; transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    pointer-events: none; animation: moveGrid 15s linear infinite;
}
@keyframes moveGrid {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(40px) translateZ(-200px); }
}
.neon-badge {
    display: inline-block; padding: 6px 15px; border-radius: 30px; background: rgba(245, 197, 24, 0.1); border: 1px solid var(--or);
    color: var(--or); font-family: 'Outfit', sans-serif; font-size: 0.8rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 25px; box-shadow: var(--glow-or);
}
.futuristic-hero h1 { font-size: 4.5rem; font-weight: 900; letter-spacing: -1px; margin-bottom: 25px; }

/* Buttons */
.futuristic-btn {
    position: relative; display: inline-flex; justify-content: center; align-items: center;
    padding: 16px 35px; background: linear-gradient(135deg, var(--rouge), #990000); color: var(--fond); border-radius: 8px; font-family: 'Outfit', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; border: none; cursor: pointer; overflow: hidden; z-index: 1; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}
.futuristic-btn:hover { transform: translateY(-5px); box-shadow: var(--glow-rouge); color: #fff; }
.futuristic-btn-alt { background: transparent; border: 2px solid var(--or); color: var(--or); box-shadow: none; }
.futuristic-btn-alt:hover { background: var(--or); color: var(--noir); box-shadow: var(--glow-or); }
.hero-cta { display: flex; gap: 20px; justify-content: center; margin-top: 40px; }
.btn-small { padding: 12px 25px; font-size: 0.85rem; }

/* Cards & Grid */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 30px; margin-top: 40px; }
.card {
    background: var(--fond); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: all 0.4s ease; border: 1px solid rgba(0,0,0,0.03); position: relative; top: 0;
}
.card:hover { transform: translateY(-12px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); border-color: rgba(229, 9, 20, 0.2); }
.card-img { height: 220px; object-fit: cover; width: 100%; transition: transform 0.6s ease; border-radius: 0; }
.card:hover .card-img { transform: scale(1.05); }
.card-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; background: var(--fond); position: relative; z-index: 2; }
.card-meta { font-size: 0.85rem; color: var(--rouge); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.card-title { font-size: 1.4rem; margin-bottom: 15px; font-weight: 800; }
.card-title a { color: var(--noir); background-image: linear-gradient(var(--rouge), var(--rouge)); background-size: 0% 2px; background-repeat: no-repeat; background-position: left bottom; transition: background-size 0.3s ease; }
.card-title a:hover { color: var(--noir); background-size: 100% 2px; }
.card-desc { font-size: 1rem; color: var(--texte-muted); flex-grow: 1; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; margin: 40px 0; }
.cat-card { background: var(--noir); padding: 30px; border-radius: var(--radius); text-align: center; border: 1px solid rgba(255,255,255,0.05); transition: all 0.3s ease; color: var(--fond); }
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--glow-or); border-color: rgba(245, 197, 24, 0.3); }

/* Newsletter */
.futuristic-newsletter { background: var(--noir); color: var(--fond); padding: 80px 20px; position: relative; overflow: hidden; border-top: 1px solid var(--glass-border); text-align: center; }
.cyber-grid-alt { position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at center, rgba(245, 197, 24, 0.08) 0%, transparent 50%); pointer-events: none; }
.glass-panel { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 40px; box-shadow: 0 20px 50px rgba(0,0,0,0.3); max-width: 600px; margin: 0 auto; }
.form-group-flex { display: flex; gap: 15px; margin-bottom: 20px; }
.form-group-flex input { flex-grow: 1; padding: 15px 20px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); background: rgba(0,0,0,0.3); color: var(--fond); font-family: 'Inter', sans-serif; font-size: 1rem; transition: all 0.3s; }
.form-group-flex input:focus { outline: none; border-color: var(--or); box-shadow: 0 0 10px rgba(245, 197, 24, 0.2); }
.cyber-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--texte-light); cursor: pointer; text-align:left; line-height: 1.3; }
.cyber-checkbox input { display: none; }
.checkmark { width: 18px; height: 18px; border: 1px solid var(--glass-border); border-radius: 4px; display: inline-block; position: relative; transition: 0.3s; flex-shrink:0; margin-top: 2px;}
.cyber-checkbox input:checked ~ .checkmark { background: var(--or); border-color: var(--or); box-shadow: 0 0 10px rgba(245, 197, 24, 0.5); }
.cyber-checkbox input:checked ~ .checkmark::after { content: ''; position: absolute; left: 6px; top: 2px; width: 4px; height: 8px; border: solid var(--noir); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Footer */
.site-footer { background-color: var(--noir); color: var(--fond); margin-top: 60px; border-top: 1px solid #222; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 50px; padding: 60px 20px; }
.footer-col h3 { color: var(--fond); font-size: 1.2rem; margin-bottom: 25px; opacity: 0.9; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: var(--texte-light); font-size: 0.95rem; }
.footer-col a:hover { color: var(--or); padding-left: 5px; }
.footer-logo img { height: 50px; margin-bottom: 25px; filter: drop-shadow(0 0 5px rgba(255,255,255,0.1)); border-radius: 0; }
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a { padding: 8px 15px; border: 1px solid var(--glass-border); border-radius: 8px; transition: 0.3s; }
.social-links a:hover { background: var(--or); color: var(--noir); border-color: var(--or); padding-left: 15px; }
.footer-bottom { background-color: #050505; padding: 25px 0; text-align: center; border-top: 1px solid #1a1a1a; }
.footer-bottom .container { display: flex; flex-direction: column; align-items: center; gap: 15px; color: #777; font-size: 0.85rem; }
.legal-links { display: flex; gap: 25px; list-style: none; }

/* Cookie Banner */
.cookie-banner {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 800px; padding: 25px; z-index: 9999;
    display: flex; justify-content: space-between; align-items: center; gap: 20px; background: rgba(10, 10, 10, 0.95); border: 1px solid var(--or);
}
.cookie-content { color: var(--texte-light); font-size: 0.9rem; flex-grow: 1; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Article & Pages */
.futuristic-header { background: var(--noir); color: var(--fond); padding: 80px 0 60px; text-align: center; border-bottom: 1px solid var(--or); }
.futuristic-header h1 { color: var(--fond); font-size: 3rem; }
.article-header { text-align: center; padding: 80px 0 40px; background-color: var(--fond); }
.article-header h1 { font-size: 2.8rem; font-weight: 900; }
.article-meta { color: var(--texte-muted); font-size: 1rem; margin-top: 20px; text-transform: uppercase; letter-spacing: 1px; font-weight: 500;}
.article-content { max-width: 800px; margin: 40px auto; font-size: 1.15rem; color: #333; line-height: 1.8; }
.article-content h2 { margin-top: 50px; color: var(--noir); font-size: 2rem; font-weight: 800; border-bottom: 2px solid var(--rouge); display: inline-block; padding-bottom: 5px; }
.points-cles { background: linear-gradient(135deg, rgba(245, 197, 24, 0.1), rgba(229, 9, 20, 0.05)); padding: 35px; border-radius: var(--radius); border-left: 4px solid var(--or); margin: 40px 0; }
.points-cles h3 { color: var(--noir); font-size: 1.5rem; margin-bottom: 15px; }
.search-input { width: 100%; max-width: 600px; padding: 18px 25px; border-radius: 30px; border: 1px solid #ddd; font-family: 'Outfit'; font-size: 1.1rem; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.search-input:focus { outline: none; border-color: var(--rouge); box-shadow: var(--glow-rouge); }
.ad-wrapper { margin: 40px 0; text-align: center; background: #eee; padding: 30px; border-radius: var(--radius); border: 1px dashed #ccc; font-family: 'Outfit'; color: #888; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 2px; }

/* Breadcrumb */
.breadcrumb { padding-bottom: 25px; font-size: 0.9rem; color: var(--texte-muted); font-weight: 500; }
.breadcrumb a { color: var(--rouge); }

@media (max-width: 768px) {
    .futuristic-hero h1 { font-size: 2.5rem; }
    .form-group-flex { flex-direction: column; }
    .cookie-banner { flex-direction: column; text-align: center; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(15px); padding: 30px; border-bottom: 1px solid var(--glass-border); }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; gap: 20px; align-items: center; }
    .burger-menu { display: flex; }
    .hero-cta { flex-direction: column; }
}
