/* DESIGN SYSTEM VARIABLES - IMPRO ENERGIA */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-green: #0BE28D;
  --dark-green: #1B6E09;
  --black: #000000;
  --true-black: #000000;
  --white: #FFFFFF;
  --grey-text: #a1a1a6;
  --dark-grey: #f5f5f7;
  --light-grey: #86868b;
  --bg-grey: #050505;
  --card-bg: rgba(20, 20, 20, 0.6);

  --font-heading: 'Sora', sans-serif;
  --font-body: 'Sora', sans-serif;

  --container-max: 1200px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;

  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  background: var(--black);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--grey-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background: radial-gradient(circle at 50% -10%, rgba(11, 226, 141, 0.05) 0%, #000 100%);
}

/* HIGH-PERFORMANCE CURSOR GLOW (No lag) */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(circle 600px at var(--mouse-x, 50vw) var(--mouse-y, 50vh), rgba(11, 226, 141, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  mix-blend-mode: screen;
}

.cursor-glow.active {
  opacity: 1;
}

/* Blue theme override for Impromob */
.product-impromob .cursor-glow {
  background: radial-gradient(circle 600px at var(--mouse-x, 50vw) var(--mouse-y, 50vh), rgba(0, 102, 255, 0.18) 0%, transparent 60%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  text-transform: none;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 4.5rem;
  letter-spacing: -0.04em;
  color: var(--white);
}

h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--white);
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary-green);
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--grey-text);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 8vw 0;
  position: relative;
}

/* THEMATIC SECTIONS */
.bg-dark-section {
  background: radial-gradient(ellipse at 20% 50%, rgba(11, 226, 141, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(11, 226, 141, 0.04) 0%, transparent 50%),
    #030808;
  color: #a1a1a6;
  position: relative;
  overflow: hidden;
}

.bg-dark-section h2,
.bg-dark-section h3 {
  color: #fff;
}

/* Ambient floating orbs on dark sections */
.bg-dark-section::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(11, 226, 141, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -100px;
  right: -100px;
  animation: floatOrb 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.5;
  }

  100% {
    transform: translate(-40px, -60px) scale(1.2);
    opacity: 1;
  }
}

