/* ============================================================
   JG Collection — CSS Front-end
   Design sombre luxe — Mobile First
   ============================================================ */

:root {
    --bg: #1A1A1A;
    --bg-card: #2D2D2D;
    --bg-card-hover: #353535;
    --gold: #C9A96E;
    --gold-hover: #d4b87e;
    --gold-dark: #a88a4e;
    --text: #F7F5F2;
    --text-muted: #999;
    --text-dim: #666;
    --border: #3a3a3a;
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.25s ease;
    --container: 1200px;
    --header-h: 72px;
}

/* ============================================================
   RESET
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--gold-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   LAYOUT
   ============================================================ */

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

.container-narrow {
    max-width: 800px;
}

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

.section {
    padding: 80px 0;
    padding-top: calc(var(--header-h) + 24px);
}

.section-dark {
    background: #141414;
}

/* ============================================================
   HEADER & NAV
   ============================================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    height: var(--header-h);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

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

.nav-link.active {
    color: var(--text);
}

/* Menu mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../images/hero.webp') center center / cover no-repeat var(--bg);
    padding: calc(var(--header-h) + 40px) 20px 60px;
    position: relative;
    filter: saturate(0.3);
}

.hero > * {
    filter: saturate(3.33);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(26,26,26,0.95) 0%, rgba(26,26,26,0.72) 30%, rgba(26,26,26,0.72) 70%, rgba(26,26,26,0.95) 100%),
        linear-gradient(180deg, rgba(26,26,26,0.45) 0%, rgba(26,26,26,0.4) 50%, var(--bg) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-overline {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 16px;
    font-weight: 500;
}

.hero-title {
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 300;
}

.hero-signature {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(26px, 4vw, 38px);
    color: var(--gold);
    margin-top: 48px;
    opacity: 0.7;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.hero-badge svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--gold);
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    font-family: inherit;
}

.btn-gold:hover {
    background: var(--gold-hover);
    color: #1a1a1a;
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    font-family: inherit;
}

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

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

/* ============================================================
   SECTIONS
   ============================================================ */

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.section-link {
    font-size: 14px;
    color: var(--gold);
    font-weight: 500;
}

.section-text {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 16px;
    line-height: 1.7;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 40px;
}

/* ============================================================
   WATCH CARDS GRID
   ============================================================ */

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

.watch-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: transform var(--transition), background var(--transition);
}

.watch-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    color: var(--text);
}

.watch-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #222;
}

.watch-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.watch-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
}

.watch-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.badge-new {
    background: var(--gold);
    color: #1a1a1a;
}

.badge-reserved {
    background: rgba(220, 53, 69, 0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    font-weight: 600;
}

.watch-card-body {
    padding: 16px;
}

.watch-card-brand {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    font-weight: 600;
}

.watch-card-model {
    font-size: 16px;
    font-weight: 600;
    margin: 4px 0;
    line-height: 1.3;
}

.watch-card-year {
    font-size: 13px;
    color: var(--text-muted);
}

.watch-card-price {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

/* ============================================================
   BRANDS GRID
   ============================================================ */

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.brand-item {
    padding: 12px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all var(--transition);
}

.brand-item:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ============================================================
   CATALOGUE CONTROLS
   ============================================================ */

.section-catalogue {
    padding-top: calc(var(--header-h) + 16px);
}

.catalogue-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 8px 14px;
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px;
}

.filter-select:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-color: var(--gold);
}

.catalogue-count {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.empty-state-front {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.empty-state-front svg {
    margin-bottom: 16px;
    opacity: 0.3;
}

.empty-state-front p {
    margin-bottom: 24px;
    font-size: 16px;
}

/* ============================================================
   FICHE MONTRE
   ============================================================ */

.section-montre {
    padding-top: calc(var(--header-h) + 24px);
}

.back-link {
    display: inline-block;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
    padding-top: calc(var(--header-h) + 20px);
    transition: color var(--transition);
}

.back-link:hover {
    color: var(--gold);
}

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

/* Gallery */
.gallery-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #222;
    aspect-ratio: 1;
    cursor: zoom-in;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

.gallery-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    background: none;
    padding: 0;
    flex-shrink: 0;
    transition: border-color var(--transition);
}

.gallery-thumb.active {
    border-color: var(--gold);
}

.gallery-thumb:hover {
    border-color: var(--text-muted);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    color: var(--text-dim);
}

/* Info */
.montre-header {
    margin-bottom: 16px;
}

.montre-brand {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 600;
}

.montre-model {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin: 8px 0;
    letter-spacing: -0.5px;
}

.montre-ref {
    font-size: 14px;
    color: var(--text-muted);
}

.montre-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.status-reserved {
    background: rgba(201, 169, 110, 0.15);
    color: var(--gold);
}

.status-sold {
    background: rgba(255,255,255,0.08);
    color: var(--text-muted);
}

.montre-price {
    margin: 20px 0;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.price-amount {
    font-size: 28px;
    font-weight: 700;
}

.price-label {
    font-size: 16px;
    color: var(--text-muted);
    font-style: italic;
}

/* Specs */
.montre-specs {
    margin: 24px 0;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 14px;
}

.spec-label {
    color: var(--text-muted);
}

.spec-value {
    font-weight: 500;
}

.montre-description {
    margin: 24px 0;
}

.montre-description h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.montre-description div {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 14px;
}

.montre-actions {
    margin: 24px 0;
}

.montre-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-share {
    flex-shrink: 0;
}

.share-confirm {
    font-size: 13px;
    color: var(--gold);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   FORMS (front)
   ============================================================ */

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-color: var(--gold);
}

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

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkbox-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    cursor: pointer;
}

.checkbox-consent input {
    margin-top: 3px;
    accent-color: var(--gold);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.checkbox-consent a {
    color: var(--gold);
}

/* Contact layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: start;
}

.contact-form {
    max-width: 560px;
}

.contact-info {
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--text-muted);
    font-size: 14px;
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--gold);
}

.contact-item a {
    color: var(--text);
}

/* ============================================================
   ABOUT
   ============================================================ */

.about-section {
    padding-top: 20px;
}

.about-section .page-title {
    padding-top: calc(var(--header-h) + 10px);
    margin-bottom: 32px;
}

.about-intro {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 56px;
}

.about-photo img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    filter: grayscale(0.15);
}

.about-photo-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
}

