/* ==========================================
   DESIGN SYSTEM & VARIABLES (ANTIGRAVITY VERSION)
   ========================================== */
:root {
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Color Palette — Antigravity Light Theme */
  --bg-base: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-glass: rgba(255, 255, 255, 0.92);
  --bg-surface-glass-hover: rgba(248, 252, 249, 0.98);

  --color-primary: #003600; /* Deep forest green */
  --color-secondary: #6dc07f; /* Mint green accent */
  --color-primary-glow: #6dc07f;
  --color-primary-rgb: 0, 54, 0;
  --color-secondary-rgb: 109, 192, 127;

  --text-primary: #0d130e;
  --text-secondary: #4a574e;
  --text-muted: #8a9e8f;

  --border-glass: rgba(0, 54, 0, 0.08);
  --border-glass-highlight: rgba(0, 54, 0, 0.15);

  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;

  --glow-shadow: 0 8px 32px rgba(0, 54, 0, 0.18);
  --glow-shadow-subtle: 0 4px 20px rgba(0, 54, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  /* Dotted Matrix Grid Background (Light Antigravity Style) */
  background-image:
    radial-gradient(circle at center, rgba(0, 54, 0, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Particles canvas — full viewport, behind all content */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

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

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f0f4f1;
}
::-webkit-scrollbar-thumb {
  background: #c5d4c8;
  border-radius: 4px;
  border: 2px solid #f0f4f1;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

/* ==========================================
   LAYOUT & UTILITIES
   ========================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}

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

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {
  .section {
    padding: 120px 0;
  }
}

.section-dark {
  background-color: #f5f8f6;
  border-top: 1px solid rgba(0, 54, 0, 0.06);
  border-bottom: 1px solid rgba(0, 54, 0, 0.06);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================
   TYPOGRAPHY ELEMENTS
   ========================================== */
.eyebrow {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-secondary);
  margin-bottom: 16px;
  display: inline-block;
  text-shadow: 0 0 10px rgba(109, 192, 127, 0.2);
}

.section-head {
  max-width: 750px;
  margin-bottom: 60px;
}

.section-head h2 {
  font-size: 2.2rem;
  font-weight: 800;
}

@media (min-width: 768px) {
  .section-head h2 {
    font-size: 3rem;
  }
}

.prose p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.prose p strong {
  color: var(--text-primary);
}

/* ==========================================
   BUTTONS & ACTIONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 80px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border: 1px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  color: #000000;
  border-color: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: var(--glow-shadow);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-primary);
  border-color: rgba(109, 192, 127, 0.3);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background-color: rgba(109, 192, 127, 0.08);
  border-color: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: var(--glow-shadow-subtle);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.1rem;
}

.accent {
  color: var(--color-secondary);
  background: linear-gradient(135deg, #ffffff 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(109, 192, 127, 0.15);
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 54, 0, 0.08);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 54, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}

.brand-logo {
  height: 52px;
  width: auto;
  transition: var(--transition-smooth);
}

.brand:hover .brand-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(0, 54, 0, 0.25));
}

/* Header Socials */
.header-socials {
  display: none;
}

.header-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background-color: rgba(0, 54, 0, 0.02);
  transition: var(--transition-fast);
}

.header-social-icon {
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.header-socials a:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.header-socials a:hover .header-social-icon {
  color: #ffffff;
  transform: scale(1.1);
}

@media (min-width: 769px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .brand {
    justify-self: start;
    display: flex;
    align-items: center;
  }

  .nav {
    justify-self: center;
  }

  .header-socials {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-self: end;
  }
}


.nav-list {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.nav-list a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-secondary);
  transition: var(--transition-fast);
}

.nav-list a:hover {
  color: var(--text-primary);
}

.nav-list a:hover::after {
  width: 100%;
}

.nav-list .nav-cta {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
  border: 1px solid var(--color-primary);
  padding: 10px 26px;
  border-radius: 80px;
  font-weight: 800;
  display: inline-block;
}

.nav-list .nav-cta::after {
  display: none !important;
}

.nav-list .nav-cta:hover {
  background-color: var(--color-secondary) !important;
  color: #000000 !important;
  border-color: var(--color-secondary) !important;
  box-shadow: var(--glow-shadow);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  margin-bottom: 6px;
  transition: var(--transition-smooth);
}

.nav-toggle span:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 290px;
    height: 100vh;
    background-color: #ffffff;
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    padding: 110px 40px;
    align-items: flex-start;
    gap: 32px;
    transition: var(--transition-smooth);
  }
  
  .nav-list.active {
    right: 0;
  }
  
  .nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(6px, -7px);
  }
  
  .hero {
    min-height: calc(100vh - 85px);
    padding: 60px 0;
  }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 85px);
  display: flex;
  align-items: center;
  padding: 100px 0;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.72) 42%, rgba(0, 0, 0, 0.28) 75%, rgba(0, 0, 0, 0.08) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: left;
  color: #ffffff;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.15;
  max-width: 760px;
  color: #ffffff;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.4rem;
  }
}

