/* Variables et reset */
:root {
    --primary: #5271ff;
    --primary-dark: #0023bd;
    --secondary: #676464;
    --dark: #000000;
    --light: #F8FAFC;
    --gray: #718096;
    --light-gray: #E2E8F0;
    --border-radius: 15px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

body, html {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 400;
    font-size: 1.08rem;
    line-height: 1.6;
    color: var(--dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    font-family: 'Poppins', Arial, sans-serif;
}

.header-container {
    display: flex;
    justify-content: space-between; /* Change to space-between */
    padding: 15px 20px; /* Adjusted padding */
    max-height: 90px;
}

.hero-v2-header {
    margin-right: 0; /* Remove margin-right */
    align-items: center;
    justify-content: left;
    padding-left:5px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Mobile Navigation Styles */
.burger, .close-slider {
    display: none; /* Hidden by default */
    cursor: pointer;
    background: none;
    border: none;
    z-index: 100;
}

.burger {
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 25px;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-slider {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background-color: var(--primary);
    box-shadow: -4px 0 15px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 105;
    padding: 80px 30px 30px;
}

.mobile-slider.open {
    transform: translateX(0);
}

.mobile-slider ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-slider a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

.mobile-slider .btn {
    background-color: white;
    color: var(--primary);
    text-align: center;
    margin-top: 20px;
}

.close-slider {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 36px;
    line-height: 1;
}

/* Media Query for Mobile */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .burger, .close-slider {
        display: flex; /* Use flex for burger spans */
    }
}



.logo {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    font-family: 'Poppins', Arial, sans-serif;
}

.logo span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary);
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 196, 204, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: #e04c6e;
    box-shadow: 0 6px 15px rgba(255, 94, 125, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--border-radius);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Hero v2 Section */
.hero-v2 {
    padding: 60px 0;
    background-color: #f8faff; /* Light blue background */
    align-items: end;
    margin-bottom: 0px;
    padding-bottom: 0px;
    display: flex;
}

.hero-v2-content {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 60px;
    margin-bottom: 0px;
    width: 80%;
    
}

.hero-v2-img img {
    max-width: 600px;
}

.hero-v2-text {
    max-width: 450px;
}

.hero-v2-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-v2-desc {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 20px;
}

.hero-v2-stars {
    margin-bottom: 20px;
}

.hero-v2-stars i {
    color: #FFD700; /* Gold color for stars */
    font-size: 20px;
}

.hero-v2-btn .btn {
    font-size: 1.1rem;
    padding: 14px 32px;
}

/* Hero section (old) */
.hero {
    background: linear-gradient(135deg, rgba(0,196,204,0.1) 0%, rgba(255,94,125,0.05) 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--dark);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--gray);
}

.rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.rating-stars {
    color: #FFD700;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Features section */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    margin-bottom: 15px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray);
    font-size: 1.08rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    transition: var(--transition);
    text-align: center;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 196, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 28px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Levels section */
.levels {
    background-color: var(--light);
    padding: 80px 0;
}

.levels-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.level-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

.level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
}

.level-card.level-2::before {
    background: var(--secondary);
}

.level-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.level-card h3 span {
    display: block;
    font-size: 1rem;
    color: var(--gray);
    margin-top: 5px;
}

.level-card ul {
    margin: 25px 0;
    padding-left: 20px;
    list-style: none;
    padding-left: 0;
}

.level-card li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
}

.level-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

.level-card.level-2 li::before {
    color: var(--secondary);
}

/* Training options */
.training-options {
    padding: 80px 0;
}

.options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.option-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px 30px;
}

.option-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.option-details {
    margin: 25px 0;
}

.option-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.option-details i {
    color: var(--primary);
    margin-right: 15px;
    margin-top: 3px;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 0;
}

