@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:wght@300;400;500&family=Cinzel:wght@400;600&display=swap');

/* ============================================================
   JOIE CREATION — CSS Amélioré
   Breakpoints: 480px (mobile), 768px (tablet), 1024px (desktop)
   ============================================================ */

:root {
    --bg-primary: #0a0908;
    --bg-secondary: #111009;
    --bg-card: #141210;
    --accent-gold: #c8a96e;
    --accent-gold-light: #e2c99a;
    --accent-gold-soft: rgba(200, 169, 110, 0.08);
    --accent-gold-border: rgba(200, 169, 110, 0.25);
    --text-main: #f0ede8;
    --text-muted: #8a8278;
    --text-subtle: #5a5650;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-gold: rgba(200, 169, 110, 0.2);
    --font-display: 'Cormorant Garamond', serif;
    --font-accent: 'Cinzel', serif;
    --font-body: 'DM Sans', sans-serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --transition: all 0.6s var(--ease-out);
    /* Spacing tokens */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 80px;
    --space-2xl: 130px;
    /* Touch targets minimum */
    --touch-target: 48px;
}

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

html {
    scroll-behavior: smooth;
    /* Prevent font boosting on mobile */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none;
}

/* ============================================================
   CUSTOM CURSOR (desktop uniquement)
   ============================================================ */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, opacity 0.3s;
}

.cursor-follower {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1px solid var(--accent-gold-border);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.15s var(--ease-out);
}

.cursor.expand {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

.cursor-follower.expand {
    width: 60px;
    height: 60px;
    border-color: var(--accent-gold);
}

/* ============================================================
   GRAIN OVERLAY
   ============================================================ */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 9997;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ============================================================
   HEADER & NAV
   ============================================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 35px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 16px 0;
    background: rgba(10, 9, 8, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-gold);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.logo {
    font-family: var(--font-accent);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-main);
    flex-shrink: 0;
}

.logo em {
    color: var(--accent-gold);
    font-style: normal;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    position: relative;
    transition: color 0.4s;
    /* Augmenter zone de clic */
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.4s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-accent);
    font-size: 0.62rem;
    letter-spacing: 2px;
    cursor: none;
    padding: 8px 4px;
    transition: color 0.3s;
    text-transform: uppercase;
    /* Meilleure zone de touch */
    min-height: var(--touch-target);
    display: flex;
    align-items: center;
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--accent-gold);
}

.lang-sep {
    color: var(--text-subtle);
    font-size: 0.65rem;
    opacity: 0.5;
}

/* Mobile lang switcher */
.lang-switcher-mobile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 10px;
}

.lang-btn-mobile {
    background: none;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-family: var(--font-accent);
    font-size: 0.65rem;
    letter-spacing: 2px;
    cursor: pointer;
    padding: 10px 18px;
    transition: color 0.3s, border-color 0.3s, background 0.3s;
    text-transform: uppercase;
    min-height: var(--touch-target);
}

.lang-btn-mobile.active {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    background: var(--accent-gold-soft);
}

.lang-btn-mobile:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold-border);
}

/* ============================================================
   BURGER BUTTON
   ============================================================ */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: var(--touch-target);
    height: var(--touch-target);
    background: none;
    border: none;
    cursor: none;
    padding: 8px;
    z-index: 1100;
    position: relative;
    flex-shrink: 0;
}

.burger span {
    display: block;
    height: 1px;
    background: var(--text-main);
    transition: transform 0.4s var(--ease-out), opacity 0.3s, width 0.4s var(--ease-out);
    transform-origin: center;
}

.burger span:nth-child(1) {
    width: 28px;
}

.burger span:nth-child(2) {
    width: 20px;
}

.burger span:nth-child(3) {
    width: 24px;
}

.burger.open span:nth-child(1) {
    width: 24px;
    transform: translateY(7px) rotate(45deg);
    background: var(--accent-gold);
}

.burger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger.open span:nth-child(3) {
    width: 24px;
    transform: translateY(-7px) rotate(-45deg);
    background: var(--accent-gold);
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1050;
    pointer-events: none;
}

.mobile-menu.open {
    pointer-events: all;
}

.mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 9, 8, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.open .mobile-menu-backdrop {
    opacity: 1;
}

.mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100%;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-gold);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 90px 40px 56px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.open .mobile-menu-panel {
    transform: translateX(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-subtle);
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 300;
    transition: color 0.3s, padding-left 0.4s var(--ease-out);
    /* Touch target minimum */
    min-height: var(--touch-target);
}

.mobile-nav-link:first-child {
    border-top: 1px solid var(--border-subtle);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    color: var(--text-main);
    padding-left: 8px;
}

.mobile-nav-num {
    font-family: var(--font-accent);
    font-size: 0.58rem;
    letter-spacing: 2px;
    color: var(--accent-gold);
    flex-shrink: 0;
    align-self: center;
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 24px;
}

.mobile-menu-footer p {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-subtle);
    font-family: var(--font-accent);
}

.mobile-menu-footer a {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--accent-gold);
    text-decoration: none;
    font-style: italic;
    transition: opacity 0.3s;
    /* Zone touch */
    padding: 8px 0;
    display: inline-block;
}

.mobile-menu-footer a:hover {
    opacity: 0.7;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    height: 100vh;
    min-height: 680px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 50px;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 1s var(--ease-out) 0.2s forwards;
}

.hero-eyebrow span {
    font-size: 0.65rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-family: var(--font-accent);
}

.eyebrow-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, var(--accent-gold), transparent);
}

.hero h1 {
    font-size: clamp(3rem, 6.5vw, 6.5rem);
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.05;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 1s var(--ease-out) 0.4s forwards;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent-gold-light);
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 480px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeUp 1s var(--ease-out) 0.6s forwards;
}

.hero-btns {
    display: flex;
    gap: 16px;
    align-items: center;
    opacity: 0;
    animation: fadeUp 1s var(--ease-out) 0.8s forwards;
    flex-wrap: wrap;
}

.hero-line {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-gold-border), transparent);
    z-index: 1;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 0.7rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    font-family: var(--font-body);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    /* Touch target */
    min-height: var(--touch-target);
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease-out);
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background: var(--accent-gold);
    color: #000;
    border: 1px solid var(--accent-gold);
}

.btn-primary::before {
    background: #fff;
}

.btn-primary:hover {
    color: #000;
}

.btn-ghost {
    border: 1px solid var(--border-gold);
    color: var(--text-muted);
}

.btn-ghost::before {
    background: var(--accent-gold-soft);
}

.btn-ghost:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.btn-arrow::after {
    content: '→';
    font-size: 1rem;
}

/* ============================================================
   SECTION BASE
   ============================================================ */
section {
    padding: var(--space-2xl) 0;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.section-label span {
    font-size: 0.6rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-family: var(--font-accent);
}

.section-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--accent-gold);
    flex-shrink: 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-title em {
    font-style: italic;
    color: var(--accent-gold-light);
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products {
    background: var(--bg-secondary);
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: var(--space-md);
}

.products-header-text {
    max-width: 500px;
}

.products-header-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.product-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
}

.product-img {
    height: 560px;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}

.product-img::-webkit-scrollbar {
    display: none;
}

.product-img img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
    transition: transform 1.2s var(--ease-out);
    filter: brightness(0.7);
}

.product-card:hover .product-img img {
    transform: scale(1.07);
    filter: brightness(0.5);
}

.product-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    background: linear-gradient(to top, rgba(10, 9, 8, 0.95) 0%, rgba(10, 9, 8, 0.3) 50%, transparent 100%);
    z-index: 2;
}

.product-tag {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid var(--accent-gold-border);
    font-size: 0.6rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-family: var(--font-accent);
    margin-bottom: 14px;
    width: fit-content;
}

.product-card h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    margin-bottom: 10px;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 320px;
    transition: opacity 0.4s, transform 0.4s;
    opacity: 0.8;
}

.product-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-gold);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    font-family: var(--font-accent);
    margin-top: 24px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s, transform 0.4s;
    padding: 8px 0;
    /* zone touch */
}

.product-cta span {
    font-size: 1.1rem;
}

