* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(255, 255, 255, 0.2); /* Fond très transparent */
    backdrop-filter: blur(10px); /* Effet de flou plus prononcé */
    -webkit-backdrop-filter: blur(10px); /* Pour Safari */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Bordure subtile */
}

/* Classe pour cacher la navbar lors du scroll vers le bas */
.navbar-hidden {
    transform: translateY(-100%);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: black;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.nav-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin: 0 48px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Adjust spacing for right items */
.nav-left {
    margin-right: 8rem;
}

.nav-right {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: 400;
    transition: color 0.3s ease;

}

.nav-links a:hover {
    color: #9345FE;
}

.download-btn {
    background-color: #000;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #9345FE;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(147, 69, 254, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: black;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Animation de la croix */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background-color: white;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background-color: white;
}

/* Hide social links by default */
.social-links {
    display: none;
}

.desktop-only {
    display: block;
}

.mobile-download-btn {
    display: none;
}

.contact-btn {
    background-color: black;
    color: white;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none; /* Ajout pour enlever le soulignement des liens */
    display: inline-block; /* Ajout pour que le padding fonctionne correctement */
    transition: all 0.3s ease;
    text-align: center;
}

.contact-btn:hover {
    background-color: #9345FE;
    border-color: #9345FE;
}

.mobile-contact {
    display: none;
}

@media screen and (max-width: 768px) {
    .nav-container {
        margin: 0;
    }

    .nav-links {
        flex-direction: column;
    }

    /* Reset margins for mobile view */
    .nav-left, .nav-right {
        margin: 0;
    }

    .nav-container {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #9747FF;
        padding: 80px 32px;
        z-index: 100;
    }

    .nav-container.active {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        margin-right: 0;
    }

    .nav-links li {
        text-align: left;
        margin-bottom: 20px;
    }

    .nav-links a {
        color: white;
        font-size: 28px;
        font-weight: 700;
    }

    .nav-links a:hover {
        color: rgba(255, 255, 255, 0.8);
    }

    .menu-toggle {
        position: relative;
        z-index: 101;
        display: flex;
    }

    .menu-toggle.active span {
        background-color: white;
    }

    .download-btn {
        display: none;
    }

    /* Show social links only in mobile menu */
    .social-links {
        display: flex;
        position: fixed;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
        gap: 24px;
    }

    .social-links a {
        width: 52px;
        height: 52px;
        border: 2px solid white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .social-links img {
        width: 28px;
        height: 28px;
        filter: brightness(0) invert(1);
    }

    .social-links a:hover {
        transform: scale(1.1);
        background-color: rgba(255, 255, 255, 0.1);
    }

    .desktop-only {
        display: none;
    }

    .mobile-download-btn {
        display: block;
        margin-top: 2rem;
    }

    .mobile-download-btn .download-btn {
        background-color: white;
        color: #9747FF;
        width: 100%;
        font-size: 20px;
        padding: 1rem;
    }

    .mobile-download-btn .download-btn:hover {
        background-color: rgba(255, 255, 255, 0.9);
        color: #9345FE;
    }

    .mobile-contact {
        display: block;
        margin-top: 1rem;
    }

    .mobile-contact .contact-btn {
        background-color: white;
        color: #9747FF;
        width: 100%;
        font-size: 18px;
        padding: 0.8rem;
    }

    .mobile-contact .contact-btn:hover {
        background-color: rgba(255, 255, 255, 0.9);
    }

    .nav-links li {
        text-align: left;
        margin-bottom: 20px;
    }

    .nav-links li:last-child {
        margin-bottom: 0;
    }
}

.hero {
    padding-top: 0; /* Enlever le padding-top si présent */
    min-height: 100vh; /* Assure que la section prend toute la hauteur */
    position: relative;
    width: 100%;
    height: calc(100vh - 80px); /* Ajustez 80px selon la hauteur de votre navbar */
    background-image: url('assets/1\ home\ Page\ 1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.hero-content {
    position: absolute;
    z-index: 1;
    max-width: 600px;
    padding: 5% 5%;
    color: white;
    bottom: 2%; /* Abaissé de 15% à 8% pour être plus proche du bas */
    left: 1%;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Ajout d'une ombre légère pour améliorer la lisibilité */
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 450px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); /* Ajout d'une ombre légère pour améliorer la lisibilité */
}

@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }
}

