/* =====================================================
   NAVBAR — 4 ZONES : liens gauche | logo centre | liens droite | compte
   Desktop  : > 1280px
   Tablette : 641px → 1280px (burger + bouton Devis + compte)
   Mobile   : ≤ 640px (burger + logo + compte)
   ===================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(#141414e6 0%, #0d0d0de6 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 32px;
    position: relative;
}

/* Zones 1 et 3 : groupes de liens de largeur égale, de part et d'autre du logo */
.nav-links {
    display: flex;
    align-items: center;
    gap: 46px;
    flex: 1 1 0;
    min-width: 0;
}

.nav-left {
    justify-content: flex-end;
}

.nav-right {
    justify-content: flex-start;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

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

/* Zone 2 : logo au milieu, dans le flux : même écart à gauche et à droite */
.nav-logo-center {
    display: flex;
    flex-shrink: 0;
    padding-left: 4em;
    padding-right: 4em;
}

.nav-logo-center img {
    height: 40px;
    width: auto;
    display: block;
}

/* Bouton « Devis gratuit » : bouton standard (.btn .btn-primary .btn-sm) */
.navbar .nav-links a.nav-cta,
.navbar .nav-links a.nav-cta:hover {
    color: #0d0d0d;
}

.navbar .nav-cta {
    width: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Zone 4 : icône de connexion, tout à droite */
.nav-account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.2s ease;
}

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

/* Dropdowns desktop */
.nav-dropdown-btn i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-btn i {
    transform: rotate(180deg);
}

/* Burger (masqué sur desktop) */
.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    z-index: 2;
}

.nav-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.nav-burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Menu mobile / tablette (panneau déroulant) */
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 16px 24px 28px;
    border-top: 1px solid var(--border);
    background: var(--bg-dark);
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile a {
    color: var(--text-gray);
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
}

.nav-mobile a:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.nav-mobile-dropdown-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-gray);
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-mobile-dropdown-btn:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.nav-mobile-dropdown-btn i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.nav-mobile-dropdown-btn.open i {
    transform: rotate(180deg);
}

.nav-mobile-dropdown-btn.open {
    color: var(--text-dark);
}

.nav-mobile-submenu {
    display: none;
    padding: 4px 0 8px 12px;
    gap: 2px;
}

.nav-mobile-submenu.open {
    display: flex;
    flex-direction: column;
}

.nav-mobile-subitem {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    font-size: 14px;
}

.nav-mobile-subitem i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #222;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 13px;
}

.nav-mobile-subitem span {
    display: block;
    line-height: 1.2;
}

.nav-mobile-subitem small {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    margin-top: 2px;
    font-weight: 500;
}

/* Bouton Devis dans le menu mobile */
.nav-mobile a.nav-mobile-cta {
    margin-top: 12px;
    padding: 14px 24px;
    justify-content: center;
    width: 100%;
    color: #0d0d0d;
    font-size: 15px;
}

.nav-mobile a.nav-mobile-cta:hover {
    background: #e6e6e6;
    color: #0d0d0d;
}

body.nav-locked {
    overflow: hidden;
}

