/* ============================================================
   N3 AGROSCIENCE — Global Stylesheet
   Light theme | Crimson Text + Inter + DM Sans | Responsive
   Fiel ao design do Figma Dev Mode
   ============================================================ */


/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg: #ffffff;
  --bg-off: #f9f9f7;
  --bg-subtle: #f4f4f0;
  --text-primary: #000000;
  --text-secondary: #6f6f6f;
  --text-muted: #929292;
  --divider: #e9e9e9;
  --accent: #8e9c78;
  /* Mid Green */
  --accent-dark: #6b7a57;
  --btn-bg: #000000;
  --btn-text: #ffffff;
  --font-display: 'Crimson Text', Georgia, serif;
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius-pill: 100px;
  --radius-card: 24px;
  --radius-btn: 12px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.14);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
  --gap-section: 120px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 64px;
}

/* ── Typography ─────────────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(72px, 12vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--text-primary);
}

p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
  border-color: rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border: 2px solid transparent;
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(142, 156, 120, 0.35);
}

/* ── Navbar — pill flutuante ─────────────────────────────────── */
.site-logo {
  position: fixed;
  top: 24px;
  left: 24px; /* aligned with calc(100% - 48px) and margin auto = 24px padding effectively */
  z-index: 1001;
  display: flex;
  align-items: center;
}

.site-logo.can-animate {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}

.site-logo--hidden {
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
}

.site-logo img {
  height: 72px;
  width: auto;
  display: block;
  object-fit: contain;
}

.navbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  width: 620px;
  max-width: calc(100vw - 120px);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition), background var(--transition);
}

.navbar.can-animate {
  transition: box-shadow var(--transition), background var(--transition), transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}

.navbar--hidden {
  transform: translate(-50%, -120%);
  opacity: 0;
  pointer-events: none;
}


.navbar__nav {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 8px;
  flex: 1;
  justify-content: center;
}

.navbar__nav a {
  /* Tamanho fixo por link para não deslocar ao ativar */
  display: inline-block;
  padding: 8px 20px;
  min-width: 90px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  /* font-weight fixo — não muda no estado ativo */
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  transition: background var(--transition);
  white-space: nowrap;
}

.navbar__nav a:hover {
  background: rgba(0, 0, 0, 0.06);
}

.navbar__nav a.active {
  background: rgba(0, 0, 0, 0.09);
  font-weight: 500;
  /* mesmo peso — só muda o background */
}

.navbar__cta {
  margin-left: 8px;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  cursor: pointer;
  margin: 0; /* Ensures the pill surrounds it symmetrically */
  padding: 0;
  border: none;
  background: transparent;
}

.navbar__hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar__hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu */
.navbar__mobile-menu {
  display: none;
  position: fixed;
  top: 72px; /* moved up closer to the navbar */
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--divider);
  border-radius: var(--radius-card);
  padding: 16px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  box-shadow: var(--shadow-hover);
}

.navbar__mobile-menu.open {
  display: flex;
}

.navbar__mobile-menu a {
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-btn);
  transition: all var(--transition);
  border-bottom: 1px solid var(--divider);
}

.navbar__mobile-menu a:last-child {
  border-bottom: none;
}

.navbar__mobile-menu a:hover {
  background: var(--bg-subtle);
}

.navbar__mobile-menu .btn {
  margin-top: 8px;
  width: 100%;
}

/* ── Page Hero (Início especial) ─────────────────────────────── */
.hero-home {
  padding-top: 180px;
  padding-bottom: 50px;
  position: relative;
  overflow: hidden;
}

.hero-home__text-container {
  padding: 0 64px;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.hero-home .display {
  text-align: center;
  width: 100%;
}

.hero-home__image {
  width: calc(100% - 48px);
  max-width: 1600px;
  margin: 60px auto 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--accent);
  position: relative;
}

.hero-home__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Page Hero (internas) ────────────────────────────────────── */
.page-hero {
  padding-top: 160px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--divider);
}

.page-hero .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
}

/* ── Section utilities ───────────────────────────────────────── */
.section {
  padding: var(--gap-section) 0;
}

.section-alt {
  background: var(--bg-off);
}

