/* =============================================
   CONTEÚDO – Layout moderno (header intacto)
   ============================================= */

:root {
  --content-shadow: 0 20px 60px rgba(7, 105, 189, 0.12);
  --content-shadow-hover: 0 28px 70px rgba(7, 105, 189, 0.2);
  --glass: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.25);
  --stats-card-height: 180px;
  --stats-overlap: calc(var(--stats-card-height) / 2);
  --stats-gap-below: 29px;
}

/* Animações base */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes kenburns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}

@keyframes lineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-green));
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--color-text-dark);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.75;
  max-width: 620px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-desc {
  margin: 0 auto;
}

.section-header .section-label::before { display: none; }

.section-header .section-label {
  justify-content: center;
}

/* =============================================
   HERO
   ============================================= */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-bottom: var(--stats-overlap);
  overflow: visible;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 18s ease-in-out infinite alternate;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 105, 189, 0.58) 0%, rgba(5, 90, 158, 0.48) 45%, rgba(0, 50, 90, 0.28) 100%);
}

.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, black 40%, transparent);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero__content {
  color: var(--color-white);
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero__lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.75;
  opacity: 0.92;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* =============================================
   BANNERS DE RESULTADOS
   ============================================= */

.stats-banner {
  position: relative;
  z-index: 5;
  width: 100%;
  margin-top: calc(var(--stats-overlap) * -1);
  margin-bottom: 0;
  padding: 0;
  background: transparent;
}

.stats-banner__grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

.stats-card {
  flex: 1;
  max-width: 300px;
  min-height: var(--stats-card-height);
  height: var(--stats-card-height);
  background: var(--color-white);
  border-radius: 24px;
  padding: 40px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(7, 105, 189, 0.1);
  box-shadow: 0 12px 40px rgba(7, 105, 189, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              opacity 0.5s ease;
}

.stats-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stats-card--1.is-visible { transition-delay: 0s; }
.stats-card--2.is-visible { transition-delay: 0.15s; }
.stats-card--3.is-visible { transition-delay: 0.3s; }

.stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.stats-card.is-visible::before {
  transform: scaleX(1);
}

.stats-card__glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(7, 105, 189, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.stats-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 24px 60px rgba(7, 105, 189, 0.18);
}

.stats-card.is-visible:hover {
  transform: translateY(-10px) scale(1.03);
}

.stats-card:hover .stats-card__glow {
  opacity: 1;
}

.stats-card__value {
  margin-bottom: 12px;
  line-height: 1;
}

.stats-card__number,
.stats-card__suffix {
  font-size: clamp(2.8rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.03em;
}

.stats-card__suffix {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.stats-card.is-visible .stats-card__number {
  animation: statPop 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.stats-card--2.is-visible .stats-card__number { animation-delay: 0.2s; }
.stats-card--3.is-visible .stats-card__number { animation-delay: 0.4s; }

@keyframes statPop {
  0%   { transform: scale(0.5); opacity: 0; }
  60%  { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

.stats-card__label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
}

.stats-card.is-visible .stats-card__label {
  animation: fadeUp 0.5s ease 0.3s both;
}

.stats-card--2.is-visible .stats-card__label { animation-delay: 0.45s; }
.stats-card--3.is-visible .stats-card__label { animation-delay: 0.6s; }

.hero__visual {
  position: relative;
  animation: fadeIn 1.2s ease 0.3s both;
}

.hero__image-box {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.hero__image-box img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero__float-card {
  position: absolute;
  background: var(--color-white);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
}

.hero__float-card--top {
  top: -20px;
  left: -30px;
}

.hero__float-card--bottom {
  bottom: 30px;
  right: -20px;
  animation-delay: 1.5s;
}

.hero__float-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary), #0a8ae8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__float-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--color-white);
}

.hero__float-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
}

.hero__float-text span {
  font-size: 12px;
  color: var(--color-text-light);
}

/* =============================================
   MENOS DESPERDÍCIO
   ============================================= */

.section--waste {
  padding: var(--stats-gap-below) 0 100px;
  margin-top: 0;
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.section--waste::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(7, 105, 189, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.waste-grid__media {
  position: relative;
}

.waste-grid__image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--content-shadow);
  position: relative;
}

.waste-grid__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.waste-grid__image:hover img {
  transform: scale(1.05);
}

.waste-grid__text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-text-light);
  margin-bottom: 28px;
}

.waste-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.waste-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f4f9fd;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(7, 105, 189, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.waste-feature:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.waste-feature svg {
  width: 22px;
  height: 22px;
  fill: var(--color-primary);
  flex-shrink: 0;
}

.waste-feature span {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-dark);
}

/* =============================================
   ENERGY SAVING BANNER
   ============================================= */

.section--energy {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.energy-banner {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.energy-banner__bg {
  position: absolute;
  inset: 0;
}

.energy-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.energy-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 105, 189, 0.92), rgba(5, 90, 158, 0.85));
}

.energy-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  padding: 80px 24px;
  max-width: 800px;
}

