/* ===== ALTIMA CLÍNICA INTEGRADA — Premium Light / Sephara-inspired ===== */

:root {
  /* Light luxury palette — gold & warm cream */
  --primary: #C9A84C;
  --primary-dark: #96792F;
  --primary-rgb: 201, 168, 76;
  --accent: #8B734A;
  --accent-rgb: 139, 115, 74;
  --bg: #FDFBF7;
  --surface: #F5F2EB;
  --surface-2: #FFFFFF;
  --text: #1E1C19;
  --text-muted: #504B45;
  --text-dim: #7A756E;
  --gradient: linear-gradient(135deg, #C9A84C 0%, #A68B3E 50%, #8B734A 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, rgba(139,115,74,0.02) 100%);
  --border: rgba(42, 39, 34, 0.1);
  --border-hover: rgba(201, 168, 76, 0.35);
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-h: 'Cormorant Garamond', Georgia, serif;
  --r: 16px;
  --r-sm: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: rgba(var(--primary-rgb), 0.2); color: var(--text); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(var(--primary-rgb), 0.25); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-h); font-weight: 600; color: var(--text); line-height: 1.15; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Scroll progress */
#scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0%; background: var(--gradient); z-index: 9999; box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.3); }

/* Grain overlay */
.grain-overlay { position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.018; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 200px; }

/* ========== GRADIENT TEXT ========== */
.gradient-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ========== SECTION TAG ========== */
.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1.1rem;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  color: var(--primary-dark);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  font-family: var(--font);
}

/* ========== SECTIONS ========== */
.section { padding: 6rem 0; position: relative; overflow: hidden; scroll-margin-top: 80px; }
.alt-section { background: var(--surface); }
.text-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-intro { max-width: 700px; margin-bottom: 3.5rem; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 0.8rem; }
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; max-width: 600px; }
.section-intro .section-subtitle { margin-left: auto; margin-right: auto; }

/* ========== HEADER ========== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 0;
  transition: all 0.4s var(--ease);
  background: transparent;
}

/* Dark gradient behind header when over hero video */
.header.not-scrolled {
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 70%, transparent 100%);
}

.header.scrolled {
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.12);
  box-shadow: 0 1px 20px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  height: 88px; transition: height 0.4s var(--ease);
}
.header.scrolled .header-inner { height: 68px; }

.header-logo img { height: 80px; width: auto; transition: all 0.4s var(--ease); object-fit: contain; }
.header.scrolled .header-logo img { height: 60px; }

.header-nav { display: flex; align-items: center; gap: 2.2rem; }

.header-nav .nav-link {
  font-family: var(--font); font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text); position: relative; padding: 4px 0;
  transition: color 0.3s;
}
.header.not-scrolled .header-nav .nav-link { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.header-nav .nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1.5px;
  background: var(--gradient); transition: width 0.3s var(--ease);
}
.header.not-scrolled .header-nav .nav-link::after { background: #fff; }
.header-nav .nav-link:hover::after, .header-nav .nav-link.active::after { width: 100%; }
.header-nav .nav-link:hover { color: var(--primary-dark); }
.header.not-scrolled .header-nav .nav-link:hover { color: #fff; }

/* ========== BUTTONS ========== */
.btn-primary {
  background: var(--gradient); color: #fff;
  padding: 0.8rem 1.8rem; border-radius: var(--r-sm);
  font-family: var(--font); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.5rem;
  position: relative; overflow: hidden;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s;
  border: none; cursor: pointer; white-space: nowrap;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.25); }
.btn-shine {
  position: absolute; top: -50%; left: -100%; width: 50%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: skewX(-25deg);
  animation: btnShine 5s ease-in-out infinite;
}
@keyframes btnShine { 0%,70%,100%{ left:-100% } 85%{ left:150% } }
.btn-primary.mini { padding: 0.5rem 1.2rem; font-size: 0.75rem; }
.btn-primary.large { padding: 1rem 2.5rem; font-size: 0.88rem; border-radius: 12px; }

.btn-secondary {
  border: 1px solid var(--border); color: var(--text);
  padding: 0.8rem 1.8rem; border-radius: var(--r-sm);
  font-family: var(--font); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: all 0.4s var(--ease); background: transparent;
  cursor: pointer; text-decoration: none;
}
.btn-secondary:hover { border-color: var(--border-hover); transform: translateY(-2px); background: rgba(var(--primary-rgb),0.04); }
.btn-secondary.large { padding: 1rem 2.5rem; font-size: 0.88rem; border-radius: 12px; }

/* Mobile menu */
.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001;
}
.mobile-toggle span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: all 0.3s; }
.header.not-scrolled .mobile-toggle span { background: #fff; }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

/* ========== HERO — FULL VIDEO ========== */
.hero {
  position: relative; width: 100%; height: 100vh; min-height: 600px;
  overflow: hidden;
}
.hero-aurora {
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(var(--primary-rgb),0.06) 0%, transparent 60%);
  animation: aurora 12s ease-in-out infinite alternate;
}
@keyframes aurora { 0%{opacity:.6} 50%{opacity:1} 100%{opacity:.7} }

