﻿/* Restantes secções (filosofia, especialidades, menu, menu para 2, horário e morada, rodapé).
   O cabeçalho, o hero e o dock vivem em hero.css (versão original recuperada). */

@font-face { font-family: "Shippori Mincho"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/shippori-500.woff2") format("woff2"); }
@font-face { font-family: "Shippori Mincho"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/shippori-600.woff2") format("woff2"); }
@font-face { font-family: "Shippori Mincho"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/shippori-jp.woff2") format("woff2"); unicode-range: U+308C, U+53F8, U+5BFF, U+6D41; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url("fonts/dmsans-latin.woff2") format("woff2"); }

:root {
  --ink: #11100E;
  --cream: #F2E8D8;
  --red: #C83B25;
  --warm: #82796E;
  --warm-d: #A69B8C;
  --muted: #5C544A;
  --serif: "Shippori Mincho", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --m: clamp(20px, 5.5vw, 80px);
  --sp: clamp(72px, 10vw, 150px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --hh: 64px;
  --line: rgba(242, 232, 216, .18);
}
@media (min-width: 900px) { :root { --hh: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: var(--sans); font-weight: 400; font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul, dl, dd, address, figure { margin: 0; padding: 0; }
ul { list-style: none; }
address { font-style: normal; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #EF773D; outline-offset: 3px; }
.light :focus-visible { outline-color: var(--red); }
::selection { background: var(--red); color: var(--cream); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -80px; background: var(--cream); color: var(--ink); padding: 12px 16px; z-index: 50; }
.skip:focus { top: 8px; }

/* ---------- Primitivos ---------- */
.light { background: var(--cream); color: var(--ink); --line: rgba(17, 16, 14, .18); }
.corrente, .spec, .menu, .two, .visit { position: relative; padding: var(--sp) var(--m); }
.spec, .two { background: var(--ink); color: var(--cream); }

.label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--warm-d); margin-bottom: 20px; }
.light .label { color: var(--muted); }
.label [lang="ja"] { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .08em; color: var(--red); margin-right: 6px; text-transform: none; }
h2, h3 { font-family: var(--serif); font-weight: 500; }
h2 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4rem); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }

.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font-family: var(--sans); font-size: .98rem; font-weight: 500; text-decoration: none; text-align: center; cursor: pointer; transition: transform .3s var(--ease), background-color .25s, color .25s, border-color .25s; }
.cta:active { transform: scale(.97); }
.cta--red { background: var(--red); color: var(--cream); }
.cta--red:hover { background: #d9482f; }
.cta--ink { background: var(--ink); color: var(--cream); }
.cta--ink:hover { background: #2a2622; }
.cta--line { border-color: rgba(17, 16, 14, .45); color: var(--ink); }
.cta--line:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.link::after { content: "→"; margin-left: 8px; transition: transform .3s var(--ease); }
.link:hover::after { transform: translateX(4px); }

html.reveal [data-r] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.reveal [data-r].in { opacity: 1; transform: none; }

/* ---------- Filosofia ---------- */
.corrente { display: grid; gap: 0; padding-top: 0; padding-bottom: calc(var(--sp) * .8); }
.corrente__photo { position: relative; margin: 0 calc(var(--m) * -1); }
.corrente__photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.corrente__txt { position: relative; z-index: 2; padding-top: 36px; }
.corrente .lead { margin-top: 24px; font-size: clamp(1.1rem, 1rem + .6vw, 1.35rem); line-height: 1.55; max-width: 32ch; }
.words { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.words li { display: inline-flex; align-items: center; gap: 8px; }
.words li::before { content: ""; width: 5px; height: 5px; background: var(--red); }

/* ---------- Especialidades ---------- */
.spec__head { margin-bottom: clamp(36px, 6vw, 80px); }
.feature figure, .item figure { position: relative; overflow: hidden; background: #1b1916; }
.feature img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature__txt { padding-top: 22px; display: grid; gap: 8px; justify-items: start; }
.item__k { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--warm-d); }
.feature h3 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.1; }
.feature__txt p:not(.item__k):not(.feature__p) { color: var(--warm-d); max-width: 34ch; }
.feature__p { font-size: 1.35rem; font-weight: 500; font-variant-numeric: tabular-nums; margin: 6px 0 10px; padding-top: 14px; border-top: 2px solid var(--red); }
.feature .link { color: var(--cream); }
.spec__grid { display: grid; gap: 52px; margin-top: clamp(52px, 8vw, 110px); }
.item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.2s var(--ease); }
.item:hover img { transform: scale(1.03); }
.item__txt { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin-top: 16px; }
.item h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.2; margin-top: 2px; }
.item__txt p:not(.item__k):not(.item__p) { margin-top: 4px; font-size: .95rem; color: var(--warm-d); max-width: 34ch; }
.item__p { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.item--b { margin-right: 12%; }
.item--c { margin-left: 12%; }
.item--e { margin-right: 6%; }

/* ---------- Menu ---------- */
.menu { display: grid; gap: 24px; align-content: start; }
.menu__side { display: contents; }
.menu h2 { font-size: clamp(2.4rem, 1.4rem + 3.8vw, 4.4rem); }
.tabs { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; position: sticky; top: var(--hh); z-index: 8; margin: 0 calc(var(--m) * -1); padding: 0 var(--m); background: var(--cream); border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; min-height: 54px; padding: 0; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; cursor: pointer; font-weight: 500; white-space: nowrap; color: var(--muted); transition: color .25s, border-color .25s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.menu__fig { position: relative; aspect-ratio: 16/8; overflow: hidden; background: var(--ink); }
.menu__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.menu__fig img.on { opacity: 1; transform: none; }
.panel[hidden] { display: none; }
.panel:not([hidden]) { animation: panelIn .55s var(--ease) both; }
.panel__title { font-size: .78rem; font-family: var(--sans); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.rows li { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 14px; align-items: baseline; padding: 17px 0; }
.rows li::after { content: ""; grid-column: 2; grid-row: 1; align-self: center; border-bottom: 1px dotted rgba(17, 16, 14, .4); transform: translateY(2px); }
.rows__n { grid-column: 1; grid-row: 1; font-family: var(--serif); font-weight: 500; font-size: clamp(1.15rem, 1.05rem + .45vw, 1.4rem); line-height: 1.25; transition: transform .35s var(--ease); }
.rows li:hover .rows__n { transform: translateX(5px); }
.rows__p { grid-column: 3; grid-row: 1; font-weight: 500; color: var(--red); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rows__d { grid-column: 1 / -1; grid-row: 2; font-size: .94rem; color: var(--muted); max-width: 56ch; }
.rows__d b { font-weight: 500; color: var(--ink); }
.panel:not([hidden]) .rows li { animation: rowIn .6s var(--ease) both; }
.panel:not([hidden]) .rows li:nth-child(2) { animation-delay: .04s } .panel:not([hidden]) .rows li:nth-child(3) { animation-delay: .08s } .panel:not([hidden]) .rows li:nth-child(4) { animation-delay: .12s } .panel:not([hidden]) .rows li:nth-child(5) { animation-delay: .16s } .panel:not([hidden]) .rows li:nth-child(n+6) { animation-delay: .2s }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes rowIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.panel__note { margin-top: 14px; }

/* ---------- Menu para 2 ---------- */
.two { display: grid; gap: 44px; }
.two__head { display: grid; gap: 28px; }
.two h2 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.2rem); }
.two__aside { margin-top: 18px; color: var(--warm-d); }
.two__fig { position: relative; max-width: 340px; }
.two__fig img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.builder { display: grid; gap: 40px; min-width: 0; }
.step { display: flex; align-items: center; gap: 12px; font-size: .88rem; font-weight: 500; letter-spacing: .02em; margin: 0 0 14px; padding: 0; }
.step b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; font-size: .76rem; font-weight: 500; }
.choices, .how { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: grid; gap: 10px; }
.choices .step { grid-column: 1 / -1; margin-bottom: 4px; }
.choice { display: block; cursor: pointer; }
.choice input, .pill input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-content: start; height: 100%; padding: 22px; border: 1px solid var(--line); transition: background-color .3s, color .3s, border-color .3s, transform .35s var(--ease); }
.choice__name { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; line-height: 1.2; }
.choice__price { font-weight: 500; font-variant-numeric: tabular-nums; }
.choice__what { grid-column: 1 / -1; line-height: 1.45; color: var(--warm-d); font-size: .95rem; transition: color .3s; }
.choice:hover .choice__box { border-color: var(--warm-d); transform: translateY(-3px); }
.choice input:checked + .choice__box { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.choice input:checked + .choice__box .choice__price { color: var(--red); }
.choice input:checked + .choice__box .choice__what { color: var(--muted); }
.choice input:focus-visible + .choice__box, .pill input:focus-visible + span { outline: 3px solid #EF773D; outline-offset: 3px; }
.extras { display: grid; align-content: start; }
.extra { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.extra:first-of-type { border-top: 1px solid var(--line); }
.extra__name { flex: 1 1 150px; line-height: 1.3; }
.extra__p { display: block; color: var(--warm-d); font-size: .92rem; font-variant-numeric: tabular-nums; }
.stepper { display: inline-flex; align-items: center; gap: 6px; }
.stepper button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background-color .2s, color .2s, transform .15s, border-color .2s; }
.stepper button:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.stepper button:active { transform: scale(.9); }
.stepper output { min-width: 2.2ch; text-align: center; font-weight: 500; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.how { display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.how .step { width: 100%; margin-bottom: 6px; }
.pill { cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; transition: background-color .25s, color .25s, border-color .25s; }
.pill:hover span { border-color: var(--warm-d); }
.pill input:checked + span { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.addrfield { display: grid; gap: 6px; }
.addrfield[hidden] { display: none; }
.addrfield__l { font-size: .92rem; color: var(--warm-d); }
.addrfield input { font: inherit; color: var(--cream); background: transparent; border: 0; border-bottom: 1px solid var(--warm-d); border-radius: 0; min-height: 54px; padding: 0 2px; width: 100%; }
.addrfield input::placeholder { color: rgba(242, 232, 216, .4); }
.addrfield input:focus-visible { border-bottom-color: #EF773D; outline: 0; }
.total { display: grid; gap: 20px; padding: clamp(24px, 3vw, 40px); background: var(--cream); color: var(--ink); border-left: 6px solid var(--red); }
.total .step { margin-bottom: 8px; color: var(--muted); }
.total__sum { font-family: var(--serif); font-weight: 500; font-size: clamp(2.8rem, 2rem + 3vw, 4.4rem); line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.total__sum.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.04); color: var(--red); } }
.total__lines { font-weight: 500; }
.total__note { margin-top: 4px; font-size: .92rem; color: var(--muted); }
.total .cta { width: 100%; }

/* ---------- Horário e morada ---------- */
.visit { display: grid; gap: 36px; padding-top: 0; }
.visit__photo { position: relative; margin: 0 calc(var(--m) * -1); }
.visit__photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.visit h2 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.8rem); }
.hours { margin-top: 32px; display: grid; }
.hours > div { display: grid; gap: 2px 24px; padding: 16px 0; border-top: 1px solid var(--line); }
.hours > div:last-child { border-bottom: 1px solid var(--line); }
.hours dt { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hours dd { font-family: var(--serif); font-size: clamp(1.15rem, 1.05rem + .45vw, 1.35rem); line-height: 1.35; }
.visit__addr { margin-top: 36px; display: grid; gap: 22px; }
.addr { font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); line-height: 1.35; }
.addr a { color: var(--red); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.visit__btns { display: grid; gap: 10px; }
.map { position: relative; margin-top: 36px; aspect-ratio: 4/3; background: var(--ink); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.5) sepia(.2) contrast(1.05); }

/* ---------- Rodapé ---------- */
.foot { padding: var(--sp) var(--m) 40px; background: var(--ink); display: grid; gap: clamp(22px, 3vw, 36px); }
.foot__k { color: var(--warm-d); font-size: .9rem; }
.foot__num { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 1rem + 8vw, 8rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.foot__num a { text-decoration: none; transition: color .3s; }
.foot__num a:hover { color: #EF773D; }
.foot__cols { display: grid; gap: 26px var(--m); padding-top: 30px; border-top: 1px solid var(--line); }
.foot__cols a { text-underline-offset: 4px; text-decoration-color: rgba(242, 232, 216, .4); }
.foot__h { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--warm-d); margin-bottom: 8px; }
.foot__legal { font-size: .9rem; max-width: 72ch; color: var(--warm-d); }
.foot__legal strong { color: var(--cream); font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .corrente *, .spec *, .menu *, .two *, .visit *, .foot * { animation: none !important; transition: none !important; }
  html.reveal [data-r] { opacity: 1; transform: none; }
}

/* ---------- Tablet ---------- */
@media (min-width: 600px) {
  .visit__btns { grid-template-columns: repeat(2, auto); justify-content: start; }
  .foot__cols { grid-template-columns: repeat(3, 1fr); }
  .spec__grid { grid-template-columns: repeat(2, 1fr); gap: 52px 28px; align-items: start; }
  .item--b, .item--c, .item--e { margin: 0; }
  .item--c { margin-top: 70px; }
  .item--d { grid-column: 1 / -1; margin-left: 16%; }
  .item--e { grid-column: 1; }
  .menu__fig { aspect-ratio: 3/1; }
  .hours > div { grid-template-columns: 170px 1fr; align-items: baseline; }
  .total { grid-template-columns: auto 1fr; align-items: end; }
  .total .cta { grid-column: 1 / -1; width: auto; justify-self: start; }
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  .corrente { grid-template-columns: repeat(12, 1fr); column-gap: 32px; align-items: center; padding-top: 0; padding-bottom: calc(var(--sp) * 1.1); }
  .corrente__photo { grid-column: 1 / 8; grid-row: 1; margin: 0 0 0 calc(var(--m) * -1); }
  .corrente__photo img { aspect-ratio: 1.2/1; }
  .corrente__txt { grid-column: 7 / 13; grid-row: 1; align-self: end; margin-bottom: calc(var(--sp) * -.7); background: var(--cream); padding: clamp(32px, 4vw, 64px); padding-bottom: 0; padding-right: 0; }
  .corrente__txt .lead { max-width: 30ch; }

  .feature { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; align-items: end; }
  .feature figure { grid-column: 1 / 9; margin-left: calc(var(--m) * -1); }
  .feature img { aspect-ratio: 1.5/1; }
  .feature__txt { grid-column: 9 / 13; padding: 0 0 8px; }
  .spec__grid { grid-template-columns: repeat(12, 1fr); gap: 7vw 32px; margin-top: clamp(70px, 9vw, 130px); }
  .item--b { grid-column: 1 / 6; grid-row: 1; }
  .item--b img { aspect-ratio: 1/1.15; }
  .item--d { grid-column: 7 / 13; grid-row: 1; margin: 9vw 0 0; }
  .item--d img { aspect-ratio: 1.55/1; }
  .item--c { grid-column: 2 / 6; grid-row: 2; margin: 0; }
  .item--c img { aspect-ratio: 1/1; }
  .item--e { grid-column: 8 / 13; grid-row: 2; margin: 5vw 0 0; }
  .item--e img { aspect-ratio: 1.15/1; }

  .menu { grid-template-columns: repeat(12, 1fr); column-gap: 32px; align-items: start; }
  .menu__side { display: grid; grid-column: 1 / 5; gap: 28px; position: sticky; top: calc(var(--hh) + 28px); }
  .tabs { position: static; flex-direction: column; gap: 0; margin: 0; padding: 0; background: none; border: 0; overflow: visible; }
  .tabs button { display: flex; align-items: center; gap: 12px; min-height: 52px; text-align: left; border: 0; margin: 0; font-family: var(--serif); font-size: 1.4rem; }
  .tabs button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .3s var(--ease); }
  .tabs button[aria-selected="true"] { border: 0; }
  .tabs button[aria-selected="true"]::before { transform: scale(1); }
  .menu__fig { aspect-ratio: 4/3; }
  .menu__panels { grid-column: 6 / 13; padding-top: 8px; }

  .two { grid-template-columns: repeat(12, 1fr); column-gap: 32px; row-gap: 56px; }
  .two__head { grid-column: 1 / -1; grid-template-columns: 1fr minmax(240px, 340px); align-items: end; }
  .builder { grid-column: 1 / -1; grid-template-columns: repeat(12, 1fr); column-gap: 32px; row-gap: 44px; }
  .choices { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .extras { grid-column: 1 / 7; }
  .how { grid-column: 8 / 13; }
  .addrfield { grid-column: 8 / 13; }
  .total { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 56px; }
  .total .cta { grid-column: auto; width: auto; justify-self: end; min-width: 240px; }

  .visit { grid-template-columns: repeat(12, 1fr); column-gap: 32px; align-items: start; }
  .visit__photo { grid-column: 1 / 6; margin: 0 0 0 calc(var(--m) * -1); position: sticky; top: 0; }
  .visit__photo img { aspect-ratio: 1/1.2; }
  .visit__body { grid-column: 7 / 13; padding-top: var(--sp); }
  .foot__cols { grid-template-columns: repeat(3, 1fr); }
}