/* ---------- Tablette & mobile : burger ---------- */
@media (max-width: 1280px) {
    .nav-container {
        justify-content: space-between;
        gap: 20px;
    }

    .nav-logo-center {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
    }

    .nav-burger {
        display: flex;
    }

    .nav-left {
        display: none;
    }

    /* Zone 3 réduite au bouton Devis, collée à droite avant le compte */
    .nav-right {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .nav-right .nav-link-support {
        display: none;
    }
}

/* ---------- Tablette ---------- */
@media (min-width: 641px) and (max-width: 1280px) {
    .nav-mobile {
        padding: 20px 32px 32px;
    }

    .nav-mobile-submenu.open {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px 12px;
    }
}

/* ---------- Téléphone ---------- */
@media (max-width: 640px) {
    .nav-container {
        height: 64px;
        padding: 0 14px;
        gap: 12px;
    }

    .nav-logo-center img {
        height: 32px;
    }

    /* Devis gratuit passe dans le menu : on garde burger | logo | compte */
    .nav-right {
        display: none;
    }

    .nav-account {
        margin-left: auto;
    }

    .nav-mobile {
        padding: 12px 16px 24px;
        max-height: calc(100vh - 64px);
        max-height: calc(100dvh - 64px);
    }
}

@media (min-width: 1281px) {
    .nav-mobile {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    .nav-burger span,
    .nav-dropdown-btn i,
    .nav-mobile-dropdown-btn i {
        transition: none;
    }
}

/* ═══════════════════════════════════════
   VARIABLES & RESET
   ═══════════════════════════════════════ */
:root {
    --primary: #C6A16B;
    --primary-dark: #8a8a8a;
    --secondary: #9B9B7A;
    --bg-dark: #0d0d0d;
    --bg-darker: #080808;
    --bg-light: #1a1a1a;
    --bg-white: #141414;
    --bg-card: #1a1a1a;
    --text-dark: #f5f5f5;
    --text-gray: #b3b3b3;
    --text-light: #808080;
    --border: #2a2a2a;
    --border-light: #1f1f1f;
    --success: #3FB950;
    --warning: #D29922;
    --error: #F85149;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.6);
    --accent: #5B7CFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-dark);
    line-height: 1.6;
}

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

.section {
    padding: 80px 0;
}

.section.section-alt {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: slideUp 0.8s ease-out;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.2;
}

.section-title span {
    color: var(--primary);
}

.section-desc {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 20px auto 0;
    text-align: center;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    /* ← Augmente pour la navbar flottante */
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(7, 8, 12, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: slideUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(53, 85, 220, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 30px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: #e6e6e6;
    transform: translateY(-2px);
    color: black;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.btn-ghost {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-ghost:hover {
    background: #ffffff;
    color: #0d0d0d;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--border);
}

.hero-stat {
    text-align: center;
}

.stat-val {
    display: block;
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-lbl {
    font-size: 13px;
    color: var(--text-gray);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════
   CARDS & GRIDS
   ═══════════════════════════════════════ */
.cards-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.cards-grid.cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.cards-grid.cols-2 {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(53, 85, 220, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.card p {
    color: var(--text-gray);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

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

.tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--text-gray);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ═══════════════════════════════════════
   PROJETS
   ═══════════════════════════════════════ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.project-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 100%;
    height: 200px;
    background: var(--bg-light);
    overflow: hidden;
    position: relative;
}

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

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

.project-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.project-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
    flex-grow: 1;
}

.project-category {
    display: inline-block;
    background: rgba(53, 85, 220, 0.1);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    width: fit-content;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.3s ease;
}

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

.project-link i {
    font-size: 16px;
}

/* ═══════════════════════════════════════
   TÉMOIGNAGES
   ═══════════════════════════════════════ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.testimonial-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    animation: fadeInUp 0.6s ease-out;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 18px;
}

.testimonial-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
}

.testimonial-info span {
    font-size: 13px;
    color: var(--text-gray);
}

.stars {
    color: var(--warning);
    margin-bottom: 12px;
    font-size: 14px;
}

.testimonial-text {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.8;
    font-style: italic;
}

/* ═══════════════════════════════════════
   FAQ
   ═══════════════════════════════════════ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
    color: var(--primary);
}

.faq-question span {
    text-align: left;
}

.faq-question i {
    font-size: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--primary);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 20px 20px 20px;
}

.faq-answer p {
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.8;
}

.faq-answer ul {
    margin: 15px 0;
    margin-left: 20px;
}

.faq-answer li {
    color: var(--text-gray);
    margin-bottom: 10px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 14px;
        padding: 16px;
    }

    .faq-answer {
        padding: 0 16px;
    }

    .faq-item.active .faq-answer {
        padding: 0 16px 16px 16px;
    }
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
    background: #0a0a0c;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-section a,
.footer-section p {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-logo {
    height: 30px;
    margin-bottom: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* ═══════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 25px;
    max-width: 380px;
    z-index: 999;
    animation: slideUp 0.4s ease-out;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.cookie-desc {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--primary);
    color: white;
}

.cookie-accept:hover {
    background: var(--primary-dark);
}

.cookie-decline {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.cookie-decline:hover {
    background: var(--border);
}

.cookie-link {
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
    margin-top: 12px;
    display: block;
    text-align: center;
}

/* ── Galerie Produits ── */
.produit-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.produit-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    transition: all 0.25s ease;
}

.produit-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.produit-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.produit-panel {
    display: none;
}

.produit-panel.active {
    display: block;
    animation: fadeInUp 0.35s ease;
}

.produit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.produit-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.produit-main-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-light);
    border: 2px solid var(--border);
    position: relative;
}

.produit-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.produit-img-watermark {
    position: absolute;
    bottom: 105px;
    /* au-dessus des thumbs */
    left: 12px;
    width: 90px;
    height: auto;
    opacity: 0.75;
    pointer-events: none;
    mix-blend-mode: multiply;
    z-index: 10;
}

.produit-main-img:hover .produit-img-watermark {
    opacity: 0.4;
    /* s'efface légèrement au hover pour ne pas gêner */
}

.produit-main-img:hover img {
    transform: scale(1.04);
}

.produit-thumbs {
    display: flex;
    gap: 10px;
}

.produit-thumbs .thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid var(--border);
    transition: all 0.2s ease;
    opacity: 0.6;
}

.produit-thumbs .thumb:hover,
.produit-thumbs .thumb.active {
    border-color: var(--primary);
    opacity: 1;
}

.produit-info h3 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.produit-desc {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 15px;
}

.produit-specs {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.produit-specs li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-dark);
}

.produit-specs li i {
    color: var(--primary);
    font-size: 12px;
    flex-shrink: 0;
}

.produit-price {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.produit-price strong {
    color: var(--primary);
    font-size: 26px;
}

.produit-price span {
    font-size: 14px;
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .produit-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .produit-specs {
        grid-template-columns: 1fr;
    }

    .produit-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .hero-title {
        font-size: 52px;
    }

    .section-title {
        font-size: 36px;
    }

}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 38px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cookie-banner {
        left: 20px;
        right: 20px;
        max-width: none;
    }

    .cards-grid.cols-3 {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

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

.visible {
    animation: fadeInUp 0.6s ease-out;
}

/* Form controls */
.form-control {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 14px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.nav-dropdown-btn {
    color: var(--text-gray);
    background: none;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    width: auto;
    white-space: nowrap;
    /* texte sur une seule ligne */
    flex-shrink: 0;
    /* le bouton ne rétrécit plus */
}

.nav-dropdown-btn:hover {
    color: #ffffff;
}

/* Dropdowns */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 8px;
    display: none !important;
    flex-direction: column;
    gap: 4px;
    z-index: 1001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-top: 8px;
}

.nav-dropdown.open .nav-dropdown-menu {
    display: grid !important;
}

.nav-dropdown-item {
    display: flex;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #e6e6e6;
}

.nav-dropdown-item:hover {
    background: #2a2a2a;
    color: #fff;
}

.nav-dropdown-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5B7CFF;
    flex-shrink: 0;
}

.nav-dropdown-content h4 {
    font-size: 13px;
    font-weight: 700;
    margin: 0;
}

.nav-dropdown-content p {
    font-size: 11px;
    color: #808080;
    margin: 2px 0 0;
}

.nav-dropdown-grid {
    min-width: 520px;
    max-width: calc(100vw - 48px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}


/* =====================================================
   PAGE « QUI SOMMES-NOUS » (préfixe .about-)
   ===================================================== */
.about-section {
    padding: 56px 0;
}

.about-section--flush {
    padding-top: 0;
}

/* ---------- En-tête de page ---------- */
.about-hero {
    padding: 88px 0 40px;
    text-align: center;
}

.about-hero h1 {
    font-size: clamp(32px, 5.2vw, 56px);
    font-weight: 800;
    line-height: 1.12;
    max-width: 800px;
    margin: 0 auto 20px;
    color: var(--text-dark);
}

.about-hero p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.75;
    color: var(--text-gray);
}

/* ---------- Équipe ---------- */
.about-team {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.about-card-cover {
    height: 104px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.about-avatar {
    width: 112px;
    height: 112px;
    margin: -56px auto 0;
    border-radius: 50%;
    border: 4px solid var(--bg-card);
    background: var(--primary);
    color: #0d0d0d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 800;
}

.about-card-body {
    padding: 20px 28px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.about-card-body h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 4px;
}

.about-card-role {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    margin: 0 0 14px;
    opacity: .75;
}

.about-card-text {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.about-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 24px;
}

.about-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text-gray);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.about-socials a:hover,
.about-socials a:focus-visible {
    color: var(--text-dark);
    border-color: var(--text-gray);
    background: var(--bg-light);
}

/* Carte « Nous rejoindre » */
.about-card--join {
    background: transparent;
    border: 2px dashed var(--border);
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 28px;
    gap: 14px;
}

.about-join-icon {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    border: 2px dashed var(--text-light);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 6px;
}

.about-card--join h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
}

.about-card--join p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
    max-width: 320px;
    margin: 0 0 8px;
}

/* ---------- Chiffres ---------- */
.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    max-width: 880px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg-card);
    overflow: hidden;
}

.about-stat {
    padding: 32px 24px;
    text-align: center;
}

.about-stat+.about-stat {
    border-left: 1px solid var(--border);
}

.about-stat strong {
    display: block;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
}

.about-stat span {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    color: var(--text-gray);
}

/* ---------- Candidature spontanée ---------- */
.about-apply {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 56px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
    scroll-margin-top: 96px;
}

.about-apply-intro h2 {
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 16px;
}

.about-apply-intro p {
    color: var(--text-gray);
    line-height: 1.75;
    margin: 0 0 20px;
}

.about-apply-mail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
    transition: border-color .2s ease;
}