.hero-video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
  transform: translateZ(0);
}
.hero-gradient-bottom {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 250px;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 1; pointer-events: none;
}

.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0.5;
}
.scroll-mouse {
  width: 20px; height: 32px; border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 11px; display: flex; justify-content: center; padding-top: 6px;
}
.scroll-wheel {
  width: 2.5px; height: 7px; background: var(--primary); border-radius: 3px;
  animation: wheel 2s ease-in-out infinite;
}
@keyframes wheel { 0%{opacity:1;transform:translateY(0)} 100%{opacity:0;transform:translateY(8px)} }
.scroll-text { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.45); font-family: var(--font); }

/* ========== INTRO ========== */
.intro { padding: 7rem 0 5rem; background: var(--bg); }
.intro-content { max-width: 820px; }
.reveal-text { font-size: clamp(2.2rem, 4.5vw, 3.8rem); line-height: 1.1; margin-bottom: 1.3rem; letter-spacing: -0.03em; }
.subheadline { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ========== SPLIT HEADER (About) ========== */
.split-header { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; margin-bottom: 3.5rem; }
.split-header-text .section-title { text-align: left; }
.split-header-stat {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 2.5rem; text-align: center;
  transition: all 0.5s var(--ease);
}
.split-header-stat:hover { border-color: var(--border-hover); box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.08); }
.big-stat { display: flex; align-items: baseline; justify-content: center; margin-bottom: 0.5rem; }
.big-stat-number { font-family: var(--font-h); font-size: clamp(3.5rem, 5vw, 4.5rem); font-weight: 300; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.big-stat-suffix { font-family: var(--font-h); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 300; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.big-stat-label { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.split-header-image {
  position: relative; border-radius: var(--r); overflow: hidden;
  height: 100%; min-height: 380px; border: 1px solid var(--border);
  transition: all 0.5s var(--ease);
}
.split-header-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.split-header-image:hover { border-color: var(--border-hover); box-shadow: 0 15px 45px rgba(var(--primary-rgb), 0.12); }
.split-header-image:hover img { transform: scale(1.05); }

.about-text { font-size: 1.05rem; color: var(--text-muted); line-height: 1.95; margin-bottom: 1.2rem; }

/* ========== METRICS ========== */
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.about-metrics { margin-top: 0; }

.metric-card {
  text-align: center; padding: 2.2rem 1.2rem;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r); position: relative; overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.metric-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(var(--primary-rgb),0.08), transparent 50%);
  opacity: 0; transition: opacity 0.5s; pointer-events: none;
}
.metric-card::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 0%; height: 2px; background: var(--gradient); opacity: 0;
  transition: all 0.5s var(--ease);
}
.metric-card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.08); }
.metric-card:hover::before { opacity: 1; }
.metric-card:hover::after { opacity: 1; width: 100%; }

.metric-value { display: flex; align-items: baseline; justify-content: center; margin-bottom: 0.4rem; }
.metric-number { font-family: var(--font-h); font-size: clamp(2.2rem, 3.5vw, 3rem); font-weight: 300; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.metric-suffix { font-family: var(--font-h); font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 300; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.metric-label { font-size: 0.88rem; color: var(--text); font-weight: 600; margin-bottom: 0.2rem; }
.metric-detail { font-size: 0.78rem; color: var(--text-dim); line-height: 1.4; }

/* ========== BENTO GRID — SPECIALTIES ========== */
.specialties-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; gap: 1.2rem; }

.sol-card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 0; position: relative; overflow: hidden;
  transition: all 0.4s var(--ease); display: flex; flex-direction: column;
}
.sol-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.08); }
.sol-card:hover .bento-bg-gradient { opacity: 1; }

.sol-card-image {
  position: relative; width: 100%; height: 180px; overflow: hidden; border-bottom: 1px solid var(--border);
}
.sol-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.sol-card-image-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0.1)); }

