/* =============================================
   SENTINEX RISK - Global Stylesheet (Enhanced)
   Colors: #0F2645 (Azul Profundo), #1E9E9C (Verde Teal), #F4B400 (Dourado)
   Fonts: Poppins (titles), Roboto (body)
   ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --azul: #0F2645;
  --azul-light: #152d4f;
  --azul-dark: #0a1a30;
  --teal: #1E9E9C;
  --teal-light: #25b8b5;
  --teal-dark: #178584;
  --gold: #F4B400;
  --gold-light: #f7c948;
  --white: #FFFFFF;
  --gray-50: #f8f9fa;
  --gray-100: #f0f2f5;
  --gray-200: #e2e6ea;
  --gray-300: #ced4da;
  --gray-400: #adb5bd;
  --gray-500: #6c757d;
  --gray-600: #495057;
  --gray-700: #343a40;
  --gray-800: #212529;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --shadow-glow-teal: 0 0 30px rgba(30,158,156,0.3);
  --shadow-glow-gold: 0 0 30px rgba(244,180,0,0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--azul);
}

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

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

ul {
  list-style: none;
}

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

.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--azul);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-light {
  background: var(--gray-50);
}

.section-gradient {
  background: linear-gradient(135deg, #f0f7f7 0%, rgba(30,158,156,0.08) 50%, rgba(244,180,0,0.04) 100%);
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 2px;
  animation: expandWidth 0.8s ease-out;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 16px auto 0;
}

.section-dark .section-header p {
  color: var(--gray-300);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-transform: none;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(30,158,156,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(30,158,156,0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--azul);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--azul);
  box-shadow: 0 4px 15px rgba(244,180,0,0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(244,180,0,0.5);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(15, 38, 69, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo svg {
  height: 40px;
  width: auto;
}

.nav-logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 1.5px;
  line-height: 1.1;
}

.nav-logo-text span {
  color: var(--gold);
}

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

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  padding: 4px 0;
}

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

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--teal) !important;
  color: var(--white) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.85rem !important;
}

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

.nav-cta:hover {
  background: var(--teal-light) !important;
  transform: translateY(-1px);
}

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

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

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

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

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

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--azul);
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15,38,69,0.65) 0%, rgba(15,38,69,0.35) 50%, rgba(30,158,156,0.08) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(30,158,156,0.15);
  border: 1px solid rgba(30,158,156,0.3);
  border-radius: 50px;
  color: var(--teal-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

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

.hero-description {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stat h3 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--teal-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.hero-stat p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--azul);
  overflow: hidden;
}

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

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a {
  color: var(--teal-light);
}

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

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30,158,156,0.05), rgba(244,180,0,0.05));
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-md);
  padding: 2px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 40px rgba(30,158,156,0.2);
  border-color: rgba(30,158,156,0.3);
}

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

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

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  box-shadow: 0 8px 25px rgba(30,158,156,0.3);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.service-icon svg {
  width: 40px;
  height: 40px;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(30,158,156,0.4);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.service-card ul {
  padding-left: 0;
  position: relative;
  z-index: 1;
}

.service-card ul li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.service-link:hover {
  gap: 10px;
  color: var(--teal-dark);
}

/* --- Light and Dark alternating service sections --- */
.section:nth-child(even) .service-card {
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
}

.section:nth-child(odd) .service-card {
  background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf1 100%);
}

/* --- Dark Service Cards --- */
.section-dark .service-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.section-dark .service-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(30,158,156,0.3);
  box-shadow: var(--shadow-glow-teal);
  backdrop-filter: blur(15px);
}

.section-dark .service-card h3 {
  color: var(--white);
}

.section-dark .service-card p {
  color: var(--gray-300);
}

.section-dark .service-card ul li {
  color: var(--gray-300);
}

/* --- Trust Badges / Clients --- */
.clients-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.clients-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 32px;
}

.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.client-logo {
  height: 36px;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--transition);
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* --- Stats / Counters --- */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-light) 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(30,158,156,0.05) 35px, rgba(30,158,156,0.05) 70px);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 32px);
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: clamp(12px, 2vw, 24px);
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
  position: relative;
  display: inline-block;
}

.stat-number::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--gold), transparent);
  border-radius: 2px;
  animation: slideRight 0.8s ease-out;
}

.stat-label {
  font-size: clamp(0.78rem, 1.5vw, 0.95rem);
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  line-height: 1.4;
}

/* --- Case Studies --- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.case-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.case-header {
  padding: 32px;
  background: var(--azul);
  display: flex;
  align-items: center;
  gap: 20px;
}

.case-logo-container {
  width: 56px;
  height: 56px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
}

.case-logo-container svg,
.case-logo-container img {
  max-width: 100%;
  max-height: 100%;
}

.case-company {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.case-industry {
  font-size: 0.8rem;
  color: var(--teal-light);
  margin-top: 2px;
}

.case-body {
  padding: 32px;
}

.case-body p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tag {
  padding: 4px 12px;
  background: rgba(30,158,156,0.1);
  color: var(--teal);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* --- Values --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.value-card {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(30,158,156,0.2);
}

.value-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
}

.value-icon svg {
  width: 22px;
  height: 22px;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* --- Mission/Vision/Values Blocks --- */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mvv-card {
  text-align: center;
  padding: 48px 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mvv-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.mvv-card:nth-child(1) .mvv-icon {
  background: rgba(30,158,156,0.1);
  color: var(--teal);
}

.mvv-card:nth-child(2) .mvv-icon {
  background: rgba(244,180,0,0.1);
  color: var(--gold);
}

.mvv-card:nth-child(3) .mvv-icon {
  background: rgba(15,38,69,0.1);
  color: var(--azul);
}

.mvv-card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.mvv-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  padding-right: 20px;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--gray-500);
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30,158,156,0.1);
  color: var(--teal);
}

