/* ============================================================
   REDE PINHEIRO BORGES — Design System v1.0
   Light Mode Corporativo | Mobile-First | Bento Grid
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  /* Brand Colors */
  --color-primary:        hsl(220, 76%, 48%);   /* #1A56DB - Azul institucional */
  --color-primary-dark:   hsl(220, 76%, 38%);
  --color-primary-light:  hsl(220, 76%, 94%);
  --color-accent:         hsl(142, 71%, 45%);    /* #22C55E - Verde sustentabilidade */
  --color-accent-dark:    hsl(142, 71%, 35%);
  --color-accent-light:   hsl(142, 71%, 92%);

  /* Neutrals (Fundo Branco por solicitação do usuário) */
  --color-bg:             #FFFFFF;
  --color-bg-alt:         #F8F9FA;
  --color-bg-section:     #F1F3F5;
  --color-text:           #1F2937;
  --color-text-muted:     #4B5563;
  --color-text-light:     #9CA3AF;
  --color-border:         #E5E7EB;
  --color-border-light:   #F3F4F6;

  /* Semantic */
  --color-ev-green:       hsl(155, 72%, 42%);
  --color-gnv-blue:       hsl(200, 80%, 50%);
  --color-podium-gold:    hsl(42, 95%, 55%);
  --color-danger:         hsl(0, 72%, 51%);

  /* Typography */
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing Scale */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg:  0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl:  0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.04);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Layout */
  --container-max:  1200px;
  --header-height:  108px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  width: 100%;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--color-primary-dark); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ---------- HEADER (Sticky + Frosted Glass) ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: transform var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}

