/* ============================================================
   DFTech - CSS Principal
   Paleta:
     --primary: #0B1D3A (azul escuro)
     --primary-light: #1A3A6B
     --accent: #00A3FF (azul claro destaque)
     --accent-hover: #0088DD
     --white: #FFFFFF
     --gray-50: #F8FAFC
     --gray-100: #F1F5F9
     --gray-200: #E2E8F0
     --gray-300: #CBD5E1
     --gray-400: #94A3B8
     --gray-500: #64748B
     --gray-600: #475569
     --gray-700: #334155
     --gray-800: #1E293B
     --gray-900: #0F172A
     --success: #10B981
     --nfe: #2563EB
     --nfce: #7C3AED
     --nfse: #059669
   ============================================================ */

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

:root {
  --primary: #0B1D3A;
  --primary-light: #1A3A6B;
  --accent: #00A3FF;
  --accent-hover: #0088DD;
  --accent-glow: rgba(0, 163, 255, 0.15);
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --success: #10B981;
  --nfe: #2563EB;
  --nfce: #7C3AED;
  --nfse: #059669;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-accent: 0 8px 32px rgba(0, 163, 255, 0.25);
  --transition: 0.3s ease;
  --transition-fast: 0.15s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: var(--radius);
}

.btn-xl {
  padding: 18px 36px;
  font-size: 17px;
  border-radius: var(--radius-lg);
}

.btn-full {
  width: 100%;
}

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 22px;
  color: var(--primary);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-text {
  color: var(--primary);
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-fallback {
  display: none;
  align-items: center;
  gap: 6px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--gray-50);
}

.nav-cta {
  margin-left: 12px;
  padding: 10px 22px;
  font-size: 14px;
}

.nav-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 8px;
  border-radius: var(--radius-sm);
  color: var(--gray-500);
  transition: var(--transition);
}

.nav-icon-link:hover {
  background: var(--gray-50);
  color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.hamburger:hover {
  background: var(--gray-50);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* ==================== HERO ==================== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-text {
  font-size: 18px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Visual / Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
}

.hero-mockup img {
  width: 100%;
  display: block;
}

.mockup-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px 40px;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  color: var(--gray-400);
  font-size: 14px;
  font-weight: 500;
}

.mockup-placeholder svg {
  opacity: 0.3;
}

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

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-title-left {
  text-align: left;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ==================== BENEFITS ==================== */
.benefits {
  background: var(--white);
}

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

.benefit-card {
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.benefit-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--accent-glow);
  color: var(--accent);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.benefit-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.benefit-text {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ==================== DOCUMENTOS FISCAIS ==================== */
.fiscal {
  background: var(--gray-50);
}

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

.fiscal-card {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

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

.fiscal-card-highlight {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  position: relative;
}

.fiscal-card-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.fiscal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.fiscal-icon span {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}

.fiscal-nfe {
  background: linear-gradient(135deg, var(--nfe), #3B82F6);
}

.fiscal-nfce {
  background: linear-gradient(135deg, var(--nfce), #8B5CF6);
}

.fiscal-nfse {
  background: linear-gradient(135deg, var(--nfse), #34D399);
}

.fiscal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.fiscal-text {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.fiscal-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fiscal-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-600);
}

.fiscal-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ==================== SYSTEM SHOWCASE ==================== */
.system-showcase {
  background: var(--white);
  overflow: hidden;
}

.showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.showcase-layout > * {
  min-width: 0;
}

.showcase-text {
  padding-top: 20px;
}

.showcase-feature {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.showcase-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.showcase-feature h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.showcase-feature p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Carousel */
.carousel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  background: var(--white);
  width: 100%;
  max-width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
}

.carousel-slide img {
  width: 100%;
  display: block;
}

.slide-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 100px 40px;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  color: var(--gray-400);
  font-size: 14px;
  font-weight: 500;
}

.slide-placeholder svg {
  opacity: 0.3;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
  color: var(--gray-600);
  z-index: 2;
}

.carousel-btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.carousel-prev {
  left: 16px;
}

.carousel-next {
  right: 16px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ==================== MODULES ==================== */
.modules {
  background: var(--gray-50);
}

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

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

.module-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.module-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--accent-glow);
  color: var(--accent);
  border-radius: var(--radius);
}

.module-icon-nfe {
  background: rgba(37, 99, 235, 0.1);
  color: var(--nfe);
}

.module-icon-nfce {
  background: rgba(124, 58, 237, 0.1);
  color: var(--nfce);
}

.module-icon-nfse {
  background: rgba(5, 150, 105, 0.1);
  color: var(--nfse);
}

.module-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.module-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ==================== DIFFERENTIALS ==================== */
.differentials {
  background: var(--white);
}

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

.diff-card {
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.diff-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.diff-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 12px;
  line-height: 1;
}

.diff-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.diff-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ==================== DOWNLOAD ==================== */
.download-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.download-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.download-box {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px 0;
}

.download-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.download-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.download-info {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.download-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.download-info-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
}

.download-info-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.download-btn {
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(0, 163, 255, 0.3);
}

.download-btn:hover {
  box-shadow: 0 12px 48px rgba(0, 163, 255, 0.45);
  transform: translateY(-3px);
}

.download-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ==================== ABOUT ==================== */
.about {
  background: var(--gray-50);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content .section-tag {
  margin-bottom: 16px;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-text {
  font-size: 16px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.about-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
}

.about-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-radius: 50%;
  flex-shrink: 0;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4/3;
  background: var(--white);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-xl);
  color: var(--gray-400);
  font-size: 14px;
  font-weight: 500;
}

.about-placeholder svg {
  opacity: 0.3;
}

/* ==================== CONTACT ==================== */
.contact {
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

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

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: var(--gray-50);
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact-info-card:hover {
  background: var(--gray-100);
}

.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  color: var(--accent);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.contact-info-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.contact-info-card p,
.contact-info-card p a {
  font-size: 14px;
  color: var(--gray-500);
}

.contact-info-card p a:hover {
  color: var(--accent);
}

/* Form */
.contact-form-wrapper {
  background: var(--gray-50);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--gray-700);
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

/* ==================== FOOTER ==================== */
.footer {
  background: var(--gray-900);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-img {
  height: 32px;
}

.footer-desc {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

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

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray-500);
}

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

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

.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #25D366;
  border-radius: 50%;
  animation: whatsapp-pulse 2s infinite;
  z-index: -1;
}

@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ==================== ANIMATIONS ==================== */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */

/* Tablet */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 38px;
  }

  .hero-inner {
    gap: 40px;
  }

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

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

  .fiscal-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

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

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

  .showcase-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

/* Mobile */
@media (max-width: 768px) {
  .logo-img {
    height: 30px;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }

  .nav.active {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 4px;
  }

  .nav-link {
    display: block;
    padding: 12px 16px;
    width: 100%;
    text-align: left;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 28px;
  }

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

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

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

  .fiscal-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

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

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .download-title {
    font-size: 28px;
  }

  .download-info {
    gap: 32px;
  }

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

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

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

  .section-title {
    font-size: 24px;
  }

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

  .contact-form-wrapper {
    padding: 24px 20px;
  }

  .download-btn {
    width: 100%;
  }
}
