:root {
    --primary-blue: #0ea5e9;
    --secondary-blue: #0284c7;
    --light-blue: #e0f2fe;
    --sky-blue: #7dd3fc;
    --bg-white: #ffffff;
    --bg-soft: #f0f9ff;
    --text-dark: #0f172a;
    --text-gray: #475569;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-blue: 0 10px 30px -5px rgba(14, 165, 233, 0.3);
    --gold: #d97706;
    --gold-light: #fef3c7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-soft) 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ==================== LOADER ==================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 4px solid var(--light-blue);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader span {
    margin-top: 1rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--primary-blue);
    font-size: 1.2rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== NAVIGATION ==================== */
.nav-floating {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.nav-floating.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14, 165, 233, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-glow {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo {
    height: 40px;
    filter: drop-shadow(0 4px 6px rgba(14, 165, 233, 0.2));
}

.logo-text {
    font-weight: 800;
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--sky-blue));
    transition: width 0.3s;
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2.5px;
    background: var(--primary-blue);
    transition: all 0.3s;
    border-radius: 2px;
}

/* ==================== HERO SECTION ==================== */
.hero-futur {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 5% 80px;
    background: 
        radial-gradient(circle at top right, rgba(224, 242, 254, 0.8), transparent 50%),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.05), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.hero-futur::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230ea5e9' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--primary-blue);
    border-radius: 50%;
    opacity: 0.1;
    animation: floatParticle 20s infinite ease-in-out;
}

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-10px) translateX(-10px); }
    75% { transform: translateY(-30px) translateX(5px); }
}

.hero-content {
    max-width: 650px;
    z-index: 10;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--light-blue);
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--secondary-blue);
    margin-bottom: 2rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.2);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: var(--text-dark);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary, .btn-outline, .btn-submit {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
    background: white;
    border: 2px solid var(--border);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.btn-primary:hover .arrow-icon {
    transform: translateX(5px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 10;
    width: 400px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 25px 50px -12px rgba(14, 165, 233, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.profile-img {
    width: 220px;
    height: 220px;
    border-radius: 20px;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.2);
    display: block;
    margin: 0 auto;
}

.floating {
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

.glass-info {
    margin-top: 1.5rem;
    text-align: center;
}

.glass-info h3 {
    color: var(--secondary-blue);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.glass-info p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.stats-float {
    position: absolute;
    bottom: -20px;
    left: -40px;
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    gap: 2rem;
    align-items: center;
    box-shadow: var(--shadow-lg);
    z-index: 20;
    border: 1px solid var(--border);
}

.divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.3rem;
    display: block;
    font-weight: 600;
}

/* ==================== SECTIONS COMMUNES ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    background: var(--light-blue);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== EXPERTISE / CARDS ==================== */
.expertise-section, .editorial-section {
    padding: 100px 0;
}

.grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card-3d {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.card-3d:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-blue);
    border-color: rgba(14, 165, 233, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    transition: all 0.3s;
    font-size: 1.5rem;
}

.card-3d:hover .card-icon {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
}

.card-3d h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card-3d p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.feature-list li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.card-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link:hover {
    gap: 1rem;
    color: var(--secondary-blue);
}

/* ==================== EDITORIAL ==================== */
.editorial-section {
    background: linear-gradient(to bottom, var(--bg-soft), white);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.editorial-content h2 {
    font-size: 2.5rem;
    margin: 1rem 0 2rem;
    line-height: 1.2;
    color: var(--text-dark);
}

.text-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.text-block {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.text-block:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-blue);
}

.text-block h4 {
    color: var(--secondary-blue);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.text-block p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 0.95rem;
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
    padding: 1rem 2rem;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
    box-shadow: var(--shadow-blue);
}

/* Visual Stack */
.visual-stack {
    position: relative;
    height: 500px;
}

.img-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

.img-card:hover {
    transform: scale(1.02);
}

.img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-img {
    width: 75%;
    height: 350px;
    right: 0;
    top: 0;
    z-index: 1;
}

.float-img {
    width: 55%;
    height: 280px;
    left: 0;
    bottom: 0;
    z-index: 2;
    border: 4px solid white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.img-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: white;
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: var(--shadow);
}

/* ==================== MARQUEE ==================== */
.marquee-section {
    background: var(--light-blue);
    border-top: 1px solid rgba(14, 165, 233, 0.1);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-blue);
    padding: 0 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.separator {
    color: var(--primary-blue) !important;
    opacity: 0.5;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==================== CTA ==================== */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-card {
    background: linear-gradient(135deg, var(--light-blue) 0%, white 100%);
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 4rem;
    border-radius: 32px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1), transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-card p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* ==================== PAGE FORMATIONS ==================== */
.page-hero {
    padding: 150px 5% 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--light-blue) 0%, white 100%);
    position: relative;
    border-bottom: 1px solid var(--border);
}

.page-hero.small {
    padding: 120px 5% 60px;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.page-hero p {
    color: var(--text-gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Slider */
.slider-section {
    margin: 60px 0 80px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    opacity: 0.4;
    transition: opacity 0.6s;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-tag {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-content h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.slide-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-dark);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255,255,255,0.5);
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--primary-blue);
    width: 0%;
    transition: width 0.1s linear;
    z-index: 10;
}

.formations-page {
    padding: 60px 0 100px;
    background: var(--bg-soft);
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.formation-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.formation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-blue);
    border-color: rgba(14, 165, 233, 0.3);
}

.formation-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
}

.formation-card:hover img {
    transform: scale(1.1);
}

.formation-info {
    padding: 1.5rem;
}

.formation-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.formation-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.load-more-container {
    text-align: center;
    margin-top: 4rem;
}

/* ==================== PAGE CONTACT ==================== */
.contact-page {
    padding: 60px 0 100px;
    background: var(--bg-soft);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.form-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--light-blue);
    padding-bottom: 1.5rem;
}

.form-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-header p {
    color: var(--text-gray);
    font-size: 1rem;
}

.contact-form-futur {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    background: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.char-count {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
    background: rgba(255,255,255,0.8);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    pointer-events: none;
}

/* Checkbox moderne */
.checkbox-futur {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--bg-soft);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.checkbox-futur:hover {
    border-color: var(--primary-blue);
    background: var(--light-blue);
}

.checkbox-futur input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
    margin-top: 2px;
    background: white;
}

.checkbox-futur input:checked + .checkmark {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkbox-futur input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.label-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Bouton Submit */
.btn-submit {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    margin-top: 1rem;
    box-shadow: var(--shadow-blue);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.4);
}

.btn-submit svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.btn-submit:hover svg {
    transform: translateX(5px) rotate(45deg);
}

.btn-loading {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.btn-submit.loading span,
.btn-submit.loading svg {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: block;
}

/* Sidebar Contact */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-blue);
    border-color: rgba(14, 165, 233, 0.3);
}