.contact-detail h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.contact-detail a:hover {
  color: var(--teal);
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

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

.form-group label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  color: var(--gray-700);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(30,158,156,0.15);
  background: var(--white);
}

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

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

/* --- CTA Section --- */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30,158,156,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--azul-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

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

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-social a.instagram:hover {
  background: linear-gradient(135deg, #feda75, #fa7e1e, #d92e7f);
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
}

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

.footer ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.footer ul li a:hover {
  color: var(--teal-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--teal-light);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}

.footer-bottom-links span {
  color: rgba(255,255,255,0.3);
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--teal-light);
}

/* --- Footer Trust Bar --- */
.footer-trust-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(30,158,156,0.2);
  border-radius: 6px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.trust-badge:hover {
  background: rgba(30,158,156,0.1);
  border-color: rgba(30,158,156,0.4);
  color: var(--teal-light);
}

.trust-badge svg {
  color: var(--teal-light);
  flex-shrink: 0;
}

/* --- Footer Info Bar --- */
.footer-info-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  padding: 20px 0;
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-info-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-float .whatsapp-tooltip {
  background: var(--white);
  color: var(--gray-700);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
  white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}

.whatsapp-btn svg {
  width: 30px;
  height: 30px;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

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

@keyframes expandWidth {
  from {
    width: 0;
  }
  to {
    width: 60px;
  }
}

@keyframes slideRight {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 60%;
    opacity: 1;
  }
}

@keyframes pulse-whatsapp {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37,211,102,0.6), 0 0 0 12px rgba(37,211,102,0.1);
  }
}

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

@keyframes scanLine {
  0% { top: -5%; }
  100% { top: 105%; }
}

@keyframes typewriter {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

/* --- Ecosystem Map --- */
.ecosystem-wrapper {
  position: relative;
  padding: 40px;
}

/* --- Differentials --- */
.differentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.differential-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px;
  background: rgba(255,255,255,0.08);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-md);
  transition: var(--transition);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.differential-card:nth-child(even) {
  border-left-color: var(--gold);
}

.differential-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(30,158,156,0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(30,158,156,0.2);
  backdrop-filter: blur(15px);
}

.differential-card:nth-child(even):hover {
  border-left-color: var(--gold-light);
  box-shadow: 0 8px 30px rgba(244,180,0,0.2);
}

.differential-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(30,158,156,0.3);
}

.differential-card:nth-child(even) .differential-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  box-shadow: 0 8px 20px rgba(244,180,0,0.3);
}

.differential-icon svg {
  width: 32px;
  height: 32px;
}

.differential-card h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 600;
}

.differential-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

/* --- Service Detail Page --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding: 60px 0;
}

.service-detail:nth-child(odd) {
  background: linear-gradient(135deg, rgba(15,38,69,0.03) 0%, rgba(30,158,156,0.03) 100%);
}

.service-detail:nth-child(even) {
  background: linear-gradient(135deg, rgba(244,180,0,0.02) 0%, rgba(30,158,156,0.02) 100%);
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-visual {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-light) 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15,38,69,0.3);
  border: 2px solid rgba(30,158,156,0.2);
}

.service-detail-visual::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30,158,156,0.3) 0%, transparent 70%);
  top: 20%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.service-detail-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-image: linear-gradient(135deg, var(--teal), var(--gold)) 1;
  border-radius: var(--radius-lg);
  animation: borderGlow 2s ease-in-out infinite;
  pointer-events: none;
}

.service-detail-visual svg {
  width: 140px;
  height: 140px;
  color: var(--teal-light);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(30,158,156,0.3));
  animation: float 4s ease-in-out infinite;
}

.service-detail-content h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--azul), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-detail-content p {
  color: var(--gray-600);
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.service-detail-content ul li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--gray-700);
}

.service-detail-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 1.2rem;
}

/* --- Service Detail: Dark Section Override --- */
.section-dark .service-detail-content h3 {
  background: linear-gradient(135deg, #fff, var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-dark .service-detail-content p {
  color: rgba(255,255,255,0.85);
}

.section-dark .service-detail-content ul li {
  color: rgba(255,255,255,0.8);
}

.section-dark .service-detail-content ul li::before {
  color: var(--gold);
}

.section-dark .service-detail-visual {
  background: linear-gradient(135deg, rgba(30,158,156,0.2) 0%, rgba(244,180,0,0.15) 100%);
  border-color: rgba(244,180,0,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.section-dark .service-detail-visual svg {
  color: var(--gold);
  filter: drop-shadow(0 0 20px rgba(244,180,0,0.3));
}

/* --- Service Detail: Gradient Section Override --- */
.section-gradient .service-detail-content h3 {
  background: linear-gradient(135deg, var(--azul), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-gradient .service-detail-visual {
  background: linear-gradient(135deg, rgba(15,38,69,0.08) 0%, rgba(30,158,156,0.12) 100%);
  border-color: rgba(30,158,156,0.25);
}

.section-gradient .service-detail-visual svg {
  color: var(--teal);
  filter: drop-shadow(0 0 15px rgba(30,158,156,0.2));
}

/* --- Sectors --- */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sector-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(30,158,156,0.1), rgba(30,158,156,0.05));
  border: 1px solid rgba(30,158,156,0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.sector-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(30,158,156,0.2));
  opacity: 0;
  transition: var(--transition);
}

.sector-card:hover {
  background: linear-gradient(135deg, rgba(30,158,156,0.2), rgba(30,158,156,0.1));
  border-color: var(--teal);
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 35px rgba(30,158,156,0.3);
}

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

.sector-card svg {
  width: 56px;
  height: 56px;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(30,158,156,0.4));
}

.sector-card h4 {
  color: var(--white);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
  font-weight: 600;
}

/* --- Timeline (About page) --- */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), var(--gold), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--teal);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(30,158,156,0.2);
  z-index: 2;
}

