/* =========================================
   LABOURÉ ENGENHARIA — DESIGN SYSTEM v2
   Palette: Teal Emerald + Cream + Dark
   ========================================= */

/* ---------- TOKENS ---------- */
:root {
  --teal-deep:   #062A25;
  --teal-dark:   #0A3D35;
  --teal-mid:    #0D5C4F;
  --teal:        #0E7A68;
  --teal-bright: #10A88F;
  --teal-glow:   #12C4A7;
  --cream:       #F2EDE6;
  --cream-warm:  #EDE4D8;
  --white:       #FFFFFF;
  --soft-black:  #060E0C;
  --dark-card:   #081A16;
  --gray-muted:  rgba(242,237,230,0.5);
  --glass-bg:    rgba(14,122,104,0.07);
  --glass-border: rgba(18,196,167,0.18);

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.37, 0, 0.63, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;

  --section-py: clamp(90px, 10vw, 150px);
  --container:  min(1260px, 90vw);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--soft-black);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--teal-deep); }
::-webkit-scrollbar-thumb { background: var(--teal-bright); border-radius: 99px; }

/* ---------- NOISE TEXTURE OVERLAY ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
}

/* ---------- PROGRESS BAR ---------- */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--teal-glow));
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px var(--teal-glow);
}

/* ---------- CURSOR GLOW (desktop) ---------- */
#cursor-glow {
  position: fixed;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18,196,167,0.055) 0%, transparent 66%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s;
  will-change: transform;
}

/* ---------- CONTAINER ---------- */
.container { width: var(--container); margin: 0 auto; }

/* ---------- SECTION TAGS & TITLES ---------- */
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-glow);
  margin-bottom: 16px;
}
.section-tag.light { color: rgba(18,196,167,0.8); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.section-header { text-align: center; margin-bottom: clamp(52px, 7vw, 90px); }

/* ---------- GLASS ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  padding: 14px 34px;
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Shimmer sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transition: left 0.5s var(--ease-out);
}
.btn:hover::before { left: 160%; }
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(-1px) scale(0.99); }

.btn-teal {
  background: linear-gradient(135deg, var(--teal), var(--teal-bright));
  color: var(--white);
  box-shadow: 0 4px 24px rgba(14,122,104,0.35), 0 0 0 0 rgba(18,196,167,0);
}
.btn-teal:hover { box-shadow: 0 8px 36px rgba(14,122,104,0.5), 0 0 0 6px rgba(18,196,167,0.12); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(242,237,230,0.28);
}
.btn-outline:hover { border-color: var(--teal-glow); color: var(--teal-glow); box-shadow: 0 0 20px rgba(18,196,167,0.12); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 24px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover { box-shadow: 0 8px 36px rgba(37,211,102,0.5); }
.btn-whatsapp svg { width: 20px; height: 20px; }

.btn-sm  { padding: 10px 24px; font-size: 0.83rem; }
.btn-lg  { padding: 18px 46px; font-size: 1rem; }

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 26px 0;
  transition: background 0.45s var(--ease-out), padding 0.4s, box-shadow 0.4s;
}
.navbar.scrolled {
  background: rgba(6,42,37,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(18,196,167,0.12), 0 8px 32px rgba(0,0,0,0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  margin: 0 auto;
}

.nav-logo { display: flex; flex-direction: column; line-height: 1; }
.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: -0.02em;
}
.logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal-glow);
}

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

.nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(242,237,230,0.75);
  letter-spacing: 0.03em;
  transition: color 0.25s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 1.5px;
  background: var(--teal-glow);
  border-radius: 2px;
  transition: width 0.35s var(--ease-out);
  box-shadow: 0 0 8px var(--teal-glow);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-cta-link {
  background: linear-gradient(135deg, var(--teal), var(--teal-bright));
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 2px 14px rgba(14,122,104,0.3);
}
.nav-cta-link::after { display: none; }
.nav-cta-link:hover { box-shadow: 0 4px 24px rgba(14,122,104,0.5); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.ham-bar { display: block; width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform 0.35s var(--ease-out), opacity 0.25s; }
.hamburger.open .ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; transform-origin: center center; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6,42,37,0.92) 0%,
    rgba(10,61,53,0.72) 50%,
    rgba(6,14,12,0.88) 100%
  );
}

/* Animated teal gradient orbs */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(14,122,104,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 90% 20%, rgba(18,196,167,0.12) 0%, transparent 55%);
}

