/* Reset and Base Styles */
:root {
  --primary-color: #2F4F4F;     /* Azul petróleo */
  --secondary-color: #8B5A2B;   /* Marrom terra */
  --accent-color: #2F4F4F;      /* Azul petróleo para destaques/botões */
  --text-color: #333333;        /* Cinza escuro para texto principal */
  --text-light: #666666;        /* Cinza médio para texto secundário */
  --light-bg: #efeee9;          /* Bege claro para fundo neutro */
  --light-bg-2: #f1f0ec;        /* Bege claro para visual em bege */
  --white: #fff;
  --container-width: 1400px;    /* Aumentado de 1200px */
  --border-radius: 8px;         /* Aumentado de 5px */
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);  /* Melhorada */
  --transition: all 0.3s ease;
  --hover-color: #6B8E23;       /* Verde oliva claro para hover */
}

/* FORÇA BRUTA - GARANTIR QUE TODOS OS BOTÕES SEJAM CLICÁVEIS */
.tab-btn,
.tab-btn *,
button,
button *,
.btn,
.btn *,
.carousel-control,
.carousel-control *,
.filter-btn,
.filter-btn *,
.action-btn,
.action-btn * {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 9999 !important;
  position: relative !important;
}

/* FORÇA BRUTA ESPECÍFICA PARA ABAS DE SERVIÇOS */
[data-tab="imoveis"],
[data-tab="advocacia"],
[data-tab="imoveis"] *,
[data-tab="advocacia"] * {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 99999 !important;
  position: relative !important;
  user-select: none !important;
}

/* FORÇA BRUTA PARA ABAS ECONÔMICAS */
.economic-tabs .tab-btn,
.economic-tabs .tab-btn *,
[data-tab="celulose"],
[data-tab="investimento"],
[data-tab="transoceania"],
[data-tab="cooperativas"],
[data-tab="agropecuaria"],
[data-tab="industria"],
[data-tab="celulose"] *,
[data-tab="investimento"] *,
[data-tab="transoceania"] *,
[data-tab="cooperativas"] *,
[data-tab="agropecuaria"] *,
[data-tab="industria"] * {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 99999 !important;
  position: relative !important;
  user-select: none !important;
}

/* FORÇA BRUTA PARA CARROSSÉIS */
#prevProperty,
#nextProperty,
.carousel-control.prev,
.carousel-control.next {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 99999 !important;
  position: absolute !important;
  user-select: none !important;
}

#prevProperty *,
#nextProperty *,
.carousel-control.prev *,
.carousel-control.next * {
  pointer-events: auto !important;
  cursor: pointer !important;
  user-select: none !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
}

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

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
}

.container {
  width: 95%;                   /* Aumentado de 90% */
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;              /* Aumentado de 15px */
}

