/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0d0d0d;
    color: #fff;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 999;
    animation: slideIn 1s ease-out;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5em;
    color: #ff0055;
}

.nav a {
    text-decoration: none;
    color: #fff;
    background: transparent;
    border: 2px solid #ff0055;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav a:hover {
    background: #ff0055;
    color: #fff;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 120px;
    background-image: url('../images/backgrounds.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    animation: fadeInBackground 3s ease-out forwards;

    /* AJOUTE CECI : */
    overflow: hidden;
}

@keyframes fadeInBackground {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards 0.5s;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #bbb;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards 1s;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards 1.5s;
}

.btn-primary {
    background: linear-gradient(135deg, #ff0055, #ff7b00);
    border: none;
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255,0,85,0.4);
}

/* Particules Animation */
.background-animation span {
    position: absolute;
    display: block;
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 85, 0.3);
    animation: particleAnimation 25s linear infinite;
    bottom: -150px;
    border-radius: 50%;
}

.background-animation span:nth-child(1) {
    left: 10%;
    width: 80px;
    height: 80px;
    animation-duration: 20s;
}
.background-animation span:nth-child(2) {
    left: 30%;
    width: 40px;
    height: 40px;
    animation-duration: 25s;
}
.background-animation span:nth-child(3) {
    left: 50%;
    width: 70px;
    height: 70px;
    animation-duration: 30s;
}
.background-animation span:nth-child(4) {
    left: 70%;
    width: 50px;
    height: 50px;
    animation-duration: 18s;
}

@keyframes particleAnimation {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

/* Effets et Animations */
@keyframes slideIn {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.battlebox-section {
    background-color: #111;
    color: #fff;
    padding: 80px 20px;
}

.battlebox-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.battlebox-image-wrapper {
    flex: 1 1 400px;
    text-align: center;
}

.battlebox-image {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(255, 0, 85, 0.2);
}

.battlebox-text {
    flex: 1 1 400px;
    text-align: left;
}

.battlebox-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #ff0055;
}

.battlebox-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ccc;
}

.btn.btn-secondary {
    background: linear-gradient(135deg, #ff0055, #ff7b00);
    color: white;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.btn.btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(255, 0, 85, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .battlebox-grid {
        flex-direction: column;
        text-align: center;
    }

    .battlebox-text {
        text-align: center;
    }
}
.tiktok-link {
    color: #ff0055;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tiktok-link:hover {
    color: #e6004c;
    text-decoration: underline;
}
.join-agency-section {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

.join-agency-content {
    max-width: 800px;
    margin: 0 auto;
}

.join-agency-section h2 {
    font-size: 2.2rem;
    color: #ff0055;
    margin-bottom: 20px;
}

.join-agency-section p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 30px;
}

.btn-outline {
    background: transparent;
    color: #ff0055;
    border: 2px solid #ff0055;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #ff0055;
    color: #fff;
}
/* Section Rejoindre l'agence */
.join-agency-section {
    background-color: #0f0f0f;
    padding: 80px 20px;
    color: #fff;
}

.join-agency-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.agency-image-wrapper {
    flex: 1 1 400px;
    text-align: center;
}

.agency-image {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(255, 0, 85, 0.2);
}

.agency-text {
    flex: 1 1 400px;
    text-align: left;
}

.agency-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #ff0055;
}

.agency-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ccc;
}

@media (max-width: 768px) {
    .join-agency-grid {
        flex-direction: column;
        text-align: center;
    }

    .agency-text {
        text-align: center;
    }
}


/* ANIMATION D'INTRO */
#intro-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000; /* Couleur de fond d'intro */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
    animation: fadeOut 1s ease 2.5s forwards;
}

.logo-container {
    text-align: center;
    animation: scaleUp 1s ease;
}

.intro-logo {
    width: 100px;
    height: 100px;
    animation: rotateGlow 2s infinite linear;
    filter: drop-shadow(0 0 20px #00f2ea) drop-shadow(0 0 30px #ff0050);
}

.intro-text {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
    font-family: 'Poppins', sans-serif;
    animation: fadeIn 2s ease;
}

/* Animations */
@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
        filter: drop-shadow(0 0 10px #ff0050);
    }
    50% {
        filter: drop-shadow(0 0 25px #00f2ea);
    }
    100% {
        transform: rotate(360deg);
        filter: drop-shadow(0 0 10px #ff0050);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
