@font-face {
  font-family: "Gelica";
  src: url("../fonts/Fontspring-DEMO-gelica-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gelica";
  src: url("../fonts/Fontspring-DEMO-gelica-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gelica";
  src: url("../fonts/Fontspring-DEMO-gelica-black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OSWALD";
  src: url("../fonts/Oswald-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OSWALD";
  src: url("../fonts/Oswald-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #ff2e35;
  --secondary: #ffe9b5;
  --gold: #ffb22a;
  --accent: #59020e;
  --cream: #e8d7a9;
  --cream-soft: #f2efe9;
  --brown: #824b1b;
  --ink: #1c1c1c;
  --muted: #5a4a3a;
  --white: #ffffff;
  --header-h: 76px;
  --fundo: url("../img/brand/FUNDO-site-mix.webp");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Gelica", Georgia, serif;
  color: var(--ink);
  background-color: var(--cream);
  background-image: var(--fundo);
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  line-height: 1.55;
  min-height: 100vh;
}
main {
  background: transparent;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.wrap { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }
.muted { color: var(--muted); }

/* ========== HEADER ========== */
.site-header {
  position: relative;
  z-index: 100;
  height: var(--header-h);
  background: var(--primary);
}
.site-header--home {
  position: absolute;
  inset: 0 0 auto;
  background: transparent;
}
.site-header--home.is-scrolled {
  position: fixed;
  background: rgba(255, 46, 53, 0.97);
  box-shadow: 0 10px 28px -18px rgba(0, 0, 0, 0.55);
}

.nav-bar {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  flex: 0 0 auto;
  z-index: 2;
  display: flex;
  align-items: center;
}
.brand img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.28));
}

/* Menu centrado absoluto no desktop — igual ao WP */
.menu {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  z-index: 1;
}
.menu a {
  font-family: "OSWALD", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  color: var(--secondary);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.menu a:hover,
.menu a.is-active {
  color: var(--white);
  border-bottom-color: var(--gold);
}

.nav-end {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  margin-left: auto;
}
.social-links {
  display: flex;
  gap: 0.5rem;
}
.social-links a {
  color: var(--secondary);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 233, 181, 0.4);
  transition: 0.2s ease;
}
.social-links a:hover {
  background: var(--secondary);
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  transition: 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ========== HERO ========== */
.hero-banner {
  position: relative;
  background: var(--primary);
  line-height: 0;
}
.hero-banner__img {
  width: 100%;
  height: clamp(440px, 78vh, 760px);
  object-fit: cover;
  object-position: center top;
}
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  color: var(--secondary);
  font-size: 1.8rem;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  animation: bob 1.5s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Faixa amarela (FUNDO) + espaçamento do hero, como no WP */
.home-band {
  background-color: var(--cream);
  background-image: var(--fundo);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 0 0 1rem;
}

/* Espaço do hero + banner sem laterais vermelhas (fundo amarelinho aparece) */
.promo-strip {
  margin: 50px 0 0;
  background: transparent;
  text-align: center;
  line-height: 0;
}
.promo-strip a {
  display: block;
  width: min(1024px, 100%);
  margin: 0 auto;
}
.promo-strip img {
  width: 100%;
  height: auto;
  max-height: 390px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* ========== HOME PRODUCTS (sem quadrados) ========== */
.products-band {
  padding: 3.25rem 0 3.75rem;
  background: transparent;
}
.section-title {
  margin: 0 0 2rem;
  text-align: center;
  font-family: "Gelica", sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 3.9rem);
  color: var(--primary);
  letter-spacing: 0.01em;
}
.products-cta {
  text-align: center;
  margin: 2rem 0 0;
}

.carousel {
  position: relative;
  padding: 0 2.75rem;
}
.carousel__viewport {
  overflow: hidden;
}
.carousel__track {
  display: flex;
  gap: 0.5rem;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.carousel__slide {
  flex: 0 0 25%;
  min-width: 0;
  display: flex;
  justify-content: center;
  padding: 0.5rem 0.25rem 1rem;
}

/* Pack = só a embalagem flutuando */
.pack {
  display: block;
  width: 100%;
  max-width: 220px;
  transition: transform 0.25s ease;
}
.pack:hover { transform: translateY(-8px) scale(1.03); }
.pack img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(89, 2, 14, 0.28));
  background: transparent;
}

.carousel__btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(89, 2, 14, 0.6);
}
.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }
.carousel__btn:hover { background: var(--accent); }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.carousel__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
  cursor: pointer;
}
.carousel__dots button.is-active {
  background: var(--primary);
  opacity: 1;
}