.bg-light-section {
  background: linear-gradient(135deg,
      #ffffff 0%,
      #f4f7f4 30%,
      #eef6f1 60%,
      #f8fcfa 100%);
  color: #333;
  position: relative;
}

.bg-light-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(11, 226, 141, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(11, 226, 141, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

.bg-light-section h2,
.bg-light-section h3 {
  color: #111;
}

.bg-light-section p {
  color: #555;
}

.bg-green-section {
  background-color: var(--primary-green);
  color: #111;
}

.bg-green-section h2,
.bg-green-section h3 {
  color: #000;
}

.bg-green-section p {
  color: #222;
}

/* INVERTED CARDS FOR THEMES */
.segment-card,
.project-card,
.reason-box,
.team-card,
.economy-bill,
.step-content,
.mob-form-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

/* Dark Cards — Glassmorphism */
.bg-dark-section .segment-card,
.bg-dark-section .reason-box,
.bg-dark-section .team-card,
.bg-dark-section .step-content,
.bg-dark-section .economy-bill {
  background: rgba(11, 30, 20, 0.5);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(11, 226, 141, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.bg-dark-section .segment-card:hover,
.bg-dark-section .reason-box:hover,
.bg-dark-section .team-card:hover {
  background: rgba(11, 45, 28, 0.65);
  border-color: rgba(11, 226, 141, 0.4);
  box-shadow: 0 20px 60px rgba(11, 226, 141, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-6px) scale(1.01);
}

.bg-dark-section .segment-card::before,
.bg-dark-section .reason-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(11, 226, 141, 0.3) 0%, transparent 50%, rgba(11, 226, 141, 0.1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bg-dark-section .segment-card:hover::before,
.bg-dark-section .reason-box:hover::before {
  opacity: 1;
}

/* Claro Cards */
.bg-light-section .segment-card,
.bg-light-section .reason-box,
.bg-light-section .team-card,
.bg-light-section .step-content,
.bg-light-section .economy-bill,
.bg-light-section .mob-form-card {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  color: #333;
}

.bg-light-section .segment-card h3,
.bg-light-section .team-card h3,
.bg-light-section .reason-box h3 {
  color: #111;
}

.bg-light-section .checklist-item {
  background: rgba(0, 0, 0, 0.03);
  color: #111;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Verde Cards */
.bg-green-section .segment-card,
.bg-green-section .reason-box,
.bg-green-section .team-card,
.bg-green-section .step-content,
.bg-green-section .economy-bill {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  color: #111;
}

.bg-green-section .segment-card h3,
.bg-green-section .step-content h4 {
  color: #000;
}

.bg-green-section .step-number {
  background: #000;
  color: var(--primary-green);
  border: none;
}

.bg-green-section .checklist-item {
  background: rgba(0, 0, 0, 0.05);
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.bg-green-section .checklist-item i {
  color: #000;
}

/* TEXT ACCENTS */
.text-green {
  color: var(--primary-green);
}

.text-white {
  color: var(--white);
}

.text-center {
  text-align: center;
}

/* 3 COLUMN LAYOUT (QUEM SOMOS) */
.about-3col-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 768px) {
  .about-3col-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .about-3col-grid>div {
    text-align: center !important;
  }
}

/* HEADER (GLASS PILL) */
#header-placeholder {
  min-height: 0;
}

.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1600px;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.75) 0%, rgba(10, 40, 25, 0.85) 100%);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border: 1px solid rgba(11, 226, 141, 0.2);
  border-radius: 60px;
  z-index: 1000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(11, 226, 141, 0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s, box-shadow 0.4s, opacity 0.4s ease;
  padding: 20px 30px;
}

.header.header-hidden {
  transform: translate(-50%, -150%);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
}

.logo-icon {
  color: var(--primary-green);
  font-size: 1.8rem;
  filter: drop-shadow(0 0 10px rgba(11, 226, 141, 0.6));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--white);
  position: relative;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green);
  text-shadow: 0 0 10px rgba(11, 226, 141, 0.5);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--primary-green);
  border-radius: 3px;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  box-shadow: 0 0 10px var(--primary-green);
}

/* MOBILE MENU BTN */
.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 1.2rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

@media (max-width: 991px) {
  .header {
    top: 8px;
    padding: 10px 15px;
    width: calc(100% - 16px);
  }

  /* REGULAGEM DAS LOGOS NO MOBILE */
  .header .logo img {
    height: 44px !important;
  }

  /* Reduzindo o buraco no topo das páginas no celular */
  .projetos-hero,
  .equipe-hero,
  .contato-hero,
  .hero-section {
    padding-top: 130px !important;
    padding-bottom: 40px !important;
  }

  .projetos-hero h1 {
    font-size: 2.8rem !important;
  }

  .mobile-menu-btn {
    display: flex;
    position: relative;
    z-index: 2001;
  }

  .header .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    border-radius: 20px !important;
    border: #0df096 1px solid !important;
    height: 100vh;
    height: 100dvh;
    /* Dynamic viewport height for mobile browsers */
    background: rgba(0, 0, 0, 0.99);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 100px 40px 120px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 2000;
    transform: translateY(-20px);
    overflow-y: auto;
  }

  .header.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
    display: flex !important;
  }

  .nav-link {
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
  }

  .header.nav-open .nav-link {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered delay for links */
  .header.nav-open .nav-link:nth-child(1) {
    transition-delay: 0.2s;
  }

  .header.nav-open .nav-link:nth-child(2) {
    transition-delay: 0.3s;
  }

  .header.nav-open .nav-link:nth-child(3) {
    transition-delay: 0.4s;
  }

  .header.nav-open .nav-link:nth-child(4) {
    transition-delay: 0.5s;
  }

  .header.nav-open .nav-link:nth-child(5) {
    transition-delay: 0.6s;
  }

  .header .header-actions {
    display: none;
  }

  .mobile-only {
    display: block !important;
  }

  .nav-mobile-footer {
    width: 100%;
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.8s;
  }

  .header.nav-open .nav-mobile-footer {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-social-row a {
    color: #fff;
    transition: var(--transition);
  }

  .nav-social-row a:hover {
    color: var(--primary-green);
    transform: scale(1.2);
  }
}

.mobile-only {
  display: none;
}

/* PAGE HEADERS & MOB HERO (Restored) */
.page-header {
  background: linear-gradient(180deg, #000 0%, rgba(11, 226, 141, 0.04) 100%);
  border-bottom: 1px solid rgba(11, 226, 141, 0.1);
  padding-top: 240px;
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(11, 226, 141, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.mob-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  margin-top: 0;
}

.mob-hero-left {
  background-size: cover;
  background-position: center;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  position: relative;
}

.mob-hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.mob-hero-left>* {
  position: relative;
  z-index: 1;
}

.mob-hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: var(--bg-grey);
}

/* HEADER ACTIONS OR GLOBAL BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  border: none;
  transition: var(--transition);
  gap: 10px;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary-green);
  color: #000;
  box-shadow: 0 8px 25px rgba(11, 226, 141, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(11, 226, 141, 0.6);
  background: #0df096;
}

.btn-black {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-black:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

/* GRIDS */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 40px;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 40px;
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 50px;
  align-items: stretch;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
}

/* NEW LAYOUT CLASSES REPLACING INLINE STYLES */
.how-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: flex-start;
}

