/* Quilombo da Fazenda – estilos do site */
:root {
  --green-900: #12301f;
  --green-800: #1f4d3a;
  --green-700: #2a6249;
  --green-100: #e5efe7;
  --clay-600: #b4532a;
  --clay-700: #96421f;
  --sand-50: #fbf7f0;
  --sand-100: #f3ecdf;
  --ink: #1d221f;
  --ink-soft: #4a524d;
  --white: #fff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgb(18 48 31 / .06), 0 8px 24px rgb(18 48 31 / .08);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --container: 72rem;
  --header-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--sand-50); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: .18em; }
a:hover { color: var(--clay-700); }
:focus-visible { outline: 3px solid var(--clay-600); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-serif); line-height: 1.15; color: var(--green-900); margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw + 1rem, 4rem); }
h2 { font-size: clamp(1.7rem, 2.2vw + 1rem, 2.5rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1rem; margin: 0 0 .5em; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
p { margin: 0 0 1em; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--green-900); color: var(--white); padding: .7rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; color: var(--white); }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.muted { color: var(--ink-soft); font-size: .95rem; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-600); margin-bottom: .6rem; }
svg { flex-shrink: 0; }

/* Botões */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, transform .2s; line-height: 1.2; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--clay-600); color: var(--white); }
.btn--primary:hover { background: var(--clay-700); color: var(--white); }
.btn--ghost { border-color: rgb(255 255 255 / .85); color: var(--white); background: rgb(0 0 0 / .15); }
.btn--ghost:hover { background: var(--white); color: var(--green-900); }
.btn--ghost-dark { border-color: var(--green-800); color: var(--green-800); background: transparent; }
.btn--ghost-dark:hover { background: var(--green-800); color: var(--white); }
.btn--small { white-space: nowrap; background: var(--green-800); color: var(--white); padding: .55rem 1rem; font-size: .92rem; }
.btn--small:hover { background: var(--green-900); color: var(--white); }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(251 247 240 / .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgb(18 48 31 / .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { white-space: nowrap; display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--green-900); font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.site-nav ul { display: flex; gap: .25rem; }
.site-nav a:not(.btn) { display: block; white-space: nowrap; padding: .5rem .6rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--green-800); background: var(--green-100); }
.site-nav { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; position: relative; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--green-900); border-radius: 2px; transition: transform .2s, opacity .2s; content: ""; }
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { top: -7px; left: 0; }
.nav-toggle__bar::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 76rem) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; padding: 1rem; background: var(--sand-50); border-bottom: 1px solid rgb(18 48 31 / .1); box-shadow: var(--shadow); display: none; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav a:not(.btn) { padding: .85rem 1rem; font-size: 1.05rem; }
  .site-nav .btn { justify-content: center; }
  .js .site-nav:not(.is-open) { display: none; }
}
@media (max-width: 76rem) { html:not(.js) .site-nav { position: static; display: flex; box-shadow: none; } html:not(.js) .nav-toggle { display: none; } html:not(.js) .site-header__inner { flex-wrap: wrap; } }

/* Hero */
.hero { position: relative; isolation: isolate; color: var(--white); min-height: min(88vh, 46rem); display: grid; align-items: end; overflow: hidden; background: var(--green-900); }
.hero--small { min-height: min(52vh, 26rem); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(18 48 31 / .15) 0%, rgb(18 48 31 / .35) 45%, rgb(12 30 20 / .85) 100%); }
.hero__content { padding-block: 4rem 3.5rem; max-width: 46rem; margin-left: max(1rem, calc((100% - var(--container)) / 2)); }
.hero h1 { color: var(--white); text-shadow: 0 2px 20px rgb(0 0 0 / .25); }
.hero__lead { font-size: clamp(1.05rem, .6vw + 1rem, 1.3rem); max-width: 38rem; color: rgb(255 255 255 / .92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Seções */
.section { padding-block: clamp(3.5rem, 6vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section--alt { background: var(--sand-100); }
.section__lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 44rem; }
.split { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (min-width: 56rem) { .split { grid-template-columns: 1.1fr 1fr; } .split--media { grid-template-columns: 1fr 1fr; align-items: center; } }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stats li { background: var(--white); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); }
.stats strong { display: block; font-family: var(--font-serif); font-size: 2.3rem; color: var(--green-800); line-height: 1.1; }
.stats span { color: var(--ink-soft); font-size: .95rem; }

/* Cards */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); margin-top: 2rem; }
.cards--5 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr)); }
.card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(18 48 31 / .06), 0 16px 36px rgb(18 48 31 / .12); }
.card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--green-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.2rem 1.3rem 1.4rem; }
.card__body h3 { margin-bottom: .35rem; }
.card__body h3 a { color: inherit; text-decoration: none; }
.card__body h3 a::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }
.card__meta { display: flex; align-items: center; gap: .4rem; margin: 0; color: var(--green-700); position: relative; z-index: 1; }
.card__body p:last-child { margin-bottom: 0; color: var(--ink-soft); }

