/* ============================================================
   TERRAH ORIGEM — Design System
   Paleta: verde escuro · marrom café · bege · off-white · dourado
   Fontes: Playfair Display (títulos) · Inter (texto)
   ============================================================ */

:root {
  /* Cores da marca */
  --green-950: #0B1D13;
  --green-900: #122A1D;
  --green-800: #1B3A28;
  --brown-900: #2A1810;
  --brown-700: #4A2C1A;
  --brown-500: #7A4E2E;
  --gold: #C9A227;
  --gold-soft: #D9BC5F;
  --beige: #E9DCC5;
  --cream: #FAF6EE;
  --white: #FFFFFF;

  /* Tema claro (padrão) */
  --bg: #FBF6EC;
  --bg-tinted: #EFE3CE;
  --surface: #FFFDFA;
  --text: #2A1810;
  --text-soft: #6B5340;
  --heading: #24160C;
  --line: rgba(74, 44, 26, 0.14);
  --shadow: 0 20px 60px -20px rgba(42, 24, 16, 0.25);
  --shadow-sm: 0 8px 24px -10px rgba(42, 24, 16, 0.2);
  --header-bg: rgba(250, 246, 238, 0.85);

  --radius: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #0C1710;
  --bg-tinted: #102016;
  --surface: #14251B;
  --text: #EDE4D2;
  --text-soft: #B8AA92;
  --heading: #F4EDDD;
  --line: rgba(233, 220, 197, 0.14);
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 8px 24px -10px rgba(0, 0, 0, 0.5);
  --header-bg: rgba(12, 23, 16, 0.82);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.45s ease, color 0.45s ease;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

::selection { background: var(--gold); color: var(--green-950); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--green-950);
  padding: 0.6rem 1.2rem; border-radius: 0 0 12px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.container { width: min(var(--container), 92%); margin-inline: auto; }
.center { text-align: center; }

/* ---------- Tipografia ---------- */
h1, h2, h3, .brand__name { font-family: 'Playfair Display', Georgia, serif; color: var(--heading); }

.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--gold-soft); }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--tinted { background: var(--bg-tinted); transition: background-color 0.45s ease; }

.section__title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 600; line-height: 1.15;
  margin-bottom: 1.4rem;
}
.section__lead { max-width: 620px; margin: 0 auto 3rem; color: var(--text-soft); }
.text-gold { color: var(--gold); font-style: italic; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 2.1rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s, color 0.35s, border-color 0.35s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, #B08A1E 100%);
  color: #17110A;
  box-shadow: 0 10px 30px -12px rgba(201, 162, 39, 0.7);
}
.btn--gold:hover { box-shadow: 0 16px 40px -12px rgba(201, 162, 39, 0.85); }

.btn--ghost {
  border: 1.5px solid var(--heading); color: var(--heading);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--outline { border: 1.5px solid var(--gold); color: var(--heading); }
.btn--outline:hover { background: var(--gold); color: #17110A; }

.btn--sm { padding: 0.65rem 1.4rem; font-size: 0.85rem; }
.btn--full { width: 100%; }
.btn__icon { width: 1.15em; height: 1.15em; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 1.1rem 0;
  transition: padding 0.4s var(--ease), background-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.header.is-scrolled {
  padding: 0.55rem 0;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px -12px rgba(20, 12, 5, 0.25);
}

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: 0.55rem; }
.brand__leaf { width: 26px; height: 26px; color: var(--gold); }
.brand__name {
  font-size: 1.35rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--heading); text-transform: uppercase;
}
.brand__name em { font-style: italic; font-weight: 500; color: var(--gold); text-transform: none; letter-spacing: 0.02em; }

.nav__list { display: flex; gap: 1.9rem; }
.nav__link {
  position: relative; font-size: 0.92rem; font-weight: 500;
  color: var(--text); padding: 0.3rem 0; transition: color 0.3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover { color: var(--gold); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__actions { display: flex; align-items: center; gap: 0.9rem; }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text); border: 1px solid var(--line);
  transition: color 0.3s, border-color 0.3s, transform 0.3s;
}
.theme-toggle:hover { color: var(--gold); border-color: var(--gold); transform: rotate(15deg); }
.theme-toggle svg { width: 19px; height: 19px; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: none; }

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  width: 42px; height: 42px; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 10px;
}
.nav__burger span {
  width: 20px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(201, 162, 39, 0.24), transparent 60%),
    radial-gradient(900px 500px at 12% 108%, rgba(107, 66, 35, 0.16), transparent 62%),
    linear-gradient(165deg, #FBF5EA 0%, #F2E5CF 46%, #E7D4B6 100%);
  color: var(--text);
  overflow: hidden;
  padding: 7.5rem 0 5rem;
}
[data-theme="dark"] .hero {
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(201, 162, 39, 0.14), transparent 60%),
    linear-gradient(165deg, #16281C 0%, #1C2E1E 45%, #2E2013 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
  transform: translateZ(0);
}
.hero__glow--1 { --glow-color: rgba(201, 162, 39, 0.20); width: 620px; height: 620px; top: -220px; right: 4%; }
.hero__glow--2 { --glow-color: rgba(122, 78, 46, 0.16); width: 520px; height: 520px; bottom: -200px; left: -140px; }
[data-theme="dark"] .hero__glow--2 { --glow-color: rgba(27, 58, 40, 0.7); }
.hero__leaves { position: absolute; inset: auto 0 0 0; width: 100%; height: 60%; color: var(--gold); opacity: 0.25; }

