/* ═══════════ PERFORMANCE OPTIMIZATIONS (injected) ═══════════ */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video, svg, iframe { max-width: 100%; height: auto; }

@media (max-width: 767px) {
  [class*="blur-"], [style*="blur("] { filter: blur(40px) !important; }
  .hero-blob, .hero-blobs > * { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
#hero h1, .hero h1, header h1 {
  word-break: break-word;
max-width: 100%;
}
@media (max-width: 1023px) {
  #hero h1, .hero h1, header h1 {
    font-size: clamp(2rem, 11vw, 4.5rem) !important;
  }
}
/* ═══════════════════════════════════════════════════════════ */

/* =========================================================
   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('../img/parallax.webp') 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('../img/SISTEMA-SOLAR.webp') 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('../img/Prancheta-2.webp') 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('../img/parallax.webp') 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; }
.sub-footer-credit a {
  color: #f5b75c;
  border-bottom: 1px solid rgba(245,183,92,0.4);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}
.sub-footer-credit a:hover { color: #fff; border-bottom-color: #fff; }
/* Logo Maven no rodapé: fundo escuro (#091B30) → logo branca mantida, com opacidade casando o texto do crédito */
.sub-footer-credit { display: inline-flex; align-items: center; gap: 5px; }
.sub-footer-credit a { border-bottom: 0; padding-bottom: 0; line-height: 0; }
.maven-credit-logo {
  height: 16px;
  width: auto;
  vertical-align: middle;
  display: inline-block;
  opacity: 0.75;
  transition: opacity .2s ease;
}
.sub-footer-credit a:hover .maven-credit-logo { opacity: 1; }

/* ============ 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; }
}

/* =========================================================
   CALCULADORA / DIMENSIONAMENTO DE PISCINA
   ========================================================= */
.calc {
  padding: 110px 0;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(255, 193, 14, 0.10), transparent 60%),
    var(--color-bg-soft);
}
.calc-header { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.calc-header h2 { color: var(--color-primary); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.15; margin: 10px 0 16px; }
.calc-header p { color: var(--color-text-muted); text-align: center; }

.calc-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 8px;
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(23, 56, 94, 0.06);
}

/* ----- Prévia visual ----- */
.calc-preview {
  background: linear-gradient(160deg, var(--color-primary) 0%, var(--color-accent) 60%, var(--color-dark-navy) 100%);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.calc-preview::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255, 193, 14, 0.35), transparent 70%);
  filter: blur(10px);
}
.cv { display: flex; flex-direction: column; align-items: center; gap: 22px; width: 100%; animation: calcFade .4s var(--ease-out); }
.cv[hidden] { display: none; }

/* View 2 — termômetro */
.thermo-svg { width: 100%; max-width: 270px; height: auto; }
.thermo-reco { color: #fff; width: 100%; max-width: 270px; }
.thermo-reco strong { display: block; color: var(--color-secondary-soft); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.thermo-reco ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.thermo-reco li { font-size: 13px; opacity: .92; }
.thermo-reco li b { color: var(--color-secondary-soft); }

/* View 3 — produto */
.prod-illus {
  width: 100%; max-width: 240px;
  background: linear-gradient(160deg, #fff 0%, #e7edf1 100%);
  border-radius: 18px; padding: 18px;
  box-shadow: var(--shadow-md);
}
.prod-illus svg { width: 100%; height: auto; }
.cv-result-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--color-secondary-soft);
}
.cv-result strong { color: #fff; font-size: 20px; text-align: center; line-height: 1.2; margin-top: -10px; }
.cv-result > span:last-child {
  background: var(--color-secondary); color: var(--color-primary);
  font-weight: 800; font-size: 15px; padding: 6px 16px; border-radius: 30px;
}

/* Piscina isométrica em SVG */
.pool-svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 22px 26px rgba(9, 27, 48, 0.4));
  margin: 4px 0 8px;
}
.pool-svg text { letter-spacing: .2px; }

.pool-readout {
  display: flex; gap: 14px;
}
.pool-readout > div {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(4px);
  border-radius: 14px;
  padding: 12px 18px;
  text-align: center;
  color: #fff;
}
.pool-readout strong { display: block; font-size: 22px; font-weight: 800; color: var(--color-secondary-soft); }
.pool-readout span { font-size: 11px; opacity: .85; text-transform: uppercase; letter-spacing: .5px; }

