/* ==========================================================================
   LILLAPP STUDIO - MASTER STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & DESIGN SYSTEM
   -------------------------------------------------------------------------- */
:root {
    --brand-black: #0f0f11;       
    --brand-red: #e63946;         
    --brand-red-light: #fff0f1;   
    --text-main: #2d3748;         
    --text-muted: #6b7280;        
    --bg-white: #ffffff;
    --bg-light: #f8fafc;          
    --border-color: #e2e8f0;      
    
    --container-width: 1200px;
    --navbar-height: 80px;
    --radius-lg: 24px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

/* --------------------------------------------------------------------------
   2. RESETS & GLOBALS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* Décale tout le site pour éviter que le menu fixe cache le haut */
    padding-top: var(--navbar-height); 
}

img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding { padding: 140px 0; }

/* Utilitaires d'espacement et de couleur */
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
.pt-60 { padding-top: 60px; }
.pb-60 { padding-bottom: 60px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; }
.relative-z { position: relative; z-index: 2; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.font-bold { font-weight: 700; }
.tracking-wide { letter-spacing: 1.5px; }
.border-top { border-top: 1px solid var(--border-color); }

/* Alternances de fond */
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--brand-black) !important; color: white !important; }

/* --------------------------------------------------------------------------
   3. TYPOGRAPHIE
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Rubik', sans-serif;
    color: var(--brand-black);
    font-weight: 700;
}

.bg-dark h1 span, .bg-dark h2 span, .text-white h1 span, .text-white h2 span { color: var(--brand-red) !important; }

.section-title { font-size: 2.5rem; line-height: 1.2; margin-bottom: 20px; }
.section-title span { color: var(--brand-red); }

/* Badges & Tags */
.section-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--brand-red);
    background: var(--brand-red-light);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-tag.border-white {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-premium {
    display: inline-block;
    background: var(--bg-light);
    color: var(--brand-black);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

/* --------------------------------------------------------------------------
   4. BOUTONS
   -------------------------------------------------------------------------- */
.btn-primary-solid {
    display: inline-block;
    background: var(--brand-red);
    color: #ffffff !important; /* Force le texte en blanc */
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.2);
}
.btn-primary-solid:hover {
    background: #f06969;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

.btn-outline-dark {
    display: inline-block;
    padding: 14px 30px;
    border: 2px solid var(--brand-black);
    color: var(--brand-black);
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-outline-dark:hover { background: var(--brand-black); color: #ffffff; }

.btn-outline-white {
    display: inline-block;
    background: transparent;
    color: #ffffff !important;
    border: 2px solid #ffffff;
    padding: 14px 34px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-outline-white:hover { background: #ffffff; color: var(--brand-black) !important; }

.btn-text-primary, .btn-text-secondary {
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}
.btn-text-primary { color: var(--brand-red); }
.btn-text-primary:hover { color: var(--brand-black); }
.btn-text-secondary { color: var(--text-muted); }
.btn-text-secondary:hover { color: var(--brand-black); }

/* --------------------------------------------------------------------------
   5. NAVBAR PREMIUM (GLASSMORPHISM)
   -------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.nav-logo img { height: 50px; width: auto; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 35px; }

.nav-links li a:not(.nav-btn-premium) {
    text-decoration: none;
    color: var(--brand-black);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-links li a:not(.nav-btn-premium)::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: 0; left: 0; background-color: var(--brand-red);
    transition: width 0.3s ease;
}

.nav-links li a:not(.nav-btn-premium):hover, .nav-links li a.active { color: var(--brand-red); }
.nav-links li a:hover::after, .nav-links li a.active::after { width: 100%; }

.nav-btn-premium {
    background-color: var(--brand-black);
    color: #ffffff !important;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.nav-btn-premium:hover {
    background-color: var(--brand-red);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.2);
}

.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; }
.mobile-menu-toggle .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--brand-black); transition: all 0.3s; }

/* --------------------------------------------------------------------------
   6. LES HEROS DE CHAQUE PAGE
   -------------------------------------------------------------------------- */
/* 1. Correction de l'écart avec la section du dessus (Services) */
.home-lab {
    padding: 120px 0; /* Crée un grand espace respirable en haut et en bas */
    background-color: var(--bg-white);
    overflow: hidden;
}

   .home-hero {
    position: relative;
    padding: 120px 0 80px;
    background-color: var(--bg-white);
    overflow: hidden;
}
.hero-bg-glow {
    position: absolute; top: -150px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 400px; background: radial-gradient(circle, rgba(230, 57, 70, 0.06) 0%, rgba(255,255,255,0) 70%);
    z-index: 1; pointer-events: none;
}
.home-hero h1 { font-size: clamp(2.8rem, 6vw, 4.2rem); line-height: 1.1; margin-bottom: 25px; letter-spacing: -1px; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); max-width: 750px; margin: 0 auto 40px; line-height: 1.6; }
.hero-cta { display: flex; justify-content: flex-start; align-items: center; gap: 15px; }

/* Bandeau du haut des pages Services, Lab, About */
.page-hero { background-color: var(--brand-black) !important; color: white !important; }
.page-hero h1 span { color: var(--brand-red); }

/* --------------------------------------------------------------------------
   7. SECTIONS DE LA HOMEPAGE
   -------------------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.service-card-home { background: #ffffff; padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--border-color); transition: all 0.3s; }
.service-card-home:hover { border-color: var(--brand-red); box-shadow: 0 15px 35px rgba(230, 57, 70, 0.05); transform: translateY(-4px); }
.sc-icon { font-size: 2.2rem; margin-bottom: 20px; background: var(--bg-light); width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-md); }
.service-card-home h3 { font-size: 1.4rem; margin-bottom: 15px; }

.media-logos-row, .stack-logos-row { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 40px 60px; max-width: 1000px; margin: 0 auto; }
.media-logo, .stack-logos-row img { height: 40px; width: auto; object-fit: contain; filter: grayscale(100%) opacity(0.5); transition: all 0.3s; }
.media-logo:hover, .stack-logos-row img:hover { filter: grayscale(0%) opacity(1); transform: scale(1.05); }

/* --------------------------------------------------------------------------
   8. LAYOUT ASYMÉTRIQUE (SERVICES & LAB)
   -------------------------------------------------------------------------- */
.detailed-services-section { padding: 140px 0; background-color: var(--bg-white); }
.flex-services-wrapper { display: flex; flex-direction: column; gap: 130px; }
.service-row-block, .product-row-block, .lab-teaser-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }

@media (min-width: 992px) {
    .service-row-block.reverse .srv-text-side { order: 2; }
    .service-row-block.reverse .srv-visual-side { order: 1; }
    .product-row-block.reverse .prd-text-side { order: 2; }
    .product-row-block.reverse .prd-visual-side { order: 1; }
}

.srv-number, .prd-number { font-family: 'Rubik', sans-serif; font-size: 3.5rem; font-weight: 900; color: #e0e0e0; display: block; line-height: 1; margin-bottom: 10px; }
.srv-text-side h2, .prd-text-side h2, .lab-teaser-text h2 { font-size: 2.3rem; line-height: 1.2; margin-bottom: 20px; letter-spacing: -0.5px; }
.srv-text-side h2 span, .prd-text-side h2 span, .lab-teaser-text h2 span { color: var(--brand-red); }
.srv-lead, .prd-lead, .lab-lead { font-size: 1.15rem; font-weight: 600; line-height: 1.6; color: var(--text-main); margin-bottom: 15px; }
.srv-text-side p, .prd-text-side p { color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }

/* Livrables & Tags */
.srv-deliverables, .prd-deliverables { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.srv-deliverables h5, .prd-deliverables h5 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.srv-tags-mini, .prd-tags-mini { display: flex; flex-wrap: wrap; gap: 8px; }
.srv-tags-mini span, .prd-tags-mini span { background: var(--bg-light); border: 1px solid var(--border-color); padding: 6px 14px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.prd-tags-mini span { border-color: var(--brand-red); color: var(--brand-red); background: #ffffff; }
.prd-tags-mini.gray-tags span { border-color: var(--border-color); color: var(--text-muted); background: var(--bg-light); }

/* Badges Status Lab */
.badge-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }
.badge-status.live { background: #e8f5e9; color: #2e7d32; }
.badge-status.live .dot { width: 8px; height: 8px; background: #4caf50; border-radius: 50%; }
.badge-status.concept { background: #f3e5f5; color: #7b1fa2; }
.badge-status.concept .dot { width: 8px; height: 8px; background: #9c27b0; border-radius: 50%; }

/* Lab Home Features */
.lab-features-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.lab-feature-item { display: flex; gap: 15px; align-items: flex-start; }
.lf-icon { background: var(--bg-light); border: 1px solid var(--border-color); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 1.2rem; flex-shrink: 0; }
.lab-feature-item:hover .lf-icon { border-color: var(--brand-red); background: #fff0f1; transform: scale(1.05); }

/* CAPSULE VISUELLE & EFFET 3D */
.srv-visual-side, .prd-visual-side, .lab-teaser-visual { display: flex; justify-content: center; align-items: center; perspective: 1500px; }
.visual-container-bg.landscape { background-color: var(--bg-light); border: 1px solid var(--border-color); padding: 40px; border-radius: 35px; width: 100%; max-width: 600px; position: relative; }
.srv-photo, .prd-photo, .visual-photo { width: 100%; height: auto; object-fit: cover; border-radius: 16px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); transition: transform 0.5s ease, box-shadow 0.5s ease; }

.service-row-block:hover .srv-photo, .product-row-block:hover .prd-photo, .lab-teaser-visual:hover .visual-photo {
    transform: translateZ(30px) rotateY(-3deg) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.lab-badge { position: absolute; bottom: -15px; right: 15px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-weight: 700; font-size: 0.8rem; padding: 8px 18px; border-radius: 50px; border: 1px solid rgba(255, 255, 255, 0.4); box-shadow: 0 10px 25px rgba(0,0,0,0.05); z-index: 5; }

/* --------------------------------------------------------------------------
   9. PAGE A PROPOS (STORY & VALUES)
   -------------------------------------------------------------------------- */
.story-grid, .approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.vision-box { background: var(--brand-black); color: white; padding: 80px; border-radius: 40px; }
.vision-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-top: 50px; text-align: center; }
.v-feature h4 { color: white; margin-bottom: 15px; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.value-card { background: white; padding: 40px 30px; border-radius: var(--radius-lg); border: 1px solid var(--border-color); transition: transform 0.3s; }
.value-card:hover { transform: translateY(-5px); border-color: var(--brand-red); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.v-icon { font-size: 2.5rem; margin-bottom: 20px; }

.tag-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin: 30px 0; }
.tag-cloud span { background: white; border: 1px solid var(--border-color); padding: 12px 24px; border-radius: 50px; font-weight: 600; }
.lab-link-card { background: var(--bg-light); padding: 50px; border-radius: var(--radius-lg); display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--border-color); }

.clean-list { list-style: none; }

/* --------------------------------------------------------------------------
   10. FAQ
   -------------------------------------------------------------------------- */
.faq { padding: 120px 0; background-color: var(--bg-white); }
.faq-list { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--border-color); }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-item summary { font-size: 1.2rem; font-weight: 700; color: var(--brand-black); padding: 24px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--brand-red); }
.faq-item[open] summary::after { content: '-'; transform: rotate(180deg); }
.faq-answer { padding-bottom: 24px; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   11. PORTAIL LEGAL
   -------------------------------------------------------------------------- */
.legal-portal { padding: 80px 0; background-color: var(--bg-light); }
.legal-container { display: flex; gap: 40px; }
.legal-sidebar { flex: 0 0 300px; position: sticky; top: 110px; align-self: flex-start; background: #ffffff; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 24px; }
.legal-nav { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.legal-nav-btn { width: 100%; text-align: left; background: none; border: none; padding: 12px 16px; font-size: 0.95rem; font-weight: 500; color: var(--text-muted); border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s; }
.legal-nav-btn:hover, .legal-nav-btn.active { background-color: var(--brand-red-light); color: var(--brand-red); font-weight: 600; }
.legal-content-wrapper { flex: 1; background: #ffffff; border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 50px; }
.legal-section { display: none; }
.legal-section.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --------------------------------------------------------------------------
   12. CTA FINAL & FOOTER PREMIUM
   -------------------------------------------------------------------------- */
.cta-final { padding: 120px 0; background: var(--brand-black); color: white; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.cta-final h2 { font-size: 2.8rem; margin-bottom: 20px; color: white; }

.site-footer { background-color: var(--brand-black); color: #ffffff; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 60px; }
.footer-logo { height: 38px; margin-bottom: 20px;}
.footer-description { color: #94a3b8; font-size: 0.95rem; margin-bottom: 25px; max-width: 300px; }
.social-links { display: flex; gap: 12px; }
.social-links a { color: white; text-decoration: none; font-size: 0.85rem; font-weight: 600; padding: 8px 16px; border: 1px solid rgba(255,255,255,0.15); border-radius: 50px; transition: all 0.3s; }
.social-links a:hover { background: white; color: var(--brand-black); }
.footer-nav h4, .footer-contact h4 { font-size: 1.1rem; margin-bottom: 25px; color: white; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-nav a { color: #94a3b8; text-decoration: none; font-size: 0.95rem; transition: all 0.3s; display: inline-block; }
.footer-nav a:hover { color: white; transform: translateX(6px); }
.footer-mail-link { color: white; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--brand-red); padding-bottom: 4px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.08); color: #64748b; font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   13. RESPONSIVE MOBILE
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    /* Navbar Mobile Drawer */
    .mobile-menu-toggle { display: block; }
    .nav-links {
        position: absolute; top: var(--navbar-height); left: 0; width: 100%;
        background: #ffffff; flex-direction: column; padding: 30px 0; gap: 25px;
        border-bottom: 1px solid var(--border-color); box-shadow: 0 15px 30px rgba(0,0,0,0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.4s ease-in-out;
    }
    .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .mobile-menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Layouts Alternés */
    .service-row-block, .product-row-block, .lab-teaser-grid, .story-grid, .approach-grid {
        grid-template-columns: 1fr !important; gap: 50px; text-align: center;
    }
    .service-row-block .srv-text-side, .product-row-block .prd-text-side { order: 1 !important; }
    .service-row-block .srv-visual-side, .product-row-block .prd-visual-side { order: 2 !important; }
    .srv-tags-mini, .prd-tags-mini, .lab-feature-item { justify-content: center; text-align: left; }
    
    .legal-container { flex-direction: column; }
    .legal-sidebar { position: static; width: 100%; }
    .legal-nav { flex-direction: row; flex-wrap: wrap; }
    .legal-nav li { flex: 1 1 calc(50% - 10px); }
    
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
    .hero-cta { justify-content: center; width: 100%; }
    .hero-cta a { width: 100%; text-align: center; }
    .legal-nav { flex-direction: column; } /* CORRIGÉ ! */
    .legal-nav li { flex: 1 1 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
    .social-links { justify-content: center; }
    .footer-logo { margin: 0 auto 20px; }
}

/* =========================================
   COMPLÉMENTS SPÉCIFIQUES PAGE LAB
   ========================================= */

/* Section Valeurs du Lab */
.lab-values { padding: 100px 0; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.value-card { background: white; padding: 40px 30px; border-radius: 20px; border: 1px solid var(--border-color); transition: transform 0.3s, box-shadow 0.3s; }
.value-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); border-color: var(--brand-red); }
.v-icon { font-size: 2.5rem; margin-bottom: 20px; }

/* Section Client Value */
.lab-client-value { padding: 120px 0; }
.client-value-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.value-text h2 { font-size: 2.8rem; color: var(--brand-black); margin-bottom: 20px; line-height: 1.2; }
.value-text h2 span { color: var(--brand-red); }
.value-text p { color: var(--text-muted); font-size: 1.15rem; line-height: 1.7; }
.value-points-title { font-size: 1.2rem; font-weight: 700; color: var(--brand-black); margin-bottom: 25px; }

.clean-list { list-style: none; padding: 0; margin: 0; }
.clean-list li { background: white; padding: 20px; border-radius: 12px; border-left: 4px solid var(--brand-red); margin-bottom: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.02); color: var(--text-muted); }
.clean-list li strong { color: var(--brand-black); }

@media (max-width: 991px) {
    .client-value-grid { grid-template-columns: 1fr; text-align: center; }
    .clean-list li { text-align: left; }
}

/* Structuration de la grille de la section Lab */
.lab-teaser-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

/* 2. Style du bouton ".btn-studio-lab" qui était absent */
.btn-studio-lab {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--brand-black); /* Bouton noir au départ */
    color: white !important;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s, transform 0.2s;
    margin-top: 10px;
}

/* Effet au survol du bouton */
.btn-studio-lab:hover {
    background: var(--brand-red); /* Devient rouge Lillapp au survol */
    transform: translateY(-2px); /* Petit effet de levier */
}

/* Animation micro-interaction de la flèche */
.btn-arrow {
    transition: transform 0.2s ease;
    display: inline-block;
}

.btn-studio-lab:hover .btn-arrow {
    transform: translateX(5px); /* La flèche glisse légèrement vers la droite au survol */
}

/* =========================================
   FIX RESPONSIVE : SECTION CLIENT VALUE (LAB)
   ========================================= */

/* --- 1. Version Ordinateur (Desktop) --- */
.lab-client-value {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.client-value-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Texte plus large à gauche, puces à droite */
    gap: 60px;
    align-items: center;
}

.value-text h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--brand-black);
    margin-bottom: 20px;
}

.value-text h2 span {
    color: var(--brand-red);
}

.value-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.value-points-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-black);
    margin-bottom: 25px;
}

/* Style premium des puces blanches */
.lab-client-value .clean-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    margin: 0;
}

.lab-client-value .clean-list li {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--brand-red);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    color: var(--text-muted);
    font-size: 1rem;
    text-align: left; /* On garde le texte des puces à gauche pour la lisibilité */
}

.lab-client-value .clean-list li strong {
    color: var(--brand-black);
    display: block;
    margin-bottom: 4px;
}

/* --- 2. Version Mobile & Tablette (Responsive) --- */
@media (max-width: 991px) {
    .lab-client-value {
        padding: 80px 0 !important;
    }

    .client-value-grid {
        grid-template-columns: 1fr !important; /* Passage forcé sur une seule colonne */
        gap: 40px !important;
        text-align: center; /* Centre le bloc de texte principal */
    }

    /* ASTUCE MAGIQUE : On neutralise le <br> du titre sur mobile pour éviter la cassure */
    .value-text h2 br {
        display: none;
    }
    
    /* On ajoute un petit espace pour éviter que les mots se collent sans le <br> */
    .value-text h2 span {
        display: inline-block;
        margin-left: 6px;
    }

    .value-text h2 {
        font-size: 2rem !important;
    }

    .value-points-title {
        margin-top: 20px;
    }
}

/* =========================================
   SECTION : STACK TECHNIQUE (CARTES DÉTAILLÉES)
   ========================================= */

.stack-grid {
    display: grid;
    /* Crée automatiquement autant de colonnes que possible (min 250px de large) */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.stack-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 35px 30px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
}

/* Le logo gris par défaut */
.stack-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    margin-bottom: auto; /* Pousse le texte vers le bas */
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.4s ease;
}

/* --- ANIMATIONS AU SURVOL --- */
.stack-card:hover {
    border-color: var(--brand-black);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.stack-card:hover .stack-logo {
    filter: grayscale(0%) opacity(1); /* Le logo reprend ses couleurs */
    transform: scale(1.1) rotate(-5deg); /* Petit effet dynamique */
}

/* Petit point décoratif en haut à droite */
.stack-card::before {
    content: '';
    position: absolute;
    top: 25px;
    right: 25px;
    width: 8px;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.stack-card:hover::before {
    background-color: var(--brand-red); /* Le point devient rouge */
    transform: scale(1.5);
}

/* Typographie interne à la carte */
.stack-category {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    display: block;
    margin-top: 30px;
    margin-bottom: 8px;
}

.stack-info h3 {
    font-family: 'Rubik', sans-serif;
    font-size: 1.3rem;
    color: var(--brand-black);
    margin: 0;
}

/* =========================================
   FIX : AJUSTEMENTS PAGE À PROPOS (ABOUT)
   ========================================= */

/* Structuration du grand pavé de vision noir */
.vision-box {
    background: var(--brand-black);
    color: #ffffff;
    padding: 80px 60px;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 70px rgba(0,0,0,0.15);
}

.vision-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* Le nuage de tags de l'expertise */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.tag-cloud span {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--brand-black);
    cursor: default;
}

.tag-cloud span:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
    background: var(--brand-red-light);
}

/* Responsive pour la zone d'écosystème */
@media (max-width: 991px) {
    .vision-box { padding: 50px 30px; }
    .tag-cloud { padding: 0 10px; }
}

/* =========================================
   PATCH RESPONSIVE : SÉCURITÉ MOBILE
   ========================================= */

/* 1. L'ennemi n°1 du mobile : le scroll horizontal */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* 2. Sécurité pour les images */
img {
    max-width: 100%;
    height: auto;
}

/* 3. Comportement forcé sur Tablette & Mobile */
@media (max-width: 991px) {
    /* Forcer TOUTES les grilles complexes à passer sur 1 seule colonne */
    .grid-3, 
    .hero-grid, 
    .story-grid, 
    .approach-grid, 
    .values-grid,
    .client-value-grid,
    .footer-grid,
    .lab-teaser-grid,
    .service-row-block,
    .product-row-block {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center;
    }

    /* Réduire l'espacement géant (140px) entre les sections sur mobile */
    .section-padding {
        padding: 80px 0 !important;
    }
    
    .home-hero, .page-hero {
        padding-top: 100px !important;
        padding-bottom: 60px !important;
    }

    /* Réduire la taille des gros titres pour qu'ils ne sortent pas de l'écran */
    .home-hero h1, .page-hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }

    .srv-number, .prd-number {
        font-size: 2.5rem !important;
    }

    .section-title {
        font-size: 2rem !important;
    }

    /* S'assurer que le menu mobile ouvert passe bien au-dessus de tout le reste */
    .nav-links.active {
        z-index: 9999;
    }
}

/* 4. Comportement forcé sur petit Smartphone */
@media (max-width: 576px) {
    /* La stack technique doit passer sur 1 seule colonne */
    .stack-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Boutons 100% de la largeur */
    .hero-cta, .cta-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .hero-cta a, .cta-buttons a {
        width: 100%;
        text-align: center;
        margin-left: 0 !important; /* Retire la marge du bouton "Nos services" */
    }

    .target-box {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   FIX RESPONSIVE : SECTION ÉCOSYSTÈME (ABOUT)
   ========================================= */

.ecosystem-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.ecosystem-text h2 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 20px; }
.ecosystem-text p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; margin-bottom: 0; }

.target-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    margin-bottom: 16px;
}
.target-card:last-child { margin-bottom: 0; }
.t-emoji { font-size: 2rem; }
.target-card-content h4 { margin-bottom: 4px; font-size: 1.1rem; }
.target-card-content p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* Responsive Mobile (Passe sur 1 colonne) */
@media (max-width: 991px) {
    .ecosystem-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center;
    }
    .ecosystem-text h2 br { display: none; }
    .ecosystem-text h2 span { display: inline-block; margin-left: 6px; }
    .target-card { text-align: left; }
}

/* Responsive Petit Smartphone */
@media (max-width: 576px) {
    .target-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* =========================================
   SECTION : PACKS & OFFRES (SERVICES)
   ========================================= */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

/* Carte mise en avant (Pack Architecture) */
.pricing-card.popular {
    border: 2px solid var(--brand-red);
    box-shadow: 0 20px 40px rgba(230, 57, 70, 0.08);
    transform: translateY(-10px); /* Toujours un peu surélevée */
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-red);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 50px;
    white-space: nowrap;
}

.pricing-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.p-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pricing-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1; /* Pousse le bouton toujours tout en bas */
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.pricing-features li .check {
    color: var(--brand-red);
    font-weight: 900;
    font-size: 1.1rem;
}

.pricing-btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
}

/* --- Responsive Pricing --- */
@media (max-width: 1199px) {
    /* Sur petit ordi ou tablette, on passe à 2 colonnes (2 cartes en haut, 2 en bas) */
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px !important;
    }
    
    .pricing-card.popular {
        transform: none; /* On annule la surélévation qui peut gêner sur tablette */
    }
}

@media (max-width: 767px) {
    /* Sur smartphone, on passe à 1 seule colonne */
    .pricing-grid {
        grid-template-columns: 1fr !important;
    }
    
    .popular-badge {
        font-size: 0.75rem;
    }
}

/* =========================================
   REASSURANCE : OFFRES & PACKS (SERVICES)
   ========================================= */

.pricing-guarantees-wrapper {
    margin-top: 80px;
    padding: 60px;
    background-color: var(--bg-light); /* En contraste avec le fond blanc des tarifs */
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.guarantees-intro {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px auto;
}

.guarantees-intro .mini-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--brand-red);
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 10px;
}

.guarantees-intro h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--brand-black);
}

