/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(360px, 440px);
  column-gap: 56px;
  justify-content: center;
  align-items: center;
  padding: 150px max(24px, calc((100vw - 1240px) / 2)) 80px;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #f0fdf4 0%, #f8faf8 50%, #fefce8 100%);
}

/* Grid de linhas de energia */
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(22,163,74,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,163,74,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  from { transform: translateY(0); }
  to   { transform: translateY(60px); }
}

/* Brilho de fundo */
#hero::after {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(22,163,74,0.12) 0%, rgba(234,124,10,0.06) 40%, transparent 70%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.08); opacity: 0.7; }
}

.hero-content { position: relative; z-index: 1; max-width: 780px; }

.hero-side-panel {
  position: relative;
  z-index: 1;
}

.hero-panel-card {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(22,163,74,0.2);
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 18px 40px rgba(22,163,74,0.12);
  backdrop-filter: blur(3px);
}

.hero-panel-tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}

.hero-panel-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.7px;
  margin-bottom: 16px;
  color: #0f172a;
}

.hero-panel-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-panel-card li {
  color: #334155;
  font-size: 15px;
  line-height: 1.45;
  padding-left: 20px;
  position: relative;
}

.hero-panel-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(29,185,84,0.1);
  border: 1px solid rgba(29,185,84,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  color: var(--green); text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeDown 0.8s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -2px;
  animation: fadeDown 0.8s 0.1s ease both;
  color: #111827;
}

h1 .accent { color: var(--green); }
h1 .stroke {
  -webkit-text-stroke: 2px rgba(17,24,39,0.15);
  color: transparent;
}

.hero-sub {
  font-size: 18px; font-weight: 300; color: #4b7a5a;
  line-height: 1.6; margin: 28px 0 44px;
  max-width: 520px;
  animation: fadeDown 0.8s 0.2s ease both;
}

.hero-sub strong { color: #111827; font-weight: 600; }

.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeDown 0.8s 0.3s ease both;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), #0fa840);
  color: #000; font-weight: 700; font-size: 14px;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 16px 36px; border-radius: 4px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 32px rgba(29,185,84,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(29,185,84,0.5);
}
.btn-primary::after { content: '→'; font-size: 18px; }

.btn-outline {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); font-weight: 500; font-size: 14px;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 16px 36px; border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--green); background: rgba(29,185,84,0.07); }

/* Stats */
.hero-stats {
  display: flex; gap: 48px; margin-top: 64px;
  animation: fadeDown 0.8s 0.4s ease both;
}

.stat-item {}
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px; font-weight: 900;
  color: #111827; letter-spacing: -1px; line-height: 1;
}
.stat-num span { color: var(--green); }
.stat-label { font-size: 11px; color: #6b8f72; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 4px; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 40px; left: 60px;
  display: flex; align-items: center; gap: 12px;
  color: #6b8f72; font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  z-index: 1;
  animation: fadeDown 0.8s 0.6s ease both;
}
.scroll-line {
  width: 40px; height: 1px; background: var(--green);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%; background: var(--white);
  animation: scanLine 2s ease-in-out infinite;
}
@keyframes scanLine { to { left: 100%; } }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SECTION BASE ── */
section { padding: 100px 60px; }

.section-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-tag::before {
  content: ''; width: 30px; height: 2px;
  background: var(--green); display: inline-block;
}

h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 900; text-transform: uppercase;
  line-height: 1; letter-spacing: -1px;
  margin-bottom: 20px; color: #111827;
}

h2 em { font-style: normal; color: var(--green); }

.section-lead {
  font-size: 17px; color: #4b7a5a; font-weight: 300;
  line-height: 1.7; max-width: 520px; margin-bottom: 60px;
}

/* ── SERVIÇOS ── */
#servicos {
  background: #f0fdf4;
  position: relative;
}