.page-wrapper {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

section {
  padding: 80px 0;
}

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

.section-header h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.section-header p {
  font-size: 18px;
  color: var(--text-light);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background-color: var(--hover-color); /* Verde oliva claro */
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

/* Hide mobile-only elements on desktop */
.mobile-only {
  display: none;
}

/* Animation for scroll reveal */
section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

.header.scrolled {
  padding: 10px 0;
  background-color: var(--light-bg); /* Bege claro com transparência */
}

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

.logo h1 {
  font-size: 24px;
  color: var(--primary-color);
}

.logo {
  display: flex;
  align-items: center;
  padding-left: 50px;
}

.logo-img {
  height: 80px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
}

.main-nav ul {
  display: flex;
}

.main-nav li {
  margin-left: 30px;
}

.main-nav a {
  color: var(--text-color);
  font-weight: 500;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-menu-btn span.active:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn span.active:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn span.active:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section with Animation */
.hero {
  padding: 0;
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 600px;
  max-height: 800px;
}

/* Video Background Styles */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1s ease;
}

.video-background.video-loaded {
  opacity: 1;
}

.video-background.video-error {
  /* Fallback background image if video fails to load */
  background: url('../src/images/brazil_mt.png') no-repeat center center;
  background-size: cover;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(47, 79, 79, 0.6) 0%, rgba(139, 90, 43, 0.4) 100%);
  z-index: 2;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  position: relative;
  z-index: 3; /* Place above video */
  background-color: transparent;
  height: 100%;
}

.hero-content {
  flex-basis: 70%;
  max-width: 600px;
  padding: 80px 40px 40px 50px; /* Aumentado padding-top de 40px para 60px */
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(47, 79, 79, 0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0 20px 20px 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="rgba(255,255,255,0.03)"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
  pointer-events: none;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 25px;
  color: var(--white);
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}

.hero-content p {
  font-size: 17px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  position: relative;
  z-index: 1;
}

.hero-btns {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.hero-btns .btn {
  padding: 15px 25px;
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-btns .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-animation {
  flex-basis: 50%;
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.animation-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.animation-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInOut 18s infinite;
}

.map-stage {
  animation-delay: 0s;
  animation-name: mapFadeInOut;
}

.zoom-stage {
  animation-delay: 0s;
  animation-name: zoomFadeInOut;
}

.docs-stage {
  animation-delay: 0s;
  animation-name: docsFadeInOut;
}

/* Map Animation Elements */
.state-outline {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawPath 3s ease-in-out forwards;
  animation-delay: 0.5s;
}

.river {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawPath 2s ease-in-out forwards;
}

.river:nth-child(1) {
  animation-delay: 1s;
}

.river:nth-child(2) {
  animation-delay: 1.5s;
}

.road {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawPath 1.5s ease-in-out forwards;
}

.road:nth-child(1) {
  animation-delay: 2s;
}

.road:nth-child(2) {
  animation-delay: 2.5s;
}

.road:nth-child(3) {
  animation-delay: 3s;
}

.location-point {
  opacity: 0;
  animation: fadeIn 0.5s ease-in-out forwards;
}

.location-point:nth-child(1) {
  animation-delay: 3.2s;
}

.location-point:nth-child(2) {
  animation-delay: 3.4s;
}

.location-point:nth-child(3) {
  animation-delay: 3.6s;
}

.location-point:nth-child(4) {
  animation-delay: 3.8s;
}

.location-point:nth-child(5) {
  animation-delay: 4s;
}

.point-pulse {
  animation: locationPulse 2s infinite;
}

.point-outer {
  animation: locationPulse 3s infinite;
  animation-delay: 0.5s;
}

.location-label {
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: 0.5s;
}

.compass {
  opacity: 0;
  animation: fadeRotateIn 1.5s ease-in-out forwards;
  animation-delay: 4.5s;
}

.map-scale {
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: 4.7s;
}

/* Zoom Animation Elements */
.brazil-outline {
  opacity: 0;
  animation: fadeIn 1.5s forwards;
  animation-delay: 6.5s;
}

.ms-state {
  opacity: 0;
  animation: fadeIn 1.5s forwards;
  animation-delay: 7s;
}

.pulse-circle {
  opacity: 0;
  animation: pulseGrow 2s infinite;
  animation-delay: 7.5s;
}

/* Document Animation Elements */
.document {
  opacity: 0;
  animation: slideIn 1.5s forwards;
  animation-delay: 12.5s;
}

.doc-title {
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: 13s;
}

.doc-lines line {
  opacity: 0;
  animation: drawLine 0.5s forwards;
}

.doc-lines line:nth-child(1) {
  animation-delay: 13.2s;
}

.doc-lines line:nth-child(2) {
  animation-delay: 13.4s;
}

.doc-lines line:nth-child(3) {
  animation-delay: 13.6s;
}

.doc-lines line:nth-child(4) {
  animation-delay: 13.8s;
}

.doc-lines line:nth-child(5) {
  animation-delay: 14s;
}

.doc-lines line:nth-child(6) {
  animation-delay: 14.2s;
}

.doc-lines line:nth-child(7) {
  animation-delay: 14.4s;
}

.doc-lines line:nth-child(8) {
  animation-delay: 14.6s;
}

.stamp-group {
  opacity: 0;
  animation: stampAppear 1s forwards;
  animation-delay: 15s;
}

.stamp-inner {
  opacity: 0;
  animation: fadeIn 0.5s forwards;
  animation-delay: 15.2s;
}

.stamp-text, .stamp-date {
  opacity: 0;
  animation: fadeIn 0.5s forwards;
  animation-delay: 15.5s;
}

.signature {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawPath 1.5s forwards;
  animation-delay: 16s;
}

.signature-name {
  opacity: 0;
  animation: fadeIn 1s forwards;
  animation-delay: 16.5s;
}

/* Additional animation keyframes */
@keyframes drawPath {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawLine {
  from {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes locationPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
}

@keyframes fadeRotateIn {
  0% {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

@keyframes pulseGrow {
  0% {
    opacity: 0.8;
    r: 15;
    stroke-width: 2;
  }
  50% {
    opacity: 0.2;
    r: 25;
    stroke-width: 1;
  }
  100% {
    opacity: 0.8;
    r: 15;
    stroke-width: 2;
  }
}

@keyframes stampAppear {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-20deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.2) rotate(5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

/* Regularize Section */
.regularize {
  background-color: var(--light-bg);
}

.special-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Expandable service cards with flip effect */
.service-card.expandable {
  perspective: 1000px;
  height: 350px;
  cursor: pointer;
  position: relative;
}

.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.6s ease;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}



/* === SERVICES SECTION - COMPLETELY RESET AND STABLE === */
.services {
  padding: 100px 0;
  position: relative;
  z-index: 20;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 1200px;
  height: auto;
  overflow: visible;
  margin: 0;
  border: none;
  box-shadow: none;
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
  backface-visibility: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Ensure services section is NEVER affected by any scroll animations */
.services * {
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
  backface-visibility: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="rgba(47,79,79,0.03)"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
  pointer-events: none;
  z-index: 1;
}

.category-icon svg {
  transition: transform 0.3s ease;
}

.solution-category:hover .category-icon svg {
  transform: scale(1.1);
}

.category-info h3 {
  color: var(--primary-color);
  font-size: 28px;
  margin-bottom: 8px;
  font-weight: 700;
}

.category-info p {
  color: var(--text-light);
  font-size: 16px;
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  position: relative;
  z-index: 2;
  overflow: visible;
  min-height: 800px;
  height: auto;
  margin-bottom: 40px;
  transform: none !important;
  transition: none !important;
}

/* Abas de Navegação - Melhoradas para serem mais evidentes */
/* Estilos antigos removidos - substituídos pelos novos estilos modernos acima */

/* Animação ripple para feedback visual */
@keyframes ripple {
  from {
    transform: scale(0);
    opacity: 1;
  }
  to {
    transform: scale(2);
    opacity: 0;
  }
}

/* WEB VERSION - STABLE LAYOUT */
@media (min-width: 769px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    min-height: 900px;
    height: auto;
    gap: 40px;
    transform: none !important;
    transition: none !important;
  }
  
  .service-item {
    min-height: 450px;
    height: auto;
    padding: 45px;
    transform: none !important;
    transition: none !important;
  }
}

/* Melhorias para responsive */
@media (max-width: 768px) {
  .services-tabs {
    max-width: 100%;
    padding: 8px;
    gap: 8px;
  }
  
  .services-tabs .tab-btn {
    padding: 18px 24px;
    font-size: 15px;
    min-width: 140px;
  }
  
  .services-tabs .tab-btn svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 576px) {
  .services-tabs {
    flex-direction: column;
    max-width: 320px;
    gap: 6px;
    padding: 6px;
  }
  
  .services-tabs .tab-btn {
    padding: 16px 20px;
    font-size: 14px;
    min-width: 100%;
    text-transform: none;
    letter-spacing: 0.3px;
  }
  
  .services-tabs .tab-btn svg {
    width: 20px;
    height: 20px;
  }
}

/* Conteúdo das Abas */
.tab-content {
  position: relative;
  z-index: 3;
  overflow: visible;
  min-height: 650px;
}

.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.tab-panel.active {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  visibility: visible !important;
}

/* Ensure Businaro Imóveis tab is visible by default */
.tab-panel#imoveis {
  display: block;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* Hide Businaro Advocacia by default */
.tab-panel#advocacia {
  display: none;
  visibility: hidden;
}

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

/* Modern Services Grid - NO COMPRESSION ON WEB */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px;
  margin-top: 50px;
  min-height: 800px;
  overflow: visible;
}

/* Service Card - STABLE VERSION */
.service-item {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: visible;
  cursor: pointer;
  height: auto;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  opacity: 1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  flex: 1;
  transform: none !important;
  transition: none !important;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

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

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(47, 79, 79, 0.2);
}

/* Service Header */
.service-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.service-icon-wrapper {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(47, 79, 79, 0.1), rgba(139, 90, 43, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: visible;
  transform: none !important;
  transition: none !important;
}

.service-item:hover .service-icon-wrapper {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transform: none !important;
}

.service-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  transform: none !important;
  transition: none !important;
}

.service-item:hover .service-icon {
  filter: brightness(0) invert(1);
  transform: none !important;
}

/* Simple icon visibility - no complex effects */
.service-icon svg {
  display: block;
  visibility: visible;
  opacity: 1;
  position: relative;
  z-index: 2;
}

.service-title-area {
  flex: 1;
}

.service-title-area h4 {
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.service-subtitle {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-description {
  flex: 1;
  margin-bottom: 24px;
}

.service-description p {
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 12px;
}

.service-item:hover .service-features li::before {
  color: var(--white);
}

.service-action {
  margin-top: auto;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.service-cta:hover {
  color: var(--secondary-color);
  transform: translateX(4px);
}

.service-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.service-cta:hover svg {
  transform: translateX(4px);
}

/* BOTÕES DE SERVIÇOS PROFISSIONAIS */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  border: none;
  flex-wrap: wrap;
  backdrop-filter: none;
  position: relative;
  overflow: visible;
}





.services-tabs .tab-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid rgba(47, 79, 79, 0.15);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-color);
  font-weight: 600;
  font-size: 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  flex: 1;
  min-width: 160px;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(47, 79, 79, 0.08);
  transform: none;
  backdrop-filter: blur(10px);
}

.services-tabs .tab-btn::before {
  display: none;
}

.services-tabs .tab-btn:hover {
  background: rgba(47, 79, 79, 0.05);
  color: var(--primary-color);
  transform: translateY(-2px);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(47, 79, 79, 0.15);
}

.services-tabs .tab-btn.active {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(47, 79, 79, 0.25);
  transform: translateY(-3px);
  border-color: var(--primary-color);
  z-index: 2;
  font-weight: 700;
}

.services-tabs .tab-btn.active::after {
  display: none;
}

.services-tabs .tab-btn svg {
  fill: currentColor;
  transition: all 0.3s ease;
  width: 18px;
  height: 18px;
  filter: none;
}

  .services-tabs .tab-btn.active svg {
    fill: var(--white);
    transform: none;
    filter: none;
  }

/* BOTÕES ECONÔMICOS - DESIGN ULTRA MODERNO E ATRATIVO */
.economic-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 50px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  border: none;
  backdrop-filter: none;
  position: relative;
  overflow: visible;
}

.economic-tabs::before {
  display: none;
}

.economic-tabs .tab-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  border: 1px solid rgba(47, 79, 79, 0.15);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-color);
  font-weight: 600;
  font-size: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(47, 79, 79, 0.08);
  min-height: 80px;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.economic-tabs .tab-btn::before {
  display: none;
}

.economic-tabs .tab-btn:hover {
  background: rgba(47, 79, 79, 0.05);
  color: var(--primary-color);
  transform: translateY(-2px);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(47, 79, 79, 0.15);
}

.economic-tabs .tab-btn.active {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(47, 79, 79, 0.25);
  transform: translateY(-3px);
  border-color: var(--primary-color);
  z-index: 2;
  font-weight: 700;
}

.economic-tabs .tab-btn.active::after {
  display: none;
}

.economic-tabs .tab-btn svg {
  fill: currentColor;
  transition: all 0.3s ease;
  width: 20px;
  height: 20px;
  filter: none;
}

.economic-tabs .tab-btn.active svg {
  fill: var(--white);
  transform: none;
  filter: none;
}

/* Tab Content */
.tab-content {
  position: relative;
}

.tab-panel {
  display: none !important;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}

.tab-panel.active {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
  position: relative;
  z-index: 2;
}

/* Container para posicionamento relativo */
.tab-content {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}

/* Regras específicas para abas econômicas - VERSÃO SIMPLIFICADA */
.economic-tabs .tab-panel {
  display: none;
}

.economic-tabs .tab-panel.active {
  display: block;
}

.tab-panel#imoveis {
  animation-delay: 0.1s;
}

.tab-panel#advocacia {
  animation-delay: 0.2s;
}

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



/* Service Description */
.service-description {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.service-description p {
  color: var(--text-color);
  line-height: 1.6;
  font-size: 15px;
  margin: 0;
  text-align: left;
  opacity: 0.9;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  color: var(--text-color);
  font-size: 14px;
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
  transition: all 0.3s ease;
  margin-bottom: 4px;
  opacity: 0.85;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
  opacity: 0.9;
}

.service-item:hover .service-features li::before {
  transform: scale(1.1);
}

/* Service Action */
.service-action {
  margin-top: auto;
  padding-top: 20px;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px 0;
  opacity: 0.9;
}

.service-cta:hover {
  color: var(--secondary-color);
  transform: translateX(4px);
}

.service-cta svg {
  transition: all 0.3s ease;
}

.service-cta:hover svg {
  transform: translateX(4px);
}

.legal-services {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Service Items na nova estrutura */
.services-grid .service-item {
  perspective: 1000px;
  height: 430px;
  cursor: pointer;
  position: relative;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.services-grid .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-content-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.service-front,
.service-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.service-front {
  transform: rotateY(0deg);
}

.service-back {
  transform: rotateY(180deg);
  background-color: var(--primary-color);
  color: var(--white);
}

.service-item:hover .service-content-wrapper {
  transform: rotateY(180deg);
}

.service-front h4 {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin-top: 15px;
  color: var(--primary-color);
}

.service-back h4 {
  color: var(--white);
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.service-back .service-description {
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
}

.service-back .service-description p {
  margin: 0;
  color: var(--white);
  text-align: center;
}

.services-grid .service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  margin: 0 auto 10px auto;
  display: block;
}

/* Estilos para os cards jurídicos */
.legal-services .service-card {
  perspective: 1000px;
  height: 280px;
  cursor: pointer;
  position: relative;
}

.legal-services .service-card-front,
.legal-services .service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.6s ease;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.legal-services .service-card-front {
  transform: rotateY(0deg);
}

.legal-services .service-card-back {
  transform: rotateY(180deg);
  background-color: var(--secondary-color);
  color: var(--white);
}

.legal-services .service-card:hover .service-card-front {
  transform: rotateY(180deg);
}

.legal-services .service-card:hover .service-card-back {
  transform: rotateY(0deg);
}

.legal-services .service-card-front h4 {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-top: 20px;
  color: var(--secondary-color);
}

.legal-services .service-card-back h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.legal-services .service-card-back p {
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: var(--white);
  margin: 0;
}

.legal-services .service-icon {
  margin-bottom: 15px;
  transition: transform 0.5s ease;
  animation: pulse 2s infinite;
}

/* Companies Grid */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* About Section */
.about {
  padding: 50px 0;
  background: var(--white);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 50%, var(--light-bg) 100%);
  opacity: 0.6;
  z-index: 1;
}

.about .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto auto;
  gap: 10px;
  max-width: 1200px;
}

/* Row 2: Main company description */
.about-main-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-main-text p {
  margin-bottom: 20px;
}

.about-main-text strong {
  color: var(--primary-color);
  font-weight: 700;
}

/* Row 3: Values sobrepostos + Image destacada à direita */
.about-bottom-content {
  position: relative;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 20px;
  align-items: center;
  min-height: 450px;
}

.about-values {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateX(40px);
}

.value-item {
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-left: 3px solid var(--primary-color);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.value-item:hover {
  transform: translateY(-3px) translateX(8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.98);
}

.value-item h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-weight: 700;
}

.value-item p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-color);
  margin: 0;
}

.value-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.value-item li {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-color);
  margin-bottom: 6px;
  padding-left: 18px;
  position: relative;
}

