/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* === Design tokens === */
:root {
    /* Palette */
    --navy: #162E6F;
    --navy-dark: #0A1530;
    --electric: #1E9BFF;
    --lime: #A4D82E;
    --lime-bright: #B8E655;
    --white: #FFFFFF;
    --gray-50: #F5F7FA;
    --gray-100: #E5E7EB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-700: #374151;
    --dark: #0F1419;

    /* Typography */
    --font-body: 'Poppins', system-ui, -apple-system, sans-serif;
    --font-display: 'Space Grotesk', 'Poppins', sans-serif;

    /* Spacing scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    /* Shadow */
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 25px 60px rgba(0,0,0,0.15);
    --shadow-glow-lime: 0 10px 30px rgba(164,216,46,0.4);
    --shadow-glow-electric: 0 10px 30px rgba(30,155,255,0.4);

    /* Transitions */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --t-fast: 0.2s;
    --t-base: 0.35s;
    --t-slow: 0.6s;

    /* Layout */
    --max-content: 1200px;
    --header-height: 80px;
}

/* === Base === */
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }

/* Accessibility */
:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 3px;
    border-radius: 4px;
}
.skip-link {
    position: absolute; top: -40px; left: 0;
    background: var(--navy); color: var(--white);
    padding: 8px 16px; z-index: 9999;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* === Header === */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 18px 0;
    transition: all var(--t-base) var(--ease);
    background: transparent;
}
.header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}
.nav { display: flex; justify-content: space-between; align-items: center; }
.brand-logo { height: 75px; width: auto; transition: all var(--t-base); }
.header.scrolled .brand-logo { height: 60px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo--dark { display: none; }
.header.scrolled .brand-logo--light { display: none; }
.header.scrolled .brand-logo--dark { display: inline-block; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
    font-size: 0.95rem; font-weight: 500;
    color: var(--white);
    position: relative; transition: color var(--t-fast);
}
.header.scrolled .nav-links a { color: var(--dark); }
.nav-links a:not(.nav-cta)::after {
    content: ''; position: absolute; left: 0; bottom: -6px;
    width: 0; height: 2px; background: var(--lime);
    transition: width var(--t-base) var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
    background: var(--lime);
    color: var(--navy) !important;
    padding: 10px 22px; border-radius: var(--radius-pill);
    font-weight: 700;
    transition: all var(--t-base) var(--ease);
}
.nav-cta:hover { background: var(--lime-bright); transform: translateY(-2px); box-shadow: var(--shadow-glow-lime); }

.menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    padding: 8px;
}
.menu-toggle span {
    width: 26px; height: 3px; background: var(--white);
    border-radius: 3px; transition: all var(--t-base) var(--ease);
}
.header.scrolled .menu-toggle span { background: var(--dark); }
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* === Footer === */
.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 80px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}
.footer-logo {
    height: 80px;
    margin-bottom: 18px;
}
.footer-brand p { color: var(--gray-400); margin-bottom: 22px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; }
.social-link {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    transition: all var(--t-base) var(--ease);
}
.social-link:hover { background: var(--lime); color: var(--navy); transform: translateY(-3px); }

.footer-col h4 { font-size: 1rem; margin-bottom: 22px; color: var(--white); }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: var(--gray-400); font-size: 0.95rem;
    transition: all var(--t-fast);
}
.footer-col a:hover { color: var(--lime); padding-left: 6px; }
.footer-col p { color: var(--gray-400); margin-bottom: 10px; font-size: 0.92rem; }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
    color: var(--gray-400); font-size: 0.85rem;
}
.footer-legal { display: flex; gap: 20px; }

/* === Floating actions === */
.float-wa {
    position: fixed; bottom: 24px; right: 24px;
    width: 60px; height: 60px;
    background: #25D366; color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(37,211,102,0.4);
    z-index: 500;
    transition: transform var(--t-base) var(--ease);
    animation: waPulse 2.4s infinite;
}
.float-wa:hover { transform: scale(1.1); }
@keyframes waPulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 10px 30px rgba(37,211,102,0.4), 0 0 0 15px rgba(37,211,102,0); }
}

.back-to-top {
    position: fixed; bottom: 96px; right: 24px;
    width: 48px; height: 48px;
    background: var(--navy); color: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    font-size: 1.2rem; font-weight: 700;
    opacity: 0; pointer-events: none;
    transform: translateY(10px);
    transition: all var(--t-base) var(--ease);
    z-index: 500;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--electric); transform: translateY(-3px); }