.hero-content { position: relative; z-index: 2; max-width: 800px; padding-top: 100px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal-glow);
  margin-bottom: 22px;
  opacity: 0;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--teal-glow);
  box-shadow: 0 0 8px var(--teal-glow);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 26px;
  opacity: 0;
}
/* Gradient highlight on last word */
.hero-title .accent {
  background: linear-gradient(90deg, var(--teal-bright), var(--teal-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 400;
  color: rgba(242,237,230,0.68);
  margin-bottom: 48px;
  max-width: 520px;
  opacity: 0;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; }

/* Stats stripe */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  background: rgba(6,42,37,0.75);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(18,196,167,0.12);
  padding: 20px 0;
  opacity: 0;
  transform: translateY(20px);
}
.hero-stats-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-stat-divider {
  width: 1px; height: 28px;
  background: rgba(18,196,167,0.15);
}
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal-glow);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(242,237,230,0.55);
  line-height: 1.3;
  max-width: 100px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 80px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(180deg, transparent, var(--teal-glow));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  80% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
  100% { opacity: 0; }
}

/* =========================================
   INTRO SECTION
   ========================================= */
.intro-section {
  padding: var(--section-py) 0;
  background: var(--teal-deep);
  position: relative;
  overflow: hidden;
}
.intro-section::before {
  content: '';
  position: absolute;
  right: -200px; top: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,122,104,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.intro-inner { display: flex; align-items: flex-start; gap: 44px; max-width: 940px; }
.intro-line {
  flex-shrink: 0;
  width: 3px; height: 0;
  background: linear-gradient(180deg, var(--teal-glow), transparent);
  border-radius: 2px;
  margin-top: 10px;
  box-shadow: 0 0 12px rgba(18,196,167,0.4);
}
.intro-text {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(242,237,230,0.85);
  overflow: hidden;
}
.intro-text em { font-style: normal; color: var(--teal-glow); }

/* =========================================
   SERVICES
   ========================================= */
.services-section {
  padding: var(--section-py) 0;
  background: var(--soft-black);
  position: relative;
}
.services-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18,196,167,0.2), transparent);
}

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

.service-card {
  position: relative;
  background: linear-gradient(150deg, rgba(10,61,53,0.45) 0%, rgba(6,14,12,0.6) 100%);
  border: 1px solid rgba(18,196,167,0.1);
  border-radius: var(--radius-md);
  padding: 52px 38px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-out), border-color 0.35s;
  cursor: default;
}

/* Animated gradient border on hover via pseudo */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18,196,167,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: inherit;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18,196,167,0.15) 0%, transparent 65%);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
  opacity: 0;
  transform: scale(0.6);
}
.service-card:hover { transform: translateY(-10px) scale(1.015); box-shadow: 0 30px 70px rgba(14,122,104,0.2), 0 0 0 1px rgba(18,196,167,0.28) inset; border-color: rgba(18,196,167,0.3); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; transform: scale(1); }

.service-icon { width: 54px; height: 54px; color: var(--teal-glow); margin-bottom: 30px; }
.service-icon svg { width: 100%; height: 100%; }

/* Animated circle behind icon */
.service-icon-wrap {
  position: relative;
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.service-icon-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(14,122,104,0.12);
  border: 1px solid rgba(18,196,167,0.15);
  transition: transform 0.4s var(--ease-spring), background 0.3s;
}
.service-card:hover .service-icon-wrap::before { transform: scale(1.15); background: rgba(14,122,104,0.22); }
.service-icon-wrap .service-icon { width: 36px; height: 36px; margin-bottom: 0; }

