:root {
    --primary: #2d3436;
    --accent: #c0392b;
    --accent-light: #e74c3c;
    --gold: #d4af37;
    --light: #f8f9fa;
    --dark: #1a1a2e;
    --gray: #636e72;
    --light-gray: #dfe6e9;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-hover: 0 15px 40px rgba(192,57,43,0.15);
    --radius: 12px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: #fff;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

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

section {
    padding: 100px 0;
}

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

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Bloque tout soulignement au survol/focus sur les boutons */
.btn:hover,
.btn:focus,
.btn:visited {
    text-decoration: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    box-shadow: 0 8px 25px rgba(192,57,43,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(192,57,43,0.4);
}

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

.btn-outline:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.navbar.scrolled .logo {
    color: var(--primary);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.navbar.scrolled .nav-links a {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--gold);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--accent);
}

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

.navbar.scrolled .menu-toggle {
    color: var(--primary);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(26,26,46,0.75), rgba(26,26,46,0.85)), url('https://images.unsplash.com/photo-1616046229478-9901c5536a45?auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(192,57,43,0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(231,76,60,0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: white;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212,175,55,0.2);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-buttons .btn-outline {
    color: white;
    border-color: rgba(255,255,255,0.5);
}

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

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

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

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-light);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: white;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotateY(180deg);
}

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

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

.courses {
    background: var(--light);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.course-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    background: var(--accent);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-content {
    padding: 25px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--gray);
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.course-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.course-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}

.course-price span {
    font-size: 0.9rem;
    color: var(--gray);
    text-decoration: line-through;
    margin-right: 5px;
}