/* ----- Formulário ----- */
.calc-form { padding: 40px 40px 44px; }
.calc-steps {
  display: flex; gap: 8px; list-style: none;
  margin: 0 0 30px; padding: 0;
}
.calc-steps li {
  flex: 1; text-align: center;
  font-size: 12px; font-weight: 600; letter-spacing: .4px;
  color: var(--color-text-muted);
  padding-top: 30px; position: relative;
  text-transform: uppercase;
}
.calc-steps li::before {
  content: attr(data-dot);
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-bg-soft); color: var(--color-text-muted);
  font-weight: 700; border: 2px solid transparent;
  transition: all .3s var(--ease-out);
}
.calc-steps li.is-active { color: var(--color-primary); }
.calc-steps li.is-active::before { background: var(--color-secondary); color: var(--color-primary); }
.calc-steps li.is-done::before {
  content: '✓'; background: var(--color-primary); color: #fff;
}

.calc-panel { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc-panel legend { font-weight: 700; color: var(--color-primary); font-size: 17px; margin-bottom: 20px; }
.calc-panel:not(.is-active) { display: none; }
.calc-panel.is-active { display: block; animation: calcFade .4s var(--ease-out); }
@keyframes calcFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.calc-field { display: block; margin-bottom: 18px; }
.calc-field > span { display: block; font-weight: 600; font-size: 14px; color: var(--color-primary); margin-bottom: 8px; }
.calc-field select,
.calc-number input {
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; color: var(--color-text-dark);
  border: 1.5px solid rgba(23, 56, 94, 0.16);
  border-radius: 12px;
  padding: 13px 14px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.calc-field select:focus,
.calc-number input:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(255, 193, 14, 0.18);
}
.calc-number { display: flex; align-items: stretch; gap: 8px; }
.calc-number input { text-align: center; -moz-appearance: textfield; }
.calc-number input::-webkit-outer-spin-button,
.calc-number input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-step-btn {
  flex: 0 0 46px;
  border: 1.5px solid rgba(23, 56, 94, 0.16);
  background: var(--color-bg-soft);
  border-radius: 12px;
  font-size: 22px; font-weight: 700; line-height: 1;
  color: var(--color-primary); cursor: pointer;
  transition: background .2s, transform .1s;
}
.calc-step-btn:hover { background: var(--color-secondary); }
.calc-step-btn:active { transform: scale(0.94); }

/* Toggle capa */
.calc-field-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.calc-field-toggle > span { margin-bottom: 0; }
.calc-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer; }
.calc-toggle-track {
  width: 52px; height: 30px; border-radius: 30px;
  background: rgba(23, 56, 94, 0.20); position: relative;
  transition: background .25s var(--ease-out);
}
.calc-toggle-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-out);
}
.calc-toggle[data-on="true"] .calc-toggle-track { background: var(--color-secondary); }
.calc-toggle[data-on="true"] .calc-toggle-thumb { transform: translateX(22px); }
.calc-toggle-label { font-weight: 700; font-size: 14px; color: var(--color-primary); }

.calc-range { width: 100%; accent-color: var(--color-secondary); height: 6px; cursor: pointer; }
.calc-elev {
  text-align: center; margin-top: 8px;
  background: rgba(255, 193, 14, 0.14);
  border: 1px solid rgba(255, 193, 14, 0.4);
  border-radius: 12px; padding: 12px;
  color: var(--color-primary); font-weight: 600; font-size: 14px;
}
.calc-elev strong { font-size: 18px; }
.calc-hint { display: block; color: var(--color-text-muted); font-size: 12px; margin-top: 6px; text-align: left; }

.calc-actions { display: flex; gap: 12px; margin-top: 28px; }
.calc-actions .btn { flex: 1; justify-content: center; }
.calc-actions-result { flex-direction: column; }