.about-apply-mail:hover {
    border-color: var(--text-gray);
}

.about-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.about-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.about-field.is-full {
    grid-column: 1 / -1;
}

.about-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.about-field label .req {
    color: var(--text-gray);
    font-weight: 600;
}

.about-field .form-control {
    background: var(--bg-dark);
}

.about-field .form-control:focus {
    border-color: var(--text-gray);
}

.about-form-footer {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.about-form-note {
    font-size: 13px;
    color: var(--text-light);
}

/* Messages de retour */
.about-alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
}

.about-alert i {
    margin-top: 3px;
}

.about-alert--success {
    background: rgba(63, 185, 80, .12);
    border-color: var(--success);
}

.about-alert--success i {
    color: var(--success);
}

.about-alert--error {
    background: rgba(248, 81, 73, .12);
    border-color: var(--error);
}

.about-alert--error i {
    color: var(--error);
}

/* ---------- Tablette ---------- */
@media (max-width: 900px) {
    .about-apply {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
    .about-section {
        padding: 40px 0;
    }

    .about-hero {
        padding: 56px 0 24px;
    }

    .about-hero p {
        font-size: 16px;
    }

    .about-team {
        grid-template-columns: 1fr;
    }

    .about-stat+.about-stat {
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .about-stat {
        padding: 24px 20px;
    }

    .about-stat strong {
        font-size: 36px;
    }

    .about-form {
        padding: 22px 18px;
    }

    .about-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-form-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .about-form-footer .btn {
        justify-content: center;
    }
}

/* ===== FIN PAGE « QUI SOMMES-NOUS » ===== */


/* =====================================================
   PAGE PROJETS — thème sombre (wrapper : .projects-page)
   Ajouter class="projects-page" sur le <main> (ou le <section>)
   qui contient les filtres et la grille de projets.
   ===================================================== */

/* Filtres par catégorie */
.projects-page .category-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 56px;
    padding: 0 20px;
}

.projects-page .category-btn {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-gray);
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.projects-page .category-btn:hover,
.projects-page .category-btn:focus-visible {
    border-color: var(--text-gray);
    background: var(--bg-light);
    color: var(--text-dark);
}

/* Actif : même rendu que le bouton principal du site */
.projects-page .category-btn.active,
.projects-page .category-btn.active:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0d0d0d;
}