hr.divider {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 0;
}

/* ── Weather Ticker ──────────────────────────────────────────── */
.weather-bar {
  background: var(--bg);
  --wt-duration: 30s;
  overflow: hidden;
}

/* Wrapper: max-content permite o tamanho ideal para o translateX.
   margin: 0 auto centraliza quando cabe na tela. */
.wt-wrapper {
  display: flex;
  align-items: stretch;
  width: max-content;
  margin: 0 auto;
}

/* Modo ticker: remove a margem para colar à esquerda e começar a rolar */
.wt-wrapper.scrolling {
  margin: 0;
  animation: wt-scroll var(--wt-duration) linear infinite;
}

@keyframes wt-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.wt-wrapper.scrolling:hover {
  animation-play-state: paused;
}

/* Track: linha de cards */
.wt-track {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
}

/* Card individual — largura fixa para espaçamento igual */
.wt-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 148px;
  /* largura fixa — mesma para todos */
  flex-shrink: 0;
  padding: 12px 0;
  border-right: 1px solid var(--divider);
}

.wt-card:last-child {
  border-right: none;
}

.wt-card:first-child {
  border-left: 1px solid var(--divider);
}

/* Card de 'Atualizado' — mesmo estilo dos outros, cor diferente no nome */
.wt-name--updated {
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Nome da cidade (linha de cima) */
.wt-name {
  display: flex;
  align-items: baseline;
  min-width: 0;
  /* permite encolher */
  max-width: 130px;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--text-muted);
}

/* Parte do nome — trunca com reticências */
.wt-city {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

/* Parte do estado — sempre visível, nunca encolhe */
.wt-state {
  flex-shrink: 0;
  white-space: nowrap;
  color: var(--accent-dark);
  font-weight: 700;
}

/* Linha de baixo: emoji + temperatura alinhados */
.wt-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wt-emoji {
  font-size: 1.125rem;
  line-height: 1;
}

.wt-temp {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

/* ── "Caixa texto — Sobre" ───────────────────────────────────── */
.about-cta {
  padding: 80px 0;
  text-align: center;
  border-bottom: 1px solid var(--divider);
}

.about-cta h2 {
  font-size: clamp(28px, 4vw, 56px);
  max-width: 800px;
  margin: 0 auto 16px;
}

.about-cta p {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 32px;
}

/* ── Marquee de Produtos ─────────────────────────────────────── */
.products-marquee {
  padding: 60px 0;
  overflow: hidden;
  width: 100%;
}

.pm-wrapper {
  display: flex;
  align-items: stretch;
  width: max-content;
}

.pm-wrapper.scrolling {
  animation: pm-scroll 40s linear infinite;
}

.pm-wrapper.scrolling:hover {
  animation-play-state: paused;
}

@keyframes pm-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.pm-track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  padding-right: 16px;
  flex-shrink: 0;
}

.pm-track .product-card {
  width: 270px;
  flex-shrink: 0;
}

.product-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid var(--divider);
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  border-color: var(--accent);
}

.product-card__img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--accent);
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  animation: product-img-pulse 6s infinite ease-in-out;
}

.product-card.delay-1 .product-card__img img {
  animation-delay: 1.5s;
}

.product-card.delay-2 .product-card__img img {
  animation-delay: 3s;
}

.product-card.delay-3 .product-card__img img {
  animation-delay: 4.5s;
}

.product-card:hover .product-card__img img {
  transform: scale(1.08);
  animation-play-state: paused;
}

@keyframes product-img-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.product-card__body {
  padding: 16px 20px;
}

.product-card__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.product-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

/* ── EMPRESA section ─────────────────────────────────────────── */
.empresa-intro {
  padding-top: 0;
  padding-bottom: var(--gap-section);
}

.empresa-intro__headline {
  border-top: 1px solid var(--divider);
  padding: 60px 0 60px;
  text-align: center;
}

.empresa-intro__headline h1,
.empresa-intro__headline h2 {
  font-size: clamp(28px, 4vw, 48px);
  max-width: 800px;
  margin: 0 auto;
}

.empresa-intro__headline h1 em,
.empresa-intro__headline h2 em {
  font-size: clamp(20px, 2.5vw, 32px);
}