.process-banner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.equipe-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.impact-bar-new {
  background: linear-gradient(135deg, #0a1a0e, #0d2b17);
  border-radius: 20px;
  padding: 40px 50px;
  border: 1px solid rgba(11, 226, 141, 0.15);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}

.impromob-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.impromob-segments {
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.impromob-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.impromob-feature-grid-rev {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: center;
}

/* GENERIC GRIDS */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

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

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

/* TILT EFFECTS ON CARDS */
.reason-box:hover,
.team-card:hover,
.project-card:hover {
  transform: translateY(-5px) scale(1.02);
  z-index: 2;
}

/* SECTION TRANSITION ANIMATIONS (DIAGONAL CUT) */
.cut-top {
  clip-path: polygon(0 5vw, 100% 0, 100% 100%, 0 100%);
  margin-top: -5vw;
  padding-top: 10vw;
}

.cut-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5vw), 0 100%);
  margin-bottom: -5vw;
  padding-bottom: 10vw;
}

/* EQUIPE LARGE CARDS HOVER EFFECTS */
.equipe-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  height: 450px;
  cursor: pointer;
}

.equipe-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.equipe-card:hover .equipe-img {
  transform: scale(1.08);
}

.equipe-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 30px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  transform: translateY(120px);
  transition: transform 0.4s ease;
  color: #fff;
}

.equipe-card:hover .equipe-info {
  transform: translateY(0);
}

.equipe-info h3 {
  margin-bottom: 5px;
  font-size: 2rem;
  color: var(--primary-green);
}

.equipe-info p {
  font-size: 0.95rem;
  margin-top: 15px;
  opacity: 0;
  transition: opacity 0.4s ease 0.2s;
}

.equipe-card:hover .equipe-info p {
  opacity: 1;
}

.segment-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 45px 35px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.segment-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(11, 226, 141, 0.3);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 20px rgba(11, 226, 141, 0.1);
}

.segment-icon {
  width: 70px;
  height: 70px;
  background: rgba(11, 226, 141, 0.1);
  color: var(--primary-green);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 30px;
  transition: all 0.4s ease;
  border: 1px solid rgba(11, 226, 141, 0.1);
}

.segment-card:hover .segment-icon {
  background: var(--primary-green);
  color: #000;
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 0 20px rgba(11, 226, 141, 0.4);
}

.segment-body {
  flex: 1;
}

.segment-card h3 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  font-family: var(--font-heading);
}

.segment-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.segment-highlight {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 20px;
  border-radius: 16px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.segment-highlight span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}

.segment-highlight strong {
  color: var(--primary-green);
  font-size: 1.1rem;
  font-weight: 800;
}

.segment-card .btn {
  width: 100%;
}

/* HERO SLIDER */
.hero-slider {
  height: 100vh;
  position: relative;
  margin-top: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(11, 226, 141, 0.08) 0%, transparent 70%);
  touch-action: pan-y;
  /* Allow JS to handle horizontal swipe */
  -webkit-user-select: none;
  user-select: none;
}

.hero-diagonal {
  background: radial-gradient(circle at 0% 50%, rgba(11, 226, 141, 0.2) 0%, transparent 60%);
  width: 100%;
  z-index: 1;
}

.slide-h1 {
  font-family: var(--font-heading);
  font-size: 5.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  margin-bottom: 0.5rem;
}

.slide-h2 {
  text-transform: none;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--white);
  font-size: 3.5rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
}

