/* ==========================================================================
   Audax Engenharia - Design System & Stylesheet
   Design Tokens, Fluid Typography, Micro-interactions & Responsive Layout
   ========================================================================== */

:root {
  /* Brand Palette */
  --primary: #023f75;
  --primary-dark: #002444;
  --primary-deep: #001529;
  --primary-light: #06559d;
  
  --accent: #ffef00;
  --accent-hover: #e5d700;
  --accent-glow: rgba(255, 239, 0, 0.35);
  
  --bg-dark: #001d38;
  --bg-darker: #001326;
  --bg-card: rgba(2, 63, 117, 0.45);
  --bg-card-hover: rgba(2, 63, 117, 0.75);
  --bg-light: #f8fafc;
  
  --text-main: #ffffff;
  --text-muted: #b0c4de;
  --text-dark: #1e293b;
  --text-dark-muted: #64748b;
  
  --border-light: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(255, 239, 0, 0.3);
  
  /* Typography */
  --font-heading: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Layout */
  --container-max: 1200px;
  --header-height: 84px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Shadows & Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-accent: 0 8px 25px rgba(255, 239, 0, 0.25);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

/* Background Pattern Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/fundo-pagina.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.85;
  z-index: -1;
  pointer-events: none;
}

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

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

ul {
  list-style: none;
}

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

.text-accent {
  color: var(--accent) !important;
}

.text-gradient {
  color: var(--accent);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

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

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 239, 0, 0.4);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}

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

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

.btn-lg {
  padding: 1.15rem 2.25rem;
  font-size: 1.05rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-outline {
  border: 1px solid var(--border-accent);
  background: rgba(255, 239, 0, 0.08);
  color: var(--accent);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 29, 56, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header.scrolled {
  background: rgba(0, 21, 41, 0.95);
  height: 72px;
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(255, 239, 0, 0.15);
}

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

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

.logo-img {
  height: 48px;
  width: auto;
  transition: var(--transition);
}

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

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

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

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

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

.nav-cta {
  display: flex;
  align-items: center;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-main);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/banner-fundo-hero.png');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero-tag {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-tag::after {
  content: '';
  display: inline-block;
  width: 50px;
  height: 2px;
  background-color: var(--accent);
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.hero-metric-item {
  display: flex;
  flex-direction: column;
}

.hero-metric-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.hero-metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
}

.hero-image-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

.floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(0, 21, 41, 0.9);
  border: 1px solid var(--border-accent);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
}

.floating-badge svg {
  color: var(--accent);
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.floating-badge-text {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
}

.floating-badge-text span {
  color: var(--accent);
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ==========================================================================
   Section: Dores x Solução (Pain Points)
   ========================================================================== */

.pain-section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pain-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 239, 0, 0.15);
}

.pain-card-img-wrapper {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.pain-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pain-card:hover .pain-card-img-wrapper img {
  transform: scale(1.06);
}

.pain-card-body {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
  background: rgba(0, 24, 48, 0.6);
}

.pain-card-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.4;
}

.pain-conclusion {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(2, 63, 117, 0.6) 0%, rgba(0, 36, 68, 0.8) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.pain-conclusion h3 {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.pain-conclusion p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ==========================================================================
   Section: Diferenciais (+100 Obras)
   ========================================================================== */

.differentials-section {
  padding: 5.5rem 0;
  position: relative;
}

.differentials-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.differentials-media {
  position: relative;
}

.differentials-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.differentials-features {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--bg-card);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateX(8px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  background: rgba(255, 239, 0, 0.12);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-wrapper img {
  width: 28px;
  height: 28px;
}

.feature-text {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.5;
}

.feature-text strong {
  color: var(--accent);
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

/* ==========================================================================
   Section: Por Que Escolher (4 Pilares)
   ========================================================================== */

.pillars-section {
  padding: 5.5rem 0;
  position: relative;
}

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

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 60px;
  height: 60px;
  background: rgba(2, 63, 117, 0.8);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon img {
  width: 32px;
  height: 32px;
}

.pillar-content h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.pillar-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.55;
}

/* ==========================================================================
   Section: Obras Entregues (Portfolio)
   ========================================================================== */

.portfolio-section {
  padding: 6rem 0;
  position: relative;
}

.portfolio-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.portfolio-counter-box {
  background: rgba(2, 63, 117, 0.5);
  border: 1px solid var(--border-accent);
  padding: 1.25rem 2rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  backdrop-filter: blur(8px);
}

.counter-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.counter-label {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.counter-label span {
  color: var(--accent);
  display: block;
  font-size: 0.95rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.project-thumb {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 24, 48, 0.85) 0%, transparent 60%);
  opacity: 0.8;
  transition: var(--transition);
}

.project-info {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 20, 40, 0.75);
}

.project-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.btn-project {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  padding: 0.55rem 1.1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.btn-project:hover {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}

.portfolio-footer-cta {
  margin-top: 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.portfolio-footer-cta h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
}

/* ==========================================================================
   Section: Depoimentos (Testimonials)
   ========================================================================== */

.testimonials-section {
  padding: 5.5rem 0;
  position: relative;
}

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

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-dark);
  transition: var(--transition);
}

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

.testimonial-stars {
  color: #f59e0b;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.testimonial-stars svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.testimonial-text {
  font-size: 1.05rem;
  color: #334155;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
}

.testimonial-avatar-initial {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
}

/* ==========================================================================
   Section: Processo (Como Funciona)
   ========================================================================== */

.process-section {
  padding: 5.5rem 0;
  background-image: url('../images/banner-fundo-hero.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.process-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 21, 41, 0.85);
  pointer-events: none;
}

.process-container {
  position: relative;
  z-index: 2;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
}

.process-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  transition: var(--transition);
}

.process-step-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-lg);
}

.step-badge {
  position: absolute;
  top: -16px;
  background: var(--accent);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.step-icon {
  width: 72px;
  height: 72px;
  background: rgba(255, 239, 0, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon img {
  width: 40px;
  height: 40px;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
}

/* ==========================================================================
   Section: CTA Final
   ========================================================================== */

.cta-section {
  padding: 6rem 0;
  position: relative;
}

.cta-banner {
  background-image: url('../images/banner-cta.png');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  padding: 4.5rem 3rem;
  border: 1px solid var(--border-accent);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 24, 48, 0.7);
  z-index: 1;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.cta-desc {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background-image: url('../images/fundo-rodape.png');
  background-size: cover;
  background-position: center;
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-light);
  padding: 4.5rem 0 2rem 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

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

.footer-logo {
  height: 48px;
  width: auto;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-cnpj {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.footer-links h4,
.footer-social h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
  position: relative;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.social-icons-wrapper {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition);
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

.social-btn:hover {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
  transform: translateY(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */

.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #25d366;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  animation: pulse-green 2.5s infinite;
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.floating-whatsapp:hover {
  background-color: #20ba5a;
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

@keyframes pulse-green {
  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 Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    align-items: center;
  }

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

  .hero-tag::after {
    display: none;
  }

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

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

  .process-steps {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(0, 21, 41, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2.5rem 1.5rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .mobile-toggle {
    display: block;
  }

  .pain-grid,
  .pillars-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    padding: 0.85rem;
    bottom: 1.25rem;
    right: 1.25rem;
  }
}