/* ========== ABOUT ========== */
.about-section {
  background: var(--primary);
  padding: 4.5rem 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.75rem;
  align-items: center;
}
.about-photo {
  background: var(--gold);
  padding: 1rem;
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.45);
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-copy h2 {
  margin: 0 0 1rem;
  font-family: "OSWALD", sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.15rem);
  color: var(--gold);
  letter-spacing: 0.04em;
}
.about-copy p {
  margin: 0 0 0.95rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--secondary);
}

/* Contato da home — foto do campo + card amarelo (#FFB22A), como no WP */
.field-section {
  min-height: 690px;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background: url("../img/brand/harvesting-potatoes-ground-scaled.jpg") center / cover no-repeat;
}
.field-card {
  width: min(500px, 100%);
  background: var(--gold);
  padding: 69px 60px;
  box-shadow: 0 20px 80px -20px rgba(0, 0, 0, 0.2);
  color: #1c1c1c;
}
.field-card h2 {
  margin: 0 0 0.85rem;
  font-family: "Gelica", sans-serif;
  font-weight: 800;
  font-size: 43px;
  color: var(--primary);
  text-transform: capitalize;
  line-height: 1;
}
.field-card__text {
  margin: 0;
  font-family: "OSWALD", sans-serif;
  font-size: 20px;
  font-weight: 100;
  line-height: 1.5;
  color: var(--accent);
}
.field-card__text a {
  color: var(--accent);
  text-decoration: none;
}
.field-card__text a:hover { text-decoration: underline; }

/* ========== PRODUCTS PAGE ========== */
.products-page__hero {
  background: var(--primary);
  color: var(--secondary);
  padding: 3.25rem 0 2.5rem;
  text-align: center;
}
.products-page__hero .eyebrow {
  margin: 0 0 0.5rem;
  font-family: "OSWALD", sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gold);
}
.products-page__hero h1 {
  margin: 0 0 0.65rem;
  font-family: "Gelica", sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--white);
}
.products-page__hero .lead {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  color: var(--secondary);
  opacity: 0.95;
}
.products-page__body {
  padding: 3rem 0 4rem;
  background: transparent;
}
.group-title {
  margin: 0.5rem 0 1.25rem;
  font-family: "OSWALD", sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.group-title + .products-grid { margin-bottom: 2.75rem; }

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}
.filters a {
  font-family: "OSWALD", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 0.55rem 1rem;
  border: 2px solid rgba(255, 233, 181, 0.55);
  color: var(--secondary);
  background: transparent;
  border-radius: 999px;
  transition: 0.2s ease;
}
.filters a:hover,
.filters a.is-active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--accent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem 1rem;
}
.product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 0.5rem;
  transition: transform 0.25s ease;
}
.product-item:hover { transform: translateY(-6px); }
.product-item img {
  width: 100%;
  max-width: 210px;
  height: 230px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 16px 26px rgba(89, 2, 14, 0.25));
}
.product-item h3 {
  margin: 0;
  max-width: 14rem;
  font-family: "OSWALD", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--accent);
}
.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 3rem 0;
}

/* ========== DETAIL / CONTACT ========== */
.page-title {
  margin: 0 0 0.5rem;
  font-family: "Gelica", sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--primary);
}
.product-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.75rem 0 3.5rem;
}
.product-detail img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  filter: drop-shadow(0 20px 36px rgba(89, 2, 14, 0.28));
  background: transparent;
}
.tag {
  display: inline-block;
  font-family: "OSWALD", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--secondary);
  padding: 0.3rem 0.65rem;
}
.meta-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.meta-list li {
  padding: 0.55rem 0;
  border-top: 1px solid rgba(89, 2, 14, 0.12);
  font-family: "OSWALD", sans-serif;
}

