/* ==========================================================================
   Ô les copeaux — feuille de style
   Palette : crème / charbon chaud / bois doré
   ========================================================================== */

:root {
  --bg: #f7f2ea;
  --bg-soft: #efe7d9;
  --ink: #221c14;
  --ink-soft: #4c4335;
  --muted: #857a68;
  --dark: #17120c;
  --dark-2: #241d13;
  --accent: #b07a45;
  --accent-strong: #99622f;
  --line: #e2d7c3;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(34, 28, 20, .10);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }

.kicker {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: .9rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: .95rem 2.1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .2s;
}
.btn:hover { background: var(--accent-strong); border-color: var(--accent-strong); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-2px); }
.btn-small { padding: .55rem 1.4rem; font-size: .87rem; }

.link-arrow { color: var(--accent-strong); font-weight: 500; letter-spacing: .02em; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(247, 242, 234, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: .7rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo { height: 44px; width: auto; }
.brand-name { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 700; letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 1.7rem; font-size: .95rem; font-weight: 400; }
.nav a:not(.btn):hover { color: var(--accent-strong); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.9);
  transform: scale(1.05);
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,11,7,.55) 0%, rgba(15,11,7,.35) 45%, rgba(15,11,7,.78) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 7rem 1.5rem 4rem; max-width: 780px; }
.hero-logo { height: 92px; margin: 0 auto 1.6rem; filter: invert(1); opacity: .95; }
.hero h1 { font-size: clamp(3rem, 8vw, 5.8rem); font-weight: 600; }
.hero h1 em { font-style: italic; color: #e8c9a0; }
.hero p { margin: 1.4rem auto 2.3rem; max-width: 540px; font-size: 1.08rem; color: rgba(255,255,255,.88); }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 1.6rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.7); font-size: 1.4rem;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- sections ---------- */

.section { max-width: 1240px; margin: 0 auto; padding: 6rem 1.4rem 3rem; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.6rem; }
.section-head p { color: var(--muted); margin-top: .8rem; }

/* filtres */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.6rem; }
.filter {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: .5rem 1.25rem;
  font-family: var(--font-sans);
  font-size: .88rem;
  cursor: pointer;
  transition: .22s;
}
.filter:hover { border-color: var(--accent); color: var(--accent-strong); }
.filter.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* grille créations */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 1.6rem;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card.hidden { display: none; }
.card-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 1.15rem 1.25rem 1.3rem; }
.card-body h3 { font-size: 1.35rem; margin: .45rem 0 .3rem; }
.card-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.badge {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: rgba(176, 122, 69, .11);
  border-radius: 999px;
  padding: .22rem .7rem;
  font-weight: 500;
}
.card-price { color: var(--muted); font-size: .92rem; }
.col-card .card-price { font-family: var(--font-serif); font-size: 1.15rem; color: var(--accent-strong); font-weight: 600; margin: .2rem 0 .8rem; }
.col-card h3 a:hover { color: var(--accent-strong); }

/* lien collection dans le menu */
.nav-collection { color: var(--accent-strong); font-weight: 500; }

