/* ========================================
   LINSAEM - Styles CSS 
   ======================================== */

:root {
    --bg: #fafafa;
    --bg-dark: #0f0f0f;
    --card: #ffffff;
    --card-dark: #1a1a1a;
    --accent: #0ea5e9;
    --accent-light: #38bdf8;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --text: #111827;
    --text-light: #6b7280;
    --text-secondary: #6b7280;
    --border: #e5e7eb;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 100%);
    --gradient-alt: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-vibrant: linear-gradient(135deg, #00d2ff 0%, #3a47d5 50%, #a855f7 100%);
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

/* Fix pour menu mobile ouvert */
body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100vh !important;
    top: 0;
    left: 0;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
    z-index: 9999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.5);
}

.back-to-top:active {
    transform: translateY(-2px);
}

/* ========================================
   NAVIGATION
   ======================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.nav-cta {
    background: var(--text);
    color: white;
    padding: 12px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ========================================
   MOBILE MENU BUTTON - VERSION CORRIGÉE
   ======================================== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
    position: relative;
    flex-direction: column;
    gap: 6px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   MOBILE NAVIGATION - VERSION CORRIGÉE
   ======================================== */
.mobile-nav {
    /* IMPORTANT: Pas de display:none ici - on utilise opacity/visibility */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
    padding-top: 100px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Empêche les clics quand fermé */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Réactive les clics */
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
    padding: 20px;
}

.mobile-nav-links li {
    margin: 24px 0;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 10px;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:active {
    color: var(--accent);
}

.mobile-nav-cta {
    display: inline-block;
    margin-top: 20px;
    background: var(--gradient);
    color: white;
    padding: 16px 40px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(14, 165, 233, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(139, 92, 246, 0.1));
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 24px;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 .price-highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 40px;
}

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

.btn-primary {
    background: var(--gradient);
    color: white;
    padding: 18px 36px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text);
    padding: 18px 36px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--border);
    transition: border-color 0.3s;
}

.btn-secondary:hover {
    border-color: var(--accent);
}

/* ========================================
   COMPARISON BANNER
   ======================================== */
.comparison-banner {
    background: var(--text);
    color: white;
    padding: 60px 0;
    margin-top: 60px;
}

.comparison-content {
    text-align: center;
}

.comparison-content h2 {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 600;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.comparison-item {
    text-align: center;
}

.comparison-logo {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    opacity: 0.5;
}

.comparison-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
}

.comparison-price.ours {
    background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
}

.comparison-item.ours .comparison-logo {
    opacity: 1;
    background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comparison-note {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-top: 4px;
}

/* ========================================
   FEATURES STRIP
   ======================================== */
.features-strip {
    padding: 80px 0;
    background: white;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(139, 92, 246, 0.15));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-item h3 {
    font-size: 1rem;
    font-weight: 600;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   SECTION COMMON STYLES
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(139, 92, 246, 0.15));
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

section {
    padding: 100px 0;
}

/* ========================================
   PRICING SECTION
   ======================================== */
#tarifs {
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 40px 32px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.2);
    border-color: var(--accent);
}

.pricing-card.featured {
    border-color: var(--accent);
    border-width: 3px;
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Le plus populaire';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.pricing-price .currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
}

.pricing-price .amount {
    font-family: 'JetBrains Mono', monospace;
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pricing-price .period {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

.pricing-commitment {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.pricing-ideal {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 18px;
    background: var(--gradient);
    color: white;
    text-align: center;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.4);
}

.pricing-note {
    text-align: center;
    margin-top: 32px;
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
#services {
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 40px 32px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.15);
    border-color: var(--accent);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(139, 92, 246, 0.15));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: auto;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 12px;
}

/* ========================================
   INCLUDED SECTION
   ======================================== */
.included-section {
    background: var(--text);
    color: white;
}

.included-section .section-tag {
    background: rgba(255,255,255,0.1);
    color: white;
    border-color: rgba(255,255,255,0.2);
}

.included-section .section-title {
    color: white;
}

.included-section .section-subtitle {
    color: rgba(255,255,255,0.7);
}

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

.included-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 32px 24px;
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.included-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
    border-color: rgba(14, 165, 233, 0.5);
}

.included-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.included-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.included-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.included-card a {
    color: rgba(255,255,255,0.7);
    text-decoration: underline;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
#comment-ca-marche {
    padding: 100px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.step-card {
    text-align: center;
    padding: 40px 24px;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 24px;
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================================
   FAQ SECTION
   ======================================== */
#faq {
    padding: 100px 0;
    background: var(--bg);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.05rem;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 500px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 100px 0;
    background: var(--gradient);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background: white;
    color: var(--accent);
}

.cta-section .btn-primary:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
#contact {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.contact-info > p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-method-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(139, 92, 246, 0.15));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.contact-method-label {
    color: var(--text-light);
    font-size: 0.85rem;
}

