/* ========================================
   NACIONAL GÁS EMPRESARIAL — CSS
   ======================================== */

@font-face {
  font-family: 'Poppins';
  src: url('../assets/images/fonts/Poppins/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/images/fonts/Poppins/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/images/fonts/Poppins/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/images/fonts/Poppins/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/images/fonts/Poppins/Poppins-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: #1A1A1A;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ---------- CSS VARIABLES ---------- */
:root {
  --red:        #7B160F;
  --red-hover:  #7B160F;
  --red-light:  rgba(200, 32, 44, 0.08);
  --dark:       #1A1A1A;
  --dark-2:     #111111;
  --white:      #FFFFFF;
  --gray-light: #F5F5F5;
  --gray-mid:   #E8E8E8;
  --gray-text:  #666666;
  --radius:     6px;
  --radius-lg:  12px;
  --shadow:     0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.18);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--red {
  background: var(--red);
  color: #fff;
}
.btn--red:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(123,22,15,0.35);
}

.btn--loading {
  opacity: 0.75;
  pointer-events: none;
}
.btn__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  animation: nge-spin 0.6s linear infinite;
}
.btn--loading .btn__spinner { display: inline-block; }
.btn--loading svg { display: none; }
@keyframes nge-spin {
  to { transform: rotate(360deg); }
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: var(--red);
  font-weight: 700;
}
.btn--white:hover {
  background: var(--gray-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn--lg { padding: 17px 36px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; }

/* ---------- SECTION TYPOGRAPHY ---------- */
.section-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-eyebrow--light { color: rgba(255,255,255,0.65); }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-text);
  max-width: 620px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-title { margin-bottom: 16px; }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1);
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  background: #7B160F;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.header.scrolled {
  background: #7B160F;
  box-shadow: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo__img {
  display: block;
  height: 28px;
  width: auto;
  max-width: min(250px, 70vw);
}


/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  overflow: hidden;
}

/* Slider */
.hero__slider {
  position: relative;
  width: 100%;
  height: 941px;
  max-height: 941px;
  background: var(--dark);
  z-index: 0;
}

.hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow var(--transition);
}
.hero__nav:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.35); }
.hero__nav svg { width: 22px; height: 22px; }
.hero__nav--prev { left: 16px; }
.hero__nav--next { right: 16px; }

.hero__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  z-index: 4;
  display: flex;
  gap: 8px;
}
.hero__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(123,22,15,0.4);
  transition: background var(--transition), transform var(--transition);
}
.hero__dot--active {
  background: var(--red);
  transform: scale(1.2);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.hero__content {
  position: relative;
  padding-top: clamp(62px, 7.8vw, 108px);
}

.hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.55rem, 3.9vw, 2.50rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #7B160F;
  margin-bottom: 14px;
}

.hero__cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  background: #7B160F;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.64rem, 0.95vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  line-height: 1;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.hero__cta-link:hover {
  background: #7B160F;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(118,18,15,0.25);
}


/* ========================================
   INTRO BLOCK
   ======================================== */
.intro-block {
  background: #fff;
  padding: 80px 0;
}

.intro-block__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-block__title {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1.18;
  margin-bottom: 24px;
}

.intro-block__text {
  font-size: 1rem;
  color: #333;
  line-height: 1.85;
}
.intro-block__text strong { font-weight: 600; color: #1A1A1A; }

/* ========================================
   STATS BLOCK
   ======================================== */
.stats-block {
  background: var(--red);
  padding: 64px 0;
}

.stats-block__inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 38px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 180px;
  text-align: center;
}

.stat-item__circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px 14px;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.stat-item__circle:hover,
.stat-item:hover .stat-item__circle {
  border-color: #fff;
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}
.stat-item__circle svg,
.stat-item__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  object-fit: contain;
}

.stat-item__label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.96);
  line-height: 1.18;
  max-width: 114px;
  text-align: center;
}
.stat-item__label strong {
  display: inline;
  font-family: 'Poppins', sans-serif;
  font-size: 1em;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
  margin: 0;
}