/* Página Contato */
.contact-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(255, 178, 42, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(89, 2, 14, 0.35), transparent 50%),
    var(--primary);
  padding: 4.5rem 0 5.5rem;
  min-height: 70vh;
}
.contact-page__glow {
  position: absolute;
  inset: auto -10% -20% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 233, 181, 0.12);
  filter: blur(40px);
  pointer-events: none;
}
.contact-page__layout {
  position: relative;
  z-index: 1;
}
.contact-page__intro {
  max-width: 40rem;
  margin: 0 auto 2.75rem;
  text-align: center;
  color: var(--secondary);
}
.contact-page__eyebrow {
  margin: 0 0 0.55rem;
  font-family: "OSWALD", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-page__intro h1 {
  margin: 0 0 0.85rem;
  font-family: "Gelica", sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--white);
  line-height: 1.05;
}
.contact-page__lead {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--secondary);
  opacity: 0.95;
}
.contact-page__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
}
.contact-side {
  display: grid;
  gap: 0.85rem;
}
.contact-side__seal {
  width: min(180px, 55%);
  margin: 0 auto 0.5rem;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.28));
  animation: seal-float 4.5s ease-in-out infinite;
}
@keyframes seal-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.contact-channel {
  display: block;
  background: rgba(255, 233, 181, 0.12);
  border: 1px solid rgba(255, 233, 181, 0.28);
  padding: 1rem 1.15rem;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  color: var(--secondary);
}
.contact-channel:hover {
  background: rgba(255, 233, 181, 0.2);
  border-color: rgba(255, 233, 181, 0.55);
  transform: translateY(-2px);
}
.contact-channel--static { cursor: default; }
.contact-channel--static:hover { transform: none; }
.contact-channel__label {
  display: block;
  font-family: "OSWALD", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.contact-channel__value {
  font-family: "Gelica", sans-serif;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--secondary);
}
.contact-card {
  background: var(--gold);
  padding: 2.75rem 2.4rem;
  box-shadow: 0 28px 70px -30px rgba(0, 0, 0, 0.45);
  transform: translateY(12px);
  opacity: 0;
  animation: card-in 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s forwards;
}
@keyframes card-in {
  to { transform: translateY(0); opacity: 1; }
}
.contact-card h2 {
  margin: 0 0 0.65rem;
  font-family: "Gelica", sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  color: var(--primary);
  text-transform: capitalize;
  line-height: 1;
}
.contact-card__lead {
  margin: 0 0 1.5rem;
  font-family: "Gelica", sans-serif;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--accent);
}
.contact-form {
  display: grid;
  gap: 1rem;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-family: "OSWALD", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-form .optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.7;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  font-family: "Gelica", sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  padding: 0.85rem 1rem;
  border: 2px solid rgba(89, 2, 14, 0.15);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}
.contact-form__submit {
  justify-self: start;
  margin-top: 0.35rem;
  min-width: 200px;
}
.contact-form__note {
  margin: 0;
  font-family: "Gelica", sans-serif;
  font-size: 0.95rem;
  color: var(--accent);
}
.page-head { padding: 0 0 1rem; }

/* ========== BUTTONS / FOOTER / ADMIN ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 0;
  font-family: "OSWALD", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-danger { background: #8b1e1e; }
.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.85rem; }

/* Rodapé — vermelho marca + bloco útil */
.site-footer {
  background:
    linear-gradient(180deg, #e23a3a 0%, #dd3333 40%, #c62828 100%);
  color: #ffffff;
}
.footer-top {
  padding: 2.75rem 0 2rem;
  border-bottom: 1px solid rgba(255, 249, 226, 0.18);
}
.footer-top__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1.1fr 0.9fr;
  gap: 1.75rem;
}
.footer-brand-block img {
  height: 42px;
  width: auto;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}
