/* ===== DESIGN TOKENS ===== */
:root {
  /* Gray Base */
  --navy-900: #111111;
  --navy-800: #1a1a1a;
  --navy-700: #252525;
  --navy-600: #333333;
  --navy-500: #444444;

  /* Orange Accent */
  --gold-400: #e8752a;
  --gold-500: #d06520;
  --gold-600: #b85518;
  --gold-300: #f09555;
  --gold-200: #f5b585;

  /* Neutral */
  --white: #ffffff;
  --gray-100: #f5f5f7;
  --gray-200: #e8e8ed;
  --gray-300: #c7c7cc;
  --gray-400: #8e8e93;
  --gray-500: #636366;
  --gray-600: #48484a;
  --gray-700: #3a3a3c;
  --gray-800: #2c2c2e;

  /* Status */
  --success: #34c759;
  --whatsapp: #25d366;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.16);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.24);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.32);
  --shadow-gold: 0 4px 24px rgba(232, 117, 42, 0.3);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: var(--header-height);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--gray-200);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--white);
}

/* ===== UTILITY CLASSES ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: 4rem 0;
  position: relative;
}

section:nth-child(even) {
  background: var(--navy-800);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--space-lg);
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold-400);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.section-title .gold {
  color: var(--gold-400);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-300);
  max-width: 640px;
  line-height: 1.8;
}

/* ===== GLASS MORPHISM ===== */
.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(232, 117, 42, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 117, 42, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--gold-400);
  border: 1.5px solid var(--gold-400);
}

.btn-outline:hover {
  background: var(--gold-400);
  color: var(--navy-900);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ===== HEADER / NAVBAR ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-md);
}

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

.header-logo img {
  height: 48px;
  width: auto;
  transition: all var(--transition-base);
}

.header.scrolled .header-logo img {
  height: 40px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--gray-300);
  position: relative;
  padding: var(--space-sm) 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-400);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-400);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header-social {
  display: flex;
  gap: var(--space-sm);
}

.header-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

.header-social a:hover {
  color: var(--gold-400);
  background: rgba(232, 117, 42, 0.1);
}

.header-social a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

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

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

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

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
  margin-bottom: 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(232, 117, 42, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(68, 68, 68, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(17, 17, 17, 0.9) 0%, transparent 60%);
  z-index: 1;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: 
    linear-gradient(30deg, var(--gold-400) 12%, transparent 12.5%, transparent 87%, var(--gold-400) 87.5%, var(--gold-400)),
    linear-gradient(150deg, var(--gold-400) 12%, transparent 12.5%, transparent 87%, var(--gold-400) 87.5%, var(--gold-400)),
    linear-gradient(30deg, var(--gold-400) 12%, transparent 12.5%, transparent 87%, var(--gold-400) 87.5%, var(--gold-400)),
    linear-gradient(150deg, var(--gold-400) 12%, transparent 12.5%, transparent 87%, var(--gold-400) 87.5%, var(--gold-400));
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 20px;
  background: rgba(232, 117, 42, 0.1);
  border: 1px solid rgba(232, 117, 42, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--gold-400);
  border-radius: var(--radius-full);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--gray-300);
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: var(--space-xs);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-image-wrapper img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(232, 117, 42, 0.2);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background: rgba(232, 117, 42, 0.1);
  border-radius: var(--radius-md);
  z-index: -1;
}

/* Floating badge on hero image */
.hero-float-badge {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(232, 117, 42, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  animation: float 4s ease-in-out infinite;
}

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

.hero-float-badge .icon {
  width: 40px;
  height: 40px;
  background: rgba(232, 117, 42, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-float-badge .text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
}

.hero-float-badge .text span {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* ===== INSTITUCIONAL / ABOUT SECTION ===== */
.about {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-content .text {
  color: var(--gray-300);
  margin-bottom: var(--space-lg);
  font-size: 1rem;
  line-height: 1.8;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.value-card {
  padding: var(--space-xl);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.value-card .icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(232, 117, 42, 0.1);
  border: 1px solid rgba(232, 117, 42, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-base);
}

.value-card:hover .icon {
  background: rgba(232, 117, 42, 0.2);
  transform: scale(1.1);
}

.value-card h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.value-card p {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* About Image Side */
.about-visual {
  position: relative;
}

.about-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image-container img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.6), transparent 50%);
}

/* ===== MISSION/VISION/VALUES TABS ===== */
.mvv-section {
  background: var(--navy-800);
  position: relative;
}

.mvv-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 117, 42, 0.3), transparent);
}

.mvv-tabs {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: var(--space-sm);
}

.mvv-tab {
  padding: 12px 28px;
  background: transparent;
  border: none;
  color: var(--gray-400);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.mvv-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-400);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.mvv-tab.active {
  color: var(--gold-400);
}

.mvv-tab.active::after {
  transform: scaleX(1);
}

.mvv-tab:hover {
  color: var(--white);
}

.mvv-content {
  display: none;
  animation: fadeSlideUp 0.4s ease;
}

.mvv-content.active {
  display: block;
}

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