.empresa-intro__hero-img {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16/8;
  background: var(--accent);
  position: relative;
  margin-bottom: 60px;
}

.empresa-intro__hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.empresa-intro__hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(142, 156, 120, 0.18));
  border-radius: 24px;
  pointer-events: none;
}

.empresa-about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid var(--divider);
  padding: 60px 0 0;
}

.empresa-about-row__text {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-right: 80px;
}

.empresa-about-row__text .label {
  color: var(--text-muted);
}

.empresa-about-row__text p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-weight: 400;
}

.empresa-about-row__img {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-subtle);
}

.empresa-about-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Cards MVV (Missão / Visão / Valores) ────────────────────── */
.mvv-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
  border-top: 1px solid var(--divider);
  padding-top: 60px;
}

.mvv-card {
  border-radius: 28px;
  padding: 48px 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.mvv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

/* Card colours */
.mvv-card--missao  { background: #1a4a2e; }
.mvv-card--visao   { background: #2e7d3a; }
.mvv-card--valores { background: #7db92a; }

/* Icon — large, no background box */
.mvv-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  opacity: 0.92;
}

.mvv-card--missao  .mvv-card__icon,
.mvv-card--visao   .mvv-card__icon { color: rgba(255,255,255,0.9); }
.mvv-card--valores .mvv-card__icon { color: rgba(20, 55, 5, 0.75); }

/* Title */
.mvv-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

.mvv-card--missao  .mvv-card__title,
.mvv-card--visao   .mvv-card__title { color: #ffffff; }
.mvv-card--valores .mvv-card__title { color: #1a3a05; }

/* Body text */
.mvv-card__text {
  font-size: 0.9375rem;
  line-height: 1.75;
  font-family: var(--font-body);
}

.mvv-card--missao  .mvv-card__text,
.mvv-card--visao   .mvv-card__text { color: rgba(255,255,255,0.82); }
.mvv-card--valores .mvv-card__text { color: rgba(20, 55, 5, 0.78); }

@media (max-width: 900px) {
  .mvv-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* ── Produtos — Hero ─────────────────────────────────────────── */
.produtos-hero {
  padding-top: 200px;
  padding-bottom: 60px;
  text-align: center;
}

.produtos-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
}

/* ── Category Navigation (sticky pills) ──────────────────────── */
.cat-nav {
  position: sticky;
  top: 72px;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--divider);
}

.cat-nav__inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 64px;
  scrollbar-width: none;
}

.cat-nav__inner::-webkit-scrollbar { display: none; }

.cat-nav__pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--divider);
  white-space: nowrap;
  transition: all var(--transition);
  background: transparent;
  cursor: pointer;
}

.cat-nav__pill:hover {
  background: var(--bg-subtle);
  border-color: var(--accent);
  color: var(--text-primary);
}

.cat-nav__pill.active {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--text-primary);
}

/* ── Category Sections ───────────────────────────────────────── */
.cat-section {
  padding: 80px 0;
  border-top: 1px solid var(--divider);
}

.cat-section__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.cat-section__header h2 {
  font-size: clamp(24px, 3.5vw, 40px);
}

.cat-section__count {
  background: var(--bg-subtle);
  border: 1px solid var(--divider);
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── Product list ────────────────────────────────────────────── */
.cat-products {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cat-product {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
  padding: 32px;
  background: var(--bg-subtle);
  border-radius: var(--radius-card);
  border: 1px solid var(--divider);
  transition: all var(--transition);
}

.cat-product:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.cat-product__img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--accent);
  flex-shrink: 0;
}

.cat-product__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cat-product:hover .cat-product__img img {
  transform: scale(1.04);
}

.cat-product__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.cat-product__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 26px);
  color: var(--text-primary);
  line-height: 1.2;
}

.cat-product__benefits ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.cat-product__benefits ul li {
  font-size: 1rem;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.cat-product__benefits ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 900px) {
  .cat-nav__inner { padding: 12px 24px; }

  .cat-product {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cat-product__img {
    aspect-ratio: 16/9;
    max-height: 260px;
  }
}

@media (max-width: 600px) {
  .cat-section { padding: 60px 0; }
  .cat-section__header { flex-wrap: wrap; }
}

/* ── Catálogo de Subcategoria ────────────────────────────────── */

.catalogo-hero {
  padding-top: 180px;
  padding-bottom: 56px;
}

.catalogo-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: color var(--transition);
}

