/* =========================================================
   CenterSol — Landing Page (modernized)
   ========================================================= */

:root {
  --color-primary:        #17385e;
  --color-primary-soft:   #1f4880;
  --color-secondary:      #FFC10E;
  --color-secondary-soft: #FFD040;
  --color-accent:         #1C4473;
  --color-dark-navy:      #091B30;
  --color-bg:             #FAFAF5;
  --color-bg-soft:        #F4F2E8;
  --color-text-dark:      #141413;
  --color-text-muted:     #5b5b58;

  --shadow-sm: 0 2px 8px rgba(15, 30, 60, 0.06);
  --shadow-md: 0 6px 24px rgba(15, 30, 60, 0.10);
  --shadow-lg: 0 18px 50px rgba(15, 30, 60, 0.16);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: var(--color-text-dark);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

p { text-align: justify; }

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

/* ============ TYPOGRAPHY HELPERS ============ */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
  padding: 6px 14px;
  background: rgba(255, 193, 14, 0.18);
  border-radius: 50px;
}
.eyebrow-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.text-accent {
  background: linear-gradient(120deg, var(--color-secondary), #FFB000);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .55s var(--ease-out);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:hover::before { transform: translateX(100%); }

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-soft) 100%);
  color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(255, 193, 14, 0.32);
}
.btn-secondary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-soft) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(23, 56, 94, 0.30);
}
.btn-block { display: flex; justify-content: center; width: 100%; }

/* ============ REVEAL ON SCROLL ============ */
.reveal {
  opacity: 0;
  transform: translate3d(0, 48px, 0) scale(0.96);
  filter: blur(4px);
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    filter   1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}
/* delay em cascata para grids — aplicado dinamicamente via JS também */
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: .10s; }
.reveal:nth-child(3) { transition-delay: .20s; }
.reveal:nth-child(4) { transition-delay: .30s; }
.reveal:nth-child(5) { transition-delay: .40s; }
.reveal:nth-child(6) { transition-delay: .50s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}

html { scroll-padding-top: 90px; }
section[id] { scroll-margin-top: 90px; }

/* ============ FLOATING NAV (pill com logo + menu) ============ */
.floating-nav {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
  transition: top .35s var(--ease-out);
}
.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 18px;
  background: rgba(9, 27, 48, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(9, 27, 48, 0.28);
  pointer-events: auto;
  transition: padding .35s var(--ease-out), background .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.floating-nav.scrolled { top: 12px; }
.floating-nav.scrolled .nav-pill {
  background: rgba(9, 27, 48, 0.86);
  box-shadow: 0 18px 48px rgba(9, 27, 48, 0.40);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  padding: 4px 4px 4px 0;
}
.nav-logo img {
  max-height: 30px;
  width: auto;
  display: block;
  transition: max-height .35s var(--ease-out);
}
.floating-nav.scrolled .nav-logo img { max-height: 26px; }

.nav-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.16);
  margin: 0 4px;
}

.pill-nav {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.pill-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  transition: color .25s var(--ease-out), background-color .25s var(--ease-out);
  white-space: nowrap;
}
.pill-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.pill-nav a.is-active {
  color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-soft) 100%);
  box-shadow: 0 4px 12px rgba(255, 193, 14, 0.4);
}

/* hambúrguer (mobile) */
.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-left: 2px;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('images/parallax.png') center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 100px;
  color: #fff;
  isolation: isolate;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(20, 30, 50, 0.35), transparent 60%),
    linear-gradient(135deg, rgba(9, 27, 48, 0.65) 0%, rgba(120, 80, 20, 0.35) 100%);
  z-index: -1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 24px;
  color: #fff;
}
.hero-badge i { color: var(--color-secondary); }

