:root {
  --color-white: #ffffff;
  --color-bg: #fbfaf4;
  --color-primary: #4f9e1c;
  --color-primary-dark: #3a7a12;
  --color-primary-light: #eef7e2;
  --color-lime: #7cc61a;
  --color-lime-dark: #5a9e10;
  --color-accent: #0c3d2e;
  --color-accent-light: #1a5c45;
  --color-text: #142a20;
  --color-text-light: #4d6058;
  --color-border: #dde9dc;
  --color-highlight: #f4a521;
  --shadow-sm: 0 2px 8px rgba(12, 61, 46, 0.08);
  --shadow-md: 0 8px 24px rgba(12, 61, 46, 0.12);
  --shadow-lg: 0 16px 48px rgba(12, 61, 46, 0.16);
  --radius: 14px;
  --header-height: 88px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Georgia', serif;
  line-height: 1.25;
  color: var(--color-accent);
}

h2.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-align: center;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  width: 100%;
}

h2.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
  margin: 16px auto 0;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 10px;
  position: relative;
  padding-left: 28px;
}

.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  transform: translateY(-50%);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-accent-light);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 12px 20px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 68px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.04) rotate(-2deg);
}

.logo-img--footer {
  height: 76px;
  background: var(--color-white);
  padding: 12px 18px;
  border-radius: 14px;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-menu a {
  font-weight: 500;
  color: var(--color-text);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.nav-cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid var(--color-primary);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-accent);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.85;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(251, 253, 251, 0.78) 0%, rgba(255,255,255,0.32) 50%, transparent 100%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  max-width: 820px;
}


.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin-bottom: 20px;
}

.text-forest {
  color: var(--color-accent);
}

.text-lime {
  color: #3f7a0c;
}

.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 70px;
  fill: var(--color-white);
  z-index: 1;
}

.hero h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--color-text);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.7;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6), 0 2px 16px rgba(255, 255, 255, 0.5);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
}

