/* =========================================================
   Ichigô Ichiê · 11ª Edição
   Paleta tradicional: washi (papel), sumi (tinta), shu (vermelhão),
   kin (ouro), ai (índigo), sakura (rosa)
   ========================================================= */
:root {
  --washi: #f6efe2;
  --washi-2: #efe5d2;
  --sumi: #221c19;
  --sumi-soft: #4a403a;
  --shu: #c8102e;
  --shu-dark: #9b0c23;
  --kin: #b8893b;
  --kin-light: #e2c07a;
  --ai: #1f2f4d;
  --ai-2: #2b4068;
  --sakura: #f4c7cc;
  --mizu: #bfe3e6;

  --font-title: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --font-body: "Zen Kaku Gothic New", system-ui, sans-serif;
  --font-brush: "Yuji Syuku", "Shippori Mincho B1", serif;

  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(34, 28, 25, .35);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--sumi);
  background: var(--washi);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* textura de papel washi */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, section, footer, header { position: relative; }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--red { background: var(--shu); color: #fff; box-shadow: 0 8px 20px -8px rgba(200, 16, 46, .7); }
.btn--red:hover { background: var(--shu-dark); }
.btn--ghost { border-color: var(--sumi); color: var(--sumi); background: rgba(255,255,255,.4); }
.btn--ghost:hover { background: var(--sumi); color: var(--washi); }
.btn--light { border-color: var(--washi); color: var(--washi); background: transparent; }
.btn--light:hover { background: var(--washi); color: var(--sumi); }
.btn--line { border: 1.5px dashed var(--sumi-soft); color: var(--sumi); background: transparent; padding: .6em 1.2em; font-size: .92rem; }
.btn--line:hover { border-style: solid; background: #fff; }

/* ===== Navegação ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(16px, env(safe-area-inset-left));
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled { background: rgba(246, 239, 226, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(34,28,25,.08); }
.nav__brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--font-title); font-weight: 800; font-size: 1.15rem; }
.kamon { display: block; }
.kamon--sm { width: 34px; height: 34px; }
.kamon--md { width: 72px; height: 72px; }
.nav__menu { display: flex; align-items: center; gap: 1.6rem; }
.nav__menu a { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.nav__menu a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--shu); transform: scaleX(0); transition: transform .3s; transform-origin: left;
}
.nav__menu a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta { background: var(--shu); color: #fff; padding: .45em 1.1em; border-radius: 999px; font-weight: 700 !important; }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; flex-direction: column; justify-content: space-between; }
.nav__toggle span { display: block; height: 2px; background: var(--sumi); border-radius: 2px; transition: transform .3s, opacity .3s; }

@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--washi);
    box-shadow: var(--shadow);
    padding: .5rem 16px 1.25rem;
    transform: translateY(-120%);
    transition: transform .4s cubic-bezier(.2,.8,.2,1);
    z-index: -1;
  }
  .nav__menu a { width: 100%; padding: .9rem 0; border-bottom: 1px solid rgba(34,28,25,.08); font-size: 1.05rem; }
  .nav__menu a::after { display: none; }
  .nav__cta { margin-top: .8rem; text-align: center; border-bottom: 0 !important; }
  .nav.is-open .nav__menu { transform: translateY(0); }
  .nav.is-open { background: var(--washi); }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
}

/* ===== Hero ===== */
.hero {
  min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--nav-h) + 24px) 16px 150px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.7), transparent 60%),
    var(--washi);
}
.hero__sun {
  position: absolute;
  width: min(78vw, 640px); aspect-ratio: 1;
  border-radius: 50%;
  top: 50%; left: 50%;
  translate: -50% -58%;
  background: radial-gradient(circle, rgba(200,16,46,.13) 0%, rgba(200,16,46,.07) 55%, transparent 70%);
  animation: sunPulse 8s ease-in-out infinite;
}
@keyframes sunPulse { 50% { scale: 1.06; } }

