/* =============================================
   BIdaTX - Professional Website Stylesheet
   Colors based on brand presentation:
   - Primary Dark: #0B1A2E (navy)
   - Primary: #1A3A5C (dark blue)
   - Accent: #3B82F6 (bright blue)
   - Accent Light: #60A5FA (light blue)
   - Accent Gradient: #2563EB → #06B6D4
   - Surface: #F8FAFC
   - Text: #1E293B
   ============================================= */

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

:root {
  --navy: #0b1a2e;
  --navy-light: #122240;
  --navy-mid: #1a3a5c;
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --blue-light: #60a5fa;
  --cyan: #06b6d4;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --white: #ffffff;
  --text: #1e293b;
  --text-light: #64748b;
  --text-lighter: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-md:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-lg:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: "Space Grotesk", "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

/* === Preloader === */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

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

.loader-ring {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(59, 130, 246, 0.2);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loader-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

/* === Typography === */
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue);
  background: rgba(59, 130, 246, 0.08);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.text-gradient {
  background: linear-gradient(135deg, var(--blue-dark), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-highlight {
  color: var(--blue);
}

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

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

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

/* === Grid === */
.section-grid {
  display: grid;
  gap: 60px;
  align-items: center;
}

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

/* === Section Base === */
.section {
  padding: 100px 0;
}

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

.navbar.scrolled {
  background: rgba(11, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

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

.nav-logo img {
  height: 44px;
  width: auto;
}

.navbar.scrolled .nav-logo img {
  height: 38px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-link-cta {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white) !important;
  margin-left: 8px;
  padding: 8px 20px;
}

.nav-link-cta:hover {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  transform: translateY(-1px);
}

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

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

.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 === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

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

#heroCanvas {
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(11, 26, 46, 0.3) 0%,
    rgba(11, 26, 46, 0.7) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 120px;
  padding-bottom: 60px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--blue-light);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

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

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

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

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue-light);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
}

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

.hero-scroll-indicator a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
}

.scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-arrow {
  animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* === Sobre Section === */
.section-sobre {
  background: var(--white);
}

.sobre-text {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.sobre-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.feature-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Visual Card (Sobre section) */
.sobre-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.visual-card-inner {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 4px;
  box-shadow: var(--shadow-xl);
}

.data-viz {
  background: var(--navy-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.viz-header {
  display: flex;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.viz-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.viz-dot.red {
  background: #ef4444;
}
.viz-dot.yellow {
  background: #eab308;
}
.viz-dot.green {
  background: #22c55e;
}

.viz-content {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.viz-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  width: 70px;
  text-align: right;
  flex-shrink: 0;
  font-weight: 500;
}

.viz-bar {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.viz-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue-dark), var(--cyan));
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.viz-bar-fill.animated {
  width: var(--width);
}

.viz-footer {
  padding: 14px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.viz-tag {
  font-size: 0.7rem;
  color: var(--blue-light);
  background: rgba(59, 130, 246, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 500;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  color: var(--navy);
  animation: float 6s ease-in-out infinite;
}

.floating-badge svg {
  color: var(--blue);
  flex-shrink: 0;
}

.floating-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}

.badge-1 {
  top: -20px;
  right: -20px;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 30px;
  left: -30px;
  animation-delay: 3s;
}

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

/* === Services Section === */
.section-servicos {
  background: var(--surface);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-dark), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

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

.service-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1),
    rgba(6, 182, 212, 0.1)
  );
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.service-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--surface-2);
  line-height: 1;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--text-light);
  padding-left: 20px;
  position: relative;
}

.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

/* === Methodology Section === */
.section-metodologia {
  background: var(--white);
}

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

.timeline-line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
  opacity: 0.2;
}