.guarantees-intro h3 span {
    color: var(--brand-red);
}

.guarantees-intro p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* La grille des 3 piliers */
.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.guarantee-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.g-icon-circle {
    background: #ffffff;
    border: 1px solid var(--border-color);
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.guarantee-item:hover .g-icon-circle {
    border-color: var(--brand-red);
    background: var(--brand-red-light);
    transform: scale(1.05);
}

.g-content h4 {
    font-size: 1.15rem;
    color: var(--brand-black);
    margin-bottom: 8px;
}

.g-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* --- Responsive Garanties --- */
@media (max-width: 991px) {
    .pricing-guarantees-wrapper {
        padding: 40px 24px;
        margin-top: 60px;
    }
    
    .guarantees-grid {
        grid-template-columns: 1fr !important; /* Tout s'empile verticalement */
        gap: 30px !important;
    }
    
    .guarantee-item {
        flex-direction: column; /* Émoji au-dessus du texte sur mobile */
        align-items: center;
        text-align: center;
    }
}

/* =========================================
   NOUVELLE HOME PAGE DYNAMIQUE (INDEX)
   ========================================= */

/* --- HERO HOME PAGE COMPLET & ASYMÉTRIQUE --- */
.home-hero-dynamic {
    padding: 180px 0 140px;
    position: relative;
    overflow: hidden;
    background-color: var(--brand-black);
}

.hero-bg-grid {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.hero-split-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    line-height: 1.1;
    margin-bottom: 20px;
    margin-top: 20px;
}

.word-slider { display: inline-block; height: 1.1em; overflow: hidden; vertical-align: bottom; color: var(--brand-red); }
.word-slider-inner { display: block; animation: slideWords 8s cubic-bezier(0.23, 1, 0.32, 1) infinite; }
.word-slider-inner span { display: block; height: 1.1em; line-height: 1.1em; }

@keyframes slideWords {
    0%, 20% { transform: translateY(0); }
    25%, 45% { transform: translateY(-1.1em); }
    50%, 70% { transform: translateY(-2.2em); }
    75%, 100% { transform: translateY(-3.3em); }
}

.hero-lead { font-size: 1.2rem; color: #a0a0a0; max-width: 600px; line-height: 1.6; }

.hero-cta { display: flex; align-items: center; justify-content: flex-start; gap: 15px; }

/* Composition Visuelle Droite */
.hero-visual-right { position: relative; perspective: 1000px; }
.hero-composition { position: relative; width: 100%; height: 400px; }

.comp-card {
    background: rgba(255,255,255,0.03); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.main-interface {
    position: absolute; right: 20px; top: 20px; width: 320px; height: 360px;
    padding: 20px; transform: rotateY(-15deg) rotateX(5deg);
    animation: floatComp 6s ease-in-out infinite;
}

.comp-header { display: flex; gap: 6px; margin-bottom: 30px; }
.comp-header .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.comp-line { height: 12px; background: rgba(255,255,255,0.1); border-radius: 6px; margin-bottom: 12px; }
.w-100 { width: 100%; } .w-70 { width: 70%; margin-bottom: 30px; }

.comp-chart { display: flex; align-items: flex-end; gap: 15px; height: 150px; padding-top: 20px; border-top: 1px dashed rgba(255,255,255,0.1); }
.c-bar { flex: 1; background: rgba(255,255,255,0.05); border-radius: 6px 6px 0 0; position: relative; overflow: hidden; }
.c-bar::after { content:''; position: absolute; bottom:0; left:0; width:100%; background: var(--brand-red); border-radius: 6px 6px 0 0; }
.h-40::after { height: 40%; } .h-80::after { height: 80%; } .h-60::after { height: 60%; } .h-100::after { height: 100%; }

.comp-float { position: absolute; background: #ffffff; color: var(--brand-black); padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); z-index: 3; }
.float-1 { bottom: 40px; left: 0; animation: floatComp 5s ease-in-out infinite 0.5s; }
.float-2 { top: 60px; right: -20px; animation: floatComp 7s ease-in-out infinite 1s; }

@keyframes floatComp { 0%, 100% { transform: translateY(0) rotateY(-15deg) rotateX(5deg); } 50% { transform: translateY(-20px) rotateY(-15deg) rotateX(5deg); } }

.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.15; z-index: 0; pointer-events: none; }
.h-glow-1 { width: 400px; height: 400px; background: var(--brand-red); top: -100px; right: -100px; }
.h-glow-2 { width: 300px; height: 300px; background: #ffffff; bottom: -50px; left: -50px; }
.relative-z { position: relative; z-index: 2; }


/* --- BANDEAU DÉFILANT INFINI (LOGOS) --- */
.tech-marquee-wrapper { overflow: hidden; padding: 40px 0; display: flex; white-space: nowrap; background-color: var(--bg-light); border-bottom: 1px solid var(--border-color); }
.tech-marquee { width: 100%; }
.tech-marquee-content { display: flex; gap: 80px; align-items: center; animation: scrollMarquee 25s linear infinite; }
.tech-logo { height: 35px; width: auto; object-fit: contain; filter: grayscale(100%) opacity(0.4); transition: all 0.3s ease; cursor: default; }
.tech-logo:hover { filter: grayscale(0%) opacity(1); transform: scale(1.1); }
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-33.33%); } }


/* --- GRILLE DES BESOINS --- */
.needs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.need-card { background: #ffffff; padding: 40px 30px; border-radius: var(--radius-lg); border: 1px solid var(--border-color); display: flex; flex-direction: column; }
.featured-need { border-color: var(--brand-red); box-shadow: 0 15px 40px rgba(230, 57, 70, 0.08); }
.need-icon { font-size: 2.5rem; margin-bottom: 20px; }
.need-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--brand-black); }
.need-card p { color: var(--text-muted); line-height: 1.6; margin-bottom: 30px; flex-grow: 1; }
.need-link { font-weight: 700; color: var(--brand-black); text-decoration: none; transition: color 0.2s; }
.need-card:hover .need-link { color: var(--brand-red); }