.mvv-content .text {
  font-size: 1.1rem;
  color: var(--gray-300);
  line-height: 1.8;
  max-width: 800px;
}

.pilares-grid {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.pilar-item {
  flex: 1;
  text-align: center;
  padding: var(--space-xl);
}

.pilar-item h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--space-sm);
}

.pilar-item p {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.accordion-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.accordion-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  cursor: pointer;
  user-select: none;
  transition: background-color var(--transition-fast);
}
.accordion-header:hover {
  background: rgba(232, 117, 42, 0.05);
}
.accordion-header:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: -2px;
}
.accordion-header h3 {
  color: var(--gold-400);
  margin: 0;
}

/* Seta indicadora do accordion */
.accordion-arrow {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--gold-400);
  background: rgba(232, 117, 42, 0.1);
  border: 1px solid rgba(232, 117, 42, 0.25);
  transition: transform var(--transition-base),
              background-color var(--transition-fast),
              color var(--transition-fast);
}
.accordion-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.accordion-header:hover .accordion-arrow {
  background: rgba(232, 117, 42, 0.2);
}
.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
  background: var(--gold-400);
  color: var(--navy-900);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
  padding: 0 1.5rem;
}
/* A altura exata é aplicada inline pelo JS; este valor é só o fallback
   caso o script não carregue. */
.accordion-item.active .accordion-body {
  padding-bottom: 1.5rem;
  max-height: 2000px;
}

/* ===== SLIDER ===== */
/* O wrapper é um flex de 3 colunas: [seta] [trilho] [seta].
   As setas ficam FORA da área dos cards, nunca sobrepostas. */
.custom-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: 1rem;
}

.custom-slider-track {
  flex: 1 1 auto;
  min-width: 0; /* permite o flex item encolher e o overflow funcionar */
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 4px 4px 15px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}

.custom-slider-track::-webkit-scrollbar {
  display: none;
}

.custom-slider-item {
  flex: 0 0 320px;
  max-width: 320px;
  scroll-snap-align: start;
  padding: 1.5rem;
}

/* Botões de navegação — sempre visíveis, fora dos cards */
.slider-btn {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  line-height: 1;
  color: var(--gold-400);
  background: rgba(232, 117, 42, 0.08);
  border: 1.5px solid rgba(232, 117, 42, 0.35);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background-color var(--transition-fast),
              border-color var(--transition-fast),
              color var(--transition-fast),
              transform var(--transition-fast);
}

.slider-btn:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--navy-900);
  transform: scale(1.08);
}

.slider-btn:active {
  transform: scale(0.96);
}

.slider-btn:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
}

.slider-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 768px) {
  .custom-slider-wrapper {
    gap: 0;
  }

  .slider-btn { display: none; }

  .custom-slider-item {
    flex-basis: 78vw;
    max-width: 78vw;
  }
}

/* ===== CARDS DO SLIDER DE TECNOLOGIA ===== */
.tech-slider .custom-slider-track {
  padding: 1rem 4px;
}

.tech-card {
  flex: 0 0 320px;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  scroll-snap-align: center;
}

.tech-card .tech-icon {
  color: var(--gold-400);
  margin-bottom: 1rem;
  transition: transform var(--transition-base);
}

.tech-card:hover .tech-icon {
  transform: scale(1.12);
}

.tech-card h4 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.tech-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .tech-card {
    flex-basis: 78vw;
    max-width: 78vw;
  }
}

.valor-item h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--space-sm);
}