.hero__vertical {
  position: absolute; top: calc(var(--nav-h) + 24px); right: clamp(12px, 5vw, 80px);
  writing-mode: vertical-rl;
  font-family: var(--font-brush);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  color: var(--sumi);
  opacity: .14;
  letter-spacing: .15em;
  margin: 0;
}
.hero__content { position: relative; z-index: 3; max-width: 760px; }
.hero__logo { position: relative; width: clamp(130px, 30vw, 200px); margin: 0 auto 1.2rem; animation: logoIn 1.2s cubic-bezier(.2,.8,.2,1) both; }
.hero__logo .kamon { width: 100%; height: auto; filter: drop-shadow(0 14px 24px rgba(155,12,35,.35)); animation: spinSlow 60s linear infinite; }
@keyframes spinSlow { to { rotate: 360deg; } }
@keyframes logoIn { from { opacity: 0; scale: .6; rotate: -40deg; } }
.hero__edition {
  position: absolute; bottom: -6px; right: -18px;
  background: var(--sumi); color: var(--washi);
  font-family: var(--font-title); font-weight: 800;
  padding: .3em .8em; border-radius: 6px;
  font-size: clamp(.8rem, 2.4vw, 1rem);
  rotate: -6deg;
  box-shadow: var(--shadow);
}
.hero__title {
  font-size: clamp(2.8rem, 11vw, 6rem);
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--shu);
  animation: fadeUp 1s .3s both;
}
.hero__title-jp {
  display: block;
  font-family: var(--font-brush);
  font-weight: 400;
  font-size: .32em;
  letter-spacing: .6em;
  margin-right: -.6em;
  color: var(--sumi);
  margin-bottom: .2em;
}
.hero__tagline {
  font-family: var(--font-title);
  font-size: clamp(1.05rem, 3.6vw, 1.45rem);
  color: var(--sumi-soft);
  margin: .4rem 0 1.6rem;
  animation: fadeUp 1s .5s both;
}
.hero__tagline::before, .hero__tagline::after { content: "—"; color: var(--kin); margin: 0 .6em; }
.hero__meta {
  display: flex; justify-content: center; align-items: center; gap: clamp(.8rem, 3vw, 2rem);
  flex-wrap: wrap;
  animation: fadeUp 1s .7s both;
}
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta strong { font-family: var(--font-title); font-size: clamp(1.05rem, 3.4vw, 1.3rem); }
.hero__meta span { color: var(--sumi-soft); font-size: .95rem; }
.hero__dot { color: var(--shu); font-size: .8rem; }

.countdown { display: flex; justify-content: center; gap: clamp(.4rem, 2vw, .9rem); margin: 1.8rem 0 1.6rem; animation: fadeUp 1s .9s both; }
.countdown__item {
  width: clamp(64px, 18vw, 86px);
  padding: .6rem 0 .45rem;
  background: #fff;
  border: 1.5px solid rgba(34,28,25,.12);
  border-top: 4px solid var(--shu);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.countdown__item span { display: block; font-family: var(--font-title); font-weight: 800; font-size: clamp(1.5rem, 6vw, 2.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__item small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sumi-soft); }
.countdown__msg { font-family: var(--font-title); font-size: 1.3rem; color: var(--shu); font-weight: 800; margin: 1.6rem 0; }

.hero__actions { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; animation: fadeUp 1s 1.1s both; }
.hero__free { margin-top: 1.4rem; font-weight: 700; letter-spacing: .05em; animation: fadeUp 1s 1.3s both; }
.hero__free span {
  display: inline-block;
  font-family: var(--font-brush);
  color: #fff; background: var(--shu);
  padding: .15em .5em; border-radius: 4px;
  margin-right: .5em;
  rotate: -3deg;
}
.hero__mountains { position: absolute; left: 0; bottom: 30px; width: 100%; height: clamp(120px, 22vw, 260px); z-index: 1; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }

/* bordas de onda (seigaiha) entre seções */
/* --edge-fill = cor da seção vizinha, que avança em ondas sobre esta */
.wave-edge {
  --edge-fill: var(--washi-2);
  position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 20px 40px, var(--edge-fill) 19px, var(--kin) 19px 21px, var(--edge-fill) 21px 26px, var(--kin) 26px 28px, transparent 28px) 0 0 / 40px 40px repeat-x;
}
/* invertida: fica no topo da seção e as ondas "pendem" da seção de cima (fundo papel) */
.wave-edge--down { top: -1px; bottom: auto; transform: scaleY(-1); }