/* === Loader === */
.loader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--navy-dark);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader-spinner {
    width: 50px; height: 50px;
    border: 3px solid rgba(164,216,46,0.2);
    border-top-color: var(--lime);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === Hero === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    padding: calc(var(--header-height) + 40px) 0 80px;
    overflow: hidden;
    background: var(--navy-dark);
    color: var(--white);
}
.hero-content {
    position: relative; z-index: 2;
    max-width: 780px;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 1px; text-transform: uppercase;
    margin-bottom: 24px;
}
.hero-badge .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--lime); box-shadow: 0 0 12px var(--lime);
    animation: badgePulse 2s infinite;
}
@keyframes badgePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: 16px;
}
.hero-sub {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.95);
}
.gradient-accent {
    background: linear-gradient(135deg, var(--lime) 0%, var(--lime-bright) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}
.hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 36px;
}

.hero-ctas {
    display: flex; gap: 14px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 30px;
    border-radius: var(--radius-pill);
    font-weight: 700; font-size: 0.95rem;
    transition: all var(--t-base) var(--ease);
    cursor: pointer; text-decoration: none;
    border: none;
}
.btn-primary {
    background: var(--lime); color: var(--navy);
    box-shadow: var(--shadow-glow-lime);
}
.btn-primary:hover {
    background: var(--lime-bright);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(164,216,46,0.55);
}
.btn-glass {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-glass:hover {
    background: #25D366; border-color: #25D366;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex; gap: 42px; flex-wrap: wrap;
}
.stat {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: baseline;
    column-gap: 2px;
}
.stat-num {
    font-family: var(--font-display);
    font-size: 2.2rem; font-weight: 800;
    color: var(--lime); line-height: 1;
    grid-row: 1;
    grid-column: 1;
}
.stat .plus {
    grid-row: 1;
    grid-column: 2;
    font-size: 1.5rem; font-weight: 800; color: var(--lime);
    line-height: 1;
}
.stat-lbl {
    font-size: 0.72rem; text-transform: uppercase;
    letter-spacing: 2px; color: rgba(255,255,255,0.6);
    margin-top: 6px;
    grid-row: 2;
    grid-column: 1 / -1;
}

.hero-scroll-indicator {
    position: absolute; bottom: 8px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem; letter-spacing: 3px;
}
.scroll-bar {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* === Stats section === */
.stats-section {
    padding: 80px 0;
    background: var(--navy-dark);
    color: var(--white);
    position: relative;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat-card {
    text-align: center;
    padding: 36px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    transition: all var(--t-base) var(--ease);
}
.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(164,216,46,0.4);
    background: rgba(164,216,46,0.05);
}
.stat-icon {
    color: var(--lime);
    margin-bottom: 16px;
    display: flex; justify-content: center;
}
.stat-value {
    font-family: var(--font-display);
    font-size: 3rem; font-weight: 800;
    color: var(--lime); line-height: 1;
    margin-bottom: 10px;
}
.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    text-transform: uppercase; letter-spacing: 1.5px;
}

/* === Generic section === */
.section { padding: var(--space-2xl) 0; }
.section-header { text-align: center; margin-bottom: var(--space-xl); }
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(30,74,141,0.1), rgba(164,216,46,0.1));
    color: var(--navy);
    padding: 8px 18px; border-radius: var(--radius-pill);
    font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; color: var(--dark);
    margin-bottom: 14px;
}
.section-subtitle {
    font-size: 1.05rem; color: var(--gray-500);
    max-width: 600px; margin: 0 auto;
}
.section-title.left { text-align: left; }

/* === Services === */
.services { background: var(--gray-50); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--t-slow) var(--ease);
    position: relative;
}
.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}
.service-image {
    position: relative;
    height: 240px; overflow: hidden;
}
.service-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.service-card:hover .service-image img { transform: scale(1.08); }
.service-number {
    position: absolute; top: 18px; right: 18px;
    background: var(--white); color: var(--navy);
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-weight: 800; font-size: 1rem;
    box-shadow: var(--shadow-sm);
}
.service-content { padding: 32px; }
.service-card h3 {
    font-size: 1.4rem; color: var(--dark);
    margin-bottom: 14px;
}
.service-card p {
    color: var(--gray-500);
    margin-bottom: 18px;
    line-height: 1.75;
}

