/* ===== VARIABLES CSS ===== */
:root {
    --primary-blue: #1e88e5;
    --primary-blue-dark: #1565c0;
    --primary-blue-light: #64b5f6;
    --accent-orange: #ff9800;
    --accent-orange-dark: #e68900;
    --neutral-light: #f8f9fa;
    --neutral-beige: #f5f1e8;
    --neutral-dark: #2c3e50;
    --card-beige: #f9f7f3;
    --text-light: #ffffff;
    --text-dark: #333333;
    --success-green: #4CAF50;
    --warning-yellow: #FFC107;
    --error-red: #e74c3c;
    --border-color: #e0e0e0;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.1);
    --transition-fast: 0.3s;
    --transition-normal: 0.4s;
    --transition-slow: 0.6s;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #fefefe;
    overflow-x: hidden;
    padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
}

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

/* ===== HEADER PLUS BLANC ===== */
.main-header {
    background-color: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(0px);
    transition: all var(--transition-normal);
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Couleur du logo et des liens dans le header transparent */
.main-header:not(.scrolled) .logo {
    color: white;
}

.main-header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.main-header:not(.scrolled) .nav-link:hover {
    color: white;
}

.main-header:not(.scrolled) .language-switcher {
    color: rgba(255, 255, 255, 0.9);
}

.main-header:not(.scrolled) .language-switcher:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.main-header:not(.scrolled) .login-btn {
    background-color: #4f9ad1 !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.main-header:not(.scrolled) .login-btn:hover {
    background-color: #3f8ac1 !important;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
    transition: color var(--transition-fast);
}

.main-header:not(.scrolled) .logo {
    color: white;
}

.flag {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-spacer {
    flex-grow: 1;
}

.nav-link {
    color: var(--neutral-dark);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    left: 0;
    bottom: 0;
    transition: width var(--transition-fast);
}

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

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50px;
    transition: background-color var(--transition-fast);
    font-weight: 500;
}

.language-switcher:hover {
    background-color: var(--neutral-light);
}

.login-btn {
    background-color: #4f9ad1;
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.login-btn:hover {
    background-color: #3f8ac1;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(79, 154, 209, 0.3);
}

/* ===== BOUTON CONNEXION MOBILE ===== */
.mobile-login-btn-header {
    display: none;
}

/* ===== MENU HAMBURGER (MOBILE) ===== */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--neutral-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.main-header:not(.scrolled) .hamburger-menu span {
    background-color: white !important;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Menu Mobile Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav {
    padding: 100px 30px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    height: 100%;
    overflow-y: auto;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5rem;
    color: var(--neutral-dark);
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mobile-nav-link {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--neutral-dark);
    padding: 12px 0;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.mobile-nav-link:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.mobile-language {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: rgba(30, 136, 229, 0.1);
    border-radius: 50px;
    margin-top: 20px;
    font-weight: 500;
}

/* MODIFICATION: Bouton connexion menu sandwich en #4f9ad1 */
.mobile-login-btn {
    width: 100%;
    max-width: 250px;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #4f9ad1 !important;
    color: white !important;
    border: 2px solid #4f9ad1 !important;
}

.mobile-login-btn:hover {
    background-color: #3f8ac1 !important;
    border-color: #3f8ac1 !important;
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 150px 0 150px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('hero-bg.jpg') no-repeat center center/cover;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: -80px;
    align-items: center;
    min-height: 100vh;
}

.hero-content-left {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 700px;
    margin: 0 0 0 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 300;
}

/* CORRECTION DES STATISTIQUES HERO */
.stats-left {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    max-width: 100%;
    flex-wrap: wrap;
}

.stat-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 20px 25px;
    border-radius: 12px;
    min-width: 140px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s;
    text-align: center;
    flex: 1;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFD700;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cta-buttons-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 20px;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--accent-orange-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.3);
}

.btn-secondary {
    background-color: #3c84f6;
    color: white;
    border-color: #3c84f6;
}

.btn-secondary:hover {
    background-color: #2c74e6;
    color: white;
    border-color: #2c74e6;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(60, 132, 246, 0.3);
}

/* ===== SECTION À PROPOS ===== */
.about-section-new {
    padding: 80px 0;
    background-color: #f5edeb;
    position: relative;
    margin-top: -50px;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image-col {
    position: relative;
    margin-top: -80px;
    z-index: 2;
}

.about-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 10px solid white;
    z-index: 2;
    height: 600px;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: scale(1.03);
}

.about-content-col {
    padding-right: 20px;
    position: relative;
    z-index: 3;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 15px;
    padding: 5px 15px;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--neutral-dark);
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-blue-light));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.about-title {
    text-align: left;
    margin-bottom: 15px;
}