.slide-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* MISC ITEMS */
.checklist-item {
  border-radius: var(--radius-sm);
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  transition: var(--transition);
}

.checklist-item i {
  color: var(--primary-green);
  font-size: 1.2rem;
}

.checklist-item:hover {
  transform: translateX(10px);
}

.step-number {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  transition: var(--transition);
}

.step-item {
  display: flex;
  gap: 20px;
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
}

.step-content {
  padding: 30px;
  flex: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  border-radius: var(--radius-sm);
  padding: 18px;
  font-size: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-green);
}

/* NEW FOOTER (Screenshot Match) */
.footer {
  background-color: #ffffff;
  color: #111;
  padding: 100px 0 60px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-family: var(--font-heading);
}

.footer .container {
  max-width: 1400px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 80px;
}

.footer-title {
  color: #000;
  font-size: 0.9rem;
  margin-bottom: 20px;
  padding-top: 12px;
  border-top: 2px solid var(--primary-green);
  display: inline-block;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 800;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-contact-item.align-start {
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--primary-green);
  font-size: 1.1rem;
  min-width: 20px;
  text-align: center;
}

.footer-contact-item span {
  color: #444;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.footer-links li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--primary-green);
  border-radius: 50%;
  margin-right: 12px;
}

.footer-links li a {
  color: #333;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--primary-green);
  transform: translateX(5px);
}

/* Filiais alignment refinement */
.footer-col h4:not(:first-child) {
  margin-top: 40px;
}

.footer-contact-item i {
  margin-top: 2px;
}

/* Utilities */
.mb-2 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* DYNAMIC FORM VISUALS */
.form-group {
  transition: transform 0.3s ease;
}

.field-active {
  transform: scale(1.02);
  z-index: 10;
}

.field-active .form-control {
  border-color: var(--primary-green) !important;
  box-shadow: 0 0 0 4px rgba(11, 226, 141, 0.15) !important;
  background: #fff !important;
}

.auto-tabbed {
  animation: pulseGreen 0.5s ease;
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(11, 226, 141, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(11, 226, 141, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(11, 226, 141, 0);
  }
}

.slider-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 4;
  pointer-events: none;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.slider-btn:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--true-black);
  transform: scale(1.1);
}