/* --- BENTO GRID EXPERTISE --- */
.d-flex { display: flex; } .justify-between { justify-content: space-between; } .align-center { align-items: center; }
.bento-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.bento-item { padding: 40px; border-radius: var(--radius-lg); position: relative; overflow: hidden; border: 1px solid var(--border-color); }
.bento-large { grid-column: span 2; border: none; }
.bento-deco-icon { position: absolute; right: 30px; bottom: -20px; font-size: 6rem; opacity: 0.1; }
.bento-item h3 { font-size: 1.6rem; margin-bottom: 15px; }


/* --- LAB TEASER (Faux Mockup CSS) --- */
.abstract-mockup { width: 280px; height: 400px; background: #1a1a1a; border-radius: 30px; border: 8px solid #333; margin: 0 auto; padding: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.mockup-header { height: 40px; background: #333; border-radius: 10px; margin-bottom: 20px; }
.mockup-line { height: 12px; background: #444; border-radius: 6px; margin-bottom: 12px; }
.w-70 { width: 70%; } .mt-20 { margin-top: 20px; }
.mockup-box { height: 100px; background: rgba(230, 57, 70, 0.2); border: 1px dashed var(--brand-red); border-radius: 12px; }
.lab-floating-badge { position: absolute; bottom: 40px; left: -20px; background: var(--brand-red); padding: 10px 20px; border-radius: 50px; font-weight: 700; color: white; box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3); }

.lab-action-wrapper { margin-top: 40px; display: flex; justify-content: flex-start; }


/* --- RESPONSIVE HOME --- */
.show-mobile { display: none; }
@media (max-width: 991px) {
    .hero-split-layout { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-visual-right { display: none; }
    .hero-cta { justify-content: center; }
    .hero-bg-grid { mask-image: radial-gradient(circle at center, black 60%, transparent 100%); }
    
    .home-hero-dynamic h1 { font-size: 2.2rem; }
    .needs-grid { grid-template-columns: 1fr; gap: 20px; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-large { grid-column: span 1; }
    .hide-mobile { display: none; } .show-mobile { display: block; }
    .lab-floating-badge { left: 50%; transform: translateX(-50%); width: max-content; }
    .lab-action-wrapper { justify-content: center; margin-top: 30px; }
}

@media (max-width: 768px) {
    .tech-marquee-wrapper { padding: 30px 0; }
    .tech-marquee-content { gap: 50px; }
    .tech-logo { height: 28px; }
}
/* Classe utilitaire pour forcer un titre en blanc */
.text-white-title {
    color: #ffffff !important;
}