.hero-content h1 {
  font-weight: 800;
  font-size: clamp(28px, 5vw, 54px);
  line-height: 1.1;
  margin-bottom: 24px;
  color: #fff;
  letter-spacing: -.5px;
  text-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.hero-content p {
  font-size: 16px;
  max-width: 580px;
  margin: 0 auto 36px;
  color: rgba(255,255,255,.92);
  text-align: center;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 14px;
  z-index: 2;
}
.hero-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scroll-dot 1.8s var(--ease-out) infinite;
}
@keyframes scroll-dot {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  35%  { opacity: 1; }
  85%  { opacity: 0; transform: translate(-50%, 18px); }
  100% { opacity: 0; }
}

/* ============ TICKER ============ */
.ticker {
  position: relative;
  background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-secondary-soft) 50%, var(--color-secondary) 100%);
  overflow: hidden;
  white-space: nowrap;
  height: 60px;
  display: flex;
  align-items: center;
}
.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--color-secondary), transparent);
}
.ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--color-secondary), transparent);
}
.ticker-inner {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  gap: 28px;
  padding-left: 28px;
}
.ticker-inner i {
  color: var(--color-primary);
  opacity: .65;
  font-size: 16px;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ STATS ============ */
.stats {
  background: var(--color-bg);
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: linear-gradient(160deg, #fff 0%, var(--color-bg-soft) 100%);
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(23, 56, 94, 0.05);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.stat-number {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-number sup {
  font-size: .55em;
  color: var(--color-secondary);
  -webkit-text-fill-color: var(--color-secondary);
  font-weight: 700;
  margin-left: 4px;
  top: -.3em;
}
.stat-card p {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============ SECTION DIVIDERS ============ */
.section-divider {
  position: absolute;
  left: 0;
  width: 100%;
  height: 80px;
  display: block;
  z-index: 1;
  pointer-events: none;
}
.divider-top {
  top: -1px;
}

/* ============ GRUPO CENTER SOL ============ */
.grupo {
  position: relative;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 193, 14, 0.06), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(23, 56, 94, 0.05), transparent 50%),
    var(--color-bg);
  padding: 100px 0 80px;
}
.grupo-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}
.grupo-text h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -.5px;
}
.grupo-text p {
  margin-bottom: 32px;
  color: var(--color-text-muted);
  font-size: 16px;
}
.grupo-image {
  position: relative;
  display: flex;
  justify-content: center;
}
.grupo-image-glow {
  position: absolute;
  inset: 10% 5%;
  background: radial-gradient(circle, rgba(255, 193, 14, 0.35) 0%, transparent 65%);
  filter: blur(40px);
  z-index: 0;
}
.grupo-image img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  filter: drop-shadow(0 25px 40px rgba(15, 30, 60, 0.25));
}

.diferenciais-header {
  text-align: center;
  margin-bottom: 36px;
}
.diferenciais-header h3 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  color: var(--color-primary);
  margin-top: 6px;
  letter-spacing: -.3px;
}
.diferenciais {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.diferencial-card {
  background: linear-gradient(160deg, var(--color-secondary) 0%, var(--color-secondary-soft) 100%);
  border-radius: 20px;
  padding: 34px 24px;
  text-align: center;
  color: var(--color-primary);
  box-shadow: 0 10px 28px rgba(255, 193, 14, 0.15), 0 2px 6px rgba(15, 30, 60, 0.06);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.diferencial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,.3), transparent 60%);
  pointer-events: none;
}
.diferencial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 38px rgba(255, 193, 14, 0.28), 0 4px 10px rgba(15, 30, 60, 0.08);
}
.diferencial-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-soft) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 26px;
  box-shadow: 0 6px 16px rgba(23, 56, 94, 0.30);
  position: relative;
}
.diferencial-card p {
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  position: relative;
}

