:root {
    --ns-primary: #4f46e5;
    --ns-primary-dark: #3730a3;
    --ns-ink: #1e1b2e;
    --ns-muted: #6b7280;
    --ns-bg: #f7f7fb;
    --ns-card-border: rgba(79, 70, 229, 0.08);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--ns-bg);
    color: var(--ns-ink);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }

h1, h2, h3, h4, h5, .navbar-brand {
    font-family: 'Poppins', 'Inter', sans-serif;
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}

.navbar-ns {
    background: linear-gradient(90deg, var(--ns-ink) 0%, #2d2a45 100%);
}

.navbar-ns .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.navbar-ns .nav-link:hover,
.navbar-ns .nav-link.active {
    color: #ffffff;
}

/* Hero */
.hero {
    background: radial-gradient(circle at top left, #eef2ff 0%, var(--ns-bg) 60%);
    border-radius: 1.5rem;
    padding: 3.5rem 2rem;
}

.hero h1 {
    font-weight: 700;
    letter-spacing: -0.03em;
}

.hero p {
    color: var(--ns-muted);
    font-size: 1.1rem;
}

/* Product cards */
.produit-card {
    border: 1px solid var(--ns-card-border);
    border-radius: 1rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.produit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(30, 27, 46, 0.08) !important;
}

.produit-card .badge {
    background-color: var(--ns-primary);
    font-weight: 500;
}

.btn-ns-primary {
    background-color: var(--ns-primary);
    border-color: var(--ns-primary);
    color: #fff;
    font-weight: 600;
}

.btn-ns-primary:hover {
    background-color: var(--ns-primary-dark);
    border-color: var(--ns-primary-dark);
    color: #fff;
}

/* Legal / content pages */
.content-card {
    border-radius: 1.25rem;
}

/* Footer */
footer.site-footer {
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

footer.site-footer a {
    color: var(--ns-muted);
}

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

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
    max-width: 100%;
    overflow-x: auto;
}

.footer-social a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--ns-bg);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(30, 27, 46, 0.12);
}

.footer-social a img {
    width: 0.85rem;
    height: 0.85rem;
}

.footer-paiements {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.4rem;
    max-width: 100%;
    overflow-x: auto;
}

.badge-paiement {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    border-radius: 0.4rem;
    background: var(--ns-bg);
    border: 1px solid var(--ns-card-border);
    color: var(--ns-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.badge-paiement img {
    height: 0.75rem;
    width: auto;
}

/* Inspiration Style — rendu "affiche de cinéma" */
:root {
    --insp-bg: #0b0b12;
    --insp-bg-soft: #17151f;
    --insp-gold: #d9b45c;
    --insp-text: #f5f4f7;
    --insp-muted: rgba(245, 244, 247, 0.65);
}

.inspiration-hero {
    background: radial-gradient(circle at 20% 20%, #262238 0%, var(--insp-bg) 70%);
    border-radius: 1.5rem;
    padding: 4.5rem 2rem;
    text-align: center;
    color: var(--insp-text);
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
}

.inspiration-hero::before,
.inspiration-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 10px;
    background: #000;
}

.inspiration-hero::before { top: 0; }
.inspiration-hero::after { bottom: 0; }

.inspiration-hero .eyebrow {
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--insp-gold);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.inspiration-hero h1 {
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 3rem;
}

.inspiration-hero p {
    color: var(--insp-muted);
    font-size: 1.1rem;
}

.inspiration-filtres .btn {
    border-radius: 2rem;
    padding: 0.4rem 1.4rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.inspiration-filtres .btn-ns-gold {
    background-color: var(--insp-gold);
    border-color: var(--insp-gold);
    color: #1a1608;
}

.inspiration-filtres .btn-outline-gold {
    background: transparent;
    border: 1px solid rgba(217, 180, 92, 0.5);
    color: var(--ns-ink);
}

.inspiration-filtres .btn-outline-gold:hover {
    background: rgba(217, 180, 92, 0.12);
}

/* Cartes "poster" */
.tenue-poster {
    position: relative;
    display: block;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: 0 10px 30px rgba(11, 11, 18, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tenue-poster:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 20px 40px rgba(11, 11, 18, 0.35);
}

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

.tenue-poster:hover img {
    transform: scale(1.06);
}

.poster-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
}

.poster-badge {
    align-self: flex-start;
    background: var(--insp-gold);
    color: #1a1608;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 0.35rem;
    margin-bottom: 0.5rem;
}

.poster-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    margin: 0;
}

/* Page détail — bandeau cinéma */
.tenue-hero {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    background-color: #000;
}

.tenue-hero::before,
.tenue-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 8%;
    background: #000;
    z-index: 2;
}

.tenue-hero::before { top: 0; }
.tenue-hero::after { bottom: 0; }

.shop-look-panel {
    background: var(--insp-bg-soft);
    border-radius: 1.25rem;
    padding: 2rem;
    color: var(--insp-text);
}

.shop-look-panel h2 {
    color: var(--insp-text);
}

.shop-look-panel .list-group-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--insp-text);
    border-radius: 0.75rem;
    margin-bottom: 0.6rem;
}

.shop-look-panel .list-group-item:hover {
    background: rgba(217, 180, 92, 0.1);
    border-color: var(--insp-gold);
}

.shop-look-panel .prix-gold {
    color: var(--insp-gold);
    font-weight: 700;
}

.shop-look-panel .item-cliquable {
    cursor: pointer;
}

.shop-look-panel .item-cliquable:hover {
    box-shadow: inset 0 0 0 1px var(--insp-gold);
}