.sol-card-logo-overlay {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 110px; opacity: 0.85; z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
  transition: all 0.5s var(--ease);
}
.sol-card-logo-overlay img { width: 100%; height: auto; object-fit: contain; }
.sol-card:hover .sol-card-logo-overlay { opacity: 1; transform: translate(-50%, -50%) scale(1.08); filter: drop-shadow(0 6px 15px rgba(0,0,0,0.7)); }

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

.sol-card-content { padding: 2rem; position: relative; flex: 1; display: flex; flex-direction: column; }

.bento-bg-gradient {
  position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(600px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(var(--primary-rgb),0.06), transparent 40%);
  transition: opacity 0.5s; pointer-events: none;
}



.sol-icon {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  background: rgba(var(--primary-rgb), 0.1); border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: 14px; color: var(--primary-dark); margin-bottom: 1.4rem;
  transition: all 0.5s cubic-bezier(.34,1.56,.64,1);
}
.sol-icon svg { width: 26px; height: 26px; }
.sol-card:hover .sol-icon { transform: scale(1.1) translateY(-2px); background: rgba(var(--primary-rgb), 0.18); box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.12); }

.sol-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; letter-spacing: -0.01em; position: relative; z-index: 1; }
.sol-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; position: relative; z-index: 1; }

.sol-features { list-style: none; margin-top: 1.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; position: relative; z-index: 1; }
.sol-features li { font-size: 0.82rem; color: var(--text-muted); padding-left: 1.2rem; position: relative; line-height: 1.5; }
.sol-features li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; font-size: 0.75rem; }

/* ========== DIFERENCIAIS — TIMELINE ========== */
.differentials { background: var(--bg); position: relative; z-index: 1; overflow: hidden; }
.differentials::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: url('altima%20background.png') center/cover no-repeat;
  opacity: 0.35; /* Increased opacity for visibility */
}
.process-timeline { max-width: 700px; margin: 0 auto; }
.process-step { display: flex; gap: 1.5rem; }
.step-connector { display: flex; flex-direction: column; align-items: center; padding-top: 2rem; flex-shrink: 0; width: 24px; }
.step-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); flex-shrink: 0; box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.3); transition: all 0.3s; }
.step-line { width: 1px; flex: 1; background: linear-gradient(to bottom, var(--primary), rgba(var(--primary-rgb), 0.1)); margin-top: 4px; }

.step-card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 2rem; flex: 1; margin-bottom: 1rem;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative; overflow: hidden;
}
.step-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 0%;
  background: var(--gradient); transition: height 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 2;
}
.step-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(500px circle at var(--mouse-x,50%) var(--mouse-y,50%), rgba(var(--primary-rgb),0.05), transparent 50%);
  opacity: 0; transition: opacity 0.4s; z-index: 1; pointer-events: none;
}
.step-card:hover { border-color: var(--border-hover); transform: translateX(8px) translateY(-3px); box-shadow: 0 12px 35px rgba(var(--primary-rgb), 0.08); }
.step-card:hover::before { height: 100%; }
.step-card:hover::after { opacity: 1; }
.process-step:hover .step-dot { transform: scale(1.5); box-shadow: 0 0 20px var(--primary); }

.step-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; }
.step-number {
  font-family: var(--font-h); font-size: 2.2rem; font-weight: 600;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; opacity: 0.45;
  line-height: 1; position: relative; z-index: 2;
}
.step-duration { font-size: 0.7rem; color: var(--primary-dark); background: rgba(var(--primary-rgb), 0.08); padding: 0.25rem 0.7rem; border-radius: 100px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-family: var(--font); }
.step-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; position: relative; z-index: 2; }
.step-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; position: relative; z-index: 2; }