.footer-brand-block p {
  margin: 0;
  max-width: 16rem;
  font-family: "Gelica", sans-serif;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #fff9e2;
  opacity: 0.92;
}
.footer-col h3 {
  margin: 0 0 0.85rem;
  font-family: "OSWALD", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffe9b5;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 0.45rem;
  font-family: "Gelica", sans-serif;
  font-size: 0.98rem;
  line-height: 1.4;
  color: #fff9e2;
}
.footer-col a {
  color: #fff9e2;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: #dd9933; }
.footer-social-icons {
  display: grid;
  gap: 0.55rem;
}
.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "OSWALD", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff9e2;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-social-icons a:hover {
  color: #dd9933;
  transform: translateX(3px);
}
.footer-bottom {
  padding: 1rem 0 1.15rem;
  text-align: center;
}
.footer-copy {
  margin: 0;
  font-family: Rubik, "Gelica", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: capitalize;
  line-height: 1.4;
  color: #ffffff;
}
.footer-copy a {
  color: #fff9e2;
  text-decoration: underline;
}
.footer-copy a:hover { color: #dd9933; }

.admin-body {
  min-height: 100vh;
  background-color: var(--cream);
  background-image: var(--fundo);
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}
.admin-wrap { width: min(960px, calc(100% - 2rem)); margin: 2rem auto; }
.admin-card {
  background: #fff;
  border: 1px solid rgba(89, 2, 14, 0.12);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 12px 40px -24px rgba(89, 2, 14, 0.35);
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid rgba(89, 2, 14, 0.12);
  vertical-align: middle;
}
.admin-table img { width: 48px; height: 48px; object-fit: contain; }
.form-grid { display: grid; gap: 1rem; }
.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-family: "OSWALD", sans-serif;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  font: inherit;
  font-family: "Gelica", sans-serif;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(89, 2, 14, 0.15);
  background: #fff;
  border-radius: 8px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.checkbox-row { display: flex !important; align-items: center; gap: 0.55rem; }
.flash { padding: 0.85rem 1rem; margin-bottom: 1rem; font-weight: 700; border-radius: 8px; }
.flash.ok { background: #e7f6ea; color: #1f5c2e; }
.flash.err { background: #fde8e8; color: #8b1e1e; }
.actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.login-box { max-width: 420px; margin: 4rem auto; }
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.captcha-row {
  display: grid;
  gap: 0.75rem;
}
.captcha-row__image {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.captcha-row__image img {
  display: block;
  border: 2px solid rgba(89, 2, 14, 0.15);
  background: #ffe9b5;
  height: 56px;
  width: 180px;
}

/* Páginas internas: main precisa de respiro sob header sticky implícito */
.is-inner main > .products-page,
.is-inner main > .contact-page,
.is-inner main > .wrap {
  /* header is relative, not overlay */
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .carousel__slide { flex-basis: 33.333%; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; }
  .contact-page__grid { gap: 1.25rem; }
}
@media (max-width: 860px) {
  .menu {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    transform: none;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--primary);
    padding: 0.5rem 0;
    box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.45);
  }
  .menu.is-open { display: flex; }
  .menu a {
    padding: 0.95rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .menu a.is-active { border-bottom-color: rgba(255, 255, 255, 0.12); background: rgba(0, 0, 0, 0.08); }
  .nav-toggle { display: flex; }
  .social-links { display: none; }
  .site-header--home { background: rgba(255, 46, 53, 0.92); }
  .carousel { padding: 0 2.2rem; }
  .carousel__slide { flex-basis: 50%; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid,
  .product-detail,
  .form-row,
  .contact-page__grid,
  .contact-form__row,
  .footer-top__grid { grid-template-columns: 1fr; }
  .field-section { min-height: 480px; }
  .field-card { padding: 30px 25px; }
  .field-card h2 { font-size: 2rem; }
  .contact-side__seal { margin-left: 0; }
  .hero-banner__img { height: 56vh; min-height: 340px; }
  .promo-strip { margin-top: 28px; }
  .promo-strip img { max-height: 220px; }
  body {
    background-attachment: scroll;
    background-size: cover;
  }
}
@media (max-width: 520px) {
  .carousel__slide { flex-basis: 100%; }
  .pack img,
  .product-item img { height: 210px; }
  .products-grid { gap: 1.25rem 0.5rem; }
}