.hero-sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 680px;
}

@media (min-width: 768px) {
  .hero-sub {
    font-size: 1.3rem;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 0;
}

/* Ghost button override in hero (dark background context) */
.hero .btn-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.38);
}

.hero .btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: none;
  transform: translateY(-3px);
}

/* Hero Stats */
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(109, 192, 127, 0.1);
  padding-top: 32px;
  list-style: none;
}

.hero-meta li {
  display: flex;
  flex-direction: column;
}

.hero-meta li strong {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-secondary);
  text-shadow: 0 0 10px rgba(109, 192, 127, 0.2);
}

.hero-meta li span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

@media (min-width: 768px) {
  .hero-meta li strong {
    font-size: 2.8rem;
  }
  .hero-meta li span {
    font-size: 0.9rem;
  }
}

/* ==========================================
   INFINITE CLIENTS MARQUEE TICKER (NEW)
   ========================================== */
.marquee-section {
  width: 100%;
  padding: 30px 0;
  background: var(--color-primary); /* Brand primary green background (#003600) */
  border-top: 1px solid rgba(109, 192, 127, 0.2);
  border-bottom: 1px solid rgba(109, 192, 127, 0.2);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  display: flex;
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: marquee-scroll 25s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 80px;
  padding-right: 80px; /* Precise gap between duplicated lists */
}

.client-logo {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  max-height: 38px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Deixa todos os logos brancos para visual premium */
  opacity: 0.75;
}

@keyframes marquee-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================
   ABOUT / TAGS
   ========================================== */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-top: 24px;
}

.tag {
  background-color: rgba(109, 192, 127, 0.04);
  border: 1px solid rgba(109, 192, 127, 0.15);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 40px;
  transition: var(--transition-fast);
}

.tag:hover {
  border-color: var(--color-secondary);
  background-color: rgba(109, 192, 127, 0.08);
  box-shadow: var(--glow-shadow-subtle);
}

/* About section stats — inside left column of Quem Somos */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(0, 54, 0, 0.1);
  padding-top: 28px;
  margin-top: 32px;
  list-style: none;
}

.about-stats li {
  display: flex;
  flex-direction: column;
}

.about-stats li strong {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .about-stats li strong {
    font-size: 2.2rem;
  }
}

.about-stats li span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
  line-height: 1.3;
}

/* ==========================================
   TOUR / ENVIRONMENTS
   ========================================== */
.tour {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

@media (min-width: 992px) {
  .tour {
    gap: 120px;
  }
}

.tour-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .tour-item {
    grid-template-columns: 1.2fr 0.8fr;
  }
  
  .tour-item.reverse {
    grid-template-columns: 0.8fr 1.2fr;
  }
  
  .tour-item.reverse .tour-media-wrapper {
    order: 2;
  }
}

.tour-media-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.tour-media-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(109, 192, 127, 0.2) 0%, transparent 100%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 5;
}

.tour-media-wrapper:hover {
  border-color: rgba(109, 192, 127, 0.3);
  box-shadow: var(--glow-shadow-subtle);
  transform: translateY(-2px);
}

.tour-media-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  padding: 6px 18px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.tour-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.tour-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Carousel Inner Component */
.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #f0f4f1;
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

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

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.carousel-btn {
  background-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: var(--transition-fast);
}

.carousel-btn:hover {
  background-color: var(--color-secondary);
  color: #000000;
  border-color: var(--color-secondary);
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dots .dot.active {
  background-color: var(--color-secondary);
  width: 20px;
  border-radius: 8px;
}

/* ==========================================
   BENTO GRID (DIFERENCIAIS WITH 3D EFFECT)
   ========================================== */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  perspective: 1000px; /* Enables 3D space for children cards */
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(190px, auto);
  }
}