.link-arrow {
    color: var(--navy);
    font-weight: 700; font-size: 0.95rem;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all var(--t-base) var(--ease);
}
.link-arrow:hover { color: var(--lime); }
.link-arrow .arrow { transition: transform var(--t-base) var(--ease); }
.link-arrow:hover .arrow { transform: translateX(6px); }

/* === Secteurs === */
.secteurs { background: var(--white); }
.secteurs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.secteur-card {
    padding: 36px 20px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    transition: all var(--t-base) var(--ease);
    cursor: default;
}
.secteur-card:hover {
    background: linear-gradient(135deg, rgba(30,74,141,0.05), rgba(164,216,46,0.08));
    border-color: var(--lime);
    transform: translateY(-6px) rotate(-1deg);
}
.secteur-icon {
    width: 40px; height: 40px;
    color: var(--navy);
    transition: all var(--t-base) var(--ease);
}
.secteur-card:hover .secteur-icon {
    color: var(--lime);
    transform: scale(1.15);
}
.secteur-card span {
    font-weight: 600;
    color: var(--dark);
    text-align: center;
}

/* === Produits === */
.produits { background: var(--gray-50); }
.produits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}
.produit-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--t-base) var(--ease);
    display: flex;
    flex-direction: column;
}
.produit-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.check-list { flex: 1; }
.produit-info .btn { margin-top: auto; align-self: flex-start; }
.produit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--lime);
}
.produit-card.featured {
    border: 2px solid var(--lime);
    box-shadow: 0 0 0 1px rgba(164,216,46,0.2), var(--shadow-md);
}
.produit-card.featured:hover { transform: translateY(-10px); }

.produit-badge {
    position: absolute; top: 16px; left: 16px;
    background: var(--lime); color: var(--navy);
    padding: 5px 12px; border-radius: var(--radius-sm);
    font-size: 0.7rem; font-weight: 800;
    letter-spacing: 1.5px;
    z-index: 2;
    box-shadow: var(--shadow-glow-lime);
}

.produit-image {
    height: 220px; overflow: hidden;
}
.produit-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.produit-card:hover .produit-image img { transform: scale(1.08); }

.produit-info { padding: 28px; }
.produit-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--navy), var(--electric));
    color: var(--white);
    padding: 5px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 14px;
}
.produit-info h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 16px;
}

.check-list { margin-bottom: 22px; }
.check-list li {
    position: relative;
    padding: 10px 0 10px 26px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.95rem;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
    content: '';
    position: absolute; left: 0; top: 15px;
    width: 9px; height: 9px;
    background: var(--lime);
    transform: rotate(45deg);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}
.btn-outline:hover {
    background: var(--navy); color: var(--white);
    transform: translateY(-2px);
}
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* === Process timeline === */
.process { background: var(--white); }
.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    padding: 20px 0;
}
.timeline-line {
    position: absolute;
    top: 40px; left: 8%; right: 8%;
    height: 3px;
    background: var(--gray-100);
    border-radius: 3px;
    overflow: hidden;
}
.timeline-line::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--navy), var(--electric), var(--lime));
    transform: scaleX(var(--fill, 0));
    transform-origin: left;
    transition: transform 1.2s var(--ease);
}
.timeline.animate .timeline-line { --fill: 1; }

.timeline-step {
    text-align: center;
    position: relative;
}
.step-number {
    width: 80px; height: 80px;
    margin: 0 auto 20px;
    background: var(--white);
    border: 3px solid var(--navy);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 800;
    color: var(--navy);
    position: relative; z-index: 2;
    transition: all var(--t-base) var(--ease);
}
.timeline-step:hover .step-number {
    background: var(--lime);
    border-color: var(--lime);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow-lime);
}
.timeline-step h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 10px;
}
.timeline-step p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* === Galerie === */
.galerie { background: var(--navy-dark); }
.galerie .section-title, .galerie .section-subtitle { color: var(--white); }
.galerie .section-badge { background: rgba(255,255,255,0.1); color: var(--lime); }

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 14px;
}
.galerie-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: rgba(255,255,255,0.05);
}
.galerie-item.large { grid-column: span 2; }
.galerie-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}
.galerie-item:hover img { transform: scale(1.1); }

