/* =============================================
   RESET & VARIABLES
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink:        #141414;
  --ink-soft:   #555;
  --rose:       #d4849a;
  --rose-pale:  #fdf0f3;
  --rose-mid:   #f5dde3;
  --cream:      #faf7f4;
  --white:      #ffffff;
  --border:     rgba(20,20,20,0.08);

  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Jost', sans-serif;

  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --t:      0.3s;
  --radius: 18px;
  --shadow: 0 16px 48px rgba(0,0,0,0.08);
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--sans); cursor: none; }

/* =============================================
   CURSEUR PERSONNALISÉ
   ============================================= */
.cursor {
  width: 36px; height: 36px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease), border-color 0.2s, width 0.2s, height 0.2s;
}

.cursor-dot {
  width: 5px; height: 5px;
  background: var(--rose);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s;
}

body:hover .cursor { opacity: 1; }

/* =============================================
   HEADER
   ============================================= */
.header {
  position: sticky; top: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 64px; height: 76px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t) var(--ease);
}

.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }

.logo {
  display: flex; align-items: center; gap: 10px;
}

.logo-mark { color: var(--rose); font-size: 18px; }

.logo-name {
  font-family: var(--serif);
  font-size: 22px; font-weight: 600;
  letter-spacing: 0.3px;
}

.logo-name em { font-style: italic; color: var(--rose); }

.nav { display: flex; align-items: center; gap: 40px; }

.nav-link {
  font-size: 13px; font-weight: 300;
  color: var(--ink-soft); letter-spacing: 0.5px;
  position: relative; transition: color var(--t);
}

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

.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }

.cart-link { position: relative; }

/* CART BADGE FIXÉ */
.cart-badge {
  display: none;
  position: absolute; top: -8px; right: -16px;
  background: var(--rose); color: #fff;
  font-size: 10px; font-weight: 600;
  min-width: 18px; height: 18px;
  border-radius: 9px; padding: 0 4px;
  align-items: center; justify-content: center;
  font-family: var(--sans);
}

/* Badge mobile panier */
.mobile-cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--rose); color: #fff;
  font-size: 10px; font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 9px; padding: 0 4px;
  display: none;
  align-items: center; justify-content: center;
  font-family: var(--sans);
}

.burger-wrap {
  position: relative;
  display: none;
  align-items: center;
}

.burger {
  display: none; background: none; border: none;
  flex-direction: column; gap: 6px;
  padding: 4px; cursor: pointer;
}

.burger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}

/* =============================================
   MENU MOBILE
   ============================================= */
.mobile-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.4); z-index: 800;
  backdrop-filter: blur(4px);
}

.mobile-nav {
  position: fixed; top: 0; right: -300px;
  width: 280px; height: 100vh;
  background: #fff; z-index: 900;
  padding: 80px 40px 40px;
  display: flex; flex-direction: column; gap: 28px;
  transition: right 0.4s var(--ease);
  border-left: 1px solid var(--border);
}

.mobile-nav.open { right: 0; }

.mobile-nav a {
  font-family: var(--serif);
  font-size: 28px; font-weight: 400;
  color: var(--ink-soft);
  transition: color var(--t);
}

.mobile-nav a:hover { color: var(--ink); }

.mobile-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none;
  font-size: 20px; color: var(--ink-soft);
  cursor: pointer;
}

.mobile-overlay.open { display: block; }

/* =============================================
   BOUTONS GLOBAUX
   ============================================= */
.btn-dark {
  display: inline-block;
  background: var(--ink); color: #fff;
  padding: 14px 34px; border-radius: 40px;
  font-size: 13px; font-weight: 400; letter-spacing: 0.8px;
  transition: background var(--t), transform var(--t) var(--ease);
  border: none;
}