.value-item li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 12px;
}

.value-item li:last-child {
  margin-bottom: 0;
}

.about-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
  z-index: 2;
  transform: scale(1.08);
}

.about-image:hover {
  transform: scale(1.12) rotate(-1deg);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.3);
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Responsive Design for About Section */
@media (max-width: 768px) {
  .about {
    padding: 50px 0;
  }
  
  .about .container {
    gap: 25px;
  }
  
  .about-main-text {
    font-size: 15px;
    text-align: left;
  }
  
  .about-bottom-content {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
  }
  
  .about-image {
    order: 1;
    transform: scale(1.05);
  }
  
  .about-image img {
    height: 300px;
  }
  
  .about-values {
    order: 2;
    gap: 15px;
    transform: translateX(0);
  }
  
  .value-item {
    padding: 16px;
  }
  
  .value-item h3 {
    font-size: 16px;
  }
  
  .value-item p {
    font-size: 13px;
  }
  
  .value-item li {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .about {
    padding: 40px 0;
  }
  
  .about .container {
    gap: 20px;
  }
  
  .about-main-text {
    font-size: 14px;
  }
  
  .about-main-text p {
    margin-bottom: 15px;
  }
  
  .about-image {
    transform: scale(1.02);
  }

  .about-image img {
    height: 240px;
  }
  
  .about-values {
    gap: 12px;
  }
  
  .value-item {
    padding: 14px;
  }
  
  .value-item h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }
  
  .value-item p {
    font-size: 12px;
  }
  
  .value-item li {
    font-size: 12px;
    margin-bottom: 4px;
  }
}