.galerie-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(22,46,111,0.9), transparent 60%);
    display: flex; align-items: flex-end; justify-content: space-between;
    padding: 20px; color: var(--white);
    opacity: 1;
}
.galerie-overlay .plus {
    width: 36px; height: 36px;
    background: var(--lime); color: var(--navy);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 700;
    opacity: 0;
    transform: scale(0.6);
    transition: all var(--t-base) var(--ease);
}
.galerie-item:hover .galerie-overlay .plus {
    opacity: 1; transform: scale(1);
}

/* === Lightbox === */
.lightbox {
    position: fixed; inset: 0; z-index: 9000;
    background: rgba(0,0,0,0.92);
    display: flex; align-items: center; justify-content: center;
    padding: 40px;
    opacity: 0; visibility: hidden;
    transition: opacity var(--t-base), visibility var(--t-base);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img {
    max-width: 90vw; max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute; top: 20px; right: 20px;
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    font-size: 2rem; font-weight: 300;
    line-height: 1;
    backdrop-filter: blur(10px);
}
.lightbox-close:hover { background: var(--lime); color: var(--navy); }
.lightbox-caption {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    background: rgba(0,0,0,0.6);
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(10px);
    font-weight: 500;
}

/* === À Propos === */
.apropos { background: var(--gray-50); }
.apropos-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}
.apropos-image { position: relative; }
.apropos-image img {
    width: 100%; height: 520px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}
.apropos-badge {
    position: absolute; bottom: 20px; right: -20px;
    background: var(--lime);
    color: var(--navy);
    padding: 24px 32px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-glow-lime);
}
.badge-num { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.badge-text { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }

.apropos-content > p { color: var(--gray-700); margin-bottom: 16px; line-height: 1.8; }
.apropos-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}
.feature { display: flex; gap: 14px; }
.feature-ico {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--navy), var(--electric));
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.feature h4 { font-size: 1rem; color: var(--dark); margin-bottom: 4px; }
.feature p { font-size: 0.85rem; color: var(--gray-500); }

/* === Certifications === */
.certifications { background: var(--white); }
.cert-feature {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: center;
    background: linear-gradient(135deg, var(--gray-50) 0%, #fff 100%);
    border: 1px solid var(--gray-100);
    border-left: 5px solid var(--lime);
    border-radius: var(--radius-lg);
    padding: 50px 50px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.cert-feature::before {
    content: ''; position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(164,216,46,0.18), transparent 70%);
    pointer-events: none;
}
.cert-feature-left { text-align: center; position: relative; z-index: 1; }
.cert-stamp {
    width: 130px; height: 130px;
    margin: 0 auto 24px;
    color: var(--lime);
    background: var(--white);
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 8px 24px rgba(164,216,46,0.25), 0 0 0 8px rgba(164,216,46,0.1);
    transform: rotate(-8deg);
}
.cert-stamp svg { width: 100%; height: 100%; }

.cert-issuer { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cert-flag svg {
    width: 48px; height: 32px;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.cert-issuer-text { display: flex; flex-direction: column; gap: 2px; }
.cert-issuer-text strong {
    font-size: 0.95rem;
    color: var(--navy);
    font-weight: 700;
}
.cert-issuer-text small {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.cert-feature-right { position: relative; z-index: 1; }
.cert-title {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.3;
}
.cert-desc {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 0.95rem;
}
.cert-desc strong { color: var(--navy); }
.cert-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding-top: 22px;
    border-top: 1px solid var(--gray-100);
}
.cert-meta-item { display: flex; flex-direction: column; gap: 4px; }
.cert-meta-lbl {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-500);
    font-weight: 600;
}
.cert-meta-val {
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .cert-feature { grid-template-columns: 1fr; gap: 30px; padding: 40px 30px; text-align: center; }
    .cert-meta { text-align: center; }
    .cert-meta-item { align-items: center; }
}
@media (max-width: 768px) {
    .cert-meta { grid-template-columns: 1fr; gap: 14px; }
    .cert-stamp { width: 100px; height: 100px; }
    .cert-title { font-size: 1.15rem; }
}

/* === Témoignages === */
.temoignages { background: var(--gray-50); }
.temoignages-swiper {
    padding: 20px 4px 60px;
    overflow: visible;
}
.temoignage-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    min-height: 280px;
    display: flex; flex-direction: column;
    margin: 10px 0;
}
.quote-mark {
    position: absolute; top: 10px; left: 28px;
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--lime);
    line-height: 1;
    opacity: 0.7;
}
.temoignage-card p {
    font-size: 1.05rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin: 30px 0 24px;
    flex: 1;
}
.temoignage-card footer {
    display: flex; gap: 14px; align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}
