/* ========================================
   FORMATION PAGE - MODERN VIOLET THEME
   Matching home page design
======================================== */

/* ========================================
   CSS VARIABLES
======================================== */
:root,
[data-theme="light"] {
    /* Violet Color Palette */
    --violet-primary: #7c3aed;
    --violet-light: #f5f3ff;
    --violet-dark: #5b21b6;
    --violet-accent: #8b5cf6;
    --violet-foreground: #1e1b4b;
    --violet-muted: #6d6a8c;
    --violet-card-bg: #ffffff;

    /* Shadows */
    --violet-shadow: 0 4px 12px rgba(124, 58, 237, 0.1);
    --violet-shadow-hover: 0 8px 24px rgba(124, 58, 237, 0.15);
    --violet-shadow-lg: 0 10px 30px rgba(124, 58, 237, 0.2);

    /* Gradients */
    --violet-gradient: linear-gradient(135deg, #5b21b6 0%, #7c3aed 50%, #8b5cf6 100%);
    --violet-gradient-soft: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%);
}

/* ========================================
   DARK MODE
======================================== */
[data-theme="dark"] {
    --violet-primary: #8b5cf6;
    --violet-light: #0f1724;
    --violet-dark: #4c1d95;
    --violet-accent: #7c3aed;
    --violet-foreground: #e6e1ff;
    --violet-muted: #bdb6d9;
    --violet-card-bg: #0b1220;
    --violet-shadow: 0 6px 20px rgba(11, 18, 32, 0.6);
    --violet-shadow-hover: 0 10px 30px rgba(11, 18, 32, 0.7);
    --violet-shadow-lg: 0 12px 36px rgba(11, 18, 32, 0.8);
}

/* Auto dark mode detection */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --violet-primary: #8b5cf6;
        --violet-light: #0f1724;
        --violet-dark: #4c1d95;
        --violet-accent: #7c3aed;
        --violet-foreground: #e6e1ff;
        --violet-muted: #bdb6d9;
        --violet-card-bg: #0b1220;
        --violet-shadow: 0 6px 20px rgba(11, 18, 32, 0.6);
        --violet-shadow-hover: 0 10px 30px rgba(11, 18, 32, 0.7);
        --violet-shadow-lg: 0 12px 36px rgba(11, 18, 32, 0.8);
    }
}

/* ========================================
   BASE & RESET
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--violet-card-bg);
    color: var(--violet-foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] body {
    background: #05060a;
}

.formation-page {
    background: var(--violet-card-bg);
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .formation-page {
    background: #05060a;
}

/* ========================================
   HERO VIDEO SECTION
======================================== */
.formation-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Video Background */
.formation-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.formation-hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.formation-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    transition: background-color 0.3s ease;
}

/* Content */
.formation-hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.formation-hero .max-w-3xl {
    max-width: 100%;
}

/* Badge */
.formation-hero .inline-flex {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.formation-hero .inline-flex:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.formation-hero .inline-flex i {
    color: white;
}

/* Title */
.formation-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .formation-hero h1 {
        font-size: 4.5rem;
    }
}

.formation-hero h1 span {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.formation-hero .text-xl {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    transition: color 0.3s ease;
}

/* Buttons */
.formation-hero .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #7c3aed;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.formation-hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.3);
}

.formation-hero .btn-primary i {
    transition: transform 0.3s ease;
}

.formation-hero .btn-primary:hover i {
    transform: translateX(4px);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    animation: fadeIn 2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 13px;
    position: relative;
}

.hero-scroll-wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-out infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}

.hero-scroll-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ========================================
   DESCRIPTION SECTION
======================================== */
.formation-description-section {
    padding: 5rem 2rem;
    background: white;
    transition: all 0.3s ease;
}

[data-theme="dark"] .formation-description-section {
    background: black;
}

.description-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 2.5rem;
    background: var(--violet-light);
    border-radius: 1.5rem;
    border: 1px solid rgba(124, 58, 237, 0.1);
    box-shadow: var(--violet-shadow);
    transition: all 0.3s ease;
}

.description-icon {
    width: 64px;
    height: 64px;
    background: var(--violet-gradient);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    transition: transform 0.3s ease;
}

.description-content:hover .description-icon {
    transform: scale(1.05) rotate(5deg);
}