.header-utility {
  background-color: var(--color-accent-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: 36px;
  box-sizing: border-box;
}

.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.utility-left a {
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.utility-left a:hover {
  color: var(--color-accent-light) !important;
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.utility-right a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-weight: 500;
}

.utility-right a:hover {
  color: #fff;
}

.utility-sep {
  color: rgba(255, 255, 255, 0.3);
}

.header-main {
  background: hsla(220, 76%, 36%, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  height: 72px;
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.scrolled .header-main {
  background: hsla(220, 76%, 30%, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo,
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.header-logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
}

.header-logo .logo-text {
  color: #ffffff;
}

.footer-logo .logo-text {
  color: #ffffff;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header-nav a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.header-nav a:not(.header-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.header-nav a:not(.header-cta):hover,
.header-nav a:not(.header-cta).active {
  color: #ffffff;
}

.header-nav a:not(.header-cta):hover::after,
.header-nav a:not(.header-cta).active::after {
  width: 80%;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.65rem 1.6rem;
  background: linear-gradient(135deg, var(--color-accent), #45a049);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-cta svg {
  margin-right: 0 !important;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.header-cta:hover {
  background: linear-gradient(135deg, #45a049, var(--color-accent-dark));
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.header-cta:hover svg {
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.6));
}

/* Hamburger Menu */
.hamburger {
  display: none;
  align-items: center;
  cursor: pointer;
  z-index: 1001;
  border: none;
  background: none;
}
.menu-pill-btn {
  gap: 10px;
  padding: 8px 18px 8px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  transition: all var(--transition-base);
}
.menu-pill-btn:hover, .hamburger.active {
  background: rgba(255, 255, 255, 0.95);
}
.menu-pill-btn:hover .menu-label, .hamburger.active .menu-label {
  color: var(--color-primary);
}
.hamburger-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.menu-label {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: color var(--transition-base);
}
.notification-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background-color: #ef4444;
  border-radius: 50%;
  border: 2.5px solid var(--color-primary);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.hamburger.active span {
  background: var(--color-primary) !important;
}

.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  height: 100dvh; /* Fix do 100vh em celulares */
  background: var(--color-bg);
  box-shadow: var(--shadow-xl);
  padding: calc(var(--header-height) - 10px) var(--space-xl) 120px;
  overflow-y: auto;
  overscroll-behavior-y: contain; /* Trava a rolagem do fundo */
  transition: right var(--transition-base);
  z-index: 999;
}

.mobile-nav.open { 
  right: 0; 
}

.mobile-nav a {
  display: block;
  padding: 11px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-light);
  text-decoration: none;
  opacity: 0;
  transform: translateX(20px);
  transition: all var(--transition-fast), opacity 0.4s ease, transform 0.4s ease;
}

.mobile-nav.open a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav.open a:nth-child(6) { transition-delay: 0.3s; }
.mobile-nav.open a:nth-child(7) { transition-delay: 0.35s; }
.mobile-nav.open a:nth-child(8) { transition-delay: 0.4s; }
.mobile-nav.open a:nth-child(9) { transition-delay: 0.45s; }
.mobile-nav.open a:nth-child(10) { transition-delay: 0.5s; }
.mobile-nav.open a:nth-child(11) { transition-delay: 0.55s; }

.mobile-nav a:hover,
.mobile-nav a.active { 
  color: var(--color-primary); 
  font-weight: 700;
}

.mobile-nav a.active {
  padding-left: 10px;
  border-left: 3px solid var(--color-primary);
}

.mobile-nav-phone-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-accent);
  color: #ffffff !important;
  padding: 12px 15px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.1rem !important;
  text-decoration: none;
  margin-top: 8px;
  margin-bottom: 4px;
  border-bottom: none !important;
  box-shadow: var(--shadow-md);
  opacity: 1 !important;
  transform: none !important;
  transition-delay: 0s !important;
}

.mobile-nav-phone-btn i {
  width: 18px;
  height: 18px;
}

.mobile-utility-link {
  font-size: 0.92rem !important;
  color: var(--color-text-muted) !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: var(--space-2xl);
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 50%, var(--color-primary-light) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-xl);
  align-items: center;
  width: 100%;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 1rem;
  background: var(--color-accent-light);
  color: var(--color-accent-dark);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.hero h1 span {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-image {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 4px solid #ffffff;
  transform: rotate(1.2deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.15);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.8rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Shimmer effect on CTA */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}

/* ---------- SECTIONS ---------- */
.section {
  padding: var(--space-4xl) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

/* ---------- SCROLLYTELLING ---------- */
.scrollytelling {
  position: relative;
  overflow: hidden;
  padding: var(--space-4xl) 0;
}

.scroll-phase {
  display: flex;
  align-items: center;
  gap: var(--space-3xl);
  min-height: 45vh;
  padding: var(--space-xl) 0;
}

.scroll-phase:nth-child(even) {
  flex-direction: row-reverse;
}

.scroll-phase-content {
  flex: 1;
  max-width: 500px;
}

.scroll-phase-content h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-md);
}

.scroll-phase-content p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.scroll-phase-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroll-phase-visual img {
  max-width: 420px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-slow);
}

.quality-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding: 0.6rem 1rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-primary);
}

/* ---------- POSTOS — BENTO GRID ---------- */
.postos-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 100; /* Garante que os dropdowns fiquem acima dos cards do bento grid */
}

.filter-group {
  position: relative;
}

.filter-group-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-group-btn:hover,
.filter-group-btn.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.filter-group-btn .arrow {
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
}

.filter-group-btn.active .arrow {
  transform: rotate(180deg);
}

.filter-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: var(--space-sm);
  z-index: 50;
}

.filter-dropdown.open { display: block; }

.filter-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text);
  transition: background var(--transition-fast);
}

.filter-item:hover {
  background: var(--color-bg-alt);
}

.filter-item.selected {
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 600;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: var(--space-lg);
}

.bento-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  overflow: hidden;
  position: relative;
}

.bento-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  border-color: var(--color-primary);
}

/* Trevo destacado — ocupa 2 colunas */
.bento-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, hsla(142, 75%, 50%, 0.08) 0%, hsla(142, 75%, 50%, 0.03) 100%);
  border-color: var(--color-ev-green);
}

.bento-card.featured:hover {
  border-color: var(--color-ev-green);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15);
}