#servicos::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), var(--orange), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  background: #ffffff;
  border: 1px solid rgba(22,163,74,0.12);
  padding: 36px 24px;
  position: relative; overflow: hidden;
  transition: background 0.3s, border-color 0.3s;
  cursor: default;
}

.service-card:hover {
  background: #f0fdf4;
  border-color: rgba(22,163,74,0.35);
  box-shadow: 0 8px 32px rgba(22,163,74,0.1);
}

.service-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:nth-child(1)::before { background: var(--green); }
.service-card:nth-child(2)::before { background: var(--orange); }
.service-card:nth-child(3)::before { background: #3b82f6; }

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(22,163,74,0.12) 0%, rgba(22,163,74,0.06) 100%);
  border: 1px solid rgba(22,163,74,0.18);
  flex-shrink: 0;
}
.service-icon svg {
  width: 28px; height: 28px;
}
.service-card:nth-child(1) .service-icon { background: linear-gradient(135deg, rgba(22,163,74,0.12), rgba(22,163,74,0.05)); border-color: rgba(22,163,74,0.2); }
.service-card:nth-child(2) .service-icon { background: linear-gradient(135deg, rgba(234,124,10,0.12), rgba(234,124,10,0.05)); border-color: rgba(234,124,10,0.2); }
.service-card:nth-child(3) .service-icon { background: linear-gradient(135deg, rgba(234,179,8,0.12), rgba(234,179,8,0.05)); border-color: rgba(234,179,8,0.2); }
.service-card:nth-child(4) .service-icon { background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(99,102,241,0.05)); border-color: rgba(99,102,241,0.2); }

.service-num {
  position: absolute; top: 20px; right: 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 64px; font-weight: 900;
  color: rgba(22,163,74,0.08); line-height: 1;
}

.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.5px;
  margin-bottom: 10px; color: #111827;
}

.service-card p {
  font-size: 12.5px; color: #4b7a5a;
  line-height: 1.6; font-weight: 300;
}

.service-tag {
  display: inline-block; margin-top: 20px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--green); border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
}

/* ── COMO FUNCIONA ── */
#como {
  background: #ffffff;
  position: relative; overflow: hidden;
}

.steps-wrap {
  display: flex; gap: 0;
  position: relative;
}

.steps-wrap::before {
  content: '';
  position: absolute; top: 32px; left: 32px; right: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--green), var(--orange), var(--green));
  z-index: 0;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  position: relative; z-index: 1;
}

.step-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #16a34a;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 900; color: var(--green);
  position: relative;
  box-shadow: 0 0 24px rgba(29,185,84,0.25);
}

.step:nth-child(even) .step-circle {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 0 0 24px rgba(245,166,35,0.25);
}

.step h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.3px;
  margin-bottom: 10px; color: #111827;
}

.step p {
  font-size: 13px; color: #4b7a5a;
  line-height: 1.6; font-weight: 300;
}

/* ── PORQUÊ NÓS ── */
#porque {
  background: linear-gradient(135deg, #f0fdf4 0%, #f8faf8 100%);
  position: relative;
}

.porque-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

.porque-visual {
  position: relative; height: 480px;
}

.energy-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 300px; height: 300px;
  border-color: rgba(29,185,84,0.4);
  animation: spin 20s linear infinite;
}
.ring-2 {
  width: 220px; height: 220px;
  border-color: rgba(245,166,35,0.25);
  animation: spin 14s linear infinite reverse;
}
.ring-3 {
  width: 140px; height: 140px;
  border-color: rgba(29,185,84,0.15);
  animation: spin 8s linear infinite;
}

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.ring-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  top: -5px; left: 50%; transform: translateX(-50%);
}
.ring-1 .ring-dot { background: var(--green); box-shadow: 0 0 12px var(--green); }
.ring-2 .ring-dot { background: var(--orange); box-shadow: 0 0 12px var(--orange); }

.ring-center {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(22,163,74,0.2), rgba(22,163,74,0.03));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
}