.energy-banner__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 24px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.energy-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.energy-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.7;
}

.energy-banner__line {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent-green), rgba(255,255,255,0.8));
  border-radius: 2px;
  margin: 24px auto 0;
  transform-origin: center;
}

.energy-banner__line.is-visible {
  animation: lineGrow 0.8s ease forwards;
}

/* =============================================
   CARROSSEL DE PRODUTOS
   ============================================= */

.section--products-carousel {
  padding: 60px 0 72px;
  background: linear-gradient(180deg, #f8fbff 0%, var(--color-white) 100%);
}

.products-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.products-carousel__viewport {
  flex: 1;
  overflow: hidden;
}

.products-carousel__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.products-carousel__slide {
  flex-shrink: 0;
  padding: 0 12px;
  box-sizing: border-box;
}

.products-carousel__card {
  background: var(--color-white);
  border: 1px solid rgba(7, 105, 189, 0.08);
  border-radius: 16px;
  padding: 24px 20px 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products-carousel__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--content-shadow);
}

.products-carousel__card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  display: block;
  margin: 0 auto 16px;
}

.products-carousel__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.35;
  min-height: 2.7em;
}

.products-carousel__arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(7, 105, 189, 0.25);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.products-carousel__arrow:hover {
  transform: scale(1.08);
  background: var(--color-primary-dark);
}

.products-carousel__arrow svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* =============================================
   BENEFÍCIOS – Bento Grid
   ============================================= */

.section--benefits {
  padding: 100px 0 40px;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(7, 105, 189, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 85% 80%, rgba(39, 174, 96, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #f8fbff 0%, var(--color-white) 100%);
  position: relative;
  overflow: hidden;
}

.benefits-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.benefit-box {
  --benefit-accent: var(--color-primary);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 36px 30px 32px;
  border: 1px solid rgba(7, 105, 189, 0.08);
  box-shadow:
    0 1px 2px rgba(7, 105, 189, 0.04),
    0 12px 40px rgba(7, 105, 189, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s ease,
              border-color 0.45s ease;
}

.benefit-box::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--benefit-accent), transparent);
  opacity: 0.85;
}

.benefit-box::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  top: -90px;
  right: -60px;
  background: radial-gradient(circle, color-mix(in srgb, var(--benefit-accent) 18%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

.benefit-box:hover {
  transform: translateY(-12px);
  border-color: color-mix(in srgb, var(--benefit-accent) 25%, white);
  box-shadow:
    0 8px 16px rgba(7, 105, 189, 0.06),
    0 28px 56px color-mix(in srgb, var(--benefit-accent) 22%, transparent);
}

.benefit-box--environment { --benefit-accent: #27ae60; }
.benefit-box--operational { --benefit-accent: #2980b9; }

.benefit-box--featured {
  --benefit-accent: #0769BD;
  background: linear-gradient(155deg, #0769BD 0%, #055a9e 45%, #044a85 100%);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 8px rgba(7, 105, 189, 0.15),
    0 28px 64px rgba(7, 105, 189, 0.35);
  z-index: 2;
  min-height: 320px;
}

.benefit-box--featured::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), rgba(46, 204, 113, 0.8));
}

.benefit-box--featured::after {
  width: 260px;
  height: 260px;
  top: -80px;
  right: -100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, transparent 68%);
}

.benefit-box--featured:hover {
  transform: translateY(-14px) scale(1.02);
  box-shadow:
    0 12px 24px rgba(7, 105, 189, 0.2),
    0 36px 72px rgba(7, 105, 189, 0.42);
}

.benefit-box__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--benefit-accent) 12%, white), white);
  border: 1px solid color-mix(in srgb, var(--benefit-accent) 18%, transparent);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--benefit-accent) 15%, transparent);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.benefit-box:hover .benefit-box__icon {
  transform: scale(1.08) translateY(-2px);
}

