/* ============================================
   Variables & Reset
============================================ */
:root {
    /* Couleurs principales - Palette ESS */
    --primary: #0d9488;
    --primary-light: #14b8a6;
    --primary-dark: #0f766e;
    --primary-bg: #f0fdfa;

    --secondary: #4f46e5;
    --secondary-light: #6366f1;

    --accent: #f59e0b;
    --accent-light: #fbbf24;

    /* Neutres */
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;

    /* Glow */
    --glow-primary: rgba(13, 148, 136, 0.4);
    --glow-secondary: rgba(79, 70, 229, 0.3);

    /* Espacements */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;

    /* Typographie */
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --font-heading: 'Outfit', -apple-system, sans-serif;

    /* Autres */
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 30px var(--glow-primary);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode overrides */
[data-theme="dark"] {
    --text: #e2e8f0;
    --text-light: #94a3b8;
    --text-muted: #64748b;
    --bg: #0f172a;
    --bg-alt: #1e293b;
    --bg-dark: #020617;
    --primary-bg: rgba(13, 148, 136, 0.12);
    --glow-primary: rgba(13, 148, 136, 0.3);
    --glow-secondary: rgba(79, 70, 229, 0.2);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3);
}

[data-theme="dark"] .header {
    background: rgba(15, 23, 42, 0.85);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .header.scrolled {
    background: rgba(15, 23, 42, 0.95);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .alt-card,
[data-theme="dark"] .temoignage-card {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .contact-form {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background: var(--bg);
    color: var(--text);
}

[data-theme="dark"] .nav-links {
    background: rgba(15, 23, 42, 0.95);
}

[data-theme="dark"] .dark-toggle {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .dark-toggle svg {
    color: var(--accent);
}

[data-theme="dark"] .hero-bg {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08) 0%, transparent 100%);
}

[data-theme="dark"] .hero::before {
    background-image:
        linear-gradient(rgba(13, 148, 136, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 148, 136, 0.06) 1px, transparent 1px);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================
   Typography
============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    color: var(--text-light);
}

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

/* ============================================
   Buttons
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px var(--glow-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--text-muted);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.15);
}

.btn-nav {
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50px;
    box-shadow: 0 2px 10px var(--glow-primary);
}

.btn-nav:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--glow-primary);
}

.btn-full {
    width: 100%;
}

/* ============================================
   Header & Navigation
============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-slow);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgb(0 0 0 / 0.08);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 10px;
    transition: var(--transition);
    flex-shrink: 0;
}

.logo:hover .logo-chevron {
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 4px 15px var(--glow-primary);
}

.logo-ess {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-light);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.dark-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-alt);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dark-toggle:hover {
    background: var(--primary-bg);
    border-color: var(--primary);
    transform: rotate(15deg);
}

.dark-toggle svg {
    width: 18px;
    height: 18px;
    color: var(--text-light);
    transition: var(--transition);
}

.dark-toggle-moon { display: none; }
[data-theme="dark"] .dark-toggle-sun { display: none; }
[data-theme="dark"] .dark-toggle-moon { display: block; }

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

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ============================================
   Decorative Floating Shapes
============================================ */
.shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--glow-primary), transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--glow-secondary), transparent 70%);
    bottom: -50px;
    left: -80px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 70%);
    top: 40%;
    right: 10%;
    animation: float 12s ease-in-out infinite 2s;
}

/* ============================================
   Hero Section
============================================ */
.hero {
    position: relative;
    padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-lg);
}

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

.hero-illustration {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

.hero-illustration svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.net-node {
    animation: nodePulse 3s ease-in-out infinite;
}

.net-node-center {
    filter: drop-shadow(0 0 8px rgba(13, 148, 136, 0.5));
}

.net-line {
    animation: lineDraw 2s ease-out forwards;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
}

.net-glow {
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes nodePulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes lineDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.25; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background: rgba(240, 253, 250, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-light);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-title {
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translate3d(0, 60px, 0);
    animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: var(--space-xl);
    opacity: 0;
    transform: translate3d(0, 60px, 0);
    animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    opacity: 0;
    transform: translate3d(0, 60px, 0);
    animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    opacity: 0;
    transform: translate3d(0, 60px, 0);
    animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.stat {
    display: flex;
    flex-direction: column;
    position: relative;
}

.stat::after {
    content: '';
    position: absolute;
    right: calc(var(--space-xl) / -2);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, var(--text-muted), transparent);
}

.stat:last-child::after {
    display: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-bg) 0%, transparent 100%);
    border-radius: 0 0 0 50%;
    z-index: 1;
    transition: transform 0.1s linear;
}