.catalogo-back:hover { color: var(--accent); }

.catalogo-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 8px;
}

.catalogo-hero__sub {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.catalogo-section {
  padding-bottom: 100px;
  border-top: 1px solid var(--divider);
  padding-top: 64px;
}

/* ── Catálogo — Card Grid ────────────────────────────────────── */
.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.catalogo-card {
  background: var(--bg);
  border-radius: var(--radius-card);
  border: 1px solid var(--divider);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.catalogo-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.catalogo-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-subtle);
}

.catalogo-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.catalogo-card:hover .catalogo-card__img img {
  transform: scale(1.05);
}

.catalogo-card__body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.catalogo-card__name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.catalogo-card__tag {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.catalogo-card__cta {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition);
}

.catalogo-card__cta:hover { color: var(--accent); }

@media (max-width: 1000px) {
  .catalogo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .catalogo-grid { grid-template-columns: 1fr; }
}


/* ── Estados ─────────────────────────────────────────────────── */


.estados-section {
  border-top: 1px solid #929292;
  padding: 80px 0 var(--gap-section);
  text-align: center;
}

.estados-section h2 {
  font-size: clamp(24px, 4vw, 48px);
  max-width: 640px;
  margin: 0 auto 48px;
}

.estados-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.estado-tag {
  background: var(--bg-off);
  border: 1px solid var(--divider);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.estado-tag:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: #f2f5ee;
}

/* ── Page hero (produtos, nutrição, empresa) ─────────────────── */
.inner-hero {
  padding-top: 180px;
  padding-bottom: 60px;
}

.inner-hero h1 {
  font-size: clamp(40px, 7vw, 80px);
}

/* ── Feature rows (legado — mantido por compatibilidade) ─────── */
.feature-row-section {
  border-top: 1px solid var(--divider);
  padding: 80px 0;
}

.feature-row-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-row-section.rev .container {
  direction: rtl;
}

.feature-row-section.rev .container>* {
  direction: ltr;
}

.feature-row__img {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-subtle);
}

.feature-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-row__img:hover img {
  transform: scale(1.03);
}

.feature-row__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-row__badge {
  display: inline-block;
  background: #f2f5ee;
  border: 1px solid #d0d9c4;
  border-radius: var(--radius-pill);
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.feature-row__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--text-primary);
  line-height: 1.15;
}

.feature-row__benefits {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 4px;
}

.feature-row__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--divider);
}

.feature-row__benefits li:last-child {
  border-bottom: none;
}

.feature-row__benefits li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 700;
}

/* ── Produtos Hero (centralizado, fiel ao Figma) ─────────────── */
.produtos-hero {
  padding-top: 180px;
  padding-bottom: 60px;
  text-align: center;
}

.produtos-hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* ── Produto Row — layout alternado ──────────────────────────── */
.produto-row {
  padding: 40px 0;
}

.produto-row .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Linha reversa: reordena as colunas */
.produto-row--rev .container {
  direction: rtl;
}

.produto-row--rev .container>* {
  direction: ltr;
}

.produto-row__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 0;
}

.produto-row__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
  color: var(--text-primary);
}

.produto-row__benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.produto-row__benefits-label {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.produto-row__benefits ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.produto-row__benefits li {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.produto-row__img {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 544/432;
  background: var(--bg-subtle);
}

.produto-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.produto-row__img:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .produto-row .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .produto-row--rev .container {
    direction: ltr;
  }

  .produto-row__content {
    padding: 0;
  }

  .produtos-hero {
    padding-top: 120px;
    padding-bottom: 40px;
  }
}


/* ── Nutrição intro ──────────────────────────────────────────── */
.nutricao-feature {
  border-top: 1px solid var(--divider);
  padding: 80px 0;
}

.nutricao-feature .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.nutricao-feature__img {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-subtle);
}