.about-title::after {
    display: none;
}

.decorative-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-blue-light));
    margin: 20px auto 25px;
    border-radius: 2px;
}

.decorative-line-left {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-blue-light));
    margin: 20px 0 25px 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-text {
    margin-bottom: 30px;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 18px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(30, 136, 229, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(30, 136, 229, 0.15);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(30, 136, 229, 0.12);
    transform: translateX(5px);
}

.highlight-icon {
    color: var(--primary-blue);
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.highlight-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--neutral-dark);
}

.personality-section {
    margin-top: 25px;
}

.personality-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--neutral-dark);
    margin-bottom: 12px;
}

.personality-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.personality-tag {
    padding: 6px 14px;
    background: rgba(30, 136, 229, 0.12);
    color: var(--primary-blue);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(30, 136, 229, 0.2);
    transition: all 0.3s ease;
}

.personality-tag:hover {
    background: rgba(30, 136, 229, 0.2);
    transform: translateY(-2px);
}

/* COULEUR BLEUE POUR MOTS SPÉCIFIQUES */
.text-primary {
    color: #3c84f6 !important;
}

.section-title span.text-primary {
    color: #3c84f6 !important;
}

/* ===== COURSES SECTION ===== */
.courses-section {
    padding: 40px 0 80px 0;
    background-color: #f5f2eb;
    position: relative;
}

.courses-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 0;
}

.course-card {
    background-color: var(--card-beige);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: auto;
    display: flex;
    flex-direction: column;
}

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

.course-card.featured {
    transform: translateY(-5px);
    border: 2px solid var(--primary-blue);
}

.course-card.featured:hover {
    transform: translateY(-15px);
}

.course-header {
    padding: 20px;
    color: var(--text-light);
    text-align: center;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.course-card:nth-child(1) .course-header {
    background: linear-gradient(135deg, #2d8de2, #2d8de2);
}

.course-card:nth-child(2) .course-header {
    background: linear-gradient(135deg, #636dcd, #636dcd);
}

.course-card:nth-child(3) .course-header {
    background: linear-gradient(135deg, #135cb7, #135cb7);
}

.course-type {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.course-focus {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
    max-width: 200px;
}

.course-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-price {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--border-color);
    flex-shrink: 0;
}

.price-main {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--neutral-dark);
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.price-per-hour {
    font-size: 1rem;
    font-weight: 100;
    color: #000;
    margin-left: 2px;
}

.price-duration {
    display: none;
}

.price-details {
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
    text-align: center;
}

.price-details div {
    margin-bottom: 8px;
    display: block;
    justify-content: center;
    text-align: center;
}

.course-features {
    margin-bottom: 20px;
    flex-grow: 1;
}

.course-feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 6px 0;
}

.course-feature i {
    color: var(--success-green);
    margin-right: 10px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.course-feature span {
    color: #555;
    font-size: 0.95rem;
}

.course-card .btn-primary {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border-radius: 50px;
    font-weight: 600;
    margin-top: auto;
    background-color: #ea8934;
    border-color: #ea8934;
}

.course-card .btn-primary:hover {
    background-color: #da7924;
    border-color: #da7924;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(234, 137, 52, 0.3);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 80px 0;
    background-color: #f1f2f4;
    position: relative;
    overflow: hidden;
}

.testimonials-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    padding: 0 50px;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    flex: 1;
    overflow: visible;
}

.testimonial-card {
    position: relative;
    padding: 25px 20px;
    background: var(--neutral-light);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-blue-light);
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--primary-blue-light);
    opacity: 0.2;
}

.rating-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.rating-stars i {
    color: var(--warning-yellow);
    font-size: 1.1rem;
}

.testimonial-content {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    padding-left: 0;
    flex-grow: 1;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    flex-shrink: 0;
}

.author-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--neutral-dark);
    margin-bottom: 3px;
}

.author-info p {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* CORRECTION DES FLÈCHES */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--neutral-dark);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.slider-btn:hover {
    background: white;
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 25px 0;
}