/* Mannequin qui "tourne" — alterne face/dos automatiquement */
.mannequin-spin {
    aspect-ratio: 3 / 4;
    background: var(--insp-bg-soft);
    overflow: hidden;
    perspective: 1200px;
}

.mannequin-spin-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: ns-spin-mannequin 6s infinite linear;
}

.mannequin-spin-face,
.mannequin-spin-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    backface-visibility: hidden;
}

.mannequin-spin-back {
    transform: rotateY(180deg);
}

.mannequin-spin-vide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--insp-muted);
    font-size: 0.85rem;
    text-align: center;
    padding: 1rem;
}

.mannequin-spin-label {
    color: var(--ns-ink);
}

@keyframes ns-spin-mannequin {
    0%, 40%   { transform: rotateY(0deg); }
    50%, 90%  { transform: rotateY(180deg); }
    100%      { transform: rotateY(360deg); }
}

/* ============ Page d'accueil premium ============ */
.home-hero {
    position: relative;
    background: linear-gradient(135deg, var(--ns-ink) 0%, #2d2a45 45%, var(--ns-primary) 130%);
    border-radius: 2rem;
    padding: 5.5rem 2rem;
    text-align: center;
    color: #fff;
    overflow: hidden;
    margin-bottom: 3.5rem;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.14) 0%, transparent 35%),
        radial-gradient(circle at 88% 78%, rgba(255, 255, 255, 0.10) 0%, transparent 42%);
    pointer-events: none;
}

/* Halos dorés qui dérivent lentement — effet "luxe" */
.home-hero::after {
    content: '';
    position: absolute;
    inset: -25%;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(217, 180, 92, 0.35) 0%, transparent 30%),
        radial-gradient(circle at 78% 65%, rgba(217, 180, 92, 0.22) 0%, transparent 32%),
        radial-gradient(circle at 50% 92%, rgba(124, 108, 255, 0.28) 0%, transparent 28%);
    filter: blur(50px);
    animation: ns-hero-drift 18s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes ns-hero-drift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(3%, -4%, 0) scale(1.1); }
    100% { transform: translate3d(-3%, 3%, 0) scale(1); }
}

/* Reflet lumineux qui balaie le hero, façon vitrine de luxe */
.hero-shimmer {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(115deg, transparent 42%, rgba(217, 180, 92, 0.22) 50%, transparent 58%);
    background-size: 300% 300%;
    animation: ns-hero-shimmer 7s linear infinite;
    mix-blend-mode: overlay;
    pointer-events: none;
}

@keyframes ns-hero-shimmer {
    0%   { background-position: 200% 0%; }
    100% { background-position: -200% 0%; }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero::after,
    .hero-shimmer {
        animation: none;
    }
}

.home-hero .eyebrow {
    position: relative;
    z-index: 2;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--insp-gold);
    margin-bottom: 1rem;
}

.home-hero h1 {
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-size: 3.25rem;
    letter-spacing: -0.03em;
    margin-bottom: 1.1rem;
}

.home-hero p.lead {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
    margin: 0 auto 2.25rem;
}

.home-hero .hero-actions {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: #fff;
    color: var(--ns-ink);
    font-weight: 700;
    border-radius: 2rem;
    padding: 0.65rem 1.9rem;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    color: var(--ns-ink);
}

.btn-hero-outline {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
    font-weight: 600;
    border-radius: 2rem;
    padding: 0.65rem 1.7rem;
    text-decoration: none;
    display: inline-block;
    transition: background 0.15s ease, transform 0.15s ease;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateY(-2px);
}

.home-stats {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.home-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.home-stats .stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

/* En-têtes de section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.section-header h2 {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.section-header p {
    color: var(--ns-muted);
    margin-bottom: 0;
}

.section-header a {
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

/* Vitrine de catégories */
.category-showcase {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    margin-bottom: 3.5rem;
}

.category-pill {
    flex: 0 0 auto;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    background: #fff;
    border: 1px solid var(--ns-card-border);
    border-radius: 2rem;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
    color: var(--ns-ink);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.category-pill:hover,
.category-pill.active {
    background: var(--ns-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.25);
}

.category-pill .count {
    font-size: 0.75rem;
    opacity: 0.65;
}

/* Bandeau teaser Inspiration Style */
.home-inspiration-teaser {
    background: radial-gradient(circle at 80% 20%, #262238 0%, var(--insp-bg) 70%);
    border-radius: 2rem;
    padding: 3.5rem 2rem;
    margin: 4.5rem 0;
}

.home-inspiration-teaser .section-header h2,
.home-inspiration-teaser .section-header p,
.home-inspiration-teaser .section-header a {
    color: #fff;
}

.home-inspiration-teaser .section-header p {
    color: rgba(255, 255, 255, 0.6);
}

.home-inspiration-teaser .section-header a {
    color: var(--insp-gold);
}

/* Cartes articles de blog */
.blog-teaser-card {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--ns-card-border);
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.blog-teaser-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(30, 27, 46, 0.08);
    color: inherit;
}

.blog-teaser-card img {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

.blog-teaser-card .blog-teaser-body {
    padding: 1.25rem;
}

/* Bandeau "Vendre sur NexSelect" */
.vendre-cta-banner {
    background: linear-gradient(120deg, var(--ns-primary) 0%, var(--ns-primary-dark) 100%);
    border-radius: 2rem;
    padding: 3.5rem 2rem;
    text-align: center;
    color: #fff;
    margin: 4.5rem 0;
}

.vendre-cta-banner h2 {
    font-weight: 700;
}

.vendre-cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto 1.5rem;
}
