/* ============================================
   SSV SOLUÇÕES INTEGRADAS - Design System
   Paleta: Azul Marinho #284B76, Verde Vibrante #27AE60, Branco
   Fontes: Chakra Petch (monograma SSV), Plus Jakarta Sans (corpo)
   Fundo branco com azul como cor principal
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy: #284B76;
  --navy-light: #3B6BA8;
  --navy-dark: #1E3A5C;
  --navy-mid: #2D5A8A;
  --green: #27AE60;
  --green-light: #2ECC71;
  --green-glow: rgba(39, 174, 96, 0.3);
  --green-dark: #1E8449;
  --orange: #F39C12;
  --orange-light: #F5B041;
  --white: #FFFFFF;
  --white-soft: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --success: #27AE60;
  --error: #EF4444;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-green: 0 0 30px rgba(39, 174, 96, 0.2);
  --shadow-green-hover: 0 0 30px rgba(39, 174, 96, 0.35);
  --shadow-navy: 0 0 30px rgba(40, 75, 118, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.logo-img:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

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

.nav-links a {
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--navy);
}

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

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

.btn-nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}

.btn-nav-cta:hover {
  background: var(--green) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-green);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

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

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
  background: linear-gradient(160deg, #f0f4f8 0%, #e8eef5 40%, #ffffff 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(40, 75, 118, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(39, 174, 96, 0.04) 0%, transparent 50%);
  z-index: 0;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: 
    linear-gradient(rgba(40, 75, 118, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 75, 118, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.badge-transition {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(40, 75, 118, 0.08);
  border: 1px solid rgba(40, 75, 118, 0.2);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--navy);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-headline .highlight {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(40, 75, 118, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 75, 118, 0.4);
}

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

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

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

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

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.whatsapp-icon {
  font-size: 1.2rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---- METRICS ---- */
.hero-metrics {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.metric {
  text-align: center;
}

.metric-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  display: inline;
}

.metric-suffix {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-light);
}

.metric-label {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 4px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, var(--navy), transparent);
  animation: scrollPulse 2s infinite;
  border-radius: 2px;
}

/* ---- SECTION HEADER ---- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 12px;
}

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

.section-header.light {
  color: var(--white);
}

.section-header.light h2 { color: var(--white); }
.section-header.light p { color: var(--gray-300); }

/* ---- PROJECTS ---- */
.projects-section {
  padding: 100px 0;
  background: var(--white-soft);
}

/* Projeto Ativo em Destaque */
.project-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--green);
  margin-bottom: 40px;
  transition: var(--transition);
}

.project-featured:hover {
  box-shadow: 0 25px 50px -12px rgba(39, 174, 96, 0.2);
}

.project-featured-visual {
  position: relative;
  min-height: 300px;
  background: linear-gradient(160deg, #1a365d 0%, #284B76 50%, #3B6BA8 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-featured-logo {
  height: 120px;
  width: 200px;
  max-width: 200px;
  max-height: 120px;
  object-fit: contain;
  z-index: 5;
  flex-shrink: 0;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
  transition: var(--transition);
}

.project-featured:hover .project-featured-logo {
  transform: scale(1.05);
}

.river-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0%;
  overflow: hidden;
  z-index: 1;
  animation: riverFill 8s ease-in-out infinite;
}

.river-wave {
  position: absolute;
  width: 200%;
  border-radius: 50%;
  left: -50%;
  animation: waveRise 4s ease-in-out infinite;
}

.river-wave:nth-child(1) {
  bottom: 0;
  height: 50px;
  background: rgba(39, 174, 96, 0.5);
  animation-delay: 0s;
}

.river-wave:nth-child(2) {
  bottom: 10px;
  height: 40px;
  background: rgba(39, 174, 96, 0.35);
  animation-delay: 0.5s;
}

.river-wave:nth-child(3) {
  bottom: 20px;
  height: 30px;
  background: rgba(39, 174, 96, 0.25);
  animation-delay: 1s;
}

.river-wave:nth-child(4) {
  bottom: 30px;
  height: 20px;
  background: rgba(39, 174, 96, 0.15);
  animation-delay: 1.5s;
}

@keyframes riverFill {
  0%, 100% { height: 0%; }
  50% { height: 60%; }
}

@keyframes waveRise {
  0%, 100% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(-25%) translateY(-5px); }
  50% { transform: translateX(-50%) translateY(0); }
  75% { transform: translateX(-25%) translateY(5px); }
}

