/* ─── TOKENS ──────────────────────────────────────────── */
:root {
  --c-ink:      #3a2c24;
  --c-dark:     #4a3a30;
  --c-brown:    #9a7355;
  --c-sakura:   #d98ba2;
  --c-sakura-d: #c06d86;
  --c-matcha:   #7f9462;
  --c-cream:    #fbf6ef;
  --c-surface:  #f5ece0;
  --c-border:   #ead9c7;
  --c-text:     #4a3a30;
  --c-muted:    #8a7563;
  --ff-display: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', system-ui, sans-serif;
  --ff-sans:    'Inter', system-ui, sans-serif;
  --nav-h:      68px;
  --ribbon-h:   34px;
  --radius:     14px;
  --radius-sm:  9px;
  --shadow:     0 2px 20px rgba(58,44,36,.08);
  --shadow-lg:  0 10px 48px rgba(58,44,36,.14);
  --ease-out:   cubic-bezier(.22,1,.36,1);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--ribbon-h));
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }
input, select, textarea { font: inherit; }
html { font-size: 16px; }
body { font-family: var(--ff-sans); color: var(--c-text); background: var(--c-cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; min-width: 320px; }
h1, h2, h3 { font-family: var(--ff-display); line-height: 1.25; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 500; }
p  { line-height: 1.7; color: var(--c-muted); }
.section-label { font-family: var(--ff-sans); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-sakura-d); margin-bottom: .6rem; }

.demo-ribbon {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2000;
  min-height: var(--ribbon-h); display: grid; place-items: center;
  padding: .35rem 1rem; background: var(--c-ink); color: #fbf6ef;
  font-size: clamp(.72rem, 2.4vw, .82rem); font-weight: 600; text-align: center;
}
.fake-contact-note { margin-top: .9rem; font-size: .78rem; line-height: 1.55; color: var(--c-muted); }

/* buttons */
.btn-primary { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.8rem; background: var(--c-sakura); color: #fff; font-weight: 600; font-size: .95rem; border-radius: 50px; transition: background .2s, transform .15s; }
.btn-primary:hover { background: var(--c-sakura-d); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0) scale(.98); }
.btn-secondary { display: inline-flex; align-items: center; padding: .85rem 1.8rem; border: 1.5px solid rgba(255,255,255,.6); color: #fff; font-weight: 500; font-size: .95rem; border-radius: 50px; transition: background .2s; }
.btn-secondary:hover { background: rgba(255,255,255,.12); }
.btn-secondary:active { transform: scale(.98); }
.btn-outline { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.8rem; border: 1.5px solid var(--c-border); color: var(--c-dark); font-weight: 600; font-size: .95rem; border-radius: 50px; transition: background .2s, border-color .2s, color .2s; }
.btn-outline:hover { background: var(--c-surface); border-color: var(--c-brown); color: var(--c-ink); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }

/* navbar */
#navbar { position: fixed; top: var(--ribbon-h); left: 0; right: 0; z-index: 1000; background: rgba(251,246,239,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
#navbar.scrolled { border-color: var(--c-border); box-shadow: var(--shadow); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; height: var(--nav-h); display: flex; align-items: center; gap: 2rem; }
.logo { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.logo-mark { font-size: 1.4rem; line-height: 1; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 700; color: var(--c-ink); line-height: 1.15; }
.logo-sub  { font-size: .62rem; color: var(--c-muted); letter-spacing: .03em; }
.nav-links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav-links a { font-size: .88rem; font-weight: 500; color: var(--c-dark); transition: color .2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 2px; background: var(--c-sakura); transform: scaleX(0); transition: transform .25s var(--ease-out); transform-origin: left; }
.nav-links a:hover { color: var(--c-sakura-d); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: .75rem; margin-left: 1rem; }
.btn-pill { font-size: .82rem; font-weight: 600; background: var(--c-ink); color: #fff; border-radius: 50px; padding: .5rem 1.1rem; transition: background .2s; white-space: nowrap; }
.btn-pill:hover { background: var(--c-brown); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; touch-action: manipulation; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--c-dark); border-radius: 2px; transition: transform .25s, opacity .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; padding: .5rem 1.5rem 1.2rem; gap: .1rem; border-top: 1px solid var(--c-border); }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1rem; font-weight: 500; color: var(--c-dark); padding: .85rem 0; min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid var(--c-border); transition: color .2s; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--c-sakura-d); }