/* Styles pour le texte défilant */
.marquee-section {
    background-color: #9345FE;
    overflow: hidden;
    padding: 1.5rem 0;
    width: 100%;
}

.marquee-container {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    padding-right: 0;
    flex-shrink: 0;
    will-change: transform;
}

.marquee-content span {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    padding: 0 1rem;
}

.marquee-separator {
    color: white;
    font-size: 1.5rem;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Responsive styles for marquee */
@media screen and (max-width: 768px) {
    .marquee-section {
        padding: 1rem 0;
    }
    
    .marquee-content span {
        font-size: 1.2rem;
        padding: 0 0.5rem;
    }
    
    .marquee-separator {
        font-size: 1.2rem;
    }
    
    .marquee-content {
        animation-duration: 20s;
    }
}

.second-section {
    background-color: black;
    padding: 80px 0;
    color: white;
}

.second-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 0 5%;
}

.image-container {
    flex: 1;
    max-width: 50%;
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.text-container {
    flex: 1;
    max-width: 50%;
}

.text-container h2 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.text-container p {
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff;
}

@media screen and (max-width: 768px) {
    .second-section {
        padding: 40px 0;
    }

    .second-container {
        flex-direction: column;
        gap: 32px;
    }

    .image-container,
    .text-container {
        max-width: 100%;
    }

    .text-container h2 {
        font-size: 32px;
    }

    .text-container p {
        font-size: 16px;
    }
}

.third-section {
    padding: 80px 5%;
    background-color: white;
}

.section-title {
    color: #9345FE;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 48px;
}

.cards-container {
    display: flex;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    flex: 1;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
}

.card-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.card-text {
    margin-bottom: 48px; /* Augmentation de l'espace avant le bouton */
}

.card-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.card-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.discover-btn {
    background-color: #9345FE;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    align-self: flex-start;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}


/* Animations au survol */
.discover-btn:hover {
    background-color: #7B2FE0;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(147, 69, 254, 0.3);
}

.discover-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(147, 69, 254, 0.2);
}

/* Animation d'ondulation au survol */
.discover-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease-out;
}

.discover-btn:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

