/* vetement.css */
:root {
  --v-primaire: #111111;
  --v-fond: #FBFAF8;
  --v-fond-secondaire: #F3EFEA;
  --v-texte: #222222;
  --v-texte-doux: #777777;
  --v-bordure: #EAEAEA;
  --v-accent: #D4C4B7;
  --v-font-titre: 'Playfair Display', serif;
  --v-font-corps: 'Lato', sans-serif;
  --v-radius: 4px;
  --v-max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--v-font-corps); color: var(--v-texte); background: var(--v-fond); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; border: none; background: none; outline: none; cursor: pointer; }

.v-container { max-width: var(--v-max-width); margin: 0 auto; padding: 0 48px; }
.v-section { padding: 96px 0; }
.v-bg-light { background: var(--v-fond-secondaire); }

.v-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; background: var(--v-primaire); color: #FFF; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; transition: background 0.3s; }
.v-btn:hover { background: #333; }
.v-btn-full { width: 100%; }

/* Nav */
.v-nav { position: fixed; top: 0; left: 0; width: 100%; height: 80px; z-index: 100; transition: background 0.3s, border-bottom 0.3s; color: #FFF; }
.v-nav.opaque { background: var(--v-fond); color: var(--v-texte); border-bottom: 1px solid var(--v-bordure); }
.v-nav-inner { max-width: var(--v-max-width); margin: 0 auto; height: 100%; padding: 0 48px; display: flex; align-items: center; justify-content: space-between; }
.v-logo { font-family: var(--v-font-titre); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.v-links { display: flex; gap: 40px; }
.v-links a { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; transition: opacity 0.3s; }
.v-links a:hover { opacity: 0.6; }
.v-cart-btn { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }
.v-cart-btn:hover { opacity: 0.6; }

/* Hero */
.v-hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: #FFF; }
.v-hero::before { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?auto=format&fit=crop&q=80&w=1600') center/cover no-repeat; opacity: 0.8; }
.v-hero::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
.v-hero-content { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.v-subtitle { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.2em; }
.v-title { font-family: var(--v-font-titre); font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1.1; font-weight: 400; }

/* Section Header */
.v-section-header { text-align: center; margin-bottom: 64px; }
.v-section-header h2 { font-family: var(--v-font-titre); font-size: 2.25rem; font-weight: 400; margin-bottom: 16px; }
.v-section-header p { color: var(--v-texte-doux); font-size: 1.05rem; }

/* Grid / Catalogue */
.v-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.v-product-img { aspect-ratio: 3/4; overflow: hidden; background: #F5F5F5; margin-bottom: 16px; }
.v-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.v-product:hover .v-product-img img { transform: scale(1.05); }
.v-product-info { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.v-product-name { font-size: 1rem; font-weight: 400; }
.v-product-price { font-size: 0.9375rem; color: var(--v-texte-doux); margin-bottom: 8px; }
.v-btn-add { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: opacity 0.3s; }
.v-btn-add:hover { opacity: 0.6; }

/* Tabs */
.v-delivery-tabs { max-width: 800px; margin: 0 auto; }
.v-tab-buttons { display: flex; justify-content: center; gap: 48px; border-bottom: 1px solid var(--v-bordure); margin-bottom: 40px; }
.v-tab-btn { padding: 0 0 16px; font-size: 1rem; color: var(--v-texte-doux); border-bottom: 2px solid transparent; transition: all 0.3s; }
.v-tab-btn.active { color: var(--v-primaire); border-bottom-color: var(--v-primaire); font-weight: 700; }
.v-tab-content { display: none; animation: vFadeIn 0.4s ease; }
.v-tab-content.active { display: block; }
.v-tab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.v-tab-card { background: var(--v-fond); padding: 32px; border: 1px solid var(--v-bordure); }
.v-tab-card h4 { font-size: 1.125rem; margin-bottom: 12px; font-family: var(--v-font-titre); font-weight: 600; }
.v-tab-card p { font-size: 0.9375rem; color: var(--v-texte-doux); margin-bottom: 16px; }
.v-tab-price { font-size: 0.875rem; font-weight: 700; color: var(--v-primaire); }

@keyframes vFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Drawer Cart */
.v-cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; visibility: hidden; transition: all 0.4s ease; backdrop-filter: blur(2px); }
.v-cart-overlay.active { opacity: 1; visibility: visible; }
.v-cart-drawer { position: fixed; top: 0; right: 0; width: 100%; max-width: 400px; height: 100vh; background: var(--v-fond); z-index: 1000; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: -10px 0 30px rgba(0,0,0,0.05); }
.v-cart-drawer.active { transform: translateX(0); }
.v-cart-header { padding: 24px 32px; border-bottom: 1px solid var(--v-bordure); display: flex; justify-content: space-between; align-items: center; }
.v-cart-header h2 { font-family: var(--v-font-titre); font-size: 1.5rem; font-weight: 400; }
.v-cart-close { font-size: 1.25rem; padding: 8px; margin-right: -8px; }
.v-cart-items { flex-grow: 1; overflow-y: auto; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.v-cart-empty { text-align: center; color: var(--v-texte-doux); margin-top: 40px; }
.v-cart-item { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--v-bordure); }
.v-item-info { display: flex; flex-direction: column; gap: 4px; }
.v-item-name { font-weight: 700; font-size: 0.9375rem; }
.v-item-price { color: var(--v-texte-doux); font-size: 0.875rem; }
.v-item-remove { font-size: 0.75rem; text-transform: uppercase; color: #EF4444; border-bottom: 1px solid currentColor; margin-top: 8px; width: fit-content; }
.v-cart-footer { padding: 32px; border-top: 1px solid var(--v-bordure); background: var(--v-fond-secondaire); }
.v-cart-total { display: flex; justify-content: space-between; font-size: 1.25rem; font-family: var(--v-font-titre); font-weight: 600; margin-bottom: 24px; }
.v-footer { text-align: center; padding: 40px 0; font-size: 0.875rem; color: var(--v-texte-doux); border-top: 1px solid var(--v-bordure); }

/* Scroll reveal classes */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 900px) {
  .v-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .v-tab-grid { grid-template-columns: 1fr; }
  .v-links { display: none; }
  .v-container { padding: 0 24px; }
  .v-nav-inner { padding: 0 24px; }
}
@media (max-width: 500px) {
  .v-grid { grid-template-columns: 1fr; }
}