/* ========================================
   IMAGE BLOCK
   ======================================== */
.image-block { line-height: 0; }

.image-block__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ========================================
   SEGMENTS
   ======================================== */
.segments {
  padding: 80px 0 72px;
  background: #fff;
}
.segments .section-title { color: var(--red); }

/* Circle grid */
.seg-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 20px;
}

.seg-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: default;
}

.seg-item__circle {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.seg-item__circle svg,
.seg-item__icon {
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.seg-item:hover .seg-item__circle {
  transform: translateY(-4px);
}

.seg-item span {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: #333;
  text-align: center;
  line-height: 1.3;
  max-width: 90px;
}

/* CTA button below grid */
.segments__cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.btn--simulate {
  background: var(--red);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 40px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn--simulate:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(123,22,15,0.35);
}

/* ========================================
   EFICIÊNCIA — INTRO BLOCK
   ======================================== */
.efic-intro {
  background: #F5F4F4;
  padding: 72px 0;
}

.efic-intro__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.efic-intro__title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #7B160F;
  line-height: 1.2;
  margin-bottom: 24px;
}

.efic-intro__text {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.8;
}
.efic-intro__text strong { font-weight: 700; color: #1A1A1A; }

/* ========================================
   EFICIÊNCIA — CARDS 2×2
   ======================================== */
.efic-cards { overflow: hidden; }

.efic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.efic-card {
  padding: 52px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.efic-card--light { background: #EDEDED; }
.efic-card--dark  { background: #7B160F; }

.efic-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.efic-card--light .efic-card__title { color: #7B160F; }
.efic-card--dark  .efic-card__title { color: #fff; }

.efic-card__text {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0;
  flex: 1;
}
.efic-card--light .efic-card__text { color: #444; }
.efic-card--dark  .efic-card__text { color: rgba(255,255,255,0.82); }

.efic-card__tag {
  display: inline-block;
  margin-top: 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.efic-card--light .efic-card__tag { color: #7B160F; }
.efic-card--dark  .efic-card__tag { color: rgba(255,255,255,0.75); }

/* ========================================
   FEATURE SPLIT
   ======================================== */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.feature--image-right .feature__img { order: 2; }
.feature--image-right .feature__content { order: 1; }

.feature__img {
  position: relative;
  overflow: hidden;
}

.feature__img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature__img-placeholder--industrial {
  background: linear-gradient(135deg, #3D2B1F 0%, #5C3D2E 60%, #8B5A3A 100%);
}
.img-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-family: monospace;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 8px 16px;
  border: 1px dashed rgba(255,255,255,0.2);
  border-radius: 4px;
}

.feature__content {
  background: var(--gray-light);
  display: flex;
  align-items: center;
}

.feature__inner {
  padding: 72px 60px;
  max-width: 520px;
}

.feature__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--dark);
  margin-bottom: 20px;
}

.feature__text {
  color: var(--gray-text);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.5;
}
.check-list li::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--red-light);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' stroke='%237B160F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='4 10 8 14 16 6'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* ========================================
   VANTAGENS — split 50/50
   ======================================== */
.vantagens {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

.vantagens__left {
  background: #fff;
  display: flex;
  align-items: center;
  padding: 80px 72px;
}

.vantagens__content {
  max-width: 520px;
}

.vantagens__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  line-height: 1.15;
  color: #7B160F;
  margin-bottom: 44px;
}

.vantagens__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
}
.vantagens__item:last-child { margin-bottom: 0; }

.vantagens__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(123,22,15,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.vantagens__icon svg {
  width: 26px;
  height: 26px;
}

.vantagens__item-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.25;
  color: #7B160F;
  margin-bottom: 8px;
}

.vantagens__item-text {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.72;
}

.vantagens__right {
  position: relative;
  overflow: hidden;
}

.vantagens__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ========================================
   AGRO SECTION
   ======================================== */
.agro-section {
  position: relative;
  background-image: url('../assets/images/agrobg.png');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center top;
  min-height: calc(100vw * 0.5625);
  padding: 56px 0 72px;
  overflow: hidden;
}

.agro-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.38) 0%, rgba(255,255,255,0.2) 44%, rgba(255,255,255,0.04) 100%);
  pointer-events: none;
}

.agro__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 48px 72px;
  align-items: start;
}

.agro__content {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 660px;
  padding-top: 50px;
}

.agro__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.85rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--red);
  letter-spacing: 0;
}

