/* ==========================================================================
   AGROPET MEDEIROS - RESPONSIVE DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Colors */
  --ref-green-primary: #3E7C35;
  --ref-green-dark: #1E3B18;
  --ref-green-deep: #12290f;
  --ref-green-light: #529E48;
  --ref-green-pill: #4A8C40;
  --ref-green-subtle: #EAF2E8;
  
  --accent-orange: #FF5900;
  --accent-orange-hover: #E04E00;
  
  --whatsapp-green: #25D366;
  --whatsapp-hover: #20BD5A;

  /* Surface & Neutrals */
  --bg-main: #F4F7F4;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --border-color: #E0E7DF;
  
  --text-dark: #142113;
  --text-muted: #4A5849;
  --text-light: #6C7A6B;
  --text-white: #FFFFFF;

  /* Fonts & Radius */
  --font-main: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --shadow-sm: 0 4px 12px rgba(30, 59, 24, 0.05);
  --shadow-md: 0 8px 24px rgba(30, 59, 24, 0.08);
  --shadow-lg: 0 16px 40px rgba(30, 59, 24, 0.12);

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body.menu-open {
  overflow: hidden;
}

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

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

:focus-visible {
  outline: 3px solid var(--accent-orange);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  z-index: 2000;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--text-white);
  color: var(--ref-green-dark);
  font-weight: 700;
  transform: translate(-50%, -180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

/* Floating WhatsApp shortcut */
.floating-whatsapp {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 1100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: var(--whatsapp-green);
  color: var(--text-white);
  box-shadow: 0 8px 18px rgba(18, 41, 15, 0.28), 0 2px 5px rgba(18, 41, 15, 0.2);
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp i {
  font-size: 1.45rem;
}

.floating-whatsapp:hover {
  background: var(--whatsapp-hover);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(18, 41, 15, 0.34), 0 3px 8px rgba(18, 41, 15, 0.2);
}

.floating-whatsapp span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Reusable Section Headers & Wrappers */
.ref-section-header {
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.ref-section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.ref-section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
}

.section-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* Reference Pill Tags */
.ref-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--ref-green-pill);
  color: var(--text-white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  max-width: 100%;
  word-break: break-word;
}

.ref-pill-tag.subtle {
  background-color: var(--ref-green-subtle);
  color: var(--ref-green-primary);
}

.ref-pill-tag.local-pill {
  background: rgba(255, 255, 255, 0.15);
}

/* Buttons System */
.ref-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background-color: var(--ref-green-primary);
  color: var(--text-white);
  font-weight: 600;
  font-size: 0.915rem;
  letter-spacing: 0.01em;
  padding: 0.65rem 1.4rem;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  touch-action: manipulation;
}