/* ============ PRODUTOS ============ */
.produtos {
  position: relative;
  padding: 110px 0 90px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 193, 14, 0.08), transparent 50%),
    linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-primary) 100%);
  overflow: hidden;
}
.produtos-bg {
  position: absolute; inset: 0;
  background: url('images/SISTEMA-SOLAR.png') center/cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
  mix-blend-mode: screen;
}
.produtos .container { position: relative; z-index: 2; }
.produtos-header {
  text-align: center;
  color: #fff;
  margin-bottom: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.produtos-header h2 {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -.5px;
}
.produtos-header p { color: rgba(255,255,255,.85); text-align: center; }

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.produto-card {
  border-radius: 20px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.produto-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s var(--ease-out);
}
.produto-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.produto-card:hover::after { opacity: 1; }

.produto-yellow {
  background: linear-gradient(165deg, var(--color-secondary) 0%, var(--color-secondary-soft) 100%);
  color: var(--color-primary);
}
.produto-blue {
  background: linear-gradient(165deg, var(--color-primary) 0%, var(--color-primary-soft) 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,.06);
}
.produto-cta {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 193, 14, 0.18), transparent 60%),
    linear-gradient(165deg, var(--color-accent) 0%, var(--color-primary) 100%);
  color: #fff;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.produto-cta-icon {
  font-size: 50px;
  color: var(--color-secondary);
  margin-bottom: 18px;
  filter: drop-shadow(0 4px 12px rgba(255, 193, 14, 0.5));
}
.produto-cta h3 {
  font-size: 26px;
  text-transform: uppercase;
  margin-bottom: 18px;
  letter-spacing: -.3px;
}

.produto-img {
  background: transparent;
  padding: 0;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.produto-img img {
  max-height: 200px;
  object-fit: contain;
  transition: transform .55s var(--ease-out);
}
.produto-card:hover .produto-img img { transform: scale(1.08); }

.produto-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -.2px;
}
.produto-card > p {
  text-align: center;
  font-size: 14px;
  margin-bottom: 16px;
  min-height: 60px;
  opacity: .92;
}
.btn-specs {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.specs {
  font-size: 13px;
  margin-bottom: 16px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.10);
  text-align: center;
}
.produto-yellow .specs { background: rgba(23,56,94,.08); }
.specs.hidden { display: none; }
.produto-card .btn {
  margin-top: auto;
  align-self: center;
}

/* ============ QUEM SOMOS ============ */
.quem-somos {
  position: relative;
  padding: 110px 0 90px;
  background: url('images/Prancheta-2.png') center/cover no-repeat fixed;
  color: #fff;
}
.quem-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(23, 56, 94, 0.45), transparent 60%),
    linear-gradient(135deg, rgba(160, 100, 0, 0.55) 0%, rgba(23, 56, 94, 0.55) 100%);
}
.quem-somos .container { position: relative; z-index: 2; }
.quem-header {
  max-width: 780px;
  margin: 0 auto 64px;
  text-align: center;
}
.quem-header h2 {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -.5px;
}
.quem-header p {
  color: rgba(255,255,255,.92);
  text-align: center;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.mvv-card {
  background: linear-gradient(160deg, rgba(255,255,255,.95) 0%, rgba(250, 250, 245, 0.92) 100%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: var(--color-primary);
  border-radius: 20px;
  padding: 36px 28px;
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  transition: transform .4s var(--ease-out);
}
.mvv-card:hover { transform: translateY(-8px); }
.mvv-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-soft) 100%);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(255, 193, 14, 0.4);
}
.mvv-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -.2px;
}
.mvv-card p { color: var(--color-text-muted); }