.course-rating {
    color: var(--gold);
}

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

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

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-card::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--accent-light);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-text {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

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

.pricing {
    background: var(--light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: white;
    padding: 45px 35px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'POPULAIRE';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent);
    color: white;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-name {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.pricing-price {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--gray);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    color: var(--gray);
    border-bottom: 1px solid var(--light-gray);
}

.pricing-features li i {
    color: var(--accent);
    margin-right: 10px;
}

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

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

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

.faq-question:hover {
    background: var(--light);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 30px 20px;
    color: var(--gray);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.cta {
    background: linear-gradient(135deg, var(--dark), #2d3436);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(192,57,43,0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

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

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

.cta p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
    position: relative;
}

.cta-buttons {
    justify-content: center;
    flex-wrap: wrap;
}

.cta-secondary-btn {
    margin-left: 15px;
}

.cta-form input {
    flex: 1;
    padding: 15px 25px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 20px;
    display: block;
}

.footer-brand p {
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 25px;
}

.footer-social a {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 20px rgba(192,57,43,0.45);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(192,57,43,0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

.gallery-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(192,57,43,0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(212,175,55,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    position: relative;
    z-index: 1;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    background: white;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(192,57,43,0.1), rgba(212,175,55,0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(192,57,43,0.25);
}

.gallery-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.15) rotate(2deg);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(26,26,46,0.95) 0%, rgba(26,26,46,0.7) 50%, rgba(26,26,46,0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    color: white;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: white;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideUp 0.6s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.gallery-item:hover .gallery-content h3 {
    opacity: 1;
}

.gallery-content p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
    line-height: 1.5;
    animation: slideUp 0.6s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.gallery-item:hover .gallery-content p {
    opacity: 1;
}

.gallery-date {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: slideUp 0.6s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.gallery-item:hover .gallery-date {
    opacity: 1;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item:nth-child(1) .gallery-content h3 { animation-delay: 0.1s; }
.gallery-item:nth-child(1) .gallery-content p { animation-delay: 0.2s; }
.gallery-item:nth-child(1) .gallery-date { animation-delay: 0.3s; }

.gallery-item:nth-child(2) .gallery-content h3 { animation-delay: 0.15s; }
.gallery-item:nth-child(2) .gallery-content p { animation-delay: 0.25s; }
.gallery-item:nth-child(2) .gallery-date { animation-delay: 0.35s; }

.gallery-item:nth-child(3) .gallery-content h3 { animation-delay: 0.2s; }
.gallery-item:nth-child(3) .gallery-content p { animation-delay: 0.3s; }
.gallery-item:nth-child(3) .gallery-date { animation-delay: 0.4s; }

.gallery-item:nth-child(4) .gallery-content h3 { animation-delay: 0.25s; }
.gallery-item:nth-child(4) .gallery-content p { animation-delay: 0.35s; }
.gallery-item:nth-child(4) .gallery-date { animation-delay: 0.45s; }

.gallery-item:nth-child(5) .gallery-content h3 { animation-delay: 0.3s; }
.gallery-item:nth-child(5) .gallery-content p { animation-delay: 0.4s; }
.gallery-item:nth-child(5) .gallery-date { animation-delay: 0.5s; }

.gallery-item:nth-child(6) .gallery-content h3 { animation-delay: 0.35s; }
.gallery-item:nth-child(6) .gallery-content p { animation-delay: 0.45s; }
.gallery-item:nth-child(6) .gallery-date { animation-delay: 0.55s; }

@media (max-width: 992px) {
    .features-grid, .courses-grid, .testimonials-grid, .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 3rem;
    }
    .section-title h2 {
        font-size: 2.4rem;
    }
}

.nav-cta-mobile {
    display: none !important;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    .nav-desktop-cta {
        display: none !important;
    }
    .nav-cta-mobile {
        display: block !important;
        padding-top: 15px;
        margin-top: 10px;
        border-top: 1px solid var(--light-gray);
        width: 100%;
    }
    .features-grid, .courses-grid, .testimonials-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-image {
        height: 220px;
    }
    .nav-links {
        position: fixed;
        top: 80px; left: 0; right: 0;
        background: white;
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-links a {
        color: var(--primary) !important;
    }
    .menu-toggle {
        display: block !important;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .section-title h2 {
        font-size: 2rem;
    }
    .section-title {
        margin-bottom: 40px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    .cta-form {
        flex-direction: column;
        align-items: center;
    }
    .cta-secondary-btn {
        margin-left: 0;
    }
    .cta h2 {
        font-size: 1.8rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .nav-cta-outline {
        color: var(--primary) !important;
        border-color: var(--primary) !important;
    }
    .course-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
    .course-meta span {
        font-size: 0.8rem;
    }
    .pricing-card {
        padding: 30px 25px;
    }
    .pricing-price {
        font-size: 2.4rem;
    }
    .feature-card {
        padding: 30px 20px;
    }
    .faq-question {
        padding: 16px 20px;
        font-size: 0.95rem;
    }
    .faq-answer-inner {
        padding: 0 20px 16px;
    }
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }
    .hero p {
        font-size: 0.95rem;
    }
    .section-title h2 {
        font-size: 1.5rem;
    }
    .container {
        padding: 0 15px;
    }
    .course-content {
        padding: 18px;
    }
    .course-content h3 {
        font-size: 1.1rem;
    }
    .pricing-price {
        font-size: 2rem;
    }
    .pricing-features li {
        font-size: 0.9rem;
        padding: 8px 0;
    }
    .gallery-image {
        height: 180px;
    }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .course-detail-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Navbar button styles */
.nav-cta-outline {
    padding: 8px 20px;
    font-size: 0.9rem;
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}
.nav-cta-outline:hover {
    background: rgba(255,255,255,0.1);
}

/* Navbar scrolled state */
.navbar {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.navbar.scrolled .nav-links a {
    color: #2d3436 !important;
}
.navbar.scrolled .nav-cta-outline {
    color: #c0392b !important;
    border-color: #c0392b !important;
}
.navbar.scrolled .nav-cta-outline:hover {
    background: #c0392b;
    color: white !important;
}
.navbar.scrolled a span:first-child {
    color: #c0392b;
}
.navbar.scrolled a span:last-child {
    color: #2d3436;
}

/* Mobile sticky CTA bar */
@media (max-width: 768px) {
    .course-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        padding: 15px;
        background: white;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
        border-radius: 0;
    }
}

/* Stats band */
.stats-band {
    padding: 70px 0;
    background: linear-gradient(135deg, #2d3436 0%, #1a1a2e 100%);
    color: #fff;
}
.stats-band .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item {
    padding: 10px;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    color: #d4af37;
    line-height: 1.1;
    margin-bottom: 10px;
}
.stat-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.45;
    letter-spacing: 0.3px;
}
@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .stat-item:nth-child(3) { border-right: none; }
}
@media (max-width: 600px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 18px; }
}

/* FIX soulignement menu + blocage clics */
.nav-links a, .nav-links a:hover, .navbar a, #navLinks a { text-decoration: none !important; border-bottom: none !important; box-shadow: none !important; }
.nav-links a::after { display: none !important; }
/* Panneau mobile : ne jamais bloquer les clics desktop (menu inline) */
#navMenuWrap { pointer-events: auto; }
@media (max-width: 1200px) {
  #navMenuWrap:not(.active) { pointer-events: none; }
  #navMenuWrap.active { pointer-events: auto; }
}
#login-modal[style*="display: none"], #login-modal[style*="display:none"] { pointer-events: none !important; }

/* FIX fluidite */
.hero, .navbar, .stat-num, .course-card { will-change: transform; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