/* ========== GALLERY SLIDER ========== */
.gallery { padding: 6rem 0 4rem; overflow: hidden; background: var(--bg); }
.gallery-slider-container {
  position: relative; max-width: 650px; margin: 0 auto;
}
.gallery-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: auto; gap: 8px; border-radius: calc(var(--r) - 5px);
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide {
  flex: 0 0 100%; width: 100%; height: 450px; object-fit: contain;
  scroll-snap-align: center; border-radius: 6px; pointer-events: none;
  background-color: transparent;
}
.slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95); border: none; width: 48px; height: 48px;
  border-radius: 50%; font-size: 24px; color: var(--primary-dark);
  cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); transition: all 0.3s;
}
.slider-prev { left: -24px; }
.slider-next { right: -24px; }
.slider-nav:hover { background: var(--primary); color: #fff; transform: translateY(-50%) scale(1.1); }

/* ========== CTA ========== */
.cta-section { padding: 5rem 0; position: relative; overflow: hidden; background: var(--surface); }
.cta-aurora { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(var(--primary-rgb),0.04) 0%, transparent 60%); animation: aurora 10s ease-in-out infinite alternate; }
.cta-card {
  background: var(--surface-2); border: 1px solid rgba(var(--primary-rgb), 0.1);
  border-radius: 24px; padding: 4rem 3rem; text-align: center;
  position: relative; overflow: hidden; max-width: 800px; margin: 0 auto;
  box-shadow: 0 8px 40px rgba(var(--primary-rgb), 0.04);
}
.cta-glow { position: absolute; top: -25%; left: 50%; transform: translateX(-50%); width: 350px; height: 350px; background: radial-gradient(circle, rgba(var(--primary-rgb),0.06) 0%, transparent 70%); pointer-events: none; }
.cta-card h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 620px; margin: 1rem auto 0.8rem; line-height: 1.12; letter-spacing: -0.02em; }
.cta-description { color: var(--text-muted); font-size: 1rem; margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; margin-bottom: 1.2rem; }
.cta-note { font-size: 0.78rem; color: var(--text-dim); margin-top: 0.8rem; }

/* ========== FOOTER ========== */
.footer { background: var(--text); padding: 4rem 0 0; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.footer-brand img { height: 50px; margin-bottom: 1.2rem; filter: brightness(2); }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.7; }
.footer-brand strong { color: rgba(255,255,255,0.75); }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links h5 { font-family: var(--font); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--primary); margin-bottom: 0.2rem; font-weight: 600; }
.footer-links a, .footer-links p { color: rgba(255,255,255,0.4); font-size: 0.88rem; transition: color 0.3s; display: block; margin-bottom: 4px; }
.footer-links a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 12px; margin-top: 0.5rem; }
.footer-social a {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: all 0.4s var(--ease);
}
.footer-social a:hover { border-color: var(--primary); background: rgba(var(--primary-rgb), 0.1); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.45); transition: fill 0.3s; }
.footer-social a:hover svg { fill: var(--primary); }
.footer-bottom { display: flex; justify-content: center; color: rgba(255,255,255,0.2); font-size: 0.78rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.05); }

/* ========== WhatsApp Float ========== */
.whatsapp-float {
  position: fixed; bottom: 22px; right: 22px;
  background: #25D366; width: 54px; height: 54px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  z-index: 99; transition: all 0.4s cubic-bezier(.34,1.56,.64,1);
}
.whatsapp-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4); }

/* ========== MOBILE OVERLAY ========== */
.mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 998; opacity: 0; transition: opacity 0.4s; }
.mobile-overlay.active { display: block; opacity: 1; }

/* ========== RESPONSIVE ========== */
.footer-contact-link { color: inherit; text-decoration: none; transition: color 0.3s; }
.footer-contact-link:hover { color: var(--primary); }

@media (max-width: 1024px) {
  .split-header { grid-template-columns: 1fr; }
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .sol-features { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .header-nav {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 360px; height: 100vh;
    background: var(--bg); flex-direction: column; justify-content: center;
    gap: 2rem; padding: 40px; transition: right 0.5s var(--ease);
    box-shadow: -10px 0 40px rgba(0,0,0,0.08); border-left: 1px solid var(--border);
  }
  .header-nav.open { right: 0; }
  .header-logo img { height: 55px; }
  .header.scrolled .header-logo img { height: 45px; }
  .header-nav .nav-link { font-size: 0.95rem; color: var(--text) !important; text-shadow: none !important; }
  .header-nav .nav-link::after { display: none; }
  .mobile-toggle { display: flex; }
  .mobile-toggle.active span { background: var(--text) !important; }

  .hero { height: 60vh; min-height: 400px; }
  .specialties-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .slider-prev { left: -10px; }
  .slider-next { right: -10px; }
  .gallery-slide { height: 350px; object-fit: contain; }
  .step-connector { display: none; }
  .process-step { gap: 0; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-bottom { text-align: center; }
  .cta-card { padding: 3rem 1.5rem; border-radius: 18px; }
  .scroll-indicator { display: none; }
  .intro { padding: 5rem 0 3rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .reveal-text { font-size: 1.8rem; }
  .section-title { font-size: 1.6rem; }
  .metrics-grid { grid-template-columns: 1fr; }
}