/* Grille */
.projects-page .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Carte projet */
.projects-page .project-card {
    display: block;
    position: relative;
    height: 300px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
    box-shadow: var(--shadow);
    overflow: hidden;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.projects-page .project-card:hover,
.projects-page .project-card:focus-within {
    transform: translateY(-6px);
    border-color: #3a3a3a;
    box-shadow: var(--shadow-lg);
}

.projects-page .project-image {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    overflow: hidden;
}

.projects-page .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.projects-page .project-card:hover .project-image img {
    transform: scale(1.06);
}

/* Calque au survol */
.projects-page .project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    background: linear-gradient(to top, rgba(13, 13, 13, .94) 0%, rgba(13, 13, 13, .66) 100%);
    opacity: 0;
    transition: opacity .3s ease;
}

.projects-page .project-card:hover .project-overlay,
.projects-page .project-card:focus-within .project-overlay {
    opacity: 1;
}

.projects-page .project-overlay h3 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.projects-page .project-overlay p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray);
}

/* Visuel de remplacement (pas d'image) */
.projects-page .project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.projects-page .project-placeholder i {
    font-size: 48px;
    color: var(--text-light);
    opacity: .5;
}

/* Aucun résultat */
.projects-page .empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-gray);
}

.projects-page .empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--text-light);
    opacity: .4;
}

.projects-page .empty-state h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* Écrans tactiles : pas de survol, le titre reste visible en bas de carte */
@media (hover: none) {
    .projects-page .project-overlay {
        opacity: 1;
        justify-content: flex-end;
        align-items: flex-start;
        text-align: left;
        padding: 20px;
        background: linear-gradient(to top, rgba(13, 13, 13, .92) 0%, rgba(13, 13, 13, 0) 65%);
    }

    .projects-page .project-overlay h3 {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .projects-page .project-overlay p {
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 1024px) {
    .projects-page .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .projects-page .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .projects-page .project-card {
        height: 250px;
    }

    .projects-page .category-filters {
        gap: 10px;
        margin-bottom: 40px;
    }

    .projects-page .category-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .projects-page .project-overlay h3 {
        font-size: 18px;
    }

    .projects-page .project-overlay p {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .projects-page .project-card,
    .projects-page .project-image img,
    .projects-page .project-overlay {
        transition: none;
    }

    .projects-page .project-card:hover {
        transform: none;
    }
}

/* ===== FIN PAGE PROJETS ===== */



/* FORMS HIKAYEM STUDIO */

input,
select,
textarea {
    background-color: #1b1b1b;
    color: white;
    border: 1px solid #b1b1b140;
    border-radius: 8px;
}


.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(53, 85, 220, 0.1);
}

/* =====================================================
   PAGE D'ACCUEIL — noir / blanc / bleu électrique
   Tout est scopé sous body.lp : les autres pages ne changent pas.
   Palette : #0A0A0A · #FFFFFF · #3555DC
   ===================================================== */
body.lp {
    --blue: #3555DC;
    --primary: #3555DC;
    --accent: #5B7CFF;
    --bg-dark: #0A0A0A;
    --bg-darker: #0A0A0A;
    --bg-light: #111111;
    --bg-white: #0F0F0F;
    --bg-card: #111111;
    --text-dark: #FFFFFF;
    --text-gray: #B8B8B8;
    --text-light: #8A8A8A;
    --border: rgba(255, 255, 255, .12);
    background: #0A0A0A;
}

.lp h1,
.lp h2,
.lp h3 {
    font-family: 'Space Grotesk', 'Nunito', sans-serif;
    letter-spacing: -.025em;
}

/* Boutons */
.lp .btn-primary {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.lp .btn-primary:hover {
    background: #fff;
    border-color: #fff;
    color: #0A0A0A;
}

.lp .btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff;
}

.lp .btn-ghost:hover {
    background: #fff;
    border-color: #fff;
    color: #0A0A0A;
}

.lp .btn-light {
    background: #fff;
    border: 1px solid #fff;
    color: #0A0A0A;
}

.lp .btn-light:hover {
    background: #0A0A0A;
    border-color: #0A0A0A;
    color: #fff;
    transform: translateY(-2px);
}

.lp a:focus-visible,
.lp button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* ---------- Cover / hero ---------- */
.lp-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 72px);
    min-height: calc(100svh - 72px);
    padding: 96px 0 56px;
    overflow: hidden;
    background: #0A0A0A;
}