.description-icon i {
    font-size: 1.75rem;
    color: white;
    transition: color 0.3s ease;
}

.description-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--violet-foreground);
    font-weight: 400;
    transition: color 0.3s ease;
}

[data-theme="dark"] .description-text {
    color: var(--violet-muted);
}

/* ========================================
   APPROACH SECTION
======================================== */
.section-approach-formation {
    padding: 5rem 2rem;

    transition: background-color 0.3s ease;
}

.approach-container-formation {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    color: var(--violet-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--violet-foreground);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--violet-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
}

.approach-grid-formation {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .approach-grid-formation {
        grid-template-columns: repeat(3, 1fr);
    }
}

.approach-card-formation {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid #f3f4f6;
    box-shadow: var(--violet-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .approach-card-formation {
    background: var(--violet-card-bg);
    border-color: rgba(255, 255, 255, 0.04);
}

.approach-card-formation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--violet-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.approach-card-formation:hover {
    border-color: var(--violet-light);
    transform: translateY(-8px);
    box-shadow: var(--violet-shadow-hover);
}

.approach-card-formation:hover::before {
    transform: scaleX(1);
}

.approach-icon-wrapper-formation {
    width: 56px;
    height: 56px;
    background: var(--violet-light);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

[data-theme="dark"] .approach-icon-wrapper-formation {
    background: rgba(139, 92, 246, 0.1);
}

.approach-card-formation:hover .approach-icon-wrapper-formation {
    background: var(--violet-primary);
    transform: scale(1.1) rotate(5deg);
}

.approach-icon-formation {
    font-size: 1.5rem;
    color: var(--violet-primary);
    transition: color 0.3s ease;
}

.approach-card-formation:hover .approach-icon-formation {
    color: white;
}

.approach-card-title-formation {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--violet-foreground);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.approach-card-formation:hover .approach-card-title-formation {
    color: var(--violet-primary);
}

.approach-card-description-formation {
    color: var(--violet-muted);
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* ========================================
   VIDEOS SECTION
======================================== */
.section-videos {
    padding: 5rem 2rem;
    background: white;
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .section-videos {
    background: #05060a;
}

.videos-container {
    max-width: 1200px;
    margin: 0 auto;
}

.videos-header {
    text-align: center;
    margin-bottom: 4rem;
}

.videos-badge {
    display: inline-block;
    color: var(--violet-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.videos-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--violet-foreground);
    margin-bottom: 0.75rem;
}

.videos-subtitle {
    color: var(--violet-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
}

.videos-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.video-card {
    background: var(--violet-card-bg);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    box-shadow: var(--violet-shadow);
    transition: all 0.3s ease;
}

[data-theme="dark"] .video-card {
    background: var(--violet-card-bg);
    border-color: rgba(255, 255, 255, 0.04);
}

.video-card:hover {
    border-color: var(--violet-light);
    transform: translateY(-8px);
    box-shadow: var(--violet-shadow-hover);
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%;
    background: #000;
}

.video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--violet-light);
    color: var(--violet-muted);
    font-weight: 500;
    transition: all 0.3s ease;
}

.video-content {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--violet-foreground);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.video-description {
    color: var(--violet-muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.video-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--violet-primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.no-videos {
    text-align: center;
    padding: 3rem;
    color: var(--violet-muted);
    grid-column: 1 / -1;
}

/* ========================================
   GALERIE SECTION
======================================== */
.section-galerie {
    padding: 5rem 2rem;

    transition: background-color 0.3s ease;
}

.galerie-container {
    max-width: 1200px;
    margin: 0 auto;
}

.galerie-header {
    text-align: center;
    margin-bottom: 4rem;
}

.galerie-badge {
    display: inline-block;
    color: var(--violet-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.galerie-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--violet-foreground);
    margin-bottom: 0.75rem;
}

.galerie-subtitle {
    color: var(--violet-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
}

.galerie-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .galerie-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .galerie-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.image-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    box-shadow: var(--violet-shadow);
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-theme="dark"] .image-card {
    background: var(--violet-card-bg);
    border-color: rgba(255, 255, 255, 0.04);
}

.image-card:hover {
    border-color: var(--violet-light);
    transform: translateY(-8px);
    box-shadow: var(--violet-shadow-hover);
}

.image-wrapper {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-card:hover .image-wrapper img {
    transform: scale(1.06);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 1.5rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.image-card:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.image-caption {
    color: white;
    font-weight: 600;
    text-align: center;
}

/* ========================================
   LIGHTBOX
======================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 100%;
    max-height: 100%;
}

.lightbox-close {
    position: absolute;
    top: -60px;
    right: 0;
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: var(--violet-primary);
    border-color: var(--violet-primary);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: var(--violet-primary);
    border-color: var(--violet-primary);
}

.lightbox-nav.prev {
    left: -70px;
}

.lightbox-nav.next {
    right: -70px;
}

.lightbox-image-container {
    width: 900px;
    height: 600px;
    /* Fixed size as requested */
    max-width: 95vw;
    max-height: 80vh;
    display: flex;
    overflow: hidden;
    box-shadow: var(--violet-shadow-lg);
    background: #000;
    /* Background for containment */
}

.lightbox-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image fills the container exactly */
}

.lightbox-caption {
    padding: 1rem;
    background: var(--violet-card-bg);
    color: var(--violet-foreground);
    text-align: center;
    font-weight: 600;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    transition: all 0.3s ease;
}

/* ========================================
   CTA SECTION
======================================== */
.section-cta-formation {
    padding: 5rem 2rem;
    background: var(--violet-gradient);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.section-cta-formation::before,
.section-cta-formation::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.section-cta-formation::before {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.section-cta-formation::after {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -150px;
}

.cta-container-formation {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title-formation {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-description-formation {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.cta-button-formation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: white;
    color: var(--violet-primary);
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.cta-button-formation:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.4);
}

.cta-icon-formation {
    transition: transform 0.3s ease;
}

.cta-button-formation:hover .cta-icon-formation {
    transform: translateX(4px);
}

/* ========================================
   THEME TOGGLE BUTTON
======================================== */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: var(--violet-card-bg);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--violet-shadow-lg);
    z-index: 999;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--violet-primary);
    border-color: var(--violet-primary);
    transform: scale(1.1);
}

.theme-toggle i {
    font-size: 1.25rem;
    color: var(--violet-primary);
    transition: color 0.3s ease;
}

.theme-toggle:hover i {
    color: white;
}

[data-theme="light"] .theme-toggle .fa-sun {
    display: none;
}

[data-theme="light"] .theme-toggle .fa-moon {
    display: block;
}

[data-theme="dark"] .theme-toggle .fa-sun {
    display: block;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .formation-hero {
        height: 100vh;
    }

    .formation-hero h1 {
        font-size: 2.5rem;
    }

    .formation-hero .text-xl {
        font-size: 1.125rem;
    }

    .section-title,
    .videos-title,
    .galerie-title,
    .cta-title-formation {
        font-size: 2rem;
    }

    .approach-grid-formation {
        grid-template-columns: 1fr;
    }

    .galerie-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lightbox-nav.prev,
    .lightbox-nav.next {
        top: auto;
        bottom: 20px;
        transform: none;
    }

    .lightbox-nav.prev {
        left: 20px;
    }

    .lightbox-nav.next {
        right: 20px;
    }

    .theme-toggle {
        bottom: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .formation-hero h1 {
        font-size: 2rem;
    }

    .formation-hero .text-xl {
        font-size: 1rem;
    }

    .section-title,
    .videos-title,
    .galerie-title,
    .cta-title-formation {
        font-size: 1.75rem;
    }

    .galerie-grid {
        grid-template-columns: 1fr;
    }

    .formation-hero .btn-primary,
    .cta-button-formation {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   ACCESSIBILITY
======================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

button:focus-visible,
.image-card:focus-visible,
.video-card:focus-visible {
    outline: 2px solid var(--violet-primary);
    outline-offset: 2px;
}

/* ========================================
   PRINT STYLES
======================================== */
@media print {

    .formation-hero-video,
    .formation-hero-overlay,
    .theme-toggle,
    .lightbox {
        display: none !important;
    }

    .formation-page {
        background: white !important;
    }

    .approach-card-formation,
    .video-card,
    .image-card {
        break-inside: avoid;
        box-shadow: none !important;
    }
}