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

:root {
  --primary: #E8920E;
  --primary-light: #FFF3DC;
  --primary-mid: #FDE6B5;
  --accent: #D97706;
  --green: #25D366;
  --bg: #FFFFFF;
  --bg-soft: #FAFAFA;
  --bg-section: #F5F5F5;
  --bg-card: #FFFFFF;
  --border: #E5E5E5;
  --border-hover: #D4D4D4;
  --text: #18181B;
  --text-secondary: #52525B;
  --text-muted: #A1A1AA;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.08);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

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

h1,h2,h3,h4,h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; line-height: 1.15; letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ====== NAVBAR ====== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 0 32px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled { background: rgba(255,255,255,0.92); border-bottom-color: var(--border); }
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
}
.nav-brand-icon svg { width: 18px; height: 18px; color: #fff; stroke-width: 2.5; }
.nav-brand-text { font-family: 'Space Grotesk'; font-size: 1.1rem; font-weight: 700; color: var(--text); }
.nav-brand-text span { color: var(--primary); }
.nav-menu { display: flex; gap: 4px; align-items: center; }
.nav-link {
  padding: 8px 16px; border-radius: 8px; font-size: 0.85rem;
  font-weight: 500; color: var(--text-secondary); transition: var(--transition);
}
.nav-link:hover { color: var(--text); background: var(--bg-section); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 10px; font-size: 0.85rem;
  font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transition: var(--transition); border: none; cursor: pointer; margin-left: 8px;
}
.nav-cta svg { width: 16px; height: 16px; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,146,14,0.3); }
.nav-mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--text); padding: 8px;
}
.nav-mobile-toggle svg { width: 24px; height: 24px; }

/* ====== HERO ====== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 100px 32px 60px; background: var(--bg);
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 50px; font-size: 0.78rem;
  font-weight: 600; color: var(--accent);
  background: var(--primary-light); border: 1px solid var(--primary-mid);
  margin-bottom: 24px; letter-spacing: 0.5px; text-transform: uppercase;
}
.hero-tag .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
.hero h1 { font-size: clamp(2.4rem, 4.2vw, 3.4rem); margin-bottom: 18px; color: var(--text); }
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc {
  font-size: 1.02rem; color: var(--text-secondary); margin-bottom: 32px;
  max-width: 470px; line-height: 1.75;
}
.hero-desc strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; border-radius: 10px; font-size: 0.92rem;
  font-weight: 600; transition: var(--transition);
  border: none; cursor: pointer; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(232,146,14,0.25); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--accent); }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,211,102,0.25); }

/* Hero Metrics */
.hero-metrics { display: flex; gap: 32px; }
.metric-value {
  font-family: 'Space Grotesk'; font-size: 1.6rem; font-weight: 700;
  color: var(--accent);
}
.metric-label {
  font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 1px; font-weight: 500;
}

/* Hero Visual */
.hero-visual { position: relative; }
.hero-img-wrapper {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 3/4; max-height: 500px;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.hero-img-wrapper img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 65%;
}
.hero-img-wrapper::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, transparent 30%);
  pointer-events: none;
}
.hero-img-badge {
  position: absolute; bottom: 16px; left: 16px; right: 16px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(12px);
  padding: 14px 18px; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.hero-img-badge svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }
.badge-text { font-size: 0.82rem; color: var(--text-secondary); }
.badge-text strong { color: var(--text); display: block; font-size: 0.9rem; }

/* ====== TICKER ====== */
.ticker {
  padding: 16px 0; overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.ticker-track {
  display: flex; gap: 40px; animation: marquee 20s linear infinite; white-space: nowrap;
}
.ticker-item {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  font-size: 0.8rem; font-weight: 500; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1.5px;
}
.ticker-item svg { width: 14px; height: 14px; color: var(--primary); opacity: 0.7; }

/* ====== SECTIONS ====== */
.section { padding: 96px 32px; }
.section-alt { background: var(--bg-section); }
.section-header { text-align: center; margin-bottom: 56px; max-width: 580px; margin-inline: auto; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px;
}
.section-tag svg { width: 14px; height: 14px; }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 12px; color: var(--text); }
.section-desc { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; }
.container { max-width: 1200px; margin: 0 auto; }