.bento-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.bento-card-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.bento-card-brand {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bento-card-slogan {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.45;
  margin-top: -2px;
  margin-bottom: var(--space-md);
  font-style: italic;
  opacity: 0.9;
}

/* Distributor brand themes */
.bento-card.brand-petrobras {
  border-color: rgba(34, 197, 94, 0.2);
}
.bento-card.brand-petrobras:hover {
  border-color: #22c55e;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.12);
}
.bento-card.brand-petrobras .bento-card-brand {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
}

.bento-card.brand-ipiranga {
  border-color: rgba(234, 179, 8, 0.2);
}
.bento-card.brand-ipiranga:hover {
  border-color: #eab308;
  box-shadow: 0 10px 30px rgba(234, 179, 8, 0.12);
}
.bento-card.brand-ipiranga .bento-card-brand {
  background: rgba(234, 179, 8, 0.1);
  color: #a16207;
}

.bento-card.brand-pb {
  border-color: rgba(26, 86, 219, 0.2);
}
.bento-card.brand-pb:hover {
  border-color: #1a56db;
  box-shadow: 0 10px 30px rgba(26, 86, 219, 0.12);
}
.bento-card.brand-pb .bento-card-brand {
  background: rgba(26, 86, 219, 0.1);
  color: #1e40af;
}

.bento-card.brand-ale {
  border-color: rgba(239, 68, 68, 0.2);
}
.bento-card.brand-ale:hover {
  border-color: #ef4444;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.12);
}
.bento-card.brand-ale .bento-card-brand {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}

.bento-card-address {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.bento-card-hours {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.bento-card-hours strong {
  color: var(--color-accent);
}

.bento-card-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-lg);
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.25rem 0.6rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.service-tag.highlight-ev {
  background: var(--color-accent-light);
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
  font-weight: 600;
}

.service-tag.highlight-gnv {
  background: hsl(200, 80%, 93%);
  border-color: var(--color-gnv-blue);
  color: hsl(200, 80%, 35%);
  font-weight: 600;
}

.service-tag.highlight-podium {
  background: hsl(42, 95%, 93%);
  border-color: var(--color-podium-gold);
  color: hsl(42, 70%, 35%);
  font-weight: 600;
}

.bento-card-footer {
  margin-top: auto;
}

.btn-route {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: center;
  padding: 0.7rem 1rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-route:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.featured .btn-route {
  background: var(--color-ev-green);
}

.featured .btn-route:hover {
  background: var(--color-accent-dark);
}

.ev-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.8rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

/* Hidden card when filtered */
.bento-card.hidden {
  display: none;
}

/* ---------- ELETROPOSTO SECTION ---------- */
.eletroposto {
  position: relative;
  background: linear-gradient(135deg, hsl(155, 30%, 96%) 0%, hsl(170, 35%, 92%) 100%);
  overflow: hidden;
}

.eletroposto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.eletroposto-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.eletroposto-content h2 span {
  color: var(--color-ev-green);
}

.eletroposto-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.spec-card {
  background: var(--color-bg-alt);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
}

.spec-card-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-ev-green);
}

.spec-card-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

.eletroposto-image {
  display: flex;
  justify-content: center;
}

.eletroposto-image img {
  max-width: 400px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- PB FIDELIDADE SECTION ---------- */
.fidelidade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.fidelidade-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.benefit-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.benefit-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  font-size: 1.3rem;
}

.benefit-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.benefit-text p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.app-download-btns {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.app-download-btns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  gap: var(--space-sm);
  padding: 0.7rem 1.2rem;
  background: var(--color-text);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.app-download-btns a:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}

.fidelidade-mockup {
  display: flex;
  justify-content: center;
}

.fidelidade-mockup img {
  max-width: 320px;
  width: 100%;
}

/* ---------- FAQ SECTION ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover { border-color: var(--color-primary); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  background: var(--color-bg);
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--color-bg-alt);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: transform var(--transition-base), background var(--transition-fast);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--color-primary);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base) ease-out;
}

.faq-answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  transition: max-height 0.5s ease-in;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #090d16;
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 4px solid var(--color-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.7;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-accent);
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.footer-links a svg {
  width: 15px;
  height: 15px;
  stroke-width: 2px;
  color: var(--color-accent);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-links a:hover svg {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.75);
  transition: all var(--transition-fast);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2px;
  transition: transform 0.2s ease;
}

.footer-social a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-social a:hover svg {
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  opacity: 0.7;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: #fff;
}

.footer-legal-links .sep {
  color: rgba(255, 255, 255, 0.15);
}

/* ---------- FLOATING CTA (Mobile) ---------- */
.floating-cta {
  display: none;
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 900;
}

.floating-cta a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.8rem 1.2rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-fast);
}

