/* ============================================================
   Nath's Cakes — Vue éditoriale catégorie Wedding Cakes (id 3)
   Version 1.0.0 · 2026-09-22
   Chargé uniquement quand $category.id == 3 (via category.tpl).
   Prefixé .wc- pour éviter tout conflit avec le CSS catégorie.
   ============================================================ */

/* Neutralise les résidus éventuels du hero catégorie classique */
.cat-hero { display:none !important; }
.wrap > .breadcrumb { display:none !important; }

/* ─── Hero image bandeau (comme la page À propos) ─── */
.wc-hero {
  position: relative;
  min-height: clamp(420px, 55vh, 560px);
  padding: clamp(8rem, 12vw, 11rem) var(--gutter, 1.5rem) clamp(4rem, 8vw, 6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #2b2522;
  background-image: url('/modules/nathscakeshome/views/img/gateau-hero-02.webp');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  overflow: hidden;
}
/* Overlay assombri pour lisibilité du menu ivoire + du titre */
.wc-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(20,15,12,.55) 0%,
      rgba(20,15,12,.32) 45%,
      rgba(20,15,12,.55) 100%);
  z-index: 1;
}
.wc-hero > * { position: relative; z-index: 2; }

.wc-hero .eyebrow {
  font-family: var(--sans, 'Inter', sans-serif);
  font-weight: 500;
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light, #D9B98A);
  margin: 0 0 1.5rem;
}
.wc-hero h1 {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--ivory, #FBF7F2);
  max-width: 22ch;
  margin: 0 auto;
  text-shadow: 0 2px 24px rgba(0,0,0,.28);
}
.wc-rule {
  width: 64px;
  height: 1px;
  background: var(--gold-light, #D9B98A);
  margin: 2rem auto 0;
  opacity: .85;
}

/* ─── Breadcrumb (custom, remplace celui du thème) ─── */
.wc-breadcrumb {
  padding: 1rem var(--gutter, 1.5rem) 0;
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-muted, #A89E96);
  text-align: center;
}
.wc-breadcrumb a { color: var(--ink-muted, #A89E96); text-decoration: none; }
.wc-breadcrumb a:hover { color: var(--gold-deep, #8E6B3F); }
.wc-breadcrumb span { margin: 0 .6rem; color: var(--gold-light, #D9B98A); }

/* ─── Intro éditoriale ─── */
.wc-intro {
  padding: clamp(1.5rem, 4vw, 3rem) var(--gutter, 1.5rem) clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  background: var(--ivory, #FBF7F2);
}
.wc-intro p {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  line-height: 1.55;
  color: var(--ink, #2B2522);
  max-width: 56ch;
  margin: 0 auto;
}

/* ─── Galerie mosaïque ─── */
.wc-gallery {
  padding: clamp(3rem, 6vw, 5rem) var(--gutter, 1.5rem);
  background: var(--ivory, #FBF7F2);
}
.wc-gallery-grid {
  column-count: 4;
  column-gap: 1.25rem;
  max-width: var(--container, 1280px);
  margin: 0 auto;
}
@media (max-width: 1100px) { .wc-gallery-grid { column-count: 3; } }
@media (max-width: 800px)  { .wc-gallery-grid { column-count: 2; } }
@media (max-width: 520px)  { .wc-gallery-grid { column-count: 1; } }
.wc-tile {
  margin: 0 0 1.25rem;
  break-inside: avoid;
  overflow: hidden;
  background: var(--sand, #E8DDCF);
  box-shadow: 0 8px 40px rgba(43,37,34,.08);
  cursor: zoom-in;
  transition: transform 300ms cubic-bezier(.22,1,.36,1),
              box-shadow 300ms cubic-bezier(.22,1,.36,1);
}
.wc-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 60px rgba(43,37,34,.12);
}
.wc-tile img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 700ms cubic-bezier(.22,1,.36,1);
}
.wc-tile:hover img { transform: scale(1.03); }

/* ─── Processus ─── */
.wc-process {
  background: var(--white, #FFFFFF);
  padding: clamp(3.5rem, 7vw, 6rem) var(--gutter, 1.5rem);
  border-top: 1px solid var(--line, #EDE5DC);
  border-bottom: 1px solid var(--line, #EDE5DC);
}
.wc-process-head {
  text-align: center;
  max-width: var(--container-narrow, 880px);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.wc-process-head .eyebrow {
  font-family: var(--sans, 'Inter', sans-serif);
  font-weight: 500;
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep, #8E6B3F);
  margin: 0 0 1.25rem;
}
.wc-process-head h2 {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  color: var(--ink, #2B2522);
  max-width: 20ch;
  margin: 0 auto;
}
.wc-steps {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 4vw, 3.25rem);
}
.wc-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.wc-step-num {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  line-height: 1;
  color: var(--gold, #B8915A);
  letter-spacing: -.02em;
  min-width: 3ch;
}
.wc-step-body h3 {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--ink, #2B2522);
  margin: 0 0 .75rem;
}
.wc-step-body p {
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft, #6B5F58);
  max-width: 60ch;
  margin: 0;
}

/* ─── Saveurs & prix ─── */
.wc-flavors {
  background: var(--ivory, #FBF7F2);
  padding: clamp(3.5rem, 7vw, 6rem) var(--gutter, 1.5rem);
  border-bottom: 1px solid var(--line, #EDE5DC);
}
.wc-flavors-head {
  text-align: center;
  max-width: var(--container-narrow, 880px);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.wc-flavors-head .eyebrow {
  font-family: var(--sans, 'Inter', sans-serif);
  font-weight: 500;
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep, #8E6B3F);
  margin: 0 0 1.25rem;
}
.wc-flavors-head h2 {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  color: var(--ink, #2B2522);
  max-width: 26ch;
  margin: 0 auto;
}
.wc-flavors-head .wc-rule { margin-top: 1.75rem; }

.wc-flavors-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--gold-light, #D9B98A);
  border-bottom: 1px solid var(--gold-light, #D9B98A);
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: var(--white, #FFFFFF);
}
.wc-flavor-col {
  padding: 0 clamp(1.25rem, 2.5vw, 2.25rem);
  text-align: center;
  border-left: 1px solid rgba(217,185,138,.45);
}
.wc-flavor-col:first-child { border-left: none; }

.wc-flavor-title {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  line-height: 1.15;
  color: var(--ink, #2B2522);
  margin: 0 0 1rem;
}
.wc-flavor-title span {
  display: block;
  font-style: italic;
  font-weight: 300;
  font-size: .68em;
  color: var(--ink-soft, #6B5F58);
  margin-top: .15rem;
}

.wc-allergens {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  gap: .4rem;
  justify-content: center;
  flex-wrap: wrap;
}
.wc-allergens li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--gold-light, #D9B98A);
  color: var(--ink, #2B2522);
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: .72rem;
  font-weight: 600;
}

.wc-flavor-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wc-flavor-list li {
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: .95rem;
  line-height: 1.85;
  color: var(--ink-soft, #6B5F58);
}

.wc-price {
  max-width: 520px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding: clamp(1.75rem, 3vw, 2.25rem) 2rem;
  text-align: center;
  background: var(--white, #FFFFFF);
  border: 1px solid var(--gold-light, #D9B98A);
  position: relative;
}
.wc-price::before,
.wc-price::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 1px;
  background: var(--gold-deep, #8E6B3F);
}
.wc-price::before { top: -1px; }
.wc-price::after  { bottom: -1px; }

.wc-price-eyebrow {
  font-family: var(--sans, 'Inter', sans-serif);
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep, #8E6B3F);
  margin: 0 0 .75rem;
}
.wc-price-main {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  color: var(--ink, #2B2522);
  margin: 0 0 .5rem;
  line-height: 1;
}
.wc-price-main strong {
  font-weight: 500;
  font-style: normal;
  font-size: 1.6em;
  color: var(--gold-deep, #8E6B3F);
  margin: 0 .08em;
  letter-spacing: -.02em;
}
.wc-price-main span {
  font-size: .85em;
  color: var(--ink-soft, #6B5F58);
}
.wc-price-note {
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: .8rem;
  color: var(--ink-muted, #A89E96);
  margin: .5rem 0 0;
  letter-spacing: .02em;
}

.wc-flavors-foot {
  max-width: 60ch;
  margin: clamp(2rem, 3.5vw, 2.75rem) auto 0;
  text-align: center;
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: var(--ink-soft, #6B5F58);
}

@media (max-width: 800px) {
  .wc-flavors-grid {
    grid-template-columns: 1fr;
    padding: 1rem 0;
  }
  .wc-flavor-col {
    border-left: none;
    border-top: 1px solid rgba(217,185,138,.45);
    padding: 2rem 1rem;
  }
  .wc-flavor-col:first-child { border-top: none; }
}

/* ─── CTA ─── */
.wc-cta {
  background: var(--blush-light, #FAEEEA);
  text-align: center;
  padding: clamp(3.5rem, 6vw, 5rem) var(--gutter, 1.5rem);
}
.wc-cta .eyebrow {
  font-family: var(--sans, 'Inter', sans-serif);
  font-weight: 500;
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep, #8E6B3F);
  margin: 0 0 1.25rem;
}
.wc-cta h2 {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.1;
  color: var(--ink, #2B2522);
  max-width: 24ch;
  margin: 0 auto 1.5rem;
}
.wc-cta-lead {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft, #6B5F58);
  max-width: 52ch;
  margin: 0 auto 2.25rem;
}
.wc-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.5rem;
  font-family: var(--sans, 'Inter', sans-serif);
  font-weight: 500;
  font-size: .8125rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--gold-deep, #8E6B3F);
  color: var(--white, #FFFFFF) !important;
  border: 1px solid var(--gold-deep, #8E6B3F);
  border-radius: 0;
  transition: background 300ms cubic-bezier(.22,1,.36,1),
              border-color 300ms cubic-bezier(.22,1,.36,1);
}
.wc-btn-gold:hover {
  background: var(--ink, #2B2522);
  border-color: var(--ink, #2B2522);
  color: var(--white, #FFFFFF) !important;
}

/* ─── Closing ─── */
.wc-closing {
  padding: clamp(3.5rem, 6vw, 5rem) var(--gutter, 1.5rem);
  text-align: center;
  background: var(--ivory, #FBF7F2);
}
.wc-closing blockquote {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.5;
  color: var(--ink, #2B2522);
  max-width: 44ch;
  margin: 0 auto;
}
.wc-signature {
  font-family: var(--script, 'Allura', cursive);
  font-size: 2.25rem;
  color: var(--gold-deep, #8E6B3F);
  line-height: 1;
  display: inline-block;
  margin-top: 1.75rem;
}

/* ─── Lightbox ─── */
.wc-lb {
  position: fixed;
  inset: 0;
  background: rgba(20,15,12,.94);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}
.wc-lb.open { display: flex; }
.wc-lb img {
  max-width: min(1200px, 92vw);
  max-height: 88vh;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.wc-lb-close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  color: var(--ivory, #FBF7F2);
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: transparent;
}
