@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cabin+Sketch:wght@400;700&family=Outfit:wght@100..900&display=swap');

/* Variables globales */
        :root {
            --primary-color: #2A5DB0;
            --secondary-color: #4CAF50;
            --dark-color: #2c3e50;
            --light-color: #ecf0f1;
            --violet-color: #8E44AD;
            --primary-hover: rgb(6, 53, 133);
            --violet-hover: #7711a3;
            --dark-hover: #16334f;
            --secondary-hover: #357237;
            --accent-color: #e74c3c;
            --text-color: #333;
            --shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }

        /* Reset et bases */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: "Outfit", sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
        }

        /* Texte flottant multilingue */
        .floating-text {
            position: fixed;
            font-weight: 600;
            font-size: clamp(1rem, 2vw, 1.5rem);
            opacity: 0.6;
            z-index: 1;
            pointer-events: none;
            transition: all 2s ease-in-out;
            animation: float 15s infinite linear;
        }

        .floating-text:nth-child(1) { 
            top: 30%; 
            left: 5%; 
            color: #ff6b6b; 
            animation-delay: 0s;
        }
        .floating-text:nth-child(2) { 
            top: 20%; 
            right: 10%; 
            color: #4ecdc4; 
            animation-delay: 2s;
        }
        .floating-text:nth-child(3) { 
            top: 60%; 
            left: 8%; 
            color: #45b7d1; 
            animation-delay: 4s;
        }
        .floating-text:nth-child(4) { 
            bottom: 30%; 
            right: 5%; 
            color: #96ceb4; 
            animation-delay: 6s;
        }
        .floating-text:nth-child(5) { 
            bottom: 10%; 
            left: 15%; 
            color: #ffeaa7; 
            animation-delay: 8s;
        }
        .floating-text:nth-child(6) { 
            top: 80%; 
            right: 20%; 
            color: #dda0dd; 
            animation-delay: 10s;
        }
        .floating-text:nth-child(7) { 
            top: 25%; 
            right: 50%; 
            color: #a0ddb8; 
            animation-delay: 12s;
        }
        .floating-text:nth-child(8) { 
            bottom: 10%; 
            right: 40%; 
            color: #dddaa0; 
            animation-delay: 14s;
        }

        @keyframes float {
            0% { 
                transform: translateY(0px) rotate(0deg); 
                opacity: 0.3; 
            }
            25% { 
                transform: translateY(-20px) rotate(5deg); 
                opacity: 0.7; 
            }
            50% { 
                transform: translateY(-10px) rotate(-3deg); 
                opacity: 0.5; 
            }
            75% { 
                transform: translateY(-25px) rotate(7deg); 
                opacity: 0.8; 
            }
            100% { 
                transform: translateY(0px) rotate(0deg); 
                opacity: 0.3; 
            }
        }

        /* Particules d'arrière-plan */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
        }

        .particle {
            position: absolute;
            width: 6px;
            height: 6px;
            background: linear-gradient(45deg, #667eea, #764ba2);
            border-radius: 50%;
            animation: particleFloat 20s infinite linear;
        }
        

        @keyframes particleFloat {
            0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
        }

        .btn-primary {
            display: inline-block;
            padding: 15px 30px;
            background: var(--gradient-primary);
            color: white;
            border-radius: 50px;
            transition: var(--transition);
            text-align: center;
            font-weight: 600;
            font-size: 1.1rem;
            letter-spacing: 0.5px;
            border: none;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: var(--transition);
        }

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

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
        }

        /* Header moderne */
        header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
            padding: 0rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .logo {
    display: flex;
    align-items: center;
    min-width: 7rem;
    max-width: 7rem;
    height: auto;
    flex-shrink: 0;
}

