:root {
    --navy-deep: #0A1628;
    --electric-blue: #3B82F6;
    --electric-blue-dark: #2563EB;
    --emerald: #10B981;
    --emerald-dark: #059669;
    
    --bg-primary: #FAFAF9;
    --bg-surface: #FFFFFF;
    --bg-elevated: #F5F5F4;
    --border-subtle: #E7E5E4;
    --border-medium: #D6D3D1;
    
    --text-primary: #1C1917;
    --text-secondary: #57534E;
    --text-tertiary: #78716C;
    
    --font-display: 'DM Serif Display', serif;
    --font-body: 'Work Sans', sans-serif;
    
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    --space-5xl: 128px;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.10);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 249, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--navy-deep);
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background: var(--navy-deep);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
    padding: 8px 0;
}

nav a.active.solutions {
    color: var(--electric-blue);
}

nav a.active.studios {
    color: var(--emerald);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    transition: width 0.3s var(--ease-out-expo);
}

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

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a.solutions::after,
nav a.active.solutions::after {
    background: var(--electric-blue);
}

nav a.studios::after,
nav a.active.studios::after {
    background: var(--emerald);
}

/* Hero */
.hero {
    padding: 140px 48px 80px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 8px 16px;
    border-radius: 24px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--electric-blue);
}

.hero-badge.studios {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--emerald);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.1;
    color: var(--navy-deep);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero p {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

/* Section */
section {
    padding: var(--space-5xl) 48px;
}

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

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.2;
    color: var(--navy-deep);
    font-weight: 400;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 48px;
    transition: all 0.3s var(--ease-out-expo);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--electric-blue);
    box-shadow: var(--shadow-xl);
}

.page-studios .service-card:hover {
    border-color: var(--emerald);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--navy-deep);
    font-weight: 400;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

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

.service-list li {
    padding: 12px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-list li::before {
    content: '→';
    color: var(--electric-blue);
    font-weight: 600;
}

.page-studios .service-list li::before {
    content: '◆';
    color: var(--emerald);
    font-size: 12px;
}

/* Service blocks (Studios) */
.service-block {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 48px;
    transition: all 0.3s var(--ease-out-expo);
}

.service-block:hover {
    transform: translateY(-8px);
    border-color: var(--emerald);
    box-shadow: var(--shadow-xl);
}

.service-block h3 {
    font-family: var(--font-display);
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--emerald);
    font-weight: 400;
}

.service-block .service-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.service-block .service-list li:last-child {
    border-bottom: none;
}

/* Use Cases */
.use-cases {
    background: var(--bg-elevated);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.use-case-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.use-case-card h4 {
    font-family: var(--font-display);
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--navy-deep);
    font-weight: 400;
}

.use-case-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.1) 100%);
    text-align: center;
}

.page-studios .cta-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.1) 100%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 24px;
    color: var(--navy-deep);
    font-weight: 400;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--electric-blue);
    color: white;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary:hover {
    background: var(--electric-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.page-studios .btn-primary {
    background: var(--emerald);
}

.page-studios .btn-primary:hover {
    background: var(--emerald-dark);
}

/* Formulaires */
.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-medium);
    border-radius: 12px;
    font-size: 16px;
    font-family: var(--font-body);
    color: var(--text-primary);
    transition: all 0.3s;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--electric-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.page-studios .form-group input:focus,
.page-studios .form-group textarea:focus,
.page-studios .form-group select:focus {
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 15px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--emerald-dark);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #991b1b;
}

/* Footer */
footer {
    background: var(--navy-deep);
    color: white;
    padding: 64px 48px 32px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.footer-nav {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 32px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content,
    .hero,
    section,
    footer {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    nav {
        display: none;
    }
    
    .services-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 16px;
    }
}
