/* ========================================
   CAES - Design Ultra Premium & Luxueux
   Couleurs du Logo: Vert Olive, Orange & Or
   ======================================== */

/* Animations Premium Ultra Fluides */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.95; transform: scale(1.02); }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Cartes Ultra Premium avec Effets Luxueux */
.card-3d {
    background: linear-gradient(145deg, #ffffff 0%, #fefce8 100%);
    border: 2px solid #ecfccb;
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow:
        0 10px 40px rgba(132, 204, 22, 0.08),
        0 2px 8px rgba(132, 204, 22, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #84cc16, #a3e635, #bef264);
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card-3d::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(132, 204, 22, 0.03), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card-3d:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 25px 60px rgba(132, 204, 22, 0.18),
        0 10px 30px rgba(132, 204, 22, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: #bef264;
}

.card-3d:hover::before {
    transform: scaleX(1);
    animation: gradientMove 2s ease infinite;
}

.card-3d:hover::after {
    opacity: 1;
}

/* Effet Sparkle Ultra Premium */
.sparkle {
    position: relative;
    overflow: hidden;
}

.sparkle::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.8s ease;
}

.sparkle:hover::after {
    left: 150%;
}

/* Navbar Ultra Professionnelle */
.navbar-futuristic {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid rgba(227, 242, 253, 0.8);
    box-shadow:
        0 4px 20px rgba(25, 118, 210, 0.08),
        0 1px 3px rgba(25, 118, 210, 0.04);
    backdrop-filter: blur(20px) saturate(180%);
}

/* Boutons Ultra Premium avec Effets Luxueux */
.btn-futuristic {
    padding: 1.125rem 3rem;
    background: linear-gradient(135deg, #84cc16 0%, #a3e635 50%, #bef264 100%);
    background-size: 200% 200%;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow:
        0 10px 30px rgba(132, 204, 22, 0.3),
        0 5px 15px rgba(132, 204, 22, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-futuristic::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.5), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-futuristic:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 15px 45px rgba(132, 204, 22, 0.4),
        0 8px 25px rgba(132, 204, 22, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    background-position: 100% 50%;
}

.btn-futuristic:hover::before {
    left: 100%;
}

.btn-futuristic:hover::after {
    opacity: 1;
}

.btn-futuristic:active {
    transform: translateY(-2px) scale(1.01);
}

/* Titres Ultra Professionnels */
.neon-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
    line-height: 1.1;
    position: relative;
}

.neon-text {
    background: linear-gradient(135deg, #1e293b, #334155);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Icônes Premium Ultra Luxueuses */
.icon-3d {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #84cc16 0%, #a3e635 50%, #bef264 100%);
    background-size: 200% 200%;
    border-radius: 20px;
    color: white;
    font-size: 2.25rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow:
        0 12px 35px rgba(132, 204, 22, 0.3),
        0 5px 15px rgba(132, 204, 22, 0.2),
        inset 0 -2px 10px rgba(0, 0, 0, 0.1),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    position: relative;
}

.icon-3d::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #84cc16, #a3e635, #bef264);
    border-radius: 23px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: blur(15px);
}

.icon-3d:hover {
    transform: translateY(-10px) scale(1.08) rotate(5deg);
    box-shadow:
        0 20px 50px rgba(132, 204, 22, 0.4),
        0 10px 30px rgba(132, 204, 22, 0.3),
        inset 0 -2px 10px rgba(0, 0, 0, 0.1),
        inset 0 2px 10px rgba(255, 255, 255, 0.3);
    background-position: 100% 50%;
}

.icon-3d:hover::before {
    opacity: 1;
}

/* Section avec Dégradé Ultra Subtil */
.section-gradient {
    background: linear-gradient(180deg, #ffffff 0%, #fefce8 30%, #fef9c3 50%, #fefce8 70%, #ffffff 100%);
    position: relative;
}

.section-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #84cc16 30%, #a3e635 50%, #84cc16 70%, transparent);
}

/* Images Premium Ultra Raffinées */
.image-hover-effect {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow:
        0 15px 45px rgba(132, 204, 22, 0.15),
        0 5px 20px rgba(132, 204, 22, 0.1);
    border: 3px solid #ecfccb;
    background: white;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.image-hover-effect img {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.image-hover-effect:hover {
    box-shadow:
        0 25px 60px rgba(132, 204, 22, 0.25),
        0 10px 35px rgba(132, 204, 22, 0.15);
    border-color: #a3e635;
    transform: translateY(-5px);
}

.image-hover-effect:hover img {
    transform: scale(1.1) rotate(1deg);
}

.image-hover-effect::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.15), rgba(52, 211, 153, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.image-hover-effect:hover::after {
    opacity: 1;
}

/* Statistiques Ultra Premium */
.stat-card {
    background: linear-gradient(145deg, #ffffff 0%, #f7fef9 50%, #ffffff 100%);
    border: 2px solid #ecfccb;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow:
        0 10px 40px rgba(132, 204, 22, 0.1),
        0 2px 8px rgba(132, 204, 22, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(132, 204, 22, 0.08),
        transparent 50%
    );
    opacity: 0;
    transition: all 0.6s ease;
    animation: rotate 8s linear infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow:
        0 20px 55px rgba(132, 204, 22, 0.2),
        0 10px 30px rgba(132, 204, 22, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: #bef264;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1e293b 0%, #334155 30%, #475569 50%, #64748b 70%, #94a3b8 100%);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
    line-height: 1;
    animation: gradientMove 5s ease infinite;
}

/* Effet de Verre Ultra Premium */
.glass-modern {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(209, 250, 229, 0.6);
    box-shadow:
        0 10px 40px rgba(132, 204, 22, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid #ecfccb;
}

.glass-effect-enhanced {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 254, 252, 0.95) 100%);
    backdrop-filter: blur(30px) saturate(200%);
    border: 2px solid #ecfccb;
    box-shadow:
        0 15px 50px rgba(132, 204, 22, 0.12),
        0 5px 20px rgba(132, 204, 22, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-effect-enhanced:hover {
    transform: translateY(-8px);
    box-shadow:
        0 25px 65px rgba(132, 204, 22, 0.18),
        0 10px 35px rgba(132, 204, 22, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: #bef264;
}

/* Liens de Navigation Ultra Professionnels */
.nav-link {
    position: relative;
    color: #1f2937;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #84cc16, #a3e635, #bef264);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(132, 204, 22, 0.4);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-link:hover {
    color: #84cc16;
}

.nav-link:hover::after {
    width: 100%;
}

/* Ligne Décorative Ultra Premium */
.decorative-line {
    height: 4px;
    background: linear-gradient(90deg, transparent, #84cc16 20%, #a3e635 50%, #bef264 80%, transparent);
    margin: 4rem 0;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(132, 204, 22, 0.3);
}

/* Bouton Secondaire Premium */
.btn-secondary-modern {
    padding: 1.125rem 3rem;
    background: white;
    color: #84cc16;
    border: 3px solid #84cc16;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow:
        0 8px 25px rgba(132, 204, 22, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.btn-secondary-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #84cc16, #a3e635, #bef264);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.btn-secondary-modern:hover {
    color: white;
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 15px 45px rgba(132, 204, 22, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: #a3e635;
}

.btn-secondary-modern:hover::before {
    transform: translateX(0);
}

.glow-button {
    box-shadow:
        0 10px 35px rgba(132, 204, 22, 0.3),
        0 5px 15px rgba(132, 204, 22, 0.2);
    animation: pulse 4s ease-in-out infinite;
}

/* Cartes avec Bordure Ultra Premium */
.border-animated {
    border: 2px solid #ecfccb;
    transition: all 0.4s ease;
    position: relative;
}

.border-animated::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #84cc16, #a3e635, #bef264);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.border-animated:hover {
    border-color: transparent;
}

.border-animated:hover::before {
    opacity: 1;
}

.card-glow {
    box-shadow:
        0 15px 45px rgba(132, 204, 22, 0.12),
        0 5px 20px rgba(132, 204, 22, 0.08);
}

.card-glow:hover {
    box-shadow:
        0 25px 65px rgba(132, 204, 22, 0.22),
        0 10px 35px rgba(132, 204, 22, 0.15);
}

/* Animations d'Entrée Ultra Fluides */
.animate-in {
    animation: slideIn 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.animate-in-right {
    animation: slideIn 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Effets Premium */
.pulse-effect {
    animation: pulse 4s ease-in-out infinite;
}

.bounce-effect {
    animation: float 5s ease-in-out infinite;
}

.floating-particle {
    animation: float 6s ease-in-out infinite;
}

/* Logo Container Ultra Premium */
.logo-container {
    position: relative;
    display: inline-block;
}

.logo-container::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(132, 204, 22, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

/* Texte avec Effet Premium */
.text-glow {
    color: #84cc16;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(132, 204, 22, 0.2);
}

/* ========================================
   RESPONSIVE DESIGN COMPLET
   ======================================== */

/* Navigation Responsive - Toujours sur une ligne */
@media (min-width: 1024px) {
    .navbar .container > div {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }

    .navbar .hidden.lg\\:flex {
        display: flex !important;
        align-items: center !important;
        gap: 1rem !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
    }

    .nav-link {
        font-size: 0.9rem !important;
        padding: 0.5rem 0.75rem !important;
    }
}

/* Large Screens (1440px et plus) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
        margin: 0 auto;
    }

    .neon-title {
        font-size: 4.5rem;
    }

    .nav-link {
        font-size: 1.05rem !important;
        padding: 0.5rem 1rem !important;
    }
}

/* Desktop (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .container {
        max-width: 1200px;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .neon-title {
        font-size: 3.5rem;
    }

    .stat-number {
        font-size: 3.5rem;
    }

    .card-3d {
        padding: 2.5rem;
    }

    .icon-3d {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

/* Tablettes Portrait et Petits Laptops (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .neon-title {
        font-size: 3rem;
        letter-spacing: -1px;
    }

    .stat-number {
        font-size: 3rem;
    }

    .icon-3d {
        width: 75px;
        height: 75px;
        font-size: 1.875rem;
    }

    .card-3d {
        padding: 2rem;
    }

    .btn-futuristic {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    /* Hero Section */
    section.relative.pt-32 {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }

    /* Grid Adjustments */
    .grid.grid-cols-1.lg\\:grid-cols-2 {
        gap: 2rem;
    }

    .grid.grid-cols-1.md\\:grid-cols-2.lg\\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Images */
    .image-hover-effect img {
        height: 300px;
        object-fit: cover;
    }
}

/* Tablettes Portrait (600px - 767px) */
@media (min-width: 600px) and (max-width: 767px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .neon-title {
        font-size: 2.5rem;
        letter-spacing: -0.5px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .icon-3d {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }

    .card-3d {
        padding: 1.75rem;
    }

    .btn-futuristic {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }

    /* Hero Section */
    section.relative.pt-32 {
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

    /* Grid devient une colonne sur tablette portrait */
    .grid.grid-cols-2.md\\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .grid.grid-cols-1.md\\:grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Mobile Large (480px - 599px) */
@media (min-width: 480px) and (max-width: 599px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .neon-title {
        font-size: 2rem;
        letter-spacing: -0.5px;
        line-height: 1.2;
    }

    .stat-number {
        font-size: 2rem;
    }

    .icon-3d {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .card-3d {
        padding: 1.5rem;
    }

    .btn-futuristic {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }

    /* Hero Section */
    section.relative.pt-32 {
        padding-top: 6rem;
        padding-bottom: 2.5rem;
    }

    /* Tous les grids en une colonne */
    .grid.grid-cols-2,
    .grid.grid-cols-1.md\\:grid-cols-2,
    .grid.grid-cols-1.md\\:grid-cols-3,
    .grid.grid-cols-2.md\\:grid-cols-4 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Boutons en colonne */
    .flex.flex-col.sm\\:flex-row {
        flex-direction: column !important;
        gap: 1rem;
    }

    /* Images */
    .image-hover-effect img {
        height: 250px;
        object-fit: cover;
    }

    /* Stats Quick View */
    .grid.grid-cols-2.md\\:grid-cols-4.gap-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-top: 2rem;
    }

    .grid.grid-cols-2.md\\:grid-cols-4.gap-4 .text-center .text-3xl {
        font-size: 1.5rem;
    }
}

/* Mobile Small (320px - 479px) */
@media (max-width: 479px) {
    .container {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }

    .neon-title {
        font-size: 1.75rem;
        letter-spacing: -0.3px;
        line-height: 1.2;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .icon-3d {
        width: 55px;
        height: 55px;
        font-size: 1.25rem;
    }

    .card-3d {
        padding: 1.25rem;
    }

    .btn-futuristic {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }

    /* Hero Section */
    section.relative.pt-32 {
        padding-top: 5rem;
        padding-bottom: 2rem;
    }

    /* Tous les grids en une colonne */
    .grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    /* Textes */
    h2.text-4xl,
    h2.md\\:text-5xl {
        font-size: 1.75rem;
    }

    h3.text-xl {
        font-size: 1.125rem;
    }

    p.text-xl {
        font-size: 1rem;
    }

    p.text-lg {
        font-size: 0.95rem;
    }

    /* Boutons */
    .flex.flex-col.sm\\:flex-row {
        flex-direction: column !important;
        gap: 0.75rem;
    }

    a.px-8,
    button.px-8 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Images */
    .image-hover-effect img {
        height: 200px;
        object-fit: cover;
    }

    /* Stats Section */
    .grid.grid-cols-2.md\\:grid-cols-4.gap-6 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Slideshow Hero */
    .relative.rounded-3xl {
        height: 300px !important;
    }

    /* Floating Badge */
    .absolute.-bottom-6.-left-6 {
        bottom: -0.5rem;
        left: -0.5rem;
        padding: 0.75rem;
    }

    /* Mobile Menu */
    #mobileMenu {
        width: 100% !important;
    }
}

/* Mode Paysage Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    section.relative.pt-32 {
        padding-top: 4rem;
        padding-bottom: 1.5rem;
    }

    .neon-title {
        font-size: 1.5rem;
    }

    .relative.rounded-3xl {
        height: 250px !important;
    }
}

/* Ultra Wide Screens (1920px et plus) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    .neon-title {
        font-size: 5rem;
    }

    .stat-number {
        font-size: 4.5rem;
    }

    .card-3d {
        padding: 3.5rem;
    }

    .icon-3d {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}

/* Optimisations pour tous les écrans */
@media (max-width: 1023px) {
    /* Cacher le menu desktop */
    .hidden.lg\\:flex {
        display: none !important;
    }

    /* Afficher le bouton mobile */
    .lg\\:hidden {
        display: block !important;
    }

    /* Espacements */
    section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    /* Images Responsives */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Cards */
    .card-3d,
    .stat-card,
    .glass-effect-enhanced {
        margin-bottom: 1rem;
    }

    /* Enlever les animations complexes sur mobile pour performance */
    .card-3d::before,
    .card-3d::after,
    .sparkle::after,
    .icon-3d::before {
        display: none;
    }

    /* Simplifier les ombres sur mobile */
    .card-3d,
    .stat-card {
        box-shadow: 0 4px 15px rgba(132, 204, 22, 0.1);
    }

    .card-3d:hover,
    .stat-card:hover {
        box-shadow: 0 8px 25px rgba(132, 204, 22, 0.15);
    }
}

/* Amélioration de la lisibilité sur petits écrans */
@media (max-width: 767px) {
    body {
        font-size: 14px;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }

    /* Padding et Margins */
    .py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .py-12 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .mb-16 {
        margin-bottom: 2rem;
    }

    .mb-12 {
        margin-bottom: 1.5rem;
    }

    /* Navigation */
    nav .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Logo */
    .logo-container img {
        height: 2.5rem;
    }

    .logo-container h1 {
        font-size: 1rem;
    }

    .logo-container p {
        font-size: 0.7rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .mobile-menu,
    #mobileMenuBtn,
    .glow-button,
    .floating-particle,
    .grid-bg,
    footer {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .card-3d,
    .glass-effect {
        border: 1px solid #ddd;
        box-shadow: none;
    }
}

/* Styles Globaux Ultra Premium */
body {
    color: #1f2937;
    font-weight: 400;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    color: #1e293b;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.text-white {
    color: #263238 !important;
}

.text-gray-300,
.text-gray-400 {
    color: #546e7a !important;
}

/* Backgrounds Premium */
.bg-gray-900 {
    background: linear-gradient(180deg, #fefce8 0%, #fef9c3 100%) !important;
}

.bg-gray-800 {
    background-color: white !important;
}

.bg-gray-700 {
    background: linear-gradient(145deg, #f7fef9 0%, #fefce8 100%) !important;
}

/* Bordures Premium */
.border-gray-700 {
    border-color: #ecfccb !important;
}

.border-gray-600 {
    border-color: #d9f99d !important;
}

/* Hover States Premium */
.hover\:text-indigo-400:hover,
.hover\:text-indigo-300:hover,
.hover\:text-purple-600:hover,
.hover\:text-blue-600:hover {
    color: #84cc16 !important;
}

.hover\:bg-indigo-600:hover,
.hover\:bg-purple-600:hover {
    background: linear-gradient(135deg, #84cc16, #a3e635) !important;
}

/* Active States */
.text-indigo-400,
.text-indigo-300,
.text-purple-600,
.text-blue-600 {
    color: #84cc16 !important;
}

.bg-indigo-600,
.bg-purple-600 {
    background: linear-gradient(135deg, #84cc16 0%, #a3e635 100%) !important;
}

/* Gradients Premium */
.bg-gradient-to-r.from-indigo-600,
.bg-gradient-to-r.from-purple-600,
.bg-gradient-to-r.to-purple-600 {
    background: linear-gradient(135deg, #84cc16 0%, #a3e635 50%, #bef264 100%) !important;
}

.bg-gradient-to-br.from-indigo-500,
.bg-gradient-to-br.from-purple-500,
.bg-gradient-to-br.to-indigo-600 {
    background: linear-gradient(135deg, #84cc16 0%, #a3e635 100%) !important;
}

/* Couleurs de Fond */
.bg-indigo-100,
.bg-purple-100 {
    background-color: #ecfccb !important;
}

.bg-indigo-50,
.bg-purple-50 {
    background-color: #fef9c3 !important;
}

/* Ombres Ultra Premium */
.shadow-indigo-500\/50,
.shadow-purple-500\/50 {
    box-shadow:
        0 10px 35px rgba(132, 204, 22, 0.3),
        0 5px 15px rgba(132, 204, 22, 0.2) !important;
}