.btn-dark:hover { background: #2a2a2a; transform: translateY(-2px); }

.btn-line {
  display: inline-block;
  color: var(--ink);
  padding: 13px 30px; border-radius: 40px;
  font-size: 13px; letter-spacing: 0.5px;
  border: 1px solid rgba(20,20,20,0.2);
  transition: all var(--t) var(--ease);
}

.btn-line:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn-light {
  display: inline-block;
  background: rgba(255,255,255,0.12); color: #fff;
  padding: 14px 34px; border-radius: 40px;
  font-size: 13px; letter-spacing: 0.8px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all var(--t) var(--ease);
}

.btn-light:hover { background: rgba(255,255,255,0.22); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 64px;
  background: var(--cream);
  gap: 60px;
  overflow: hidden;
}

.hero-tag {
  font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose); margin-bottom: 22px;
  font-weight: 300;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(60px, 6.5vw, 110px);
  font-weight: 300; line-height: 1.0;
  margin-bottom: 28px;
  color: var(--ink);
}

.hero-title em {
  font-style: italic;
  color: var(--rose);
  font-weight: 300;
}

.hero-desc {
  font-size: 15px; font-weight: 300;
  color: var(--ink-soft); line-height: 1.8;
  margin-bottom: 44px;
}

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

/* Image hero droite */
.hero-right { position: relative; }

.hero-img-wrap {
  width: 100%; aspect-ratio: 3/4;
  border-radius: 28px;
  overflow: hidden;
  background: var(--rose-pale);
  display: flex; align-items: center; justify-content: center;
}

.hero-img-placeholder {
  text-align: center; color: rgba(212,132,154,0.5);
}

.placeholder-icon { font-size: 40px; display: block; margin-bottom: 12px; }
.hero-img-placeholder p { font-size: 14px; line-height: 1.6; }

.hero-float-tag {
  position: absolute; bottom: 28px; left: -24px;
  background: #fff; border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  display: flex; flex-direction: column; gap: 2px;
  animation: float 3s ease-in-out infinite;
}

.hero-float-tag span {
  font-size: 10px; text-transform: uppercase;
  letter-spacing: 2px; color: var(--rose); font-weight: 400;
}

.hero-float-tag strong { font-size: 14px; font-weight: 500; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Reveal animation */
.reveal {
  opacity: 0; transform: translateY(24px);
  animation: revealUp 0.7s var(--ease) forwards;
}

.reveal:nth-child(1) { animation-delay: 0.1s; }
.reveal:nth-child(2) { animation-delay: 0.2s; }
.reveal:nth-child(3) { animation-delay: 0.35s; }
.reveal:nth-child(4) { animation-delay: 0.5s; }

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

/* =============================================
   TICKER
   ============================================= */
.ticker-wrap {
  overflow: hidden;
  background: var(--ink);
  padding: 14px 0;
  white-space: nowrap;
}

.ticker {
  display: inline-block;
  animation: ticker 22s linear infinite;
}

.ticker span {
  font-size: 12px; font-weight: 300;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin: 0 14px;
}

.tdot { color: var(--rose) !important; font-size: 10px !important; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =============================================
   CATEGORIES
   ============================================= */
.categories {
  padding: 120px 64px;
  background: var(--white);
}

.categories-head {
  margin-bottom: 64px;
}

.eyebrow {
  font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--rose);
  font-weight: 300; margin-bottom: 16px;
}

.categories-head h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 64px);
  font-weight: 300; line-height: 1.15;
}

.categories-head h2 em {
  font-style: italic; color: var(--rose);
}

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

.cat-card {
  display: block;
  border-radius: 22px; overflow: hidden;
  background: var(--cream);
  transition: transform var(--t) var(--ease), box-shadow var(--t);
  position: relative;
}

.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.cat-visual {
  height: 340px; position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.cat-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
  position: absolute; inset: 0;
}

.cat-card:hover .cat-visual img { transform: scale(1.05); }

.cat-ph {
  font-family: var(--serif);
  font-size: 28px; font-style: italic;
  color: rgba(212,132,154,0.4);
  position: relative; z-index: 1;
  user-select: none;
}

.cat-info {
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border);
}

.cat-info h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.cat-info p { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

.arrow {
  font-size: 20px; color: var(--rose);
  transition: transform var(--t);
}

.cat-card:hover .arrow { transform: translateX(5px); }

.is-featured { grid-row: span 1; }

.featured-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--ink); color: #fff;
  font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 400;
  padding: 6px 14px; border-radius: 20px;
}

/* =============================================
   MANIFESTO
   ============================================= */
.manifesto {
  background: var(--ink);
  padding: 140px 64px;
  text-align: center;
  position: relative; overflow: hidden;
}