.agro__text {
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.45;
  color: #252525;
  max-width: 540px;
}

.agro__text strong {
  font-weight: 700;
  color: #1A1A1A;
}

.agro__cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  justify-self: end;
  width: min(100%, 420px);
  padding-top: 58px;
}

.agro-card {
  background: #94180F;
  border-radius: 6px;
  min-height: 94px;
  padding: 22px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.agro-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.18;
  color: #fff;
  margin-bottom: 4px;
}

.agro-card__text {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.18;
  color: rgba(255,255,255,0.9);
}

.agro-card__text strong {
  font-weight: 700;
  color: #fff;
}

/* ========================================
   ENERGIA CARDS
   ======================================== */
.energia-cards {
  background: #fff;
  padding: 88px 0;
}

.energia-cards__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.energia-cards__header {
  max-width: 640px;
  text-align: center;
}

.energia-cards__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  line-height: 1.15;
  color: #7B160F;
  margin-bottom: 20px;
}

.energia-cards__desc {
  font-size: 1rem;
  color: #333;
  line-height: 1.78;
}
.energia-cards__desc strong {
  font-weight: 600;
  color: #333;
}

.energia-cards__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  max-width: 860px;
}

.energia-card {
  background: #7B160F;
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.72;
}
.energia-card strong {
  font-weight: 600;
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  position: relative;
  background: linear-gradient(rgba(123,22,15,0.72), rgba(123,22,15,0.72)), url('../assets/images/bg7.png') center/cover no-repeat;
  padding: 88px 0;
  overflow: hidden;
  text-align: center;
}

.cta-banner__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner__blob--1 {
  width: 520px;
  height: 520px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(123,22,15,0.55) 0%, transparent 70%);
}
.cta-banner__blob--2 {
  width: 360px;
  height: 360px;
  bottom: -100px;
  right: 10%;
  background: radial-gradient(circle, rgba(123,22,15,0.4) 0%, transparent 70%);
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-banner__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
  color: #fff;
  max-width: 780px;
}

.cta-banner__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.72;
  max-width: 560px;
}
.cta-banner__desc strong {
  color: #fff;
  font-weight: 600;
}

.cta-banner__cards {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-banner__card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  max-width: 220px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--red);
  line-height: 1.6;
}
.cta-banner__card strong {
  color: var(--red);
  font-weight: 600;
}

/* ========================================
   CTA FORM
   ======================================== */
.cta-form {
  padding: 80px 0;
  background: #2A2A2A;
}

.cta-form__card {
  display: grid;
  grid-template-columns: 38% 62%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.cta-form__left {
  background: #7B160F;
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.cta-form__icon {
  color: #fff;
  width: 56px;
  height: 56px;
}
.cta-form__icon svg {
  width: 56px;
  height: 56px;
}

.cta-form__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  line-height: 1.12;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cta-form__sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.72;
}
.cta-form__sub strong {
  color: #fff;
  font-weight: 600;
}

/* Form */
.form {
  background: #fff;
  padding: 44px 48px;
}

.form__row { display: grid; gap: 16px; }
.form__row--2 { grid-template-columns: 1fr 1fr; }
.form__group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form__group:last-of-type { margin-bottom: 0; }

.form__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.02em;
}
.form__label span { color: var(--red); }