/* ===== Céu com tsurus ===== */
.sky { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.flyer {
  position: absolute; left: 0;
  width: var(--size, 70px);
  animation: fly var(--dur, 22s) linear var(--delay, 0s) infinite;
  opacity: var(--op, 1);
  will-change: transform;
}
.flyer__bob { animation: bob calc(var(--dur, 22s) / 6) ease-in-out infinite alternate; }
@keyframes fly {
  from { transform: translateX(110vw); }
  to   { transform: translateX(-30vw); }
}
@keyframes bob {
  from { transform: translateY(-18px) rotate(-3deg); }
  to   { transform: translateY(18px) rotate(4deg); }
}

/* Tsuru de origami (SVG gerado via JS) */
.crane { display: block; width: 100%; height: auto; overflow: visible; }
.crane .wing { transform-box: fill-box; transform-origin: 50% 100%; animation: flap var(--flap, 1.1s) ease-in-out infinite alternate; }
.crane .wing--far { animation-delay: -.08s; }
@keyframes flap {
  from { transform: scaleY(1); }
  to   { transform: scaleY(-.35); }
}
.crane--still .wing { animation: none; }

/* ===== Seções ===== */
.section { padding: clamp(72px, 12vw, 130px) 0; z-index: 1; overflow-x: clip; }
.section--paper { background: var(--washi-2); }
.section--seigaiha {
  --s-bg: var(--washi);
  --s-ln: rgba(184, 137, 59, .16);
  background-color: var(--s-bg);
  background-image:
    radial-gradient(circle at 100% 150%, var(--s-bg) 24%, var(--s-ln) 24% 28%, var(--s-bg) 28% 36%, var(--s-ln) 36% 40%, transparent 40%),
    radial-gradient(circle at 0 150%, var(--s-bg) 24%, var(--s-ln) 24% 28%, var(--s-bg) 28% 36%, var(--s-ln) 36% 40%, transparent 40%),
    radial-gradient(circle at 50% 100%, var(--s-ln) 10%, var(--s-bg) 10% 23%, var(--s-ln) 23% 30%, var(--s-bg) 30% 43%, var(--s-ln) 43% 50%, var(--s-bg) 50% 63%, var(--s-ln) 63% 71%, transparent 71%),
    radial-gradient(circle at 100% 50%, var(--s-ln) 5%, var(--s-bg) 5% 15%, var(--s-ln) 15% 20%, var(--s-bg) 20% 29%, var(--s-ln) 29% 34%, var(--s-bg) 34% 44%, var(--s-ln) 44% 49%, transparent 49%),
    radial-gradient(circle at 0 50%, var(--s-ln) 5%, var(--s-bg) 5% 15%, var(--s-ln) 15% 20%, var(--s-bg) 20% 29%, var(--s-ln) 29% 34%, var(--s-bg) 34% 44%, var(--s-ln) 44% 49%, transparent 49%);
  background-size: 90px 45px;
}
.section--indigo { background: var(--ai); color: var(--washi); }
.section--red { background: var(--shu); color: #fff; overflow: hidden; }

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase;
  color: var(--shu); margin-bottom: .6rem;
  display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.title { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; margin-bottom: 1rem; }
.lead { font-size: clamp(1.08rem, 2.6vw, 1.25rem); }

.section__head { text-align: center; margin-bottom: clamp(2rem, 5vw, 3.4rem); position: relative; }
.section__head .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; }
.section__kanji {
  display: block;
  font-family: var(--font-brush);
  font-size: clamp(3.4rem, 12vw, 6rem);
  line-height: 1;
  color: var(--shu);
  opacity: .14;
  margin-bottom: -.55em;
  letter-spacing: .1em;
  user-select: none;
}
.section__kanji--left { text-align: left; }
.section__sub { color: var(--sumi-soft); max-width: 560px; margin-inline: auto; }
.section__sub a { color: var(--shu); font-weight: 700; text-decoration: none; }
.section__head--light .eyebrow, .section__head--light .section__kanji { color: var(--kin-light); }

/* ===== Sobre ===== */
.about { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__kanji {
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--font-brush);
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 1.05;
  padding: 1.2rem 1rem;
  border: 2px solid var(--sumi);
  border-radius: 6px;
  background: #fffaf0;
  box-shadow: 10px 10px 0 var(--shu);
  position: relative;
}
.about__kanji::after {
  /* carimbo hanko */
  content: "壱拾壱";
  position: absolute; bottom: -18px; right: -24px;
  writing-mode: vertical-rl;
  font-family: var(--font-title); font-weight: 800; font-size: .9rem;
  color: #fff; background: var(--shu);
  padding: .4em .25em; border-radius: 4px;
  rotate: 8deg;
}
.facts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .9rem; }
.facts li { display: flex; gap: 1rem; align-items: center; background: rgba(255,255,255,.6); padding: .8rem 1rem; border-radius: 10px; border-left: 4px solid var(--shu); }
.facts strong { display: block; font-family: var(--font-title); }
.facts__k {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  font-family: var(--font-brush); font-size: 1.4rem;
  color: #fff; background: var(--sumi); border-radius: 50%;
}
@media (max-width: 720px) {
  .about { grid-template-columns: 1fr; }
  .about__kanji { flex-direction: row; justify-self: center; gap: .1em; padding: .6rem 1.2rem; }
}