.service-title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.service-desc { font-size: 0.88rem; color: rgba(242,237,230,0.55); line-height: 1.7; }

/* Hover arrow */
.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-glow);
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }
.service-arrow svg { width: 16px; height: 16px; transition: transform 0.25s; }
.service-card:hover .service-arrow svg { transform: translateX(4px); }

/* =========================================
   VIDEO SECTIONS
   ========================================= */
.video-section {
  position: relative;
  min-height: 72vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.video-bg-wrap { position: absolute; inset: 0; z-index: 0; }
.video-bg { width: 100%; height: 100%; object-fit: cover; }
.video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6,42,37,0.88) 0%, rgba(6,14,12,0.78) 100%);
}
.video-overlay::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(14,122,104,0.2) 0%, transparent 70%);
}
.video-content { position: relative; z-index: 2; text-align: center; }
.video-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 38px;
}

/* =========================================
   DIFERENCIAIS
   ========================================= */
.diferenciais-section {
  padding: var(--section-py) 0;
  background: var(--teal-deep);
  position: relative;
  overflow: hidden;
}
.diferenciais-section::before {
  content: '';
  position: absolute;
  left: -250px; bottom: -250px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,122,104,0.15) 0%, transparent 65%);
  pointer-events: none;
}

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

.diferencial-card {
  background: rgba(10,61,53,0.4);
  border: 1px solid rgba(18,196,167,0.12);
  border-radius: var(--radius-md);
  padding: 44px 28px;
  text-align: center;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s, box-shadow 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.diferencial-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--teal), var(--teal-glow));
  opacity: 0;
  transition: opacity 0.35s;
  z-index: -1;
}
.diferencial-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(14,122,104,0.22); background: rgba(13,92,79,0.5); border-color: rgba(18,196,167,0.35); }

.diferencial-icon { width: 40px; height: 40px; color: var(--teal-glow); margin: 0 auto 20px; }
.diferencial-icon svg { width: 100%; height: 100%; }

.diferencial-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--teal-glow);
  line-height: 1;
  margin-bottom: 10px;
}
.counter-suffix { font-size: 0.55em; }
.diferencial-label { font-size: 0.84rem; color: rgba(242,237,230,0.58); font-weight: 500; }

/* =========================================
   TIMELINE
   ========================================= */
.timeline-section {
  padding: var(--section-py) 0;
  background: var(--soft-black);
  position: relative;
}

.timeline-track {
  height: 2px;
  background: rgba(18,196,167,0.12);
  border-radius: 2px;
  margin-bottom: 56px;
  overflow: hidden;
}
.timeline-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--teal-glow));
  border-radius: 2px;
  box-shadow: 0 0 12px var(--teal-glow);
}

.timeline-items { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

.timeline-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }

.timeline-dot {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--teal-dark);
  border: 2px solid rgba(18,196,167,0.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--teal-glow);
  transition: background 0.4s var(--ease-spring), border-color 0.3s, box-shadow 0.4s, transform 0.4s var(--ease-spring);
}
.timeline-item.active .timeline-dot {
  background: linear-gradient(135deg, var(--teal), var(--teal-bright));
  color: var(--white);
  border-color: var(--teal-glow);
  box-shadow: 0 0 28px rgba(18,196,167,0.45), 0 0 0 6px rgba(18,196,167,0.08);
  transform: scale(1.1);
}

.timeline-title { font-family: var(--font-heading); font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.timeline-desc { font-size: 0.78rem; color: rgba(242,237,230,0.5); line-height: 1.6; }

/* =========================================
   CASES CAROUSEL
   ========================================= */
.cases-section { padding: var(--section-py) 0 0; background: var(--teal-dark); overflow: hidden; }

.cases-carousel {
  display: flex;
  gap: 24px;
  padding: 0 calc((100vw - var(--container)) / 2) 60px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-top: 20px;
}
.cases-carousel::-webkit-scrollbar { display: none; }

.case-slide {
  flex-shrink: 0;
  width: clamp(300px, 45vw, 640px);
  height: clamp(200px, 30vw, 420px);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  cursor: pointer;
  border: 1px solid rgba(18,196,167,0.08);
}
.case-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); background: var(--teal-dark); }
.case-slide:hover img { transform: scale(1.07); }

