@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --color-primary: #E68A1F;       /* Laranja */
  --color-primary-dark: #C67215;  /* Laranja Escuro */
  --color-primary-light: #FFF0E0; /* Laranja Claro */
  --color-dark-bg: #181818;       /* Preto */
  --color-dark-surface: #2D2D2D;  /* Grafite */
  --color-light-bg: #FFFFFF;      /* Branco */
  --color-light-surface: #F9F9F9; /* Cinza Claro */
  --color-border: #E5E5E5;        /* Borda Clara */
  --color-border-dark: #3D3D3D;   /* Borda Escura */
  
  /* Text Colors */
  --color-text-dark: #181818;
  --color-text-light: #FFFFFF;
  --color-text-muted: #757575;
  --color-text-muted-light: #A3A3A3;
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 30px 60px -15px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Layout */
  --header-height: 80px;
  --container-width: 1280px;
}

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

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

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

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--color-text-muted);
}

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

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 2rem;
  padding-left: 2rem;
}

.section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

.section-bg-dark {
  background-color: var(--color-dark-bg);
  color: var(--color-text-light);
}

.section-bg-dark p {
  color: var(--color-text-muted-light);
}

.section-bg-surface {
  background-color: var(--color-light-surface);
}

/* Scroll reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Dynamic Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-normal);
  background-color: transparent;
}

.header.scrolled {
  background-color: rgba(24, 24, 24, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  height: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

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

.header.scrolled .logo-img {
  height: 44px;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-light);
  position: relative;
  opacity: 0.85;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-normal);
}

.nav-link:hover {
  opacity: 1;
  color: var(--color-primary);
}

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

/* Header Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  box-shadow: 0 4px 14px rgba(230, 138, 31, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 138, 31, 0.45);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text-light);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(230, 138, 31, 0.2);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}

.nav-toggle-icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-light);
  position: relative;
  transition: var(--transition-normal);
}

.nav-toggle-icon::before, .nav-toggle-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-light);
  transition: var(--transition-normal);
}

.nav-toggle-icon::before { top: -8px; }
.nav-toggle-icon::after { bottom: -8px; }

.nav-toggle.active .nav-toggle-icon {
  background-color: transparent;
}
.nav-toggle.active .nav-toggle-icon::before {
  transform: rotate(45deg);
  top: 0;
}
.nav-toggle.active .nav-toggle-icon::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 120px;
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.75) 0%, rgba(24, 24, 24, 0.9) 100%), url('assets/hero_bg.png') no-repeat center center / cover;
  color: var(--color-text-light);
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-logo-box {
  margin-bottom: 2rem;
  animation: fadeInDown 1s ease;
}

.hero-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted-light);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 4rem;
  animation: fadeInUp 1s ease 0.4s;
  animation-fill-mode: both;
}

/* Floating Info Cards beneath Hero */
.hero-floating-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  animation: fadeInUp 1.2s ease 0.6s;
  animation-fill-mode: both;
}

.floating-card {
  background-color: rgba(45, 45, 45, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.floating-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  background-color: rgba(45, 45, 45, 0.95);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.floating-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: rgba(230, 138, 31, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.floating-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-light);
}

/* Section Header Typography */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 1.25rem;
  color: inherit;
}

.section-description {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Concerns Section (Dores vs Soluções DBAT) */
.concerns-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.concerns-left h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-dark);
}

.concerns-left .intro-text {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.objections-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.objection-card {
  background-color: var(--color-light-surface);
  border: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition-normal);
}

.objection-card:hover {
  border-color: rgba(220, 38, 38, 0.3);
  background-color: rgba(220, 38, 38, 0.01);
  transform: translateY(-2px);
}

.objection-icon {
  flex-shrink: 0;
  color: #DC2626; /* Vermelho para alerta */
  font-size: 1.2rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(220, 38, 38, 0.1);
  border-radius: var(--radius-full);
}

.objection-card span {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

.solution-panel {
  background-color: var(--color-dark-surface);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  color: var(--color-text-light);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.solution-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--color-primary);
}

.solution-tag {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: block;
}

.solution-panel h3 {
  font-size: 1.85rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.solution-panel p {
  color: var(--color-text-muted-light);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.solution-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.solution-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.solution-feature-icon {
  flex-shrink: 0;
  background-color: rgba(230, 138, 31, 0.15);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.solution-feature-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-text-light);
}

.solution-feature-text p {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
  color: var(--color-text-muted-light);
}

/* How DBAT Works (Grid of Cards) */
.how-we-work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.work-card {
  background-color: var(--color-light-bg);
  border: 1px solid var(--color-border);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.work-card-icon {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-light);
  border-radius: var(--radius-md);
}

.work-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

.work-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-top: auto;
}