.porque-items { display: flex; flex-direction: column; gap: 28px; }

.porque-item {
  display: flex; gap: 20px; align-items: flex-start;
}

.porque-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 8px;
  background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

.porque-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 800;
  text-transform: uppercase; margin-bottom: 4px; color: #111827;
}

.porque-item p {
  font-size: 13.5px; color: #4b7a5a;
  line-height: 1.6; font-weight: 300;
}

/* ── CONTACTO / CTA ── */
#contacto {
  background: #f0fdf4;
  position: relative; overflow: hidden;
  text-align: center;
  padding: 120px 60px;
}

#contacto::before {
  content: '';
  position: absolute; top: -300px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(29,185,84,0.1) 0%, transparent 60%);
  border-radius: 50%;
}

#contacto h2 { font-size: clamp(50px, 7vw, 100px); max-width: 800px; margin: 0 auto 20px; color: #111827; }

#contacto .section-lead { margin: 0 auto 50px; text-align: center; }

.contact-cards {
  display: flex; justify-content: center; gap: 20px;
  flex-wrap: wrap; margin-bottom: 50px;
}

.contact-card {
  background: #ffffff;
  border: 1px solid rgba(22,163,74,0.15);
  box-shadow: 0 2px 12px rgba(22,163,74,0.06);
  border-radius: 12px;
  padding: 28px 32px;
  min-width: 200px;
  transition: border-color 0.2s, background 0.2s;
}
.contact-card:hover {
  border-color: rgba(22,163,74,0.4);
  background: #f0fdf4;
}

.contact-card-icon { margin-bottom: 12px; display:flex; align-items:center; justify-content:center; }

.contact-card p {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: #6b8f72; margin-bottom: 6px;
}
.contact-card strong {
  font-size: 16px; font-weight: 600; color: #111827;
}
.contact-card a {
  font-size: 15px; font-weight: 600; color: var(--green);
  text-decoration: none;
}

.cta-big {
  display: inline-flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, var(--green) 0%, #0fa840 100%);
  color: #000; font-weight: 800; font-size: 16px;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 20px 52px; border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 16px 56px rgba(29,185,84,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.cta-big:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 80px rgba(29,185,84,0.55);
}
.cta-big::after { content: '⚡'; font-size: 20px; }

@media (min-width: 981px) {
  .hero-content {
    max-width: 920px;
    width: min(920px, 100%);
    margin: 0 auto;
  }

  section {
    padding: 100px max(24px, calc((100vw - 1240px) / 2));
  }
}

@media (max-width: 980px) {
  #hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    padding: 120px 20px 48px;
  }

  .hero-content { max-width: 100%; }
  .hero-side-panel { display: none; }

  h1 {
    font-size: clamp(42px, 14vw, 64px);
    line-height: 0.95;
  }

  .hero-sub {
    font-size: 16px;
    margin: 20px 0 28px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 36px;
    width: 100%;
  }

  .stat-item { min-width: 0; }
  .stat-num { font-size: 34px; }
  .stat-label { font-size: 10px; letter-spacing: 1px; }

  .scroll-indicator { display: none; }

  section { padding: 56px 20px; }

  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 24px 18px; }

  .steps-wrap {
    flex-direction: column;
    gap: 26px;
  }

  .steps-wrap::before { display: none; }
  .step { padding: 0; }

  .porque-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .porque-visual {
    height: 300px;
    order: -1;
  }

  .ring-1 { width: 220px; height: 220px; }
  .ring-2 { width: 160px; height: 160px; }
  .ring-3 { width: 100px; height: 100px; }

  #contacto { padding: 70px 20px; }
  #contacto h2 { font-size: clamp(38px, 12vw, 56px); }
  .contact-cards { gap: 12px; margin-bottom: 28px; }
  .contact-card { width: 100%; min-width: 0; padding: 20px 16px; }
  .cta-big { width: 100%; justify-content: center; padding: 16px 20px; }
}
