/* ============================================================
   SS SOLAR ENERGIA — CSS COMPLETO
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #F59E0B;
  --primary-light: rgba(245,158,11,0.1);
  --primary-glow: rgba(245,158,11,0.25);
  --bg: #0a0a0f;
  --bg-card: #13131a;
  --bg-card2: #1a1a24;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: rgba(255,255,255,0.07);
  --white: #fff;
  --radius: 1rem;
  --shadow-primary: 0 0 30px rgba(245,158,11,0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,h2,h3,h4,h5 { font-family: 'Poppins', sans-serif; line-height: 1.2; }

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

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

/* ============================================================
   UTILITIES
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 650px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.highlight { color: var(--primary); }
.gradient-text {
  background: linear-gradient(90deg, var(--primary), #fde68a, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: .5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: all .3s ease;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: #000;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover { background: #d97706; transform: translateY(-2px); box-shadow: 0 0 40px rgba(245,158,11,0.45); }
.btn-outline {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 0 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover { background: #1ebe5b; transform: translateY(-2px); box-shadow: 0 0 30px rgba(37,211,102,0.5); }

/* Fade-in on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid #e5e7eb;
  transition: padding .3s;
  padding: 1.25rem 0;
}
#navbar.scrolled { padding: .75rem 0; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 52px; width: auto; object-fit: contain; border-radius: 4px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  color: #475569;
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width .3s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { padding: .6rem 1.5rem; font-size: .9rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #1e293b;
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0;
  gap: 1.25rem;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}
#mobile-menu.open { display: flex; }
#mobile-menu a { color: #475569; font-weight: 500; font-size: 1rem; }
#mobile-menu a:hover { color: var(--primary); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 9rem 0 4rem;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
#hero::before {
  content: '';
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { text-align: center; position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--primary);
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100%{box-shadow: 0 0 0 0 rgba(245,158,11,.6);}
  50%{box-shadow: 0 0 0 6px rgba(245,158,11,0);}
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.hero-subtitle {
  color: var(--text-muted);
  font-size: clamp(.95rem, 2vw, 1.15rem);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-cta .btn { height: 56px; padding: 0 2.25rem; font-size: 1rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  max-width: 700px;
  margin: 0 auto;
}
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stat { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.hero-stat-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
}
.hero-stat-icon svg { width: 16px; height: 16px; color: var(--primary); stroke: var(--primary); }
.hero-stat span { font-size: .82rem; font-weight: 500; color: rgba(241,245,249,0.75); text-align: center; }

/* ============================================================
   AUTHORITY (STATS)
   ============================================================ */
#authority {
  padding: 3.5rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item:nth-child(2n) { border-right: none; }
@media (min-width: 768px) {
  .stat-item { border-right: 1px solid var(--border); border-bottom: none; }
  .stat-item:last-child { border-right: none; }
}
.stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); font-weight: 500; }

/* ============================================================
   BENEFITS
   ============================================================ */
#beneficios { padding: 5rem 0; background: var(--bg); position: relative; overflow: hidden; }
#beneficios::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.benefits-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color .3s, transform .3s;
}
.benefit-card:hover { border-color: rgba(245,158,11,0.3); transform: translateY(-4px); }
.benefit-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform .3s, background .3s;
}
.benefit-card:hover .benefit-icon { transform: scale(1.1); background: rgba(245,158,11,0.2); }
.benefit-icon svg { width: 28px; height: 28px; stroke: var(--primary); }
.benefit-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; }
.benefit-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.65; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#como-funciona {
  padding: 5rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps-list { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) { .steps-list { gap: 0; position: relative; } }
.steps-list::before {
  display: none;
}
@media (min-width: 768px) {
  .steps-list::before {
    content: '';
    display: block;
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 1px;
    background: var(--border);
    transform: translateX(-50%);
  }
}
.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .step-item { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; gap: 0; }
  .step-item:not(:last-child) { margin-bottom: 2.5rem; }
}
.step-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  transition: border-color .3s, transform .3s;
  flex: 1;
}
@media (min-width: 768px) {
  .step-item:nth-child(odd) .step-card { text-align: right; }
  .step-item:nth-child(even) .step-card { order: 3; }
  .step-item:nth-child(even) .step-number { order: 2; }
  .step-item:nth-child(even) .step-right { order: 1; text-align: right; }
}
.step-card:hover { border-color: rgba(245,158,11,0.3); transform: translateY(-3px); }
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.step-card p { color: var(--text-muted); font-size: .88rem; }
.step-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}
@media (min-width: 768px) {
  .step-number { width: 56px; height: 56px; margin: 0 auto; }
}
.step-number svg { width: 20px; height: 20px; stroke: var(--primary); }
.step-num-label {
  color: var(--primary);
  font-size: .8rem;
  font-weight: 900;
}
.step-right { display: none; }
@media (min-width: 768px) { .step-right { display: block; } }
.step-big-num {
  font-family: 'Poppins', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  user-select: none;
}