.form__input {
  padding: 11px 14px;
  border: none;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 0.93rem;
  color: var(--dark);
  background: #EFEFEF;
  transition: background var(--transition), box-shadow var(--transition);
  width: 100%;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form__input:focus {
  background: #E8E8E8;
  box-shadow: 0 0 0 2px rgba(123,22,15,0.25);
}

.form__input--error {
  box-shadow: 0 0 0 2px var(--red);
}

select.form__input {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='5 8 10 13 15 8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 36px;
}
select.form__input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--red);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer__brand .logo__img { height: 40px; }

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  margin-top: 16px;
  line-height: 1.6;
  max-width: 280px;
}

.footer__nav-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-bottom: 20px;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__nav-list a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.86);
  transition: color var(--transition);
}
.footer__nav-list a:hover { color: #fff; }

.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0A66C2;
  transition: transform var(--transition), opacity var(--transition);
}
.footer__social svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #fff;
}
.footer__social:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.footer__bottom {
  padding: 20px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.82);
}

.footer__bottom-logo {
  width: auto;
  height: auto;
}

/* ========================================
   BARRA FIXA - SIMULAR MINHA ECONOMIA
   ======================================== */
body {
  padding-bottom: 76px;
}
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: #fff;
  padding: 12px 16px;
  text-align: center;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
}
.sticky-cta .btn--simulate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .feature__inner { padding: 56px 40px; }
  .cta-form__inner { gap: 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .stats-block__inner { gap: 24px; }
  .stat-item { width: 160px; }
  .stat-item__circle { width: 120px; height: 120px; }
  .stat-item__circle svg, .stat-item__icon { width: 30px; height: 30px; }
  .stat-item__label { font-size: 0.7rem; max-width: 98px; }
  .agro__inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 40px;
  }
  .agro-card { padding: 20px 28px; }
}