.logo a {
    display: flex;
    width: 100%;
    align-items: center;
    text-decoration: none;
    border: none;
    outline: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.logo a:focus {
    outline: 2px solid #2a5db0;
    outline-offset: 2px;
    border-radius: 4px;
}

.logo img {
    max-height: 75px;
    width: 100%;
    object-fit: fill;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}
        .logo i {
            margin-right: 10px;
            font-size: 2rem;
            
        }
        .logo .brand-name-logo{
            background: linear-gradient(45deg,rgba(42, 93, 176, 1), rgba(42, 93, 176,1));
            
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: bold;
            font-family: "Cabin Sketch", sans-serif;
            text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
        }
        nav ul {
            display: flex;
            gap: 2rem;
        }

        nav ul li a {
            position: relative;
            font-weight: 500;
            padding: 10px 0;
            transition: var(--transition);
        }

        nav ul li a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 3px;
            background: var(--gradient-primary);
            transition: var(--transition);
            transform: translateX(-50%);
            border-radius: 2px;
        }

        nav ul li a:hover::after,
        nav ul li a.active::after {
            width: 100%;
        }

        .language-selector {
            position: relative;
        }

        .language-selector select {
            appearance: none;
            padding: 12px 40px 12px 15px;
            border-radius: 25px;
            border: 2px solid var(--primary-color);
            background: white;
            font-family: "Outfit", sans-serif;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .language-selector::after {
            content: '\f078';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            pointer-events: none;
            color: var(--primary-color);
        }

        .language-selector select:hover {
            border-color: var(--primary-hover);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        /* Hero section spectaculaire */
        .hero {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            text-align: center;
            padding: 8rem 2rem;
            position: relative;
            overflow: hidden;
            animation: fadeInUp 1s ease-out;

        }
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(40px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            opacity: 0.3;
            animation: shimmer 3s ease-in-out infinite;
        }
        @keyframes shimmer {
            0%, 100% {
                background-position: -200% 0;
            }
            50% {
                background-position: 200% 0;
            }
        }    
        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 1200px;
            margin: 0 auto;
        }

        h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            margin-bottom: 2rem;
            font-weight: 800;
            line-height: 1.2;
            animation: slideInDown 0.8s ease-out 0.2s both;

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

        .brand-name {
            background: linear-gradient(45deg, #ffd700, #ffed4e);
            
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: bold;
            font-family: "Cabin Sketch", sans-serif;
            text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
        }

        .content {
            max-width: 900px;
            margin: 0 auto;
            text-align: left;
        }

        .intro-text {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            text-align: center;
        }

        .steps-index {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }

        .step-index {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 2rem;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            transition: var(--transition);
        }

        .step-index:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.15);
        }

        .examples {
            margin: 3rem 0;
        }

        .example-title {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 2rem;
            text-align: center;
        }

        .example-question {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 1.5rem;
            margin: 1rem 0;
            border-radius: 15px;
            border-left: 4px solid #ffd700;
        }

        .highlight {
            background: linear-gradient(45deg, #ffd700, #ffed4e);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 700;
        }

        .conclusion {
            margin-top: 3rem;
            padding: 2rem;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            text-align: center;
            font-size: 1.1rem;
                        margin-bottom: 2rem;

        }

        /* Section des choix principaux */
        .main-choices {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 3rem;
            padding: 5rem 2rem;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            justify-content: center;

        }

        .choice {
            background: white;
            border-radius: 25px;
            padding: 3rem;
            text-align: center;
            transition: var(--transition);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }

        .choice::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: var(--gradient-primary);
            transform: scaleX(0);
            transition: var(--transition);
        }

        .choice:hover::before {
            transform: scaleX(1);
        }

        .choice:hover {
            transform: translateY(-15px);
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
        }

        .choice h2 {
            font-size: 2rem;
            margin-bottom: 1.5rem;
            font-weight: 700;
        }

        .choice p {
            margin-bottom: 2rem;
            font-size: 1.1rem;
            opacity: 0.8;
        }

        .discover h2 { color: var(--dark-color); }
        .create h2 { color: var(--primary-color); }
        .resources h2 { color: var(--secondary-color); }
        .explore h2 { color: var(--violet-color); }

        .discover .btn-primary { background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); }
        .resources .btn-primary { background: linear-gradient(135deg, var(--secondary-color), var(--secondary-hover)); }
        .explore .btn-primary { background: linear-gradient(135deg, var(--violet-color), var(--violet-hover)); }

        /* Section À propos */
        .about-brief {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 5rem 2rem;
            text-align: center;
            position: relative;
        }

        .about-brief h2 {
            font-size: 2.5rem;
            margin-bottom: 2rem;
            font-weight: 700;
        }

        .about-brief p {
            max-width: 800px;
            margin: 0 auto 1.5rem;
            font-size: 1.2rem;
            line-height: 1.8;
        }

        /* Footer moderne */
        footer {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            color: white;
            padding: 4rem 2rem 2rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-section h3 {
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
            position: relative;
            padding-bottom: 0.5rem;
        }

        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }

        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 1.5rem;
        }

        .social-icons a {
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            font-size: 1.2rem;
        }

        .social-icons a:hover {
            background: var(--gradient-primary);
            transform: translateY(-3px);
        }

        .copyright {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 3rem;
            opacity: 0.8;
        }

        /* Google Translate */
        #google_translate_element {
            margin: 2rem 0;
            text-align: center;
        }

        /* Media Queries */
        @media (max-width: 768px) {
            
            .hero {
                padding: 5rem 1rem;
            }
            
            .main-choices {
                grid-template-columns: 1fr;
                padding: 3rem 1rem;
            }
            
            .floating-text {
                font-size: 1rem;
            }
        }


