:root {
  --forest: #3f4d34;
  --caramel: #98652e;
  --ivory: #f3eadb;
  --wheat: #eedac1;
  --tint: 0.6;
  --h: 68px;
  --gap: 20px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--h);
}
body {
  font: 400 1.05rem/1.65 var(--sans);
  color: var(--forest);
  background: var(--ivory);
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
ul {
  list-style: none;
  padding: 0;
}
:focus-visible {
  outline: 3px solid var(--caramel);
  outline-offset: 3px;
}
.container {
  width: min(1100px, 100% - 40px);
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--forest);
  color: var(--ivory);
  padding: 8px 14px;
  z-index: 99;
}
.skip-link:focus {
  left: 8px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
}
h2 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  margin-bottom: 0.5rem;
  text-align: center;
}
h3 {
  font-size: 1.55rem;
  text-align: center;
}
h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 0;
  background: var(--caramel);
  margin-top: 12px;
  transition: width 0.9s 0.3s;
  text-align: center;
}
h2.in::after {
  width: 72px;
  text-align: center;
}
.experiences h2::after,
.site-footer h2::after {
  background: var(--wheat);
}
.section {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vw, 120px) 0;
}
.section > .container {
  position: relative;
  z-index: 2;
}
.section-header {
  margin-bottom: 36px;
}
.section-header p {
  max-width: 46ch;
  font-size: 1.15rem;
  text-align: center;
  display: flex;
  justify-self: center;
}
.btn {
  display: inline-block;
  padding: 13px 26px;
  border: 1.5px solid var(--forest);
  background: var(--forest);
  color: var(--ivory);
  text-decoration: none;
  font: 500 1rem var(--sans);
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-dark:hover {
  background: var(--caramel);
  border-color: var(--caramel);
}
.btn-caramel {
  background: var(--caramel);
  border-color: var(--caramel);
  color: #fbf6ec;
  padding: 10px 20px;
}
.btn-caramel:hover {
  background: var(--forest);
  border-color: var(--forest);
}
.btn-light {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--forest);
}
.btn-light:hover {
  background: var(--wheat);
  border-color: var(--wheat);
}
.btn-ghost {
  background: transparent;
  border-color: var(--ivory);
  color: var(--ivory);
}
.btn-ghost:hover {
  background: var(--ivory);
  color: var(--forest);
}

/* Cabeçalho */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--h);
  z-index: 50;
  background: rgba(243, 234, 219, 0.96);
  border-bottom: 1px solid rgba(63, 77, 52, 0.12);
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 14px rgba(47, 58, 39, 0.18);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, 100% - 32px);
}
.brand-logo {
  height: 44px;
  width: auto;
}
.primary-nav ul {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
}
.primary-nav a {
  text-decoration: none;
  font-weight: 500;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.primary-nav a:hover {
  border-color: var(--caramel);
}
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  top: 23px;
  height: 2px;
  background: var(--forest);
  transition:
    transform 0.25s,
    opacity 0.2s;
}
.nav-toggle span:first-child {
  transform: translateY(-7px);
}
.nav-toggle span:last-child {
  transform: translateY(7px);
}
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

/* RESPONSIVO */
@media (max-width: 800px) {
  .nav-toggle {
    display: block;
  }
  .primary-nav {
    position: fixed;
    top: var(--h);
    left: 0;
    right: 0;
    background: var(--ivory);
    padding: 12px 20px 24px;
    border-bottom: 1px solid rgba(63, 77, 52, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.25s,
      transform 0.25s,
      visibility 0.25s;
  }
  .primary-nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .primary-nav a {
    display: block;
    font: 600 1.6rem var(--serif);
    padding: 14px 0;
    border-bottom: 1px solid rgba(63, 77, 52, 0.12);
  }
}

/* Abertura: foto à direita na altura da tela (sem ampliar), verde a 60% */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: var(--forest);
  color: var(--ivory);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  aspect-ratio: 1;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%);
  mask-image: linear-gradient(90deg, transparent, #000 40%);
  animation: zoom 2.6s ease-out both;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--forest) 0,
    rgba(63, 77, 52, var(--tint)) 45%,
    rgba(63, 77, 52, 0) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 3;
  margin: 0 0 0 clamp(28px, 9vw, 150px);
  width: min(560px, 100% - 56px);
  padding-top: var(--h);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-content > * {
  animation: up 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(0.25s + var(--i) * 0.14s);
}
.hero-title {
  font-size: clamp(3rem, 7.5vw, 5.4rem);
  line-height: 0.95;
}
.hero-title span {
  display: block;
  font: 500 clamp(0.9rem, 2vw, 1.1rem)/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wheat);
  margin-bottom: 14px;
}
.hero-best {
  font: italic 500 clamp(1.6rem, 4vw, 2.2rem)/1 var(--serif);
  color: var(--wheat);
}
.hero-hours {
  border-block: 1px solid rgba(238, 218, 193, 0.5);
  padding: 10px 0;
}
.hero-hours b {
  display: inline-block;
  color: var(--wheat);
  animation: nudge 1.6s ease-in-out infinite;
}
.hero-hours b:last-child {
  animation-direction: reverse;
}
.hero-sign {
  font: italic 500 1.3rem var(--serif);
  color: var(--wheat);
}
.hero-slogan {
  font: 500 clamp(1.25rem, 2.8vw, 1.6rem)/1.2 var(--serif);
}
.hero-slogan strong {
  display: block;
  font-size: clamp(2rem, 5vw, 2.9rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--wheat);
}
.hero-scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  translate: -50% 0;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ivory);
  border-radius: 50%;
  text-decoration: none;
  animation: bob 2s ease-in-out infinite;
}
@media (max-aspect-ratio: 1/1), (max-width: 760px) {
  .hero {
    align-items: flex-end;
    padding-bottom: 36px;
  }
  .hero-media {
    width: 100%;
    aspect-ratio: auto;
    object-position: 62% center;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(63, 77, 52, 0.35),
      rgba(47, 58, 39, 0.94) 62%
    );
  }
  .hero-content {
    margin: 0 24px;
    gap: 10px;
    width: calc(100% - 48px);
  }
  .hero-scroll {
    display: none;
  }
}