/* --- Blog Grid --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border: 1px solid var(--gray-200);
  position: relative;
  cursor: pointer;
}

.blog-card .blog-link-stretched::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(30,158,156,0.2);
}

.blog-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--teal), var(--azul));
  position: relative;
  overflow: hidden;
}

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

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 24px;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin: 12px 0;
  color: var(--azul);
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.blog-tag {
  padding: 4px 10px;
  background: rgba(30,158,156,0.1);
  color: var(--teal);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* --- Newsletter Signup --- */
.newsletter-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--teal) 0%, var(--azul) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244,180,0,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.newsletter-section h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.newsletter-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  justify-content: center;
}

.newsletter-form input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.95);
  color: var(--gray-700);
}

.newsletter-form input::placeholder {
  color: var(--gray-400);
}

.newsletter-form input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(244,180,0,0.3);
}

.newsletter-form button {
  flex-basis: 100%;
  width: 100%;
  padding: 14px 28px;
  background: var(--gold);
  color: var(--azul);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244,180,0,0.4);
}

/* --- Newsletter Compact (Bottom of Blog) --- */
.newsletter-compact {
  padding: 40px 0;
}

.newsletter-inline {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.newsletter-inline-text {
  flex: 1;
  position: relative;
  z-index: 1;
}

.newsletter-inline-text h3 {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.newsletter-inline-text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin: 0;
}

.newsletter-compact .newsletter-form {
  max-width: 340px;
  flex-shrink: 0;
}

/* --- Newsletter Exit-Intent Popup --- */
.nl-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 38, 69, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nl-popup-overlay.active {
  display: flex;
  opacity: 1;
}

.nl-popup {
  background: #ffffff;
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
}

.nl-popup-overlay.active .nl-popup {
  transform: translateY(0);
}

.nl-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 28px;
  cursor: pointer;
  z-index: 2;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.2s;
}

.nl-popup-close:hover {
  color: #ffffff;
}

.nl-popup-header {
  background: var(--azul);
  text-align: center;
  padding: 28px 24px 20px;
}

.nl-popup-logo {
  height: 42px;
  width: auto;
  margin: 0 auto 10px;
  display: block;
}

.nl-popup-badge {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin: 0;
}

.nl-popup-body {
  padding: 28px 28px 24px;
  text-align: center;
}

.nl-popup-body h3 {
  color: var(--azul);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.nl-popup-body > p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 20px;
}

.nl-popup-form {
  max-width: 100%;
}

.nl-popup-form input {
  background: #f4f6f8;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.nl-popup-form input:focus {
  border-color: var(--teal);
  box-shadow: none;
}

.nl-popup-form button {
  background: var(--teal);
  color: #ffffff;
  font-size: 1rem;
}

.nl-popup-form button:hover {
  background: #178584;
  box-shadow: 0 6px 20px rgba(30,158,156,0.3);
}

.nl-popup-disclaimer {
  color: var(--gray-400);
  font-size: 0.78rem;
  margin: 12px 0 0;
}

/* --- Newsletter Footer Bar (All Pages) --- */
.newsletter-footer-bar {
  background: var(--azul);
  padding: 24px 0;
  border-top: 1px solid rgba(30,158,156,0.2);
}

.newsletter-footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.newsletter-footer-inner p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
}

.newsletter-footer-inner p strong {
  color: #ffffff;
}

.newsletter-footer-inner .btn-newsletter-footer {
  display: inline-block;
  background: var(--teal);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}

.newsletter-footer-inner .btn-newsletter-footer:hover {
  background: #178584;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .newsletter-inline {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .newsletter-compact .newsletter-form {
    max-width: 100%;
  }

  .nl-popup {
    max-width: 360px;
  }

  .nl-popup-body {
    padding: 24px 20px 20px;
  }

  .newsletter-footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }
}

/* --- Instagram Feed --- */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.instagram-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.instagram-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,158,156,0.6), rgba(244,180,0,0.6));
  opacity: 0;
  transition: var(--transition);
}

.instagram-item:hover img {
  transform: scale(1.1);
}

.instagram-item:hover::after {
  opacity: 1;
}

.instagram-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.instagram-item:hover .instagram-overlay {
  opacity: 1;
}