/* Testimonials */
.testimonials {
    background: radial-gradient(circle at 60% 50%, #f8faff 50%, #d7e3ff 100%);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(0, 196, 204, 0.1);
    font-family: Poppins, sans-serif;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Trainer section */
.trainer {
    padding: 80px 0;
}

.trainer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: center;
    max-width: 1000px;
}

.trainer-image {
    border-radius: var(--border-radius);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-weight: bold;
}

.trainer-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.trainer-info p {
    margin-bottom: 20px;
    color: var(--gray);
}

.trainer-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

/* FAQ section */
.faq {
    background-color: var(--light);
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    transition: var(--transition);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Why Canva Section */
.why-canva {
    padding: 30px 30px 30px 30px;
    text-align: left;
}
.why-canva-title {
    font-size: 2.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}
.why-canva-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--gray);
}
.why-canva-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px 40px;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}
.why-canva-item {
    display: flex;
    align-items: center;
    gap: 20px;
}
.why-canva-text {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
}
.why-canva-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.why-canva-icon i {
    font-size: 24px;
}
.why-canva-orange { background-color: #F37A23; }
.why-canva-purple { background-color: #8E44AD; }
.why-canva-pink { background-color: #E91E63; }
.why-canva-blue { background-color: #3498DB; }
.why-canva-camera { background-color: #E91E63; }
.why-canva-cyan { background-color: #16A085; }
.why-canva-video { background-color: #9B59B6; }
.why-canva-turquoise { background-color: #1ABC9C; }

/* CTA section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-white {
    background-color: white;
    color: var(--primary);
    border-radius: var(--border-radius);
}

.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #CBD5E0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #A0AEC0;
    font-size: 0.9rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        gap: 35px;
        align-items: center;
        justify-content: space-between;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons, .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .trainer-stats {
        flex-wrap: wrap;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .feature-card, .level-card, .option-card, .testimonial-card {
        padding: 20px;
    }
}

.formation-accent {
    background: #5271ff;
    border-radius: 15px;
    display: flex;
  align-items: center;
    margin: 100px auto 100px auto;
    padding: 12px 16px 10px 16px;
    max-width: 800px;
    box-sizing: border-box;
    color: #fff;
}
.formation-accent-container {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.formation-accent-img img {
    width: 120px;
    border-radius: 15px;
    box-shadow: 0 4px 8px #3c4a8a22;
}
.formation-accent-text {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.formation-accent-intro {
    font-size: 1.08rem;
    font-weight: 400;
    font-family: 'Poppins', Arial, sans-serif;
    margin-bottom: 7px;
}
.formation-accent-cta {
    font-size: 1.15rem;
    font-weight: 600;
    font-family: 'Poppins', Arial, sans-serif;
    margin-bottom: 10px;
    color: #fff;
}
.formation-accent-bar {
    display: flex;
    height: 5px;
    margin-top: 5px;
}
.bar-cyan {
    background: #41d2e2;
  width: 34%;
  border-radius: 6px 0 0 6px;
}
.bar-yellow {
  background: #fdc826;
  width: 33%;
}
.bar-purple {
  background: #d64ef2;
  width: 33%;
  border-radius: 0 6px 6px 0;
}
.formation-accent-bar span {
  display: block;
  height: 100%;
}
@media (max-width: 800px) {
  .formation-accent-container {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .formation-accent-img img {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }
  .formation-accent-text {
    align-items: flex-start;
  }
}
.hero-v2 {
    position: relative;
    background: radial-gradient(circle at 60% 50%, #f8faff 50%, #d7e3ff 100%);
    padding: 0 0 0 0;
    min-height: 390px;
    font-family: 'Poppins', Arial, sans-serif;
    overflow: hidden;
    min-height: 70vh;
    } 
.hero-v2-header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding: 0;
}
.hero-v2-header img {
  height: 54px;
}
.hero-v2-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    padding: 0 48px 0 48px;
    margin: 0 auto;
    min-height: 330px;
    max-width: 1080px;
    width: 100%;
}
.hero-v2-img {
    flex: 0 0 300px;
    display: flex;
    align-items: bottom;
    justify-content: center;
}
.hero-v2-img img {
  width: 400px;
  
}
.hero-v2-text {
    flex: 1 1 380px;
    max-width: 520px;
    width: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.hero-v2-stars i {
    color: #FFD700; /* Jaune doré */
    font-size: 22px;
}
.hero-v2-title {
    color: #5271ff;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
}
.hero-v2-subtitle {
    color: #000;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.certification-logo {
    width: 80px;
    height: 80px;
    margin-right: 20px;
}

.level-title-container {
    display: flex;
    align-items: center;
}

.level-card ul.custom-bullets {
    list-style: none;
    padding-left: 0;
}

.level-card ul.custom-bullets li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 15px;
}

.slider-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--primary);
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    transition: right 0.3s ease-in-out;
    z-index: 1001;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

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

.slider-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.slider-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.close-btn {
    color: white;
    font-size: 2rem;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.hamburger-menu {
    display: none; /* Caché par défaut */
    cursor: pointer;
    font-size: 1.5rem;
}

@media (max-width: 900px) {
    .desktop-nav {
        display: none;
    }
    .hamburger-menu {
        display: block;
    }
    .hero-v2-content {
        flex-direction: column;
        padding: 12px 4vw;
        width: 100vw;
        box-sizing: border-box;
        max-width: 100vw;
    }
    .hero-v2-text {
        max-width: 100%;
        width: 100%;
        text-align: center;
        align-items: center;
        padding-left: 0;
        box-sizing: border-box;
    }
    .hero-v2-img {
        order: 2;
        flex: 0 0 auto;
        width: 100%;
        justify-content: center;
    }
    .hero-v2-img img {
        width: 90vw;
        max-width: 340px;
        height: auto;
    }
    .btn, .btn-white, .btn-outline {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-bottom: 12px;
    }
    .why-canva-grid, .features-grid, .levels-container, .testimonials-grid, .trainer-container, .footer-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .why-canva-grid {
        min-width: 0;
    }
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }
    .footer-col {
        width: 100%;
        max-width: 100vw;
    }
}