/* Image de couverture optionnelle (assets/images/cover.jpg) : passée en noir et blanc */
.lp-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-size: cover;
    background-position: center;
    filter: grayscale(1) contrast(1.1);
    opacity: .4;
}

/* Lueur bleue + fondu vers le noir */
.lp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(60% 55% at 82% 8%, rgba(53, 85, 220, .6), transparent 70%),
        linear-gradient(180deg, rgba(10, 10, 10, .35) 0%, #0A0A0A 100%);
}

/* Grille technique */
.lp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 75% 25%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 75% 25%, #000 0%, transparent 75%);
}

.lp-hero-title {
    max-width: 16ch;
    font-size: clamp(40px, 7.2vw, 92px);
    font-weight: 700;
    line-height: 1.02;
    margin-bottom: 28px;
    color: #fff;
}

.lp-hero-title span {
    display: block;
    margin-top: 8px;
    color: #5B7CFF;
}

.lp-hero-sub {
    max-width: 58ch;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 36px;
}

.lp-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.lp-hero-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-light);
}

.lp-trust {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 72px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.lp-trust li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
}

.lp-trust i {
    margin-top: 3px;
    color: var(--accent);
}

/* ---------- Sections ---------- */
.lp-head {
    max-width: 640px;
    margin-bottom: 48px;
}

.lp-head h2 {
    font-size: clamp(30px, 4.4vw, 52px);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 16px;
}

.lp-head p {
    font-size: 17px;
    color: var(--text-gray);
}

/* Sections blanches */
.lp .lp-light {
    background: #fff;
    color: #0A0A0A;
}

.lp .lp-light .lp-head p {
    color: #4A4A4A;
}

/* ---------- Services ---------- */
.lp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.lp-svc {
    display: flex;
    flex-direction: column;
    padding: 32px;
    border: 1px solid #E4E4E4;
    border-radius: 14px;
    background: #fff;
    color: #0A0A0A;
    transition: border-color .2s ease;
}

.lp-svc:hover {
    border-color: var(--blue);
}

.lp-svc.w2 {
    grid-column: span 2;
}

.lp-svc.dark {
    background: #0A0A0A;
    border-color: #0A0A0A;
    color: #fff;
}

.lp-svc.dark:hover {
    border-color: var(--blue);
}