.valor-item p {
  font-size: 0.85rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ===== ATUAÇÃO / SERVICES ===== */
.services {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.service-card {
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold-400), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.service-card .icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(232, 117, 42, 0.1);
  border: 1px solid rgba(232, 117, 42, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

.service-card:hover .icon-wrap {
  background: rgba(232, 117, 42, 0.2);
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray-400);
  line-height: 1.7;
}

.service-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--gold-400);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: var(--space-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.service-card .read-more:hover {
  gap: var(--space-md);
}

.service-card .expanded-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.service-card .expanded-content.open {
  max-height: 600px;
}

.service-card .expanded-text {
  padding-top: var(--space-md);
  font-size: 0.92rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* CTA Banner */
.cta-banner {
  margin-top: var(--space-3xl);
  padding: var(--space-3xl);
  background: linear-gradient(135deg, rgba(232, 117, 42, 0.08), rgba(232, 117, 42, 0.02));
  border: 1px solid rgba(232, 117, 42, 0.15);
  border-radius: var(--radius-lg);
  text-align: center;
}

.cta-banner h3 {
  font-size: 1.8rem;
  margin-bottom: var(--space-md);
}

.cta-banner p {
  color: var(--gray-300);
  margin-bottom: var(--space-xl);
  font-size: 1.05rem;
}

/* ===== STATS / NÚMEROS ===== */
.stats-section {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
  padding: 2rem 0 5rem; /* Reduced top padding to bring closer to Atuação, increased bottom padding */
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(232, 117, 42, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(68, 68, 68, 0.1) 0%, transparent 60%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  padding: var(--space-2xl);
}

.stat-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: rgba(232, 117, 42, 0.1);
  border: 1px solid rgba(232, 117, 42, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-base);
}

.stat-card:hover .icon {
  transform: scale(1.1);
  background: rgba(232, 117, 42, 0.15);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.4;
}

/* ===== TECHNOLOGY SECTION ===== */
.technology {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
}

.tech-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  margin-top: var(--space-2xl);
}

.tech-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.tech-feature {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
}

.tech-feature .icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(232, 117, 42, 0.1);
  border: 1px solid rgba(232, 117, 42, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-base);
}

.tech-feature:hover .icon {
  background: rgba(232, 117, 42, 0.2);
  transform: scale(1.05);
}

.tech-feature h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.tech-feature p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.tech-visual {
  position: relative;
}

.tech-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* ===== RESPONSABILIDADE SOCIAL ===== */
.social-responsibility {
  background: var(--navy-800);
}

.social-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.social-card {
  padding: var(--space-2xl);
}

.social-card .card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.social-card .card-icon {
  width: 48px;
  height: 48px;
  background: rgba(232, 117, 42, 0.1);
  border: 1px solid rgba(232, 117, 42, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.social-card h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.social-card p {
  font-size: 0.92rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

/* ===== SÓCIOS / TEAM SECTION ===== */
.team {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  margin-top: var(--space-2xl);
}

.team-card {
  text-align: center;
  padding: 2rem;
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-card .photo {
  width: 300px;
  height: 300px;
  border-radius: var(--radius-full);
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 4px solid rgba(232, 117, 42, 0.2);
  transition: all var(--transition-base);
  position: relative;
}

.team-card:hover .photo {
  border-color: var(--gold-400);
  box-shadow: 0 0 40px rgba(232, 117, 42, 0.2);
}

.team-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-card:hover .photo img {
  transform: scale(1.1);
}

.team-card h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--gold-400);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.team-card .bio {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.7;
}

/* ===== CONTATO / CONTACT SECTION ===== */
.contact {
  background: var(--navy-900);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 117, 42, 0.3), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  margin-top: var(--space-2xl);
}

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: var(--space-lg);
}

.contact-info .description {
  color: var(--gray-300);
  margin-bottom: var(--space-2xl);
  font-size: 1rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(232, 117, 42, 0.1);
  border: 1px solid rgba(232, 117, 42, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.contact-item strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-item span {
  font-size: 0.85rem;
  color: var(--gray-400);
}

.contact-social {
  display: flex;
  gap: var(--space-sm);
}

.contact-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

.contact-social a:hover {
  background: rgba(232, 117, 42, 0.1);
  border-color: rgba(232, 117, 42, 0.3);
  color: var(--gold-400);
}

.contact-social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Contact Form */
.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-300);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(232, 117, 42, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9a84c' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--navy-800);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.contact-form .btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand img {
  height: 44px;
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 320px;
}

.footer-column h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--space-lg);
}

.footer-column ul li {
  margin-bottom: var(--space-sm);
}

.footer-column ul li a {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

.footer-column ul li a:hover {
  color: var(--gold-400);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  padding-top: var(--space-xl);
}

.footer-bottom p {
  font-size: 0.8rem;
  padding-left: 230px;
  justify-content: center; 
  align-items: center; 
  text-align: center;
  color: var(--gray-500);
}

.footer-bottom a {
  color: var(--gold-400);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-base);
  animation: pulse-fab 2s infinite;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

@keyframes pulse-fab {
  0%, 100% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.6); }
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal-up { opacity: 1; transform: none; transition: none; }

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



/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(232, 117, 42, 0.15);
  border-color: rgba(232, 117, 42, 0.3);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  fill: var(--gray-300);
}

/* ===== MAP ===== */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-2xl);
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.4) contrast(1.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    display: none;
  }

  .about .container {
    grid-template-columns: 1fr;
  }
  
  .about-visual {
    order: -1;
  }

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

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

  .tech-content {
    grid-template-columns: 1fr;
  }

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

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .menu-toggle {
    display: flex;
  }

  /* Menu off-canvas via transform (composto na GPU) em vez de `right`,
     que recalcularia o layout a cada frame e criava scroll horizontal. */
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--navy-800);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-2xl);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .header-actions {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
    align-items: center;
  }

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

  .mvv-tabs {
    flex-wrap: wrap;
  }

  .valores-list {
    grid-template-columns: 1fr;
  }

  .pilares-grid {
    flex-direction: column;
  }

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

  .social-cards {
    grid-template-columns: 1fr;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* ===== OVERLAY FOR MOBILE MENU ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== AWARDS SHOWCASE (Optional) ===== */
.awards-wrapper {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  overflow-x: auto;
  padding-bottom: var(--space-md);
  scrollbar-width: thin;
  scrollbar-color: var(--gold-400) transparent;
}

.award-item {
  min-width: 160px;
  padding: var(--space-lg);
  text-align: center;
  flex-shrink: 0;
}

.award-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto var(--space-md);
  filter: grayscale(0.3);
  transition: filter var(--transition-fast);
}

.award-item:hover img {
  filter: grayscale(0);
}

.award-item span {
  font-size: 0.8rem;
  color: var(--gray-400);
}