/* ============ REVENDEDORES ============ */
.revendedores {
  position: relative;
  background:
    radial-gradient(circle at 10% 30%, rgba(23, 56, 94, 0.04), transparent 50%),
    var(--color-bg);
  padding: 110px 0 90px;
}
.revendedores-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}
.revendedores-header h2 {
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 14px;
  letter-spacing: -.4px;
}
.revendedores-header p {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.revendedores-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.brasil-map {
  width: 100%;
  min-height: 520px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #e8edf2;
  z-index: 1;
}

.leaflet-popup-content-wrapper {
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.leaflet-popup-content {
  margin: 14px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: var(--color-text-dark);
  min-width: 220px;
}
.leaflet-popup-content h4 {
  color: var(--color-primary);
  font-size: 15px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.leaflet-popup-content ul { list-style: none; padding: 0; margin: 0; }
.leaflet-popup-content ul li {
  padding: 6px 0;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
}
.leaflet-popup-content ul li:first-child { border-top: 0; }
.leaflet-popup-content ul li strong {
  color: var(--color-primary);
  font-size: 13px;
}
.leaflet-popup-content ul li a {
  color: #444;
  font-size: 12px;
  text-decoration: none;
}
.leaflet-popup-content ul li a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.cs-marker {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-soft) 100%);
  border: 3px solid var(--color-primary);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(255, 193, 14, .35);
  cursor: pointer;
  transition: transform .15s var(--ease-out), box-shadow .15s var(--ease-out);
  animation: marker-pulse 2.4s ease-in-out infinite;
}
.cs-marker:hover {
  transform: scale(1.18);
  box-shadow: 0 0 0 10px rgba(255, 193, 14, .5);
}
@keyframes marker-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(255, 193, 14, .35); }
  50%      { box-shadow: 0 0 0 10px rgba(255, 193, 14, .15); }
}

.revendedor-info {
  background: linear-gradient(160deg, #fff 0%, var(--color-bg-soft) 100%);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-md);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(23, 56, 94, 0.05);
}
.revendedor-info-empty {
  margin: auto;
  text-align: center;
  color: #888;
}
.revendedor-info-empty i {
  font-size: 40px;
  color: var(--color-secondary);
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 12px rgba(255, 193, 14, 0.4));
}
.revendedor-info-empty p { text-align: center; }

.revendedor-info h3 {
  color: var(--color-primary);
  font-size: 22px;
  margin-bottom: 6px;
  letter-spacing: -.2px;
}
.revendedor-info .info-state {
  font-size: 12px;
  color: #888;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}
.revendedor-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}
.revendedor-info ul li {
  background: linear-gradient(135deg, #fff 0%, var(--color-bg) 100%);
  border-left: 4px solid var(--color-secondary);
  padding: 14px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.revendedor-info ul li strong {
  display: block;
  color: var(--color-primary);
  font-size: 14px;
  margin-bottom: 4px;
}
.revendedor-info ul li a {
  font-size: 13px;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.revendedor-info ul li a:hover { color: var(--color-primary); }
.revendedor-info ul li a i { color: var(--color-secondary); }

/* ============ CONTATO ============ */
.contato {
  background:
    radial-gradient(circle at 90% 100%, rgba(255, 193, 14, 0.05), transparent 50%),
    var(--color-bg);
  padding: 100px 0;
}
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.contato-form h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: -.4px;
}
.contato-sub { margin-bottom: 28px; color: var(--color-text-muted); }
.contato-form label {
  display: block;
  margin-bottom: 18px;
}
.contato-form label span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.contato-form input,
.contato-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e0d4;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--color-text-dark);
  transition: border-color .2s, box-shadow .2s;
}
.contato-form input:focus,
.contato-form textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 4px rgba(255, 193, 14, 0.18);
}
.form-msg { margin-top: 14px; font-size: 14px; color: var(--color-primary); }

.contato-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-primary) url('images/parallax.png') center/cover no-repeat;
  min-height: 480px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.contato-card-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 193, 14, 0.12), transparent 60%),
    linear-gradient(135deg, rgba(23, 56, 94, 0.92) 0%, rgba(28, 68, 115, 0.88) 100%);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.contato-card-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contato-card-logo {
  max-height: 60px;
  width: auto;
  margin-bottom: 24px;
}
.contato-card h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 32px;
  line-height: 1.2;
  letter-spacing: -.3px;
}
.contato-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}
.contato-card ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
}
.contato-card ul li i {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-soft) 100%);
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(255, 193, 14, 0.4);
}