.instagram-overlay svg {
  width: 40px;
  height: 40px;
  color: var(--white);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* --- Responsive --- */
/* =============================================
   RESPONSIVE - Tablet (max-width: 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.75rem;
  }

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

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

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

  .service-detail {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding: 40px 0;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .service-detail-visual {
    min-height: 280px;
    padding: 36px;
  }

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

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

  .ecosystem-wrapper {
    padding: 20px;
  }
}

/* =============================================
   RESPONSIVE - Mobile landscape / small tablet (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {
  /* Hide logo text on mobile */
  .nav-logo-text {
    display: none;
  }

  /* Mobile menu - full screen overlay */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 38, 69, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 80px 40px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.15rem;
    padding: 12px 20px;
    width: 100%;
    text-align: center;
    border-radius: var(--radius-sm);
    -webkit-tap-highlight-color: transparent;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(30, 158, 156, 0.12);
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 8px;
    width: auto !important;
    min-width: 200px;
    text-align: center !important;
    justify-content: center !important;
  }

  .nav-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }

  .hero-stat {
    flex: 1 1 45%;
    min-width: 0;
  }

  .hero-stat h3 {
    font-size: 2rem;
  }

  .hero-stat p {
    font-size: 0.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
  }

  /* Sections */
  .section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  /* Page hero */
  .page-hero {
    padding: 110px 0 50px;
  }

  .page-hero h1 {
    font-size: 1.85rem;
  }

  .page-hero p {
    font-size: 1rem;
  }

  /* Service detail */
  .service-detail {
    gap: 24px;
    margin-bottom: 20px;
    padding: 30px 0;
  }

  .service-detail-visual {
    min-height: 220px;
    padding: 32px;
    border-radius: var(--radius-md);
  }

  .service-detail-visual svg {
    width: 80px;
    height: 80px;
  }

  .service-detail-content h3 {
    font-size: 1.4rem;
  }

  .service-detail-content p {
    font-size: 0.9rem;
  }

  /* Service cards */
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 24px 20px;
  }

  .service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }

  .service-icon svg {
    width: 28px;
    height: 28px;
  }

  .service-card h3 {
    font-size: 1.05rem;
  }

  .service-card p {
    font-size: 0.85rem;
  }

  /* Cards - remove hover transforms on touch */
  .service-card:hover {
    transform: none;
  }

  /* MVV */
  .mvv-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Differentials */
  .differential-card {
    padding: 24px;
    gap: 16px;
  }

  .differential-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }

  .differential-icon svg {
    width: 24px;
    height: 24px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Cases */
  .cases-grid {
    grid-template-columns: 1fr;
  }

  /* Stats - big numbers */
  .section-dark .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Sectors */
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* CTA */
  .cta-section h2 {
    font-size: 1.75rem;
  }

  .cta-section p {
    font-size: 1rem;
  }

  /* Newsletter */
  .newsletter-form {
    flex-direction: column;
  }

  /* Instagram grid */
  .instagram-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .footer-brand .nav-logo {
    justify-content: center;
  }

  .footer-brand p {
    max-width: 400px;
    margin: 16px auto 0;
  }

  .footer-social {
    justify-content: center;
  }

  .footer h4 {
    margin-top: 8px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .footer-trust-bar {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .trust-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .footer-info-bar {
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }

  /* Ecosystem */
  .ecosystem-wrapper {
    padding: 10px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Timeline */
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    padding-left: 50px;
  }

  /* Buttons - larger touch targets */
  .btn {
    padding: 16px 28px;
    font-size: 0.95rem;
    min-height: 48px;
  }

  /* WhatsApp float */
  .whatsapp-float {
    bottom: 20px;
    right: 16px;
  }

  .whatsapp-btn {
    width: 52px;
    height: 52px;
  }
}

/* =============================================
   RESPONSIVE - Mobile portrait (max-width: 480px)
   ============================================= */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 100px 0 50px;
  }

  .hero h1 {
    font-size: 1.65rem;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-badge {
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    margin-top: 36px;
    padding-top: 24px;
  }

  .hero-stat {
    flex: 1 1 100%;
    display: flex;
    align-items: baseline;
    gap: 12px;
  }

  .hero-stat h3 {
    font-size: 1.75rem;
  }

  .section {
    padding: 40px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .page-hero {
    padding: 100px 0 40px;
  }

  .page-hero h1 {
    font-size: 1.5rem;
  }

  /* Service cards single column on very small */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    padding: 20px 18px;
  }

  /* Service detail */
  .service-detail-visual {
    min-height: 180px;
    padding: 24px;
  }

  .service-detail-content h3 {
    font-size: 1.25rem;
  }

  /* Stats - big numbers */
  .section-dark .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* Sectors */
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .sector-card {
    padding: 20px 14px;
  }

  .sector-card svg {
    width: 40px;
    height: 40px;
  }

  .sector-card h4 {
    font-size: 0.85rem;
  }

  .sector-card p {
    font-size: 0.78rem;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Footer trust */
  .footer-trust-bar {
    gap: 8px;
  }

  .trust-badge {
    font-size: 0.7rem;
    padding: 5px 10px;
    gap: 4px;
  }

  .trust-badge svg {
    width: 14px;
    height: 14px;
  }

  /* Contact detail */
  .contact-detail {
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 18px;
  }

  .contact-detail-icon {
    width: 40px;
    height: 40px;
  }

  /* Differential cards */
  .differential-card {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  /* CTA section */
  .cta-section {
    padding: 48px 0;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }
}

/* =============================================
   RESPONSIVE - Very small screens (max-width: 360px)
   ============================================= */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .hero h1 {
    font-size: 1.45rem;
  }

  .section-header h2 {
    font-size: 1.35rem;
  }

  .page-hero h1 {
    font-size: 1.35rem;
  }

  .footer-trust-bar {
    flex-direction: column;
    align-items: center;
  }

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

  .hero-stat h3 {
    font-size: 1.5rem;
  }
}

/* =============================================
   TOUCH DEVICE OPTIMIZATIONS
   ============================================= */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover-dependent transforms on touch devices */
  .service-card:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  }

  .service-card:active {
    transform: scale(0.98);
    transition: transform 0.1s;
  }

  .differential-card:hover {
    transform: none;
  }

  .differential-card:active {
    transform: scale(0.98);
  }

  .btn:hover {
    transform: none;
  }

  .btn:active {
    transform: scale(0.97);
    transition: transform 0.1s;
  }

  /* Larger tap targets */
  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Smoother scrolling */
  * {
    -webkit-tap-highlight-color: transparent;
  }
}

