/* ===================================
   FORMAPRO EXCELLENCE - ORGANISME DE FORMATION
   Design moderne avec profondeur et animations
   =================================== */

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #DBEAFE;
    --primary-gradient: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #1E40AF 100%);
    --secondary: #0F172A;
    --accent: #10B981;
    --accent-light: #D1FAE5;

    --text-dark: #1E293B;
    --text-body: #475569;
    --text-light: #94A3B8;

    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px rgba(0,0,0,0.15);
    --shadow-primary: 0 10px 30px rgba(37, 99, 235, 0.3);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.2);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--white);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

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

ul { list-style: none; }

.highlight {
    color: var(--primary);
    position: relative;
}

/* ===================================
   KEYFRAMES ANIMATIONS
   =================================== */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

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

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.logo-text strong {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    padding: 24px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-link {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary), var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--gray-200);
}

.btn-outline:hover {
    background: var(--gray-50);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ===================================
   HERO SECTION - Local Business Style
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

/* Dark Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.85) 50%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: slideIn 0.8s ease-out;
}

/* Hero Badges */
.hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    animation: slideUp 0.6s ease-out 0.2s backwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(37, 99, 235, 0.2);
    backdrop-filter: blur(10px);
    color: #93C5FD;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 100px;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.hero-badge-green {
    background: rgba(16, 185, 129, 0.2);
    color: #6EE7B7;
    border-color: rgba(16, 185, 129, 0.3);
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 20px;
    line-height: 1.2;
    animation: slideUp 0.6s ease-out 0.3s backwards;
}

.hero h1 .highlight {
    color: #60A5FA;
    background: none;
    -webkit-text-fill-color: #60A5FA;
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
    line-height: 1.7;
    animation: slideUp 0.6s ease-out 0.4s backwards;
}

/* Hero Trust */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    animation: slideUp 0.6s ease-out 0.45s backwards;
}

.hero-trust-avatars {
    display: flex;
}

.hero-trust-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--gray-900);
    margin-left: -10px;
    object-fit: cover;
}

.hero-trust-avatars img:first-child {
    margin-left: 0;
}

.hero-trust-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-trust-stars {
    color: #FBBF24;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.hero-trust-text span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    animation: slideUp 0.6s ease-out 0.5s backwards;
}

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

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Hero Form */
.hero-form-wrapper {
    animation: slideUp 0.8s ease-out 0.4s backwards;
}

.hero-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hero-form-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.hero-form-header h3 {
    font-size: 1.375rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.hero-form-header p {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 500;
    margin: 0;
}

.hero-form .form-group {
    margin-bottom: 14px;
}

.hero-form .form-group input,
.hero-form .form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
}

.hero-form .form-group input::placeholder {
    color: var(--text-light);
}

.hero-form .form-group input:focus,
.hero-form .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.hero-form .btn-full {
    margin-top: 8px;
    padding: 16px 24px;
    font-size: 1rem;
}

.hero-form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--text-light);
}

.hero-form-note svg {
    color: var(--accent);
}

/* ===================================
   TRUST SECTION
   =================================== */

.trust {
    padding: 50px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.trust::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.trust .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.trust-label {
    font-size: 0.875rem;
    color: var(--text-light);
    white-space: nowrap;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.logo-item {
    padding: 12px 24px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
    border: 1px solid transparent;
}

.logo-item:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* ===================================
   SECTION HEADERS
   =================================== */

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    padding: 6px 14px;
    background: var(--primary-light);
    border-radius: 100px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header h2 .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-body);
    max-width: 600px;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

.section-header.light .section-tag {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.section-header.light h2 {
    color: var(--white);
}

.section-header.light h2 .highlight {
    background: none;
    -webkit-text-fill-color: var(--white);
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.4);
    text-underline-offset: 4px;
}

.section-header.light .section-subtitle {
    color: rgba(255,255,255,0.8);
}

/* ===================================
   FORMATIONS SECTION
   =================================== */

.formations {
    padding: 120px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.formations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 90%, rgba(37, 99, 235, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(16, 185, 129, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.formations .container {
    position: relative;
    z-index: 1;
}

.formations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.formation-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.formation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.formation-card:hover::before {
    transform: scaleX(1);
}

.formation-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.formation-card.featured {
    background: var(--primary-gradient);
    background-size: 200% 200%;
    animation: gradientMove 8s ease infinite;
    border-color: transparent;
    color: var(--white);
}

.formation-card.featured::before {
    display: none;
}

.formation-card.featured:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-primary), var(--shadow-glow);
}

.formation-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

.formation-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.formation-card:hover .formation-icon {
    transform: scale(1.1) rotate(5deg);
}

.formation-card.featured .formation-icon {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.formation-card h3 {
    margin-bottom: 12px;
}

.formation-card.featured h3 {
    color: var(--white);
}

.formation-card > p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.formation-card.featured > p {
    color: rgba(255,255,255,0.9);
}

.formation-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.formation-features li {
    font-size: 0.9375rem;
    padding-left: 28px;
    position: relative;
    color: var(--text-body);
}

.formation-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.formation-card.featured .formation-features li {
    color: rgba(255,255,255,0.9);
}

.formation-card.featured .formation-features li::before {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

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

.formation-card.featured .formation-footer {
    border-color: rgba(255,255,255,0.2);
}

.formation-duration {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.formation-card.featured .formation-duration {
    color: rgba(255,255,255,0.8);
}

.formation-card.featured .btn-primary {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.formation-card.featured .btn-primary:hover {
    background: var(--gray-50);
}

/* ===================================
   METHODE SECTION
   =================================== */

.methode {
    padding: 120px 0;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

/* Background Pattern */
.methode::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%232563EB' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.methode .container {
    position: relative;
    z-index: 1;
}

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

.methode-content > p {
    font-size: 1.0625rem;
    color: var(--text-body);
    margin-bottom: 40px;
}

.methode-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

/* Connecting Line */
.methode-steps::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 2px;
}

.step {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid transparent;
}

.step:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(10px);
    border-color: var(--primary);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-primary);
}

.step-content h4 {
    margin-bottom: 6px;
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--text-body);
    margin: 0;
}

.methode-image {
    position: relative;
}

.methode-image::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    background: var(--primary-gradient);
    border-radius: var(--radius-xl);
    opacity: 0.1;
    z-index: -1;
}

.methode-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    object-fit: cover;
    transition: var(--transition-slow);
}