.testimonial-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(30, 136, 229, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.testimonial-indicator.active {
    background: var(--primary-blue);
    transform: scale(1.3);
}

.testimonial-indicator:hover {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* ===== SECTION FINAL CTA ===== */
.final-cta-section {
    padding: 80px 0;
    background: #7da2ca;
    color: white;
    position: relative;
    overflow: hidden;
}

.final-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.final-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.final-cta-title .final-cta-accent {
    color: #e09c5f;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.final-cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.final-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.btn-xl {
    padding: 16px 35px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-accent {
    background-color: #e09c5f;
    color: white;
    border: 2px solid #e09c5f;
}

.btn-accent:hover {
    background-color: #d08c4f;
    border-color: #d08c4f;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(224, 156, 95, 0.3);
}

.btn-outline-white {
    background-color: #3c84f6;
    color: white;
    border: 2px solid #3c84f6;
}

.btn-outline-white:hover {
    background-color: #2c74e6;
    color: white;
    border-color: #2c74e6;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(60, 132, 246, 0.3);
}

.final-cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ===== CONTACT & FOOTER ===== */
.contact-section {
    padding: 60px 0 25px;
    background-color: #2c3d50;
    color: var(--text-light);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    align-items: start;
}

.contact-column {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.contact-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--primary-blue);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.teacher-blue {
    color: #f59f0b !important;
}

.brand-info {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    flex-grow: 1;
}

.brand-info p {
    margin-bottom: 20px;
}

.brand-stats {
    margin-top: 15px;
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
}

.brand-stats div {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-links,
.legal-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.quick-links a,
.legal-links a {
    color: #ccc;
    transition: all var(--transition-fast);
    display: inline-block;
    font-size: 1rem;
}

.quick-links a:hover,
.legal-links a:hover {
    color: var(--text-light);
    padding-left: 8px;
}

.legal-links li:last-child {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    color: #ccc;
}

.footer-bottom {
    text-align: left;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.heart {
    color: var(--error-red);
    animation: heartbeat 1.5s infinite;
    display: inline-block;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    5% { transform: scale(1.2); }
    10% { transform: scale(1); }
    15% { transform: scale(1.3); }
    20% { transform: scale(1); }
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
    
    .hero h1 {
        font-size: 2.6rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* TABLETTE */
@media (max-width: 992px) {
    .courses-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .course-card.featured {
        transform: none;
    }
    
    .course-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-col {
        order: 2;
        margin-top: -60px;
    }
    
    .about-content-col {
        order: 1;
        padding-right: 0;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 120px 0 180px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 15px 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .final-cta-title {
        font-size: 2rem;
    }
    
    .final-cta-subtitle {
        font-size: 1.1rem;
    }
    
    .btn-xl {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    /* MENU HAMBURGER SUR TABLETTE */
    .desktop-menu {
        display: none !important;
    }
    
    .hamburger-menu {
        display: flex !important;
    }
    
    .logo-section {
        justify-content: center;
        text-align: center;
    }
}

/* MOBILE - MODIFICATIONS UNIQUEMENT POUR MOBILE */
@media (max-width: 768px) {
    /* 1. HEADER MOBILE AVEC LOGO À ÉGALE DISTANCE */
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        position: relative;
        width: 100%;
    }
    
    /* 3 colonnes égales pour des distances égales */
    .hamburger-menu {
        order: 1;
        flex: 1;
        display: flex;
        justify-content: flex-start;
        margin-right: 0;
        min-width: 30px;
    }
    
    /* Logo PARFAITEMENT centré avec distances égales */
    .logo-section {
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        position: static;
        transform: none;
        left: auto;
        top: auto;
        margin: 0;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .flag {
        font-size: 1.3rem;
        margin-left: 5px;
    }
    
    /* Bouton connexion à droite - 3ème colonne */
    .mobile-login-btn-header {
        display: block !important;
        background-color: #4f9ad1;
        color: white;
        padding: 8px 15px;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 500;
        text-decoration: none;
        white-space: nowrap;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        text-align: center;
        line-height: 1.4;
        order: 3;
        flex: 1;
        display: flex;
        justify-content: flex-end;
        margin-left: auto;
        z-index: 1001;
    }
    
    .mobile-login-btn-header:hover {
        background-color: #3f8ac1;
        transform: translateY(-2px);
    }
    
    /* Cacher le bouton connexion desktop sur mobile */
    .login-btn {
        display: none;
    }
    
    /* 2. HERO SECTION */
    .hero {
        padding: 100px 0 150px 0;
        text-align: center;
    }
    
    .hero-content-left {
        text-align: center;
        margin: 20px auto 0 auto;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Statistiques centrées */
    .stats-left {
        align-items: center;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        margin: 30px 0;
    }
    
    .stat-item {
        text-align: center;
        min-width: 100px;
        padding: 12px 15px;
        flex: 0 0 calc(50% - 10px);
    }
    
    .stat-number {
        font-size: 1.7rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
        white-space: normal;
    }
    
    /* Boutons CTA */
    .cta-buttons-left {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* 3. ENLEVER L'ICÔNE BULLE DU BOUTON HERO SUR MOBILE */
    .mobile-course-btn .emoji {
        display: none;
    }
    
    /* 4. COURS ET TÉMOIGNAGES */
    .courses-container,
    .testimonials-slider {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    /* 5. CONTACT ET FOOTER - TOUT CENTRÉ */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .contact-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Centrer les statistiques du brand */
    .brand-info {
        text-align: center;
        align-items: center;
    }
    
    .brand-info p {
        text-align: center;
    }
    
    .brand-stats {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    
    .brand-stats div {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    
    /* Centrer l'adresse email */
    .legal-links {
        align-items: center;
    }
    
    .email-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    
    /* 6. TITRES ET SOUS-TITRES */
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-content,
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* 7. CARTES DE COURS */
    .course-type {
        font-size: 1.4rem;
    }
    
    .price-main {
        font-size: 2.2rem;
    }
    
    /* 8. HIGHLIGHTS GRID */
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    /* 9. BOUTONS FINAL CTA */
    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-xl {
        width: 100%;
        max-width: 280px;
    }
    
    /* 10. SLIDER TÉMOIGNAGES */
    .testimonials-slider-container {
        padding: 0 45px;
        gap: 5px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    /* 11. FOOTER BOTTOM */
    .footer-bottom {
        text-align: center;
        justify-content: center;
    }
    
    /* 12. CORRECTION IMAGE SUR MOBILE */
    .about-image-col {
        margin-top: 0 !important;
    }
    
    .about-image-wrapper {
        height: 400px !important;
    }
    
    /* 13. TAGS DE PERSONNALITÉ */
    .personality-tags {
        justify-content: center;
    }
    
    .personality-tag {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

/* Cacher le bouton mobile sur desktop */
@media (min-width: 769px) {
    .mobile-login-btn-header {
        display: none !important;
    }
}

/* TRÈS PETITS ÉCRANS */
@media (max-width: 480px) {
    .mobile-login-btn-header {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .hamburger-menu {
        width: 24px;
        height: 18px;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .flag {
        font-size: 1.2rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-label {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    .course-body,
    .testimonial-card {
        padding: 20px 15px;
    }
    
    .contact-column h3 {
        font-size: 1.1rem;
    }
    
    .brand-stat,
    .quick-links a,
    .legal-links a {
        font-size: 0.9rem;
    }
    
    .final-cta-title {
        font-size: 1.6rem;
    }
    
    .stats-left {
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex-basis: calc(33.333% - 10px);
        min-width: auto;
        padding: 10px 12px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .testimonials-slider-container {
        padding: 0 40px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* ORIENTATION PAYSAGE MOBILE */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0;
    }
    
    .mobile-nav {
        padding: 80px 30px 30px;
    }
}

/* PERFORMANCES TOUCH */
@media (hover: none) and (pointer: coarse) {
    .course-card:hover,
    .testimonial-card:hover,
    .stat-item:hover {
        transform: none !important;
    }
    
    .nav-link,
    .btn,
    .slider-btn {
        padding: 15px 20px !important;
    }
}

/* PREVENT ZOOM SUR INPUT */
@media (max-width: 768px) {
    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Cacher menu hamburger sur desktop */
@media (min-width: 993px) {
    .hamburger-menu {
        display: none !important;
    }
    
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* Toucher optimisé pour mobile */
@media (max-width: 768px) {
    .nav-link,
    .btn,
    .course-card,
    .testimonial-card,
    .slider-btn {
        min-height: 44px !important;
    }
}