/* Anne Lima Home Decor · estilo do site. Cores e letras do Manual de Marca (docs/marca.md). */

@font-face { font-family: "DejaVu Serif"; src: url("/fonts/dejavuserif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DejaVu Serif"; src: url("/fonts/dejavuserif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DejaVu Sans"; src: url("/fonts/dejavusans.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DejaVu Sans"; src: url("/fonts/dejavusans-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DejaVu Sans"; src: url("/fonts/dejavusans-extralight.woff2") format("woff2"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Pinyon Script"; src: url("/fonts/pinyon-script.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --off: #F2F0ED;      /* 01 off-white */
  --areia: #D6D1CA;    /* 02 areia */
  --marrom: #774F35;   /* 03 marrom */
  --oliva: #717237;    /* 04 oliva */
  --musgo: #3D4727;    /* 05 musgo */
  --cafe: #3C2F21;     /* marrom profundo do manual (faixa de tipografia) */
  --tinta: #2E2A25;
  --tinta-2: #5A5148;
  --linha: rgba(61, 71, 39, .18);
  --serif: "DejaVu Serif", Georgia, "Times New Roman", serif;
  --sans: "DejaVu Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Pinyon Script", "Brush Script MT", cursive;
  --larg: 1180px;
  --curva: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='none'%3E%3Cpath d='M0 420 C 300 250, 600 520, 1200 300' fill='none' stroke='%23774F35' stroke-opacity='.22' stroke-width='1.2'/%3E%3Cpath d='M0 520 C 350 380, 700 600, 1200 420' fill='none' stroke='%23774F35' stroke-opacity='.16' stroke-width='1.2'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--off); color: var(--tinta); font: 400 16px/1.7 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--musgo); text-underline-offset: 3px; }
a:hover { color: var(--marrom); }
:focus-visible { outline: 2px solid var(--marrom); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--musgo); letter-spacing: -.01em; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 4.6vw, 54px); }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--larg); margin: 0 auto; padding: 0 20px; }
.ico { width: 18px; height: 18px; flex: none; }
.pular { position: absolute; left: -9999px; top: 8px; background: var(--musgo); color: var(--off); padding: 8px 14px; z-index: 50; }
.pular:focus { left: 8px; }
.sobretitulo { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--oliva); margin: 0 0 14px; }
.lead { font-size: 18px; color: var(--tinta-2); max-width: 60ch; }

/* botões */
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 1px solid var(--musgo); background: var(--musgo); color: var(--off); text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--cafe); border-color: var(--cafe); color: var(--off); }
.btn--linha { background: transparent; color: var(--musgo); }
.btn--linha:hover { background: var(--musgo); color: var(--off); border-color: var(--musgo); }
.btn--claro { background: var(--off); color: var(--musgo); border-color: var(--off); }
.btn--claro:hover { background: transparent; color: var(--off); border-color: var(--off); }
.btn--pequeno { min-height: 40px; padding: 8px 16px; font-size: 12px; }

/* topo e menu */
.topo { position: sticky; top: 0; z-index: 20; background: rgba(242, 240, 237, .96); border-bottom: 1px solid var(--linha); backdrop-filter: blur(6px); }
.topo__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 10px; }
.marca img { width: 150px; height: auto; }
.menu ul { display: flex; gap: 26px; list-style: none; margin: 0 auto; padding-top: 2px; padding-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.menu ul::-webkit-scrollbar { display: none; }
.menu a { display: inline-block; padding: 4px 0; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--tinta-2); white-space: nowrap; border-bottom: 1px solid transparent; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--musgo); border-bottom-color: var(--marrom); }