/* ----- Resultado ----- */
.calc-result-hero {
  text-align: center;
  background: linear-gradient(160deg, #fff 0%, var(--color-bg-soft) 100%);
  border: 1.5px solid rgba(255, 193, 14, 0.4);
  border-radius: 20px; padding: 30px 20px; margin-bottom: 22px;
}
.calc-result-hero > i { font-size: 34px; color: var(--color-secondary); }
.calc-result-eyebrow {
  display: block; margin-top: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--color-primary-soft);
}
.calc-result-name {
  text-align: center; font-size: 34px; font-weight: 800;
  color: var(--color-primary); margin: 4px 0;
}
.calc-result-big { margin: 4px 0; }
.calc-result-big strong { font-size: 56px; font-weight: 800; color: var(--color-primary); line-height: 1; }
.calc-result-big span { display: block; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; color: var(--color-primary-soft); font-size: 13px; margin-top: 4px; }
.calc-result-model { color: var(--color-text-muted); font-size: 13px; text-align: center; }

.calc-result-specs { list-style: none; padding: 0; margin: 0 0 18px; }
.calc-result-specs li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 4px; border-bottom: 1px dashed rgba(23, 56, 94, 0.14);
}
.calc-result-specs li span { color: var(--color-text-muted); font-size: 14px; }
.calc-result-specs li strong { color: var(--color-primary); font-size: 15px; font-weight: 700; }

.calc-disclaimer {
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(23, 56, 94, 0.05);
  border-radius: 12px; padding: 14px 16px;
  font-size: 12.5px; color: var(--color-text-muted); text-align: left;
  margin-bottom: 22px;
}
.calc-disclaimer i { color: var(--color-primary-soft); margin-top: 2px; }

.calc-redo {
  display: block; margin: 16px auto 0;
  background: none; border: 0; cursor: pointer;
  color: var(--color-text-muted); font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 600; text-decoration: underline;
}
.calc-redo:hover { color: var(--color-primary); }

/* ----- Modal de especificações ----- */
.calc-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.calc-modal[hidden] { display: none; }
.calc-modal-overlay { position: absolute; inset: 0; background: rgba(9, 27, 48, 0.6); backdrop-filter: blur(3px); }
.calc-modal-box {
  position: relative; z-index: 1;
  width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 22px; padding: 30px;
  box-shadow: var(--shadow-lg);
  animation: calcFade .35s var(--ease-out);
}
.calc-modal-close {
  display: block; margin-left: auto; margin-bottom: 10px;
  background: none; border: 0; cursor: pointer;
  color: var(--color-primary); font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 14px;
}
.calc-modal-box h3 { text-align: center; color: var(--color-primary); font-size: 22px; margin-bottom: 18px; }
.calc-base-wrap { overflow-x: auto; margin-bottom: 22px; }
.calc-base { width: 100%; border-collapse: collapse; font-size: 14px; }
.calc-base th {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
  color: #fff; font-weight: 700; padding: 12px 10px; text-align: center;
}
.calc-base th:first-child { border-radius: 10px 0 0 0; }
.calc-base th:last-child { border-radius: 0 10px 0 0; }
.calc-base td { padding: 14px 10px; text-align: center; border: 1px solid rgba(23,56,94,0.10); color: var(--color-text-dark); }
.calc-base td:last-child { font-weight: 700; color: var(--color-primary); }

.modal-prod {
  border: 1.5px solid rgba(23,56,94,0.12); border-radius: 16px;
  padding: 20px; margin-top: 8px;
}
.modal-prod-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.modal-prod-head svg { width: 72px; height: auto; flex: 0 0 72px; }
.modal-prod-head h4 { color: var(--color-primary); font-size: 18px; }
.modal-prod-head p { color: var(--color-text-muted); font-size: 13px; text-align: left; margin-top: 2px; }
.modal-prod-specs { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 16px; }
.modal-prod-specs td { padding: 11px 12px; border: 1px solid rgba(23,56,94,0.10); }
.modal-prod-specs td:first-child { background: var(--color-bg-soft); font-weight: 600; color: var(--color-primary); width: 55%; }
.modal-prod-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.modal-prod-actions .btn { flex: 1 1 auto; font-size: 12px; padding: 12px 18px; }
.calc-modal-note {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12.5px; color: var(--color-text-muted); text-align: left; margin-top: 18px;
}
.calc-modal-note i { color: var(--color-primary-soft); margin-top: 2px; }

@media (max-width: 880px) {
  .calc { padding: 70px 0; }
  .calc-card { grid-template-columns: 1fr; }
  .calc-preview { padding: 40px 24px; }
  .calc-form { padding: 32px 24px 36px; }
  .pool-readout { flex-wrap: wrap; justify-content: center; }
}