/* Experiências (verde) */
.experiences {
  background: var(--forest);
  color: var(--ivory);
}
.carousel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  --n: 1.15;
}
@media (min-width: 620px) {
  .carousel {
    --n: 2.1;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
  }
}
@media (min-width: 980px) {
  .carousel {
    --n: 3;
  }
}
.carousel-track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  padding: 4px 0;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}
.exp-card {
  flex: 0 0 calc((100% - var(--gap) * (var(--n) - 1)) / var(--n));
  scroll-snap-align: start;
  background: var(--ivory);
  color: var(--forest);
  display: flex;
  flex-direction: column;
}
.exp-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.exp-card-body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}
.exp-card-body p {
  flex: 1;
}
.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--ivory);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    background 0.2s,
    color 0.2s;
}
.carousel-arrow:hover {
  background: var(--ivory);
  color: var(--forest);
}
.carousel-arrow svg {
  width: 22px;
  height: 22px;
}

/* Cardápio, sobre, novidades */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 18px;
}
@media (min-width: 760px) {
  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 10px;
}
.product h3 {
  font-size: 1.35rem;
}
.product p {
  font-size: 0.95rem;
}
.menu-note,
.hint {
  margin-top: 28px;
  color: var(--caramel);
  font-style: italic;
}
.menu-actions {
  margin-top: 20px;
}
.about {
  background: var(--wheat);
}
.about-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
  }
}
.about-media img {
  width: 100%;
  max-height: 640px;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: 16px 16px 0 var(--forest);
}
.about-text p {
  margin: 12px 0 20px;
  max-width: 48ch;
}
.novidades-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 700px) {
  .novidades-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.nov-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  border-top: 2px solid var(--forest);
  padding-top: 18px;
}
.nov-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

/* Detalhes de trigo */
.wheat {
  position: absolute;
  z-index: 1;
  width: clamp(120px, 20vw, 280px);
  pointer-events: none;
  transform-origin: 50% 100%;
  animation: sway 8s ease-in-out infinite;
}
.wheat img {
  width: 100%;
  opacity: 0.85;
}
.experiences .wheat img,
.site-footer .wheat img {
  opacity: 0.22;
}
.wheat-l {
  left: -24px;
  top: 28px;
}
.wheat-r {
  right: -24px;
  bottom: 28px;
}
.wheat-top {
  top: 28px;
  bottom: auto;
}
.wheat-hl {
  left: -20px;
  bottom: 0;
  z-index: 1;
}
.wheat-hr {
  right: 2vw;
  top: calc(var(--h) + 16px);
  z-index: 2;
  width: clamp(110px, 16vw, 230px);
}
.wheat-hl img,
.wheat-hr img {
  opacity: 0.4;
}
.wheat-fr {
  right: -24px;
  top: 28px;
}
@media (max-width: 700px) {
  .wheat img {
    opacity: 0.3;
  }
  .wheat-hl {
    display: none;
  }
}

/* Rodapé / Fale conosco */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: var(--ivory);
  padding: clamp(64px, 9vw, 110px) 0 24px;
}
.site-footer .container {
  position: relative;
  z-index: 2;
}
.contact-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 72px;
  }
}
.contact-list {
  margin: 18px 0 24px;
  display: grid;
  gap: 8px;
}
.contact-list strong {
  color: var(--wheat);
  font-weight: 500;
}
.contact-list a {
  text-underline-offset: 4px;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.map-wrap {
  aspect-ratio: 4/3;
  background: rgba(243, 234, 219, 0.1);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(243, 234, 219, 0.25);
}
.badge {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--ivory);
  display: grid;
  place-items: center;
}
.badge img {
  width: 78px;
  height: auto;
}
.footer-inner nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-inner a:not(.footer-brand) {
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
}
.footer-inner a:not(.footer-brand):hover {
  color: var(--wheat);
}
.footer-copy {
  margin-top: 20px;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Pop-up */
.dialog {
  margin: auto;
  width: min(520px, 100% - 32px);
  border: 0;
  padding: 36px 32px 28px;
  background: var(--ivory);
  color: var(--forest);
  animation: pop 0.3s ease-out;
}
.dialog::backdrop {
  background: rgba(47, 58, 39, 0.6);
}
.dialog h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.dialog p {
  margin: 10px 0;
}
.dialog .text-link {
  color: var(--caramel);
  font-weight: 500;
}
.dialog-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--forest);
  cursor: pointer;
}
.dialog-actions {
  margin-top: 20px;
}

/* Animações */
@keyframes up {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}
@keyframes zoom {
  from {
    transform: scale(1.08);
    opacity: 0.6;
  }
}
@keyframes nudge {
  50% {
    transform: translateX(5px);
  }
}
@keyframes sway {
  50% {
    transform: rotate(2.5deg);
  }
}
@keyframes bob {
  50% {
    transform: translateY(6px);
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
}
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s,
    transform 0.7s;
  transition-delay: var(--d, 0s);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  .hero-content > * {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