/* página inicial */
.hero { display: grid; grid-template-columns: 1fr; background: var(--off) var(--curva) no-repeat center bottom / 100% 70%; }
.hero__foto img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.hero__txt { padding: 36px 20px 56px; }
.hero h1 { max-width: 15ch; }
.hero .lema { font: 400 clamp(30px, 3.4vw, 42px)/1.2 var(--script); color: var(--marrom); margin: 0 0 20px; }
.secao { padding-top: 72px; padding-bottom: 72px; }
.cats { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
.cats li:last-child:nth-child(odd) { grid-column: span 2; }
.cat { display: block; text-decoration: none; color: var(--musgo); }
.cat img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s ease; }
.cats li:last-child:nth-child(odd) .cat img { aspect-ratio: 16 / 10; }
.cat:hover img { transform: scale(1.03); }
.cat { overflow: hidden; }
.cat__nome { display: block; margin-top: 12px; font: 400 20px/1.3 var(--serif); }
.faixa { background: var(--musgo) var(--curva) no-repeat center / 100% 100%; color: var(--off); }
.faixa__in { display: grid; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
.faixa h2 { color: var(--off); }
.faixa .sobretitulo { color: var(--areia); }
.faixa p { color: rgba(242, 240, 237, .86); max-width: 52ch; }
.faixa__fotos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.faixa__fotos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.sobre { display: grid; gap: 28px; }
.sobre__mono { width: 64px; }
.pontos { list-style: none; margin: 18px 0 20px; padding: 0; }
.pontos li { padding: 12px 0 12px 24px; border-top: 1px solid var(--linha); position: relative; color: var(--tinta-2); }
.pontos li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--marrom); }
.pontos b { color: var(--musgo); font-weight: 700; }
.premio { font-family: var(--serif); font-style: italic; color: var(--marrom); font-size: 18px; }
.visite { background: var(--areia); }
.visite__in { display: grid; gap: 32px; padding-top: 72px; padding-bottom: 72px; }
.visite__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.endereco { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; }
.endereco .ico { margin-top: 5px; color: var(--marrom); }
.horario { list-style: none; margin: 8px 0 0; padding: 0; max-width: 360px; }
.horario li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--linha); }

/* categoria */
.cab { padding-top: 48px; padding-bottom: 40px; }
.migalhas { font-size: 13px; color: var(--tinta-2); margin-bottom: 18px; }
.galeria { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 12px; }
.galeria li { break-inside: avoid; margin: 0 0 12px; }
.galeria img { width: 100%; }
.aviso { margin: 20px 0 64px; padding: 14px 18px; border-left: 2px solid var(--marrom); background: rgba(214, 209, 202, .45); color: var(--tinta-2); font-size: 15px; max-width: 72ch; }
.outras { margin: 32px 0 6px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--tinta-2); }
.outras__lista { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.outras__lista a { font-family: var(--serif); font-size: 18px; }

/* política */
.texto { max-width: 780px; }
.texto h2 { font-size: 26px; margin-top: 40px; }
.texto p, .texto li { color: var(--tinta-2); }
.texto ul { padding-left: 20px; }

/* rodapé */
.rodape { background: var(--cafe); color: rgba(242, 240, 237, .82); font-size: 15px; }
.rodape a { color: var(--off); }
.rodape a:hover { color: var(--areia); }
.rodape__in { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.rodape__marca img { width: 170px; margin-bottom: 14px; }
.rodape .lema { font-family: var(--serif); font-style: italic; color: var(--areia); max-width: 28ch; }
.rodape__tit { font: 400 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--areia); margin-bottom: 12px; }
.rodape .horario li { border-bottom-color: rgba(242, 240, 237, .14); }
.rodape__legal { border-top: 1px solid rgba(242, 240, 237, .14); padding-top: 18px; padding-bottom: 90px; font-size: 13px; color: rgba(242, 240, 237, .62); }
.rodape__legal p { margin: 0 0 6px; }
.wa-fixo { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--musgo); color: var(--off); box-shadow: 0 6px 20px rgba(46, 42, 37, .28); }
.wa-fixo .ico { width: 28px; height: 28px; }
.wa-fixo:hover { background: var(--cafe); color: var(--off); }

@media (max-width: 420px) {
  .topo__wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .topo__wa { padding: 8px 12px; }
}

@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: calc(100vh - 110px); }
  .hero__foto img { height: 100%; aspect-ratio: auto; max-height: calc(100vh - 110px); min-height: 560px; }
  .hero__txt { align-self: center; padding: 56px 56px 56px 64px; }
  .cats { grid-template-columns: repeat(5, 1fr); }
  .cats li:last-child:nth-child(odd) { grid-column: auto; }
  .cats li:last-child:nth-child(odd) .cat img { aspect-ratio: 3 / 4; }
  .faixa__in { grid-template-columns: 5fr 6fr; align-items: center; gap: 56px; }
  .sobre { grid-template-columns: 120px 1fr; gap: 48px; }
  .sobre__mono { width: 94px; }
  .visite__in { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
  .visite__in--uma { grid-template-columns: 1fr; max-width: 780px; }
  .galeria { columns: 3; column-gap: 16px; }
  .galeria li { margin-bottom: 16px; }
  .rodape__in { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .rodape__legal { padding-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cat img, .btn { transition: none; }
}