.nutricao-feature__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nutricao-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.nutricao-gallery__item {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--bg-subtle);
}

.nutricao-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.nutricao-gallery__item:hover img {
  transform: scale(1.05);
}

/* ── Nutrição — Banner imagem grande ─────────────────────────── */
.nutricao-banner {
  width: 100%;
  margin-top: 48px;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.nutricao-banner img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.nutricao-banner:hover img {
  transform: scale(1.02);
}

/* ── Nutrição — Tech (duas colunas) ──────────────────────────── */
.nutricao-tech .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.nutricao-tech__content {
  display: flex;
  flex-direction: column;
}

.nutricao-tech__img {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-subtle);
  flex-shrink: 0;
}

.nutricao-tech__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.nutricao-tech__img:hover img {
  transform: scale(1.03);
}

@media (max-width: 1024px) {
  .nutricao-tech .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nutricao-tech__img {
    aspect-ratio: 16/9;
  }
}

/* ── Contato ─────────────────────────────────────────────────── */
.contact-layout .container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}

.contact-info h2 {
  font-size: clamp(24px, 3vw, 40px);
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: center;
}

.contact-item__icon {
  width: 26px;
  height: 26px;
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item__value {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9375rem;
}

.contact-form {
  background: var(--bg-off);
  border: 1px solid var(--divider);
  border-radius: var(--radius-card);
  padding: 40px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--divider);
  border-radius: var(--radius-btn);
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  transition: border-color var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(142, 156, 120, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--divider);
  padding: 48px 0;
  background: var(--bg);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.footer__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__nav a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--text-primary);
}

.footer__social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer__social a {
  color: var(--text-secondary);
  transition: color var(--transition);
  display: flex;
  align-items: center;
}

.footer__social a[aria-label="Instagram"]:hover {
  color: #E1306C;
}

.footer__social a[aria-label="LinkedIn"]:hover {
  color: #0077b5;
}

/* ── Botões Sociais Fale Conosco ─────────────────────────────────────────────── */
.contact-social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--divider);
  border-radius: var(--radius-btn);
  padding: 9px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-off);
  transition: all var(--transition);
  text-decoration: none;
}

.contact-social-btn.instagram-btn:hover {
  border-color: #E1306C;
  color: #E1306C;
}

.contact-social-btn.linkedin-btn:hover {
  border-color: #0077b5;
  color: #0077b5;
}

/* ── Animations ──────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Desabilita animações após a primeira visita para uma navegação mais ágil */
body.visited .fade-in {
  opacity: 1;
  transform: none;
  transition: none;
}
body.visited .delay-1, 
body.visited .delay-2 {
  transition-delay: 0s;
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container {
    padding: 0 40px;
  }

  :root {
    --gap-section: 80px;
  }

  .empresa-about-row {
    grid-template-columns: 1fr;
  }

  .empresa-about-row__text {
    padding-right: 0;
  }

  .nutricao-feature .container {
    grid-template-columns: 1fr;
  }

  .contact-layout .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-row-section .container,
  .feature-row-section.rev .container {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
  }

  .produto-row .container,
  .produto-row--rev .container {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 40px;
  }

  .produto-row__img {
    order: -1;
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  :root {
    --gap-section: 64px;
  }

  .site-logo {
    top: 16px;
    left: 16px;
  }

  .site-logo img {
    height: 48px;
  }

  .navbar {
    top: 20px; /* moved down to be closer to menu */
    padding: 8px 12px;
    width: max-content;
    left: auto;
    right: 16px;
    transform: none;
  }

  .navbar--hidden {
    transform: translateY(-120%);
  }

  .navbar__nav {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar__cta .btn {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  .hero-home {
    padding-top: 120px;
  }

  .hero-home__text-container {
    padding: 0 24px;
  }

  .hero-home__image {
    width: calc(100% - 48px);
  }

  .inner-hero {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .about-cta h2 {
    font-size: clamp(24px, 6vw, 36px);
  }

  .products-row .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .nutricao-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer__nav {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .display {
    font-size: clamp(48px, 14vw, 72px);
  }

  .products-row .container {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .nutricao-gallery {
    grid-template-columns: 1fr;
  }
}