/* ============================================================
   AREAS (SEGMENTS)
   ============================================================ */
#areas { padding: 5rem 0; background: var(--bg); overflow: hidden; }
.areas-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
.area-card {
  position: relative;
  height: 340px;
  border-radius: 2rem;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
@media (min-width: 768px) { .area-card { height: 400px; } }
.area-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.area-card:hover img { transform: scale(1.06); }
.area-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.35) 50%, transparent 100%);
  z-index: 1;
  transition: opacity .4s;
}
.area-card:hover .area-overlay { opacity: .9; }
.area-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 2rem;
  text-align: center;
}
.area-content h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: #fff; margin-bottom: .5rem; }
.area-content p { color: #d1d5db; font-size: .9rem; line-height: 1.55; max-width: 85%; margin: 0 auto; }

/* ============================================================
   SERVICES
   ============================================================ */
#servicos {
  padding: 5rem 0;
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
#servicos::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 33%; height: 100%;
  background: radial-gradient(circle, rgba(245,158,11,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.services-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: .75rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: border-color .3s;
  width: 100%;
}
@media (min-width: 768px) { .service-card { width: calc(50% - 0.5rem); } }
@media (min-width: 1024px) { .service-card { width: calc(33.333% - 0.75rem); } }
.service-card:hover { border-color: rgba(245,158,11,0.3); }
.service-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .3s;
}
.service-card:hover .service-icon { background: var(--primary-light); }
.service-icon svg { width: 18px; height: 18px; stroke: var(--primary); }
.service-card h3 { font-size: .9rem; font-weight: 500; color: rgba(241,245,249,0.85); transition: color .3s; }
.service-card:hover h3 { color: var(--primary); }

/* ============================================================
   PORTFOLIO
   ============================================================ */
#portfolio { padding: 5rem 0; background: var(--bg); border-top: 1px solid var(--border); }
.portfolio-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform .3s;
}
.portfolio-card:hover { transform: translateY(-5px); }
.portfolio-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.portfolio-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.portfolio-card:hover .portfolio-img img { transform: scale(1.08); }
.portfolio-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9999px;
  padding: .3rem .85rem;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
}
.portfolio-body { padding: 1.25rem; }
.portfolio-location { display: flex; align-items: center; gap: .4rem; color: var(--text-muted); font-size: .85rem; margin-bottom: 1rem; }
.portfolio-location svg { width: 14px; height: 14px; stroke: var(--primary); }
.portfolio-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.pstat {
  border-radius: .6rem;
  padding: .75rem;
}
.pstat.dark { background: var(--bg); border: 1px solid var(--border); }
.pstat.amber { background: var(--primary-light); border: 1px solid rgba(245,158,11,0.2); }
.pstat-label { display: flex; align-items: center; gap: .35rem; font-size: .72rem; color: var(--text-muted); margin-bottom: .25rem; }
.pstat.amber .pstat-label { color: var(--primary); }
.pstat-label svg { width: 12px; height: 12px; stroke: currentColor; }
.pstat-value { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .95rem; }
.pstat.amber .pstat-value { color: var(--primary); }

/* ============================================================
   SIMULATOR
   ============================================================ */
#simulador {
  padding: 5rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
#simulador::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(245,158,11,0.09) 0%, transparent 70%);
  pointer-events: none;
}
.sim-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .sim-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.sim-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .85rem;
  border-radius: 9999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.sim-tag svg { width: 14px; height: 14px; stroke: var(--primary); }