/* =============================================
   LANDSCAPE MOBILE
   ============================================= */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 80px 0 40px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
  }

  .page-hero {
    padding: 90px 0 30px;
  }

  .nav-links {
    padding-top: 60px;
  }
}

/* =============================================
   PREFERS REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --- Blog Article Responsive --- */
@media (max-width: 768px) {
  article.section h1 {
    font-size: 1.65rem !important;
    line-height: 1.3 !important;
  }

  article.section h2 {
    font-size: 1.3rem !important;
  }

  article.section h3 {
    font-size: 1.15rem !important;
  }

  article.section .container {
    padding: 0 16px;
  }

  article.section blockquote {
    padding: 16px 20px !important;
    margin: 20px 0 !important;
    font-size: 0.95rem !important;
  }
}

@media (max-width: 480px) {
  article.section h1 {
    font-size: 1.4rem !important;
  }

  article.section h2 {
    font-size: 1.15rem !important;
  }
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }

/* --- Additional Animation --- */
@keyframes borderGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(30,158,156,0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(30,158,156,0.5);
  }
}

/* =============================================
   SECTION: STATS - Números que o mercado não pode ignorar
   ============================================= */
.stats-section {
  background: linear-gradient(135deg, var(--azul-dark) 0%, #0D1C31 100%);
  padding: 80px 20px;
  color: var(--white);
}

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

.stats-header {
  text-align: center;
  margin-bottom: 70px;
  animation: fadeIn 0.8s ease-in;
}

.stats-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
  line-height: 1.2;
}

.stats-header p {
  font-size: 1.1rem;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

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

.stat-card {
  background: var(--azul-light);
  border: 1px solid rgba(30, 158, 156, 0.2);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out backwards;
}

.stat-card:hover {
  border-color: rgba(30, 158, 156, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30, 158, 156, 0.1);
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }
.stat-card:nth-child(5) { animation-delay: 0.5s; }
.stat-card:nth-child(6) { animation-delay: 0.6s; }

.stat-number {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
  line-height: 1;
}

.stat-card:nth-child(odd) .stat-number {
  color: var(--teal);
}

.stat-card:nth-child(even) .stat-number {
  color: var(--gold);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--gray-400);
  margin-bottom: 16px;
  line-height: 1.5;
}

.stat-source {
  font-size: 0.7rem;
  color: var(--gray-500);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.charts-section {
  margin-bottom: 80px;
}

.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  margin-bottom: 40px;
}

.chart-container {
  background: var(--azul-light);
  border: 1px solid rgba(30, 158, 156, 0.2);
  border-radius: 12px;
  padding: 32px;
  animation: fadeInUp 0.8s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chart-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 28px;
  color: var(--white);
}

.donut-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  min-height: 240px;
}

.donut-chart {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: conic-gradient(
    var(--teal) 0% 70%,
    var(--gold) 70% 85%,
    #4A90E2 85% 95%,
    #9B59B6 95% 100%
  );
  box-shadow: inset 0 0 0 50px var(--azul-light),
              0 8px 24px rgba(0, 0, 0, 0.3);
  animation: spinIn 0.8s ease-out;
}