.product-card:hover .product-cta {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   ABOUT VISUAL (diaporama)
   ============================================================ */
.about-visual-main-container {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    display: flex;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.about-visual-main-container::-webkit-scrollbar {
    display: none;
}

.about-visual-main-container img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
    padding: 100px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.stat-item {
    padding: 50px 40px;
    border: 1px solid var(--border-subtle);
    text-align: center;
    background: var(--bg-secondary);
    transition: border-color 0.4s, background 0.4s;
}

.stat-item:hover {
    border-color: var(--border-gold);
    background: var(--accent-gold-soft);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 300;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: var(--font-accent);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 720px;
    gap: 0;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.9;
}

.features-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--border-subtle);
    transition: border-color 0.4s, background 0.4s;
}

.feature-item:hover {
    border-color: var(--border-gold);
    background: var(--accent-gold-soft);
}

.feature-icon {
    width: 36px;
    height: 36px;
    border: 1px solid var(--accent-gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.feature-item h4 {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
    background: var(--bg-secondary);
}

.gallery-header {
    margin-bottom: 48px;
}

.gallery-header p {
    margin-top: 12px;
    max-width: 480px;
}

/* Filters — scroll horizontal sur mobile */
.gallery-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.gallery-filters::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-family: var(--font-accent);
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: none;
    transition: all 0.35s var(--ease-out);
    white-space: nowrap;
    flex-shrink: 0;
    /* Touch target */
    min-height: var(--touch-target);
}

.filter-btn:hover {
    border-color: var(--border-gold);
    color: var(--accent-gold);
}

.filter-btn.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #000;
}

/* Masonry grid */
.gallery-grid {
    columns: 3;
    column-gap: 12px;
    orphans: 1;
    widows: 1;
}

.gallery-item {
    break-inside: avoid;
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    cursor: none;
}

.gallery-img {
    width: 100%;
    height: 260px;
    overflow: hidden;
    display: block;
    transition: transform 0.8s var(--ease-out), filter 0.5s;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease-out), filter 0.5s;
}

.gallery-item:hover .gallery-img img {
    transform: scale(1.06);
    filter: brightness(0.55);
}

.gallery-item.tall .gallery-img {
    height: 380px;
}

.gallery-item.wide .gallery-img {
    height: 220px;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
    background: rgba(10, 9, 8, 0.2);
}

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

.gallery-zoom {
    font-size: 1.6rem;
    color: var(--accent-gold);
    opacity: 0.85;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 14px 10px;
    font-size: 0.72rem;
    letter-spacing: 1px;
    color: var(--text-main);
    background: linear-gradient(to top, rgba(10, 9, 8, 0.88) 0%, transparent 100%);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out);
    font-family: var(--font-body);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-item.hidden {
    display: none;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 9, 8, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-img-wrap {
    max-width: 80vw;
    max-height: 75vh;
    overflow: hidden;
}

.lightbox-img {
    width: 70vw;
    max-width: 800px;
    height: 58vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.lightbox-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.lightbox-caption {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
}

.lightbox-counter {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--accent-gold);
    font-family: var(--font-accent);
    text-transform: uppercase;
}

.lightbox-close {
    position: fixed;
    top: 24px;
    right: 24px;
    background: none;
    border: 1px solid var(--border-gold);
    color: var(--text-muted);
    font-size: 1rem;
    width: var(--touch-target);
    height: var(--touch-target);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    z-index: 2;
    transition: color 0.3s, border-color 0.3s, background 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    background: var(--accent-gold-soft);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 9, 8, 0.5);
    border: 1px solid var(--border-gold);
    color: var(--text-muted);
    font-size: 1.8rem;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    z-index: 2;
    transition: color 0.3s, border-color 0.3s, transform 0.3s, background 0.3s;
    line-height: 1;
}

.lightbox-nav:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    background: rgba(200, 169, 110, 0.1);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-nav:hover.prev {
    transform: translateY(-50%) translateX(-3px);
}

.lightbox-nav:hover.next {
    transform: translateY(-50%) translateX(3px);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    background: var(--bg-primary);
}

.contact-centered {
    text-align: center;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    padding: 44px 32px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    transition: border-color 0.4s, background 0.4s, transform 0.4s var(--ease-out);
}

.contact-card:hover {
    border-color: var(--border-gold);
    background: var(--accent-gold-soft);
    transform: translateY(-4px);
}

.contact-card-icon {
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin-bottom: 4px;
    opacity: 0.8;
}