/* Testimonials Section */
.testimonials {
  background: linear-gradient(135deg, #f8f9fa 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="80" height="80" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"><g fill="rgba(139,90,43,0.02)"><circle cx="40" cy="40" r="3"/></g></svg>') repeat;
  pointer-events: none;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

.testimonial-card {
  background: linear-gradient(135deg, var(--white) 0%, #fafafa 100%);
  padding: 35px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(47, 79, 79, 0.08);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-image {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 25px;
  position: relative;
  border: 3px solid transparent;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  padding: 3px;
  transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-image {
  transform: scale(1.05);
}

.testimonial-image svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--light-bg);
}

.testimonial-content {
  position: relative;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  position: relative;
  padding: 0 20px;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-size: 40px;
  color: var(--primary-color);
  position: absolute;
  font-family: Georgia, serif;
  opacity: 0.3;
}

.testimonial-content p::before {
  top: -10px;
  left: 0;
}

.testimonial-content p::after {
  bottom: -30px;
  right: 0;
}

.testimonial-content h4 {
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
}

.testimonial-company {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
  padding: 50px 0;  /* Reduzido de 70px */
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="80" height="80" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"><g fill="rgba(47,79,79,0.02)"><circle cx="40" cy="40" r="2"/></g></svg>') repeat;
  pointer-events: none;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;  /* Reduzido de 30px */
  align-items: start;
}

.contact-form-section {
  background: linear-gradient(135deg, var(--white) 0%, #fafafa 100%);
  border-radius: var(--border-radius);
  padding: 25px;  /* Reduzido de 35px */
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(47, 79, 79, 0.08);
}

.contact-form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.form-header {
  text-align: center;
  margin-bottom: 20px;  /* Reduzido de 25px */
}

.form-header h3 {
  color: var(--primary-color);
  font-size: 22px;  /* Reduzido de 24px */
  margin-bottom: 5px;  /* Reduzido de 8px */
  font-weight: 700;
}

.form-header p {
  color: var(--text-light);
  font-size: 13px;  /* Reduzido de 14px */
  margin: 0;
}

.contact-info-section {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 15px;  /* Reduzido de 25px */
  height: fit-content;
}

/* Contact Methods com design moderno */
.contact-methods {
  background: linear-gradient(135deg, var(--white) 0%, #fafafa 100%);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(47, 79, 79, 0.08);
}

.contact-methods::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #25D366, var(--primary-color));
}

.contact-methods h3 {
  color: var(--primary-color);
  font-size: 16px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 700;
}

/* Layout em grid de 3 colunas para uma linha */
.contact-methods .contact-method {
  display: none; /* Esconde os cards individuais */
}

/* Novo layout em grid compacto */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0; /* Remove padding do container */
  background: none; /* Remove background do container */
  border-radius: 0;
  transition: none;
}

.contact-grid:hover {
  transform: none; /* Remove hover do container */
  box-shadow: none;
}

/* Cards individuais para cada método de contato */
.contact-method-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--light-bg);
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  text-decoration: none; /* Para quando for um link */
  color: inherit; /* Para quando for um link */
}

.contact-method-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none; /* Remove underline no hover quando for link */
}

/* WhatsApp card específico quando é link */
.contact-method-item.whatsapp-link {
  color: inherit;
  text-decoration: none;
  background: var(--light-bg); /* Mesmo background dos outros cards */
  padding: 15px; /* Mesmo padding dos outros cards */
  gap: 15px;
}

.contact-method-item.whatsapp-link:hover {
  color: inherit;
  text-decoration: none;
  background: var(--light-bg); /* Mantém o mesmo background no hover */
}

.contact-method-item.whatsapp-link .contact-grid-info {
  color: var(--text-color);
}

.contact-method-item.whatsapp-link:hover .contact-grid-info {
  color: #25D366 !important; /* Verde apenas no hover */
}