.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.legend-item.engineering .legend-dot { background: var(--teal); }
.legend-item.malware .legend-dot { background: var(--gold); }
.legend-item.credential .legend-dot { background: #4A90E2; }
.legend-item.other .legend-dot { background: #9B59B6; }

.legend-text {
  color: var(--gray-400);
}

.legend-percent {
  color: var(--white);
  font-weight: 600;
  margin-left: auto;
}

.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bar-label {
  width: 120px;
  font-size: 0.9rem;
  color: var(--gray-400);
  text-align: right;
}

.bar-wrapper {
  flex: 1;
  height: 28px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(30, 158, 156, 0.1);
}

.bar-fill {
  height: 100%;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  animation: barFill 0.8s ease-out forwards;
  opacity: 0;
}

.bar-item:nth-child(1) .bar-fill {
  background: linear-gradient(90deg, var(--teal) 0%, #15B5B2 100%);
  width: 158.7%;
  animation-delay: 0.2s;
}

.bar-item:nth-child(2) .bar-fill {
  background: linear-gradient(90deg, var(--gold) 0%, #F5C547 100%);
  width: 123.9%;
  animation-delay: 0.3s;
}

.bar-item:nth-child(3) .bar-fill {
  background: linear-gradient(90deg, #4A90E2 0%, #5FA3F0 100%);
  width: 118.2%;
  animation-delay: 0.4s;
}

.bar-item:nth-child(4) .bar-fill {
  background: linear-gradient(90deg, #9B59B6 0%, #A46BC1 100%);
  width: 100%;
  animation-delay: 0.5s;
}

.bar-value {
  width: 100px;
  text-align: right;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.chart-source {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-cta {
  background: linear-gradient(135deg, rgba(30, 158, 156, 0.1) 0%, rgba(244, 180, 0, 0.05) 100%);
  border: 1px solid rgba(30, 158, 156, 0.2);
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

.stats-cta h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--white);
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--teal) 0%, #15B5B2 100%);
  color: var(--white);
  padding: 14px 40px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(30, 158, 156, 0.3);
}

.cta-button:active {
  transform: translateY(0);
}

@keyframes spinIn {
  from {
    opacity: 0;
    transform: rotate(-180deg) scale(0.8);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

@keyframes barFill {
  from {
    opacity: 0;
    width: 0;
  }
  to {
    opacity: 1;
    width: var(--bar-width);
  }
}

@media (max-width: 1024px) {
  .stats-container .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .charts-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-header h2 {
    font-size: 2.2rem;
  }
}

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

  .stats-container .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-card {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .stats-header h2 {
    font-size: 1.8rem;
  }

  .stats-header p {
    font-size: 0.95rem;
  }

  .charts-grid {
    gap: 24px;
  }

  .chart-container {
    padding: 24px;
  }

  .chart-title {
    font-size: 1.1rem;
  }

  .donut-chart {
    width: 160px;
    height: 160px;
  }

  .bar-label {
    width: 100px;
    font-size: 0.8rem;
  }

  .bar-value {
    width: 80px;
    font-size: 0.75rem;
  }

  .stats-cta h3 {
    font-size: 1.4rem;
  }

  .stats-cta {
    padding: 32px 20px;
  }
}

@media (max-width: 480px) {
  .stats-section {
    padding: 40px 12px;
  }

  .stats-header {
    margin-bottom: 40px;
  }

  .stats-header h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .stat-card {
    padding: 20px 12px;
  }

  .stat-number {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .stat-source {
    font-size: 0.65rem;
  }

  .charts-grid {
    gap: 16px;
  }

  .chart-container {
    padding: 16px;
  }

  .chart-title {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .donut-wrapper {
    min-height: 200px;
  }

  .donut-chart {
    width: 140px;
    height: 140px;
  }

  .donut-legend {
    gap: 8px;
    font-size: 0.8rem;
  }

  .bar-label {
    width: 80px;
    font-size: 0.75rem;
  }

  .bar-value {
    display: none;
  }

  .bar-wrapper {
    height: 24px;
  }

  .bar-fill {
    padding-right: 8px;
    font-size: 0.7rem;
  }

  .stats-cta {
    padding: 24px 16px;
    margin-bottom: 40px;
  }

  .stats-cta h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }

  .cta-button {
    padding: 12px 32px;
    font-size: 0.9rem;
  }
}

/* =============================================
   SECTION: COMO TRABALHAMOS
   ============================================= */
.section-howwework {
  background-color: var(--azul-dark);
  padding: 80px 20px;
}

.section-howwework__container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-howwework__header {
  text-align: center;
  margin-bottom: 60px;
}

.section-howwework__title {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-howwework__subtitle {
  font-size: 16px;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
  margin-bottom: 40px;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--teal) 50%, transparent 50%);
  background-size: 12px 2px;
  z-index: 0;
  pointer-events: none;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step__circle {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--azul-light), var(--azul));
  border: 2px solid var(--azul-light);
  transition: all 0.3s ease;
}

.process-step:nth-child(1) .process-step__circle,
.process-step:nth-child(3) .process-step__circle {
  border-color: var(--teal);
  box-shadow: 0 0 20px rgba(30, 158, 156, 0.2);
}

.process-step:nth-child(2) .process-step__circle,
.process-step:nth-child(4) .process-step__circle {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(244, 180, 0, 0.2);
}

.process-step__circle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(30, 158, 156, 0.4);
}

.process-step__icon {
  width: 50px;
  height: 50px;
  position: relative;
}

.process-step__number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  background-color: var(--gold);
  color: var(--azul);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
}

.process-step__title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.process-step__description {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
}

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

  .section-howwework__title {
    font-size: 32px;
  }

  .process-steps {
    flex-direction: column;
    gap: 48px;
    align-items: center;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    text-align: center;
    max-width: 300px;
  }

  .process-step__circle {
    margin: 0 auto 16px;
    width: 80px;
    height: 80px;
  }

  .process-step__icon {
    width: 40px;
    height: 40px;
  }

  .process-step__number {
    width: 24px;
    height: 24px;
    font-size: 12px;
    top: -6px;
    right: -6px;
  }

  .process-step__title {
    font-size: 16px;
  }

  .process-step__description {
    font-size: 13px;
  }
}

/* =============================================
   SECTION: O QUE PROTEGEMOS
   ============================================= */
.section-protect {
  background-color: var(--azul);
  padding: 80px 20px;
}

.section-protect__container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-protect__header {
  text-align: center;
  margin-bottom: 60px;
}

.section-protect__title {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-protect__subtitle {
  font-size: 16px;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto;
}

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

.protect-card {
  background-color: var(--azul-light);
  border: 1px solid var(--azul-light);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.protect-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(30, 158, 156, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.protect-card:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 32px rgba(30, 158, 156, 0.15);
  transform: translateY(-4px);
}

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

.protect-card:nth-child(2n) {
  border-color: var(--azul-light);
}

.protect-card:nth-child(2n):hover {
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(244, 180, 0, 0.15);
}

.protect-card__icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.protect-card:nth-child(2n+1) .protect-card__icon {
  color: var(--teal);
}

.protect-card:nth-child(2n) .protect-card__icon {
  color: var(--gold);
}

.protect-card__label {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
}

.protect-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--gold);
  color: var(--azul);
  padding: 4px 8px;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.protect-card:nth-child(4n+1) .protect-card__badge,
.protect-card:nth-child(4n+2) .protect-card__badge {
  display: block;
}

.protect-card:hover .protect-card__badge {
  opacity: 1;
}

@media (max-width: 1024px) {
  .protect-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

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

  .section-protect__title {
    font-size: 32px;
  }

  .protect-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .protect-card {
    padding: 20px 16px;
  }
}

@media (max-width: 480px) {
  .protect-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .protect-card {
    padding: 16px 12px;
  }

  .protect-card__icon {
    width: 40px;
    height: 40px;
    font-size: 24px;
    margin-bottom: 12px;
  }

  .protect-card__label {
    font-size: 13px;
  }
}

/* =============================================
   SECTION: IA E FRAUDE
   ============================================= */
.section-ai-fraud {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--azul-dark) 0%, var(--azul) 100%);
  color: var(--white);
}

.section-ai-fraud .container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-ai-fraud .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-ai-fraud .section-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-ai-fraud .section-header p {
  font-size: 18px;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 60px;
  position: relative;
}

.card {
  background: rgba(30, 158, 156, 0.08);
  border: 1px solid rgba(30, 158, 156, 0.3);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: #1E9E9C;
  background: rgba(30, 158, 156, 0.12);
  transform: translateY(-4px);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}

.card p {
  font-size: 16px;
  color: var(--gray-300);
  line-height: 1.7;
}

.center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.cta-section-ai {
  text-align: center;
  padding: 40px;
  background: rgba(30, 158, 156, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(30, 158, 156, 0.2);
}

.cta-section-ai p {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-ai-fraud .section-header h2 {
    font-size: 32px;
  }

  .section-ai-fraud .section-header p {
    font-size: 16px;
  }

  .card {
    padding: 24px;
  }

  .card h3 {
    font-size: 18px;
  }

  .card p {
    font-size: 15px;
  }
}

/* =============================================
   ENHANCED ANIMATIONS - Site-wide Motion System
   ============================================= */

/* --- Glowing Card Hover Effects --- */
.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 12px 40px rgba(30,158,156,0.25), 0 0 60px rgba(30,158,156,0.1);
}

.sector-card:hover {
  box-shadow: 0 12px 35px rgba(30,158,156,0.3), 0 0 50px rgba(30,158,156,0.15);
}

.sector-card:hover svg {
  filter: drop-shadow(0 4px 16px rgba(30,158,156,0.6)) drop-shadow(0 0 20px rgba(30,158,156,0.3));
  transform: scale(1.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(30,158,156,0.2), 0 0 40px rgba(30,158,156,0.08);
  border-color: rgba(30,158,156,0.4);
}

/* --- Animated Section Header Underline --- */
@keyframes expandUnderline {
  from { width: 0; opacity: 0; }
  to { width: 60px; opacity: 1; }
}

.section-header h2::after {
  animation: expandUnderline 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.section-header.visible h2::after,
.section-header h2.visible::after {
  animation: expandUnderline 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* --- Animated Background for Dark Sections --- */
@keyframes gradientShift {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

@keyframes lightSweep {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(200%) rotate(25deg); }
}

.section-dark {
  position: relative;
  overflow: hidden;
}

/* Moving radial gradient overlay - visible pulse of color */
.section-dark::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(30,158,156,0.18), transparent 70%),
    radial-gradient(ellipse 500px 350px at 80% 30%, rgba(244,180,0,0.12), transparent 70%),
    radial-gradient(ellipse 400px 300px at 50% 80%, rgba(30,158,156,0.10), transparent 60%);
  animation: gradientShift 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Diagonal light sweep across dark sections */
.section-dark::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 30%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(30,158,156,0.06),
    rgba(255,255,255,0.04),
    rgba(30,158,156,0.06),
    transparent
  );
  animation: lightSweep 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Ensure content stays above animated backgrounds */
.section-dark > .container,
.section-dark > div:not(.glow-orb) {
  position: relative;
  z-index: 1;
}

/* --- Stats Section Animated Background --- */
@keyframes diagonalMove {
  0% { background-position: 0 0; }
  100% { background-position: 70px 70px; }
}

.stats-section::before {
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(30,158,156,0.08) 35px, rgba(30,158,156,0.08) 70px);
  animation: diagonalMove 4s linear infinite;
}

.stats-section::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 30%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(30,158,156,0.08),
    rgba(255,255,255,0.04),
    rgba(30,158,156,0.08),
    transparent
  );
  animation: lightSweep 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* --- Process/How We Work Section --- */
.section[id="como-funciona"]::before,
.section[id="metodologia"]::before {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 500px 350px at 30% 40%, rgba(30,158,156,0.15), transparent 70%),
    radial-gradient(ellipse 400px 300px at 70% 60%, rgba(244,180,0,0.10), transparent 70%);
  animation: gradientShift 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* --- Staggered Grid Entrance Animations --- */
@keyframes staggerFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card.visible,
.sector-card.visible,
.case-card.visible,
.faq-card.visible,
.stat-card.visible {
  animation: staggerFadeUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.service-card:nth-child(1).visible,
.sector-card:nth-child(1).visible,
.faq-card:nth-child(1).visible { animation-delay: 0s; }
.service-card:nth-child(2).visible,
.sector-card:nth-child(2).visible,
.faq-card:nth-child(2).visible { animation-delay: 0.1s; }
.service-card:nth-child(3).visible,
.sector-card:nth-child(3).visible,
.faq-card:nth-child(3).visible { animation-delay: 0.2s; }
.service-card:nth-child(4).visible,
.sector-card:nth-child(4).visible,
.faq-card:nth-child(4).visible { animation-delay: 0.3s; }
.service-card:nth-child(5).visible,
.sector-card:nth-child(5).visible,
.faq-card:nth-child(5).visible { animation-delay: 0.4s; }
.service-card:nth-child(6).visible,
.sector-card:nth-child(6).visible,
.faq-card:nth-child(6).visible { animation-delay: 0.5s; }

/* --- Floating Glow Orbs for Dark Sections --- */
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  25% { transform: translate(40px, -30px) scale(1.2); opacity: 0.7; }
  50% { transform: translate(-20px, -50px) scale(0.9); opacity: 0.4; }
  75% { transform: translate(-40px, -15px) scale(1.15); opacity: 0.6; }
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb-teal {
  background: radial-gradient(circle, rgba(30,158,156,0.6), transparent 60%);
  animation: floatOrb 12s ease-in-out infinite;
}

.glow-orb-gold {
  background: radial-gradient(circle, rgba(244,180,0,0.45), transparent 60%);
  animation: floatOrb 15s ease-in-out infinite reverse;
}

/* --- Counter Glow Burst on Completion --- */
@keyframes counterGlow {
  0% { text-shadow: none; }
  50% { text-shadow: 0 0 20px rgba(30,158,156,0.6), 0 0 40px rgba(30,158,156,0.3); }
  100% { text-shadow: none; }
}

.stat-number.counted {
  animation: counterGlow 1.2s ease-out;
}

.stat-item:hover .stat-number {
  filter: brightness(1.2);
  transition: filter 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.05);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Animated Border Glow for Key Cards --- */
@keyframes borderPulse {
  0%, 100% { border-color: rgba(30,158,156,0.2); }
  50% { border-color: rgba(30,158,156,0.5); }
}

.stat-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(30,158,156,0.2), 0 0 30px rgba(30,158,156,0.1);
  border-color: rgba(30,158,156,0.5);
}

/* --- CTA Section Glow Animation --- */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 40px rgba(30,158,156,0.25), inset 0 0 30px rgba(30,158,156,0.05); }
  50% { box-shadow: 0 0 80px rgba(30,158,156,0.4), 0 0 120px rgba(30,158,156,0.15), inset 0 0 50px rgba(30,158,156,0.08); }
}