.manifesto::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(212,132,154,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.manifesto-inner {
  position: relative; z-index: 1;
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; gap: 30px;
}

.m-deco { font-size: 30px; color: var(--rose); }

.manifesto blockquote {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 300; font-style: italic;
  color: #fff; line-height: 1.5;
}

.manifesto blockquote em { color: var(--rose); font-style: normal; }

.manifesto cite {
  font-size: 13px; color: rgba(255,255,255,0.4);
  font-style: normal; letter-spacing: 0.5px;
}

/* =============================================
   POURQUOI NOUS
   ============================================= */
.why {
  padding: 120px 64px;
  background: var(--cream);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.why-card {
  padding: 36px 28px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.why-ico { font-size: 28px; display: block; margin-bottom: 20px; }

.why-card h3 {
  font-family: var(--serif); font-size: 20px;
  font-weight: 600; margin-bottom: 10px;
}

.why-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.7; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 48px 64px 32px;
}

.footer-top {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

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

.footer-nav a {
  font-size: 13px; color: var(--ink-soft);
  transition: color var(--t);
}

.footer-nav a:hover { color: var(--ink); }

.footer-bottom {
  display: flex; justify-content: center;
}

.footer-bottom p { font-size: 12px; color: rgba(20,20,20,0.35); letter-spacing: 0.3px; }

.admin-ghost {
  position: fixed;
  bottom: 10px; right: 12px;
  font-size: 14px;
  opacity: 0.35;
  color: #999;
  text-decoration: none;
  transition: opacity 0.3s;
  z-index: 10;
  user-select: none;
}
.admin-ghost:hover { opacity: 0.8; }

/* =============================================
   TOAST
   ============================================= */
.toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--ink); color: #fff;
  padding: 12px 32px; border-radius: 40px;
  font-size: 13px; letter-spacing: 0.3px;
  opacity: 0; pointer-events: none;
  transition: all 0.3s var(--ease);
  z-index: 9998; white-space: nowrap;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .header { padding: 0 32px; }
  .hero { padding: 60px 32px; gap: 40px; }
  .categories, .manifesto, .why, .footer { padding-left: 32px; padding-right: 32px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header { padding: 0 20px; }
  .nav { display: none; }
  .burger { display: flex; }
  .burger-wrap { display: flex; }
  .mobile-cart-badge { display: inline-flex; }
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 20px 40px;
    min-height: auto;
    text-align: center;
  }
  .hero-cta { justify-content: center; }
  .hero-right { display: none; }
  .categories, .manifesto, .why { padding: 80px 20px; }
  .cat-grid { grid-template-columns: 1fr; }
  .footer { padding: 40px 20px 24px; }
  .footer-top { flex-direction: column; gap: 24px; text-align: center; }
  body { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 52px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .why-grid { grid-template-columns: 1fr; }
  .categories-head h2 { font-size: 36px; }
}

/* =============================================
   PWA BANNIÈRE IPHONE
   ============================================= */
.pwa-banner {
  position: fixed;
  bottom: 20px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  width: calc(100% - 32px);
  max-width: 420px;
  background: var(--ink);
  border-radius: 18px;
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s var(--ease);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.pwa-banner.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.pwa-banner-inner {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
}

.pwa-icon {
  font-size: 22px; color: var(--rose);
  flex-shrink: 0;
}

.pwa-text { flex: 1; }
.pwa-text strong { color: #fff; font-size: 14px; display: block; margin-bottom: 2px; }
.pwa-text p { color: rgba(255,255,255,0.55); font-size: 12px; line-height: 1.5; }
.share-icon { font-size: 14px; }

.pwa-close {
  background: rgba(255,255,255,0.1); border: none;
  color: rgba(255,255,255,0.6); width: 28px; height: 28px;
  border-radius: 50%; font-size: 13px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.2s;
}

.pwa-close:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* =============================================
   MOBILE — SAFE AREA (iPhone notch)
   ============================================= */
.header {
  padding-top: env(safe-area-inset-top);
  padding-left: max(64px, env(safe-area-inset-left));
  padding-right: max(64px, env(safe-area-inset-right));
}

@media (max-width: 768px) {
  .header {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
}

.footer {
  padding-bottom: calc(32px + env(safe-area-inset-bottom));
}