.lp-ico {
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    border-radius: 10px;
    background: var(--blue);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-svc h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.lp-svc p {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.lp-svc.dark p {
    color: #B8B8B8;
}

.lp-svc .tag {
    background: #F2F2F2;
    color: #333;
}

.lp-svc.dark .tag {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.lp-more {
    margin-top: auto;
    padding-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    color: var(--blue);
    text-decoration: none;
}

.lp-svc.dark .lp-more {
    color: #fff;
}

.lp-more:hover {
    gap: 12px;
}

/* ---------- Offre Entrepreneur ---------- */
.lp-offer {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
    padding: 56px;
    border: 1px solid rgba(53, 85, 220, .7);
    border-radius: 20px;
    background:
        radial-gradient(80% 120% at 100% 0%, rgba(53, 85, 220, .38), transparent 60%),
        #0A0A0A;
}

.lp-offer h2 {
    max-width: 18ch;
    margin-bottom: 24px;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.08;
}

.lp-price {
    margin-bottom: 32px;
    font-family: 'Space Grotesk', 'Nunito', sans-serif;
    font-size: clamp(38px, 5.5vw, 60px);
    font-weight: 700;
    line-height: 1;
}

.lp-price small {
    display: block;
    margin-top: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-gray);
}

.lp-checks {
    list-style: none;
    display: grid;
    gap: 16px;
}

.lp-checks li {
    display: flex;
    gap: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.lp-checks i {
    margin-top: 4px;
    color: var(--accent);
}

/* ---------- Processus ---------- */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.lp-step {
    padding-top: 28px;
    border-top: 3px solid #0A0A0A;
}

.lp-step b {
    display: block;
    margin-bottom: 16px;
    font-family: 'Space Grotesk', 'Nunito', sans-serif;
    font-size: 56px;
    line-height: 1;
    color: var(--blue);
}

.lp-step h3 {
    margin-bottom: 8px;
    font-size: 22px;
}

.lp-step p {
    color: #4A4A4A;
    line-height: 1.7;
}

/* ---------- CTA final ---------- */
.lp-cta {
    padding: 96px 0;
    text-align: center;
    background: var(--blue);
    color: #fff;
}

.lp-cta h2 {
    margin-bottom: 12px;
    font-size: clamp(34px, 5.5vw, 64px);
    font-weight: 700;
    line-height: 1.05;
}

.lp-cta p {
    margin-bottom: 36px;
    font-size: 18px;
    color: rgba(255, 255, 255, .88);
}

.lp-cta .btn-ghost {
    border-color: rgba(255, 255, 255, .6);
}

/* Barre CTA fixe, mobile uniquement */
.lp-sticky {
    display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .lp-trust {
        grid-template-columns: 1fr 1fr;
    }

    .lp-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lp-offer {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 36px 28px;
    }

    .lp-steps {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 640px) {
    body.lp {
        padding-bottom: 76px;
    }

    .lp-hero {
        padding: 56px 0 40px;
    }

    .lp-trust {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 48px;
    }

    .lp-grid {
        grid-template-columns: 1fr;
    }

    .lp-svc.w2 {
        grid-column: span 1;
    }

    .lp-svc {
        padding: 26px 22px;
    }

    .lp-hero-cta .btn,
    .lp-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .lp-cta {
        padding: 64px 0;
    }

    .lp-sticky {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        background: rgba(10, 10, 10, .92);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border);
    }

    .lp-sticky .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== FIN PAGE D'ACCUEIL ===== */


/* =====================================================
   PAGES UGC (brief-ugc.php / rejoindre-ugc.php)
   Même charte que l'accueil, scopé sous body.lp
   ===================================================== */

/* Cover compacte pour les pages internes */
.lp-hero--page {
    min-height: 0;
    padding: 88px 0 64px;
}

.lp-hero--page .lp-hero-title {
    max-width: 20ch;
    font-size: clamp(36px, 6vw, 72px);
}

.lp-hero--page .lp-trust {
    margin-top: 56px;
}

/* ---------- Avantages (rejoindre-ugc) ---------- */
.lp-perks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
}

.lp-perk {
    padding-top: 24px;
    border-top: 3px solid #0A0A0A;
}

.lp-perk .lp-ico {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    font-size: 18px;
}

.lp-perk h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.lp-perk p {
    font-size: 15px;
    line-height: 1.7;
    color: #4A4A4A;
}

/* ---------- Profils recherchés (colonnes sur fond noir) ---------- */
.lp-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.lp-col {
    padding-top: 24px;
    border-top: 3px solid var(--blue);
}

.lp-col h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.lp-col p {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
}

.lp .lp-col .tag {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

/* ---------- Formulaires ---------- */
.lpf-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 64px;
    align-items: start;
}

.lpf-aside {
    position: sticky;
    top: 104px;
}

.lpf-aside h2 {
    margin-bottom: 16px;
    font-size: clamp(30px, 3.6vw, 42px);
    font-weight: 700;
    line-height: 1.1;
}

.lpf-aside p {
    font-size: 16px;
    color: var(--text-gray);
}

.lpf-aside .lpf-aside-note {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 14px;
    line-height: 1.7;
}

.lpf-aside-note i {
    margin-right: 6px;
    color: var(--accent);
}

.lpf-aside-note a {
    color: #fff;
    font-weight: 700;
}

.lpf-wrap {
    min-width: 0;
    max-width: 820px;
}

.lpf-card {
    padding: 44px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #0F0F0F;
}

.lpf-title {
    margin: 40px 0 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    font-family: 'Space Grotesk', 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.lpf-title:first-of-type {
    margin-top: 0;
}

.lpf-group {
    margin-bottom: 22px;
}

.lpf-group>label,
.lpf-group>.lpf-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.lpf-group label span {
    color: var(--accent);
}

.lpf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.lp .lpf-group input[type="text"],
.lp .lpf-group input[type="email"],
.lp .lpf-group input[type="url"],
.lp .lpf-group input[type="date"],
.lp .lpf-group input[type="number"],
.lp .lpf-group input[type="file"],
.lp .lpf-group textarea,
.lp .lpf-group select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    background: #0A0A0A;
    color: #fff;
    color-scheme: dark;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.lp .lpf-group input::placeholder,
.lp .lpf-group textarea::placeholder {
    color: #6F6F6F;
}

.lp .lpf-group input:focus,
.lp .lpf-group textarea:focus,
.lp .lpf-group select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(53, 85, 220, .35);
}

.lpf-group textarea {
    min-height: 140px;
    resize: vertical;
}

.lpf-hint {
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-light);
}

/* Choix (radios / cases) : l'input reste accessible au clavier */
.lpf-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.lpf-choices--chips {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.lpf-choice {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    cursor: pointer;
    user-select: none;
    transition: border-color .15s ease, background .15s ease;
}

.lpf-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lpf-choice:hover {
    border-color: rgba(255, 255, 255, .5);
}

.lpf-choice:has(input:checked) {
    border-color: var(--blue);
    background: rgba(53, 85, 220, .18);
}

.lpf-choice:has(input:focus-visible) {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.lpf-chip {
    align-items: center;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-gray);
}

.lpf-chip:has(input:checked) {
    color: #fff;
}

.lpf-choice-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--blue);
    color: #fff;
}

.lpf-choice strong {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
    color: #fff;
}

.lpf-choice small {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-gray);
}