.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}

.hero__title {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  font-weight: 600; line-height: 1.12; color: var(--heading);
  margin-bottom: 1.5rem; text-wrap: balance;
}
.hero__subtitle {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--text-soft);
  max-width: 540px; margin-bottom: 2.4rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }

.hero__badges {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-soft);
}

.hero__visual { position: relative; }
.hero__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(201, 162, 39, 0.25);
  animation: float 7s ease-in-out infinite;
  max-width: 460px; margin-inline: auto;
}
.hero__card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.hero__tag {
  position: absolute; left: 1.1rem; bottom: 1.1rem;
  display: flex; align-items: center; gap: 0.6rem;
  background: rgba(12, 23, 16, 0.72); backdrop-filter: blur(10px);
  color: var(--beige); font-size: 0.85rem; font-weight: 500;
  padding: 0.55rem 1rem 0.55rem 0.55rem; border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.35);
}
.hero__tag span {
  background: var(--gold); color: #17110A;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 0.3rem 0.65rem; border-radius: 999px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--text-soft); z-index: 1;
  transition: color 0.3s;
}
.hero__scroll:hover { color: var(--gold); }
.hero__scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.5); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============================================================
   SOBRE
   ============================================================ */
.about__grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center;
}
.about__media { position: relative; }
.about__media > img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 0.92; object-fit: cover;
}
.about__stamp {
  position: absolute; right: -1.2rem; bottom: -1.4rem;
  display: flex; align-items: center; gap: 0.7rem;
  background: var(--green-900); color: var(--beige);
  padding: 1rem 1.4rem; border-radius: var(--radius);
  font-size: 0.82rem; line-height: 1.45; font-weight: 500;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201, 162, 39, 0.35);
}
.about__stamp svg { width: 28px; height: 28px; color: var(--gold); flex-shrink: 0; }

.about__content p { margin-bottom: 1.1rem; color: var(--text-soft); }
.about__content p strong { color: var(--heading); }

.about__quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem); font-style: italic; line-height: 1.5;
  color: var(--heading);
  border-left: 3px solid var(--gold);
  padding: 0.4rem 0 0.4rem 1.4rem;
  margin: 1.8rem 0 2.2rem;
}
.about__quote strong { color: var(--gold); font-style: normal; }

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.features__grid {
  margin-top: 3.2rem;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.8rem;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 162, 39, 0.5);
}
.feature-card__icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #4A2C18 0%, #6B4223 55%, #3A2212 100%);
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: var(--gold-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 18px -10px rgba(42, 24, 16, 0.6);
  margin-bottom: 1.3rem;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.feature-card:hover .feature-card__icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 24px -10px rgba(42, 24, 16, 0.7);
}
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.22rem; margin-bottom: 0.6rem; }
.feature-card p { font-size: 0.94rem; color: var(--text-soft); }

/* ============================================================
   FAIXA CHOCOLATE (explosão de chocolate)
   ============================================================ */
.choco-band {
  position: relative; overflow: hidden;
  padding: clamp(5rem, 11vw, 9rem) 0;
  color: var(--beige); text-align: center;
}
.choco-band__bg {
  position: absolute; inset: -14% 0;
  background: url("../img/chocolate-derretido.jpg") center/cover no-repeat;
  will-change: transform;
}
.choco-band__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42, 24, 16, 0.55) 0%, rgba(42, 24, 16, 0.35) 50%, rgba(42, 24, 16, 0.6) 100%);
}
.choco-band__content { position: relative; z-index: 1; max-width: 720px; }
.choco-band__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5.2vw, 3.8rem); font-weight: 600; line-height: 1.12;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(42, 24, 16, 0.6);
  margin-bottom: 1.2rem;
}
.choco-band__text {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(250, 246, 238, 0.9);
  text-shadow: 0 2px 16px rgba(42, 24, 16, 0.7);
}

