/* Variables CSS */
:root {
    --primary-color: #4285f4;
    --secondary-color: #34a853;
    --text-dark: #2d3748;
    --text-light: #f7fafc;
    --gradient: linear-gradient(45deg, #4285f4, #34a853);
}

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

.navbar {
    background: var(--gradient);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--text-light);
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    transform: translateY(-2px);
}

.nav-menu a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
}

.mobile-menu {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 64px;
        right: -100%;
        flex-direction: column;
        background: var(--gradient);
        width: 70%;
        height: calc(100vh - 64px);
        padding: 2rem;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-menu {
        display: block;
    }
}


/* ACCUEIL */
/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    margin-top: 64px; /* Compensation pour la navbar fixe */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
                url('https://images.unsplash.com/photo-1614332287897-cdc485fa562d') center/cover;
}

.hero-container {
    position: relative;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    display: inline-block; 
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.drive-icon {
    position: absolute;
    bottom: 2rem;
    animation: float 3s ease-in-out infinite;
    color: var(--text-light);
}

/* Bouton CTA */
.cta-button {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 30px;
    background: var(--gradient);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}


/* SOMMAIRE */

/* Section Cours */
.courses {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.courses h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

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

.course-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.course-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.course-card h3 {
    margin: 1rem 0;
    color: var(--text-dark);
}

.course-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.course-btn {
    /* Styles existants */
    position: relative; /* Ajouté pour le positionnement */
}

.course-link {
    color: white !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    height: 100%;
}

.course-link:hover {
    color: white !important;
    text-decoration: none !important;
}

/* Conserve l'animation de l'icône */
.course-btn:hover .course-link i {
    transform: translateX(3px);
    transition: transform 0.3s ease;
}

.course-btn:hover {
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .courses {
        padding: 3rem 1rem;
    }
    
    .courses h2 {
        font-size: 2rem;
    }
    
    .course-card {
        padding: 1.5rem;
    }
}


/* SECTION MODULES */

.modules {
    padding: 5rem 2rem;
    background: linear-gradient(45deg, #f8f9fa 70%, #e9ecef 30%);
}

.modules h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
}

.modules h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--gradient);
}

.modules-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.module-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(66, 133, 244, 0.1);
}

.module-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.drive-bg { background: rgba(66, 133, 244, 0.1); }
.docs-bg { background: rgba(66, 133, 244, 0.1); }
.slides-bg { background: rgba(234, 67, 53, 0.1); }
.sheets-bg { background: rgba(251, 188, 5, 0.1); }
.forms-bg { background: rgba(52, 168, 83, 0.1); }
.sites-bg { background: rgba(66, 133, 244, 0.1); }
.business-bg { background: rgba(66, 133, 244, 0.1); }

.icon-wrapper i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.module-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.module-card p {
    color: #6c757d;
    min-height: 60px;
    margin-bottom: 1.5rem;
}

.module-btn {
    position: relative;
    color: #4285f4;;
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.module-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.module-link span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    pointer-events: none; /* Empêche le span de bloquer le clic */
}

/* Conserve l'effet hover existant */
.module-btn:hover {
    color: white !important;
}

/* Supprime le soulignement au hover */
.module-link:hover {
    text-decoration: none !important;
}

.hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: all 0.4s ease;
    z-index: 0;
}

.module-btn span {
    position: relative;
    z-index: 1;
}

.module-btn:hover .hover-effect {
    left: 0;
}

.module-btn:hover {
    color: white;
    border-color: transparent;
}

/* Responsive */
@media (max-width: 768px) {
    .modules {
        padding: 3rem 1rem;
    }
    
    .module-card {
        padding: 1.5rem;
    }
}


/* GOOGLEDRIVE */

/* Section Google Drive */
.drive-section {
    margin: 4rem 0;
}

/* Partie 1 */
.drive-part1 {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    padding: 4rem 2rem;
    color: white;
}

.drive-content {
    max-width: 1200px;
    margin: 0 auto;
}

.drive-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.drive-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.drive-list li {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.drive-list li:hover {
    transform: translateX(10px);
}

.drive-list i {
    color: #34a853;
}

/* Partie 2 */

.drive-part3 {
    padding: 4rem 2rem;
    background: linear-gradient(45deg, #f8f9fa 0%, #e9ecef 100%);
}

.drive-features {
    max-width: 1200px;
    margin: 0 auto;
}

.drive-features h3 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
}

.drive-features h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient);
}

.feature-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-visual {
    position: relative;
    height: 250px;
}

.feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.feature-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.feature-content {
    padding: 2rem;
    text-align: center;
}

.feature-content h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-content p {
    color: #6c757d;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .feature-card {
        margin: 1.5rem 0;
    }

    .feature-visual {
        height: 200px;
    }

    .drive-features h3 {
        font-size: 1.8rem;
    }
}


/* CONTACT */

/* Section Contact */
.contact-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    color: white;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
}

.submit-btn {
    background: var(--gradient);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-form h2 {
        font-size: 2rem;
    }
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    color: white;
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
    position: relative;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

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

.footer-col h4 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-col p {
    opacity: 0.9;
    line-height: 1.6;
    margin: 1rem 0;
}

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

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.footer-links li {
    margin: 1rem 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    gap: 1rem;
    opacity: 0.8;
}

.footer-contact li {
    margin: 1.2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.legal-links a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
    }
}