/*
 * Colin6969 — feuille de style générale
 * Version reconstruite à partir du CSS fourni.
 * Les styles de contact sont isolés dans assets/css/contact.css.
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    min-height: 100%;
    background: #050505;
    color: #fff;
    overflow-x: hidden;
}

.background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .6;
}

.glow-one {
    width: 500px;
    height: 500px;
    background: #ff0050;
    top: -150px;
    left: -150px;
    animation: move1 10s infinite alternate;
}

.glow-two {
    width: 500px;
    height: 500px;
    background: #25F4EE;
    bottom: -150px;
    right: -150px;
    animation: move2 12s infinite alternate;
}

@keyframes move1 {
    from { transform: translate(0); }
    to { transform: translate(150px, 100px); }
}

@keyframes move2 {
    from { transform: translate(0); }
    to { transform: translate(-150px, -100px); }
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 0 30px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    z-index: 999;
    box-shadow: 0 0 30px rgba(0,0,0,.5);
}

.logo {
    flex: 0 0 auto;
    font-size: 30px;
    font-weight: 900;
    text-decoration: none;
    background: linear-gradient(90deg, #25F4EE, white, #ff0050);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.menu {
    display: flex;
    gap: 10px;
    align-items: center;
}

.menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 15px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    white-space: nowrap;
    transition: .3s;
}

.menu a:hover,
.menu .active {
    background: linear-gradient(90deg, #ff0050, #ff3d8a);
    transform: translateY(-3px);
    box-shadow: 0 0 20px #ff005080;
}

.tiktok { background: linear-gradient(90deg, #25F4EE, #ff0050); }

.hamburger {
    display: none;
    border: 0;
    color: white;
    background: transparent;
    font-size: 30px;
    cursor: pointer;
}

/* HERO */
.hero {
    min-height: 100vh;
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding-top: 100px;
}

.hero-text { max-width: 650px; }

.badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    margin-bottom: 30px;
}

.hero h1 { font-size: 80px; font-weight: 900; }

.hero h1 span {
    background: linear-gradient(90deg, #25F4EE, #ff0050);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero h2 { margin-top: 20px; font-size: 30px; color: #25F4EE; }

.hero p {
    margin-top: 25px;
    font-size: 20px;
    line-height: 1.8;
    color: #ddd;
}

.buttons { display: flex; gap: 20px; margin-top: 40px; }

.btn {
    display: inline-block;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    background: linear-gradient(90deg, #ff0050, #ff3d8a);
    transition: .3s;
}

.btn:hover { transform: translateY(-5px); box-shadow: 0 0 30px #ff005080; }

.btn.second { background: linear-gradient(90deg, #25F4EE, #008cff); }

.hero-logo img {
    width: 320px;
    filter: drop-shadow(0 0 30px #ff0050);
    animation: floating 4s infinite alternate;
}

@keyframes floating {
    from { transform: translateY(0); }
    to { transform: translateY(-25px); }
}

/* CLOCK */
.clock-box {
    width: max-content;
    max-width: calc(100% - 24px);
    margin: 50px auto;
    padding: 20px 40px;
    border-radius: 50px;
    background: rgba(255,255,255,.08);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    font-size: 25px;
    color: #25F4EE;
}

/* SERVICES */
.services {
    width: 90%;
    margin: 100px auto;
    text-align: center;
}

.services h2,
.news h2 {
    margin-bottom: 50px;
    font-size: 45px;
    background: linear-gradient(90deg, #25F4EE, #ff0050);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    padding: 35px;
    background: rgba(255,255,255,.07);
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,.1);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    transition: .4s;
}

.card:hover { transform: translateY(-15px); box-shadow: 0 0 40px rgba(255,0,80,.3); }

.card i { margin-bottom: 25px; font-size: 50px; color: #25F4EE; }
.card h3 { margin-bottom: 15px; font-size: 28px; }
.card p { color: #ccc; line-height: 1.6; }

.card a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    border-radius: 30px;
    color: white;
    background: #ff0050;
    text-decoration: none;
}

/* STATISTIQUES */
.stats {
    width: 90%;
    margin: 100px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    padding: 35px;
    text-align: center;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 25px;
}

.stat-card i { font-size: 40px; color: #ff0050; }
.stat-card h3 { margin: 20px 0; font-size: 50px; color: #25F4EE; }

/* ABOUT */
.about { width: 90%; margin: 100px auto; }

.about-box {
    padding: 50px;
    text-align: center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 30px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.about-box p { margin-top: 20px; color: #ddd; font-size: 18px; line-height: 1.8; }

/* NEWS */
.news { width: 90%; margin: 100px auto; text-align: center; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.news-card {
    padding: 35px;
    background: rgba(255,255,255,.07);
    border-radius: 25px;
    transition: .3s;
}

.news-card:hover { transform: scale(1.05); }
.news-icon { margin-bottom: 20px; font-size: 45px; }
.news-card p { margin-top: 15px; color: #ccc; }

/* VISITEURS */
.visitor { display: flex; justify-content: center; margin: 80px auto; }

.visitor-box {
    padding: 30px 60px;
    background: rgba(255,255,255,.08);
    border-radius: 30px;
    text-align: center;
    font-size: 20px;
}

.visitor-box i { margin-bottom: 15px; font-size: 40px; color: #25F4EE; }
.visitor-box strong { display: block; font-size: 45px; color: #ff0050; }

/* FOOTER */
footer {
    margin-top: 100px;
    padding: 50px 20px;
    background: rgba(0,0,0,.5);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.1);
}

.footer-content h2 {
    font-size: 35px;
    background: linear-gradient(90deg, #25F4EE, #ff0050);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 30px 0;
}

.socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ff0050;
    color: white;
    font-size: 22px;
    text-decoration: none;
    transition: .3s;
}

.socials a:hover { transform: translateY(-8px); box-shadow: 0 0 20px #ff0050; }
.copyright { color: #aaa; font-size: 14px; }

/* BOUTON HAUT */
#topButton {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    display: none;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    color: white;
    background: #ff0050;
    font-size: 22px;
    cursor: pointer;
    transition: .3s;
}

#topButton:hover { transform: scale(1.1); }

/* ANIMATIONS D'APPARITION */
.card,
.stat-card,
.news-card,
.about-box {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s ease, transform .7s ease;
}

.show { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
    .navbar { width: 95%; }
    .menu {
        position: absolute;
        top: 80px;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 250px;
        padding: 20px;
        border-radius: 20px;
        background: #111;
    }
    .menu.active { display: flex; }
    .hamburger { display: block; }
    .hero { flex-direction: column; text-align: center; }
    .hero h1 { font-size: 55px; }
    .hero h2 { font-size: 22px; }
    .hero-logo img { width: 220px; }
    .buttons { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 500px) {
    .hero h1 { font-size: 42px; }
    .services h2, .news h2 { font-size: 35px; }
    .card { padding: 25px; }
    .clock-box { padding: 16px 24px; font-size: 20px; }
    .visitor-box { padding: 25px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