@media screen and (max-width: 768px) {
    .third-section {
        padding: 40px 24px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .cards-container {
        flex-direction: column;
    }

    .card {
        width: 100%;
    }

    .card-image {
        height: 200px;
    }

    .card-content {
        padding: 20px;
    }

    .card-content h3 {
        font-size: 20px;
    }
}

/* Purple Section */
.purple-section {
    background-color: #9345FE;
    padding: 80px 5%;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.text-block {
    text-align: center;
}

.text-block h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-block p {
    font-size: 24px;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

/* Social Section */
.social-section {
    background-color: black;
    padding: 80px 5%;
    text-align: center;
}

.social-section h2 {
    color: white;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 48px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.social-link {
    width: 80px;
    height: 80px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.social-link:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #9345FE;
}

/* Footer */
.footer {
    background-color: #000000;
    color: white;
    padding: 60px 5% 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-left {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-description {
    color: #888;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul a:hover {
    color: #9345FE;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    /* Purple Section Mobile */
    .purple-section {
        padding: 40px 24px;
    }

    .content-container {
        gap: 80px;
    }

    .text-block h2 {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: 24px;
        padding: 0 20px;
    }

    .text-block p {
        font-size: 20px;
        line-height: 1.6;
        padding: 0 20px;
    }

    /* Social Section Mobile */
    .social-section {
        padding: 60px 24px;
    }

    .social-section h2 {
        font-size: 32px;
        margin-bottom: 36px;
    }

    .social-icons {
        gap: 24px;
    }

    .social-link {
        width: 60px;
        height: 60px;
    }

    .social-link img {
        width: 30px;
        height: 30px;
    }

    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 40px;
    }

    .footer-left {
        text-align: center;
        margin: 0 auto;
    }
}

/* Style spécifique pour la page mentions légales */
.legal-hero {
    position: relative;
    height: 300px;
    background: linear-gradient(rgba(89, 86, 233, 0.9), rgba(89, 86, 233, 0.9)),
                url('assets/background.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
}

.legal-hero h1 {
    color: white;
    font-size: 3.5rem;
    text-align: center;
    z-index: 2;
    font-weight: 700;
    text-transform: uppercase;
}

.legal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.legal-content {
    padding: 60px 20px;
    background-color: #f5f5f5;
}

.legal-container {
    max-width: 1200px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: #5956E9;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.legal-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.legal-card:hover {
    transform: translateY(-5px);
}

.legal-card h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.legal-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.legal-card p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-hero {
        height: 200px;
    }

    .legal-hero h1 {
        font-size: 2.5rem;
    }

    .legal-content {
        padding: 40px 15px;
    }

    .legal-section h2 {
        font-size: 1.75rem;
    }

    .legal-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .legal-hero h1 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-card h3 {
        font-size: 1.25rem;
    }
}
/* Style pour la page de contact */
.contact-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(rgba(147, 69, 254, 0.9), rgba(147, 69, 254, 0.9)),
                url('assets/background.jpg') center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    text-align: center;
    color: white;
}

.contact-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-hero p {
    font-size: 1.5rem;
    z-index: 2;
    opacity: 0.9;
}

.contact-section {
    padding: 100px 20px;
    background-color: #f8f9ff;
    margin-top: -80px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
}

.contact-info {
    background: rgb(0, 0, 0);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(147, 69, 254, 0.1);
    transform: translateY(-40px);
}

.contact-info h2 {
    color: #9345FE;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 800;
    position: relative;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #9345FE;
    border-radius: 2px;
}

.info-card {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    padding: 25px;
    border-radius: 15px;
    background: #f8f9ff;
    transition: all 0.3s ease;
    border: 1px solid rgba(147, 69, 254, 0.1);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(147, 69, 254, 0.1);
    border-color: #9345FE;
}

.info-item .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

.info-item h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.info-item p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(147, 69, 254, 0.1);
    transform: translateY(-40px);
}

.email-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    background: linear-gradient(135deg, #9345FE, #7B2FE0);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(147, 69, 254, 0.2);
}

.email-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(147, 69, 254, 0.3);
    background: linear-gradient(135deg, #7B2FE0, #9345FE);
}

.btn-icon {
    margin-left: 15px;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.email-btn:hover .btn-icon {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info, .contact-form-container {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 300px;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-hero p {
        font-size: 1.2rem;
    }

    .contact-section {
        padding: 60px 20px;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-info, .contact-form-container {
        padding: 30px;
    }

    .email-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .info-item {
        padding: 20px;
    }

    .email-btn {
        width: 100%;
        text-align: center;
    }
}
/* Styles pour la page politique de confidentialité */
.legal-container {
    max-width: 1200px;
    margin: 120px auto 80px;
    padding: 0 20px;
}

.legal-header {
    background: #9345FE;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 60px;
}

.legal-header h1 {
    font-size: 48px;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    margin: 0;
}

.last-update {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-top: 10px;
}

.legal-content {
    max-width: 1200px;
    margin: -60px auto 80px;
    padding: 60px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 24px;
}

.legal-section p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
}

.legal-section ul li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    color: #333;
}

.legal-section ul li:before {
    content: "•";
    color: #9345FE;
    position: absolute;
    left: 0;
    top: 0;
}

.contact-info {
    background: #000000;
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .legal-header {
        padding: 60px 20px;
    }

    .legal-header h1 {
        font-size: 32px;
    }

    .legal-content {
        margin: -40px 20px 40px;
        padding: 30px;
    }

    .legal-section h2 {
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .legal-header {
        padding: 40px 16px;
    }

    .legal-header h1 {
        font-size: 28px;
    }

    .legal-content {
        padding: 20px;
        margin: -30px 16px 30px;
    }
}

/* Styles pour la page 404 */
.error-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000000, #1a1a1a);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.error-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239345FE' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.error-content {
    text-align: center;
    max-width: 600px;
    z-index: 1;
}

.error-animation {
    margin-bottom: 40px;
}

.coin-container {
    perspective: 1000px;
    margin: 0 auto;
    width: 200px;
    height: 200px;
}

.coin {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: flip 8s infinite;
}

.coin-side {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    font-weight: 800;
    border-radius: 50%;
}

.front {
    background: linear-gradient(135deg, #9345FE, #7B2FE0);
    color: white;
}

.back {
    background: linear-gradient(135deg, #7B2FE0, #9345FE);
    transform: rotateY(180deg);
    font-size: 80px;
}

@keyframes flip {
    0%, 45% {
        transform: rotateY(0);
    }
    50%, 95% {
        transform: rotateY(180deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.error-content h1 {
    color: white;
    font-size: 36px;
    margin-bottom: 16px;
    font-weight: 700;
}

.error-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 32px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.primary-btn, .secondary-btn {
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-btn {
    background: #9345FE;
    color: white;
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.primary-btn:hover {
    background: #7B2FE0;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(147, 69, 254, 0.3);
}

.secondary-btn:hover {
    border-color: #9345FE;
    transform: translateY(-3px);
}

/* Animation de particules */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .error-content h1 {
        font-size: 28px;
    }

    .error-content p {
        font-size: 16px;
    }

    .coin-container {
        width: 150px;
        height: 150px;
    }

    .coin-side {
        font-size: 48px;
    }

    .back {
        font-size: 60px;
    }
}

@media screen and (max-width: 480px) {
    .error-actions {
        flex-direction: column;
    }

    .primary-btn, .secondary-btn {
        width: 100%;
        text-align: center;
    }

    .coin-container {
        width: 120px;
        height: 120px;
    }

    .coin-side {
        font-size: 36px;
    }

    .back {
        font-size: 48px;
    }
}

.join-btn {
    /* Garder les styles existants */
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

/* Styles responsifs pour les boutons et contenus */
@media screen and (max-width: 768px) {
    /* Style uniforme pour tous les boutons CTA en mobile */
    .cta-button, 
    .join-button,
    .contact-button {
        display: inline-block;
        background-color: #9345FE;
        color: white;
        padding: 15px 30px;
        border-radius: 30px;
        text-decoration: none;
        margin-top: 20px;
        width: auto;
        max-width: fit-content;
        font-size: 16px;
        transition: background-color 0.3s ease;
        text-align: center;
    }

    .cta-button:hover, 
    .join-button:hover,
    .contact-button:hover {
        background-color: #7B2FE6;
        cursor: pointer;
    }

    /* Ajustement du conteneur en mobile */
    .hero-content {
        text-align: left;
        width: auto;
        max-width: 100%;
        padding: 0 20px;
    }

    /* Styles pour les boutons en mobile */
    .nous-rejoindre-button,
    .nous-rejoindre,
    button.nous-rejoindre,
    a.nous-rejoindre {
        display: inline-block;
        background-color: #9345FE;
        color: white;
        padding: 15px 30px;
        border-radius: 30px;
        text-decoration: none;
        margin-top: 20px;
        width: auto;
        max-width: fit-content;
        font-size: 16px;
        text-align: center;
    }

    /* Conteneur du texte en mobile */
    .text-container {
        text-align: left;
        width: auto;
        max-width: 100%;
        padding: 0 20px;
    }
}

/* Styles de base pour tous les boutons */
.nous-rejoindre,
.cta-button,
.join-button,
.contact-button,
.join-btn,
button[class*="rejoindre"],
a[class*="rejoindre"] {
    display: inline-block;
    background-color: #9345FE;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 20px;
    width: auto;
    max-width: fit-content;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

/* Effet hover pour tous les boutons */
.nous-rejoindre:hover,
.cta-button:hover,
.join-button:hover,
.contact-button:hover,
.join-btn:hover,
button[class*="rejoindre"]:hover,
a[class*="rejoindre"]:hover {
    background-color: #7B2FE6;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(147, 69, 254, 0.3);
}

/* Styles responsifs pour mobile */
@media screen and (max-width: 768px) {
    .nous-rejoindre,
    .cta-button,
    .join-button,
    .contact-button,
    .join-btn,
    button[class*="rejoindre"],
    a[class*="rejoindre"] {
        width: auto;
        max-width: fit-content;
        font-size: 16px;
        padding: 12px 25px;
    }
}