/* ===== Filtros + cards de oficinas ===== */
.filters { display: flex; justify-content: center; gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.filter {
  border: 1.5px solid var(--sumi); background: transparent; color: var(--sumi);
  padding: .5em 1.3em; border-radius: 999px; font-weight: 700; font-size: .92rem;
  transition: background .25s, color .25s;
}
.filter.is-active, .filter:hover { background: var(--sumi); color: var(--washi); }

/* flex em vez de grid para que a última linha incompleta fique centralizada */
.cards { --cols: 4; --gap: 1.2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.cards > .card { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
@media (max-width: 1100px) { .cards { --cols: 3; } }
@media (max-width: 780px) { .cards { --cols: 2; } }
@media (max-width: 540px) { .cards { --cols: 1; } }
.card {
  position: relative;
  background: #fffaf2;
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.2rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
  border: 1px solid rgba(34,28,25,.06);
}
.card::before {
  /* dobra de origami no canto */
  content: ""; position: absolute; top: 0; right: 0;
  width: 46px; height: 46px;
  background: linear-gradient(225deg, var(--washi-2) 50%, rgba(34,28,25,.12) 50%);
  transition: width .35s, height .35s;
}
.card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 22px 40px -18px rgba(34,28,25,.45); }
.card:hover::before { width: 64px; height: 64px; }
.card.is-hidden { display: none; }
.card__stamp {
  width: 56px; height: 56px; display: grid; place-items: center;
  font-family: var(--font-brush); font-size: 1.9rem;
  color: #fff; background: var(--shu);
  border-radius: 8px;
  box-shadow: inset 0 0 0 3px var(--shu), inset 0 0 0 5px rgba(255,255,255,.55);
  margin-bottom: 1rem;
  rotate: -4deg;
}
.card h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.card__who { color: var(--sumi-soft); font-size: .93rem; margin-bottom: .9rem; }
.card__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; }
.tag { font-size: .78rem; font-weight: 700; padding: .25em .7em; border-radius: 999px; background: var(--washi-2); }
.tag--free { background: #e3f1e6; color: #24613a; }
.tag--price { background: #fbe3e6; color: var(--shu-dark); }
.card__thumb { margin: -1.4rem -1.3rem 1rem; aspect-ratio: 16 / 10; overflow: hidden; }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__thumb img { transform: scale(1.06); }
.card__thumb + .card__stamp { margin-top: -2.6rem; position: relative; }
.card__actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.card__more {
  padding: .65em 1em; border-radius: 10px;
  border: 1.5px solid var(--sumi); background: transparent; color: var(--sumi);
  font-weight: 700; font-size: .92rem;
  transition: background .25s, color .25s;
}
.card__more:hover { background: var(--washi-2); }
.card__btn {
  display: inline-flex; justify-content: center; align-items: center; gap: .5em;
  padding: .65em 1em; border-radius: 10px;
  background: var(--sumi); color: var(--washi);
  text-decoration: none; font-weight: 700; font-size: .92rem;
  transition: background .25s;
}
.card__btn:hover { background: var(--shu); }
.card__btn svg { width: 18px; height: 18px; }

/* ===== Atrações ===== */
.feature {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 4vw, 2.4rem); align-items: center;
  background: linear-gradient(120deg, var(--shu) 0%, var(--shu-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  margin-bottom: 1.6rem;
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.6);
  overflow: hidden; position: relative;
}
.feature::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  border: 30px solid rgba(255,255,255,.07);
}
.feature .eyebrow { color: var(--kin-light); }
.feature h3 { font-size: clamp(1.5rem, 4.4vw, 2.2rem); margin-bottom: .5rem; }
.feature p:last-child { margin: 0; }
.feature__mark {
  font-family: var(--font-brush); font-size: clamp(4rem, 14vw, 7rem); line-height: 1;
  color: var(--washi);
  text-shadow: 4px 4px 0 rgba(0,0,0,.2);
}

.attractions { --cols: 4; --gap: 1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.attractions > .attr { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
@media (max-width: 1100px) { .attractions { --cols: 3; } }
@media (max-width: 780px) { .attractions { --cols: 2; } }
@media (max-width: 540px) { .attractions { --cols: 1; } }
.attr {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.1rem 1.1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(226,192,122,.25);
  border-radius: 12px;
  transition: background .3s, transform .3s;
}
.attr:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.attr__k {
  flex: none; width: 48px; height: 48px; display: grid; place-items: center;
  font-family: var(--font-brush); font-size: 1.6rem;
  color: var(--ai); background: var(--kin-light);
  border-radius: 50%;
}
.attr h3 { font-size: 1.08rem; margin-bottom: .2rem; color: #fff; }
.attr p { font-size: .9rem; margin: 0; color: rgba(246,239,226,.75); }

/* ===== Tsuru ===== */
.tsuru { overflow: hidden; }
.tsuru__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.tsuru__stage { position: relative; aspect-ratio: 1; max-width: 420px; justify-self: center; width: 100%; }
.tsuru__stage::before {
  content: ""; position: absolute; inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,16,46,.9) 0 58%, transparent 59%);
  box-shadow: 0 0 0 14px rgba(200,16,46,.1), 0 0 0 30px rgba(200,16,46,.05);
}
.tsuru__big { position: absolute; inset: 0; display: grid; place-items: center; animation: hover 4s ease-in-out infinite alternate; }
/* sobe um pouco: o corpo do tsuru fica na parte de baixo do desenho, abaixo das asas */
.tsuru__big .crane { width: 74%; translate: 0 -10%; }
@keyframes hover { from { transform: translateY(-10px) rotate(-2deg); } to { transform: translateY(10px) rotate(2deg); } }
.wish { display: flex; gap: .6rem; margin-top: 1.4rem; flex-wrap: wrap; }
.wish input {
  flex: 1 1 220px; min-width: 0;
  padding: .85em 1.1em;
  border-radius: 999px;
  border: 1.5px solid rgba(34,28,25,.25);
  background: #fff;
  font: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.wish input:focus { border-color: var(--shu); box-shadow: 0 0 0 4px rgba(200,16,46,.12); }
.wish__count { font-size: .88rem; color: var(--sumi-soft); margin-top: .9rem; }
.wish__count span { font-weight: 700; color: var(--shu); }

.released {
  position: absolute; z-index: 61; width: 90px; pointer-events: none;
  animation: release 3.4s cubic-bezier(.45,.05,.55,.95) forwards;
}
.released__note {
  position: absolute; top: 100%; left: 50%; translate: -50% 4px;
  background: #fffaf0; border: 1px solid rgba(34,28,25,.15);
  font-size: .72rem; padding: .2em .6em; border-radius: 4px; white-space: nowrap;
  max-width: 180px; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 4px 10px -4px rgba(0,0,0,.3);
}
@keyframes release {
  0%   { transform: translate(0, 0) scale(.6); opacity: 0; }
  10%  { opacity: 1; transform: translate(0, -20px) scale(1); }
  100% { transform: translate(var(--tx, -40vw), var(--ty, -90vh)) scale(.5); opacity: 0; }
}
@media (max-width: 820px) {
  .tsuru__grid { grid-template-columns: 1fr; }
  .tsuru__stage { order: -1; max-width: 300px; }
}

/* ===== Gastronomia ===== */
.food { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; position: relative; }
.food__photo {
  position: relative; margin: 0;
  background: #fff; padding: 12px 12px 48px;
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.55);
  rotate: -3deg;
  max-width: 460px; width: 100%; justify-self: center;
}
.food__photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.food__photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 12px; text-align: center;
  font-family: var(--font-title); font-weight: 700; color: var(--sumi);
}
.food__mark {
  position: absolute; top: -34px; right: -26px;
  width: clamp(76px, 18vw, 110px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-brush); font-size: clamp(2.6rem, 8vw, 3.8rem); line-height: 1;
  color: #fff; background: var(--sumi);
  box-shadow: 0 0 0 5px var(--washi), 0 14px 30px -10px rgba(0,0,0,.5);
  rotate: 8deg;
}
.food .eyebrow { color: var(--kin-light); }
.food__badge {
  display: inline-flex; align-items: center; gap: 1rem;
  background: var(--washi); color: var(--sumi);
  padding: .8rem 1.4rem .8rem .8rem; border-radius: 999px;
  margin-top: .6rem;
  box-shadow: 0 14px 30px -14px rgba(0,0,0,.5);
}
.food__badge span {
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: var(--sumi); color: var(--washi);
  font-family: var(--font-brush); font-size: 1.15rem;
}
.food__badge strong { display: block; font-family: var(--font-title); color: var(--shu); }
.section--red::before {
  content: ""; position: absolute; inset: 0; opacity: .08;
  background:
    radial-gradient(circle at 100% 150%, transparent 24%, #fff 24% 28%, transparent 28% 36%, #fff 36% 40%, transparent 40%) 0 0 / 90px 45px;
}
@media (max-width: 720px) {
  .food { grid-template-columns: 1fr; text-align: center; }
  .food__photo { max-width: 340px; }
  .food__mark { right: -8px; }
  .food .eyebrow { justify-content: center; }
}

/* ===== Galeria ===== */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2rem); max-width: 860px; margin-inline: auto; }
.gallery__item {
  border: 0; padding: 10px 10px 44px; background: #fff;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .4s;
}
.gallery__item:nth-child(1) { rotate: -2deg; }
.gallery__item:nth-child(2) { rotate: 2deg; }
.gallery__item:hover { transform: scale(1.03); rotate: 0deg; z-index: 2; }
.gallery__item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.gallery__item span { position: absolute; bottom: 10px; left: 0; right: 0; font-family: var(--font-title); font-weight: 700; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(20, 15, 12, .88); }
.lightbox img { max-width: 96vw; max-height: 90vh; object-fit: contain; }
.lightbox__close {
  position: fixed; top: 12px; right: 12px; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: var(--washi); color: var(--sumi);
  font-size: 1.8rem; line-height: 1;
}

/* ===== Local ===== */
.local { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.local__buttons { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.local__map {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 6px solid #fff; aspect-ratio: 4 / 3; background: var(--washi-2);
}
.local__map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 820px) { .local { grid-template-columns: 1fr; } }

/* ===== Rodapé ===== */
.footer { background: var(--sumi); color: rgba(246,239,226,.82); padding: 64px 0 120px; text-align: center; z-index: 1; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.footer__inner .kamon { margin-bottom: 1rem; }
.footer__title { font-family: var(--font-title); font-size: 1.5rem; font-weight: 800; color: var(--washi); }
.footer a { color: var(--kin-light); }
.footer__support { margin-top: .6rem; }
.footer .btn { margin: 1rem 0 1.6rem; }
.footer__jp { font-family: var(--font-brush); color: var(--kin-light); opacity: .7; font-size: 1.1rem; }
@media (min-width: 821px) { .footer { padding-bottom: 64px; } }

/* ===== Barra fixa mobile ===== */
.mobilebar { display: none; }
@media (max-width: 820px) {
  .mobilebar {
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(246,239,226,.94); backdrop-filter: blur(10px);
    box-shadow: 0 -6px 20px -10px rgba(0,0,0,.3);
    transform: translateY(110%); transition: transform .4s;
  }
  .mobilebar.is-visible { transform: translateY(0); }
  .mobilebar__btn {
    text-align: center; text-decoration: none; font-weight: 700;
    padding: .8em .5em; border-radius: 12px;
    border: 1.5px solid var(--sumi);
  }
  .mobilebar__btn--red { background: var(--shu); border-color: var(--shu); color: #fff; }
}

/* ===== Pétalas de sakura ===== */
.fx { position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden; }
.petal {
  position: absolute; top: -30px; z-index: 30; pointer-events: none;
  width: var(--w, 12px); height: calc(var(--w, 12px) * .8);
  background: linear-gradient(135deg, #ffe4e8, var(--sakura) 60%, #e9a3ad);
  border-radius: 100% 0 100% 0;
  opacity: .85;
  animation: fall var(--fd, 12s) linear var(--fdelay, 0s) forwards;
}
@keyframes fall {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(var(--sx, 40px), 25vh) rotate(120deg); }
  50%  { transform: translate(calc(var(--sx, 40px) * -0.5), 50vh) rotate(220deg); }
  75%  { transform: translate(var(--sx, 40px), 75vh) rotate(320deg); }
  100% { transform: translate(0, 108vh) rotate(420deg); }
}

/* ===== Revelação ao rolar ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.card.reveal { transition-delay: calc(var(--i, 0) * 60ms); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .flyer, .petal { display: none; }
}

/* ===== GSAP ativo: as animações passam a ser controladas pelo JS ===== */
.has-gsap .reveal { opacity: 1; transform: none; transition: none; }
.has-gsap .card { transition: box-shadow .35s; }
.hero__title .char { display: inline-block; will-change: transform; }

/* Tsuru guia (progresso da rolagem) */
.guide { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 55; pointer-events: none; overflow-x: clip; overflow-y: visible; }
.guide__line {
  height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--kin), var(--shu));
  transform: scaleX(0); transform-origin: left;
}
.guide__crane { position: absolute; top: -2px; left: 0; width: 34px; translate: -50% 0; }
.guide__crane .crane { transform: scaleX(-1); }

/* ===== "Ver mais" das oficinas ===== */
.ofmodal {
  border: 0; padding: 0; border-radius: 18px;
  width: min(700px, 100% - 24px); max-height: min(90vh, 960px);
  background: #fffaf2; color: var(--sumi);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  overflow: hidden;
}
.ofmodal[open] { display: flex; animation: modalIn .55s cubic-bezier(.2,.9,.3,1.25) both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(60px) scale(.94); } }
.ofmodal::backdrop { background: rgba(20, 15, 12, .78); backdrop-filter: blur(4px); }
.ofmodal__scroll { overflow-y: auto; overscroll-behavior: contain; width: 100%; }
.ofmodal__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; max-height: 46vh; width: 100%; background: var(--washi-2); }
/* foto inteira (contain) sobre um fundo desfocado dela mesma: qualquer proporção fica bonita */
.ofmodal__photo { position: absolute; inset: 0; border: 0; padding: 0; background: none; cursor: zoom-in; display: block; width: 100%; }
.ofmodal__photo::before {
  content: ""; position: absolute; inset: -30px;
  background: var(--bg) center / cover;
  filter: blur(22px) saturate(1.2) brightness(.85);
}
.ofmodal__photo img {
  position: relative; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.35));
}
.ofmodal__zoom {
  position: absolute; right: 12px; bottom: 12px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  color: #fff; background: rgba(34,28,25,.55); backdrop-filter: blur(6px);
  padding: .35em .8em; border-radius: 999px;
  opacity: .85; transition: opacity .25s;
}
.ofmodal__photo:hover .ofmodal__zoom { opacity: 1; }
.ofmodal__body { position: relative; }
.ofmodal__body > .card__stamp { margin-top: calc(-28px - clamp(1.4rem, 4vw, 2.2rem)); position: relative; z-index: 1; box-shadow: inset 0 0 0 3px var(--shu), inset 0 0 0 5px rgba(255,255,255,.55), 0 8px 18px -6px rgba(0,0,0,.4); }
.ofmodal__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: var(--washi-2);
}
.ofmodal__placeholder span {
  height: min(62%, 220px); max-width: 70%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(200,16,46,.9);
  font-family: var(--font-brush); font-size: clamp(3.2rem, 10vw, 6rem); color: #fff; line-height: 1;
}
.ofmodal__placeholder small { position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; letter-spacing: .2em; text-transform: uppercase; font-size: .72rem; color: var(--sumi-soft); }
.ofmodal__body { padding: clamp(1.4rem, 4vw, 2.2rem); }
.ofmodal__title { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: .2rem; }
.ofmodal__text { margin: .4rem 0 1rem; }
.ofmodal__text p { margin-bottom: .8em; }
.ofmodal__soon { color: var(--sumi-soft); font-style: italic; }
.ofmodal__info { margin: 0 0 1.4rem; display: grid; gap: .5rem; }
.ofmodal__info div { display: flex; gap: .8rem; padding: .55rem .8rem; background: var(--washi-2); border-radius: 8px; border-left: 3px solid var(--shu); }
.ofmodal__info dt { font-weight: 700; min-width: 90px; }
.ofmodal__info dd { margin: 0; }
.ofmodal__cta { width: 100%; white-space: normal; text-align: center; }
.ofmodal__close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(255,250,242,.92); color: var(--sumi); font-size: 1.6rem; line-height: 1;
  box-shadow: 0 4px 14px -4px rgba(0,0,0,.35);
}
.ofmodal__close:focus-visible { outline: 2px solid var(--shu); outline-offset: 2px; }
@media (max-width: 720px) {
  .ofmodal { max-height: 92vh; }
}