.contact-card-label {
    font-size: 0.58rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-family: var(--font-accent);
}

.contact-card-value {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-main);
    transition: color 0.3s;
    text-align: center;
    word-break: break-word;
}

.contact-card:hover .contact-card-value {
    color: var(--accent-gold-light);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    padding: 50px 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.footer-logo {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    flex-shrink: 0;
}

.footer-logo em {
    color: var(--accent-gold);
    font-style: normal;
}

.footer-copy {
    font-size: 0.72rem;
    color: var(--text-subtle);
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-shrink: 0;
}

.footer-links a {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-subtle);
    text-decoration: none;
    transition: color 0.3s;
    /* Touch target */
    padding: 8px 0;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   HOVER:NONE — Mobile/tactile
   ============================================================ */
@media (hover: none) {
    body {
        cursor: auto;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    /* Rendre tous les éléments interactifs cliquables */
    .filter-btn,
    .gallery-item,
    .lightbox-close,
    .lightbox-nav,
    .about-nav,
    .burger,
    .lang-btn,
    .lang-btn-mobile,
    .btn {
        cursor: pointer;
    }

    /* Toujours afficher caption sur mobile */
    .gallery-caption {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(10, 9, 8, 0.8) 0%, transparent 100%);
    }

    /* Masquer overlay sur mobile */
    .gallery-overlay {
        display: none;
    }

    /* Afficher CTA produit sur mobile */
    .product-cta {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   RESPONSIVE — TABLETTE (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-md);
    }

    .nav-links {
        gap: 28px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
    }

    .stat-item {
        padding: 40px 28px;
    }
}

/* ============================================================
   RESPONSIVE — TABLETTE (max 900px)
   ============================================================ */
@media (max-width: 900px) {
    :root {
        --space-2xl: 90px;
        --space-xl: 60px;
    }

    /* Nav */
    .nav-links {
        display: none;
    }

    .lang-switcher {
        display: none;
    }

    .burger {
        display: flex;
    }

    header {
        padding: 20px 0;
    }

    header.scrolled {
        padding: 14px 0;
    }

    /* Hero - TABLETTE */
    .hero {
        min-height: 80svh;
        height: auto;
        align-items: flex-start;
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .hero-eyebrow {
        margin-top: 0;
        margin-bottom: 20px;
    }

    .hero-svg {
        /* Décaler le SVG vers le bas-droite, hors du texte */
        transform: translateX(20%) translateY(10%);
        transform-origin: center;
        opacity: 0.6;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-line {
        display: none;
    }

    /* Boutons hero côte à côte sur tablette */
    .hero-btns {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .btn {
        flex: 1;
        min-width: 160px;
    }

    /* Products */
    .products {
        padding-top: 20px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .product-img {
        height: 460px;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 40px;
    }

    .products-header .btn {
        width: auto;
        flex: none;
    }

    /* Stats */
    .stats {
        padding: 70px 0;
    }

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

    .stat-item {
        padding: 36px 24px;
    }

    /* About */
    .about-grid {
        max-width: 100%;
    }

    /* Gallery */
    .gallery-grid {
        columns: 2;
        column-gap: 8px;
    }

    .gallery-item {
        margin-bottom: 8px;
    }

    .gallery-img {
        height: 210px;
    }

    .gallery-item.tall .gallery-img {
        height: 300px;
    }

    .gallery-item.wide .gallery-img {
        height: 170px;
    }

    /* Lightbox */
    .lightbox-img {
        width: 88vw;
        height: 50vh;
    }

    .lightbox-nav.prev {
        left: 10px;
    }

    .lightbox-nav.next {
        right: 10px;
    }

    .lightbox-nav {
        width: var(--touch-target);
        height: var(--touch-target);
        font-size: 1.4rem;
        background: rgba(10, 9, 8, 0.7);
    }

    /* Contact */
    .contact-cards {
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
        gap: 2px;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 600px)
   ============================================================ */
@media (max-width: 600px) {
    :root {
        --space-2xl: 72px;
        --space-xl: 48px;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    .logo {
        font-size: 0.85rem;
        letter-spacing: 3px;
    }

    /* Hero - MOBILE : hauteur auto, pas de vide en bas */
    .hero {
        height: auto;
        min-height: unset;
        align-items: flex-start;
        padding-top: 100px;
        padding-bottom: 64px;
    }

    /* Voile sombre sur SVG déco pour lisibilité du texte */
    .hero-bg::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(10, 9, 8, 0.55);
        z-index: 1;
    }

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

    .hero-eyebrow {
        margin-top: 0;
        margin-bottom: 18px;
    }

    .hero-eyebrow span {
        font-size: 0.56rem;
        letter-spacing: 3px;
    }

    .eyebrow-line {
        width: 36px;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 10vw, 3.2rem);
        line-height: 1.08;
        margin-bottom: 20px;
    }

    .hero-desc {
        font-size: 0.88rem;
        max-width: 100%;
        margin-bottom: 32px;
        line-height: 1.75;
    }

    /* Boutons côte à côte, pas pleine largeur */
    .hero-btns {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .hero-btns .btn {
        flex: 1;
        width: auto;
        min-width: 0;
        padding: 14px 16px;
        font-size: 0.62rem;
        letter-spacing: 1.5px;
    }

    .btn {
        min-width: unset;
    }

    /* Produits */
    .product-img {
        height: 340px;
    }

    .product-overlay {
        padding: 24px 20px;
    }

    .product-card h3 {
        font-size: 1.5rem;
    }

    .product-card p {
        font-size: 0.82rem;
    }

    /* Stats */
    .stats {
        padding: 56px 0;
    }

    .stat-item {
        padding: 28px 16px;
    }

    .stat-label {
        font-size: 0.58rem;
    }

    /* Features */
    .features-list {
        gap: 8px;
    }

    .feature-item {
        padding: 16px;
    }

    /* Gallery - 2 colonnes sur mobile */
    .gallery-grid {
        columns: 2;
        column-gap: 6px;
    }

    .gallery-item {
        margin-bottom: 6px;
    }

    .gallery-img {
        height: 160px;
    }

    .gallery-item.tall .gallery-img {
        height: 230px;
    }

    .gallery-filters {
        gap: 6px;
        margin-bottom: 28px;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 0.58rem;
    }

    /* Lightbox mobile */
    .lightbox-img {
        width: 96vw;
        height: 40vh;
        max-width: unset;
    }

    .lightbox-close {
        top: 16px;
        right: 16px;
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
    }

    .lightbox-nav.prev {
        left: 6px;
    }

    .lightbox-nav.next {
        right: 6px;
    }

    /* Contact — 1 colonne sur mobile */
    .contact-cards {
        grid-template-columns: 1fr;
        max-width: 380px;
    }

    .contact-card {
        padding: 32px 24px;
        flex-direction: row;
        align-items: center;
        gap: 20px;
        text-align: left;
    }

    .contact-card-icon {
        margin-bottom: 0;
        font-size: 1.3rem;
        flex-shrink: 0;
    }

    .contact-card-content {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .contact-card-value {
        text-align: left;
        font-size: 0.95rem;
    }

    /* Footer */
    .footer-copy {
        font-size: 0.65rem;
    }

    .footer-links a {
        font-size: 0.6rem;
    }

    /* Mobile menu - padding réduit */
    .mobile-menu-panel {
        padding: 80px 28px 48px;
    }

    .mobile-nav-link {
        font-size: 1.5rem;
        padding: 16px 0;
    }
}

/* ============================================================
   RESPONSIVE — TRÈS PETIT MOBILE (max 380px)
   ============================================================ */
@media (max-width: 380px) {
    .logo {
        font-size: 0.78rem;
        letter-spacing: 2px;
    }

    .hero {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .gallery-grid {
        columns: 1;
    }

    .gallery-img {
        height: 240px;
    }

    .gallery-item.tall .gallery-img {
        height: 300px;
    }

    .contact-cards {
        max-width: 100%;
    }

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

/* ============================================================
   PRINT
   ============================================================ */
@media print {

    .cursor,
    .cursor-follower,
    header,
    .mobile-menu,
    .lightbox,
    .gallery-filters {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    section {
        padding: 40px 0;
        break-inside: avoid;
    }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-eyebrow,
    .hero h1,
    .hero-desc,
    .hero-btns {
        opacity: 1;
        animation: none;
    }
}