/* ============ DOWNLOADS ============ */
.downloads {
  background:
    radial-gradient(circle at 50% 0%, rgba(23, 56, 94, 0.03), transparent 50%),
    var(--color-bg);
  padding: 90px 0;
}
.downloads-inner {
  max-width: 520px;
  text-align: center;
}
.downloads h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: -.4px;
}
.downloads p { color: var(--color-text-muted); margin-bottom: 28px; text-align: center; }
.downloads-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============ FOOTER ============ */
.site-footer {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 193, 14, 0.06), transparent 50%),
    linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #fff;
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-logo { max-height: 60px; width: auto; margin-bottom: 22px; }
.socials { display: flex; flex-direction: column; gap: 12px; }
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: color .2s;
}
.socials a:hover { color: var(--color-secondary); }
.socials i {
  width: 34px; height: 34px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-soft) 100%);
  color: var(--color-primary);
  border-radius: 50%;
}

.footer-col h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
}
.footer-col ul li i,
.footer-col p i {
  width: 30px; height: 30px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-soft) 100%);
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 12px;
  flex-shrink: 0;
}
.footer-col p {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  text-align: left;
}
.footer-col a:hover { color: var(--color-secondary); }

.sub-footer {
  background: var(--color-dark-navy);
  padding: 18px 24px;
  text-align: center;
  color: #aaa;
  font-size: 13px;
}
.sub-footer p { text-align: center; }

/* ============ FLOATING WHATSAPP ============ */
.float-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform .25s var(--ease-out);
}
.float-whatsapp:hover { transform: scale(1.08); }
.float-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.55);
  z-index: -1;
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(1.7); opacity: 0; }
}
.float-whatsapp-tooltip {
  position: absolute;
  right: 74px;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  box-shadow: var(--shadow-md);
}
.float-whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--color-primary);
}
.float-whatsapp:hover .float-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .pill-nav a { padding: 8px 13px; font-size: 12px; }
  .nav-pill { padding-left: 14px; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav-divider { display: none; }

  .pill-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 4px;
    border-radius: 20px;
    background: rgba(9, 27, 48, 0.92);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 18px 44px rgba(9, 27, 48, 0.40);
    min-width: 220px;
    opacity: 0;
    transform: translateY(-12px) scale(.97);
    pointer-events: none;
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  }
  .pill-nav.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .pill-nav a {
    padding: 11px 16px;
    font-size: 13px;
    border-radius: 12px;
    justify-content: flex-start;
  }

  .nav-pill { position: relative; padding: 5px 5px 5px 16px; }

  .grupo-top { grid-template-columns: 1fr; gap: 40px; }
  .diferenciais { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .produtos-grid { grid-template-columns: repeat(2, 1fr); }
  .mvv-grid { grid-template-columns: 1fr; }
  .revendedores-grid { grid-template-columns: 1fr; }
  .brasil-map { min-height: 420px; }
  .revendedor-info { min-height: auto; }
  .contato-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { background-attachment: scroll; }
  .quem-somos { background-attachment: scroll; }
}

@media (max-width: 768px) {
  .hero { padding: 110px 20px 80px; }
  .hero-content h1 { font-size: 30px; }
  .ticker-inner { animation-duration: 40s; font-size: 15px; }
  .produtos-grid { grid-template-columns: 1fr; }
  .diferenciais { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-col p, .footer-col ul li { justify-content: center; }
  .socials { align-items: center; }
  .grupo, .produtos, .quem-somos, .revendedores, .contato, .downloads { padding: 70px 0; }
  .stats { padding: 50px 0 20px; }
  .float-whatsapp { width: 56px; height: 56px; font-size: 26px; bottom: 18px; right: 18px; }
  .section-divider { height: 50px; }
}