.about-bio {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    padding-top: 60px;
}

.about-bio p {
    margin-bottom: 16px;
}

.about-signature {
    color: var(--gold);
    font-family: 'Great Vibes', cursive;
    font-size: 28px;
    margin-top: 24px;
}

@media (max-width: 767px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .about-photo {
        display: flex;
        justify-content: center;
    }

    .about-photo img,
    .about-photo-placeholder {
        width: 180px;
        border-radius: 50%;
        aspect-ratio: 1;
    }

    .about-bio {
        text-align: left;
    }

    .about-signature {
        text-align: center;
    }
}

.about-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.guarantee-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
}

.guarantee-item svg {
    color: var(--gold);
    margin-bottom: 16px;
}

.guarantee-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.guarantee-item p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================================
   LEGAL
   ============================================================ */

.legal-content {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 15px;
}

.legal-content h2 {
    color: var(--text);
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 12px;
}

.legal-content h2:first-of-type {
    margin-top: 24px;
}

.legal-content p {
    margin-bottom: 12px;
}

.legal-content ul {
    margin: 8px 0 16px 20px;
}

.legal-content li {
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--gold);
}

.legal-update {
    margin-top: 40px;
    font-size: 13px;
    color: var(--text-dim);
    font-style: italic;
}

/* ============================================================
   404
   ============================================================ */

.error-page {
    padding: calc(var(--header-h) + 60px) 0;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: var(--bg-card);
    line-height: 1;
}

.error-message {
    font-size: 18px;
    color: var(--text-muted);
    margin: 16px 0 32px;
}

/* ============================================================
   FLASH MESSAGES
   ============================================================ */

.flash {
    position: fixed;
    top: calc(var(--header-h) + 16px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 14px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    max-width: 90%;
    width: auto;
}

.flash-success {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #5cb85c;
}

.flash-error {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #e57373;
}

.flash-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.6;
}

.flash-close:hover { opacity: 1; }

/* ============================================================
   MODAL
   ============================================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay[hidden] { display: none !important; }

.modal {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover { color: var(--text); }

.modal-header h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}

.modal-montre-info {
    font-size: 14px;
    color: var(--gold);
    margin-bottom: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    background: #111;
    padding: 60px 0 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

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

.footer-logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text);
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color var(--transition);
}

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

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    color: var(--text-muted);
    transition: color var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
    color: var(--text-dim);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--text-dim);
    font-size: 13px;
}

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

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */

@media (min-width: 480px) {
    .watches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .watches-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* DESKTOP */
@media (min-width: 1024px) {
    .watches-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .watch-card-body {
        padding: 20px;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */

@media (max-width: 767px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-link {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .nav-link::after { display: none; }

    .section { padding: calc(var(--header-h) + 16px) 0 48px; }

    .section-montre { padding-top: calc(var(--header-h) + 16px); }

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

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

    .montre-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .montre-model { font-size: 24px; }

    .price-amount { font-size: 22px; }

    .form-row-2 { grid-template-columns: 1fr; }

    .contact-layout {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .catalogue-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .filters {
        flex-direction: column;
    }

    .filter-select {
        width: 100%;
    }

    .catalogue-search {
        flex-direction: row;
    }

    .nav-link.active::after { display: none; }
    .nav-link.active { color: var(--gold); }

    /* Galerie mobile : contraindre la largeur + ratio 4/3 */
    .montre-gallery {
        max-width: 100%;
        overflow: hidden;
    }

    .gallery-main {
        aspect-ratio: 1;
    }

    .gallery-main img {
        object-fit: cover;
        object-position: center;
    }

    /* Galerie : flèches toujours visibles sur tactile */
    .gallery-arrow {
        opacity: 0.7;
    }

    /* Grille 1 colonne sur petits écrans */
    .watches-grid {
        grid-template-columns: 1fr;
    }

    /* 404 : réduire la taille du code erreur */
    .error-code {
        font-size: 80px;
    }

    /* Modal : réduire le padding */
    .modal {
        padding: 20px;
    }
}

/* ============================================================
   FADE-IN ANIMATIONS
   ============================================================ */

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children in hero */
.hero .fade-in:nth-child(1) { transition-delay: 0.1s; }
.hero .fade-in:nth-child(2) { transition-delay: 0.2s; }
.hero .fade-in:nth-child(3) { transition-delay: 0.3s; }
.hero .fade-in:nth-child(4) { transition-delay: 0.4s; }
.hero .fade-in:nth-child(5) { transition-delay: 0.5s; }
.hero .fade-in:nth-child(6) { transition-delay: 0.6s; }

/* ============================================================
   BUTTON PRESS FEEDBACK
   ============================================================ */

.btn-gold:active,
.btn-outline:active {
    transform: scale(0.96);
    transition-duration: 0.08s;
}

/* ============================================================
   MOBILE MENU ANIMATION
   ============================================================ */

@media (max-width: 767px) {
    .main-nav {
        display: flex !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        padding: 0 20px;
    }

    .main-nav.open {
        max-height: 300px;
        padding: 20px;
    }
}

/* ============================================================
   MODAL ANIMATIONS
   ============================================================ */

.modal-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    transform: scale(0.92) translateY(16px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal {
    transform: scale(1) translateY(0);
}

/* ============================================================
   SEARCH BAR
   ============================================================ */

.catalogue-search {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-bottom: 20px;
    transition: border-color var(--transition);
}

.catalogue-search:focus-within {
    border-color: var(--gold);
}

.catalogue-search svg {
    flex-shrink: 0;
    color: var(--text-muted);
}

.search-input {
    background: none;
    border: none;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    width: 100%;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.search-input:focus {
    outline-color: var(--gold);
}

.search-input::placeholder {
    color: var(--text-dim);
}

/* ============================================================
   FILTER CHIPS
   ============================================================ */

.active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(201, 169, 110, 0.15);
    color: var(--gold);
    font-size: 13px;
    border-radius: 20px;
    cursor: pointer;
    transition: background var(--transition);
}

.filter-chip:hover {
    background: rgba(201, 169, 110, 0.25);
}

.chip-close {
    font-size: 15px;
    line-height: 1;
    opacity: 0.7;
}

.filter-reset {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: 4px;
}

.filter-reset:hover {
    color: var(--text);
}

/* ============================================================
   GALLERY ARROWS
   ============================================================ */

.gallery-main {
    position: relative;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 2;
}

.gallery-main:hover .gallery-arrow {
    opacity: 1;
}

.gallery-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

/* ============================================================
   LIGHTBOX
   ============================================================ */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.lightbox.show {
    opacity: 1;
    pointer-events: auto;
}

.lightbox[hidden] { display: none; }

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.show img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    z-index: 1;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ============================================================
   CHARACTER COUNTER
   ============================================================ */

.char-counter {
    display: block;
    text-align: right;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 4px;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold);
    color: #1a1a1a;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 900;
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--gold-hover);
}

.back-to-top:active {
    transform: scale(0.9);
}

/* ============================================================
   IMAGE PROTECTION
   ============================================================ */

.watch-card-image,
.gallery-main,
.lightbox {
    -webkit-user-select: none;
    user-select: none;
}

.watch-card-image img,
.gallery-main img,
.gallery-thumb img,
.lightbox img {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: none;
}

.watch-card-image::after,
.gallery-main::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ============================================================
   SKIP LINK (accessibilité)
   ============================================================ */

.skip-link {
    position: absolute;
    top: -50px;
    left: 16px;
    background: var(--gold);
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    z-index: 10000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 8px;
    color: #1a1a1a;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */

.breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb-sep {
    color: var(--text-dim);
    font-size: 14px;
}

.breadcrumb [aria-current="page"] {
    color: var(--text);
}

/* ============================================================
   PAGINATION
   ============================================================ */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius);
    font-size: 14px;
    transition: all var(--transition);
}

.pagination a {
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.pagination a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.pagination .page-current {
    background: var(--gold);
    color: #1a1a1a;
    font-weight: 600;
    border: 1px solid var(--gold);
}

.pagination .page-dots {
    border: none;
    min-width: auto;
    padding: 0 4px;
    color: var(--text-dim);
}

.pagination .page-prev,
.pagination .page-next {
    font-size: 13px;
    gap: 4px;
}

/* ============================================================
   FORM VALIDATION ERRORS
   ============================================================ */

.field-error {
    border-color: #e74c3c !important;
}

.field-error-msg {
    display: block;
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
}

/* ============================================================
   BUTTON DISABLED STATE
   ============================================================ */

button:disabled,
.btn-gold:disabled,
.btn-outline:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================================
   PREFERS-REDUCED-MOTION (accessibilité)
   ============================================================ */

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

    .fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
}