.client-avatar {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--navy), var(--electric));
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.temoignage-card footer strong { display: block; color: var(--dark); }
.temoignage-card footer span { font-size: 0.85rem; color: var(--gray-500); }

.swiper-pagination-bullet {
    background: var(--navy);
    opacity: 0.3;
}
.swiper-pagination-bullet-active {
    background: var(--lime);
    opacity: 1;
    width: 24px; border-radius: 4px;
}

/* === FAQ === */
.faq { background: var(--white); }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.faq-list {
    display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--t-base) var(--ease);
}
.faq-item[open] {
    border-color: var(--lime);
    box-shadow: var(--shadow-sm);
}
.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600; color: var(--dark);
    display: flex; align-items: center; justify-content: space-between;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-family: var(--font-display);
    font-size: 1.6rem; font-weight: 300;
    color: var(--navy);
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: var(--white);
    border-radius: 50%;
    transition: all var(--t-base) var(--ease);
    flex-shrink: 0;
}
.faq-item[open] summary::after {
    content: '×';
    background: var(--lime);
    color: var(--navy);
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 24px 22px;
    color: var(--gray-500);
    line-height: 1.7;
}
.faq-answer p { margin-bottom: 0; }

/* === Brochure === */
.brochure { padding: 60px 0; background: var(--white); }
.brochure-card {
    background: linear-gradient(135deg, var(--navy) 0%, var(--electric) 100%);
    color: var(--white);
    padding: 50px 60px;
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.brochure-card::before {
    content: '';
    position: absolute; top: -40%; right: -10%;
    width: 60%; height: 160%;
    background: radial-gradient(circle, rgba(164,216,46,0.25), transparent 60%);
    filter: blur(30px);
}
.brochure-text, .brochure-form { position: relative; z-index: 1; }
.brochure-badge { background: rgba(255,255,255,0.15); color: var(--lime); }
.brochure-text h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 12px;
}
.brochure-text p { color: rgba(255,255,255,0.85); }

.brochure-form { display: flex; flex-direction: column; gap: 12px; }
.brochure-form input {
    padding: 15px 20px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}
.brochure-form input::placeholder { color: rgba(255,255,255,0.65); }
.brochure-form input:focus {
    outline: none;
    border-color: var(--lime);
    background: rgba(255,255,255,0.15);
}
.btn .btn-spinner {
    display: none;
    width: 16px; height: 16px;
    border: 2px solid rgba(22,46,111,0.3);
    border-top-color: var(--navy);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.btn.loading .btn-label { display: none; }
.btn.loading .btn-spinner { display: inline-block; }

/* === Contact === */
.contact { background: var(--gray-50); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    margin-bottom: 50px;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
    display: flex; gap: 18px; align-items: center;
    padding: 22px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    transition: all var(--t-base) var(--ease);
}
.contact-item:hover {
    border-color: var(--lime);
    transform: translateX(6px);
}
.contact-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--navy), var(--electric));
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-item strong { display: block; color: var(--dark); margin-bottom: 3px; }
.contact-item p { font-size: 0.92rem; color: var(--gray-500); line-height: 1.5; }
.contact-item a { color: inherit; }
.contact-item a:hover { color: var(--navy); }