.lpf-rgpd {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-gray);
    cursor: pointer;
}

.lpf-rgpd input {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--blue);
}

.lpf-rgpd a {
    color: #fff;
    text-decoration: underline;
}

.lp .lpf-submit {
    width: 100%;
    justify-content: center;
}

/* Messages de retour */
.lpf-alert {
    margin-bottom: 24px;
    padding: 16px 20px;
    border: 1px solid;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    color: #fff;
}

.lpf-alert>i {
    margin-right: 6px;
}

.lpf-alert ul {
    margin: 8px 0 0 18px;
}

.lpf-alert-success {
    background: rgba(63, 185, 80, .12);
    border-color: var(--success);
}

.lpf-alert-success>i {
    color: var(--success);
}

.lpf-alert-error {
    background: rgba(248, 81, 73, .12);
    border-color: var(--error);
}

.lpf-alert-error>i {
    color: var(--error);
}

@media (max-width: 960px) {
    .lpf-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .lpf-aside {
        position: static;
    }

    .lp-perks,
    .lp-cols {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .lp-hero--page {
        padding: 48px 0 40px;
    }

    .lpf-card {
        padding: 26px 18px;
    }

    .lpf-row,
    .lpf-choices {
        grid-template-columns: 1fr;
    }

    .lpf-choices--chips {
        grid-template-columns: 1fr 1fr;
    }

    .lp-perks,
    .lp-cols {
        grid-template-columns: 1fr;
    }
}

/* ===== FIN PAGES UGC ===== */


/* =====================================================
   PAGES INTERNES (devis, support, blog, projets, qui sommes-nous, services UGC)
   Même charte que l'accueil, scopé sous body.lp
   ===================================================== */

/* Correctifs formulaires : case RGPD dans un .lpf-group, champ tel */
.lp .lpf-group>label.lpf-rgpd {
    display: flex;
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-gray);
}

.lp .lpf-rgpd span {
    color: inherit;
}

.lp .lpf-group input[type="tel"] {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    background: #0A0A0A;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
}

.lp .lpf-group input[type="tel"]:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(53, 85, 220, .35);
}

/* Qui sommes-nous : composants existants repris dans la charte */
.lp .about-avatar {
    background: var(--blue);
    color: #fff;
}

.lp .about-stat strong {
    font-family: 'Space Grotesk', 'Nunito', sans-serif;
}

/* ---------- Texte + tableau (services UGC) ---------- */
.lp-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.lp-big {
    margin-bottom: 24px;
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 700;
    line-height: 1.15;
}

.lp-lead {
    margin-bottom: 16px;
    font-size: 17px;
    line-height: 1.75;
    color: #4A4A4A;
}

.lp-compare {
    border: 1px solid #E4E4E4;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.lp-compare-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 12px;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #EEE;
    font-size: 14px;
    font-weight: 600;
}

.lp-compare-row:last-child {
    border-bottom: 0;
}

.lp-compare-head {
    background: #0A0A0A;
    color: #fff;
    font-weight: 800;
}

.lp-compare .is-yes {
    color: var(--blue);
    font-weight: 800;
}

.lp-compare .is-no {
    color: #666;
}

.lp-compare i {
    margin-right: 6px;
}

/* ---------- Packs ---------- */
.lp-packs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.lp-pack {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #0F0F0F;
}

.lp-pack.is-featured {
    border-color: var(--blue);
    background:
        radial-gradient(90% 60% at 50% 0%, rgba(53, 85, 220, .3), transparent 70%),
        #0F0F0F;
}