.floating-cta a:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- ANIMATIONS ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* ---------- RESPONSIVE ---------- */

/* Tablet */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card.featured {
    grid-column: span 2;
  }

  .eletroposto-grid,
  .fidelidade-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .eletroposto-image,
  .fidelidade-mockup {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .scroll-phase {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding: var(--space-2xl) 0;
  }

  .scroll-phase:nth-child(even) {
    flex-direction: column;
  }

  .scroll-phase-content {
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 100px;
    --space-4xl: 4rem;
  }

  .utility-inner {
    padding: 0 var(--space-sm) !important;
  }

  .header-utility .utility-text {
    display: none;
  }

  .header-nav,
  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-lg));
    padding-bottom: var(--space-2xl);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-wrapper {
    width: 100%;
    margin-top: var(--space-md);
  }

  .hero-image {
    position: relative;
    right: auto;
    bottom: auto;
    width: 90%;
    max-width: 450px;
    margin: 0 auto;
    transform: none !important;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 3px solid #ffffff;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card.featured {
    grid-column: span 1;
  }

  .postos-filters {
    justify-content: center;
    overflow: visible;
    flex-wrap: wrap;
    padding-bottom: var(--space-sm);
    -webkit-overflow-scrolling: auto;
  }

  .eletroposto-specs {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .floating-cta {
    display: block;
  }

  .app-download-btns {
    flex-direction: column;
  }

  .fidelidade-grid {
    text-align: center;
  }
}

/* Small Mobile */
@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .bento-card {
    padding: var(--space-lg);
  }

  .eletroposto-specs {
    grid-template-columns: 1fr;
  }
}

/* ---------- SOBRE A REDE & INSTITUCIONAL ---------- */
.sobre-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-3xl);
  align-items: center;
}

.sobre-text h2 span {
  color: var(--color-primary);
}

.sobre-expander {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
}

.sobre-expander.expanded {
  max-height: 1000px; /* increased to prevent cropping */
  opacity: 1;
  margin-top: var(--space-md);
}

.btn-more {
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-md);
  padding: 0;
  transition: color var(--transition-fast);
}

.btn-more:hover {
  color: var(--color-primary-dark);
}

.sobre-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.sobre-card {
  display: flex;
  gap: var(--space-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.sobre-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.sobre-card-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.sobre-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
  font-family: var(--font-heading);
}

.sobre-card-body p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* Missão, Visão e Valores */
.sobre-mvv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
}

.mvv-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.mvv-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.mvv-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  font-family: var(--font-heading);
}

.mvv-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ---------- DIFERENCIAIS ---------- */
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.diferencial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.diferencial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.diferencial-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.diferencial-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
  font-family: var(--font-heading);
}

.diferencial-card p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* Selos */
.selos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.selo-card {
  display: flex;
  gap: var(--space-md);
  align-items: start;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: border-color var(--transition-base);
}

.selo-card:hover {
  border-color: var(--color-primary);
}

.selo-icon-wrapper {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.selo-svg {
  width: 32px;
  height: 32px;
}

.selo-text h4 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
  font-family: var(--font-heading);
}

.selo-text p {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* ---------- MAPA INTERATIVO (LEAFLET) ---------- */
.map-section {
  margin-top: var(--space-3xl);
  border-top: 1px solid var(--color-border-light);
  padding-top: var(--space-3xl);
}

.map-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-xl);
}

.map-header h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-xs);
}

.map-header p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

#map {
  height: 480px;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

/* Customização dos Popups do Leaflet */
.leaflet-popup-content-wrapper {
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid var(--color-border-light) !important;
  padding: 0 !important;
  overflow: hidden;
}