.hero-actions .btn {
  justify-content: center;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-gallery {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-gallery:hover,
.btn-gallery:focus-visible {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  color: var(--color-white);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--color-white);
  border-color: #25d366;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: #1ebd5a;
  border-color: #1ebd5a;
  color: var(--color-white);
}

/* ===== Sobre ===== */
.about {
  background:
    radial-gradient(circle at 92% 8%, rgba(124, 198, 26, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 4% 96%, rgba(12, 61, 46, 0.06) 0%, transparent 40%),
    var(--color-white);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 64px;
}

.about-grid p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-grid p:first-of-type::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 2.4em;
  float: left;
  line-height: 0.9;
  padding-right: 8px;
  color: var(--color-primary);
}

.about > .container > h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.about > .container > h3 {
  text-align: center;
  margin-bottom: 28px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.value-card {
  background: var(--color-primary-light);
  border-radius: var(--radius);
  padding: 28px 18px;
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.value-card .icon {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 42% 58% 61% 39% / 46% 40% 60% 54%;
  background: var(--color-white);
  color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-radius 0.4s ease, background 0.3s ease;
}

.value-card:hover .icon {
  border-radius: 58% 42% 39% 61% / 40% 46% 54% 60%;
  background: var(--color-lime);
  color: var(--color-white);
}

.value-card .icon svg {
  width: 28px;
  height: 28px;
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.value-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ===== Mercado ===== */
.market {
  background:
    linear-gradient(rgba(238, 247, 226, 0.85), rgba(238, 247, 226, 0.85)),
    url('../images/_MG_0202.jpg') center 60% / cover no-repeat;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.market-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 0 28px 36px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.market-img {
  margin: 0 -28px 0;
  height: 160px;
  overflow: hidden;
}

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

.market-card:hover .market-img img {
  transform: scale(1.08);
}

.market-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.market-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 63% 37% 54% 46% / 55% 45% 55% 45%;
  background: linear-gradient(135deg, var(--color-lime), var(--color-accent));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-top: -26px;
  margin-bottom: 18px;
  border: 3px solid var(--color-white);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, border-radius 0.4s ease, background 0.3s ease;
}

.market-card:hover .icon {
  border-radius: 46% 54% 37% 63% / 45% 55% 45% 55%;
  transform: scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, var(--color-lime-dark), var(--color-accent));
}

.market-card .icon svg {
  width: 26px;
  height: 26px;
}

.market-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.market-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Produtos ===== */
.products {
  background:
    linear-gradient(rgba(255, 255, 255, 0.87), rgba(255, 255, 255, 0.87)),
    url('../images/_MG_5859.jpg') center 55% / cover no-repeat;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.products-cta {
  margin-top: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.products-cta p {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--color-accent);
}

.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card .product-img {
  height: 300px;
  position: relative;
  overflow: hidden;
}

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

.product-card .product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 80%, rgba(12, 61, 46, 0.18) 100%);
}

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-card .product-body {
  padding: 22px;
}

.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.product-card p {
  color: var(--color-text-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ===== CTA banner ===== */
.cta-banner {
  background:
    linear-gradient(135deg, rgba(12, 61, 46, 0.75), rgba(58, 122, 18, 0.65)),
    url('../images/gallery/_MG_5921.jpg') center 30% / cover no-repeat;
  background-attachment: fixed;
  min-height: 480px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (max-width: 900px) {
  .cta-banner {
    background-attachment: scroll;
  }
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
  animation: ctaShimmer 8s ease-in-out infinite;
}

@keyframes ctaShimmer {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-5%, 5%); }
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 14px;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
  line-height: 1.7;
}

.cta-banner .btn-primary {
  background: var(--color-white);
  color: var(--color-accent);
  border-color: var(--color-white);
  position: relative;
}

.cta-banner .btn-primary:hover,
.cta-banner .btn-primary:focus-visible {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

/* ===== Galeria ===== */
.gallery-page-header {
  padding: calc(var(--header-height) + 64px) 0 32px;
  background: var(--color-primary-light);
  text-align: center;
}

.gallery-full {
  padding-top: 56px;
}

.gallery-category {
  margin-bottom: 56px;
}

.gallery-category:last-child {
  margin-bottom: 0;
}

.gallery-category-title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-left: 18px;
  border-left: 4px solid var(--color-lime);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-chip {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.filter-chip:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.filter-chip.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.gallery-category.is-hidden {
  display: none;
}

.gallery {
  background: var(--color-white);
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 61, 46, 0.55), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-more {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 16px 12px;
  border-radius: 8px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox-next:hover { transform: translateY(-50%) translateX(3px); }

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ===== Contato ===== */
.contact {
  background:
    linear-gradient(rgba(238, 247, 226, 0.85), rgba(238, 247, 226, 0.85)),
    url('../images/_MG_0474.jpg') center 40% / cover no-repeat;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 22px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.contact-item:hover .icon {
  transform: scale(1.1);
  background: var(--color-primary);
  color: var(--color-white);
}

.contact-item .icon svg {
  width: 20px;
  height: 20px;
}

.contact-item h4 {
  font-size: 0.95rem;
  color: var(--color-accent);
  margin-bottom: 3px;
}

.contact-item p,
.contact-item a {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.contact-item a:hover {
  color: var(--color-primary);
}

.contact-note {
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-note:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-note .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--color-primary);
}

.contact-note h3 {
  margin-bottom: 10px;
}

.contact-note p {
  color: var(--color-text-light);
  margin-bottom: 24px;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-accent);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: var(--color-white);
  margin-bottom: 14px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  max-width: 320px;
  line-height: 1.7;
}

.footer h4 {
  color: var(--color-white);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--color-white);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

#montesite-footer-badge {
  width: 100%;
  text-align: center;
  line-height: 0;
  font-size: 0;
}

#montesite-footer-badge iframe {
  width: 100% !important;
  max-width: 100% !important;
  display: block;
}

/* ===== Botão flutuante WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 1500;
  color: var(--color-white);
  font-size: 1.7rem;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: whatsappPulse 2s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #1ebd5a;
  color: var(--color-white);
  transform: scale(1.1);
}

/* ===== Animações globais ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-rotate {
  opacity: 0;
  transform: rotateX(-15deg) translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-rotate.visible {
  opacity: 1;
  transform: rotateX(0) translateY(0);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: var(--shadow-md), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: var(--shadow-md), 0 0 0 12px rgba(37, 211, 102, 0); }
}

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

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

@keyframes iconShake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

@keyframes borderGlow {
  0%, 100% { border-color: var(--color-border); }
  50% { border-color: var(--color-primary); }
}

.value-card .icon {
  animation: iconFloat 3s ease-in-out infinite;
}

.market-card:nth-child(1) .icon { animation: iconFloat 3s ease-in-out infinite; }
.market-card:nth-child(2) .icon { animation: iconPulse 2.5s ease-in-out infinite; animation-delay: 0.3s; }
.market-card:nth-child(3) .icon { animation: iconShake 2s ease-in-out infinite; animation-delay: 0.6s; }

.value-card:nth-child(2) .icon { animation-delay: 0.4s; }
.value-card:nth-child(3) .icon { animation-delay: 0.8s; }
.value-card:nth-child(4) .icon { animation-delay: 1.2s; }
.value-card:nth-child(5) .icon { animation-delay: 1.6s; }

.market-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }

/* Stagger delays per section */
.market-grid.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.market-grid.stagger-children.visible > *:nth-child(2) { transition-delay: 0.15s; }
.market-grid.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }

.products-grid.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.products-grid.stagger-children.visible > *:nth-child(2) { transition-delay: 0.12s; }
.products-grid.stagger-children.visible > *:nth-child(3) { transition-delay: 0.24s; }
.products-grid.stagger-children.visible > *:nth-child(4) { transition-delay: 0.36s; }

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .hero .container,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 32px;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
}

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

@media (max-width: 760px) {
  section {
    padding: 64px 0;
  }

  h2.section-title::after {
    margin-top: 12px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--color-white);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-menu.open {
    max-height: 400px;
  }

  .nav-menu a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

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

  .eyebrow {
    padding-left: 0;
  }

  .eyebrow::before {
    display: none;
  }
}