* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: #000;
    color: #e5e7eb;
}

/* ================= NAVBAR ================= */
.navbar {
    position: sticky;
    top: 0;
    background: #020617;
    border-bottom: 1px solid #1f2933;
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    z-index: 1000;
}

.navbar a {
    color: #e5e7eb;
    text-decoration: none;
    opacity: 0.6;
    padding-bottom: 6px;
    position: relative;
}

.navbar a:hover {
    opacity: 1;
}

/* Petite barre sous le lien actif */
.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #38bdf8;
    transition: width 0.3s ease;
}

.navbar a.active {
    opacity: 1;
}

.navbar a.active::after {
    width: 100%;
}

/* ================= MAIN ================= */
main {
    max-width: 900px;
    margin: auto;
    padding: 30px 15px;
}

.section {
    margin-bottom: 60px;
}

/* ================= CARDS ================= */
.card {
    background: #020617;
    border: 1px solid #1f2933;
    border-radius: 14px;
    padding: 20px;
    margin: 20px 0;
}

/* ================= LIENS ================= */
.red-link {
    color: #e60000;
    font-weight: 600;
    text-decoration: none;
}

.red-link:hover {
    text-decoration: underline;
}

/* ================= YOUTUBE ================= */
.yt-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.yt-card {
    background: #000;
    border: 1px solid #1f2933;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.yt-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #ff0000;
    margin-bottom: 4px;
}

.yt-label {
    display: block;
    font-size: 13px;
    opacity: 0.7;
}

.yt-layout {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
}

.yt-mockup {
    width: 180px;
    height: 320px;
    border-radius: 28px;
    background: #000;
    border: 2px solid #1f2933;
    padding: 10px;
}

.yt-screen {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(180deg, #111827, #020617);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ff0000;
    font-weight: 600;
}

/* ================= BARS ================= */
.progress {
    background: #1f2933;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: linear-gradient(90deg, #ff0000, #ff4d4d);
}

.fill-90 { width: 90%; }
.fill-80 { width: 80%; }
.fill-95 { width: 95%; }

/* ================= FORM ================= */
.contact-section {
    max-width: 700px;
    margin: auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

input,
textarea {
    background: #020617;
    border: 1px solid #1f2933;
    color: #e5e7eb;
    padding: 10px;
    border-radius: 8px;
}

button {
    padding: 12px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

button:hover {
    opacity: 0.9;
}

/* ================= FOOTER ================= */
.footer {
    text-align: center;
    padding: 20px 10px;
    border-top: 1px solid #1f2933;
    font-size: 13px;
    opacity: 0.7;
}

/* ================= SCROLL REVEAL ================= */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}