.leaflet-popup-tip {
  border: 1px solid var(--color-border-light) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.leaflet-popup-content {
  font-family: var(--font-body) !important;
  color: var(--color-text) !important;
  margin: 0 !important;
  line-height: 1.5;
  width: 290px !important;
}

.leaflet-container a.leaflet-popup-close-button {
  top: 12px !important;
  right: 12px !important;
  width: 24px !important;
  height: 24px !important;
  line-height: 22px !important;
  font-size: 16px !important;
  color: var(--color-text-muted) !important;
  background: rgba(0, 0, 0, 0.05) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  border: none !important;
  z-index: 100 !important;
}

.leaflet-container a.leaflet-popup-close-button:hover {
  background: rgba(0, 0, 0, 0.1) !important;
  color: var(--color-text) !important;
}

/* Customização dos botões de Zoom do Leaflet */
.leaflet-bar {
  border: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.leaflet-bar a {
  background-color: #fff !important;
  color: var(--color-text) !important;
  border: none !important;
  border-bottom: 1px solid var(--color-border-light) !important;
  transition: background-color 0.2s ease !important;
}

.leaflet-bar a:hover {
  background-color: var(--color-bg-alt) !important;
  color: var(--color-primary-dark) !important;
}

.map-popup {
  max-width: 100% !important;
  display: flex;
  flex-direction: column;
}

.map-popup-header-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 16px 10px 16px;
  background-color: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border-light);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.map-popup-brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  display: inline-block;
}

.map-popup-brand-badge.brand-petrobras {
  background-color: #059669; /* Verde Petrobras */
  color: #fff;
}

.map-popup-brand-badge.brand-ipiranga {
  background-color: #d97706; /* Laranja Ipiranga */
  color: #fff;
}

.map-popup-brand-badge.brand-ale {
  background-color: #dc2626; /* Vermelho ALE */
  color: #fff;
}

.map-popup-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0;
  line-height: 1.3;
}

.map-popup-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border-light);
}

.map-popup-detail {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.map-popup-detail svg {
  width: 14px !important;
  height: 14px !important;
  color: var(--color-primary) !important;
  margin-top: 2px;
  flex-shrink: 0;
}

.map-whatsapp-link {
  color: #16a34a; /* WhatsApp Green */
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.map-whatsapp-link:hover {
  color: #15803d;
  text-decoration: underline;
}

.map-popup-services-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 12px 16px 4px 16px;
  letter-spacing: 0.5px;
  margin: 0;
}

.map-popup-services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px 16px 12px 16px;
}

.map-popup-actions {
  border-top: 1px solid var(--color-border-light);
  padding: 12px 16px 16px 16px;
  background-color: var(--color-bg-alt);
  display: flex;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.map-popup-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background-color: var(--color-primary);
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.map-popup-btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
}

/* ---------- RESPONSIVE ADDITIONS ---------- */
@media (max-width: 1024px) {
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .sobre-mvv {
    grid-template-columns: 1fr 1fr;
  }

  .diferenciais-grid {
    grid-template-columns: 1fr 1fr;
  }

  .selos-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sobre-mvv {
    grid-template-columns: 1fr;
  }

  .diferenciais-grid {
    grid-template-columns: 1fr;
  }

  .map-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  #btn-recenter-map {
    width: 100%;
  }

  #map {
    height: 380px;
  }
}

/* ---------- PREMIUM CUSTOM MAP PINS ---------- */
.custom-leaflet-pin {
  background: transparent;
  border: none;
}

