/* Casa Jatobá: site de demonstração de um negócio fictício (specs/019). Letras guardadas no próprio site. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fontes/fraunces-latin-opsz-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('../fontes/fraunces-latin-opsz-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fontes/inter-latin-wght-normal.woff2') format('woff2'); }
* { box-sizing: border-box; margin: 0; padding: 0; }
:root { --creme: #F6EFE2; --papel: #EDE3D0; --verde: #1F3529; --verde-claro: #2C4A3A; --terracota: #C2542D; --mostarda: #E5AC42; --texto: #2B2A24; --suave: #6E6A5C; --linha: #DCCFB8; --zap: #25D366; }
html { scroll-behavior: smooth; }
body { font-family: Inter, system-ui, sans-serif; background: var(--creme); color: var(--texto); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.miolo { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.serifa { font-family: Fraunces, Georgia, serif; font-weight: 500; letter-spacing: -.02em; line-height: 1.02; }
.serifa em { font-weight: 400; }

.demo-aviso { background: #14231B; color: #cfd8cc; font-size: 12.5px; letter-spacing: .04em; text-align: center; padding: 8px 16px; }
.demo-aviso b { color: #fff; font-weight: 600; }

header { position: sticky; top: 0; z-index: 20; background: var(--verde); color: var(--creme); }
.topo { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.marca { display: flex; align-items: center; gap: 12px; }
.marca i { width: 40px; height: 40px; border-radius: 50%; background: var(--mostarda); display: grid; place-items: center; font: italic 500 22px Fraunces, serif; color: var(--verde); }
.marca b { font: 500 26px/1 Fraunces, serif; letter-spacing: -.01em; }
.marca span { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #b9c7b6; margin-top: 3px; }
nav ul { display: flex; gap: 32px; list-style: none; font-size: 15px; font-weight: 500; }
nav a:hover { color: var(--mostarda); }
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 24px; border-radius: 999px; font-size: 15px; font-weight: 600; transition: transform .18s, background .18s, color .18s; border: 0; cursor: pointer; font-family: inherit; }
.botao:active { transform: scale(.97); }
.botao--zap { background: var(--zap); color: #0E1F14; } .botao--zap:hover { background: #3EE07C; }
.botao--mostarda { background: var(--mostarda); color: var(--verde); } .botao--mostarda:hover { background: #f0bb55; }
.botao--linha { border: 1.5px solid #ffffff66; color: var(--creme); } .botao--linha:hover { background: var(--creme); color: var(--verde); }
.botao svg { width: 19px; height: 19px; }

.abertura-fundo { background: var(--verde); color: var(--creme); overflow: hidden; }
.abertura { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; padding-block: 56px 0; min-height: min(calc(100vh - 113px), 800px); }
.abertura > div:first-child { padding-bottom: 72px; }
.sobretitulo { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--terracota); }
.abertura .sobretitulo { color: var(--mostarda); }
h1 { font-size: clamp(46px, 5.6vw, 82px); margin-top: 18px; }
h1 em { color: var(--mostarda); display: block; }
.apoio { margin-top: 24px; font-size: 19px; max-width: 500px; color: #dfe6da; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.dados { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 38px; padding-top: 24px; border-top: 1px solid #ffffff26; font-size: 14.5px; color: #b9c7b6; }
.dados b { display: block; color: var(--creme); font-weight: 600; }
.abertura__foto { position: relative; align-self: end; }
.abertura__foto img { width: 100%; aspect-ratio: 4 / 5.2; object-fit: cover; object-position: 56% 50%; border-radius: 260px 260px 0 0; }
.selo { position: absolute; left: -34px; top: 44px; width: 128px; height: 128px; border-radius: 50%; background: var(--terracota); color: #fff; display: grid; place-content: center; text-align: center; transform: rotate(-10deg); box-shadow: 0 18px 40px -18px #000a; }
.selo b { font: italic 500 25px/1 Fraunces, serif; } .selo span { font-size: 10.5px; line-height: 1.35; letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }

section { padding-block: 96px; }
.cab { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
h2 { font-size: clamp(36px, 4.2vw, 58px); margin-top: 12px; max-width: 660px; text-wrap: balance; color: var(--verde); }
h2 em { color: var(--terracota); }
p, b, span, li { text-wrap: pretty; }
.cab p { max-width: 360px; color: var(--suave); }

.pratos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prato { background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--linha); display: flex; flex-direction: column; }
.prato img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; } .prato:nth-child(3) img { object-position: 50% 62%; }
.prato div { padding: 24px 26px 28px; }
.prato h3 { font: 500 30px/1.1 Fraunces, serif; color: var(--verde); letter-spacing: -.01em; }
.prato p { color: var(--suave); font-size: 15px; margin-top: 6px; }
.prato ul { list-style: none; margin-top: 18px; border-top: 1px dashed var(--linha); }
.prato li { padding: 11px 0; border-bottom: 1px dashed var(--linha); font-size: 15.5px; font-weight: 500; }
.obs { margin-top: 28px; text-align: center; color: var(--suave); font-size: 15px; }

.pedido { background: var(--papel); }
.duas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.passos { list-style: none; display: grid; gap: 26px; margin-top: 36px; }
.passos li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; }
.passos i { width: 46px; height: 46px; border-radius: 50%; background: var(--verde); color: var(--mostarda); display: grid; place-items: center; font: italic 500 22px Fraunces, serif; }
.passos b { display: block; font-size: 17px; } .passos span { color: var(--suave); font-size: 15.5px; }
.painel { background: #fff; border-radius: 28px; padding: 32px; box-shadow: 0 40px 80px -50px #1f352988; border: 1px solid var(--linha); }
.painel h3 { font: 500 30px/1.1 Fraunces, serif; color: var(--verde); }
.grupo { margin-top: 22px; } .grupo > p { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); margin-bottom: 10px; }
.opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.opcoes button { min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--linha); background: #fff; font: 500 15px Inter, sans-serif; color: var(--texto); cursor: pointer; transition: all .18s; }
.opcoes button[aria-pressed='true'] { background: var(--verde); border-color: var(--verde); color: #fff; }
.balao { margin-top: 24px; background: #E7F3E4; border-radius: 4px 18px 18px 18px; padding: 16px 18px; font-size: 15.5px; color: #1e2420; }
.balao small { display: block; font-size: 12px; color: var(--suave); margin-bottom: 6px; letter-spacing: .04em; }
.painel .botao { width: 100%; margin-top: 18px; }
.nota { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--verde); background: var(--papel); border-radius: 12px; padding: 12px 14px; }

.casa__grade { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.casa__grade img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 72%; border-radius: 24px 24px 24px 200px; }
.tres { display: grid; border-top: 1px solid var(--linha); }
.tres article { display: grid; grid-template-columns: 56px 1fr; gap: 0 12px; padding: 24px 0; border-bottom: 1px solid var(--linha); }
.tres i { grid-row: span 2; }
.tres i { font: italic 400 44px/1 Fraunces, serif; color: var(--terracota); }
.tres h3 { font: 500 26px/1.15 Fraunces, serif; color: var(--verde); margin: 4px 0 6px; }
.tres p { color: var(--suave); font-size: 15.5px; }

.onde { background: var(--terracota); color: #fff; }
.onde .sobretitulo { color: #ffd9c9; } .onde h2 { color: #fff; } .onde h2 em { color: #FFE3B5; }
.endereco { margin-top: 20px; font-size: 19px; font-weight: 500; }
.horarios { border-top: 1.5px solid #ffffff55; }
.horarios div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1.5px solid #ffffff55; font-size: 17px; }
.horarios b { font-weight: 600; }

footer { background: var(--verde); padding: 44px 0 56px; font-size: 14px; color: #b9c7b6; }
.rodape { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; }
.rodape b { color: var(--creme); font: 500 24px Fraunces, serif; display: block; }
.fixo { display: none; }

@media (max-width: 860px) {
  .miolo { padding: 0 20px; }
  .demo-aviso span { display: none; }
  nav, .topo > .botao { display: none; }
  .topo { height: 64px; } .marca b { font-size: 23px; } .marca i { width: 36px; height: 36px; font-size: 19px; }
  .abertura { grid-template-columns: 1fr; gap: 24px; padding-block: 20px 0; min-height: 0; }
  .abertura > div:first-child { padding-bottom: 48px; }
  .abertura__foto { order: -1; align-self: auto; }
  .abertura__foto img { aspect-ratio: 4 / 3.1; border-radius: 24px; object-position: 50% 50%; }
  .selo { left: auto; right: 10px; top: auto; bottom: -22px; width: 96px; height: 96px; } .selo b { font-size: 19px; } .selo span { font-size: 9.5px; margin-top: 4px; }
  .sobretitulo { font-size: 12px; letter-spacing: .14em; }
  h1 { font-size: 44px; margin-top: 12px; }
  .apoio { font-size: 17px; margin-top: 16px; }
  .abertura .acoes { flex-wrap: nowrap; gap: 8px; margin-top: 24px; } .abertura .acoes .botao { padding: 0 16px; font-size: 14.5px; white-space: nowrap; }
  .dados { margin-top: 28px; padding-top: 20px; }
  section { padding-block: 64px; }
  .cab { flex-direction: column; align-items: start; gap: 14px; margin-bottom: 28px; }
  .pratos { grid-template-columns: 1fr; gap: 16px; } .prato img { aspect-ratio: 16 / 10; } .prato div { padding: 20px 20px 22px; } .prato h3 { font-size: 27px; }
  .duas { grid-template-columns: 1fr; gap: 36px; }
  .painel { padding: 22px; border-radius: 24px; }
  .casa__grade { grid-template-columns: 1fr; gap: 28px; } .casa__grade img { aspect-ratio: 4 / 3; border-radius: 24px; }
  .fixo { display: flex; position: fixed; z-index: 30; left: 16px; right: 16px; bottom: 14px; box-shadow: 0 14px 34px -10px #0e1f1488; transition: transform .25s, opacity .25s; }
  .fixo[data-fora] { transform: translateY(90px); opacity: 0; pointer-events: none; }
  footer { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .botao, .opcoes button, .fixo { transition: none; } }