.cta-section {
  animation: ctaPulse 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 30%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: lightSweep 8s ease-in-out infinite;
  pointer-events: none;
}

/* --- Newsletter Bar Glow --- */
.newsletter-footer-bar {
  position: relative;
  overflow: hidden;
}

.newsletter-footer-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(30,158,156,0.15), rgba(255,255,255,0.05), rgba(30,158,156,0.15), transparent);
  animation: shimmer 5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -50%; }
  100% { left: 150%; }
}

/* --- Animated Backgrounds for Light Sections --- */
@keyframes lightGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.section-gradient,
.about-gradient,
.values-section,
.ecosystem-section {
  position: relative;
  overflow: hidden;
  background-size: 200% 200% !important;
  animation: lightGradientShift 10s ease-in-out infinite;
}

/* Light section shimmer sweep */
.section-gradient::after,
.about-gradient::after,
.values-section::after,
.ecosystem-section::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 25%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(30,158,156,0.04),
    rgba(255,255,255,0.08),
    rgba(30,158,156,0.04),
    transparent
  );
  animation: lightSweep 14s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.section-gradient > .container,
.about-gradient > .container,
.values-section > .container,
.ecosystem-section > .container {
  position: relative;
  z-index: 1;
}

/* --- Clients Section Subtle Animation --- */
.clients-section {
  position: relative;
  overflow: hidden;
}

.clients-section::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 25%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(30,158,156,0.03),
    rgba(255,255,255,0.06),
    rgba(30,158,156,0.03),
    transparent
  );
  animation: lightSweep 16s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* --- Respect Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