.custom-pin-wrapper {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.custom-pin-wrapper:hover {
  transform: scale(1.15);
  z-index: 1000;
}

.pin-marker {
  position: relative;
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background-color 0.2s ease;
  z-index: 2;
}

/* Ev pin background is green */
.pin-ev .pin-marker {
  background: var(--color-ev-green) !important;
  border-color: #fff !important;
}

/* Normal pin background is blue */
.pin-normal .pin-marker {
  background: var(--color-primary) !important;
  border-color: #fff !important;
}

.pin-marker svg {
  width: 14px !important;
  height: 14px !important;
  color: #fff !important;
  transform: rotate(45deg);
}

.pin-pulse {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.35;
  animation: pin-pulse-anim 2s infinite ease-out;
}

.pin-normal .pin-pulse {
  background: var(--color-primary);
}

.pin-ev .pin-pulse {
  background: var(--color-ev-green);
}

/* Hover and active states for pins */
.custom-pin-wrapper:hover .pin-marker,
.custom-pin-wrapper.bento-hovered .pin-marker {
  transform: rotate(-45deg) scale(1.2);
  border-color: var(--color-accent) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

@keyframes pin-pulse-anim {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* ---------- INSTAGRAM FEED ---------- */
.instagram-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.instagram-profile {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.instagram-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
}

.instagram-username {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-badge {
  color: #1DA1F2;
  font-size: 0.95rem;
}

.instagram-meta {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  margin-top: 2px;
}

.btn-instagram {
  background: #E1306C;
  color: #fff;
  border: none;
}

.btn-instagram:hover {
  background: #C13584;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.instagram-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-base);
}

.instagram-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.instagram-img-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
}

.instagram-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.instagram-card:hover .instagram-img-wrapper img {
  transform: scale(1.05);
}

.instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.instagram-card:hover .instagram-overlay {
  opacity: 1;
}

.overlay-stat {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.instagram-caption {
  padding: var(--space-md);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.instagram-caption p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* RESPONSIVE ADDITIONS FOR INSTAGRAM */
@media (max-width: 1024px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .instagram-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .btn-instagram {
    width: 100%;
  }

  .instagram-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- MODALS (Trabalhe Conosco, B2B, Locação) ---------- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-xl) var(--space-2xl);
  box-shadow: var(--shadow-2xl);
  z-index: 2;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal.open .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-lg);
  background: transparent;
  border: none;
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-text-light);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-text);
}

.modal-content h2 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

/* Modal Forms */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.modal-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
}

.modal-form input[type="text"],
.modal-form input[type="email"],
.modal-form input[type="tel"],
.modal-form input[type="number"],
.modal-form select,
.modal-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.88rem;
  background: var(--color-bg-alt);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
  box-sizing: border-box;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
  outline: none;
  background: #fff;
}

.modal-form select {
  cursor: pointer;
}

.modal-form input[type="file"] {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: var(--space-xs) 0;
}

.btn-submit {
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-align: center;
}

/* B2B / Locacao Info Styles */
.modal-b2b-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  background: var(--color-bg-alt);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
}

.b2b-feature {
  display: flex;
  gap: var(--space-md);
  font-size: 0.82rem;
  color: var(--color-text);
  line-height: 1.4;
}

.b2b-icon {
  font-size: 1.2rem;
}

.modal-loc-info {
  background: var(--color-bg-alt);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  :root {
    --header-height: 72px;
  }
  
  .header-utility {
    display: none !important;
  }
  
  .utility-inner {
    justify-content: center;
    width: 100%;
  }
  
  .utility-left {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .utility-right {
    display: none;
  }
  
  .header-main {
    height: 64px;
  }
  
  .mobile-utility-link {
    font-weight: 600 !important;
    color: var(--color-primary-dark) !important;
  }
}

/* ---------- SLEEK DARK MODE GLOBAL OVERRIDES ---------- */
.article-header h1,
.article-content h2,
.article-cta-box h3,
.blog-post-body h3 {
  color: var(--color-primary) !important;
}

/* Leaflet Map popup container dark override */
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: var(--color-bg-alt) !important;
  color: var(--color-text) !important;
  border: 1px solid var(--color-border) !important;
}

.leaflet-popup-content-wrapper {
  box-shadow: var(--shadow-xl) !important;
}

.map-popup-title {
  color: var(--color-primary) !important;
}

.map-popup-detail {
  color: var(--color-text-muted) !important;
}

.map-popup-services-title {
  color: var(--color-text-light) !important;
}

.map-popup-actions {
  border-top-color: var(--color-border) !important;
}

.map-popup-details {
  border-bottom-color: var(--color-border) !important;
}

/* Modal Content and forms dark overrides */
.modal-content {
  background: var(--color-bg) !important;
  border: 1px solid var(--color-border) !important;
}

.modal-content h2 {
  color: var(--color-primary) !important;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  background: var(--color-bg-alt) !important;
  border-color: var(--color-primary) !important;
}