/* ===== Contador de tsurus ===== */
.wish__stats { margin-top: 1rem; }
.wish__bar { height: 8px; border-radius: 999px; background: rgba(34,28,25,.1); overflow: hidden; }
.wish__bar span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--kin), var(--shu));
  border-radius: inherit;
  transition: width 1s cubic-bezier(.2,.8,.2,1);
}
.wish__count { margin-top: .6rem; }
.wish__count span#wishCount { display: inline-block; }
.wish__mine { font-size: .85rem; color: var(--sumi-soft); margin: .2rem 0 0; }
.wish__mine span { font-weight: 700; color: var(--shu); }
.wish__done {
  position: relative; margin-top: 1.4rem;
  background: #fffaf0; border: 2px solid var(--sumi); border-radius: 12px;
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 8px 8px 0 var(--shu);
  animation: fadeUp .8s both;
}
.wish__done-k {
  position: absolute; top: -22px; right: 18px;
  width: 48px; height: 48px; display: grid; place-items: center;
  font-family: var(--font-brush); font-size: 1.6rem;
  color: #fff; background: var(--shu); border-radius: 6px; rotate: 6deg;
}
.wish__done-title { font-family: var(--font-title); font-weight: 800; font-size: 1.4rem; color: var(--shu); margin-bottom: .4rem; }
.wish__done-thanks { color: var(--sumi-soft); font-size: .95rem; }