/* hero */
#hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url('../images/patisserie-overview.jpg'); background-size: cover; background-position: center; transform: scale(1.04); transition: transform 8s ease-out; }
#hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(58,44,36,.5) 0%, rgba(58,44,36,.34) 50%, rgba(58,44,36,.62) 100%); }
.hero-content { position: relative; z-index: 1; text-align: center; color: #fff; padding: calc(var(--nav-h) + var(--ribbon-h) + 2rem) 1.5rem 4rem; max-width: 760px; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.78); margin-bottom: 1rem; }
.hero-content h1 { color: #fff; margin-bottom: 1.1rem; text-shadow: 0 2px 22px rgba(0,0,0,.32); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.85); margin-bottom: 2.2rem; max-width: 460px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 1; display: flex; align-items: center; justify-content: center; width: 30px; height: 50px; border: 2px solid rgba(255,255,255,.4); border-radius: 15px; }
.scroll-dot { width: 5px; height: 5px; background: #fff; border-radius: 50%; animation: scrollDot 1.6s cubic-bezier(.42,0,.58,1) infinite; }
@keyframes scrollDot { 0% { transform: translateY(-6px); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }

/* intro */
#intro { padding: 6rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.intro-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.intro-img-col img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-lg); transition: box-shadow .4s var(--ease-out); }
.intro-img-col img:hover { box-shadow: 0 16px 64px rgba(58,44,36,.22); }
.intro-text-col h2 { margin-bottom: 1.2rem; color: var(--c-ink); }
.intro-body { margin-bottom: 1.8rem; }
.intro-tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.intro-tags span { font-size: .85rem; color: var(--c-dark); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 50px; padding: .4rem .95rem; }

/* produits */
#produits { background: var(--c-surface); padding: 6rem 1.5rem; }
.section-header { text-align: center; max-width: 560px; margin: 0 auto 3rem; }
.section-header h2 { color: var(--c-ink); }
.prod-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.6rem; }
.prod-card { background: var(--c-cream); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prod-card img { aspect-ratio: 16/11; object-fit: cover; transition: transform .5s var(--ease-out); }
.prod-card:hover img { transform: scale(1.04); }
.prod-body { padding: 1.1rem 1.3rem 1.4rem; }
.prod-row { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.prod-row h3 { color: var(--c-ink); flex: 1; min-width: 0; }
.price { font-family: var(--ff-display); font-size: 1.05rem; font-weight: 700; color: var(--c-sakura-d); flex-shrink: 0; }
.prod-jp { display: block; font-size: .8rem; color: var(--c-matcha); font-weight: 500; margin: .15rem 0 .55rem; letter-spacing: .02em; }
.prod-body p { font-size: .86rem; color: var(--c-muted); line-height: 1.55; }
.produits-note { text-align: center; margin-top: 2.5rem; font-size: .85rem; color: var(--c-muted); font-style: italic; }

/* horaires */
#horaires { padding: 6rem 1.5rem; }
.hours-wrap { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.hours-info h2 { color: var(--c-ink); margin-bottom: 1.8rem; }
.hours-list { margin-bottom: 2rem; }
.hours-row { display: flex; justify-content: space-between; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--c-border); font-size: .95rem; }
.hours-row:last-child { border-bottom: none; }
.hours-row span:first-child { color: var(--c-dark); font-weight: 500; }
.hours-row span:last-child { color: var(--c-brown); font-weight: 600; }
.address-block { display: flex; gap: .9rem; align-items: flex-start; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 1.2rem; }
.addr-icon { font-size: 1.4rem; flex-shrink: 0; }
.addr-text { display: flex; flex-direction: column; gap: .25rem; }
.addr-text strong { font-size: .95rem; color: var(--c-dark); }
.addr-text span { font-size: .85rem; color: var(--c-muted); }
.addr-text a { font-size: .88rem; color: var(--c-sakura-d); font-weight: 600; margin-top: .1rem; transition: color .2s; }
.addr-text a:hover { color: var(--c-brown); }
.hours-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.btn-directions { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.4rem; background: var(--c-sakura); color: #fff; font-size: .9rem; font-weight: 600; border-radius: 50px; transition: background .2s, transform .15s; }
.btn-directions:hover { background: var(--c-sakura-d); transform: translateY(-1px); }
.btn-directions:active { transform: translateY(0) scale(.98); }
.btn-social { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.4rem; border: 1.5px solid var(--c-border); color: var(--c-dark); font-size: .9rem; font-weight: 600; border-radius: 50px; transition: background .2s, border-color .2s; }
.btn-social:hover { background: var(--c-surface); border-color: var(--c-brown); }
.hours-map iframe { width: 100%; height: 440px; border: none; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* contact */
#contact { background: var(--c-surface); padding: 6rem 1.5rem; }
.contact-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-inner h2 { color: var(--c-ink); margin-bottom: .9rem; }
.contact-sub { max-width: 480px; margin: 0 auto 2rem; font-size: .95rem; }
.contact-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* tier band */
.tier-band { background: var(--c-ink); color: rgba(255,255,255,.85); padding: 5rem 1.5rem; }
.tier-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.tier-eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-sakura); margin-bottom: 1rem; }
.tier-price { font-family: var(--ff-display); font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 700; color: #fff; margin-bottom: 1rem; }
.tier-text { font-size: .95rem; line-height: 1.7; color: rgba(255,255,255,.72); margin-bottom: 2rem; }
.tier-band .btn-outline { color: #fff; border-color: rgba(255,255,255,.4); }
.tier-band .btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); color: #fff; }
.tier-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* footer */
footer { background: #2e221b; color: rgba(255,255,255,.7); padding: 3rem 1.5rem 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; flex-direction: column; gap: .4rem; }
.footer-logo { font-family: var(--ff-display); font-size: 1.1rem; font-weight: 700; color: #fff; }
.footer-brand p { font-size: .8rem; color: rgba(255,255,255,.5); }
.footer-nav { display: flex; gap: 1.8rem; justify-content: center; }
.footer-nav a { font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-social { display: flex; gap: 1rem; justify-content: flex-end; align-items: center; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; color: rgba(255,255,255,.6); transition: color .2s, border-color .2s, background .2s; }
.footer-social a:hover { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 1.2rem 0; text-align: center; font-size: .78rem; color: rgba(255,255,255,.35); }
.demo-disclaimer { font-size: .68rem; color: rgba(255,255,255,.24); margin-top: .4rem; }
.demo-disclaimer a { color: rgba(217,139,162,.6); }

/* focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--c-sakura); outline-offset: 3px; border-radius: 4px;
}

/* responsive */
@media (max-width: 900px) {
  .intro-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-img-col img { aspect-ratio: 3/2; }
  .hours-wrap { grid-template-columns: 1fr; }
  .hours-map iframe { height: 300px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-nav { flex-wrap: wrap; }
  .footer-social { justify-content: center; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .btn-pill { display: none; }
  .hamburger { display: flex; }
  .prod-grid { grid-template-columns: 1fr; }
  #intro, #horaires, #produits, #contact { padding: 4rem 1.25rem; }
}
@media (max-width: 400px) {
  .hero-btns, .contact-btns, .tier-btns { flex-direction: column; align-items: stretch; gap: .75rem; }
  .btn-primary, .btn-secondary, .btn-outline { width: 100%; justify-content: center; }
  #intro, #horaires, #produits, #contact { padding: 3.5rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-bg { transform: scale(1) !important; transition: none; }
  .prod-card img { transition: none; }
}