/* Galerias */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); margin-top: 1.75rem; }
.gallery--2 { grid-template-columns: repeat(2, 1fr); }
.gallery--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.gallery--menu { grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.gallery__item { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--green-100); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item--menu { aspect-ratio: auto; background: var(--white); box-shadow: var(--shadow); }
.gallery__item--menu img { height: auto; object-fit: contain; }

/* Vídeo e destaques */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video__btn, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; transform: translate(-50%, -50%); background: #e00; border-radius: 14px; }
.video__play::after { content: ""; position: absolute; left: 29px; top: 15px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.video__btn:hover .video__play { background: #c00; }
.feature-link { display: grid; gap: .9rem; text-decoration: none; color: var(--ink); background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.feature-link img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feature-link span { padding: 0 1.3rem 1.3rem; }

/* Mapa e endereço */
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--green-100); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__link { margin-top: .75rem; font-size: .95rem; }
.address { font-style: normal; }
.address p, .info-card__addr, .booking__note, .booking__phone { display: flex; gap: .6rem; align-items: flex-start; }
.address svg, .info-card__addr svg, .booking__note svg { color: var(--clay-600); margin-top: .25rem; }

/* PIX */
.pix { background: var(--green-800); color: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.4rem); }
.pix h3 { color: var(--white); font-size: 1.6rem; }
.pix dl { margin: 1.25rem 0; display: grid; gap: .3rem; }
.pix dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.pix dd { margin: 0 0 .8rem; font-weight: 600; }
.pix code { font-size: 1.35rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.pix__feedback { min-height: 1.5em; margin: .75rem 0 0; font-size: .95rem; }

/* Páginas internas */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 1.1rem 0 0; margin: 0; font-size: .9rem; color: var(--ink-soft); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.breadcrumb a { color: var(--ink-soft); }
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose figure { margin: 0 0 2rem; }
.prose figure img { border-radius: var(--radius-lg); width: 100%; }
blockquote { margin: 1.25rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--clay-600); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-serif); font-size: 1.15rem; }
blockquote p:last-child { margin-bottom: 0; }
.song p { margin-bottom: 1em; }
.timeline { padding-left: 1.2rem; border-left: 3px solid var(--green-100); list-style: none; }
.timeline li { position: relative; margin-bottom: .9rem; padding-left: .4rem; }
.timeline li::before { content: ""; position: absolute; left: -1.72rem; top: .55em; width: .8rem; height: .8rem; border-radius: 50%; background: var(--green-700); border: 3px solid var(--sand-50); }

.booking, .info-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
@media (min-width: 56rem) { .booking { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.booking h2, .info-card h2 { font-size: 1.5rem; display: flex; align-items: center; gap: .5rem; }
.booking__phone { font-size: 1.35rem; font-weight: 600; align-items: center; }
.booking__phone svg { color: #25d366; width: 26px; height: 26px; }
.booking__note { margin-top: 1.25rem; font-size: .95rem; color: var(--ink-soft); }
.hours { margin: 0 0 1.25rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed rgb(18 48 31 / .15); }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; font-weight: 600; color: var(--green-800); white-space: nowrap; }
.info-card__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill-list a { display: inline-block; padding: .55rem 1.1rem; border-radius: 999px; background: var(--white); text-decoration: none; font-weight: 500; box-shadow: var(--shadow); }
.cta-row p { margin: 0; font-size: 1.1rem; text-align: center; }

.routes { display: grid; gap: 2.5rem; }
.route { display: grid; gap: 1.5rem; align-items: center; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.route__media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.route__body { padding: 0 1.5rem 1.75rem; }
@media (min-width: 56rem) { .route { grid-template-columns: 1fr 1fr; } .route__body { padding: 2rem 2.5rem 2rem 0; } .route:nth-child(even) .route__media { order: 2; } .route:nth-child(even) .route__body { padding: 2rem 0 2rem 2.5rem; } }

.article-layout { display: grid; gap: 2rem; padding-block: 2rem 4rem; }
@media (min-width: 64rem) { .article-layout { grid-template-columns: 15rem 1fr; gap: 4rem; } .toc { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; } }
.toc { background: var(--white); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow); font-size: .95rem; }
.toc__title { font-weight: 600; margin-bottom: .4rem; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc li { margin: .25rem 0; }
.recipe-index { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); background: var(--white); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.recipe-index h3 { margin-top: 0; }
.recipe-index ul { margin: 0; padding-left: 1.2rem; }
.recipe { margin-top: 2rem; padding: 1.5rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.recipe h3 { margin: 0; }
.recipe__cat { color: var(--clay-600); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.recipe__cols { display: grid; gap: 1.5rem; }
@media (min-width: 40rem) { .recipe__cols { grid-template-columns: 1fr 1.3fr; } }
.recipe ul, .recipe ol { margin: 0; padding-left: 1.2rem; }

.notfound { text-align: center; min-height: 50vh; display: grid; place-items: center; }

/* Rodapé */
.site-footer { background: var(--green-900); color: rgb(255 255 255 / .85); padding-top: 3.5rem; font-size: .97rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #f6c9a9; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.site-footer__brand { font-family: var(--font-serif); font-size: 1.4rem; color: var(--white); font-weight: 700; }
.site-footer__title { font-weight: 600; color: var(--white); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.site-footer__list li { display: flex; gap: .55rem; align-items: center; margin-bottom: .55rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; border-top: 1px solid rgb(255 255 255 / .12); margin-top: 2.5rem; padding-block: 1.25rem 5.5rem; font-size: .85rem; }
.site-footer__bottom p { margin: 0; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 6px 20px rgb(0 0 0 / .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100dvh; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(8 18 12 / .92); }
.lightbox img { max-width: min(92vw, 1600px); max-height: 86dvh; width: auto; height: auto; border-radius: 8px; }
.lightbox button { position: absolute; border: 0; background: rgb(255 255 255 / .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgb(255 255 255 / .25); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav--prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1rem; top: 50%; transform: translateY(-50%); }

.lightbox__frame { margin: 0; display: contents; }
img.is-broken { visibility: hidden; }
.brand img.is-broken { display: none; }