.info-card h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-blue);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    align-items: flex-start;
}

.info-item .icon {
    font-size: 1.5rem;
    line-height: 1;
    background: var(--light-blue);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.info-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.info-card.highlight {
    background: linear-gradient(135deg, var(--gold-light) 0%, #fde68a 100%);
    border-color: rgba(217, 119, 6, 0.3);
}

.info-card.highlight h3 {
    color: var(--gold);
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: var(--gold);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    margin-top: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
    border: none;
    cursor: pointer;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.3);
    background: #b45309;
}

.horaires {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-blue);
}

.horaires h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.horaires p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.time-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--light-blue);
    color: var(--secondary-blue);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

/* ==================== MODAL ==================== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border: 1px solid var(--border);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    animation: slideUp 0.3s ease;
    box-shadow: var(--shadow-lg);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-blue);
}

.modal-content h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: var(--text-dark);
}

.modal-content p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ==================== FOOTER ==================== */
.footer-futur {
    background: white;
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
}

.footer-futur.compact {
    padding: 40px 0;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.location {
    color: var(--primary-blue) !important;
    font-weight: 600;
    margin: 1rem 0 !important;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s;
    background: var(--bg-soft);
}

.social-icon:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-3px);
    background: var(--light-blue);
}

.footer-links h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-dark);
    outline: none;
    font-family: inherit;
}

.newsletter-form input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.btn-icon {
    width: 42px;
    height: 42px;
    background: var(--primary-blue);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    transform: scale(1.1);
    background: var(--secondary-blue);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5% 0;
}

.credit {
    color: var(--primary-blue);
    font-weight: 600;
}

.footer-links-inline {
    display: flex;
    gap: 2rem;
}

.footer-links-inline a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links-inline a:hover {
    color: var(--primary-blue);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-futur {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }
    
    .hero-visual {
        width: 100%;
        max-width: 400px;
        margin-top: 3rem;
    }
    
    .stats-float {
        position: relative;
        left: 0;
        bottom: 0;
        margin: 2rem auto 0;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
    }
    
    .visual-stack {
        height: 400px;
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        position: static;
        order: -1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .info-card.highlight {
        grid-column: span 2;
    }
    
    .slider-container {
        height: 400px;
    }
    
    .slide-content {
        padding: 1.5rem;
    }
    
    .slide-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 5%;
        right: 5%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        border-radius: 24px;
        border: 1px solid var(--border);
        gap: 1rem;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .grid-3d {
        grid-template-columns: 1fr;
    }
    
    .form-grid,
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section {
        padding: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .masonry-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .lightbox-nav {
        display: none;
    }
    
    .stats-float {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stats-float .divider {
        width: 100%;
        height: 1px;
    }
    
    .slider-container {
        height: 300px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .info-card.highlight {
        grid-column: span 1;
    }
    
    .formations-grid {
        grid-template-columns: 1fr;
    }
}

/* Focus visible pour accessibilité */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}