.methode-image:hover .methode-img {
    transform: scale(1.02);
}

/* ===================================
   AVANTAGES SECTION
   =================================== */

.avantages {
    padding: 120px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.avantages::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.avantages .container {
    position: relative;
    z-index: 1;
}

.avantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.avantage-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.avantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.avantage-card:hover {
    border-color: transparent;
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.avantage-card:hover::before {
    opacity: 1;
}

.avantage-card:hover .avantage-icon {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    transform: scale(1.1) rotate(10deg);
}

.avantage-card:hover h3,
.avantage-card:hover p {
    color: var(--white);
}

.avantage-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.avantage-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.avantage-card p {
    font-size: 0.875rem;
    color: var(--text-body);
    margin: 0;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

/* ===================================
   TEMOIGNAGES SECTION
   =================================== */

.temoignages {
    padding: 120px 0;
    background: var(--primary-gradient);
    background-size: 200% 200%;
    animation: gradientMove 15s ease infinite;
    position: relative;
    overflow: hidden;
}

/* Decorative Elements */
.temoignages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 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='%23FFFFFF' fill-opacity='0.05'%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");
    pointer-events: none;
}

.temoignages-orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(40px);
    animation: float 10s ease-in-out infinite;
}

.temoignages-orb-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.temoignages-orb-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 10%;
    animation-delay: 3s;
}

.temoignages .container {
    position: relative;
    z-index: 1;
}

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

.temoignage-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.temoignage-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: var(--primary-light);
    line-height: 1;
    opacity: 0.5;
}

.temoignage-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.temoignage-content p {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.temoignage-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.author-avatar {
    width: 52px;
    height: 52px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--white);
    font-size: 1.125rem;
}

.author-info strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--text-dark);
}

.author-info span {
    font-size: 0.8125rem;
    color: var(--text-light);
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
    padding: 100px 0;
    background: var(--gray-900);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content h2 .highlight {
    background: linear-gradient(135deg, #60A5FA 0%, #34D399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content > p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

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

/* ===================================
   CONTACT SECTION
   =================================== */

.contact {
    padding: 120px 0;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info > p {
    font-size: 1.0625rem;
    color: var(--text-body);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.contact-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    transform: translateX(8px);
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-text strong {
    display: block;
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-text a,
.contact-text span {
    font-size: 0.9375rem;
    color: var(--text-body);
}

.contact-text a:hover {
    color: var(--primary);
}

.certifications {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.certif-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.certif-badge:hover {
    background: var(--primary);
    color: var(--white);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.contact-form h3 {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-logo strong {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand > p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact a,
.footer-contact p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin: 0;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--white);
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 1024px) {
    .hero-grid,
    .methode-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-form-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .formations-grid {
        grid-template-columns: 1fr;
    }

    .avantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .temoignages-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-right .btn {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
        justify-content: flex-start;
    }

    .hero-badges {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .trust .container {
        flex-direction: column;
        text-align: center;
    }

    .avantages-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .methode-steps::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 110px 0 50px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-form-card {
        padding: 24px;
    }

    .hero-stats {
        gap: 16px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .btn-large {
        padding: 14px 24px;
    }

    .formation-card,
    .temoignage-card,
    .contact-form-wrapper {
        padding: 24px;
    }

    .certifications {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
    }
}