.hamburger {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 2.1rem;
    color: var(--primary-color);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: transform 0.3s;
}
.hamburger:active { transform: scale(0.95); }
.hamburger i { pointer-events: none; }

.desktop-nav, .desktop-lang {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.mobile-nav,
.mobile-nav-overlay,
.mobile-language-selector {
    display: none;
}

@media (max-width: 900px) {
    .desktop-nav,
    .desktop-lang {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
        z-index: 9999 !important;
        padding: 0.5rem 0.7rem;
    }
  .hamburger:active,
  .hamburger:focus {
    background: var(--light-color);
    color: var(--primary-hover);
    outline: none;
  }
  

    .mobile-nav {
        z-index: 2000;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 80vw;
        max-width: 340px;
        background: rgba(255,255,255,0.97);
        box-shadow: -2px 0 40px rgba(42,93,176,0.12);
        padding: 0 2rem;
        gap: 1rem;
        transition: transform 0.4s cubic-bezier(.77,0,.18,1), opacity 0.2s;
        transform: translateX(110%);
        opacity: 0;
        pointer-events: none;
        z-index: 2000;
    }
    .mobile-nav.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
    .mobile-nav ul {
        
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
    }
    .mobile-nav ul li a {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--primary-color);
        padding:2rem;
        width: 100%;
        display: flex;
        border-bottom: 1px solid #ececec;
        border-radius: 0;
        justify-content: center;
        transition: background 0.2s;
    }
    .mobile-nav ul li a:hover {
        background: #f6f6fb;
    }
    
    
    /* Overlay */
    .mobile-nav-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(33,43,87,0.22);
        z-index: 999;
        animation: fadeIn 0.3s;
    }
    .fa-times{
        position: relative;
        z-index: 2001 !important;
    }
    .mobile-nav-overlay.active {
        display: block;
    }
    header {
          
            padding: 0rem 1rem 0rem 0.5rem;
           
        }
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }


}
/* Réduit la taille générale du widget Google Translate */
#google_translate_element {
  font-size: 0;
  height: 38px; /* ou la hauteur de ton select */
  min-width: 140px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 !important;
}

/* Règle la taille du select (combo) */
#google_translate_element select.goog-te-combo {
  font-size: 0.8rem !important;
  height: 32px !important;
  padding: 4px 15px 4px 10px !important;
  border-radius: 20px !important;
  border: 2px solid var(--primary-color) !important;
  background: white !important;
  color: var(--primary-color) !important;
  font-family: inherit !important;
}

/* Masque tout sauf le select */
#google_translate_element .goog-te-gadget {
  font-size: 0px; /* cache les textes parasites */
}

#google_translate_element .goog-te-gadget > *:not(select):not(.goog-te-combo) {
  display: block !important; /* masque le badge et le texte */
}


/* SOLUTION GOOGLE TRANSLATE OPTIMISÉE */
.language-container {
    position: relative;
}

.language-selector-desktop {
    display: block;
}

.language-selector-mobile {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: white;
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px 12px;
    border: 2px solid var(--primary-color);
}

/* Styles Google Translate personnalisés */
#google_translate_element {
    margin: 0 !important;
    padding: 0 !important;
}

.goog-te-banner-frame,
.goog-te-menu-frame {
    display: none !important;
}

.goog-te-gadget {
    font-size: 0 !important;
}

.goog-te-gadget .goog-te-combo {
    font-size: 14px !important;
    font-family: "Outfit", sans-serif !important;
    font-weight: 500 !important;
    padding: 8px 35px 8px 12px !important;
    border-radius: 20px !important;
    border: 2px solid var(--primary-color) !important;
    background: white !important;
    color: var(--primary-color) !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    outline: none !important;
    min-width: 120px !important;
}

@media (max-width: 768px) {
    .language-selector-desktop {
        display: none !important;
    }
    .language-selector-mobile {
        display: block !important;
    }
}