.benefit-box__icon svg {
  width: 30px;
  height: 30px;
  fill: var(--benefit-accent);
}

.benefit-box--featured .benefit-box__icon {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.benefit-box--featured .benefit-box__icon svg {
  fill: var(--color-white);
}

.benefit-box--featured .benefit-box__big-num {
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.12;
  position: absolute;
  bottom: 8px;
  right: 20px;
  color: var(--color-white);
  pointer-events: none;
}

.benefit-box h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.benefit-box p {
  font-size: 0.98rem;
  color: var(--color-text-light);
  line-height: 1.75;
  flex: 1;
}

.benefit-box strong {
  color: var(--benefit-accent);
  font-weight: 700;
}

.benefit-box--featured h3 {
  color: var(--color-white);
  font-size: 1.45rem;
}

.benefit-box--featured p {
  color: rgba(255, 255, 255, 0.92);
}

.benefit-box--featured strong {
  color: #b8f5d4;
}

.benefit-box__metric {
  margin-top: auto;
  padding-top: 20px;
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--benefit-accent) 0%, color-mix(in srgb, var(--benefit-accent) 60%, #2ecc71) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  border-top: 1px solid color-mix(in srgb, var(--benefit-accent) 12%, transparent);
}

.benefit-box--operational .benefit-box__metric {
  background: linear-gradient(135deg, #2980b9 0%, #0769BD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =============================================
   COMPONENTES – Cards modernos
   ============================================= */

.section--components {
  padding: 40px 0 100px;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(7, 105, 189, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(46, 204, 113, 0.05) 0%, transparent 55%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  position: relative;
}

.section--components .section-header {
  margin-bottom: calc(56px * 0.7);
}

.components-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.component-box {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow:
    0 1px 2px rgba(7, 105, 189, 0.04),
    0 8px 32px rgba(7, 105, 189, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s ease;
}

.component-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
}

.component-box:hover {
  transform: translateY(-12px);
  box-shadow:
    0 4px 8px rgba(7, 105, 189, 0.06),
    0 24px 56px rgba(7, 105, 189, 0.14);
}

.component-box:hover::before {
  transform: scaleX(1);
}

.component-box__visual {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.component-box__visual--sensors {
  background: linear-gradient(145deg, #0769BD 0%, #3a9ae8 50%, #6ec4f7 100%);
}

.component-box__visual--software {
  background: linear-gradient(145deg, #2c4fd6 0%, #4f6ef7 50%, #8b9cf9 100%);
}

.component-box__visual--actuators {
  background: linear-gradient(145deg, #1a8a5c 0%, #27ae60 50%, #5dd39e 100%);
}

.component-box__visual::before,
.component-box__visual::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.component-box__visual::before {
  width: 160px;
  height: 160px;
  top: -40px;
  right: -30px;
  background: rgba(255, 255, 255, 0.12);
}

.component-box__visual::after {
  width: 100px;
  height: 100px;
  bottom: -20px;
  left: -20px;
  background: rgba(255, 255, 255, 0.08);
}

.component-box__icon {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s ease;
}

.component-box:hover .component-box__icon {
  transform: scale(1.1) translateY(-4px);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.component-box__icon svg {
  width: 46px;
  height: 46px;
  fill: var(--color-white);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.component-box__num {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.component-box__visual--software .component-box__num {
  color: #3b5bdb;
}

.component-box__visual--actuators .component-box__num {
  color: #1a8a5c;
}

.component-box__body {
  padding: 28px 28px 32px;
  border-top: 1px solid rgba(7, 105, 189, 0.06);
}

.component-box__body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.component-box__body p {
  font-size: 0.94rem;
  color: var(--color-text-light);
  line-height: 1.75;
}

.component-box__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.component-box__tags span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  background: linear-gradient(135deg, #e8f2fb 0%, #f4f9fd 100%);
  border: 1px solid rgba(7, 105, 189, 0.1);
  padding: 6px 14px;
  border-radius: 50px;
  transition: background 0.3s ease, color 0.3s ease;
}

.component-box:hover .component-box__tags span {
  background: var(--color-primary-light);
}

.component-box--software .component-box__tags span,
.component-box:nth-child(2) .component-box__tags span {
  color: #3b5bdb;
  background: linear-gradient(135deg, #eef0fb 0%, #f5f7ff 100%);
  border-color: rgba(59, 91, 219, 0.12);
}

.component-box:nth-child(2):hover .component-box__tags span {
  background: #eef0fb;
}

.component-box:nth-child(3) .component-box__tags span {
  color: #1a8a5c;
  background: linear-gradient(135deg, #e8f4f0 0%, #f2faf6 100%);
  border-color: rgba(26, 138, 92, 0.12);
}

.component-box:nth-child(3):hover .component-box__tags span {
  background: #e8f4f0;
}

/* =============================================
   COMO FUNCIONA – Timeline
   ============================================= */

.section--steps {
  padding: 100px 0;
  background: linear-gradient(180deg, #f4f9fd 0%, var(--color-white) 100%);
  position: relative;
}

.section--steps .section-label {
  margin-bottom: calc(14px * 0.65);
}

.section--steps .section-title {
  margin-bottom: calc(16px * 0.65);
}

.section--steps .section-header {
  margin-bottom: calc(56px * 0.65);
}

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: calc(48px * 0.65);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.steps-timeline__track {
  position: absolute;
  top: 42px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  transform: translateY(-50%);
  background: rgba(7, 105, 189, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.steps-timeline__progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-green));
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-item {
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.step-item__dot {
  width: 84px;
  height: 84px;
  background: var(--color-white);
  border: 4px solid var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 36px;
  position: relative;
  z-index: 2;
  transition: all 0.4s ease;
  box-shadow: 0 4px 16px rgba(7, 105, 189, 0.12);
}

.step-item.is-active .step-item__dot,
.step-item:hover .step-item__dot {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.12);
  box-shadow: 0 8px 24px rgba(7, 105, 189, 0.3);
}

.step-item__dot svg {
  width: 39px;
  height: 39px;
  fill: var(--color-primary);
  transition: fill 0.3s ease;
}

.step-item.is-active .step-item__dot svg,
.step-item:hover .step-item__dot svg {
  fill: var(--color-white);
}

.step-item__num {
  position: absolute;
  top: -12px;
  right: -6px;
  width: 33px;
  height: 33px;
  background: var(--color-accent-green);
  color: var(--color-white);
  font-size: 17px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item h3 {
  font-size: calc(0.95rem * 1.3);
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1.4;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* =============================================
   RESPONSIVO – Conteúdo
   ============================================= */

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 80px;
  }

  .hero__visual { max-width: 520px; margin: 0 auto; }

  .stats-banner__grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .stats-card {
    max-width: 100%;
    width: 100%;
  }

  .hero__float-card--top { left: 0; }
  .hero__float-card--bottom { right: 0; }

  .waste-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .products-carousel__arrow {
    width: 40px;
    height: 40px;
  }

  .products-carousel__arrow svg {
    width: 24px;
    height: 24px;
  }

  .benefits-bento {
    grid-template-columns: 1fr 1fr;
  }

  .benefit-box--featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .components-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .steps-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .steps-timeline__track { display: none; }
}

@media (max-width: 768px) {
  :root {
    --stats-card-height: 150px;
  }

  .hero { min-height: auto; }

  .stats-card {
    padding: 32px 24px;
  }

  .hero__image-box img { height: 280px; }

  .hero__float-card { display: none; }

  .waste-features { grid-template-columns: 1fr; }

  .waste-grid__image img { height: 320px; }

  .products-carousel {
    gap: 8px;
  }

  .products-carousel__slide {
    padding: 0 8px;
  }

  .products-carousel__card img {
    height: 140px;
  }

  .benefits-bento,
  .components-showcase,
  .steps-timeline {
    grid-template-columns: 1fr;
  }

  .benefit-box--featured { grid-column: span 1; }

  .section--waste,
  .section--steps {
    padding: 72px 0;
  }

  .section--benefits {
    padding: 72px 0 29px;
  }

  .section--components {
    padding: 29px 0 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stats-card {
    opacity: 1;
    transform: none;
  }

  .stats-card.is-visible .stats-card__number,
  .stats-card.is-visible .stats-card__label {
    animation: none;
  }

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

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
