/* Variables */
:root {
    --primary-color: #4FFFB0;
    --bg-dark: #0a0a0f;
    --bg-darker: #05050a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --purple-glow: #8b5cf6;
    --pink-glow: #ec4899;
    --green-glow: #10b981;
    --gradient-button: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
}

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

/* Base */
body {
    font-family: 'Helvetica', 'Arial', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 90px !important;
    height: 90px !important;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.logo-tagline {
    font-size: 10px;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo:hover .logo-icon {
    transform: none !important;
    transition: none !important;
}

.logo:hover {
    transform: none !important;
    transition: none !important;
}

/* Navigation */
.nav {
    position: relative;
}

/* Masquer le lien CONTACT sur desktop */
.nav-link[href="contact.html"] {
    display: none;
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

/* Masquer le bouton contact mobile sur desktop */
.mobile-contact {
    display: none;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

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



/* CTA Button */
.cta-button {
    background: var(--primary-color);
    color: var(--bg-dark);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
    /* Visible par défaut sur desktop */
}

/* Styles spécifiques pour les articles - plus spécifique */
.article-page .cta-button,
article .cta-button {
    background: #4FFFB0 !important;
    color: #000000 !important;
    padding: 6px 12px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    border: none !important;
    box-shadow: none !important;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(79, 255, 176, 0.3);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 40px;
    background: linear-gradient(to right, var(--text-primary) 0%, var(--text-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    min-height: 2.2em;
    height: 2.2em;
    display: flex;
    align-items: center;
}

.hero-cta {
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: none;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 80px;
    background: radial-gradient(ellipse at center, #9333ea 0%, transparent 80%);
    opacity: 0.45;
    filter: blur(18px);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.hero-cta {
    display: inline-block;
    background: var(--gradient-button);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.hero-cta:hover {
    box-shadow: none;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Background Effects */
.bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.bg-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
}

.bg-blur-1 {
    width: 400px;
    height: 400px;
    background: var(--green-glow);
    top: -200px;
    left: -200px;
    animation: float 20s ease-in-out infinite;
}

.bg-blur-2 {
    width: 300px;
    height: 300px;
    background: var(--pink-glow);
    top: 200px;
    right: -150px;
    animation: float 15s ease-in-out infinite reverse;
}

.bg-blur-3 {
    width: 350px;
    height: 350px;
    background: var(--purple-glow);
    bottom: -150px;
    left: 20%;
    animation: float 25s ease-in-out infinite;
}

.bg-blur-4 {
    width: 250px;
    height: 250px;
    background: var(--pink-glow);
    top: 50%;
    left: -100px;
    animation: float 18s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-20px) translateX(10px);
    }

    50% {
        transform: translateY(10px) translateX(-10px);
    }

    75% {
        transform: translateY(-10px) translateX(20px);
    }
}

/* Partners Section */
.partners {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-size: 16px;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: 12px;
    padding: 16px 20px;
}

.partner-logo:hover {
    opacity: 1;
    background: transparent;
    transform: translateY(-3px);
}

/* Couleurs spécifiques des contours au hover */
.partner-logo:hover:has(.html-logo) {
    border-color: rgba(227, 79, 38, 0.4);
    /* Orange HTML */
}

.partner-logo:hover:has(.css-logo) {
    border-color: rgba(21, 114, 182, 0.4);
    /* Bleu CSS */
}

.partner-logo:hover:has(.js-logo) {
    border-color: rgba(247, 223, 30, 0.4);
    /* Jaune JavaScript */
}

.partner-logo:hover:has(.seo-logo) {
    border-color: rgba(66, 133, 244, 0.4);
    /* Bleu Google */
}

.partner-logo:hover:has(.hosting-logo) {
    border-color: rgba(255, 107, 53, 0.4);
    /* Orange serveur */
}

/* Logos des technologies web */
.html-logo,
.css-logo,
.js-logo,
.seo-logo,
.hosting-logo {
    width: 32px;
    height: 32px;
    opacity: 0.7;
    transition: all 0.3s ease;
    color: #ffffff;
    /* Blanc pour tous les logos */
}

.partner-logo:hover .html-logo,
.partner-logo:hover .css-logo,
.partner-logo:hover .js-logo,
.partner-logo:hover .seo-logo,
.partner-logo:hover .hosting-logo {
    opacity: 1;
    transform: scale(1.15);
    color: var(--primary-color);
    /* Vert au hover */
}

/* Couleurs spécifiques au hover pour plus de distinction */
.partner-logo:hover .html-logo {
    color: #E34F26;
    /* Orange HTML */
}

.partner-logo:hover .css-logo {
    color: #1572B6;
    /* Bleu CSS */
}

.partner-logo:hover .js-logo {
    color: #F7DF1E;
    /* Jaune JavaScript */
}

.partner-logo:hover .seo-logo {
    color: #4285F4;
    /* Bleu Google */
}

.partner-logo:hover .hosting-logo {
    color: #FF6B35;
    /* Orange serveur */
}

/* Why Lucca Section */
.why-lucca {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-align: left;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.why-lucca-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.why-lucca-text {
    max-width: 100%;
}

.why-lucca-headline {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.why-lucca-description {
    font-size: clamp(18px, 2.5vw, 24px);
    line-height: 1.5;
    color: var(--text-secondary);
    font-weight: 400;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    justify-items: center;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    line-height: 1;
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 50%, #ec4899 100%);
    opacity: 0.1;
    border-radius: 10px;
    filter: blur(20px);
    z-index: -1;
}

.stat-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat-sublabel {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
}

.pricing-intro {
    text-align: center;
    margin-bottom: 80px;
}

.pricing-headline {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
}

.pricing-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: none;
    border: none;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #059669;
}

.pricing-featured {
    border: 2px solid var(--primary);
    transform: none;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(5, 150, 105, 0.2);
}

.pricing-badge {
    display: inline-block;
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.pricing-featured .pricing-badge {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.4);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 10px;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 800;
    color: #059669;
}

.price-gradient {
    background: linear-gradient(135deg, var(--primary-color), #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.price-old {
    font-size: 1.1rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.pricing-savings {
    font-size: 1rem;
    color: #059669;
    font-weight: 600;
    margin-bottom: 30px;
}

.pricing-contact {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 25px;
    font-style: italic;
}

.pricing-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 30px;
    line-height: 1.6;
}

.pack-normal-view .pricing-subtitle {
    flex-grow: 1;
}

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

.pricing-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 0;
    color: #64748b;
    line-height: 1.4;
}

.pricing-features li::before {
    content: "";
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
    font-size: 1.2rem;
}

.pricing-button {
    width: 100%;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid #059669;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
}

.pricing-button span {
    color: #059669;
}

.pricing-button:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.3);
}

.pricing-button:hover span {
    color: white;
}

.pricing-featured .pricing-button {
    border-color: #059669;
    color: #059669;
}

.pricing-featured .pricing-button:hover {
    background: #059669;
    color: white;
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.3);
}

/* Bouton retour */
.back-button {
    background: #059669;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.back-button:hover {
    background: #059669;
    transform: translateX(-5px);
}

/* Vue normale et détails */
.pack-normal-view {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.pack-details-view {
    display: none;
    flex-direction: column;
    height: 100%;
}

/* Vue détails */
.pack-details-view .pricing-features {
    margin-top: 30px;
}

.pack-details-view .pricing-features li {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.pack-details-view .pricing-features li:last-child {
    border-bottom: none;
}

/* Animations pour les cartes de pricing */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(79, 255, 176, 0.2);
    }

    50% {
        box-shadow: 0 0 30px rgba(79, 255, 176, 0.4);
    }
}

.pricing-featured {
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing {
        padding: 60px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .pricing-featured {
        transform: none;
        animation: fadeInUp 0.8s ease forwards;
    }
    


    .pricing-headline {
        font-size: 2rem;
    }

    .pricing-description {
        font-size: 1rem;
    }

    .price-current {
        font-size: 2.5rem;
    }

    .price-old {
        font-size: 1.2rem;
    }
}

/* Nominee Widget */
.nominee-widget {
    position: fixed;
    right: -40px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    background: white;
    padding: 8px 40px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.nominee-text {
    color: var(--bg-dark);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Animations avancées */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Effet Glitch */
@keyframes glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

.glitch-effect {
    animation: glitch 0.3s ease-in-out;
}

.glitch-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 0, 150, 0.1), transparent);
    z-index: -1;
}

/* Header dynamique */
.header.scrolled {
    background: rgba(10, 10, 15, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header.hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

/* Effet Tilt sur les cartes */
.partner-logo {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

/* Effet de glow sur les boutons */
.cta-button,
.hero-cta {
    position: relative;
    overflow: hidden;
}

.cta-button::before,
.hero-cta::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cta-button:hover::before,
.hero-cta:hover::before {
    opacity: 1;
}

/* Menu mobile amélioré */
.nav-toggle span {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-list.active .nav-link {
    animation: slideInLeft 0.6s ease forwards;
}

.nav-list.active .nav-link:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-list.active .nav-link:nth-child(2) {
    animation-delay: 0.2s;
}

.nav-list.active .nav-link:nth-child(3) {
    animation-delay: 0.3s;
}

.nav-list.active .nav-link:nth-child(4) {
    animation-delay: 0.4s;
}

.nav-list.active .nav-link:nth-child(5) {
    animation-delay: 0.5s;
}

.nav-list.active .nav-link:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

/* Animation de chargement */
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

/* Effet de pulsation sur les éléments de blur */
.bg-blur {
    animation: pulse 4s ease-in-out infinite alternate;
}

.bg-blur:nth-child(2) {
    animation-delay: 1s;
}

.bg-blur:nth-child(3) {
    animation-delay: 2s;
}

.bg-blur:nth-child(4) {
    animation-delay: 3s;
}

@keyframes pulse {
    0% {
        filter: blur(100px);
        opacity: 0.6;
    }

    100% {
        filter: blur(120px);
        opacity: 0.8;
    }
}

/* Effet typewriter */
.typewriter-text {
    display: inline-block;
}

.hero-title {
    overflow: visible;
    min-height: 1.2em;
}

/* Animation des particules */
#animated-bg {
    opacity: 0.7;
}

/* Effet de parallax sur les éléments */
.parallax-element {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* Effet de survol sur les liens de navigation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Effet de masquage/démasquage fluide */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Effet de rotation sur les icônes */
.logo-icon {
    width: 90px !important;
    height: 90px !important;
    transition: transform 0.3s ease;
}

/* Tablettes */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: clamp(40px, 6vw, 56px);
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 30px;
    }

    .bg-blur {
        filter: blur(80px) !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Header mobile */
    .header-content {
        padding: 15px 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
        padding: 8px;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }

    .nav-toggle:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .nav-toggle:active {
        transform: scale(0.95);
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        padding: 0;
        opacity: 0;
        visibility: hidden;
    }

    /* Overlay flou pour le contenu derrière */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s ease;
        z-index: 999;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-list.active {
        right: 0;
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 28px;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.5s ease;
        padding: 10px 20px;
    }

    .nav-list.active .nav-link {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Afficher le lien CONTACT sur mobile */
    .nav-link[href="contact.html"] {
        display: block !important;
    }

    .nav-link::after {
        bottom: 5px;
    }

    .cta-button {
        display: none !important;
        /* Masquer complètement sur mobile */
    }

    .logo-name {
        font-size: 18px;
    }

    .logo-tagline {
        display: none;
    }

    /* Hero mobile */
    .hero {
        padding: 120px 0 60px;
        min-height: 70vh;
    }

    .hero-title {
        font-size: clamp(32px, 8vw, 48px);
        margin-bottom: 30px;
        line-height: 1.2;
    }

    .hero-cta {
        padding: 14px 28px;
        font-size: 15px;
        margin-bottom: 30px;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 1.5;
        padding: 0 10px;
    }

    /* Partners mobile */
    .partners {
        padding: 50px 0;
    }

    .partners-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        max-width: 100%;
        margin: 0 auto;
    }

    .partner-logo {
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 16px !important;
        padding: 20px 16px !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 8px !important;
        min-width: 100px;
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }

    .partner-logo:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        transform: translateY(-5px) !important;
    }

    /* Couleurs spécifiques des contours au hover sur mobile */
    .partner-logo:hover:has(.html-logo) {
        border-color: rgba(227, 79, 38, 0.5) !important;
    }

    .partner-logo:hover:has(.css-logo) {
        border-color: rgba(21, 114, 182, 0.5) !important;
    }

    .partner-logo:hover:has(.js-logo) {
        border-color: rgba(247, 223, 30, 0.5) !important;
    }

    .partner-logo:hover:has(.seo-logo) {
        border-color: rgba(66, 133, 244, 0.5) !important;
    }

    .partner-logo:hover:has(.hosting-logo) {
        border-color: rgba(255, 107, 53, 0.5) !important;
    }

    .partner-logo svg {
        width: 32px !important;
        height: 32px !important;
        margin: 0 auto 8px auto;
    }

    .partner-logo span {
        font-size: 12px;
        font-weight: 600;
        color: var(--text-primary);
    }

    /* Background effects mobile */
    .bg-blur {
        filter: blur(60px) !important;
        opacity: 0.4 !important;
    }

    .bg-blur-1 {
        width: 250px !important;
        height: 250px !important;
    }

    .bg-blur-2 {
        width: 200px !important;
        height: 200px !important;
    }

    .bg-blur-3 {
        width: 220px !important;
        height: 220px !important;
    }

    .bg-blur-4 {
        width: 180px !important;
        height: 180px !important;
    }

    /* Why Lucca mobile */
    .why-lucca {
        padding: 60px 0;
    }

    .section-title {
        font-size: 12px;
        letter-spacing: 1.5px;
        text-align: center;
        margin-bottom: 40px;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .why-lucca-content {
        gap: 50px;
    }

    .why-lucca-headline {
        font-size: clamp(24px, 6vw, 32px);
        text-align: center;
        margin-bottom: 20px;
    }

    .why-lucca-description {
        font-size: clamp(16px, 4vw, 18px);
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stat-number {
        font-size: clamp(40px, 12vw, 60px);
    }

    .stat-label {
        font-size: 16px;
    }

    .stat-sublabel {
        font-size: 13px;
    }

    .nominee-widget {
        display: none;
    }

    /* Réduction des particules sur mobile */
    #animated-bg {
        opacity: 0.3;
    }

    /* Désactiver les effets tilt sur mobile */
    .partner-logo {
        transform: none !important;
    }

    /* Améliorer les touches tactiles */
    .nav-link,
    .cta-button,
    .hero-cta {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-image {
        display: none !important;
    }

    .mobile-container img {
        height: 70%; /* Ajustement pour mobile */
        border: 4px solid #111; /* Bordure plus fine */
    }
    
    .mobile-container video {
        height: 110%; /* Increase from 95% to 98% */
        width: auto; /* Let width adjust to maintain aspect ratio */
        max-width: 100%; /* Full width */
        aspect-ratio: 16/9; /* 1920x1080 ratio */
        object-fit: contain; /* Show entire video without cropping */
        border-radius: 20px;
        border: none; /* Remove border */
        background: #000;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        display: block; /* Ensure proper block display */
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: clamp(28px, 7vw, 40px);
        margin-bottom: 25px;
    }

    .hero-cta {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero-subtitle {
        font-size: 15px;
        padding: 0 5px;
    }

    .partners-grid {
        gap: 15px;
        max-width: 100%;
    }

    .partner-logo {
        padding: 16px 12px;
        border-radius: 12px;
        flex: 0 0 calc(50% - 7.5px);
        max-width: calc(50% - 7.5px);
    }

    .partner-logo svg {
        width: 28px !important;
        height: 28px !important;
    }

    .partner-logo span {
        font-size: 11px;
    }

    .header-content {
        padding: 12px 0;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* Typewriter mobile */
    .typewriter-cursor {
        font-size: 0.9em;
    }
}

/* Mode paysage mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 100px 0 40px;
        min-height: 60vh;
    }

    .hero-title {
        font-size: clamp(28px, 6vw, 40px);
        margin-bottom: 20px;
    }

    .hero-cta {
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 14px;
    }
}

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--bg-color);
    position: relative;
}

.services-intro {
    text-align: center;
    margin-bottom: 80px;
}

.services-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 30px;
    color: white;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-web {
    grid-column: 1 / 3;
    grid-row: 1;
}

.service-design {
    grid-column: 3;
    grid-row: 1;
}

.service-ux {
    grid-column: 1;
    grid-row: 2;
}

.service-automation {
    grid-column: 2 / 4;
    grid-row: 2;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(79, 255, 176, 0.1);
    border-color: rgba(79, 255, 176, 0.3);
}

.service-content {
    z-index: 2;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.service-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 1rem;
}

/* Service visuals */
.service-visual {
    margin-top: 30px;
    z-index: 1;
}

/* Browser mockup for web development */
.browser-mockup {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
}

.browser-bar {
    background: #2a2a2a;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.browser-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red {
    background: #ff5f57;
}

.control.yellow {
    background: #ffbd2e;
}

.control.green {
    background: #28ca42;
}

.browser-url {
    background: #1a1a1a;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #888;
    flex: 1;
}

.browser-content {
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.code-line {
    margin-bottom: 8px;
    color: #4fffb0;
}

.code-tag {
    color: #64b5f6;
}

.code-indent {
    color: #f06292;
}

/* Service images */
.service-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 600px;
    height: 360px;
    overflow: hidden;
    border-bottom-right-radius: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.service-image img {
    max-width: 600px;
    max-height: 360px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.6;
    pointer-events: none;
}

/* UX/UI service - special styling */
.service-ux {
    background: linear-gradient(135deg, rgba(79, 255, 176, 0.1), rgba(45, 212, 191, 0.1));
    border-color: rgba(79, 255, 176, 0.3);
}

/* Responsive design for services */
@media (max-width: 768px) {
    .services {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }

    .service-web,
    .service-design,
    .service-ux,
    .service-automation {
        grid-column: 1;
        grid-row: auto;
    }

    .service-card {
        padding: 30px 20px;
        min-height: auto;
    }

    .services-headline {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .services-intro {
        margin-bottom: 50px;
    }

    .browser-content {
        padding: 15px;
        font-size: 0.8rem;
    }

    .service-image {
        width: 420px;
        height: 250px;
    }

    .service-image img {
        max-width: 420px;
        max-height: 250px;
    }
}

.pricing-card.pricing-premium {
    background: linear-gradient(135deg, var(--bg-dark), rgba(15, 23, 42, 0.95));
    border: 2px solid var(--primary);
    box-shadow: 
        0 0 30px rgba(79, 255, 176, 0.3),
        0 0 60px rgba(147, 51, 234, 0.2),
        0 25px 60px rgba(79, 255, 176, 0.1);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.pricing-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.pricing-premium .pricing-title {
    color: var(--text-light);
}

.pricing-premium .pricing-contact,
.pricing-premium .pricing-subtitle {
    color: var(--text-gray);
}

.pricing-premium .pricing-badge {
    background: linear-gradient(135deg, var(--primary), #4ade80);
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(79, 255, 176, 0.4);
}

.pricing-premium .pricing-button {
    background: #fff;
    border: 2px solid #fff;
    font-weight: 600;
    position: relative;
}

.pricing-premium .pricing-button span {
    background: linear-gradient(90deg, var(--primary), #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.pricing-premium .pricing-button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pricing-premium .pricing-button:hover span {
    background: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Portfolio Section */
.portfolio {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.95) 0%, rgba(5, 5, 10, 0.98) 100%);
}

.portfolio-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.portfolio-headline {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portfolio-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.portfolio-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.portfolio-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-slide {
    min-width: 100%;
    position: relative;
}

.portfolio-item {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
    overflow: hidden;
    border-radius: 20px;
}

.portfolio-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-radius: 20px; /* Coins arrondis uniformes */
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.portfolio-category {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    width: fit-content;
}

.portfolio-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.portfolio-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.portfolio-nav {
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: all;
    opacity: 0;
}

.portfolio-carousel:hover .portfolio-nav {
    opacity: 1;
}

.portfolio-nav:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.portfolio-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.portfolio-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 30px 0 0;
}

.portfolio-indicator {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.portfolio-indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Animations automatiques */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.portfolio-slide.active {
    animation: slideIn 0.6s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio {
        padding: 80px 0;
    }
    
    .portfolio-intro {
        margin-bottom: 50px;
    }
    
    .portfolio-item {
        padding-bottom: 56.25%; /* Maintient le ratio 16:9 sur mobile */
    }
    
    .portfolio-overlay {
        padding: 30px 20px;
    }
    
    .portfolio-title {
        font-size: 20px;
    }
    
    .portfolio-category {
        font-size: 14px;
    }
    
    .portfolio-navigation {
        padding: 0 10px;
    }
    
    .portfolio-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .portfolio-item {
        padding-bottom: 56.25%; /* Maintient le ratio 16:9 sur petit mobile */
    }
    
    .portfolio-overlay {
        padding: 20px 15px;
    }
    
    .portfolio-title {
        font-size: 18px;
    }
}

/* Portfolio responsive pour Au Vieux Logis */
.portfolio-responsive {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align top */
    align-items: center;
    gap: 20px;
    padding: 20px; /* Add some padding */
    height: auto;
    min-height: 0; /* Override previous min-height */
    padding-bottom: 0; /* Override aspect ratio padding */
}

.responsive-display-area {
    width: 100%;
    height: 0; /* Reset height */
    padding-bottom: 56.25%; /* 16:9 aspect ratio like other portfolio items */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.version-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none; /* Hide non-active containers from mouse */
}

.version-container.active {
    opacity: 1;
    pointer-events: auto; /* Enable interaction on active container */
}

.desktop-container img {
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    object-fit: cover; /* Cover like other items */
    border-radius: 20px; /* Coins arrondis uniformes */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mobile-container {
    /* Override positioning for mobile - center it properly */
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mobile-frame {
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 10px; /* Keep the padding */
}

.mobile-container img {
    height: 70%; /* Ajustement pour mobile */
    width: auto;
    object-fit: contain;
    border-radius: 20px;
    border: 4px solid #111; /* Bordure plus fine */
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block; /* Ensure proper block display */
}

.mobile-container video {
    height: 100%; /* Same height as other items */
    width: 100%; /* Full width */
    object-fit: cover; /* Cover like other items */
    border-radius: 20px; /* Coins arrondis uniformes */
    border: none; /* No border */
    background: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
}

.version-selector {
    position: static; /* REMOVE absolute positioning */
    display: flex;
    gap: 8px;
    z-index: 5;
}

.version-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.version-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.version-btn.active {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

.version-btn svg {
    width: 16px;
    height: 16px;
}

/* Responsive pour version selector */
@media (max-width: 768px) {
    .version-selector {
        top: 15px;
        right: 15px;
        gap: 6px;
    }
    
    .version-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .version-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* Platform indicators pour les autres projets */
.platform-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.platform-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    cursor: default; /* Pas cliquable car c'est juste informatif */
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.platform-btn.active {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

.platform-btn svg {
    width: 16px;
    height: 16px;
}

/* Responsive pour platform indicator */
@media (max-width: 768px) {
    .platform-indicator {
        top: 15px;
        right: 15px;
        gap: 6px;
    }
    
    .platform-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .platform-btn svg {
        width: 14px;
        height: 14px;
    }
    
    /* Portfolio responsive mobile */
    .portfolio-responsive {
        padding: 15px;
        gap: 15px;
    }
    
    .responsive-display-area {
        height: 300px; /* Hauteur réduite pour mobile */
    }
    
    .mobile-container img {
        height: 70%; /* Ajustement pour mobile */
        border: 4px solid #111; /* Bordure plus fine */
    }
    
    .mobile-container video {
        height: 70%; /* Reduce height to ensure full video is visible */
        width: auto; /* Let width adjust to maintain aspect ratio */
        max-width: 90%; /* Ensure it doesn't exceed container width */
        aspect-ratio: 16/9; /* 1920x1080 ratio */
        object-fit: contain; /* Show entire video without cropping */
        border-radius: 20px;
        border: 6px solid #111; /* Phone-like border */
        background: #000;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        display: block; /* Ensure proper block display */
    }
    
    .version-selector {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
}

/* Responsive mobile très petits écrans */
@media (max-width: 480px) {
    .platform-indicator {
        top: 10px;
        right: 10px;
        gap: 4px;
    }
    
    .platform-btn {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .platform-btn svg {
        width: 12px;
        height: 12px;
    }
    
    .portfolio-responsive {
        padding: 10px;
        gap: 10px;
    }
    
    .responsive-display-area {
        height: 250px; /* Encore plus petit */
    }
    
    .version-btn {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .version-btn svg {
        width: 12px;
        height: 12px;
    }
}

/* Page Content Styles */
.page-content {
    padding: 120px 0 100px;
    position: relative;
    min-height: 100vh;
    background: var(--bg-dark);
}

.page-message {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-message h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.page-message p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.back-home-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--bg-dark);
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.back-home-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(79, 255, 176, 0.3);
}

@media (max-width: 768px) {
    .page-content {
        padding: 80px 0 60px;
        min-height: 100vh;
    }
    
    .estimator-header-fixed {
        top: 52px;
        left: 50%;
        transform: translateX(-50%);
        padding: 4px 10px 8px 10px;
        max-width: 95vw;
        min-width: 0;
        width: auto;
        border-radius: 16px;
        background: rgba(20,20,20,0.55);
        box-shadow: 0 2px 12px rgba(0,0,0,0.10);
        border: none;
    }
    .estimator-header {
        margin: 0;
    }
    .estimator-header h1 {
        font-size: 1rem;
        font-weight: 500;
        margin-bottom: 0;
        color: #fff;
        opacity: 0.85;
        line-height: 1.2;
    }
    .estimator-header p {
        display: none;
    }
    .progress-bar {
        height: 2px;
        margin-bottom: 2px;
    }
    .progress-text {
        font-size: 0.7rem;
        opacity: 0.5;
        margin-bottom: 0;
    }
    .estimator-container {
        margin-top: 200px !important;
        padding-top: 100px;
        padding-left: 4px;
        padding-right: 4px;
        padding-bottom: 24px;
    }
    
    .page-message h1 {
        font-size: clamp(28px, 6vw, 40px);
        margin-bottom: 16px;
    }
    
    .page-message p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .back-home-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Estimator Styles */
.estimator-header-fixed {
    position: fixed;
    top: 180px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 16px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    transition: transform 0.3s, opacity 0.3s;
}
.header-hidden {
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
}

.estimator-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 40px;
    margin-top: 120px;
}

.estimator-header {
    text-align: center;
    margin: 0;
}

.estimator-header h1 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    opacity: 0.9;
}

.estimator-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    opacity: 0.7;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #00d4aa);
    border-radius: 2px;
    transition: width 0.5s ease;
    width: 12.5%;
}

.progress-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
    opacity: 0.6;
}

.estimator-content {
    position: relative;
}

.question-card {
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    display: none;
    pointer-events: none;
}

.question-card.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
    pointer-events: auto;
}

.question-card h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 32px;
    text-align: center;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.option-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    min-height: 120px;
    position: relative;
    overflow: hidden;
}

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

.option-btn:hover {
    background: rgba(79, 255, 176, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 255, 176, 0.2);
}

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

.option-btn.selected {
    background: rgba(79, 255, 176, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(79, 255, 176, 0.3);
}

.option-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.option-btn span {
    font-weight: 600;
}

.continue-btn {
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    border-radius: 50px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px auto 0;
    display: block;
}

.continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 255, 176, 0.3);
}

.info-message {
    background: rgba(79, 255, 176, 0.1);
    border: 1px solid rgba(79, 255, 176, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
    display: none;
    text-align: center;
}

.info-message.show {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.info-message strong {
    color: var(--primary-color);
}

.results-container {
    text-align: center;
}

.results-summary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
    text-align: left;
}

.result-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.result-item:last-child { border-bottom: none; }

.result-label {
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.result-value {
    text-align: right;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    line-height: 1.4;
}

.final-cta {
    margin-top: 40px;
}

.final-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.multi-select .option-btn {
    min-height: 100px;
}

.multi-select .option-btn.selected {
    background: rgba(79, 255, 176, 0.2);
}

@media (max-width: 768px) {
    .estimator-container {
        padding: 20px 10px;
    }
    
    .estimator-header h1 {
        font-size: 2rem;
    }
    
    .question-card {
        padding: 24px;
    }
    
    .question-card h2 {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .option-btn {
        min-height: 100px;
        padding: 20px;
    }
    
    .option-icon {
        font-size: 2rem;
    }
    
    .results-summary {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .estimator-header h1 {
        font-size: 1.8rem;
    }
    
    .question-card {
        padding: 20px;
    }
    
    .option-btn {
        min-height: 80px;
        padding: 16px;
    }
    
    .option-icon {
        font-size: 1.8rem;
    }
}

.estimation-badge {
  color: #4fff90;
  font-size: 0.98em;
  font-weight: 600;
  margin-left: 10px;
  white-space: nowrap;
}

.estimation-badge-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

.estimation-value-vertical {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  width: 100%;
}
.estimation-main-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  line-height: 1.2;
}
.estimation-badge-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 2px;
}

@media (max-width: 600px) {
  .result-item {
    display: block;
    text-align: center;
    padding: 18px 0;
  }
  .result-label, .result-value, .estimation-value-vertical {
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    display: block;
  }
  .estimation-badge-wrapper {
    justify-content: center !important;
  }
  .estimator-header-fixed {
    padding: 4px 4px 8px 4px;
    max-width: 98vw;
  }
  .estimator-header h1 {
    font-size: 1.05rem;
    margin-bottom: 0;
  }
  .progress-bar {
    height: 2px;
    margin-bottom: 2px;
  }
  .progress-text {
    font-size: 0.7rem;
  }
  .estimator-header-fixed {
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

.results-container h2 {
  margin-top: 16px;
}

@media (max-width: 600px) {
  .estimator-header-fixed {
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .estimator-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .estimator-header h1 {
    margin-bottom: 6px;
  }
  .progress-bar {
    margin-bottom: 8px;
  }
  .progress-text {
    margin-bottom: 0;
  }
}

@media (max-width: 600px) {
  .estimator-header-fixed {
    top: 6px;
  }

  /* Styles pour la bulle de progression mobile */
  .mobile-progress-bubble {
    display: flex; /* Visible sur mobile uniquement */
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.08), rgba(0, 123, 255, 0.03));
    border: 2px solid rgba(0, 123, 255, 0.25);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    margin-top: 12px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);
  }

  .bubble-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
  }

  .bubble-percentage {
    position: relative;
    z-index: 2;
    font-size: 12px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    transition: color 0.3s ease;
  }

  /* Cacher les éléments de progression classiques sur mobile */
  .estimator-header h1 {
    display: none !important;
  }

  .progress-bar {
    display: none !important;
  }

  .progress-text {
    display: none !important;
  }

  .estimator-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 40px;
  }
}

/* Cacher la bulle sur desktop */
@media (min-width: 601px) {
  .mobile-progress-bubble {
    display: none !important;
  }
}

/* Contact Page Styles */
.contact-section {
    padding: 180px 0 100px;
    position: relative;
    min-height: 100vh;
    background: var(--bg-dark);
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-intro {
    text-align: center;
    margin-bottom: 80px;
}

.contact-title {
    font-size: clamp(36px, 6vw, 54px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.contact-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

/* Formulaire de contact */
.contact-form-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

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

.contact-form {
    display: grid;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(79, 255, 176, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-textarea::placeholder {
    color: var(--text-secondary);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23a0a0a0' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 48px;
}

.form-group.focused .form-label {
    color: var(--primary-color);
}

/* Checkbox custom */
.form-checkbox {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid var(--bg-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Bouton d'envoi */
.form-submit {
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    padding: 18px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    position: relative;
    overflow: hidden;
}

.form-submit::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;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(79, 255, 176, 0.3);
}

.form-submit:hover::before {
    left: 100%;
}

.submit-icon {
    transition: transform 0.3s ease;
}

.form-submit:hover .submit-icon {
    transform: translateX(4px);
}

/* Message de succès */
.form-success {
    display: none;
    text-align: center;
    padding: 60px 20px;
    animation: fadeInUp 0.6s ease;
}

.success-icon {
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.2s forwards;
}

.form-success h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.4s forwards;
}

.form-success p {
    color: var(--text-secondary);
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.6s forwards;
}

/* Informations de contact */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.info-card:hover {
    border-color: rgba(79, 255, 176, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(79, 255, 176, 0.1);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: rgba(79, 255, 176, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.info-content p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 14px;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.info-content a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-container {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 120px 0 60px;
    }
    
    .contact-intro {
        margin-bottom: 60px;
    }
    
    .contact-title {
        font-size: 32px;
    }
    
    .contact-subtitle {
        font-size: 16px;
    }
    
    .contact-form-container {
        padding: 24px;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .form-submit {
        padding: 16px 24px;
        font-size: 14px;
    }
    
    .contact-info {
        gap: 16px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 20px;
    }
    
    .form-submit {
        width: 100%;
    }
    
    .checkbox-label {
        font-size: 13px;
    }
}

/* Styles pour les cartes de blog */
.blog-section {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.blog-header {
    text-align: center;
    margin-bottom: 4rem;
}

.blog-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--purple-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8b5cf6, #a855f7, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--text-primary);
}

.blog-card-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.blog-card-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card-views {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Responsive pour les cartes de blog */
@media (max-width: 768px) {
    .blog-section {
        padding: 4rem 0;
    }
    
    .blog-title {
        font-size: 2.5rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-card-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-card-content {
        padding: 1rem;
    }
    
    .blog-card-title {
        font-size: 1.1rem;
    }
}


