body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #232946 0%, #6b47dc 100%);
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding-top: 110px;
}

/* Animated floating gradients background */
.bg-animated {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.bg-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    animation: floatBg 16s ease-in-out infinite alternate;
}
.bg-gradient.one {
    width: 700px; height: 700px;
    background: radial-gradient(circle at 30% 30%, #a18fff 0%, #6b47dc 100%);
    left: -200px; top: -150px;
    animation-delay: 0s;
}
.bg-gradient.two {
    width: 500px; height: 500px;
    background: radial-gradient(circle at 70% 70%, #ffb6b9 0%, #6b47dc 100%);
    right: -150px; bottom: -100px;
    animation-delay: 4s;
}
.bg-gradient.three {
    width: 400px; height: 400px;
    background: radial-gradient(circle at 50% 50%, #f9f871 0%, #6b47dc 100%);
    left: 50%; top: 60%;
    transform: translate(-50%, -50%);
    animation-delay: 8s;
}
@keyframes floatBg {
    0% { transform: scale(1) translateY(0) rotate(0deg); }
    100% { transform: scale(1.1) translateY(-40px) rotate(20deg); }
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
    z-index: 1;
    position: relative;
}

.hero-header {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 7rem;
}

.hero-header h1 {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 8px 32px rgba(60, 72, 88, 0.25), 0 1px 0 #fff2;
    animation: fadeInDown 1s cubic-bezier(.4,2,.3,1);
    background: linear-gradient(90deg, #fff 10%, #a18fff 50%, #6b47dc 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 2rem;
    color: #e0e7ff;
    font-weight: 600;
    text-shadow: 0 2px 8px #0002;
    animation: fadeInDown 1.2s cubic-bezier(.4,2,.3,1);
}

.card-grid {
    display: flex;
    gap: 3.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    z-index: 2;
}

.big-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.18);
    border-radius: 2.5rem;
    box-shadow: 0 16px 64px 0 #6b47dc55, 0 0 0 2px #fff3, 0 0 40px 0 #a18fff33;
    overflow: hidden;
    width: 480px;
    height: 600px;
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(.4,2,.3,1), box-shadow 0.35s, background 0.3s;
    position: relative;
    backdrop-filter: blur(18px) saturate(1.3);
    border: 2px solid #fff4;
    animation: fadeInUp 1.2s cubic-bezier(.4,2,.3,1);
    box-shadow: 0 24px 80px 0 #6b47dc77, 0 0 0 4px #fff6, 0 0 80px 0 #a18fff33;
}

.big-card:before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 60px;
    background: linear-gradient(90deg, #fff6 0%, #fff0 100%);
    opacity: 0.7;
    pointer-events: none;
    z-index: 2;
}

.big-card img {
    width: 100%;
    height: 68%;
    object-fit: cover;
    transition: filter 0.3s, transform 0.3s;
    border-bottom: 2px solid #fff3;
    box-shadow: 0 8px 32px #6b47dc22;
}

.big-card .card-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(90deg, #fff8 60%, #e0e7ff88 100%);
    box-shadow: 0 2px 12px #0001;
    position: relative;
}

.big-card h2 {
    font-size: 2.9rem;
    color: #111;
    font-weight: 900;
    margin: 0;
    text-align: center;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px #fff8, 0 1px 0 #fff2;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
}

.big-card:hover {
    transform: translateY(-24px) scale(1.08) rotate(-2deg) perspective(800px) rotateY(6deg);
    box-shadow: 0 48px 128px 0 #6b47dcaa, 0 0 0 8px #fff8, 0 0 120px 0 #a18fff55;
    background: rgba(255,255,255,0.28);
    z-index: 3;
}

.big-card:hover img {
    filter: brightness(0.78) blur(3px) saturate(1.3);
    transform: scale(1.07) rotate(2deg);
}

@media (max-width: 1400px) {
    .card-grid {
        gap: 2rem;
    }
    .big-card {
        width: 370px;
        height: 420px;
    }
    .hero-header h1 {
        font-size: 3.2rem;
    }
    .big-card h2 {
        font-size: 2rem;
    }
}

@media (max-width: 900px) {
    .card-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .big-card {
        width: 95vw;
        max-width: 420px;
        height: 320px;
    }
    .hero-header h1 {
        font-size: 2.2rem;
    }
    .big-card h2 {
        font-size: 1.3rem;
    }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.main-logo {
    position: fixed;
    top: 32px;
    left: 32px;
    height: 220px;
    z-index: 10;
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    transition: none;
}
@media (max-width: 900px) {
    .main-logo {
        top: 12px;
        left: 12px;
        height: 140px;
        padding: 0;
    }
}

.main-header {
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    background: transparent;
    display: flex;
    align-items: flex-start;
    pointer-events: none;
}
.main-header .main-logo-link {
    pointer-events: auto;
}

.main-footer {
    width: 100vw;
    background: rgba(30, 32, 60, 0.98);
    color: #e0e7ff;
    padding: 4.5rem 2rem 2.2rem 2rem;
    font-size: 1.08rem;
    font-weight: 400;
    margin-top: 4rem;
    box-shadow: 0 -2px 32px #6b47dc55, 0 -8px 64px #a18fff33;
    position: relative;
    overflow: hidden;
    border-top: 0;
}
.main-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 8px;
    background: linear-gradient(90deg, #a18fff 0%, #6b47dc 50%, #f9f871 100%);
    filter: blur(2px) brightness(1.2);
    opacity: 0.85;
    z-index: 2;
    border-radius: 0 0 24px 24px;
    animation: footerGlow 8s linear infinite alternate;
}
@keyframes footerGlow {
    0% { filter: blur(2px) brightness(1.2); opacity: 0.85; }
    100% { filter: blur(6px) brightness(1.4); opacity: 1; }
}
.footer-bg-float {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1200px;
    height: 400px;
    transform: translateX(-50%);
    background: radial-gradient(circle at 60% 40%, #a18fff55 0%, #6b47dc22 80%, transparent 100%);
    opacity: 0.7;
    z-index: 1;
    pointer-events: none;
    filter: blur(40px);
    animation: floatFooterBg 12s ease-in-out infinite alternate;
}
@keyframes floatFooterBg {
    0% { transform: translateX(-50%) scale(1); }
    100% { transform: translateX(-48%) scale(1.08); }
}
.footer-columns {
    display: flex;
    justify-content: space-between;
    gap: 3.5rem;
    max-width: 1400px;
    margin: 0 auto 2.5rem auto;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
}
.footer-col {
    flex: 1 1 240px;
    min-width: 240px;
    margin-bottom: 2.5rem;
}
.footer-col h3 {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1.3rem;
    letter-spacing: -1px;
    text-shadow: 0 2px 12px #6b47dc55;
}
.footer-col.about p {
    margin-bottom: 1.2rem;
    color: #c7d2fe;
    font-size: 1.08rem;
}
.footer-social {
    display: flex;
    gap: 1.3rem;
    margin-top: 0.7rem;
}
.footer-social-link {
    color: #fff;
    font-size: 1.7rem;
    transition: color 0.2s, text-shadow 0.3s, transform 0.2s;
    filter: drop-shadow(0 2px 8px #6b47dc88);
}
.footer-social-link:hover {
    color: #f9f871;
    text-shadow: 0 0 16px #a18fff, 0 0 8px #f9f871;
    transform: scale(1.18) rotate(-6deg);
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 0.9rem;
    color: #e0e7ff;
    font-size: 1.09rem;
}
.footer-col ul li a {
    color: #e0e7ff;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col ul li a:hover {
    color: #f9f871;
    text-decoration: underline;
}
.footer-col.contact ul li i {
    margin-right: 0.7rem;
    color: #a18fff;
    font-size: 1.1rem;
}
.footer-col.newsletter p {
    margin-bottom: 1.2rem;
    color: #c7d2fe;
    font-size: 1.08rem;
}
.newsletter-form {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
}
.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border-radius: 1.1rem;
    border: none;
    font-size: 1.08rem;
    background: #232946;
    color: #fff;
    outline: none;
    box-shadow: 0 2px 12px #6b47dc22;
}
.newsletter-form button {
    background: linear-gradient(90deg, #6b47dc 0%, #a18fff 100%);
    color: #fff;
    border: none;
    border-radius: 1.1rem;
    padding: 0.9rem 1.7rem;
    font-size: 1.08rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 2px 12px #a18fff55;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.newsletter-form button:hover {
    background: linear-gradient(90deg, #f9f871 0%, #a18fff 100%);
    color: #232946;
    box-shadow: 0 4px 24px #f9f87188, 0 0 16px #a18fff;
    transform: scale(1.07) rotate(-2deg);
}
.footer-col.newsletter small {
    color: #c7d2fe;
    display: block;
    margin-top: 0.7rem;
    font-size: 1.01rem;
}
.footer-bottom {
    border-top: 1.5px solid #232946;
    padding-top: 1.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    z-index: 3;
    position: relative;
}
.footer-bottom p {
    color: #c7d2fe;
    font-size: 1.08rem;
    margin: 0;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.7rem;
    margin: 0.2rem 0 0.5rem 0;
    flex-wrap: wrap;
}
.footer-links a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.09rem;
    transition: color 0.2s, text-decoration 0.2s;
}
.footer-links a:hover {
    color: #f9f871;
    text-decoration: underline;
}
@media (max-width: 1100px) {
    .footer-columns {
        flex-direction: column;
        gap: 2.2rem;
        align-items: flex-start;
    }
    .footer-col {
        min-width: 0;
        width: 100%;
    }
}

.main-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(167,139,250,0.85);
    box-shadow: 0 4px 32px #6b47dc33;
    backdrop-filter: blur(12px) saturate(1.2);
    padding: 0.7rem 2.5vw;
    transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
    min-height: 90px;
}
.main-navbar.shrink {
    background: rgba(67,56,202,0.97);
    padding: 0.2rem 2.5vw;
    min-height: 60px;
    box-shadow: 0 2px 16px #6b47dc77;
}
.navbar-logo {
    height: 70px;
    transition: height 0.3s;
}
.main-navbar.shrink .navbar-logo {
    height: 38px;
}
.navbar-logo-link {
    display: flex;
    align-items: center;
    transition: none;
}
.navbar-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.navbar-links li a {
    color: #fff;
    font-size: 1.18rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: color 0.2s;
    position: relative;
}
.navbar-links li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #f9f871;
    transition: width 0.3s;
    margin-top: 2px;
}
.navbar-links li a:hover {
    color: #f9f871;
}
.navbar-links li a:hover::after {
    width: 100%;
}

.navbar-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 120;
    margin-left: 1.5rem;
}
.navbar-hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
    margin: 4px 0;
    transition: all 0.35s cubic-bezier(.4,2,.3,1);
}
.navbar-hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.navbar-hamburger.active span:nth-child(2) {
    opacity: 0;
}
.navbar-hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.navbar-mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(67,56,202,0.98);
    z-index: 110;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeInMenu 0.5s;
}
.navbar-mobile-menu.active {
    display: flex;
}
.navbar-mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}
.navbar-mobile-menu ul li a {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -1px;
    transition: color 0.2s;
}
.navbar-mobile-menu ul li a:hover {
    color: #f9f871;
}
@keyframes fadeInMenu {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
@media (max-width: 900px) {
    .navbar-links {
        display: none;
    }
    .navbar-hamburger {
        display: flex;
    }
}

/* Amélioration menu mobile */
.navbar-mobile-menu {
    background: linear-gradient(120deg, #6b47dc 60%, #a18fff 100%);
    box-shadow: 0 8px 64px #6b47dc99;
    animation: fadeInMenu 0.5s cubic-bezier(.4,2,.3,1);
}
.navbar-mobile-menu ul li a {
    font-size: 2.5rem;
    text-shadow: 0 2px 12px #23294699, 0 0 8px #f9f87144;
    letter-spacing: -1.5px;
}
.navbar-mobile-menu ul li a:hover {
    color: #f9f871;
    text-shadow: 0 0 24px #f9f871, 0 0 16px #a18fff;
    transform: scale(1.08) rotate(-2deg);
}
.navbar-hamburger {
    background: rgba(36,34,62,0.18);
    border-radius: 50%;
    box-shadow: 0 2px 12px #6b47dc55;
    border: 2px solid #fff3;
}
.navbar-hamburger span {
    background: #f9f871;
    box-shadow: 0 2px 8px #6b47dc55;
} 