.case-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6,42,37,0.9) 0%, transparent 55%);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 30px;
  gap: 8px;
}
.case-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-glow);
  background: rgba(18,196,167,0.1);
  border: 1px solid rgba(18,196,167,0.4);
  padding: 3px 12px;
  border-radius: 99px;
}
.case-label { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--white); }

.cases-carousel-wrap { position: relative; }

.cases-nav {
  display: flex; gap: 12px;
  position: absolute;
  right: calc((100vw - var(--container)) / 2);
  bottom: 16px;
}
.case-nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(18,196,167,0.08);
  border: 1px solid rgba(18,196,167,0.2);
  color: var(--teal-glow);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
}
.case-nav-btn svg { width: 18px; height: 18px; }
.case-nav-btn:hover { background: var(--teal); color: var(--white); box-shadow: 0 4px 20px rgba(14,122,104,0.4); transform: scale(1.08); }

/* =========================================
   DEPOIMENTOS
   ========================================= */
.testimonials-section { padding: var(--section-py) 0; background: var(--teal-deep); }

.testimonials-track { position: relative; min-height: 280px; }

.testimonial-slide {
  position: absolute; top: 0; left: 0; right: 0;
  opacity: 0; pointer-events: none;
  transform: translateX(40px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.testimonial-slide.active { opacity: 1; pointer-events: auto; transform: translateX(0); position: relative; }

.testimonial-card { border-radius: var(--radius-md); padding: 52px 56px; max-width: 860px; margin: 0 auto; }

.testimonial-stars { color: var(--teal-glow); font-size: 1.1rem; letter-spacing: 4px; margin-bottom: 26px; }

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.7;
  color: rgba(242,237,230,0.82);
  margin-bottom: 38px;
}

.testimonial-author { display: flex; align-items: center; gap: 16px; }
.author-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-bright));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(14,122,104,0.35);
}
.author-info strong { display: block; font-weight: 700; font-size: 0.95rem; color: var(--white); }
.author-info span { font-size: 0.8rem; color: var(--teal-glow); font-weight: 500; }

.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 38px; }
.tdot { width: 8px; height: 8px; border-radius: 50%; background: rgba(18,196,167,0.2); border: none; transition: background 0.3s, transform 0.3s, box-shadow 0.3s; }
.tdot.active { background: var(--teal-glow); transform: scale(1.4); box-shadow: 0 0 10px rgba(18,196,167,0.5); }

/* =========================================
   SOBRE
   ========================================= */
.sobre-section { padding: var(--section-py) 0; background: var(--soft-black); position: relative; overflow: hidden; }
.sobre-section::before {
  content: '';
  position: absolute;
  right: -200px; top: 50%;
  transform: translateY(-50%);
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,122,104,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; position: relative; z-index: 1; }

.sobre-text p { font-size: 0.94rem; color: rgba(242,237,230,0.65); line-height: 1.8; margin-bottom: 18px; }
.sobre-text strong { color: var(--teal-glow); }

.sobre-badges { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.badge { border-radius: var(--radius-sm); padding: 14px 22px; display: flex; flex-direction: column; gap: 4px; }
.badge strong { font-size: 0.92rem; color: var(--teal-glow); }
.badge span { font-size: 0.73rem; color: rgba(242,237,230,0.48); }

.sobre-card { border-radius: var(--radius-lg); padding: 52px 44px; }
.sobre-metric { text-align: center; margin-bottom: 28px; }
.sobre-num { font-family: var(--font-heading); font-size: 4.5rem; font-weight: 800; color: var(--teal-glow); display: block; line-height: 1; text-shadow: 0 0 40px rgba(18,196,167,0.3); }
.sobre-num sup { font-size: 0.42em; vertical-align: super; }
.sobre-label { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(242,237,230,0.42); margin-top: 6px; display: block; }
.sobre-divider { height: 1px; background: rgba(18,196,167,0.12); margin-bottom: 28px; }
.sobre-list li {
  font-size: 0.87rem; color: rgba(242,237,230,0.65);
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; gap: 12px;
}
.sobre-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-glow);
  box-shadow: 0 0 8px var(--teal-glow);
  flex-shrink: 0;
}