.slide-content {
  max-width: 800px;
  padding: 0 20px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  background-size: cover;
  background-position: center;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.slide.active {
  opacity: 1;
  z-index: 3;
}

/* Responsive adjustments */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  z-index: 1000;
  transition: var(--transition);
  background: linear-gradient(135deg, #25d366 0%, #128C7E 100%);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

@media (max-width: 992px) {
  .header-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .segments-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .reasons-grid,
  .team-grid,
  .equipe-grid,
  .equipe-grid-new,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .cases-grid,
  .impromob-segments {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  .about-grid,
  .how-it-works-grid,
  .economy-section,
  .simulacao-grid,
  .how-grid-wrapper,
  .process-banner,
  .cases-grid,
  .equipe-grid-new,
  .impromob-hero-grid,
  .impromob-segments,
  .impromob-feature-grid,
  .impromob-feature-grid-rev,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .impact-bar-new {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .impact-bar-new>div[style*="width:1px"] {
    display: none;
  }

  /* Hide separators on mobile */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header {
    width: 95%;
    top: 15px;
    border-radius: 30px;
    padding: 0 10px;
  }

  .segment-card {
    padding: 30px;
  }

  .slide-h1 {
    font-size: 3rem;
  }

  .slide-h2 {
    font-size: 2.2rem;
  }

  .slide-subtitle {
    font-size: 1.1rem;
  }

  .slide-content {
    padding: 0 15px;
  }

  .slider-controls {
    padding: 0 2%;
  }

  .hero-slider {
    height: 70vh;
  }
}

/* NEON LINES EFFECT SECTION */
.neon-lines-section {
  position: relative;
  background-color: #030805;
  padding: 120px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.neon-grid {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image:
    linear-gradient(rgba(11, 226, 141, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 226, 141, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: perspective(600px) rotateX(60deg);
  transform-origin: center;
  animation: gridMove 20s linear infinite;
  z-index: 0;
}

@keyframes gridMove {
  0% {
    transform: perspective(600px) rotateX(60deg) translateY(0);
  }

  100% {
    transform: perspective(600px) rotateX(60deg) translateY(40px);
  }
}

.neon-beam {
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--primary-green);
  box-shadow: 0 0 20px 5px rgba(11, 226, 141, 0.6), 0 0 40px 10px rgba(11, 226, 141, 0.2);
  top: -100px;
  left: 0;
  animation: scanDown 6s ease-in-out infinite;
  z-index: 1;
}

@keyframes scanDown {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(600px);
    opacity: 0;
  }
}

/* GLOBAL CURSOR GLOW - REMOVED FOR PERFORMANCE */

/* PROJECT CARD GLASSMORPHISM */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.project-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--radius-md);
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 20px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  backdrop-filter: blur(0px);
  transform: translateY(0);
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  backdrop-filter: blur(8px);
  background: linear-gradient(transparent, rgba(11, 226, 141, 0.15), rgba(0, 0, 0, 0.9));
}

.project-overlay h4 {
  color: #fff;
  font-size: 1rem;
  margin: 0;
}

.project-card:hover {
  box-shadow: 0 20px 40px rgba(11, 226, 141, 0.2);
  transform: translateY(-4px);
}

/* FILTER BUTTONS */
.project-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
}

.filter-btn:hover {
  border-color: rgba(11, 226, 141, 0.4);
  color: var(--primary-green);
}

.filter-btn.active {
  background: var(--primary-green);
  color: #000;
  border-color: var(--primary-green);
  font-weight: 600;
}

/* PROJECTS GRID */
.projects-grid,
.projects-grid-new,
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {

  .projects-grid,
  .projects-grid-new,
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {

  /* Mantém 2 por linha em telas muito pequenas se os cards forem simples, ou 1 se preferir */
  .projects-grid,
  .projects-grid-new,
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* --- CUSTOM CURSOR REMOVED FOR PERFORMANCE ---
   The custom cursor was causing lag on the site.
   Native cursor is now used instead.
*/

/* GREEN CTA SECTION */
.section-cta-green {
  background: var(--primary-green);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-cta-green::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(0, 0, 0, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(0, 0, 0, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

.section-cta-green h2 {
  color: #000;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.section-cta-green p {
  color: rgba(0, 0, 0, 0.65);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.btn-dark {
  background: #000;
  color: #fff;
  border: none;
}

.btn-dark:hover {
  background: #111;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* --- LOGO SIZING --- */
.logo-group a img {
  height: 68px !important;
  width: auto;
  transition: var(--transition);
}

.logo-group a:hover img {
  transform: scale(1.05);
}

/* --- NEW HOW IT WORKS (TIMELINE) --- */
.how-section {
  padding: 120px 0;
  background: radial-gradient(circle at 100% 100%, rgba(11, 226, 141, 0.05) 0%, transparent 50%), #030805;
  position: relative;
}

.how-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.how-container::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--primary-green), transparent);
  opacity: 0.2;
}

.how-step-new {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
  transition: var(--transition);
}

.how-step-new:last-child {
  margin-bottom: 0;
}

.how-num-new {
  width: 100px;
  height: 100px;
  min-width: 100px;
  background: #0a140d;
  border: 1px solid rgba(11, 226, 141, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.how-content-new {
  padding-top: 15px;
}

.how-content-new h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 700;
}

.how-content-new p {
  color: #888;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.how-step-new:hover .how-num-new {
  border-color: var(--primary-green);
  box-shadow: 0 0 40px rgba(11, 226, 141, 0.2);
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .how-grid-wrapper {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .how-image-col {
    position: relative !important;
    top: 0 !important;
  }

  .how-image-col img {
    height: 350px !important;
  }
}

@media (max-width: 768px) {
  .how-container::before {
    left: 30px;
  }

  .how-num-new {
    width: 60px;
    height: 60px;
    min-width: 60px;
    font-size: 1.3rem;
    border-radius: 12px;
  }

  .how-step-new {
    gap: 20px;
  }
}


/* --- PREMIUM PAGE HERO & STATS --- */
.page-hero-premium {
  position: relative;
  min-height: 45vh;
  background: radial-gradient(ellipse at 30% 100%, rgba(11, 226, 141, 0.10) 0%, transparent 55%), #000;
  overflow: hidden;
  padding-top: 220px;
  padding-bottom: 80px;
  display: flex;
  align-items: flex-end;
  text-align: center;
}

.page-hero-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(11, 226, 141, 0.10) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.3;
  pointer-events: none;
}

.page-hero-premium-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-hero-premium h1 {
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 16px;
}

.page-hero-premium h1 span {
  color: var(--primary-green);
}

.page-hero-premium p {
  color: #777;
  font-size: 1.1rem;
}

.stats-bar {
  background: rgba(11, 226, 141, 0.06);
  border-top: 1px solid rgba(11, 226, 141, 0.1);
  border-bottom: 1px solid rgba(11, 226, 141, 0.1);
  padding: 30px 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item .stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-green);
  letter-spacing: -0.03em;
}

.stat-item .stat-label {
  font-size: 0.78rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .page-hero-premium h1 {
    font-size: 3.2rem;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- REASONS SECTION (LIGHT) --- */
.reasons-section-light {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.reasons-section-light h2 {
  color: #111;
  font-weight: 800;
  margin-bottom: 60px;
}

.reasons-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.reason-card-new {
  background: #f8fcfa;
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(11, 226, 141, 0.1);
  transition: var(--transition);
  position: relative;
  text-align: left;
}

.reason-card-new:hover {
  transform: translateY(-10px);
  background: #fff;
  box-shadow: 0 30px 60px rgba(11, 226, 141, 0.1);
  border-color: var(--primary-green);
}

.reason-card-new h3 {
  color: #111;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.reason-card-new h3::before {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: var(--primary-green);
  margin-bottom: 15px;
  border-radius: 2px;
}

.reason-card-new p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .reasons-grid-new {
    grid-template-columns: 1fr;
  }
}

/* --- IMPROVED LOCATION BAR (MARQUEE / TRUST) --- */
.impact-bar {
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
  overflow: hidden;
}

.impact-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  white-space: nowrap;
  animation: impactMarquee 40s linear infinite;
  width: max-content;
}

.impact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.impact-item i {
  color: var(--primary-green);
  font-size: 1.1rem;
}

.impact-item span {
  opacity: 0.6;
  font-weight: 400;
}

@keyframes impactMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.impact-bar:hover .impact-inner {
  animation-play-state: paused;
}

/* --- SEGMENT CARDS FIXES (USER REQUEST) --- */
.segment-features {
  list-style-type: disc !important;
  padding-left: 20px !important;
  margin-bottom: 25px !important;
  /* Spacing before the button */
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

.segment-features li {
  margin-bottom: 10px;
}

.segment-card .btn {
  margin-top: 10px;
}

/* CARD SPOTLIGHT GLOW EFFECT */
.segment-card,
.reason-card-new,
.advantage-card,
.product-card-light,
.testimonial-card,
.mob-form-card {
  position: relative;
  overflow: hidden;
}

.segment-card::before,
.reason-card-new::before,
.advantage-card::before,
.product-card-light::before,
.testimonial-card::before,
.mob-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(600px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(11, 226, 141, 0.06), transparent 40%);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.segment-card:hover::before,
.reason-card-new:hover::before,
.advantage-card:hover::before,
.product-card-light:hover::before,
.testimonial-card:hover::before,
.mob-form-card:hover::before {
  opacity: 1;
}

/* Blue variant for Impro Mob */
body.product-impromob .segment-card::before,
body.product-impromob .advantage-card::before,
body.product-impromob .product-card-light::before,
body.product-impromob .testimonial-card::before,
body.product-impromob .mob-form-card::before {
  background: radial-gradient(600px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 82, 255, 0.06), transparent 40%);
}

/* Ensure child content stays above the glow */
.segment-card>*,
.reason-card-new>*,
.advantage-card>*,
.product-card-light>*,
.testimonial-card>*,
.mob-form-card>* {
  position: relative;
  z-index: 1;
}

/* MONITORING SECTION SPECIAL STYLES */
.bg-monitoring-section {
  background-color: #020604;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.monitoring-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.monitor-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.monitor-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary-green);
}

.monitor-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.monitor-val {
  font-size: 2.2rem;
  font-weight: 800;
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-heading);
}

.monitor-label {
  font-size: 0.9rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.monitor-card.gastos .monitor-val {
  color: #ff5e5e;
}

.monitor-card.armazenamento .monitor-val {
  color: var(--primary-green);
}

.monitor-card.economia .monitor-val {
  color: #ffd700;
}

/* BACKGROUND ANIMATION - ENERGY FLOW */
.energy-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.energy-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-green);
  border-radius: 50%;
  opacity: 0.3;
  box-shadow: 0 0 10px var(--primary-green);
  animation: energyFlow 10s linear infinite;
}

@keyframes energyFlow {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }

  10% {
    opacity: 0.3;
  }

  90% {
    opacity: 0.3;
  }

  100% {
    transform: translate(var(--move-x), var(--move-y));
    opacity: 0;
  }
}

/* Cleanup duplicate definitions */

/* --- CURSOR SYSTEM REMOVED --- */

/* ── POPUPS SYSTEM ── */
.custom-popup {
  position: fixed;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 400px;
  width: 90%;
}

.custom-popup.pop-visible {
  opacity: 1;
  visibility: visible;
}

.pop-container {
  padding: 35px;
  border-radius: 24px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.pop-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.5;
  transition: 0.3s;
}

.pop-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.custom-popup h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: inherit;
}

.custom-popup p {
  font-size: 0.95rem;
  margin-bottom: 0;
  opacity: 0.8;
  color: inherit;
}

/* Themes */
.pop-style-glass .pop-container {
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(11, 226, 141, 0.3);
  color: #fff;
}

.pop-style-minimal .pop-container {
  background: #ffffff;
  border: 1px solid #eee;
  color: #111;
}

.pop-style-dark .pop-container {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Animations */
.pop-anim-fade {
  transform: scale(0.95);
}

.pop-anim-fade.pop-visible {
  transform: scale(1);
}

.pop-anim-slide-up {
  transform: translateY(40px);
}

.pop-anim-slide-up.pop-visible {
  transform: translateY(0);
}

.pop-anim-bounce {
  transform: scale(0.5);
}

.pop-anim-bounce.pop-visible {
  transform: scale(1);
  transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Positions */
.pop-pos-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
}

.pop-pos-center.pop-visible {
  transform: translate(-50%, -50%);
}

.pop-pos-bottom-right {
  bottom: 30px;
  right: 30px;
}

.pop-pos-bottom-left {
  bottom: 30px;
  left: 30px;
}

.pop-pos-top {
  top: 30px;
  left: 50%;
  transform: translate(-50%, -100%);
}

.pop-pos-top.pop-visible {
  transform: translate(-50%, 0);
}

@media (max-width: 500px) {
  .custom-popup {
    bottom: 20px !important;
    right: 5% !important;
    left: 5% !important;
    width: 90% !important;
    max-width: none !important;
    transform: none !important;
  }

  .pop-pos-center {
    top: auto;
    left: 5%;
  }

  .pop-pos-top {
    top: 20px;
    left: 5%;
  }
}

/* Mobile Fixes */
@media (max-width: 768px) {
  .process-image-wrapper img {
    width: 100% !important;
    transform: none !important;
    margin: 0 auto;
    display: block;
  }
}

/* TEAM COMPONENT STYLES */
.equipe-section {
  padding: 80px 0 100px;
  background: #f8fcfa;
}

.equipe-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

@media (max-width: 991px) {
  .equipe-grid-full {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .equipe-grid-full {
    grid-template-columns: 1fr;
  }
}

.equipe-card-full {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.equipe-card-full:hover {
  border-color: rgba(11, 226, 141, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.equipe-card-full img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.6s ease;
}

.equipe-card-full:hover img {
  transform: scale(1.05);
}

.equipe-card-body {
  padding: 24px 26px 28px;
}

.equipe-card-body h3 {
  color: #111;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.equipe-card-body .role {
  color: var(--primary-green);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.equipe-card-body p {
  color: #555;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-green);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.equipe-card-full:hover .card-cta {
  gap: 10px;
}

/* TEAM MODAL */
.equipe-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.equipe-modal-backdrop.open {
  display: flex;
}

.equipe-modal {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 28px;
  max-width: 560px;
  width: 90%;
  padding: 48px;
  position: relative;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: transparent;
  border: none;
  color: #000;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0.4;
  transition: 0.3s;
}

.modal-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.equipe-modal img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 24px;
  border: 2px solid var(--primary-green);
}

.equipe-modal h2 {
  margin-bottom: 4px;
  font-size: 1.8rem;
  color: #111;
}

.equipe-modal span {
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 24px;
}

.equipe-modal p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 30px;
}