/* ====== SERVICES ====== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 24px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0; transition: opacity 0.3s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-hover); }
.svc-card:hover::before { opacity: 1; }
.svc-card.highlighted { border-color: var(--primary-mid); background: var(--primary-light); }
.svc-card.highlighted::before { opacity: 1; }
.svc-badge {
  position: absolute; top: 18px; right: 18px;
  padding: 4px 10px; border-radius: 6px; font-size: 0.68rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  background: var(--primary-light); color: var(--accent); border: 1px solid var(--primary-mid);
}
.svc-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--primary-light); display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px;
}
.svc-icon svg { width: 22px; height: 22px; color: var(--accent); }
.svc-card h3 { font-size: 1.1rem; margin-bottom: 16px; }
.svc-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.svc-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.87rem; color: var(--text-secondary);
}
.svc-list li svg { width: 14px; height: 14px; color: var(--primary); opacity: 0.8; flex-shrink: 0; }

/* ====== SOLAR ====== */
.solar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.solar-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.solar-visual img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform 0.6s;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.solar-visual:hover img { transform: scale(1.03); }
.solar-content h2 { font-size: clamp(1.7rem, 3.2vw, 2.2rem); margin-bottom: 16px; }
.solar-content h2 .gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.solar-content > p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 24px; font-size: 1rem; }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.benefit {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 18px; border-radius: var(--radius); transition: var(--transition);
}
.benefit:hover { border-color: var(--border-hover); box-shadow: var(--shadow); }
.benefit-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--primary-light); display: flex; align-items: center;
  justify-content: center; margin-bottom: 10px;
}
.benefit-icon svg { width: 16px; height: 16px; color: var(--accent); }
.benefit h4 { font-size: 0.88rem; margin-bottom: 3px; }
.benefit p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

/* ====== GUARANTEES ====== */
.guarantees-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.g-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 24px;
  text-align: center; transition: var(--transition);
}
.g-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.g-icon {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--primary-light); display: flex; align-items: center;
  justify-content: center;
}
.g-icon svg { width: 22px; height: 22px; color: var(--accent); }
.g-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
.g-card p { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.6; }

/* ====== CTA ====== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-light) 0%, #FFF8EC 100%);
  text-align: center; position: relative;
}
.cta-section .section-title { margin-bottom: 12px; }
.cta-section .section-desc { max-width: 440px; margin: 0 auto 32px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ====== FOOTER ====== */
.footer { padding: 48px 32px 20px; border-top: 1px solid var(--border); background: var(--bg-soft); }
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 6px; }
.footer-brand-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
}
.footer-brand-icon svg { width: 14px; height: 14px; color: #fff; }
.footer-brand-text { font-family: 'Space Grotesk'; font-weight: 700; font-size: 0.95rem; }
.footer-brand-text span { color: var(--primary); }
.footer-tagline { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 20px; }
.footer-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.footer-link {
  padding: 8px 16px; border-radius: 8px; font-size: 0.8rem; font-weight: 500;
  color: var(--text-secondary); border: 1px solid var(--border);
  transition: var(--transition); display: inline-flex; align-items: center; gap: 6px;
}
.footer-link svg { width: 14px; height: 14px; }
.footer-link:hover { border-color: var(--primary); color: var(--accent); }
.footer-copy {
  color: var(--text-muted); font-size: 0.72rem;
  padding-top: 18px; border-top: 1px solid var(--border);
}

/* ====== FLOATING WA ====== */
.float-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 99;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
  transition: var(--transition); animation: float 3s ease-in-out infinite;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 26px; height: 26px; fill: #fff; }

/* ====== ANIMATIONS ====== */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.85)} }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

[data-reveal] { opacity:0; transform:translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].visible { opacity:1; transform:translateY(0); }
[data-reveal][data-delay="1"] { transition-delay:0.1s }
[data-reveal][data-delay="2"] { transition-delay:0.2s }
[data-reveal][data-delay="3"] { transition-delay:0.3s }

/* ====== RESPONSIVE ====== */
@media (max-width:1024px) {
  .services-grid,.guarantees-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width:768px) {
  .navbar { padding: 0 20px; }
  .nav-menu { display:none; }
  .nav-mobile-toggle { display:block; }
  .hero { padding:100px 20px 48px; }
  .hero-inner { grid-template-columns:1fr; gap:32px; }
  .hero-img-wrapper { max-height: none; max-width: 400px; margin: 0 auto; }
  .hero-metrics { gap:24px; }
  .hero-actions { flex-direction:column; }
  .section { padding:64px 20px; }
  .solar-grid { grid-template-columns:1fr; gap:32px; }
  .solar-visual { grid-template-columns: 1fr; gap: 16px; }
  .solar-visual img { width: 100%; height: auto; aspect-ratio: auto; }
  .benefits-grid { grid-template-columns:1fr; }
  .services-grid { grid-template-columns:1fr; }
  .btn { width:100%; justify-content:center; }
  .float-wa { right: 20px; left: auto; bottom: 20px; }
  .hero-img-badge { display: none; }
}
@media (max-width:480px) {
  .guarantees-grid { grid-template-columns:1fr; }
  .hero-metrics { flex-wrap:wrap; gap:20px; }
}