/* Services Grid (Tudo em um único lugar) */
.services-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: flex-end;
}

.services-intro-left .section-tag {
  margin-bottom: 0.75rem;
}

.services-intro-left h2 {
  font-size: 2.25rem;
  margin: 0;
}

.services-intro-right p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0;
}

.services-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-grid-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--transition-normal);
}

.service-grid-card:hover {
  background-color: var(--color-dark-surface);
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card-icon-box {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.service-grid-card:hover .service-card-icon-box {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.service-card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: rgba(230, 138, 31, 0.1);
  color: var(--color-primary);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.service-grid-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-light);
}

/* Timeline Section (Como Funciona) */
.timeline-outer {
  position: relative;
  padding: 2rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.timeline-outer::-webkit-scrollbar {
  height: 8px;
}
.timeline-outer::-webkit-scrollbar-track {
  background: var(--color-light-surface);
  border-radius: var(--radius-full);
}
.timeline-outer::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: var(--radius-full);
}
.timeline-outer::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}

.timeline-row {
  display: flex;
  min-width: 1200px;
  padding-bottom: 2rem;
  position: relative;
}

.timeline-row::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 5%;
  width: 90%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-border) 0px, var(--color-border) 8px, transparent 8px, transparent 16px);
  z-index: 1;
}

.timeline-step {
  width: 14.28%; /* 7 steps */
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.timeline-number {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background-color: var(--color-light-bg);
  border: 2px solid var(--color-border);
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.timeline-step:hover .timeline-number {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: var(--color-text-light);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(230, 138, 31, 0.35);
}

.timeline-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text-dark);
}

.timeline-step p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