/* Animated grid lines in hero background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13, 148, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 148, 136, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* ============================================
   Section Styling
============================================ */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.section-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(13, 148, 136, 0.2);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.125rem;
}

/* ============================================
   Scroll Reveal Base Classes
============================================ */
[data-reveal] {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="up"] {
    transform: translate3d(0, 80px, 0);
}

[data-reveal="left"] {
    transform: translate3d(-80px, 0, 0);
}

[data-reveal="right"] {
    transform: translate3d(80px, 0, 0);
}

[data-reveal="scale"] {
    transform: scale(0.9);
}

[data-reveal="fade"] {
    transform: none;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

/* ============================================
   Services Section
============================================ */
.services {
    padding: var(--space-3xl) 0;
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient orb in services background */
.services::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.06), transparent 70%);
    top: -100px;
    left: -100px;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    position: relative;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Gradient border effect on hover */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), var(--shadow-glow);
}

.service-number {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), rgba(79, 70, 229, 0.05));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition-slow);
}

.service-card:hover .service-number {
    transform: scale(1.15) translate(-5px, 5px);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.15), rgba(79, 70, 229, 0.1));
    -webkit-background-clip: text;
    background-clip: text;
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 15px var(--glow-primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 25px var(--glow-primary);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.service-title {
    margin-bottom: var(--space-sm);
}

.service-description {
    margin-bottom: var(--space-md);
}

.service-list {
    list-style: none;
}

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-light);
}

.service-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ============================================
   Parcours / Process Section
============================================ */
.parcours {
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.parcours-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: var(--space-sm);
}

.parcours-line {
    position: absolute;
    top: 35px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.2;
    z-index: 0;
}

.parcours-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 20px var(--glow-primary);
    transition: var(--transition);
}

.parcours-step:hover .step-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 30px var(--glow-primary);
}

.step-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    max-width: 180px;
}

/* ============================================
   Approche Section
============================================ */
.approche {
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.approche::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.05), transparent 70%);
    bottom: -100px;
    right: -100px;
    pointer-events: none;
}

.approche-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.approche-points {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.approche-point {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-sm);
    border-radius: var(--radius);
    transition: var(--transition);
}

.approche-point:hover {
    background: var(--primary-bg);
    transform: translateX(8px);
}

.point-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: 0 4px 12px var(--glow-primary);
}

.point-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.approche-point:hover .point-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.2);
}

.point-content h4 {
    margin-bottom: 0.25rem;
}

.point-content p {
    font-size: 0.9375rem;
}

.approche-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 800px;
}

.visual-card {
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-lg);
    transform: rotate(2deg);
    transition: var(--transition-slow);
    box-shadow: 0 25px 50px -12px rgba(13, 148, 136, 0.3);
    position: relative;
    overflow: hidden;
}

/* Shimmering overlay on visual card */
.visual-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.15) 45%,
        rgba(255, 255, 255, 0.15) 55%,
        transparent 60%
    );
    background-size: 200% 100%;
    animation: shimmer 6s ease-in-out infinite;
}

.visual-card:hover {
    transform: rotate(0deg) scale(1.05) translateY(-8px);
    box-shadow: 0 35px 60px -15px rgba(13, 148, 136, 0.4);
}

.visual-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    font-style: italic;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

/* ============================================
   Temoignages Section
============================================ */
.temoignages {
    padding: var(--space-3xl) 0;
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.temoignages::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06), transparent 70%);
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    pointer-events: none;
}

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.temoignage-card {
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

/* Decorative quote mark */
.temoignage-card::after {
    content: '\201C';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 6rem;
    font-family: var(--font-heading);
    line-height: 1;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), rgba(79, 70, 229, 0.05));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    pointer-events: none;
}

.temoignage-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12), 0 0 20px rgba(13, 148, 136, 0.1);
}