/* =========================================
   CTA FINAL
   ========================================= */
.cta-section {
  position: relative;
  padding: var(--section-py) 0;
  background: var(--teal-dark);
  overflow: hidden;
  text-align: center;
}
.cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(18,196,167,0.16) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(14,122,104,0.14) 0%, transparent 60%);
  pointer-events: none;
}

/* Animated ring */
.cta-ring {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(18,196,167,0.06);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 6s ease-in-out infinite;
}
.cta-ring:nth-child(2) {
  width: 900px; height: 900px;
  border-color: rgba(18,196,167,0.04);
  animation-delay: 2s;
}
@keyframes ringPulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.04); }
}

.cta-content { position: relative; z-index: 1; }
.cta-title { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 800; line-height: 1.12; color: var(--white); margin-bottom: 20px; }
.cta-subtitle { font-size: clamp(1rem, 1.8vw, 1.15rem); color: rgba(242,237,230,0.6); max-width: 540px; margin: 0 auto 54px; }
.cta-buttons { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--soft-black);
  padding: 56px 0 38px;
  border-top: 1px solid rgba(18,196,167,0.08);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.footer-tagline { font-size: 0.76rem; color: rgba(242,237,230,0.35); margin-top: 8px; letter-spacing: 0.07em; }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.83rem; color: rgba(242,237,230,0.38); transition: color 0.2s; }
.footer-links a:hover { color: var(--teal-glow); }
.footer-copy { font-size: 0.76rem; color: rgba(242,237,230,0.2); }

/* =========================================
   FLOATING WHATSAPP
   ========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 900;
  width: 62px; height: 62px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.3s;
  overflow: visible;
}
.whatsapp-float svg { width: 30px; height: 30px; color: #fff; }
.whatsapp-float:hover { transform: scale(1.12) translateY(-3px); box-shadow: 0 12px 40px rgba(37,211,102,0.6); }

/* Ping animation */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: waPing 2.5s ease-out infinite;
}
@keyframes waPing {
  0% { transform: scale(1); opacity: 0.5; }
  80%, 100% { transform: scale(1.7); opacity: 0; }
}

.wfloat-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  background: var(--teal-deep);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(18,196,167,0.2);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.whatsapp-float:hover .wfloat-tooltip { opacity: 1; transform: translateX(0); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-stats-inner { gap: 16px; }
}

@media (max-width: 768px) {
  :root { --section-py: clamp(64px, 12vw, 104px); }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 285px; height: 100dvh;
    background: rgba(6,42,37,0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    padding: 40px 32px;
    transition: right 0.42s var(--ease-out);
    z-index: 999;
    border-left: 1px solid rgba(18,196,167,0.15);
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 1rem; }
  .hamburger { display: flex; z-index: 1001; }

  .hero-content { padding-top: 80px; }
  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero-ctas .btn { justify-content: center; }
  .hero-stats { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-items { grid-template-columns: 1fr; }
  .timeline-track { display: none; }

  .testimonial-card { padding: 32px 24px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer-links { gap: 20px; }
  .sobre-grid { gap: 40px; }
  .cases-carousel { padding: 0 24px 60px; }
  .case-slide { width: 85vw; height: 55vw; }
  .cases-nav { right: 24px; }
  .whatsapp-float { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .diferenciais-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 2.1rem; }
}

/* =========================================
   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; }
  .cta-ring, .whatsapp-float::before, .scroll-line { animation: none; }
}

/* GSAP init states */
.gsap-fade-up  { opacity: 0; transform: translateY(50px); }
.gsap-fade-in  { opacity: 0; }
.gsap-scale-in { opacity: 0; transform: scale(0.88); }