/* ============================================================
   PREMIUM GOURMET (produto acabado)
   ============================================================ */
.gourmet__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}
.gourmet-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.gourmet-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

.gourmet-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.gourmet-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.gourmet-card:hover .gourmet-card__media img { transform: scale(1.07); }
.gourmet-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(23, 17, 10, 0.35));
  pointer-events: none;
}

.gourmet-card__body { padding: 1.7rem 1.8rem 1.9rem; }
.gourmet-card__body h3 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.gourmet-card__body p { font-size: 0.98rem; color: var(--text-soft); margin-bottom: 1.2rem; }
.gourmet-card__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.95rem; color: var(--gold);
  transition: gap 0.35s var(--ease), color 0.3s;
}
.gourmet-card__cta:hover { gap: 0.9rem; color: var(--heading); }
.gourmet-card__cta:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ============================================================
   PRODUTOS
   ============================================================ */
.products__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem; margin-top: 1rem;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }

.product-card__media { position: relative; overflow: hidden; aspect-ratio: 1; }
.product-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--gold); color: #17110A;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.35rem 0.8rem; border-radius: 999px;
}

.product-card__body { padding: 1.5rem 1.5rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: 0.3rem; }
.product-card__type {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem;
}
.product-card__body > p:not(.product-card__type) {
  font-size: 0.92rem; color: var(--text-soft); margin-bottom: 1.4rem; flex: 1;
}

.products__cta {
  margin-top: 3.5rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
}
.products__cta p { color: var(--text-soft); font-style: italic; }

/* ============================================================
   EXPERIÊNCIA
   ============================================================ */
.experience {
  position: relative; overflow: hidden;
  padding: clamp(6rem, 14vw, 11rem) 0;
  color: var(--beige); text-align: center;
}
.experience__bg {
  position: absolute; inset: -12% 0;
  background: url("../img/experiencia-aconchego.jpg") center/cover no-repeat;
  will-change: transform;
}
.experience__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 29, 19, 0.78) 0%, rgba(42, 24, 16, 0.72) 100%);
}
.experience__content { position: relative; z-index: 1; max-width: 760px; }
.experience__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; line-height: 1.15;
  color: var(--white); margin-bottom: 1.6rem;
}
.experience__text {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(233, 220, 197, 0.85);
  margin-bottom: 2.4rem;
}

/* ============================================================
   GALERIA
   ============================================================ */
.gallery__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 1rem;
}
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  padding: 0; display: block; width: 100%; height: 100%;
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s;
}
.gallery__item::after {
  content: "+";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 2.6rem; font-weight: 300; color: var(--beige);
  background: rgba(11, 29, 19, 0.45);
  opacity: 0; transition: opacity 0.45s;
}
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(8, 14, 10, 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 3.5rem 4.5rem;
  animation: fadeIn 0.35s ease;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 100%; max-height: 100%;
  border-radius: var(--radius);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  animation: zoomIn 0.4s var(--ease);
}
.lightbox__close {
  position: absolute; top: 1.2rem; right: 1.6rem;
  font-size: 2.4rem; line-height: 1; color: var(--beige);
  transition: color 0.3s, transform 0.3s;
}
.lightbox__close:hover { color: var(--gold); transform: rotate(90deg); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--beige); border: 1px solid rgba(233, 220, 197, 0.3);
  background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(6px);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.lightbox__nav:hover { color: var(--gold); border-color: var(--gold); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: 1.4rem; }
.lightbox__nav--next { right: 1.4rem; }

@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { transform: scale(0.92); opacity: 0; } }

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.slider { max-width: 780px; margin: 2.5rem auto 0; overflow: hidden; }
.slider__track {
  display: flex;
  transition: transform 0.65s var(--ease);
}
.testimonial {
  flex: 0 0 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.2rem);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.testimonial__stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 0.35em; margin-bottom: 1.4rem; }
.testimonial blockquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.3rem); font-style: italic; line-height: 1.6;
  color: var(--heading);
  margin-bottom: 1.6rem;
}
.testimonial figcaption { display: flex; flex-direction: column; gap: 0.15rem; }
.testimonial figcaption strong { color: var(--heading); }
.testimonial figcaption span { font-size: 0.85rem; color: var(--text-soft); }

.slider__controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1.6rem; margin-top: 1.8rem;
}
.slider__arrow {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--line); color: var(--heading);
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.slider__arrow:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.slider__arrow svg { width: 20px; height: 20px; }
.slider__dots { display: flex; gap: 0.6rem; }
.slider__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line); border: none;
  transition: background 0.3s, transform 0.3s;
}
.slider__dot.is-active { background: var(--gold); transform: scale(1.35); }

/* ============================================================
   INSTAGRAM
   ============================================================ */