.project-featured-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background: var(--white);
}

.project-featured-info .project-card-tag {
  position: static;
  align-self: flex-start;
  background: var(--green);
  color: var(--white);
}

.project-featured-info h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.2;
}

.project-featured-info p {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* 7 Projetos */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--navy);
}

.project-card-visual {
  position: relative;
  height: 160px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card-logo-text {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.3);
  z-index: 1;
  letter-spacing: 2px;
}

.project-card-logo {
  height: 80px;
  width: 80px;
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
  z-index: 1;
  border-radius: 16px;
  mix-blend-mode: screen;
  flex-shrink: 0;
  display: block;
}

.project-card-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.9);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 5;
  backdrop-filter: blur(10px);
}

.project-card-tag.development {
  background: var(--orange);
  color: var(--white);
}

.project-card-tag.finalization {
  background: #F1C40F;
  color: var(--navy-dark);
}

.project-card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-card-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.project-card-info p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ---- SERVICES ---- */
.services-section {
  padding: 100px 0;
  background: var(--white);
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--navy);
}

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

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-list {
  list-style: none;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: 700;
}

/* ---- TECHNOLOGIES ---- */
.tech-section {
  padding: 100px 0;
  background: var(--gray-100);
}

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

.tech-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.tech-item:hover {
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tech-icon {
  font-size: 2rem;
}

.tech-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-dark);
}

/* ---- TRANSITION / ABOUT ---- */
.transition-section {
  padding: 100px 0;
  background: var(--white);
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--navy), rgba(40, 75, 118, 0.2));
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--navy);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 4px rgba(40, 75, 118, 0.2);
}

.timeline-content {
  background: var(--white-soft);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.timeline-content:hover {
  background: var(--white);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.timeline-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

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

/* ---- TESTIMONIALS ---- */
.testimonials-section {
  padding: 100px 0;
  background: var(--white-soft);
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

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

.testimonial-stars {
  color: var(--navy);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 3rem;
  color: var(--navy);
  opacity: 0.15;
  position: absolute;
  top: -12px;
  left: -4px;
  font-style: normal;
  font-family: serif;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy-dark);
}

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

/* ---- FAQ ---- */
.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-list {
  max-width: 750px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-dark);
  font-family: inherit;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--navy);
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--navy);
  transition: var(--transition);
  min-width: 24px;
  text-align: center;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-answer.open {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ---- CTA SECTION ---- */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.cta-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
}

.cta-card h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-card p {
  font-size: 1.1rem;
  color: var(--gray-300);
  margin-bottom: 32px;
}

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

/* ---- FOOTER ---- */
.footer {
  background: var(--navy-dark);
  padding: 60px 0 30px;
  color: var(--gray-400);
}

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

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-top: 12px;
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--gray-400);
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

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

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--green);
  transform: translateY(-2px);
}

/* ---- FLOATING WHATSAPP ---- */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  overflow: hidden;
}

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

.whatsapp-emoji {
  font-size: 1.8rem;
  z-index: 2;
}

.pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulseRing 2s infinite;
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes scrollPulse {
  0% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.6); }
  100% { opacity: 1; transform: scaleY(1); }
}

@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes waveMove {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-25%); }
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ---- SMOOTH SCROLL OFFSET ---- */
section {
  scroll-margin-top: 80px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .project-featured {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-featured {
    grid-template-columns: 1fr;
  }
  .project-featured-logo {
    max-height: 80px;
  }
  .project-featured-info {
    padding: 24px;
  }
  .project-featured-info h3 {
    font-size: 1.4rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow-xl);
    border-top: 1px solid var(--gray-200);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-metrics {
    gap: 30px;
  }
  .metric-number {
    font-size: 2rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .cta-card {
    padding: 40px 24px;
  }
  .project-info {
    padding: 24px;
  }
  .project-name {
    font-size: 1.6rem;
  }
  .project-desc {
    font-size: 0.9rem;
    max-width: 200px;
  }
  .project-info h3 {
    font-size: 1.4rem;
  }
  .project-links {
    flex-direction: column;
  }
  .project-links .btn {
    flex: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 100px 16px 60px;
  }
  .hero-metrics {
    flex-direction: column;
    gap: 20px;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    flex-direction: column;
  }
}

/* ---- LOGO IMAGE RESPONSIVE ---- */
@media (max-width: 768px) {
  .logo-img {
    height: 32px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 28px;
  }
}