.modal-b2b-features,
.modal-loc-info {
  background: var(--color-bg-alt) !important;
  border-color: var(--color-border) !important;
}

/* ---------- LUCIDE VECTOR ICONS STYLING ---------- */
.utility-left svg,
.utility-right svg,
.mobile-nav svg,
.header-cta svg,
.btn svg,
.service-tag svg,
.map-popup-detail svg {
  display: inline-block;
  vertical-align: middle;
  stroke-width: 2.2px;
}

.utility-left svg {
  width: 14px;
  height: 14px;
  margin-right: 4px;
  vertical-align: -2px;
}

.header-cta svg,
.btn svg {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: -3px;
}

.service-tag svg {
  width: 12px;
  height: 12px;
  margin-right: 4px;
  vertical-align: -1px;
}

.map-popup-detail svg {
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
  color: var(--color-primary);
}

.map-popup-actions svg {
  width: 14px;
  height: 14px;
  margin-right: 4px;
  vertical-align: -2px;
}

.mobile-nav svg {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -3px;
}

.sobre-card-icon svg {
  width: 2.2rem;
  height: 2.2rem;
  stroke-width: 1.8px;
  color: var(--color-primary);
}

.mvv-icon svg,
.diferencial-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  stroke-width: 1.8px;
  color: var(--color-primary);
  display: block;
  margin: 0 auto;
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2px;
  color: var(--color-primary);
}

.faq-question svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5px;
}

/* ==================== PÁGINA SOBRE ==================== */
.sobre-hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #081120 100%);
  padding: 120px 0 70px;
  text-align: center;
  color: #fff;
  border-bottom: 4px solid var(--color-accent);
}

.sobre-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  margin-top: var(--space-xs);
  margin-bottom: var(--space-xs);
  letter-spacing: -1px;
}

.sobre-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.sobre-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.sobre-detail-grid.reverse {
  grid-template-columns: 1fr 1.2fr;
}

.sobre-detail-text h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  margin-bottom: var(--space-md);
  color: var(--color-primary-dark);
}

.sobre-detail-text h2 span {
  color: var(--color-accent);
}