.sim-title { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.sim-desc { color: var(--text-muted); margin-bottom: 2rem; font-size: .95rem; }
.sim-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.sim-label { font-size: .95rem; color: rgba(241,245,249,0.85); margin-bottom: .75rem; display: block; }
.sim-input-wrap { position: relative; }
.sim-prefix {
  position: absolute;
  left: 1rem;
  top: 50%; transform: translateY(-50%);
  color: var(--text-muted);
  font-size: .95rem;
}
.sim-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border-radius: .5rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s;
}
.sim-input:focus { border-color: var(--primary); }
.sim-error { color: #f87171; font-size: .82rem; margin-top: .4rem; display: none; }
.sim-submit { margin-top: 1.25rem; width: 100%; height: 52px; font-size: 1rem; }

/* Results */
.sim-results-empty {
  min-height: 380px;
  border: 2px dashed var(--border);
  border-radius: 1.5rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 1rem;
}
.sim-results-empty .empty-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
}
.sim-results-empty .empty-icon svg { width: 35px; height: 35px; stroke: var(--primary); opacity: .5; }
.sim-results-empty h3 { font-size: 1.1rem; color: var(--text-muted); }
.sim-results-empty p { color: var(--text-muted); font-size: .85rem; max-width: 250px; }
.sim-results { display: none; flex-direction: column; gap: 1rem; }
.sim-results.show { display: flex; }
.sim-main-card {
  background: linear-gradient(135deg, rgba(245,158,11,0.2) 0%, rgba(245,158,11,0.05) 100%);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative; overflow: hidden;
}
.sim-main-card::after {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: rgba(245,158,11,0.15);
  border-radius: 50%;
  filter: blur(30px);
}
.sim-card-header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.sim-card-header svg { width: 22px; height: 22px; stroke: var(--primary); }
.sim-card-header span { font-size: 1rem; color: var(--text); }
.sim-monthly-value {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.sim-monthly-note { color: var(--text-muted); font-size: .85rem; margin-top: .5rem; }
.sim-cards-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sim-small-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: .75rem;
  padding: 1rem;
}
.sim-small-header { display: flex; align-items: center; gap: .5rem; font-size: .75rem; color: var(--text-muted); margin-bottom: .5rem; }
.sim-small-header svg { width: 14px; height: 14px; stroke: var(--primary); }
.sim-small-value { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.1rem; }
.sim-cta-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1rem;
  border-radius: .75rem;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.3);
  color: #25D366;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: background .3s;
}
.sim-cta-btn svg { width: 18px; height: 18px; stroke: #25D366; }
.sim-cta-btn:hover { background: rgba(37,211,102,0.2); }

/* Popup */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.popup-overlay.show { display: flex; }
.popup-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: popIn .35s ease;
}
@keyframes popIn {
  from { opacity: 0; transform: scale(.88) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.popup-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none;
  color: var(--text-muted); cursor: pointer;
  transition: color .2s;
}
.popup-close:hover { color: var(--text); }
.popup-close svg { width: 20px; height: 20px; stroke: currentColor; }
.popup-icon {
  width: 64px; height: 64px;
  border-radius: 14px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.popup-icon svg { width: 32px; height: 32px; stroke: var(--primary); }
.popup-title { text-align: center; font-size: 1.4rem; font-weight: 800; margin-bottom: .5rem; }
.popup-subtitle { text-align: center; font-size: .9rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.popup-subtitle strong { color: var(--primary); }
.popup-form { display: flex; flex-direction: column; gap: .85rem; }
.form-group { display: flex; flex-direction: column; gap: .3rem; }
.form-group label { font-size: .8rem; color: var(--text-muted); font-weight: 500; }
.form-group input {
  padding: .7rem 1rem;
  border-radius: .5rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus { border-color: var(--primary); }
.popup-submit { margin-top: .5rem; width: 100%; height: 48px; }
.popup-skip {
  width: 100%; text-align: center;
  font-size: .78rem; color: var(--text-muted);
  background: none; border: none; cursor: pointer; margin-top: .75rem;
  transition: color .2s;
}
.popup-skip:hover { color: var(--text); }

/* ============================================================
   ABOUT
   ============================================================ */
#sobre { padding: 5rem 0; background: var(--bg); overflow: hidden; }
.about-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.about-img-wrap {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-img-wrap img { width: 100%; height: 350px; object-fit: cover; }
@media (min-width: 768px) { .about-img-wrap img { height: 480px; } }
.about-img-badge {
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  position: relative;
  margin: -1.5rem auto 1.5rem;
  width: 90%;
  max-width: 300px;
  z-index: 10;
  text-align: center;
}
@media (min-width: 768px) {
  .about-img-badge {
    position: absolute;
    bottom: 1.5rem; left: 1.5rem;
    margin: 0;
    width: auto;
    max-width: 250px;
    text-align: left;
  }
}
.about-badge-value { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.75rem; color: var(--primary); }
.about-badge-label { font-size: .78rem; color: var(--text); margin-top: .2rem; }
.about-title { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.about-desc { color: var(--text-muted); margin-bottom: 2rem; font-size: .95rem; line-height: 1.75; }
.about-checks { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 2rem; }
.check-item { display: flex; align-items: center; gap: .75rem; }
.check-item svg { width: 22px; height: 22px; stroke: var(--primary); flex-shrink: 0; }
.check-item span { font-size: .95rem; font-weight: 500; }

/* ============================================================
   DIFFERENTIALS
   ============================================================ */
#diferenciais {
  padding: 5rem 0;
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.diff-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .diff-grid { grid-template-columns: repeat(3, 1fr); } }
.diff-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color .3s;
}
.diff-card:hover { border-color: rgba(245,158,11,0.3); }
.diff-icon {
  width: 48px; height: 48px;
  border-radius: .6rem;
  background: var(--primary-light);
  border: 1px solid rgba(245,158,11,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.diff-icon svg { width: 22px; height: 22px; stroke: var(--primary); }
.diff-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.diff-card p { color: var(--text-muted); font-size: .88rem; line-height: 1.65; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#depoimentos {
  padding: 5rem 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.carousel-wrapper { position: relative; overflow: hidden; max-width: 900px; margin: 0 auto; }
.carousel-track {
  display: flex;
  transition: transform .45s ease;
}
.carousel-slide { min-width: 100%; padding: 0 .5rem; }
@media (min-width: 768px) { .carousel-slide { min-width: 50%; } }
.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  position: relative;
}
.t-quote-icon {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 40px; height: 40px;
  stroke: rgba(245,158,11,0.1);
}
.t-stars { display: flex; gap: .25rem; margin-bottom: 1rem; }
.t-stars svg { width: 16px; height: 16px; fill: var(--primary); stroke: var(--primary); }
.t-text { color: var(--text-muted); font-style: italic; line-height: 1.7; margin-bottom: 1.5rem; font-size: .92rem; min-height: 90px; }
.t-author { display: flex; align-items: center; gap: 1rem; }
.t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  border: 2px solid rgba(245,158,11,0.2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; color: var(--primary);
  flex-shrink: 0;
}
.t-name { font-weight: 600; font-size: .92rem; }
.t-city { font-size: .78rem; color: var(--text-muted); }
.carousel-nav { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; }
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.carousel-btn:hover { background: var(--primary-light); border-color: rgba(245,158,11,0.3); color: var(--primary); }
.carousel-btn svg { width: 18px; height: 18px; stroke: currentColor; }

/* ============================================================
   FAQ
   ============================================================ */
#faq { padding: 5rem 0; background: var(--bg); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: .75rem;
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item.open { border-color: rgba(245,158,11,0.3); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: .98rem;
  transition: color .2s;
  gap: 1rem;
}
.faq-item.open .faq-question { color: var(--primary); }
.faq-icon { width: 20px; height: 20px; stroke: currentColor; flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
  padding: 0 1.5rem;
}
.faq-item.open .faq-answer { max-height: 500px; padding: 0 1.5rem 1.25rem; }

/* ============================================================
   CTA FINAL (CONTACT FORM)
   ============================================================ */
#contato { padding: 5rem 0; background: var(--bg-card2); }
.cta-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  max-width: 860px;
  margin: 0 auto;
}
@media (min-width: 768px) { .cta-box { padding: 3.5rem; } }
.cta-title { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 900; margin-bottom: .75rem; text-align: center; }
.cta-subtitle { color: var(--text-muted); font-size: .95rem; text-align: center; margin-bottom: 2.5rem; max-width: 580px; margin-left: auto; margin-right: auto; }
.contact-form {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.form-label { font-size: .85rem; font-weight: 500; color: var(--text); }
.form-input {
  height: 48px;
  padding: 0 1rem;
  border-radius: .5rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.form-input:focus { border-color: var(--primary); }
.form-full { grid-column: 1 / -1; }
.contact-submit { width: 100%; height: 60px; font-size: 1rem; margin-top: .75rem; }
.form-success {
  display: none;
  align-items: center;
  gap: .5rem;
  color: #4ade80;
  font-size: .9rem;
  font-weight: 500;
  margin-top: 1rem;
  justify-content: center;
}
.form-success.show { display: flex; }
.form-success svg { width: 18px; height: 18px; stroke: #4ade80; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer-logo img { height: 52px; object-fit: contain; }
.footer-tagline { color: #64748b; font-size: .85rem; margin-top: .75rem; line-height: 1.6; }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social a { color: #64748b; font-size: .82rem; font-weight: 500; transition: color .2s; }
.footer-social a:hover { color: var(--primary); }
.footer-col h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 1.25rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.footer-col ul li a { color: #64748b; font-size: .85rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-col ul li span { color: #64748b; font-size: .85rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .65rem; margin-bottom: .85rem; }
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--primary); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { color: #64748b; font-size: .83rem; line-height: 1.55; }
.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-copy { color: #94a3b8; font-size: .78rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: #94a3b8; font-size: .78rem; transition: color .2s; }
.footer-legal a:hover { color: var(--primary); }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
#whatsapp-btn {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 150;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform .3s;
  text-decoration: none;
}
#whatsapp-btn:hover { transform: scale(1.1); }
#whatsapp-btn::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #25D366;
  animation: wpPing 3s ease-in-out infinite;
  opacity: .4;
}
@keyframes wpPing {
  0%,100%{transform:scale(1);opacity:.4}
  50%{transform:scale(1.5);opacity:0}
}
#whatsapp-btn svg { width: 28px; height: 28px; fill: #fff; position: relative; z-index: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-cta .btn { width: 100%; }
  .sim-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
}