.timeline-step {
  display: flex;
  gap: 32px;
  padding-bottom: 48px;
  position: relative;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.step-marker {
  position: relative;
  flex-shrink: 0;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  position: relative;
  z-index: 2;
}

.step-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  opacity: 0;
  animation: pulse-ring 3s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

.step-content {
  flex: 1;
  padding-top: 4px;
}

.step-icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 12px;
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* === Diferenciais / Pilares Section === */
.section-diferenciais {
  background: var(--navy);
  color: var(--white);
}

.section-diferenciais .section-tag {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue-light);
}

.section-diferenciais .section-title {
  color: var(--white);
}

.section-diferenciais .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

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

.pilar-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pilar-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-4px);
}

.pilar-featured {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.2);
}

.pilar-visual {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.pilar-icon-large {
  color: var(--blue-light);
  opacity: 0.8;
}

.pilar-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
}

.pilar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

.pilar-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.pilar-tags span {
  font-size: 0.75rem;
  color: var(--blue-light);
  background: rgba(59, 130, 246, 0.12);
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 500;
}

/* === Blog Section === */
.section-blog {
  background: var(--surface);
}

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

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.blog-card-image {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-placeholder {
  color: rgba(255, 255, 255, 0.15);
}

.blog-category {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(59, 130, 246, 0.85);
  padding: 4px 12px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

.blog-card-content {
  padding: 24px;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-lighter);
  display: block;
  margin-bottom: 8px;
}

.blog-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 8px;
}

.blog-card-content p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* === CTA Section === */
.section-cta {
  padding: 0;
  margin-top: -50px;
  margin-bottom: -50px;
  position: relative;
  z-index: 10;
}

.cta-card {
  background: linear-gradient(135deg, var(--blue-dark), var(--navy-mid));
  border-radius: var(--radius-xl);
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 550px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

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

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

.cta-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-circle-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -50px;
}
.cta-circle-2 {
  width: 200px;
  height: 200px;
  bottom: -60px;
  left: -30px;
}
.cta-circle-3 {
  width: 150px;
  height: 150px;
  top: 20px;
  left: 60%;
}

/* === Contato Section === */
.section-contato {
  background: var(--white);
  padding-top: 120px;
}

.contato-text {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.contact-channel:hover {
  border-color: var(--blue);
  background: rgba(59, 130, 246, 0.04);
  transform: translateX(4px);
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon.whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
}

.channel-icon.email {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
}

.channel-icon.phone {
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan);
}

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

.contact-channel span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Contact Form */
.contato-form-wrap {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 8px;
}

.contato-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
}

.contato-form h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
}

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

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

.contato-form input,
.contato-form select,
.contato-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
}

.contato-form input:focus,
.contato-form select:focus,
.contato-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: var(--white);
}

.contato-form input::placeholder,
.contato-form textarea::placeholder {
  color: var(--text-lighter);
}

.contato-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.contato-form textarea {
  resize: vertical;
  min-height: 100px;
}

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

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  max-width: 300px;
}

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

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--blue);
  color: var(--white);
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 6px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--blue-light);
  transform: translateX(4px);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

/* === WhatsApp Float === */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

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

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--white);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* === Back to Top === */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 100px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--blue);
  transform: translateY(-3px);
}

/* === Animations === */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

[data-animate="fadeRight"] {
  transform: translateX(-30px);
}

[data-animate="fadeLeft"] {
  transform: translateX(30px);
}

[data-animate].animated {
  opacity: 1;
  transform: translate(0, 0);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .sobre-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: 80px 32px 40px;
    gap: 4px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
  }

  .nav-link-cta {
    margin-left: 0;
    margin-top: 16px;
    text-align: center;
    display: block;
  }

  .nav-toggle {
    display: flex;
  }

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

  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: 70px 0;
  }

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

  .cta-card {
    padding: 40px 24px;
  }

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

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

  .floating-badge {
    display: none;
  }

  .timeline-line {
    left: 18px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .timeline-step {
    gap: 20px;
  }

  .methodology-timeline {
    padding-left: 0;
  }

  .section-contato {
    padding-top: 80px;
  }

  .contato-form {
    padding: 24px;
  }

  .back-to-top {
    right: 100px;
    bottom: 28px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding-top: 100px;
  }

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

  .stat-suffix {
    font-size: 1.2rem;
  }

  .container {
    padding: 0 16px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .reforma-phases {
    grid-template-columns: 1fr !important;
  }

  .reforma-timeline {
    flex-direction: column !important;
    gap: 20px !important;
  }

  .rt-item::after {
    display: none !important;
  }

  .wl-cards-stack {
    margin-top: 32px;
  }

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

/* =============================================
   REFORMA TRIBUTÁRIA SECTION
   ============================================= */
.section-reforma {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.reforma-alert {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.06),
    rgba(239, 68, 68, 0.02)
  );
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 48px;
}

.reforma-alert-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
}