.bento-card {
  background-color: #ffffff;
  border: 1px solid rgba(0, 54, 0, 0.07);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  padding: 32px;
  border-radius: 24px;
  transition: transform 0.1s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  transform-style: preserve-3d;
}

/* Card inner lighting highlights */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--border-glass-highlight) 0%, transparent 100%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.3;
  transition: var(--transition-smooth);
}

.bento-card:hover {
  background-color: #f9fdf9;
  border-color: rgba(109, 192, 127, 0.35);
  box-shadow: 0 8px 32px rgba(0, 54, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.bento-card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 1.8rem;
  color: var(--color-secondary);
  margin-bottom: 24px;
  display: block;
  transform: translateZ(20px); /* Pushes icon out of 3D plane */
}

.bento-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
  transform: translateZ(15px);
  color: var(--text-primary);
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  transform: translateZ(10px);
}

/* Bento Variants */
@media (min-width: 992px) {
  .card-xl {
    grid-column: span 2;
    grid-row: span 2;
    padding: 48px;
    justify-content: center;
  }
  
  .card-xl h3 {
    font-size: 1.8rem;
  }
  
  .card-xl p {
    font-size: 1.15rem;
    max-width: 550px;
  }
  
  .card-lg {
    grid-column: span 2;
    justify-content: center;
  }
}

.card-stat {
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(109, 192, 127, 0.06) 0%, rgba(255, 255, 255, 0) 100%);
  border-color: rgba(109, 192, 127, 0.2);
}

.stat-number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
  transform: translateZ(25px);
}

.stat-number-big {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-secondary);
}

.stat-unit {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ==========================================
   CASES SLIDER
   ========================================== */
.cases-slider-wrap {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.cases-slider {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: grab;
}

.cases-slider:active {
  cursor: grabbing;
}

.case-card {
  flex: 0 0 100%;
  background-color: #ffffff;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: var(--transition-smooth);
}

.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(109, 192, 127, 0.2) 0%, transparent 100%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 5;
}

@media (min-width: 600px) {
  .case-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (min-width: 992px) {
  .case-card {
    flex: 0 0 calc(33.333% - 16px);
  }
}

.case-card:hover {
  border-color: rgba(109, 192, 127, 0.3);
  box-shadow: var(--glow-shadow-subtle);
  transform: translateY(-2px);
}

.case-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.case-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.case-card:hover .case-image-wrap img {
  transform: scale(1.05);
}

.case-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.case-client {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: rgba(0, 54, 0, 0.85);
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
  padding: 4px 12px;
  border-radius: 4px;
}

.case-info {
  padding: 24px;
}

.case-info h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text-primary);
}

.case-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Slider Controls */
.cases-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.cases-nav-btn {
  background-color: #ffffff;
  border: 1px solid rgba(0, 54, 0, 0.1);
  color: var(--text-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cases-nav-btn:hover {
  background-color: var(--color-secondary);
  color: #000000;
  border-color: var(--color-secondary);
}

.cases-indicators {
  display: flex;
  gap: 8px;
}

.cases-indicators .indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(109, 192, 127, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}

.cases-indicators .indicator.active {
  background-color: var(--color-secondary);
  width: 24px;
  border-radius: 8px;
}

/* ==========================================
   LOCALIZAÇÃO (MAPA)
   ========================================== */
.location-perks {
  list-style: none;
  margin: 32px 0;
}

.location-perks li {
  font-size: 1.05rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
}

.location-perks li::before {
  content: "\2713 ";
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: 800;
}

.map-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.section-cta {
  background: radial-gradient(circle at center, rgba(109, 192, 127, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid rgba(0, 54, 0, 0.05);
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .cta-inner h2 {
    font-size: 3rem;
  }
}

.cta-sub {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 40px;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background-color: #f5f8f6;
  border-top: 1px solid rgba(0, 54, 0, 0.08);
  padding: 40px 0;
  position: relative;
  z-index: 10;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.footer-brand .footer-logo {
  height: 38px;
  width: auto;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.footer-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.social-icon {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background-color: rgba(0, 54, 0, 0.02);
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.footer-socials a:hover .social-icon {
  color: #ffffff;
  transform: scale(1.1);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  
  .footer-brand {
    align-items: center;
    flex: 1;
  }
  
  .footer-center {
    flex: 1;
    justify-content: center;
    text-align: center;
  }
  
  .footer-socials {
    flex: 1;
    justify-content: flex-end;
  }
}

/* ==========================================
   ANIMATIONS & REVEALS
   ========================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }
.fade-in:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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