.sobre-detail-text p {
  margin-bottom: var(--space-md);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.sobre-detail-image img {
  display: block;
  max-width: 100%;
  height: auto;
  transition: transform var(--transition-medium);
}

.sobre-detail-image img:hover {
  transform: scale(1.02);
}

.sobre-mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.sobre-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item .stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-item .stat-desc {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

@media (max-width: 992px) {
  .sobre-highlights-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .sobre-detail-grid,
  .sobre-detail-grid.reverse {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .sobre-detail-image {
    order: 2;
  }
  .sobre-mvv-grid {
    grid-template-columns: 1fr;
  }
  .sobre-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

/* ---------- PHONE MOCKUP (PB FIDELIDADE) ---------- */
.phone-mockup-frame {
  position: relative;
  width: 290px;
  height: 580px;
  background: #0b192c; /* dark frame */
  border: 12px solid #1a2c42; /* phone bezel */
  border-radius: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  box-sizing: border-box;
  margin: 0 auto;
}

/* Phone top speaker/notch detail */
.phone-mockup-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 18px;
  background: #1a2c42;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.phone-mockup-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.phone-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- RESTRUCTURED SOBRE HIGHLIGHTS ---------- */
.sobre-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.sobre-highlight-card {
  display: flex;
  gap: var(--space-lg);
  background: var(--color-bg-alt);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sobre-highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.sobre-highlight-card .highlight-icon {
  width: 3rem;
  height: 3rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.sobre-highlight-card .highlight-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-xs);
}

.sobre-highlight-card .highlight-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.sobre-photo-wrapper-custom {
  background: #ffffff;
  border: 4px solid #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  width: 100%;
  max-width: 380px;
  transition: transform 0.3s ease;
  margin: 0 auto;
}

.sobre-photo-wrapper-custom:hover {
  transform: translateY(-5px);
}

.sobre-photo-wrapper-custom img {
  width: 100%;
  height: auto;
  display: block;
}

.sobre-photo-wrapper-custom .sobre-photo-caption {
  padding: 12px;
  background: var(--color-bg-alt);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--color-border-light);
}

.sobre-photo-wrapper-custom .sobre-photo-caption svg {
  color: var(--color-primary);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}


/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  background-color: #128c7e;
  color: #fff;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 80px; /* Stay above mobile bottom CTA bar */
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}


/* ---------- ELETROPOSTO SECONDARY CARD RESPONSIVE ---------- */
.secondary-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid #fff;
  background: #fff;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md);
  width: 100%;
  box-sizing: border-box;
  transition: transform var(--transition-base);
}

.secondary-photo img {
  width: 120px !important;
  max-width: 120px !important;
  height: 95px !important;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.secondary-photo-text {
  text-align: left;
  flex: 1;
  min-width: 0;
}

.secondary-photo-text h4 {
  margin: 0 0 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  color: var(--color-primary-dark);
  font-weight: 700;
}

.secondary-photo-text p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* Floating CTA Mobile Overlap Fix */
@media (max-width: 768px) {
  .floating-cta {
    right: var(--space-md) !important;
    bottom: var(--space-md) !important;
  }
  
  .secondary-photo {
    padding: var(--space-sm);
    gap: var(--space-md);
  }
  
  .secondary-photo img {
    width: 90px !important;
    max-width: 90px !important;
    height: 75px !important;
  }
  
  .secondary-photo-text h4 {
    font-size: 0.95rem;
  }
  
  .secondary-photo-text p {
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .secondary-photo {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
    padding: var(--space-md);
  }
  
  .secondary-photo img {
    width: 120px !important;
    max-width: 120px !important;
    height: 95px !important;
  }
  
  .secondary-photo-text {
    text-align: center;
  }
}


/* ---------- VIDEO BUTTONS AND SWITCHERS ---------- */
.btn-route-secondary {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.btn-route-secondary:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-video-tab {
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.82rem;
  transition: all 0.2s;
  box-sizing: border-box;
}


/* ---------- RESPONSIVE HIGHLIGHTS OVERRIDE ---------- */
@media (max-width: 992px) {
  .sobre-highlights-grid {
    grid-template-columns: 1fr !important;
    gap: var(--space-lg) !important;
    margin-top: var(--space-2xl) !important;
  }
  
  .sobre-highlight-card {
    padding: var(--space-lg) !important;
    gap: var(--space-md) !important;
  }
}


/* ---------- VIDEO PREVIEW CARD ---------- */
.video-preview-card:hover {
  transform: scale(1.02);
}
.video-preview-card:hover .play-overlay {
  background: rgba(0,0,0,0.5) !important;
}
.video-preview-card:hover .play-btn-circle {
  transform: scale(1.1) !important;
  background: var(--color-accent) !important;
}
.video-preview-card:hover .play-btn-circle-small {
  transform: scale(1.1) !important;
  background: var(--color-accent) !important;
}
.video-preview-card img {
  max-width: none !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16/9 !important;
  object-fit: cover !important;
}


/* Geolocation Badge & Marker */
.distance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  width: fit-content;
  box-shadow: 0 4px 10px rgba(76, 175, 80, 0.25);
  animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.distance-badge i {
  width: 14px;
  height: 14px;
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.you-are-here-marker {
  position: relative;
  width: 24px;
  height: 24px;
}
.you-are-here-marker .dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: #3b82f6;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
  z-index: 2;
}
.you-are-here-marker .pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  background: rgba(59, 130, 246, 0.4);
  border-radius: 50%;
  animation: gpsPulse 2s infinite ease-out;
  z-index: 1;
}
@keyframes gpsPulse {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* Strong active states for specialized buttons to bypass dark mode extensions */
#btn-nearest.active {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 4px rgba(26, 86, 219, 0.2) !important;
}

/* ---------- 30. VIDEO MODALS REFINEMENT ---------- */
.modal-overlay-bg {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.6) !important;
}

.modal.open .modal-content {
  animation: modalZoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes modalZoomIn {
  0% { opacity: 0; transform: scale(0.95) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

#btn-eletroposto.active {
  background: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2) !important;
}