.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: 0.85rem; font-weight: 600;
    color: var(--dark);
}
.form-group input, .form-group select, .form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-sm);
    font-family: inherit; font-size: 0.95rem;
    background: var(--white);
    transition: all var(--t-fast);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(30,74,141,0.1);
}
.form-group textarea { resize: vertical; font-family: inherit; }
.btn-full { width: 100%; justify-content: center; }
.form-feedback {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 8px;
    min-height: 20px;
}
.form-feedback.success { color: #22c55e; }
.form-feedback.error { color: #ef4444; }

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    filter: grayscale(0.2);
}

/* === Toast notification === */
.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 16px 22px;
    display: flex; align-items: center; gap: 14px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.04);
    z-index: 9500;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.35s var(--ease);
    max-width: 380px;
    border-left: 4px solid var(--lime);
}
.toast.toast-show { transform: translateX(0); opacity: 1; }
.toast-error { border-left-color: #ef4444; }
.toast-icon {
    width: 32px; height: 32px;
    background: var(--lime); color: var(--navy);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 800;
    flex-shrink: 0;
}
.toast-error .toast-icon { background: #ef4444; color: white; }
.toast-msg { color: var(--dark); font-size: 0.92rem; line-height: 1.4; }
@media (max-width: 480px) {
    .toast { top: 16px; right: 16px; left: 16px; max-width: none; }
}

/* ============ Responsive ============ */

/* Tablet large */
@media (max-width: 1024px) {
    .services-grid, .produits-grid { grid-template-columns: repeat(2, 1fr); }
    .produit-card.featured { grid-column: span 2; transform: none; }
    .produit-card.featured:hover { transform: translateY(-10px); }
    .secteurs-grid { grid-template-columns: repeat(4, 1fr); }
    .certifs-grid { grid-template-columns: repeat(3, 1fr); }
    .galerie-grid { grid-template-columns: repeat(2, 1fr); }
    .galerie-item.large { grid-column: span 2; }
    .apropos-grid { gap: 50px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .timeline { grid-template-columns: repeat(5, 1fr); gap: 14px; }
    .step-number { width: 64px; height: 64px; font-size: 1.1rem; }
    .timeline-step h3 { font-size: 1rem; }
    .timeline-step p { font-size: 0.82rem; }
}

/* Tablet */
@media (max-width: 768px) {
    :root { --space-2xl: 4rem; --space-xl: 2.5rem; }

    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 85%; max-width: 360px; height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center; align-items: center;
        gap: 28px;
        transition: right 0.4s var(--ease);
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    }
    .nav-links.active { right: 0; }
    .nav-links a { color: var(--dark) !important; font-size: 1.15rem; }

    .hero { padding: calc(var(--header-height) + 20px) 0 60px; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-badge { margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero-stats { justify-content: center; gap: 28px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid, .produits-grid { grid-template-columns: 1fr; }
    .produit-card.featured { grid-column: span 1; }
    .secteurs-grid { grid-template-columns: repeat(2, 1fr); }
    .certifs-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }

    .galerie-grid { grid-template-columns: 1fr; }
    .galerie-item.large { grid-column: span 1; }

    .timeline { grid-template-columns: 1fr; gap: 40px; }
    .timeline-line { display: none; }

    .apropos-grid { grid-template-columns: 1fr; gap: 40px; }
    .apropos-image { order: -1; }
    .apropos-image img { height: 380px; }
    .apropos-badge { bottom: 16px; right: 16px; padding: 18px 24px; }
    .apropos-features { grid-template-columns: 1fr; }

    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .form-row { grid-template-columns: 1fr; }

    .brochure-card { grid-template-columns: 1fr; padding: 36px 28px; gap: 28px; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 32px; }
    .footer-social { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .hero-scroll-indicator { display: none; }
}

/* Small mobile */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { letter-spacing: -1px; }
    .hero-stats { gap: 20px; }
    .stat-num { font-size: 1.8rem; }
    .section-title { font-size: 1.7rem; }
    .service-content, .produit-info, .contact-form, .temoignage-card { padding: 24px; }
    .float-wa { width: 52px; height: 52px; bottom: 16px; right: 16px; }
    .float-wa svg { width: 24px; height: 24px; }
    .back-to-top { bottom: 80px; right: 16px; width: 42px; height: 42px; }
    .brochure-card { padding: 28px 20px; }
    .brochure-text h2 { font-size: 1.5rem; }
}

/* === Clients (Ils nous font confiance) === */
.clients { background: var(--white); }
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}
.client-logo {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    display: flex; align-items: center; justify-content: center;
    height: 140px;
    transition: all var(--t-base) var(--ease);
    filter: grayscale(1);
    opacity: 0.6;
}
.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: translateY(-4px);
    border-color: var(--lime);
    box-shadow: var(--shadow-md);
    background: var(--white);
}
.client-logo img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}
/* Logos plus carrés/petits qui ont besoin de plus d'espace vertical */
.client-logo img[src*="supermousse"],
.client-logo img[src*="nouvelair"] {
    max-height: 130px;
    max-width: 90%;
}
@media (max-width: 1024px) {
    .clients-grid { grid-template-columns: repeat(3, 1fr); }
    .client-logo { height: 130px; }
}
@media (max-width: 768px) {
    .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .client-logo { padding: 18px 16px; height: 110px; }
    .client-logo img { max-height: 76px; }
}