/* ===== Crédito ===== */
.credit {
  position: absolute; right: 12px; bottom: 10px;
  font-size: .68rem; letter-spacing: .03em;
  color: rgba(246,239,226,.4) !important;
  text-decoration: none;
  transition: color .25s;
}
.credit:hover { color: var(--kin-light) !important; }
@media (max-width: 820px) { .credit { bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* ===== Árvore dos Desejos (destaque na seção azul) ===== */
.wishtree {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  max-width: 980px; margin: 1.8rem auto 0;
  background: var(--washi); color: var(--sumi);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.7);
}
.wishtree__photo { margin: 0; position: relative; overflow: hidden; min-height: 260px; }
.wishtree__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.wishtree:hover .wishtree__photo img { transform: scale(1.06); }
.wishtree__text { position: relative; padding: clamp(1.6rem, 4vw, 2.6rem); }
.wishtree__text h3 { font-size: clamp(1.6rem, 4.4vw, 2.2rem); margin-bottom: .7rem; }
.wishtree__call { font-family: var(--font-title); font-weight: 800; color: var(--shu); font-size: 1.15rem; }
.wishtree__k {
  position: absolute; top: 18px; right: 18px;
  width: 52px; height: 52px; display: grid; place-items: center;
  font-family: var(--font-brush); font-size: 1.7rem;
  color: #fff; background: var(--shu); border-radius: 8px;
  box-shadow: inset 0 0 0 3px var(--shu), inset 0 0 0 5px rgba(255,255,255,.55);
  rotate: 6deg;
  animation: tagSwing 4s ease-in-out infinite alternate;
  transform-origin: 50% -20px;
}
@keyframes tagSwing { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@media (max-width: 720px) {
  .wishtree { grid-template-columns: 1fr; }
  .wishtree__photo { min-height: 0; aspect-ratio: 16 / 9; }
}