.lp-pack-badge {
    position: absolute;
    top: -13px;
    left: 24px;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.lp-pack h3 {
    margin-bottom: 4px;
    font-size: 22px;
}

.lp-pack-for {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
}

.lp-pack-desc {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
}

.lp-pack .lp-checks {
    gap: 10px;
    margin-bottom: 22px;
    font-size: 14px;
}

.lp-pack .lp-checks li {
    font-weight: 600;
}

.lp-pack .card-tags {
    margin-bottom: 24px;
}

.lp .lp-pack .tag {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.lp-pack-cta {
    margin-top: auto;
    justify-content: center;
}

.lp-packs-note {
    margin-top: 32px;
    color: var(--text-gray);
}

.lp-packs-note a {
    margin-left: 8px;
    color: #fff;
    font-weight: 800;
}

/* ---------- Étapes à 5 colonnes ---------- */
.lp-steps--5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
}

.lp-steps--5 .lp-step {
    padding-right: 0;
}

.lp-steps--5 .lp-step b {
    font-size: 44px;
}

.lp-steps--5 .lp-step h3 {
    font-size: 18px;
}

.lp-steps--5 .lp-step p {
    font-size: 14px;
}

/* ---------- Colonnes sur fond blanc ---------- */
.lp-light .lp-col {
    border-top-color: #0A0A0A;
}

.lp-light .lp-col p {
    color: #4A4A4A;
}

.lp .lp-light .lp-col .tag {
    background: #F2F2F2;
    color: #333;
}

.lp-col .lp-ico {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    font-size: 18px;
}

/* ---------- Créateurs ---------- */
.lp-creators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.lp-creator {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #0F0F0F;
}

.lp-creator-head {
    position: relative;
    padding: 28px 28px 20px;
    background: linear-gradient(135deg, #3555DC 0%, #1F3399 100%);
}

.lp-creator-pills {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.lp-creator-pills span {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.lp-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    font-size: 24px;
    font-weight: 900;
    color: #fff;
}

.lp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-creator-body {
    padding: 24px;
}

.lp-creator-body h3 {
    margin-bottom: 2px;
    font-size: 20px;
}

.lp-creator-role {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
}

.lp-creator-desc {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-gray);
}

.lp-creator-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lp-creator--join {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 28px;
    text-align: center;
    border-style: dashed;
    background: transparent;
}

.lp-creator--join .lp-ico {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    font-size: 24px;
}

.lp-creator--join h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.lp-creator--join p {
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-gray);
}

/* ---------- Blog ---------- */
.lp-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.lp-post {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #E4E4E4;
    border-radius: 14px;
    background: #fff;
    color: #0A0A0A;
    transition: border-color .2s ease;
}

.lp-post:hover {
    border-color: var(--blue);
}

.lp-post-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.lp-post-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.lp-post-date {
    margin-bottom: 8px;
    font-size: 12px;
    color: #666;
}

.lp-post h3 {
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.3;
}

.lp-post p {
    font-size: 15px;
    line-height: 1.7;
    color: #4A4A4A;
}

.lp-empty {
    grid-column: 1 / -1;
    padding: 56px 20px;
    text-align: center;
    color: #4A4A4A;
}

.lp-empty i {
    margin-bottom: 14px;
    font-size: 40px;
    color: var(--blue);
}

.lp-pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 56px;
}

.lp-pager a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 8px;
    border: 1px solid #D8D8D8;
    border-radius: 10px;
    background: #fff;
    color: #0A0A0A;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.lp-pager a:hover,
.lp-pager a.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.lp-pager a.active {
    cursor: default;
}

.lp-pager a.disabled {
    opacity: .4;
    pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .lp-steps--5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .lp-split {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .lp-packs {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .lp-steps--5 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .lp-steps--5 {
        grid-template-columns: 1fr;
    }

    .lp-compare-row {
        grid-template-columns: 1.1fr 1fr 1fr;
        gap: 8px;
        padding: 12px;
        font-size: 13px;
    }

    .lp-pack {
        padding: 28px 20px;
    }
}

/* ===== FIN PAGES INTERNES ===== */


/* =====================================================
   ACCUEIL — vidéo de fond de la cover + défilé de sponsors
   ===================================================== */

/* La cover accueille un second bloc (sponsors) sous le contenu */
.lp-hero--home {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding-bottom: 0;
}

.lp-hero--home>.container {
    width: 100%;
}

/* Vidéo en boucle, très discrète, sous la lueur bleue et la grille */
.lp-hero-video {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .22;
    filter: grayscale(1) contrast(1.1);
    pointer-events: none;
}

/* Bandeau sponsors */
.lp-sponsors {
    padding: 44px 0 52px;
}

.lp-sponsors-title {
    margin-bottom: 26px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
}

.lp-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.lp-marquee-track {
    display: flex;
    width: max-content;
    animation: lp-marquee var(--lp-marquee-speed, 40s) linear infinite;
}

.lp-marquee:hover .lp-marquee-track,
.lp-marquee:focus-within .lp-marquee-track {
    animation-play-state: paused;
}

.lp-marquee-group {
    display: flex;
    align-items: center;
    gap: 64px;
    padding-right: 64px;
}

.lp-sponsor {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 44px;
    color: #fff;
    text-decoration: none;
    opacity: .6;
    transition: opacity .2s ease;
}

a.lp-sponsor:hover,
a.lp-sponsor:focus-visible {
    opacity: 1;
}

.lp-sponsor img {
    display: block;
    height: 100%;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    /* logo transparent → blanc uniforme, cohérent avec la charte */
    filter: brightness(0) invert(1);
}

.lp-sponsor.is-color img {
    filter: none;
}

.lp-sponsor span {
    font-family: 'Space Grotesk', 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

@keyframes lp-marquee {
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 640px) {
    .lp-marquee-group {
        gap: 44px;
        padding-right: 44px;
    }

    .lp-sponsor {
        height: 36px;
    }

    .lp-sponsors {
        padding: 32px 0 40px;
    }
}

/* Mouvement réduit : plus de vidéo, logos fixes sur plusieurs lignes */
@media (prefers-reduced-motion: reduce) {
    .lp-hero-video {
        display: none;
    }

    .lp-marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .lp-marquee-track {
        animation: none;
        width: auto;
        justify-content: center;
    }

    .lp-marquee-group {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 20px;
        row-gap: 28px;
    }

    .lp-marquee-group[aria-hidden="true"] {
        display: none;
    }
}

/* ===== FIN VIDÉO + SPONSORS ===== */