@media (max-width: 768px) {
  /* Hero */
  .hero { margin-top: 56px; }
  .hero__slider { height: 520px; max-height: 520px; }
  .hero__img { width: 100%; }
  .hero__overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.62) 42%, rgba(255,255,255,0) 74%);
    z-index: 1;
  }
  .hero__content {
    position: relative;
    z-index: 2;
    padding-top: 28px;
  }
  .hero__title {
    max-width: 330px;
    font-size: clamp(1.16rem, 5.1vw, 1.76rem);
    line-height: 1.08;
    margin-bottom: 12px;
  }
  .hero__cta-link {
    min-height: 30px;
    padding: 7px 12px;
    font-size: clamp(0.58rem, 2.1vw, 0.74rem);
    letter-spacing: 0.07em;
  }

  /* Intro */
  .intro-block { padding: 60px 0; }

  /* Stats */
  .stats-block { padding: 48px 0; }
  .stats-block__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 12px;
    justify-items: center;
  }
  .stat-item { width: auto; }
  .stat-item__circle {
    width: 116px;
    height: 116px;
    padding: 14px 10px 12px;
    gap: 6px;
  }
  .stat-item__circle svg, .stat-item__icon { width: 28px; height: 28px; }
  .stat-item__label { font-size: 0.68rem; max-width: 92px; }

  /* Segments */
  .segments { padding: 56px 0 48px; }
  .image-block__img { width: 100%; }
  .seg-grid { gap: 20px 12px; }
  .seg-item__circle { width: 80px; height: 80px; }
  .seg-item__circle svg, .seg-item__icon { width: 80px; height: 80px; }

  /* Efic cards */
  .efic-grid { grid-template-columns: 1fr; }
  .efic-card { padding: 40px 28px; }

  /* Vantagens */
  .vantagens { grid-template-columns: 1fr; }
  .vantagens__left { padding: 56px 24px; }
  .vantagens__right { height: 300px; position: relative; }
  .vantagens__img { position: absolute; inset: 0; }

  /* Agro */
  .agro-section {
    min-height: 0;
    padding: 56px 0 64px;
    background-size: 100% 100%;
    background-position: center top;
  }
  .agro-section::before {
    background: rgba(255,255,255,0.58);
  }
  .agro__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .agro__content {
    max-width: 620px;
  }
  .agro__cards {
    justify-self: start;
    width: min(100%, 430px);
    padding-top: 0;
  }
  .agro-card {
    min-height: 0;
    padding: 22px 24px;
  }

  /* Energia cards */
  .energia-cards { padding: 64px 0; }
  .energia-cards__grid { grid-template-columns: 1fr; gap: 16px; }
  .energia-card { padding: 32px 24px; }

  /* CTA Banner */
  .cta-banner { padding: 64px 0; }
  .cta-banner__cards { flex-direction: column; align-items: center; }
  .cta-banner__card { max-width: 100%; width: 100%; }

  /* CTA Form */
  .cta-form { padding: 40px 0; }
  .cta-form__card { grid-template-columns: 1fr; }
  .cta-form__left { padding: 40px 28px; }
  .form { padding: 32px 24px; }
  .form__row--2 { grid-template-columns: 1fr; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__brand { grid-column: auto; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .seg-item__circle { width: 72px; height: 72px; }
  .seg-item__circle svg, .seg-item__icon { width: 72px; height: 72px; }
  .seg-item span { font-size: 0.72rem; }
  .hero { margin-top: 56px; }
  .hero__overlay::before {
    background: linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.72) 48%, rgba(255,255,255,0) 80%);
  }
  .hero__content { padding-top: 22px; }
  .hero__title {
    max-width: 236px;
    font-size: clamp(1rem, 5.5vw, 1.3rem);
    line-height: 1.08;
    margin-bottom: 10px;
  }
  .hero__cta-link {
    min-height: 28px;
    padding: 6px 10px;
    font-size: 0.54rem;
  }
  .section-title { font-size: 1.9rem; }
  .vantagens__title { font-size: 1.7rem; }
  .agro-section {
    padding: 48px 0 56px;
    background-size: 100% 100%;
    background-position: center top;
  }
  .agro__title { font-size: 1.82rem; }
  .agro__text { font-size: 0.95rem; }
  .agro__cards { width: 100%; }
  .agro-card {
    padding: 20px;
    text-align: left;
    align-items: flex-start;
  }
  .agro-card__text {
    font-size: 0.82rem;
    line-height: 1.35;
  }
  .energia-cards__title { font-size: 1.8rem; }
  .cta-form__title { font-size: 1.8rem; }
  .intro-block__title { font-size: 1.6rem; }
  .stats-block__inner { gap: 16px 10px; }
  .stat-item__circle {
    width: 104px;
    height: 104px;
    padding: 12px 8px 10px;
    gap: 6px;
  }
  .stat-item__circle svg, .stat-item__icon { width: 24px; height: 24px; }
  .stat-item__label { font-size: 0.62rem; max-width: 84px; }
}

/* ========================================
   UTILITY — HEADER TRANSPARENT STATE
   ======================================== */


/* Form error state */
.form__input--error {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px rgba(123,22,15,0.12) !important;
}

/* Modal de feedback do formulário */
.nge-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.nge-modal.is-open { display: flex; }
.nge-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.nge-modal__box {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 420px;
  width: calc(100% - 32px);
  padding: 40px 28px;
  text-align: center;
  animation: nge-modal-in 0.22s ease;
}
@keyframes nge-modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.nge-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  line-height: 32px;
  font-size: 1.4rem;
  color: var(--gray-text);
  background: none;
}
.nge-modal__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nge-modal__icon svg { width: 28px; height: 28px; }
.nge-modal--success .nge-modal__icon { background: rgba(34,197,94,0.12); color: #22C55E; }
.nge-modal--error .nge-modal__icon { background: var(--red-light); color: var(--red); }
.nge-modal__title {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 8px;
}
.nge-modal__text {
  color: var(--gray-text);
  font-size: 0.95rem;
}