.temoignage-text {
    font-size: 1.0625rem;
    font-style: italic;
    margin-bottom: var(--space-lg);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.temoignage-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-bg), rgba(79, 70, 229, 0.1));
    border-radius: 50%;
    font-size: 1.5rem;
    transition: var(--transition);
}

.temoignage-card:hover .author-avatar {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text);
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   Contact Section
============================================ */
.contact {
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.04), transparent 70%);
    top: -150px;
    left: -150px;
    pointer-events: none;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.contact-description {
    font-size: 1.125rem;
    margin: var(--space-md) 0 var(--space-xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-method:hover {
    background: var(--primary-bg);
    transform: translateX(8px);
}

.method-icon {
    font-size: 1.25rem;
}

.method-text {
    font-weight: 500;
}

.contact-form {
    padding: var(--space-xl);
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
}

.contact-form:hover {
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid transparent;
    border-radius: var(--radius);
    background: var(--bg);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

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

/* ============================================
   Footer
============================================ */
.footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    background: var(--bg-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Subtle gradient overlay in footer */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.05), transparent, rgba(79, 70, 229, 0.05));
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer .logo {
    color: white;
}

.footer-tagline {
    margin-top: var(--space-xs);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    color: var(--text-muted);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-light);
    transition: width 0.3s ease;
}

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

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: var(--space-lg);
    font-size: 0.875rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.footer-bottom a {
    color: var(--text-muted);
}

.footer-bottom a:hover {
    color: white;
}

/* ============================================
   Alternatives Section
============================================ */
.alternatives {
    padding: var(--space-3xl) 0;
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.alternatives::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.05), transparent 70%);
    bottom: -150px;
    right: -150px;
    pointer-events: none;
}

.alternatives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.alt-card {
    position: relative;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
}

.alt-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.alt-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12), 0 0 20px rgba(13, 148, 136, 0.1);
}

.alt-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(79, 70, 229, 0.08));
    border-radius: 50%;
    transition: var(--transition);
}

.alt-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.alt-card:hover .alt-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: scale(1.1);
}

.alt-card:hover .alt-icon svg {
    color: white;
}

.alt-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(13, 148, 136, 0.15);
}

.alt-from {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(148, 163, 184, 0.6);
}

.alt-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    line-height: 1;
    transition: var(--transition);
}

.alt-card:hover .alt-arrow {
    transform: scale(1.3);
}

.alt-to {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.alt-flag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(79, 70, 229, 0.08));
    color: var(--primary-dark);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0.05em;
}

.alternatives-note {
    max-width: 700px;
    margin: var(--space-2xl) auto 0;
    text-align: center;
    font-style: italic;
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   Animations
============================================ */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translate3d(0, 60px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(2deg);
    }
    66% {
        transform: translateY(10px) rotate(-1deg);
    }
}

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

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

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px var(--glow-primary);
    }
    50% {
        box-shadow: 0 0 40px var(--glow-primary), 0 0 60px rgba(13, 148, 136, 0.2);
    }
}

/* ============================================
   Custom Cursor Glow (added via JS)
============================================ */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.06), transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, opacity 0.3s ease;
    opacity: 0;
}

.cursor-glow.active {
    opacity: 1;
}

/* ============================================
   Responsive
============================================ */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-illustration {
        display: none;
    }

    .approche-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

    .approche-visual {
        order: -1;
    }

    .visual-card {
        transform: none;
    }

    .parcours-timeline {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .parcours-line {
        display: none;
    }

    .parcours-step {
        flex-direction: row;
        text-align: left;
        gap: var(--space-md);
    }

    .step-icon {
        width: 56px;
        height: 56px;
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .step-desc {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: var(--space-lg);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .dark-toggle {
        width: 36px;
        height: 36px;
    }

    .hero {
        min-height: auto;
        padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .stat::after {
        display: none;
    }

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

    .hero-cta .btn {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .cursor-glow {
        display: none;
    }

    [data-reveal="left"],
    [data-reveal="right"] {
        transform: translate3d(0, 50px, 0);
    }
}

@media (max-width: 480px) {
    .services-grid,
    .temoignages-grid,
    .alternatives-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Reduced Motion
============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .cursor-glow {
        display: none;
    }
}