.contact-method-value {
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-method-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-method-value a:hover {
    color: var(--accent);
}

.contact-form {
    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

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

.form-submit {
    width: 100%;
    padding: 18px;
    background: var(--gradient);
    border: none;
    border-radius: 100px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: var(--text);
    color: white;
    padding: 64px 0 32px;
}

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

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    background: var(--gradient);
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    padding: 6px 0;
    transition: color 0.3s;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* ========================================
   PORTFOLIO CAROUSEL
   ======================================== */
.portfolio-section {
    padding: 80px 0;
    background: var(--bg);
}

.carousel-container {
    position: relative;
    padding: 0 60px;
    margin-top: 60px;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    padding: 20px;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    transition: transform 0.3s;
}

.project-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 400px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-site-btn {
    background: white;
    color: var(--accent);
    padding: 12px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.view-site-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.project-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-category {
    display: inline-block;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(139, 92, 246, 0.1));
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    align-self: flex-start;
}

.project-info h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text);
}

.project-description {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.project-features {
    list-style: none;
    margin-bottom: 30px;
}

.project-features li {
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.project-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-tag {
    padding: 8px 16px;
    background: var(--bg);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 0;
}

.carousel-nav.next {
    right: 0;
}

.carousel-nav svg {
    width: 24px;
    height: 24px;
    stroke-width: 3;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--accent);
    width: 32px;
    border-radius: 6px;
}

.portfolio-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 20px;
    border: 2px dashed rgba(14, 165, 233, 0.2);
}

.portfolio-cta p {
    font-size: 1.2rem;
    color: var(--text);
    margin: 0 0 20px 0;
    font-weight: 600;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge, .hero h1, .hero p, .hero-buttons {
    animation: fadeInUp 0.6s ease-out both;
}

.hero h1 { animation-delay: 0.1s; }
.hero p { animation-delay: 0.2s; }
.hero-buttons { animation-delay: 0.3s; }

/* ========================================
   RESPONSIVE - VERSION CORRIGÉE
   ======================================== */

@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .project-card {
        grid-template-columns: 1fr;
    }

    .project-image {
        min-height: 300px;
    }

    .carousel-container {
        padding: 0 50px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    /* ========================================
       NAVIGATION MOBILE - IMPORTANT
       ======================================== */
    .nav-links,
    .nav-cta {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        gap: 6px;
    }
    
    /* Le mobile-nav est déjà géré par opacity/visibility, pas besoin de display:block */
    
    /* ========================================
       BOUTON VOIR LE SITE - TOUJOURS VISIBLE SUR MOBILE
       ======================================== */
    .project-overlay {
        opacity: 1 !important;
        background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.6) 100%) !important;
    }
    
    /* ========================================
       AUTRES AJUSTEMENTS MOBILE
       ======================================== */
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .contact-form {
        padding: 32px 24px;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-container {
        padding: 0 40px;
        margin-top: 40px;
    }

    .project-info {
        padding: 30px 25px;
    }

    .project-info h3 {
        font-size: 1.5rem;
    }

    .carousel-nav {
        width: 36px;
        height: 36px;
    }

    .carousel-nav svg {
        width: 20px;
        height: 20px;
    }

    .carousel-slide {
        padding: 10px;
    }

    .portfolio-section {
        padding: 60px 0;
    }

    .portfolio-cta {
        padding: 30px 20px;
        margin-top: 40px;
    }

    .portfolio-cta p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .mobile-menu-btn {
        padding: 8px;
    }
    
    .mobile-menu-btn span {
        width: 24px;
        height: 2.5px;
    }
    
    .mobile-nav-links a {
        font-size: 1.3rem;
    }
    
    nav {
        padding: 12px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
    
    .pricing-price .amount {
        font-size: 3rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

/* ========================================
   FIX BOUTON "VOIR LE SITE" CAROUSEL
   ======================================== */

/* Sur tablette aussi: bouton toujours visible */
@media (max-width: 1024px) {
    .project-overlay {
        opacity: 1 !important;
        background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.5) 100%) !important;
    }
}

/* Amélioration du bouton */
.view-site-btn {
    background: white;
    color: var(--accent);
    padding: 14px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.view-site-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
    background: var(--accent);
    color: white;
}

/* Animation liens menu mobile */
.mobile-nav-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav.active .mobile-nav-links li:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav.active .mobile-nav-links li:nth-child(6) { transition-delay: 0.3s; }
.mobile-nav.active .mobile-nav-links li:nth-child(7) { transition-delay: 0.35s; }
.mobile-nav.active .mobile-nav-links li:nth-child(8) { transition-delay: 0.4s; }

/* ========================================
   FIN DU CSS
   ========================================*/