.reforma-alert-content strong {
  display: block;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.reforma-alert-content p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Reform Timeline */
.reforma-timeline-wrap {
  margin-bottom: 56px;
}

.reforma-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 0 20px;
}

.reforma-timeline::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--border);
  z-index: 0;
}

.rt-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.rt-year {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.rt-marker {
  width: 18px;
  height: 18px;
  background: var(--border);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--border);
  margin-bottom: 12px;
  position: relative;
}

.rt-active .rt-marker {
  background: var(--blue);
  box-shadow:
    0 0 0 2px var(--blue),
    0 0 0 6px rgba(59, 130, 246, 0.2);
}

.rt-pulse-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  animation: pulse-ring 2s ease-out infinite;
}

.rt-active .rt-year {
  color: var(--blue);
}

.rt-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 2px;
}

.rt-info p {
  font-size: 0.8rem;
  color: var(--text-light);
}

.rt-badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  background: var(--blue);
  padding: 3px 10px;
  border-radius: 100px;
}

.reforma-subtitle {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 32px;
}

/* Phase Cards */
.reforma-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.phase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: var(--transition);
}

.phase-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.phase-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(59, 130, 246, 0.1);
  line-height: 1;
  margin-bottom: 8px;
}

.phase-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.phase-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 12px;
}

.phase-prazo {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(59, 130, 246, 0.08);
  padding: 3px 10px;
  border-radius: 100px;
}

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

.reforma-footer p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 20px;
  font-weight: 500;
}

/* =============================================
   WHITE LABEL SECTION
   ============================================= */
.section-whitelabel {
  background: var(--surface);
}

.wl-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.wl-benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.wl-benefit-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(59, 130, 246, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.wl-benefit-item span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
}

.wl-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wl-card-segment {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.wl-card-segment:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}

.wl-segment-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.08),
    rgba(6, 182, 212, 0.08)
  );
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.wl-card-segment h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.wl-card-segment p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* =============================================
   CLIENTES & PARCEIROS SECTION
   ============================================= */
.section-clientes {
  background: var(--navy);
  overflow: hidden;
}

.section-clientes .section-tag {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue-light);
}

.section-clientes .section-title {
  color: var(--white);
}

.section-clientes .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

/* Marquee scrolling animation */
.clients-marquee {
  margin-bottom: 48px;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.clients-track {
  display: flex;
  gap: 24px;
  animation: marquee 40s linear infinite;
  width: max-content;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.client-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.client-logo-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
}

.client-logo-item span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* Static grid for clients */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.client-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  transition: var(--transition);
  text-align: center;
}

.client-card:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-2px);
}

.client-card span {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.3px;
}

@media (max-width: 1024px) {
  .reforma-phases {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .wl-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .reforma-phases {
    grid-template-columns: 1fr;
  }

  .reforma-timeline {
    flex-direction: column;
    gap: 24px;
    padding: 0;
  }

  .reforma-timeline::before {
    top: 0;
    bottom: 0;
    left: 44px;
    width: 3px;
    height: auto;
    right: auto;
  }

  .rt-item {
    flex-direction: row;
    text-align: left;
    gap: 16px;
  }

  .rt-year {
    min-width: 50px;
    font-size: 1.2rem;
  }

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

  .reforma-alert {
    flex-direction: column;
    gap: 16px;
  }
}
