/* Rancho do Quinto — v3, desenhado do zero (09/10/2026).
   A identidade vem do próprio salão: a toalha mostarda, a madeira escura, as travessas de barro e o
   ladrilho hidráulico do buffet (creme, azul acinzentado e terracota), que vira o ornamento do site.
   Fotos: todas de clientes no Google Maps, tratadas como fotos reveladas (borda, fita, leve inclinação). */

:root {
  --paper: #f6efe2;
  --paper-2: #efe4cf;
  --ink: #2b1d14;
  --ink-2: #5a4636;
  --wood: #3b2416;
  --mustard: #e3a72f;
  --mustard-soft: #f2c96a;
  --clay: #a94a22;
  --tile: #5f7486;
  --wrap: 1240px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --hand: "Caveat", cursive;
  --grain: 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='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .12 0 0 0 0 .06 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper) var(--grain); color: var(--ink); font: 400 17px/1.65 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

/* ---------- topo ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(246, 239, 226, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(43, 29, 20, .08); }
.nav__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__tile { width: 38px; height: 38px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(43, 29, 20, .12); }
.brand__name { font: 600 23px/1 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 48; letter-spacing: -.01em; }
.brand__name i { font-style: italic; font-weight: 400; color: var(--clay); }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { font: 600 14px/1 var(--sans); text-decoration: none; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--mustard); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: var(--ink); color: var(--paper); font: 700 14px/1 var(--sans); padding: 12px 16px; border-radius: 999px; transition: background .2s; }
.nav__cta:hover { background: var(--clay); }
.nav__cta svg { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 90px) 0 clamp(70px, 8vw, 120px); overflow: hidden; }
.hero::before { /* o ladrilho, bem apagado, atrás das fotos */
  content: ""; position: absolute; right: -6%; top: -10%; width: 58%; height: 120%;
  background: url("../assets/img/ladrilho.svg") 0 0 / 120px 120px repeat;
  opacity: .14; mask-image: radial-gradient(closest-side, #000 30%, transparent); -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(30px, 4vw, 70px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); background: rgba(255, 255, 255, .55); border: 1px solid rgba(43, 29, 20, .1); padding: 9px 14px 9px 12px; border-radius: 999px; margin-bottom: 28px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tile); box-shadow: 0 0 0 4px rgba(95, 116, 134, .18); }
.eyebrow.is-open .dot { background: #2f8f4e; box-shadow: 0 0 0 4px rgba(47, 143, 78, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(47, 143, 78, 0); } }
.hero__title {
  font: 500 clamp(48px, 6.6vw, 104px)/.95 var(--serif); letter-spacing: -.03em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.hero__title em { display: block; font-style: italic; font-weight: 400; color: var(--clay); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.hero__lead { max-width: 30em; margin-top: 28px; font-size: clamp(17px, 1.25vw, 19px); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font: 700 15px/1 var(--sans); padding: 18px 26px; border-radius: 999px; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--wood { background: var(--mustard); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(169, 74, 34, .6), inset 0 -3px 0 rgba(0, 0, 0, .12); }
.btn--wood:hover { background: var(--mustard-soft); }
.btn--line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.hero__proof { margin-top: 26px; font-size: 15px; color: var(--ink-2); }
.hero__proof b { color: var(--ink); }
.stars { color: var(--mustard); letter-spacing: 2px; margin-right: 4px; }

/* as fotos reveladas */
.hero__art { position: relative; aspect-ratio: 1 / 1.02; }
.print { position: absolute; margin: 0; background: #fffaf0; padding: 12px 12px 46px; box-shadow: 0 1px 1px rgba(0, 0, 0, .08), 0 24px 40px -18px rgba(43, 29, 20, .45); }
.print img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.03); }
.print figcaption { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font: 600 22px/1 var(--hand); color: var(--ink-2); }
.print::before { /* a fita */
  content: ""; position: absolute; z-index: 1; left: 50%; top: -14px; width: 96px; height: 28px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(242, 201, 106, .78); box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  clip-path: polygon(3% 0, 97% 6%, 100% 50%, 96% 100%, 4% 94%, 0 50%);
}
.print--a { width: 58%; height: 60%; left: 2%; top: 4%; transform: rotate(-5deg); z-index: 2; }
.print--b { width: 44%; height: 62%; right: 0; top: 0; transform: rotate(4deg); z-index: 1; }
.print--c { width: 48%; height: 50%; right: 3%; bottom: 0; transform: rotate(-2deg); z-index: 3; }
.print--c::before { left: 30%; transform: translateX(-50%) rotate(6deg); }
.seal { position: absolute; z-index: 4; left: 6%; bottom: 6%; width: clamp(110px, 11vw, 150px); aspect-ratio: 1; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal text { font: 700 14px var(--sans); fill: var(--ink); }
.seal img { position: absolute; inset: 26%; width: 48%; height: 48%; border-radius: 50%; box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px rgba(43, 29, 20, .2); }
.seal::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--mustard); box-shadow: 0 14px 26px -14px rgba(43, 29, 20, .6); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- faixa ---------- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; border-block: 4px solid var(--mustard); }
.marquee__track { display: flex; align-items: center; width: max-content; padding: 11px 0; }
.marquee__track.is-looped { animation: run var(--dur, 38s) linear infinite; }
.marquee span, .marquee i { margin-right: 22px; }
.marquee span { font: italic 400 clamp(17px, 1.45vw, 22px)/1 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; white-space: nowrap; }
.marquee i { width: 19px; height: 19px; flex: none; background: url("../assets/img/ladrilho.svg") center / cover; border-radius: 3px; }
@keyframes run { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .seal svg, .marquee__track, .eyebrow.is-open .dot { animation: none; }
}

/* ---------- celular ---------- */
@media (max-width: 920px) {
  .nav__links { display: none; }
  .nav__cta span { display: none; }
  .nav__cta { margin-left: auto; padding: 12px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { width: min(520px, 100%); margin: 30px auto 0; }
  .hero::before { width: 100%; top: 40%; }
}
@media (max-width: 480px) {
  .brand__name { font-size: 20px; }
  .btn { width: 100%; }
  .print { padding: 8px 8px 34px; }
  .print figcaption { font-size: 18px; bottom: 7px; }
}

/* ---------- comuns das seções ---------- */
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin-bottom: 18px; }
.kicker::before { content: ""; width: 22px; height: 22px; background: url("../assets/img/ladrilho.svg") center / cover; border-radius: 3px; }
.kicker--ink { color: var(--ink); }
.kicker--light { color: var(--mustard-soft); }
.h2 { font: 500 clamp(38px, 4.6vw, 70px)/1 var(--serif); letter-spacing: -.025em; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.h2 em { display: block; font-style: italic; font-weight: 400; color: var(--clay); }
.h2--light { color: var(--paper); }
.h2--light em { color: var(--mustard); }
.lead { margin-top: 22px; max-width: 33em; font-size: clamp(17px, 1.2vw, 19px); color: var(--ink-2); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--clay); }
.btn--ghost { border: 1.5px solid rgba(246, 239, 226, .5); color: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.note.reveal { transform: translateY(26px) rotate(var(--r, 0deg)); }
.note.reveal.is-in { transform: rotate(var(--r, 0deg)); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .note.reveal { opacity: 1; transform: rotate(var(--r, 0deg)); transition: none; }
  .strip__track { animation: none; }
}

/* ---------- o almoço ---------- */
.lunch { padding: clamp(80px, 9vw, 140px) 0 clamp(60px, 6vw, 90px); }
.lunch__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.facts { list-style: none; margin: 36px 0 0; padding: 0; display: grid; }
.facts li { display: grid; gap: 2px; padding: 18px 0 18px 40px; border-top: 1px solid rgba(43, 29, 20, .14); position: relative; }
.facts li:last-child { border-bottom: 1px solid rgba(43, 29, 20, .14); }
.facts li::before { content: ""; position: absolute; left: 0; top: 21px; width: 22px; height: 22px; background: url("../assets/img/ladrilho.svg") center / cover; border-radius: 3px; }
.facts b { font: 600 20px/1.3 var(--serif); font-variation-settings: "SOFT" 100; }
.facts span { color: var(--ink-2); font-size: 15px; }
.tileframe { position: relative; margin: 0; padding: 18px; background: url("../assets/img/ladrilho.svg") 0 0 / 54px 54px repeat; box-shadow: 0 30px 60px -30px rgba(43, 29, 20, .55); transform: rotate(1.2deg); }
.tileframe.reveal { transform: translateY(26px) rotate(1.2deg); }
.tileframe.reveal.is-in { transform: rotate(1.2deg); }
.tileframe img { width: 100%; aspect-ratio: 1.38; object-fit: cover; border: 6px solid #fffaf0; }
.tileframe figcaption { position: absolute; right: -8px; bottom: -22px; background: var(--mustard); color: var(--ink); font: 600 24px/1 var(--hand); padding: 10px 18px 12px; transform: rotate(-4deg); box-shadow: 0 10px 20px -10px rgba(43, 29, 20, .5); }

.strip { margin-top: clamp(70px, 7vw, 110px); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
/* duas sequências iguais e espaço por margem (não gap): -50% cai exatamente no começo da segunda */
.strip__track { display: flex; width: max-content; padding: 18px 0 30px; }
.strip__track.is-looped { animation: run var(--dur, 60s) linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.snap { margin: 0 28px 0 0; width: clamp(190px, 17vw, 250px); background: #fffaf0; padding: 10px 10px 40px; position: relative; box-shadow: 0 18px 30px -18px rgba(43, 29, 20, .5); }
.snap:nth-child(odd) { transform: rotate(-2.2deg); }
.snap:nth-child(even) { transform: rotate(1.8deg) translateY(10px); }
.snap img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.snap figcaption { position: absolute; left: 0; right: 0; bottom: 9px; text-align: center; font: 600 20px/1 var(--hand); color: var(--ink-2); }

/* ---------- a marmita ---------- */
.tiffin { position: relative; background: var(--mustard); padding: clamp(80px, 8vw, 130px) 0; overflow: hidden; }
.tiffin::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .8; pointer-events: none; }
.tiffin::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26px; background: url("../assets/img/ladrilho.svg") 0 0 / 26px 26px repeat-x; }
.tiffin__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.tiffin .h2 em { color: var(--wood); }
.tiffin .lead { color: #4a3220; }
.print--flat { position: relative; padding: 14px 14px 54px; max-width: 560px; justify-self: center; transform: rotate(-3deg); }
.print--flat.reveal { transform: translateY(26px) rotate(-3deg); }
.print--flat.reveal.is-in { transform: rotate(-3deg); }
.print--flat img { aspect-ratio: 4 / 3; height: auto; }
.print--flat figcaption { font-size: 24px; bottom: 14px; }
.steps { list-style: none; margin: 30px 0 34px; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 14px; font: 600 18px/1.3 var(--sans); }
.steps span { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--mustard); font: italic 600 18px/1 var(--serif); }

/* ---------- avaliações ---------- */
.notes { position: relative; background: var(--wood) var(--grain); color: var(--paper); padding: clamp(80px, 9vw, 140px) 0; overflow: hidden; }
.notes::before { /* veio da madeira */
  content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 120px, rgba(0, 0, 0, .35) 120px 122px, transparent 122px 240px), repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 3px, transparent 3px 9px);
}
.notes .wrap { position: relative; }
.notes__head { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap-reverse; margin-bottom: clamp(50px, 5vw, 80px); }
.score { display: grid; justify-items: center; gap: 6px; background: var(--paper); color: var(--ink); padding: 22px; border-radius: 50%; width: 190px; aspect-ratio: 1; align-content: center; box-shadow: 0 0 0 8px rgba(227, 167, 47, .9), 0 30px 40px -20px rgba(0, 0, 0, .6); transform: rotate(-6deg); }
.score.reveal, .notes__head.reveal .score { transform: rotate(-6deg); }
.score b { font: 600 62px/.9 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; }
.score small { font-size: 12px; text-align: center; line-height: 1.3; color: var(--ink-2); max-width: 11em; }
.notes__wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; align-items: start; }
.note { position: relative; margin: 0; background: #fffaf0; color: var(--ink); padding: 34px 24px 24px; box-shadow: 0 24px 34px -18px rgba(0, 0, 0, .65); }
.note:nth-child(2) { margin-top: 40px; }
.note:nth-child(4) { margin-top: 24px; }
.note::before { /* o percevejo */ content: ""; position: absolute; left: 50%; top: 10px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e87a52, var(--clay) 60%, #6d2a10); box-shadow: 0 3px 4px rgba(0, 0, 0, .35); }
.note--mustard { background: var(--mustard-soft); }
.note--tile { background: #e6edf2; }
.note p { font: 600 clamp(24px, 1.75vw, 29px)/1.12 var(--hand); }
.note cite { display: block; margin-top: 16px; font: 600 12px/1.3 var(--sans); font-style: normal; letter-spacing: .04em; color: var(--ink-2); }
.note cite::after { content: " · Google"; color: var(--clay); }

/* ---------- onde fica ---------- */
.where { padding: clamp(80px, 9vw, 140px) 0; }
.where__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: stretch; }
.sign { position: relative; background: var(--ink) var(--grain); color: var(--paper); padding: clamp(36px, 4vw, 60px); border-radius: 6px; box-shadow: inset 0 0 0 10px var(--wood), inset 0 0 0 12px rgba(227, 167, 47, .5), 0 30px 50px -30px rgba(43, 29, 20, .7); }
.sign__tile { position: absolute; right: 30px; top: 30px; width: 56px; height: 56px; border-radius: 4px; }
.sign__hours { border-collapse: collapse; width: 100%; margin: 8px 0 28px; }
.sign__hours th, .sign__hours td { text-align: left; padding: 14px 0; border-bottom: 1px dashed rgba(246, 239, 226, .25); font: 500 clamp(21px, 1.9vw, 30px)/1.15 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; }
.sign__hours td { text-align: right; color: var(--mustard); font-style: italic; }
.sign__addr { font-size: 17px; color: rgba(246, 239, 226, .85); margin-bottom: 30px; }
.sign__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { border-radius: 6px; overflow: hidden; min-height: 420px; box-shadow: 0 30px 50px -30px rgba(43, 29, 20, .5); border: 10px solid #fffaf0; background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; filter: sepia(.25) saturate(.9); }

/* ---------- rodapé ---------- */
.foot { background: var(--ink); color: var(--paper); }
.foot__band { height: 34px; background: url("../assets/img/ladrilho.svg") 0 0 / 34px 34px repeat-x; }
.foot__in { padding: clamp(50px, 6vw, 90px) 0 30px; }
.foot__word { font: 500 clamp(46px, 9.5vw, 150px)/.9 var(--serif); letter-spacing: -.035em; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.foot__word i { font-weight: 400; color: var(--mustard); }
.foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: clamp(40px, 4vw, 60px); padding-top: 30px; border-top: 1px solid rgba(246, 239, 226, .18); }
.foot__cols p { font-size: 15px; color: rgba(246, 239, 226, .82); }
.foot__cols b { display: block; font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mustard); margin-bottom: 10px; }
.foot__cols a { text-decoration: none; border-bottom: 1px solid rgba(246, 239, 226, .3); }
.foot__cols a:hover { color: var(--mustard); }
.foot__legal { margin-top: 50px; font-size: 13px; color: rgba(246, 239, 226, .5); }

@media (max-width: 920px) {
  .lunch__grid, .tiffin__grid, .where__grid { grid-template-columns: 1fr; }
  .tiffin__copy { order: -1; }
  .notes__wall { grid-template-columns: 1fr 1fr; }
  .note:nth-child(n) { margin-top: 0; }
  .foot__cols { grid-template-columns: 1fr; }
  .tileframe figcaption { right: 8px; }
}
@media (max-width: 560px) {
  .notes__wall { grid-template-columns: 1fr; gap: 22px; }
  .score { width: 160px; }
  .score b { font-size: 52px; }
  .map { min-height: 320px; }
  .map iframe { min-height: 300px; }
  .sign__tile { width: 40px; height: 40px; right: 22px; top: 22px; }
}