.contact-grid-icon {
  width: 35px;
  height: 35px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.contact-grid-icon.whatsapp {
  background: linear-gradient(135deg, #25D366, #20B454);
}

.contact-method-item:hover .contact-grid-icon {
  transform: scale(1.1);
}

.contact-grid-title {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  min-width: 80px;
  flex-shrink: 0;
}

.contact-grid-info {
  color: var(--text-color);
  font-size: 13px;
  margin: 0;
  text-decoration: none;
  transition: all 0.3s ease;
  flex: 1;
}

.contact-grid-info:hover {
  color: var(--primary-color);
}

.contact-grid-info.whatsapp-link {
  color: #25D366 !important;
}

.contact-grid-info.whatsapp-link:hover {
  color: #20B454 !important;
}

.primary-contact {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(37, 211, 102, 0.05) 100%);
  border: 1px solid rgba(37, 211, 102, 0.3);
  margin-bottom: 10px;
}

.method-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.primary-contact .method-icon {
  background: linear-gradient(135deg, #25D366, #20B454);
}

.contact-method:hover .method-icon {
  transform: scale(1.1);
}

.method-info {
  flex: 1;
}

.method-info h4 {
  color: var(--primary-color);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 3px 0;
}

.method-info p {
  display: none;  /* Remove as descrições para compactar */
}

/* Seção de horários modernizada */
.business-hours {
  background: linear-gradient(135deg, var(--white) 0%, #fafafa 100%);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(47, 79, 79, 0.08);
  position: relative;
  overflow: hidden;
}

.business-hours::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.business-hours h3 {
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 700;
}

.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: var(--light-bg);
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.hours-item:hover {
  transform: translateX(3px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Redes sociais criativa */
.social-media {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.social-media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="rgba(255,255,255,0.05)"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
  pointer-events: none;
}

.social-media h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  position: relative;
  z-index: 1;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-link svg {
  width: 24px;
  height: 24px;
}

/* Footer */
.footer {
  background-color: var(--accent-color); /* Azul petróleo */
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h2 {
  color: var(--white);
  margin-bottom: 15px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: brightness(0) invert(1); /* Makes the logo white */
  display: block;
}

.footer-links h3,
.footer-newsletter h3 {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #bdc3c7;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-newsletter p {
  margin-bottom: 15px;
  color: #bdc3c7;
}

.footer-newsletter form {
  display: flex;
}

.footer-newsletter input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.footer-newsletter button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #bdc3c7;
}

/* === ATENDIMENTO SECTION - BELOW SERVICES === */
.atendimento {
  background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
  padding: 50px 0;
  position: relative;
  z-index: 10;
  margin-top: 0;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  clear: both;
}

/* Ensure atendimento section never gets fade-in class */
.atendimento.fade-in {
  opacity: 1 !important;
  transform: none !important;
}

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

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

.mapa img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
  border-radius: var(--border-radius);
  transition: transform 0.3s ease;
}

.mapa img:hover {
  transform: scale(1.02);
}

.locais {
  background: transparent;
  padding: 0;
}

.locais h3 {
  color: var(--primary-color);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.locais h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.locais-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.local-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(47, 79, 79, 0.08);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(47, 79, 79, 0.08);
}

.local-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  transition: all 0.3s ease;
}

.local-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(47, 79, 79, 0.15);
  border-color: rgba(47, 79, 79, 0.15);
}

.local-card:hover::before {
  width: 6px;
  background: var(--secondary-color);
}

.local-card.sede::before {
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.local-card.fixo::before {
  background: linear-gradient(180deg, #4CAF50, #45a049);
}

.local-card.demanda::before {
  background: linear-gradient(180deg, #FF9800, #F57C00);
}

.local-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(47, 79, 79, 0.1);
  transition: all 0.3s ease;
}

.local-card:hover .local-icon {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(47, 79, 79, 0.15);
}

.local-card.sede .local-icon {
  color: var(--primary-color);
}

.local-card.fixo .local-icon {
  color: #4CAF50;
}

.local-card.demanda .local-icon {
  color: #FF9800;
}

.local-info {
  flex: 1;
}

.local-info h4 {
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.local-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.local-card.sede .local-badge {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
}

.local-card.fixo .local-badge {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: var(--white);
}

.local-card.demanda .local-badge {
  background: linear-gradient(135deg, #FF9800, #F57C00);
  color: var(--white);
}

.local-info p {
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
}

.atendimento-cta {
  text-align: center;
  padding: 20px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(47, 79, 79, 0.08);
  box-shadow: 0 4px 12px rgba(47, 79, 79, 0.08);
}

.atendimento-cta p {
  margin: 0;
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.5;
}

.inline-cta {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.inline-cta:hover {
  border-bottom-color: var(--primary-color);
  color: var(--secondary-color);
}

/* Responsive styles for atendimento section */
@media (max-width: 992px) {
  .atendimento-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .mapa {
    order: 2;
  }
  
  .locais {
    order: 1;
  }
}

@media (max-width: 768px) {
  .atendimento {
    padding: 40px 0;
  }
  
  .atendimento-content {
    gap: 25px;
  }
  
  .locais {
    padding: 30px;
  }
  
  .locais h3 {
    font-size: 24px;
    margin-bottom: 25px;
  }
  
  .locais h3::after {
    width: 50px;
    height: 2px;
  }
  
  .locais-grid {
    gap: 16px;
    margin-bottom: 25px;
  }
  
  .local-card {
    padding: 20px;
    gap: 14px;
  }
  
  .local-icon {
    width: 42px;
    height: 42px;
  }
  
  .local-info h4 {
    font-size: 18px;
  }
  
  .local-info p {
    font-size: 13px;
  }
  
  .atendimento-cta {
    padding: 18px;
  }
  
  .atendimento-cta p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .atendimento {
    padding: 30px 0;
  }
  
  .locais {
    padding: 20px;
  }
  
  .locais h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .locais h3::after {
    width: 40px;
    height: 2px;
  }
  
  .locais-grid {
    gap: 14px;
    margin-bottom: 20px;
  }
  
  .local-card {
    padding: 16px;
    gap: 12px;
    border-radius: 12px;
  }
  
  .local-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  
  .local-info h4 {
    font-size: 16px;
    margin-bottom: 6px;
  }
  
  .local-badge {
    padding: 3px 8px;
    font-size: 10px;
    margin-bottom: 8px;
  }
  
  .local-info p {
    font-size: 12px;
  }
  
  .atendimento-cta {
    padding: 16px;
    border-radius: 10px;
  }
  
  .atendimento-cta p {
    font-size: 13px;
  }
}

/* Animation Keyframes */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

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

@keyframes fadeInOut {
  0%, 30% {
    opacity: 1;
  }
  33%, 36% {
    opacity: 0;
  }
  37%, 63% {
    opacity: 0;
  }
  64%, 67% {
    opacity: 0;
  }
  68%, 96% {
    opacity: 0;
  }
  97%, 100% {
    opacity: 0;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stampIn {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-30deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes drawSignature {
  0% {
    stroke-dashoffset: 100;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .service-item {
    flex: 0 0 20%;
    min-width: 130px;
  }
  
  .services-row:hover .service-item:not(:hover) {
    flex: 0 0 12%;
    min-width: 80px;
  }



  .solutions-wrapper {
    gap: 40px;
  }

  .solution-category {
    padding: 30px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
  }

  .legal-services {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .atendimento-content {
    gap: 40px;
  }

  .contact-content {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .hero-content {
    flex-basis: 50%;
    max-width: 100%;
    padding: 30px;
    margin-bottom: 0;
    text-align: left;
  }

  .hero-animation {
    flex-basis: 100%;
  }

  .hero-btns {
    justify-content: flex-start;
  }

  .about-image,
  .about-text {
    flex-basis: 100%;
  }



  .contact-content {
    grid-template-columns: 1fr;  /* Uma coluna em tablets */
    gap: 30px;
  }

  .contact-form-section {
    max-width: 100%;  /* Remove limitação de largura */
  }
  
  .service-card.expandable {
    height: 300px;
  }
  
  .service-item {
    flex: 0 0 25%;
    min-width: 140px;
  }
  
  .services-row:hover .service-item:not(:hover) {
    flex: 0 0 15%;
    min-width: 90px;
  }

  .atendimento-content {
    flex-direction: column;
  }
  
  .map-container, .location-list {
    width: 100%;
  }

  .solutions-wrapper {
    gap: 30px;
  }

  .category-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .legal-services {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .atendimento-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cities-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 30px;
  }
  
  .service-card.expandable {
    height: 270px;
  }
  
  /* Show mobile-only elements on mobile */
  .mobile-only {
    display: block;
  }
  
  /* Use same method as regularize section - simple flip cards */
  .services-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 0;
  }
  
  .service-item {
    perspective: 1000px;
    height: 250px;
    cursor: pointer;
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
  }
  
  .service-item .service-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
  }
  
  .service-item .service-front,
  .service-item .service-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
  }
  
  .service-item .service-front {
    transform: rotateY(0deg);
  }
  
  .service-item .service-back {
    transform: rotateY(180deg);
    background-color: var(--primary-color);
    color: var(--white);
  }
  
  .service-item:hover .service-front {
    transform: rotateY(180deg);
  }
  
  .service-item:hover .service-back {
    transform: rotateY(0deg);
  }
  
  .service-item .service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
  }
  
  .service-item .service-front h3 {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
  }
  
  .service-item .service-back h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
  }
  
  .service-item .service-back .service-description {
    text-align: center;
    font-size: 13px;
    line-height: 1.4;
  }
  
  .service-item .service-back .service-description p {
    margin: 0;
  }
  
  /* Reset hover styles that don't apply to mobile */
  .service-item.expandable-on-hover:hover,
  .service-item.expandable-on-hover:focus {
    flex: none;
    min-width: unset;
    padding: 20px;
    z-index: unset;
    box-shadow: var(--shadow);
  }
  
  .service-item.expandable-on-hover:hover .service-icon,
  .service-item.expandable-on-hover:focus .service-icon {
    transform: none;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
  }
  
  .service-item.expandable-on-hover:hover h3,
  .service-item.expandable-on-hover:focus h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: inherit;
  }
  
  .service-item.expandable-on-hover:hover .service-description,
  .service-item.expandable-on-hover:focus .service-description {
    max-height: none;
    opacity: 1;
    margin-top: 0;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
  }
  
  .main-nav li {
    margin: 0 0 15px;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .logo-img {
    height: 35px;
    max-width: 250px;
  }
  
  .footer-logo-img {
    height: 50px;
    max-width: 200px;
  }
  
  .testimonial-card {
    padding: 25px;
  }
  
  .hero {
    height: 80vh;
    min-height: 500px;
  }
  
  .hero-content {
    flex-basis: 60%;
    max-width: 600px;
    padding: 80px 40px 40px 50px;

    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(47, 79, 79, 0.8) 100%);
    border-radius: 15px;
    margin: 20px;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-content p {
    font-size: 15px;
  }
  
  .hero-animation {
    height: 350px;
  }
  
  /* Adjust map SVG size for mobile */
  .map-svg, .docs-svg, .zoom-svg {
    width: 100%;
    height: auto;
  }
  
  /* Make location points more visible on small screens */
  .location-point .location-label {
    font-size: 10px;
  }
  
  /* Adjust document for better mobile visibility */
  .doc-title {
    font-size: 12px;
  }
  
  .stamp-group {
    transform: scale(0.8);
  }

  /* Novos estilos responsivos */
  .services {
    padding: 60px 0;
  }
  
  .services-tabs {
    flex-direction: column;
    max-width: 280px;
    gap: 12px;
  }
  
  .services-tabs .tab-btn {
    padding: 12px 20px;
    font-size: 13px;
    min-width: auto;
  }
  
  .services-tabs .tab-btn svg {
    width: 16px;
    height: 16px;
  }

  .economic-tabs {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .economic-tabs .tab-btn {
    padding: 14px 10px;
    font-size: 11px;
    min-height: 70px;
  }

  .economic-tabs .tab-btn svg {
    width: 18px;
    height: 18px;
  }
  
  .service-item {
    padding: 24px;
  }
  
  .service-header {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .service-icon-wrapper {
    width: 50px;
    height: 50px;
  }
  
  .service-icon {
    width: 28px;
    height: 28px;
  }
  
  .service-title-area h4 {
    font-size: 18px;
  }
  
  .service-subtitle {
    font-size: 12px;
  }
  
  .service-description p {
    font-size: 14px;
  }
  
  .service-features li {
    font-size: 13px;
  }

  .solutions-wrapper {
    gap: 40px;
  }

  .solution-category {
    padding: 25px;
  }

  .category-header {
    margin-bottom: 25px;
  }

  .category-info h3 {
    font-size: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .legal-services {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-grid .service-item {
    height: 180px;
  }

  .legal-services .service-card {
    height: 220px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-section,
  .contact-info-section > * {
    padding: 20px;
  }

  .contact-form-section {
    max-width: 100%;
    padding: 25px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-methods,
  .business-hours,
  .social-media {
    padding: 20px;
  }

  .contact-methods h3,
  .business-hours h3,
  .social-media h3 {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .contact-method {
    padding: 12px;
    gap: 12px;
  }

  .method-icon {
    width: 40px;
    height: 40px;
  }

  .method-info h4 {
    font-size: 14px;
  }

  .method-info p {
    font-size: 12px;
  }

  .social-links {
    gap: 12px;
  }

  .social-link {
    width: 45px;
    height: 45px;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
  }

  .coverage-info {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .coverage-item {
    flex: 1;
    min-width: 100px;
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .coverage-icon {
    width: 30px;
    height: 30px;
  }

  .coverage-text h4 {
    font-size: 11px;
  }

  .coverage-text p {
    font-size: 9px;
  }

  .cities-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .city-card {
    padding: 12px;
  }

  /* Seções modernizadas - responsivo */
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 25px;
    min-height: auto;
  }
  
  .about-text {
    grid-column: 1;
    grid-row: 1;
    z-index: 1;
  }
  
  .about-image {
    grid-column: 1;
    grid-row: 2;
    grid-row: 2;
  }
  
  .about-values-container {
    position: relative;
    grid-column: 1;
    grid-row: 3;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    margin-top: 20px;
    gap: 15px;
  }



  .testimonials-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .testimonial-card {
    padding: 25px;
  }

  .testimonial-image {
    width: 70px;
    height: 70px;
  }

  /* Seções compactadas em mobile */
  .location {
    padding: 40px 0;  /* Reduzido de 50px */
  }

  .contact {
    padding: 35px 0;  /* Reduzido de 50px */
  }

  .location-content {
    grid-template-columns: 1fr;
    gap: 20px;  /* Reduzido de 25px */
  }

  .map-container {
    padding: 12px;  /* Reduzido de 15px */
  }

  .cities-section {
    padding: 15px;  /* Reduzido de 20px */
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 15px;  /* Reduzido de 25px */
  }

  .contact-methods,
  .business-hours,
  .social-media {
    padding: 15px;  /* Reduzido de 20px */
  }

  .contact-methods h3,
  .business-hours h3,
  .social-media h3 {
    font-size: 15px;  /* Reduzido de 16px */
    margin-bottom: 12px;  /* Reduzido de 15px */
  }

  .contact-method {
    padding: 10px;  /* Reduzido de 12px */
    gap: 10px;  /* Reduzido de 12px */
    margin-bottom: 6px;  /* Reduzido */
  }

  .method-icon {
    width: 35px;  /* Reduzido de 40px */
    height: 35px;
  }

  .method-info h4 {
    font-size: 13px;  /* Reduzido de 14px */
  }

  .social-links {
    font-size: 18px;
  }

  .map-overlay {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin-top: 15px;
  }

  .coverage-info {
    flex-direction: column;
    gap: 12px;
  }

  .coverage-item {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }
}

/* Service Icons and Cards */
.service-item .service-icon svg rect {
  fill: var(--primary-color);
}

.service-item .service-icon svg path {
  fill: var(--white);
}

.service-item.expandable-on-hover:hover .service-icon svg rect,
.service-item.expandable-on-hover:focus .service-icon svg rect {
  fill: var(--secondary-color);
}

/* WhatsApp Link Styles */
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 16px;
  transition: var(--transition);
  padding: 8px 12px;
  border-radius: var(--border-radius);
  background-color: transparent;
}

.whatsapp-link:hover {
  color: var(--primary-color);
  background-color: rgba(47, 79, 79, 0.1);
  transform: translateY(-2px);
}

.whatsapp-icon {
  fill: currentColor;
  transition: var(--transition);
  flex-shrink: 0;
}

.whatsapp-link:hover .whatsapp-icon {
  transform: scale(1.1);
}

.btn-whatsapp {
  background-color: #25D366; /* WhatsApp green */
  color: var(--white);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp:hover {
  background-color: #20B454; /* Darker WhatsApp green */
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp svg {
  fill: white;
}

/* ==============================================
   SEÇÃO IMPACTO ECONÔMICO
   ============================================== */

.economic-impact {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 100px 0;
  position: relative;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.economic-impact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="rgba(139,90,43,0.03)"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
  pointer-events: none;
}

.companies-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.company-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.company-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.company-card:hover::before {
  transform: scaleY(1);
}

.company-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.company-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.company-header h3 {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.company-logo {
  flex-shrink: 0;
}

.company-logo svg {
  transition: transform 0.3s ease;
}

.company-card:hover .company-logo svg {
  transform: scale(1.1);
}

.company-description {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 15px;
}

.company-data {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-data li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.company-data li:last-child {
  border-bottom: none;
}

.company-data li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 10px;
  top: 14px;
}

.company-data li strong {
  color: var(--text-color);
  font-weight: 600;
}

.economic-summary {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 50px;
  box-shadow: var(--shadow);
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
}

.economic-summary::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(139,90,43,0.05), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 8px;
  font-family: 'Arial', sans-serif;
}

.stat-label {
  font-size: 14px;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

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

.impact-description h3 {
  color: var(--primary-color);
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 700;
}

.impact-description p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color);
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius);
  padding: 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="rgba(255,255,255,0.1)"><circle cx="20" cy="20" r="2"/><circle cx="80" cy="20" r="2"/><circle cx="20" cy="80" r="2"/><circle cx="80" cy="80" r="2"/><circle cx="50" cy="50" r="3"/></g></svg>') repeat;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h3 {
  color: var(--white);
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-large {
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 600;
  background: var(--white);
  color: var(--primary-color);
  border: none;
  transition: all 0.3s ease;
  display: inline-block;
  width: auto;
}

.cta-section .btn-large:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsividade para a seção de impacto econômico */
@media (max-width: 1200px) {
  .companies-container {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
  }
  
  .economic-summary {
    padding: 40px;
  }
  
  .cta-section {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .economic-impact {
    padding: 60px 0;
  }
  
  .companies-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .company-card {
    padding: 25px;
  }
  
  .company-header h3 {
    font-size: 20px;
  }
  
  .company-logo svg {
    width: 50px;
    height: 50px;
  }
  
  .economic-summary {
    padding: 30px 20px;
  }
  
  .summary-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stat-number {
    font-size: 28px;
  }
  
  .impact-description h3 {
    font-size: 24px;
  }
  
  .cta-section {
    padding: 30px 20px;
  }
  
  .cta-content h3 {
    font-size: 22px;
  }
  
  .btn-large {
    padding: 12px 30px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .company-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .company-data li {
    padding: 10px 0;
    font-size: 13px;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .stat-label {
    font-size: 12px;
  }
}

/* Animation Keyframes */
@keyframes mapFadeInOut {
  0%, 30% {
    opacity: 1;
  }
  33%, 100% {
    opacity: 0;
  }
}

@keyframes zoomFadeInOut {
  0%, 30% {
    opacity: 0;
  }
  33%, 63% {
    opacity: 1;
  }
  66%, 100% {
    opacity: 0;
  }
}

@keyframes docsFadeInOut {
  0%, 63% {
    opacity: 0;
  }
  66%, 96% {
    opacity: 1;
  }
  97%, 100% {
    opacity: 0;
  }
}

/* Mobile styles for video background */
@media (max-width: 768px) {
  .video-background video {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
} 

.form-header p {
  color: var(--text-light);
  font-size: 14px;
  margin: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(47, 79, 79, 0.1);
}

.btn-large {
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  width: 100%;
  transition: all 0.3s ease;
}

.btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(47, 79, 79, 0.3);
}

.contact-info-section {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 25px;
  height: fit-content;
}

.contact-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.whatsapp-link {
  color: #25D366 !important;
}

.contact-text {
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.5;
}

.weekend {
  opacity: 0.6;
}

.day {
  font-weight: 500;
  color: var(--primary-color);
}

.time {
  font-weight: 600;
  color: var(--text-color);
}

.hours-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px;
  background: rgba(37, 211, 102, 0.1);
  border-radius: var(--border-radius);
  color: var(--text-color);
  font-size: 13px;
  font-weight: 500;
}

.hours-note svg {
  fill: #25D366;
  flex-shrink: 0;
}

.social-link span {
  display: none; /* Esconde o texto nos ícones */
}

@media (min-width: 993px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;  /* Proporção igual para melhor balanço apenas no desktop */
    gap: 50px;
  }
}

@media (max-width: 576px) {
  .service-card.expandable {
    height: 320px;
  }
  
  .special-services {
    grid-template-columns: 1fr;
  }
  
  /* Single column for smaller screens */
  .services-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .service-item {
    height: 220px;
  }
  
  .logo-img {
    height: 50px;
    max-width: 250px;
  }
  
  .footer-logo-img {
    height: 45px;
    max-width: 180px;
  }
  
  .hero-animation {
    height: 300px;
  }
  
  /* Hide some elements on very small screens */
  .compass, .map-scale {
    display: none;
  }
  
  /* Make location labels more compact */
  .location-point .location-label {
    font-size: 8px;
  }
  
  .location-point {
    transform: scale(0.8);
  }
  
  /* Simplify document on very small screens */
  .stamp-group {
    transform: scale(0.7);
  }
  
  .doc-title {
    font-size: 10px;
  }

  /* Novos estilos para telas muito pequenas */
  .category-header {
    gap: 10px;
  }

  .category-info h3 {
    font-size: 20px;
  }

  .category-info p {
    font-size: 14px;
  }

  .services-grid .service-item {
    height: 160px;
  }

  .legal-services .service-card {
    height: 180px;
  }

  .contact-methods h3,
  .business-hours h3,
  .social-media h3 {
    font-size: 14px;  /* Ainda menor em mobile muito pequeno */
  }

  .contact-form-section {
    padding: 20px;  /* Ainda mais compacto */
  }

  .form-header h3 {
    font-size: 20px;
  }

  .coverage-info {
    flex-direction: column;
    gap: 12px;
  }

  .coverage-item {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

  .economic-tabs {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .economic-tabs .tab-btn {
    padding: 12px 8px;
    font-size: 10px;
    min-height: 60px;
  }

  .economic-tabs .tab-btn svg {
    width: 16px;
    height: 16px;
  }
}

.contact-methods,
.business-hours,
.social-media {
  padding: 15px;
}

/* =============================================
   PROPERTIES AVAILABLE SECTION 
   ============================================= */

.properties-available {
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--light-bg-2) 100%);
  padding: 100px 0;
}

.properties-available .section-header h2 {
  font-size: 42px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
}

/* Property Card */
.property-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
}

.property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Property Images */
.property-images {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.property-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .carousel-slide.active img {
  transform: scale(1.05);
}

/* Carousel Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(47, 79, 79, 0);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.8);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 999;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  opacity: 1;
}

.carousel-btn:hover {
  background: var(--primary-color);
  transform: translateY(-50%) scale(1.2);
  opacity: 1;
  border-color: rgba(255, 255, 255, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.9);
}

.carousel-btn.prev {
  left: 15px;
  float: left;
}

.carousel-btn.next {
  right: 15px;
  float: right;
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.carousel-btn:hover svg {
  transform: scale(1.15);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

/* Garantir que as setas sejam sempre visíveis */
.property-carousel:hover .carousel-btn {
  opacity: 1;
  transform: translateY(-50%) scale(1.05);
}

/* Melhorar visibilidade em dispositivos touch */
@media (hover: none) {
  .carousel-btn {
    opacity: 1;
    background: rgba(47, 79, 79, 0.99);
    border: 3px solid rgba(255, 255, 255, 1);
  }
}

/* Garantir visibilidade em todos os dispositivos */
.carousel-btn {
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

/* Garantir que os botões estejam sempre visíveis */
.property-carousel .carousel-btn {
  display: flex !important;
  opacity: 1 !important;
  z-index: 999 !important;
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active,
.indicator:hover {
  background: var(--white);
  transform: scale(1.2);
}

/* Property Badges */
.property-type-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary-color);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 5;
}

.property-type-badge.featured {
  background: var(--secondary-color);
}

.property-type-badge.construction {
  background: #e67e22;
}

.property-price {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 700;
  z-index: 5;
  backdrop-filter: blur(10px);
}

/* Property Content */
.property-content {
  padding: 30px 30px 80px 30px;
  position: relative;
}

.property-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 20px;
}

.property-location svg {
  flex-shrink: 0;
}

/* Property Specs */
.property-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
  padding: 20px;
  background: var(--light-bg-2);
  border-radius: 12px;
}

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

.spec-label {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.spec-value {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
}

/* Property Features */
.property-features {
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-color);
}

.feature-item svg {
  flex-shrink: 0;
}

/* Property Actions */
.property-actions {
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 30px;
  background: linear-gradient(to top, var(--white) 80%, transparent 100%);
  border-radius: 0 0 20px 20px;
}

.property-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 25px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  width: 100%;
  max-width: 250px;
}

.property-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(47, 79, 79, 0.3);
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

/* Properties CTA */
.properties-cta {
  text-align: center;
  padding: 60px 40px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.properties-cta .cta-content h3 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.properties-cta .cta-content p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 25px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 90, 43, 0.3);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.btn-large {
  padding: 16px 40px;
  font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .properties-available {
    padding: 60px 0;
  }
  
  .properties-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
  }
  
  .property-card {
    margin: 0 20px;
  }
  
  .property-images {
    height: 220px;
  }
  
  .property-content {
    padding: 20px 20px 70px 20px;
  }
  
  .property-title {
    font-size: 20px;
  }
  
  .property-specs {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 15px;
  }
  
  .carousel-btn {
    width: 45px;
    height: 45px;
    opacity: 1;
    background: rgba(47, 79, 79, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.8);
  }
  
  .carousel-btn.prev {
    left: 10px;
  }
  
  .carousel-btn.next {
    right: 10px;
  }
  
  .carousel-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .properties-cta {
    padding: 40px 20px;
    margin: 0 20px;
  }
  
  .properties-cta .cta-content h3 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .properties-available .section-header h2 {
    font-size: 32px;
  }
  
  .property-specs {
    grid-template-columns: 1fr;
  }
  
  .spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  
  .property-actions .btn {
    font-size: 14px;
    padding: 12px 24px;
  }
  
  .property-actions {
    padding: 15px 20px;
  }
}

/* ==============================================
   CSS AVANÇADO PARA IMPACTO ECONÔMICO
   ============================================== */

/* Companies Grid for Economic Impact */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* Enhanced Economic Impact Section */
.companies-grid .company-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

.company-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

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

.company-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--primary-color);
}

.company-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.company-header h3 {
  color: var(--primary-color);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  flex: 1;
  min-width: 200px;
}

.company-badge {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: pulse-badge 3s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.company-card > p {
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
  text-align: justify;
}

/* Project Details Section */
.project-details {
  background: rgba(47, 79, 79, 0.05);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  border-left: 4px solid var(--primary-color);
}

.project-details h4 {
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-details li {
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.project-details li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
}

.project-details li:hover {
  padding-left: 24px;
  color: var(--primary-color);
}

.project-details strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Company Stats Grid */
.company-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.company-stats .stat {
  background: rgba(139, 90, 43, 0.08);
  color: var(--text-color);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border-left: 3px solid var(--secondary-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.company-stats .stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(139, 90, 43, 0.1);
  transition: width 0.4s ease;
  z-index: 0;
}

.company-stats .stat:hover::before {
  width: 100%;
}

.company-stats .stat:hover {
  transform: translateX(4px);
  background: rgba(139, 90, 43, 0.12);
  border-left-color: var(--primary-color);
}

.company-stats .stat * {
  position: relative;
  z-index: 1;
}

/* Impact Timeline */
.impact-timeline {
  background: linear-gradient(135deg, rgba(47, 79, 79, 0.08), rgba(139, 90, 43, 0.05));
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(47, 79, 79, 0.1);
  position: relative;
}

.impact-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%232F4F4F" fill-opacity="0.03"><circle cx="15" cy="15" r="1"/></g></svg>') repeat;
  opacity: 0.5;
  z-index: 1;
}

.impact-timeline > * {
  position: relative;
  z-index: 2;
}

.impact-timeline h4 {
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(47, 79, 79, 0.1);
  transition: all 0.3s ease;
}

.timeline-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.timeline-item:hover {
  padding-left: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
}

.timeline-item span:first-child {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  min-width: 80px;
  flex-shrink: 0;
}

.timeline-item span:last-child {
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.5;
}

/* Investment CTA Section */
.investment-cta {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 60px 40px;
  border-radius: 20px;
  text-align: center;
  color: var(--white);
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.investment-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="20" cy="20" r="1"/></g></svg>') repeat;
  opacity: 0.3;
  z-index: 1;
}

.investment-cta > * {
  position: relative;
  z-index: 2;
}

.investment-cta h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.investment-cta p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.95;
}

.investment-cta .btn {
  background: var(--white);
  color: var(--primary-color);
  padding: 16px 32px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.investment-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.95);
}

.investment-cta .btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.investment-cta .btn:hover svg {
  transform: scale(1.1);
}

/* Responsive Design for Economic Impact */
@media (max-width: 768px) {
  .companies-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .company-card {
    padding: 24px;
  }
  
  .company-header h3 {
    font-size: 20px;
    min-width: auto;
  }
  
  .company-badge {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .project-details {
    padding: 20px;
  }
  
  .project-details h4 {
    font-size: 15px;
  }
  
  .project-details li {
    font-size: 13px;
  }
  
  .company-stats .stat {
    font-size: 13px;
    padding: 10px 14px;
  }
  
  .impact-timeline {
    padding: 20px;
  }
  
  .impact-timeline h4 {
    font-size: 15px;
  }
  
  .timeline-item span:first-child {
    font-size: 13px;
    min-width: 70px;
  }
  
  .timeline-item span:last-child {
    font-size: 13px;
  }
  
  .investment-cta {
    padding: 40px 20px;
    margin-top: 40px;
  }
  
  .investment-cta h3 {
    font-size: 24px;
  }
  
  .investment-cta p {
    font-size: 16px;
  }
  
  .investment-cta .btn {
    padding: 14px 28px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .company-card {
    padding: 20px;
  }
  
  .company-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .company-header h3 {
    font-size: 18px;
  }
  
  .company-badge {
    font-size: 11px;
    padding: 5px 10px;
  }
  
  .project-details {
    padding: 16px;
  }
  
  .project-details li {
    font-size: 12px;
    padding-left: 16px;
  }
  
  .company-stats .stat {
    font-size: 12px;
    padding: 8px 12px;
  }
  
  .impact-timeline {
    padding: 16px;
  }
  
  .timeline-item {
    flex-direction: column;
    gap: 8px;
  }
  
  .timeline-item span:first-child {
    min-width: auto;
  }
  
  .investment-cta h3 {
    font-size: 20px;
  }
  
  .investment-cta p {
    font-size: 14px;
  }
  
  .investment-cta .btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* === FIX: Força visibilidade de todos os service items === */
.service-item,
.service-item *,
.service-icon-wrapper,
.service-icon-wrapper *,
.service-icon,
.service-icon *,
.service-icon svg,
.service-icon svg * {
  visibility: visible !important;
  opacity: 1 !important;
  display: flex !important;
  transform: none !important;
  transition: none !important;
  filter: none !important;
  clip: auto !important;
  overflow: visible !important;
}

.service-icon svg,
.service-icon svg * {
  display: block !important;
}

/* === FIX EXTRA: Garante que painéis ativos mostrem todos os itens === */
.tab-panel.active .service-item,
.tab-panel.active .service-item *,
.tab-panel.active .service-icon-wrapper,
.tab-panel.active .service-icon-wrapper *,
.tab-panel.active .service-icon,
.tab-panel.active .service-icon *,
.tab-panel.active .service-icon svg,
.tab-panel.active .service-icon svg * {
  visibility: visible !important;
  opacity: 1 !important;
  display: flex !important;
  transform: none !important;
  transition: none !important;
  filter: none !important;
  clip: auto !important;
  overflow: visible !important;
}

.tab-panel.active .service-icon svg,
.tab-panel.active .service-icon svg * {
  display: block !important;
}

/* === CARROSSEL DE SERVIÇOS === */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
}

.carousel-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 32px;
  padding: 20px 40px; /* espaço interno para as setas não sobreporem os cards */
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 10px;
  z-index: 10;
  cursor: pointer;
  font-size: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background: #1a3a3a;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.carousel-arrow.left {
  left: 10px;
}

.carousel-arrow.right {
  right: 10px;
}

@media (max-width: 768px) {
  .carousel-arrow {
    display: none;
  }
}