.ref-btn:hover {
  background-color: var(--ref-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.ref-btn:active {
  transform: translateY(0);
}

.ref-btn .btn-icon-circle {
  width: auto;
  height: auto;
  background-color: transparent;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.ref-btn i {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1;
  display: inline-block;
  opacity: 0.92;
}

.ref-btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
}

.ref-btn-whatsapp:hover {
  background-color: #20BD5A;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
}

.ref-btn-orange {
  background-color: var(--accent-orange, #FF5900);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(255, 89, 0, 0.28);
}

.ref-btn-orange:hover {
  background-color: var(--accent-orange-hover, #E04E00);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(255, 89, 0, 0.38);
}

.ref-btn-outline {
  background-color: transparent;
  color: var(--text-white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

.ref-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.header-wa-btn {
  padding: 0.52rem 1.15rem;
  font-size: 0.865rem;
  min-height: 38px;
}

.hero-wa-btn {
  font-size: 0.95rem;
  padding: 0.72rem 1.6rem;
  min-height: 44px;
}

.hero-icon-circle {
  font-size: 1rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-wrapper {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--ref-green-primary);
}

.mobile-nav-cta {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle Button */
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--ref-green-subtle);
  color: var(--ref-green-dark);
  border: 1px solid var(--border-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-toggle:hover {
  background-color: var(--ref-green-primary);
  color: var(--text-white);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.ref-hero-wrapper {
  position: relative;
  background-color: #12290f;
  color: var(--text-white);
}

.ref-hero {
  position: relative;
  z-index: 2;
  padding: 6rem 0 5rem;
  background-color: #12290f;
  background-image: 
    linear-gradient(90deg, #12290f 0%, rgba(18, 41, 15, 0.95) 25%, rgba(18, 41, 15, 0.65) 50%, rgba(18, 41, 15, 0.2) 75%, transparent 100%),
    url('hero_bg.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.ref-hero-layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 820px;
  margin: 0;
}

.ref-hero-content {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-store-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 2px solid rgba(255, 120, 40, 0.45);
  border-radius: 20px;
  box-shadow: 
    0 0 0 4px rgba(255, 255, 255, 0.08),
    0 24px 50px rgba(0, 0, 0, 0.35);
  transform: rotate(1.2deg);
}

.hero-store-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 25, 7, 0.8) 100%);
}

.hero-store-photo img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  object-position: center;
}

.hero-store-photo figcaption {
  position: absolute;
  z-index: 2;
  right: 1.25rem;
  bottom: 1.15rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-white);
  font-size: 0.9rem;
  font-weight: 700;
}

.ref-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.ref-hero-title span {
  color: #7CD96F;
}

.ref-hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.ref-hero-description {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.25rem;
  max-width: 620px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.hero-btn-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.hero-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-map-link:hover {
  color: #7CD96F;
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust-list i {
  color: #7CD96F;
  font-size: 1.05rem;
}

/* Location Bar Divider - Full Width Strip */
.ref-divider-container {
  position: relative;
  width: 100%;
  background: linear-gradient(90deg, #0e1e0b 0%, #163112 40%, #1a3815 60%, #0e1e0b 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 3px solid var(--accent-orange);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  padding: 0;
  z-index: 15;
}

.ref-location-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.9rem 0;
  width: 100%;
  margin-top: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  transition: var(--transition);
}

.location-bar-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.location-chip {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text-white);
  padding: 0.38rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.835rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.location-chip:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #8AE67D;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* ==========================================================================
   2. PURPOSE / ABOUT SECTION
   ========================================================================== */
.ref-purpose {
  padding: 5.5rem 0;
  background-color: var(--bg-main);
  text-align: center;
}

.ref-cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  text-align: left;
}

.ref-img-card {
  background-color: var(--bg-surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1.5px solid rgba(230, 81, 0, 0.22);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.ref-img-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(30, 59, 24, 0.1);
  border-color: rgba(230, 81, 0, 0.45);
}

.ref-card-img-wrapper {
  height: 210px;
  width: 100%;
  overflow: hidden;
  position: relative;
  border-bottom: 2px solid rgba(255, 89, 0, 0.28);
}

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

.ref-img-card:hover .ref-card-img-wrapper img {
  transform: scale(1.05);
}

.ref-card-body {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.ref-card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ref-green-dark);
  margin-bottom: 0.75rem;
}

.ref-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ==========================================================================
   3. DIFFERENTIALS SECTION
   ========================================================================== */
.ref-differentials {
  padding: 5.5rem 0;
  background-color: #FFFFFF;
}

.ref-diff-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.ref-diff-left h2 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.ref-diff-left p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.ref-diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ref-diff-card {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}

.ref-diff-card:hover {
  background-color: #FFFFFF;
  box-shadow: var(--shadow-md);
  border-color: var(--ref-green-primary);
}

.ref-diff-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--ref-green-subtle);
  color: var(--ref-green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.ref-diff-card h4 {
  font-size: 1.1rem;
  color: var(--ref-green-dark);
  margin-bottom: 0.4rem;
}

.ref-diff-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   4. PRODUCTS SHOWCASE
   ========================================================================== */
.ref-products {
  padding: 5.5rem 0;
  background-color: var(--bg-main);
  text-align: center;
}

.ref-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.ref-product-overlay-card {
  position: relative;
  height: 360px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1.5px solid rgba(255, 120, 40, 0.38);
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  text-align: left;
}

.ref-product-overlay-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(22, 46, 18, 0.22);
  border-color: rgba(255, 120, 40, 0.7);
}

.ref-product-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.ref-product-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 30%, rgba(22, 46, 18, 0.92) 100%);
}

.ref-product-content {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
  color: var(--text-white);
}

.ref-product-tag {
  background-color: var(--ref-green-pill);
  color: var(--text-white);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.ref-product-content h3 {
  font-size: 1.35rem;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

.ref-product-content p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

/* ==========================================================================
   5. LOCAL REGION FOCUS
   ========================================================================== */
.ref-local-banner {
  background: linear-gradient(135deg, var(--ref-green-dark) 0%, var(--ref-green-deep) 100%);
  color: var(--text-white);
  padding: 5rem 0;
}

.ref-local-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ref-local-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

.ref-local-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.75rem;
}

.ref-neighborhoods-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.ref-chip {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--text-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ref-chip i {
  color: #7CD96F;
}

.highlight-text {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.ref-local-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.ref-collage-wrapper {
  position: relative;
}

.ref-collage-img {
  border-radius: 22px;
  box-shadow: 
    0 0 0 4px rgba(255, 255, 255, 0.08),
    0 24px 50px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 120, 40, 0.45);
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ref-collage-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ref-collage-address i {
  color: var(--accent-orange);
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* ==========================================================================
   6. ABOUT HISTORY SECTION
   ========================================================================== */
.ref-about {
  padding: 5.5rem 0;
  background-color: #FFFFFF;
}

.ref-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ref-about-img {
  border-radius: 20px;
  box-shadow: 
    0 0 0 4px #FFFFFF,
    0 0 0 5.5px rgba(230, 81, 0, 0.3),
    0 20px 48px rgba(22, 46, 18, 0.1);
  border: 1.5px solid rgba(230, 81, 0, 0.25);
  width: 100%;
  object-fit: cover;
  display: block;
}

.about-title {
  font-size: clamp(1.8rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--ref-green-dark);
  margin-bottom: 0.5rem;
}

.about-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 1.25rem;
}

.about-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.about-highlight {
  color: var(--ref-green-dark);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
}

.about-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   VISIT US / LOCATION & CONTACT (ESTILO REFERÊNCIA)
   ========================================================================== */
.ref-visit-section {
  position: relative;
  background: linear-gradient(145deg, #0d2c20 0%, #123829 50%, #0a241a 100%);
  color: var(--text-white);
  padding: 5.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ref-visit-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: stretch;
}

/* Map Container */
.visit-map-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  background-color: #E5E3DF;
}

.visit-map-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Floating Google Maps Badge (Estilo Referência) */
.visit-map-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 5;
  background: #FFFFFF;
  padding: 0.95rem 1.15rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  max-width: 290px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.badge-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.badge-title-group {
  display: flex;
  flex-direction: column;
}

.badge-store-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #142E1F;
  line-height: 1.25;
}

.badge-store-address {
  font-size: 0.76rem;
  color: #556B5C;
  line-height: 1.35;
  margin-top: 0.2rem;
}

.badge-external-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #EAF2E8;
  color: var(--ref-green-dark);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.badge-external-btn:hover {
  background: var(--ref-green-primary);
  color: #FFFFFF;
}

.badge-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.rating-number {
  font-weight: 800;
  color: #142E1F;
}

.rating-stars {
  display: inline-flex;
  gap: 0.1rem;
  color: #F5A623;
  font-size: 0.85rem;
}

.rating-count {
  color: #7A8C7F;
  font-size: 0.75rem;
  margin-left: 0.15rem;
}

/* Content Column */
.visit-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visit-header-tag {
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7CD96F;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.visit-tag-dash {
  font-size: 1rem;
  opacity: 0.8;
}

.visit-title {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 1.15rem;
  letter-spacing: -0.02em;
}

.visit-title span {
  color: #7CD96F;
}

.visit-description {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 540px;
}

/* 4 Information Cards (Estilo Referência) */
.visit-cards-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.visit-info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

.visit-info-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
}

.visit-card-clickable {
  cursor: pointer;
}

.visit-card-clickable:hover {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.1);
  border-color: #7CD96F;
}

.visit-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7CD96F;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.visit-card-texts {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex-grow: 1;
}

.visit-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
}

.visit-card-value {
  font-size: 0.925rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.35;
  margin: 0;
}

.card-arrow-icon {
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.visit-card-clickable:hover .card-arrow-icon {
  color: #7CD96F;
  transform: translateX(2px);
}

/* Botão CTA estilo referência */
.visit-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background-color: #EBD7C1;
  color: #142E1F;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
  cursor: pointer;
  text-align: center;
  border: none;
}

.visit-cta-btn:hover {
  background-color: #F7E7D4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  color: #0E2418;
}

/* ==========================================================================
   7. FAQ ACCORDION
   ========================================================================== */
.ref-faq {
  padding: 5.5rem 0;
  background-color: var(--bg-main);
  text-align: center;
}

.ref-faq-container {
  max-width: 840px;
  margin: 0 auto 3rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ref-faq-item {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.ref-faq-question {
  width: 100%;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 700;
  color: var(--ref-green-dark);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.ref-faq-circle-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--ref-green-primary);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.ref-faq-item.active .ref-faq-circle-icon {
  transform: rotate(180deg);
  background-color: var(--accent-orange);
}

.ref-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

.ref-faq-item.active .ref-faq-answer {
  max-height: 500px;
  padding: 0 1.75rem 1.5rem;
}

.faq-map-link {
  margin-top: 0.5rem;
}

.faq-map-link a {
  color: var(--ref-green-primary);
  font-weight: 700;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.footer {
  background-color: var(--ref-green-deep);
  color: var(--text-white);
  padding: 4rem 0 2rem;
}

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

.footer-logo-card {
  background-color: #FFFFFF;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  display: inline-block;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.4);
}

.footer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-tagline {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-col h4 {
  color: var(--text-white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-col p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-col p a:hover {
  color: #7CD96F;
  text-decoration: underline;
}

.footer-col p a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-address {
  line-height: 1.6;
}

.footer-highlight {
  color: #7CD96F !important;
  font-weight: 700;
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE BREAKPOINTS)
   ========================================================================== */

/* Laptop & Tablet Wide (<= 992px) */
@media (max-width: 992px) {
  .header-wa-btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  .nav-link:hover {
    background-color: var(--ref-green-subtle);
  }

  .mobile-nav-cta {
    display: block;
    margin-top: 1rem;
    padding-top: 0.5rem;
  }

  .mobile-nav-cta .ref-btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
  }

  .ref-hero {
    padding: 4.5rem 0 3.5rem;
  }

  .ref-hero-layout {
    max-width: 100%;
  }

  .ref-hero-content {
    max-width: 100%;
  }

  .ref-diff-layout, 
  .ref-local-grid, 
  .ref-about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .ref-visit-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .visit-map-container {
    min-height: 400px;
    height: 400px;
  }

  .ref-cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .ref-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .ref-location-bar {
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 0;
    margin-top: 0;
  }

  .location-bar-items {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.2rem 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Tablet Small (< 768px) */
@media (max-width: 768px) {
  .ref-purpose,
  .ref-differentials,
  .ref-products,
  .ref-local-banner,
  .ref-about,
  .ref-visit-section,
  .ref-faq {
    padding: 4rem 0;
  }

  .ref-section-header {
    margin-bottom: 2.5rem;
  }

  .ref-cards-grid-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ref-diff-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ref-faq-question {
    padding: 1.15rem 1.25rem;
  }

  .ref-faq-answer {
    padding: 0 1.25rem;
  }

  .ref-faq-item.active .ref-faq-answer {
    padding: 0 1.25rem 1.25rem;
  }
}

/* Mobile Devices (< 576px) */
@media (max-width: 576px) {
  .container {
    padding: 0 1.15rem;
  }

  .floating-whatsapp {
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }

  .ref-purpose,
  .ref-differentials,
  .ref-products,
  .ref-local-banner,
  .ref-about,
  .ref-visit-section,
  .ref-faq {
    padding: 3.25rem 0;
  }

  .ref-section-header {
    margin-bottom: 2rem;
  }

  /* BOTÕES NO MOBILE - Ergonomia, centralização e proporção perfeita */
  .btn-full-mobile {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 48px;
    padding: 0.8rem 1.4rem;
    font-size: 0.935rem;
    border-radius: 12px;
    box-sizing: border-box;
  }

  .section-btn-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 0.25rem;
  }

  .section-btn-wrapper .btn-full-mobile {
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-btn-container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    padding: 0;
  }

  .hero-btn-container .btn-full-mobile {
    max-width: 100%;
    width: 100%;
    margin: 0;
  }

  .ref-local-btns,
  .about-btns {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .ref-local-btns .btn-full-mobile,
  .about-btns .btn-full-mobile {
    width: 100%;
    max-width: 100%;
  }

  /* HERO NO MOBILE */
  .ref-hero {
    padding: 3.5rem 0 3rem;
  }

  .ref-hero-layout {
    align-items: flex-start;
    text-align: left;
  }

  .ref-hero-content {
    align-items: flex-start;
    text-align: left;
  }

  .ref-hero-title {
    font-size: clamp(1.8rem, 6.5vw, 2.5rem);
    margin-bottom: 0.85rem;
    text-align: left;
  }

  .ref-hero-subtitle {
    font-size: clamp(1rem, 3.5vw, 1.15rem);
    margin-bottom: 0.65rem;
  }

  .ref-hero-description {
    font-size: clamp(0.9rem, 3vw, 0.975rem);
    margin-bottom: 1.75rem;
  }

  /* PRODUTOS NO MOBILE */
  .ref-products-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ref-product-overlay-card {
    height: 300px;
    min-height: 300px;
  }

  .ref-product-content {
    padding: 1.35rem;
  }

  /* SEÇÃO PRONTOS PARA TE RECEBER NO MOBILE */
  .ref-visit-grid {
    gap: 2rem;
  }

  .visit-map-container {
    min-height: 320px;
    height: 320px;
    border-radius: 18px;
  }

  .visit-map-badge {
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 0.9rem;
    max-width: calc(100% - 1.5rem);
  }

  .badge-store-name {
    font-size: 0.88rem;
  }

  .badge-store-address {
    font-size: 0.72rem;
  }

  .visit-title {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
    margin-bottom: 0.85rem;
  }

  .visit-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .visit-cards-list {
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }

  .visit-info-card {
    padding: 0.85rem 1rem;
    gap: 0.85rem;
  }

  .visit-card-icon {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  .visit-card-value {
    font-size: 0.885rem;
  }

  .visit-cta-btn {
    padding: 0.95rem 1.25rem;
    font-size: 0.92rem;
    min-height: 48px;
    border-radius: 12px;
  }

  /* CHIPS E DIVISORES */
  .ref-location-bar {
    margin-top: 0;
    padding: 0.85rem 0;
  }

  .location-chip {
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
    white-space: normal;
    text-align: center;
  }

  .ref-neighborhoods-chips {
    gap: 0.45rem;
  }

  .ref-chip {
    font-size: 0.8rem;
    padding: 0.38rem 0.75rem;
    white-space: normal;
  }

  .ref-collage-address {
    font-size: 0.825rem;
    padding: 0.65rem 0.85rem;
    margin-top: 0.85rem;
  }

  /* FOOTER NO MOBILE */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-logo-card {
    margin: 0 auto 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* Telas ultra compactas (< 380px) */
@media (max-width: 380px) {
  .container {
    padding: 0 0.85rem;
  }

  .ref-hero-title {
    font-size: 1.65rem;
  }

  .btn-full-mobile {
    font-size: 0.88rem;
    padding: 0.75rem 1rem;
  }

  .visit-card-value {
    font-size: 0.82rem;
  }

  .ref-product-overlay-card {
    height: 280px;
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