/* bandeau collection (accueil) */
.collection-banner { max-width: 1240px; margin: 0 auto; padding: 5.5rem 1.4rem 0; }
.collection-banner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--dark);
  color: #f3ece1;
  border-radius: var(--radius);
  overflow: hidden;
  padding: clamp(1.6rem, 4vw, 3rem);
  transition: transform .3s, box-shadow .3s;
}
.collection-banner-inner:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cb-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.cb-imgs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.cb-imgs img:nth-child(2) { transform: translateY(1.1rem); }
.cb-text h2 { color: #fff; margin-bottom: .6rem; }
.cb-text p { color: rgba(243, 236, 225, .8); margin-bottom: 1.4rem; }

/* bande sur-mesure */
.band {
  background: var(--dark);
  color: #f3ece1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  margin-top: 5rem;
}
.band-img img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.band-text { padding: clamp(2.5rem, 6vw, 5.5rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.1rem; }
.band-text h2 { color: #fff; }
.band-text p { color: rgba(243, 236, 225, .8); max-width: 46ch; }

/* teaser à propos */
.about-teaser { text-align: center; }
.about-inner { max-width: 620px; margin: 0 auto; }
.about-inner p { color: var(--ink-soft); margin: .9rem 0 1.4rem; }

/* ---------- pages internes ---------- */

.page-head { max-width: 860px; margin: 0 auto; padding: 9.5rem 1.4rem 1.5rem; text-align: center; }
.page-head p { color: var(--muted); margin-top: .9rem; }

.prose { max-width: 720px; margin: 0 auto; padding: 1.5rem 1.4rem 6rem; }
.prose p { margin-bottom: 1.3rem; font-size: 1.06rem; color: var(--ink-soft); }
.prose-highlight {
  font-family: var(--font-serif);
  font-size: 1.5rem !important;
  color: var(--ink) !important;
  border-left: 3px solid var(--accent);
  padding-left: 1.2rem;
  margin: 2rem 0 !important;
}

/* formulaires */
.form-wrap { max-width: 680px; margin: 0 auto; padding: 1rem 1.4rem 6.5rem; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; gap: 1.2rem; box-shadow: var(--shadow); }
.form label { display: flex; flex-direction: column; gap: .4rem; font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
.form input, .form textarea, .form select {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color .2s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form .btn { align-self: flex-start; }
.form-note { color: #3c7d46; font-weight: 500; }
.form-error { color: #a33c2e; font-weight: 500; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }
.file-label input { padding: .6rem; background: transparent; border-style: dashed; }

/* ---------- page détail ---------- */

.detail { padding-top: 5.4rem; }
.detail-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.5rem 1.4rem 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: start;
}
.detail-hero-img { position: sticky; top: 90px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.detail-hero-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a:hover { color: var(--accent-strong); }
.detail-hero-text h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin: .6rem 0 .4rem; }
.detail-tagline { font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; color: var(--accent-strong); margin-bottom: 1.4rem; }
.detail-desc p { margin-bottom: 1rem; color: var(--ink-soft); }
.detail-buy {
  margin-top: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
}
.price { display: flex; flex-direction: column; }
.price span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.price strong { font-family: var(--font-serif); font-size: 1.5rem; }

.detail-gallery, .detail-videos { max-width: 1240px; margin: 0 auto; padding: 3.5rem 1.4rem 0; }
.detail-gallery h2, .detail-videos h2 { margin-bottom: 1.6rem; }
.gallery { columns: 3 280px; column-gap: 1.1rem; }
.g-item { break-inside: avoid; margin: 0 0 1.1rem; border-radius: 12px; overflow: hidden; cursor: zoom-in; }
.g-item img { width: 100%; transition: transform .4s; }
.g-item:hover img { transform: scale(1.03); }

.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.2rem; }
.videos video { width: 100%; border-radius: var(--radius); background: #000; }

.detail-next { max-width: 1240px; margin: 0 auto; padding: 3rem 1.4rem 5rem; }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 11, 7, .94);
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: none; border: 0; color: #fff;
  font-size: 2.6rem; cursor: pointer; opacity: .75; transition: opacity .2s;
  padding: 1rem;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 1; }
.lb-close { top: .6rem; right: 1.2rem; }
.lb-prev { left: .8rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .8rem; top: 50%; transform: translateY(-50%); }

/* ---------- footer ---------- */

.site-footer { background: var(--dark); color: rgba(243, 236, 225, .78); margin-top: 5rem; }
.footer-inner {
  max-width: 1240px; margin: 0 auto;
  padding: 4rem 1.4rem 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-logo { height: 74px; filter: invert(1); opacity: .92; margin-bottom: 1.1rem; }
.footer-brand p { font-size: .95rem; line-height: 1.7; }
.footer-col { display: flex; flex-direction: column; gap: .55rem; font-size: .95rem; }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; margin-bottom: .5rem; }
.footer-col a:hover { color: #e8c9a0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); text-align: center; padding: 1.3rem; font-size: .82rem; color: rgba(243,236,225,.45); }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .band { grid-template-columns: 1fr; }
  .band-img img { min-height: 300px; }
  .detail-hero { grid-template-columns: 1fr; }
  .detail-hero-img { position: static; }
}

@media (max-width: 720px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    top: 61px; right: 0;
    background: var(--bg);
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.6rem;
    gap: 1.2rem;
    width: min(78vw, 300px);
    height: calc(100svh - 61px);
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .nav.open { transform: none; }
  .form-row { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.2rem; }
  .brand-logo { height: 38px; }
}