/* Building from Scratch Section */
.scratch-card {
  background: linear-gradient(135deg, var(--color-dark-surface) 0%, var(--color-dark-bg) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 4rem;
  color: var(--color-text-light);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  box-shadow: var(--shadow-premium);
}

.scratch-left h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.scratch-left p {
  color: var(--color-text-muted-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.scratch-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.scratch-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.scratch-feature-icon {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: rgba(230, 138, 31, 0.15);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.scratch-feature span {
  font-weight: 500;
  font-size: 1.05rem;
}

.scratch-right {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}

.scratch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scratch-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(24, 24, 24, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.scratch-overlay-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  border-left: 3px solid var(--color-primary);
  padding-left: 1rem;
  color: var(--color-text-light);
}

/* Why Choose DBAT (Grid + Comparison Table) */
.why-dbat-layout {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.why-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-feature-card {
  background-color: var(--color-light-surface);
  border: 1px solid var(--color-border);
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition-normal);
}

.why-feature-card:hover {
  background-color: var(--color-light-bg);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.why-icon-box {
  width: 36px;
  height: 36px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.why-feature-card span {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-text-dark);
}

/* Comparison Table Design */
.comparison-wrapper {
  background-color: var(--color-light-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.comparison-header {
  padding: 2.5rem 2rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.comparison-header h3 {
  font-size: 1.75rem;
  color: var(--color-text-dark);
}

.comparison-table-container {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.comparison-table th {
  background-color: var(--color-light-surface);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-dark);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table th.col-traditional {
  width: 35%;
  color: var(--color-text-muted);
}

.comparison-table th.col-dbat {
  width: 35%;
  color: var(--color-primary);
  background-color: rgba(230, 138, 31, 0.04);
}

.comparison-table td.cell-dbat {
  font-weight: 600;
  color: var(--color-text-dark);
  background-color: rgba(230, 138, 31, 0.02);
  border-left: 1px solid rgba(230, 138, 31, 0.05);
  border-right: 1px solid rgba(230, 138, 31, 0.05);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.cell-dbat:last-child {
  border-bottom: 1px solid var(--color-border);
}

.comparison-table tr:last-child td.cell-dbat {
  border-bottom: none;
}

.badge-comparison {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.badge-comparison.bad {
  color: #DC2626;
}

.badge-comparison.good {
  color: #16A34A; /* Verde */
}

/* Gallery (Serviços que Executamos) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

.gallery-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.2) 0%, rgba(24, 24, 24, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay-dark {
  background: linear-gradient(180deg, rgba(230, 138, 31, 0.1) 0%, rgba(24, 24, 24, 0.9) 100%);
}

.gallery-item h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.gallery-item p {
  font-size: 0.85rem;
  color: var(--color-text-muted-light);
  margin: 0;
}

.gallery-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 2rem;
  font-style: italic;
}

/* FAQ Accordion Section */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--color-light-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item:hover, .faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.faq-question h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-dark);
  padding-right: 1.5rem;
}

.faq-icon-box {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: var(--color-light-surface);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-box {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 2rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer-inner {
  border-top-color: var(--color-border);
}

/* CTA Final (Fundo Grafite e Conversão) */
.cta-final {
  background: linear-gradient(180deg, var(--color-dark-surface) 0%, var(--color-dark-bg) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-text-light);
  padding-top: 120px;
  padding-bottom: 120px;
}

.cta-final-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.cta-final-info .section-tag {
  margin-bottom: 1rem;
}

.cta-final-info h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.cta-final-info p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: var(--color-text-muted-light);
}

.cta-contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.contact-method-card:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: var(--color-primary);
  transform: translateX(4px);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(230, 138, 31, 0.15);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-method-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.contact-method-text p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-light);
}

/* Premium Form */
.cta-form-box {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.cta-form-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
}

.cta-form-box p {
  font-size: 0.9rem;
  margin-bottom: 2rem;
  color: var(--color-text-muted-light);
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted-light);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(230, 138, 31, 0.15);
}

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

.form-submit-btn {
  width: 100%;
  margin-top: 1rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  display: none;
}
.form-status.success {
  display: block;
  background-color: rgba(22, 163, 74, 0.15);
  color: #4ADE80;
  border: 1px solid rgba(22, 163, 74, 0.3);
}
.form-status.error {
  display: block;
  background-color: rgba(220, 38, 38, 0.15);
  color: #FCA5A5;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

/* Footer Section */
.footer {
  background-color: var(--color-dark-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-text-light);
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  align-self: flex-start;
}

.footer-brand h4 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-primary);
}

.footer-brand p {
  font-size: 0.92rem;
  color: var(--color-text-muted-light);
  line-height: 1.5;
  margin: 0;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link a {
  color: var(--color-text-muted-light);
  font-size: 0.92rem;
}

.footer-link a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--color-text-muted-light);
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 0.2rem;
}

.footer-contact-item a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--color-text-muted-light);
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: var(--color-text-muted-light);
}

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

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  font-size: 2rem;
  transition: var(--transition-normal);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.5);
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsive Grid and Media Queries */

/* Tablet and Smaller Screen adjustments */
@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-floating-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .concerns-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .how-we-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .scratch-card {
    grid-template-columns: 1fr;
    padding: 3rem;
    gap: 3rem;
  }
  
  .why-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-final-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

/* Mobile Screen Layouts */
@media (max-width: 768px) {
  .header {
    background-color: var(--color-dark-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-dark-bg);
    flex-direction: column;
    padding: 3rem 2rem;
    align-items: flex-start;
    gap: 2rem;
    transition: var(--transition-normal);
    z-index: 999;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .nav.active {
    left: 0;
  }
  
  .nav-link {
    font-size: 1.25rem;
  }
  
  .header-btn {
    display: none; /* Hide header btn on mobile, it is in hero/cta anyway */
  }
  
  .hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-right: auto;
    margin-left: auto;
    gap: 1rem;
  }
  
  .hero-floating-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  .objections-list {
    grid-template-columns: 1fr;
  }
  
  .solution-panel {
    padding: 2rem 1.5rem;
  }
  
  .solution-panel h3 {
    font-size: 1.5rem;
  }
  
  /* Timeline converts to vertical checklist on mobile */
  .timeline-row {
    min-width: auto;
    flex-direction: column;
    padding-bottom: 0;
  }
  
  .timeline-row::before {
    display: none;
  }
  
  .timeline-step {
    width: 100%;
    padding: 0;
    margin-bottom: 2.5rem;
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 1.25rem;
  }
  
  .timeline-step:last-child {
    margin-bottom: 0;
  }
  
  .timeline-number {
    margin-bottom: 0;
    width: 44px;
    height: 44px;
    font-size: 1rem;
    flex-shrink: 0;
  }
  
  .timeline-step h3 {
    margin-bottom: 0.25rem;
  }
  
  .why-features-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-form-box {
    padding: 2rem 1.5rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal-links {
    justify-content: center;
    width: 100%;
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .how-we-work-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid-wrapper {
    grid-template-columns: 1fr;
  }
  
  .comparison-table th, .comparison-table td {
    padding: 1rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .comparison-table th {
    font-size: 0.9rem;
  }
}