.instagram__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; margin-bottom: 2.6rem;
}
.instagram__grid a {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1;
}
.instagram__grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.instagram__grid a::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 29, 19, 0.65));
  opacity: 0; transition: opacity 0.45s;
}
.instagram__grid a:hover::after { opacity: 1; }
.instagram__grid a:hover img { transform: scale(1.06); }
.instagram__grid a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ============================================================
   CONTATO
   ============================================================ */
.contact__grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: start;
}
.contact__info > p { color: var(--text-soft); max-width: 460px; }

.contact__channels { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact__channels li { display: flex; align-items: flex-start; gap: 1.1rem; }
.contact__icon {
  width: 52px; height: 52px; border-radius: 15px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #4A2C18 0%, #6B4223 55%, #3A2212 100%);
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: var(--gold-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 18px -10px rgba(42, 24, 16, 0.5);
  transition: transform 0.35s var(--ease);
}
.contact__channels li:hover .contact__icon { transform: translateY(-3px) scale(1.05); }
.contact__icon svg { width: 24px; height: 24px; }
.contact__channels strong { display: block; color: var(--heading); font-size: 0.95rem; }
.contact__channels a, .contact__channels div > span { color: var(--text-soft); font-size: 0.95rem; }
.contact__channels a:hover { color: var(--gold); }

.contact__form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: var(--shadow-sm);
}
.contact__form-title { font-size: 1.4rem; margin-bottom: 1.6rem; }
.field { margin-bottom: 1.2rem; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field label {
  display: block; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em; color: var(--heading); margin-bottom: 0.45rem;
}
.field input, .field textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: inherit; font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.45s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-soft); opacity: 0.6; }
.contact__form-hint {
  margin-top: 0.9rem; text-align: center;
  font-size: 0.8rem; color: var(--text-soft);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--green-950); color: rgba(233, 220, 197, 0.75);
}
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 3rem;
}
.footer__logo {
  width: 170px; border-radius: 12px;
  mix-blend-mode: screen; filter: brightness(1.1);
  margin-bottom: 1.2rem;
}
.footer__brand p { font-size: 0.92rem; max-width: 320px; margin-bottom: 1.4rem; }
.footer__social { display: flex; gap: 0.8rem; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(233, 220, 197, 0.25);
  color: var(--beige);
  transition: color 0.3s, border-color 0.3s, transform 0.3s;
}
.footer__social a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.footer__social svg { width: 20px; height: 20px; }

.footer__nav h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.footer__nav ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__nav a { font-size: 0.92rem; transition: color 0.3s, padding-left 0.3s; }
.footer__nav a:hover { color: var(--gold-soft); padding-left: 4px; }
.footer__nav address { font-style: normal; font-size: 0.92rem; line-height: 1.8; margin-bottom: 1.4rem; }

.footer__bottom { border-top: 1px solid rgba(233, 220, 197, 0.12); padding: 1.4rem 0; }
.footer__bottom-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  font-size: 0.82rem; color: rgba(233, 220, 197, 0.5);
}

/* ============================================================
   WHATSAPP FLUTUANTE
   ============================================================ */
.whatsapp-float {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  animation: waPulse 2.6s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 16px 40px -8px rgba(37, 211, 102, 0.75); }
.whatsapp-float svg { width: 32px; height: 32px; }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 1080px) {
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__list {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw);
    flex-direction: column; gap: 0;
    background: var(--green-950);
    padding: 6.5rem 2.2rem 2rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.5s var(--ease), visibility 0s 0.5s;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
    z-index: -1;
  }
  .nav__list.is-open { transform: translateX(0); visibility: visible; transition: transform 0.5s var(--ease), visibility 0s 0s; }
  .nav__list .nav__link {
    display: block; padding: 1rem 0; font-size: 1.05rem;
    color: var(--beige) !important;
    border-bottom: 1px solid rgba(233, 220, 197, 0.12);
  }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }

  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__actions, .hero__badges { justify-content: center; }
  .hero__visual { max-width: 400px; margin-inline: auto; }

  .about__grid { grid-template-columns: 1fr; }
  .about__stamp { right: 0.8rem; bottom: -1.2rem; }

  .gourmet__grid { grid-template-columns: 1fr; }

  .contact__grid { grid-template-columns: 1fr; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }

  .instagram__grid { grid-template-columns: repeat(2, 1fr); }

  .lightbox { padding: 4.5rem 0.8rem; }
  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }
}

@media (max-width: 560px) {
  .products__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .field__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom-inner { justify-content: center; text-align: center; }
  .hero { padding-top: 6.5rem; }
  .hero__scroll { display: none; }
  .whatsapp-float { width: 54px; height: 54px; right: 1rem; bottom: 1rem; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}
