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

:root {
  --teal: #FCA311;
  --teal-light: #FCD17A;
  --teal-lighter: #FFF5E1;
  --teal-dark: #E3920F;
  --teal-darker: #B8760C;
  --charcoal: #2A2A2A;
  --charcoal-light: #4A4A4A;
  --charcoal-dark: #0E0E0E;

  --primary: var(--teal);
  --primary-light: var(--teal-light);
  --primary-dark: var(--teal-dark);
  --primary-darker: var(--teal-darker);

  --text-primary: var(--charcoal-dark);
  --text-secondary: var(--charcoal-light);
  --text-muted: #888888;

  --bg-white: #ffffff;
  --bg-light: #fafafa;
  --bg-gray: #f5f5f5;
  --bg-dark: #1a1a1a;
  --bg-darker: #0e0e0e;

  --border: #e5e5e5;
  --border-light: #f0f0f0;

  --success: #27ae60;
  --error: #e74c3c;
  --warning: #f39c12;

  --shadow-sm: 0 2px 8px rgba(252, 163, 17, 0.08);
  --shadow-md: 0 4px 20px rgba(252, 163, 17, 0.12);
  --shadow-lg: 0 8px 40px rgba(252, 163, 17, 0.16);
  --shadow-xl: 0 16px 60px rgba(252, 163, 17, 0.2);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --font-heading: "Raleway", sans-serif;
  --font-body: "Open Sans", sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.7;
  background: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

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

a:hover {
  color: var(--primary-darker);
}

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

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

.section {
  padding: 100px 0;
}

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

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

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  width: 100px;
  height: auto;
  margin: 0 auto 20px;
  animation: pulse 1.5s ease-in-out infinite;
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  border: 3px solid rgba(252, 163, 17, 0.2);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

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

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition);
  animation: whatsappBounce 2s infinite;
  will-change: transform;
}

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

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(14, 14, 14, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(252, 163, 17, 0.08);
  transition: var(--transition);
  will-change: transform;
}

.header.scrolled {
  background: rgba(14, 14, 14, 0.97);
  border-bottom-color: rgba(252, 163, 17, 0.18);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.nav-brand-slogan {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(252, 163, 17, 0.12);
}

.nav-actions {
  flex-shrink: 0;
}

.btn-cta-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--primary);
  color: #0E0E0E;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-cta-nav:hover {
  background: var(--teal-light);
  color: #0E0E0E;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(252, 163, 17, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  gap: 5px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 3px;
  transition: var(--transition);
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

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

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: #0E0E0E;
  border-color: var(--primary);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  color: #0E0E0E;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(252, 163, 17, 0.4);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: white;
  color: var(--primary-darker);
  border-color: white;
}

.btn-white:hover {
  background: var(--teal-lighter);
  color: var(--primary-darker);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline-white:hover {
  background: white;
  color: var(--primary-darker);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../images/engenharia_de_software/engenharia_de_software.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
  padding-top: 80px;
  color: white;
  /* background-attachment:fixed desativado em mobile via media query abaixo */
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  will-change: transform;
}


.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--primary-dark);
  bottom: -100px;
  left: -100px;
  animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--charcoal);
  top: 50%;
  left: 50%;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(5deg);
  }
  66% {
    transform: translateY(10px) rotate(-3deg);
  }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--primary);
  color: #0E0E0E;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  border: none;
  box-shadow: 0 4px 16px rgba(252, 163, 17, 0.35);
  letter-spacing: 0.3px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
}

.text-gradient {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-darker) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 520px;
}

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

.hero-contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-quick-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f0f0f0;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.hero-quick-item:hover {
  color: var(--primary-darker);
}

.hero-quick-item i {
  color: var(--primary);
  font-size: 1rem;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-wrapper {
  position: relative;
  width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-wrapper::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(252, 163, 17, 0.08) 0%,
    transparent 70%
  );
  animation: pulse 3s ease-in-out infinite;
}

.hero-logo-img {
  width: 420px;
  height: auto;
  filter: drop-shadow(0 10px 40px rgba(252, 163, 17, 0.2));
  animation: floatLogo 6s ease-in-out infinite;
  will-change: transform;
}

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

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

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--primary);
  border-radius: 14px;
  position: relative;
  opacity: 0.5;
}

.mouse-wheel {
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouseScroll 2s ease-in-out infinite;
}

@keyframes mouseScroll {
  0%,
  100% {
    opacity: 1;
    top: 8px;
  }
  50% {
    opacity: 0;
    top: 22px;
  }
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--primary);
  color: #0E0E0E;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(252, 163, 17, 0.3);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--charcoal-dark);
  margin-bottom: 16px;
}

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

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

.about {
  background: var(--bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text h3 {
  font-size: 1.5rem;
  color: var(--primary-darker);
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.about-detail-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.about-detail-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.about-detail-card i {
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
}

.detail-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.detail-value {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 600;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.value-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.value-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.value-card h4 {
  font-size: 1.1rem;
  color: var(--primary-darker);
  margin-bottom: 6px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  background: var(--bg-darker);
  padding: 48px 0;
  border-bottom: 1px solid rgba(252, 163, 17, 0.12);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  border-right: 1px solid rgba(252, 163, 17, 0.1);
  transition: var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: rgba(252, 163, 17, 0.04);
}

.stat-icon {
  width: 44px;
  height: 44px;
  background: rgba(252, 163, 17, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 12px;
  transition: var(--transition);
}

.stat-item:hover .stat-icon {
  background: var(--primary);
  color: #0E0E0E;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-family: "Inter", var(--font-body);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 140px;
  line-height: 1.4;
}

/* ============================================
   SERVICES — dark section header overrides
   ============================================ */
.services .section-title {
  color: #ffffff;
}

.services .section-subtitle {
  color: rgba(255, 255, 255, 0.55);
}

.services {
  background: var(--bg-darker);
}

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

.service-card {
  position: relative;
  background: #161616;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(252, 163, 17, 0.2);
  border-color: rgba(252, 163, 17, 0.3);
}

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

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

.service-card:hover .service-card-img {
  transform: scale(1.05);
}

.service-card-content {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: var(--primary);
  color: #0E0E0E;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-card h3 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-features {
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 4px 0;
}

.service-features li i {
  color: var(--primary);
  font-size: 0.75rem;
}

.differentials {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.differential-card {
  position: relative;
  padding: 36px 28px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition-slow);
  overflow: hidden;
}

.differential-card:hover {
  background: #0E0E0E;
  border-color: rgba(252, 163, 17, 0.35);
  box-shadow: 0 8px 32px rgba(252, 163, 17, 0.18);
  transform: translateY(-6px);
}

.differential-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.12;
  line-height: 1;
  transition: var(--transition-slow);
}

.differential-card:hover .differential-number {
  opacity: 0.22;
}

.differential-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0E0E0E;
  font-size: 1.2rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.differential-card:hover .differential-icon {
  box-shadow: 0 4px 20px rgba(252, 163, 17, 0.4);
}

.differential-card h3 {
  font-size: 1.15rem;
  color: var(--charcoal-dark);
  margin-bottom: 10px;
  transition: var(--transition);
}

.differential-card:hover h3 {
  color: #ffffff;
}

.differential-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  transition: var(--transition);
}

.differential-card:hover p {
  color: rgba(255, 255, 255, 0.6);
}

.cta-section {
  padding: 80px 0;
  background: linear-gradient(
    135deg,
    var(--primary-darker) 0%,
    var(--primary-dark) 50%,
    var(--charcoal-dark) 100%
  );
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.cta-content h2 {
  font-size: 2.2rem;
  color: white;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.contact {
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(
    160deg,
    var(--primary-darker) 0%,
    var(--primary-dark) 100%
  );
  padding: 36px;
  border-radius: var(--radius-lg);
  color: white;
  margin-bottom: 24px;
}

.contact-info-card h3 {
  color: white;
  font-size: 1.4rem;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-info-item h4 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  font-weight: 600;
}

.contact-info-item a,
.contact-info-item p {
  color: white;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-info-item a:hover {
  color: var(--teal-lighter);
}

.contact-social h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  transition: var(--transition);
}

.social-whatsapp {
  background: #25d366;
}

.social-email {
  background: var(--primary);
}

.social-instagram {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

.social-facebook {
  background: #1877f2;
}

.social-links a:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper {
  background: var(--bg-white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 28px;
  color: var(--charcoal-dark);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

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

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

.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-group label i {
  color: var(--primary);
  font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(252, 163, 17, 0.1);
}

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

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8.5L1 3.5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 36px;
}

.form-error {
  display: block;
  font-size: 0.78rem;
  color: var(--error);
  margin-top: 4px;
  min-height: 18px;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--error);
}

.btn .btn-text,
.btn .btn-loading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn .btn-loading {
  display: none;
}

.btn.loading .btn-text {
  display: none;
}

.btn.loading .btn-loading {
  display: flex;
}

.footer {
  background: var(--bg-darker);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 60px;
}

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

.footer-logo {
  width: 60px;
  height: auto;
  margin-bottom: 16px;
  filter: brightness(1.2);
}

.footer-brand h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.footer-slogan {
  font-size: 0.8rem;
  color: var(--primary-light);
  margin-bottom: 12px;
  font-style: italic;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-links a i,
.footer-contact a i,
.footer-contact span i {
  font-size: 0.65rem;
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}

.footer-bottom-left p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-cnpj {
  font-size: 0.78rem !important;
  margin-top: 4px;
}

.back-to-top {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.back-to-top:hover {
  color: white;
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.toast-container {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 320px;
  max-width: 420px;
  animation: toastSlideIn 0.4s ease;
  border-left: 4px solid var(--primary);
}

.toast.toast-success {
  border-left-color: var(--success);
}

.toast.toast-error {
  border-left-color: var(--error);
}

.toast-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.toast-success .toast-icon {
  color: var(--success);
}

.toast-error .toast-icon {
  color: var(--error);
}

.toast-body {
  flex: 1;
}

.toast-title {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.toast-message {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  line-height: 1;
  transition: var(--transition-fast);
}

.toast-close:hover {
  color: var(--text-primary);
}

.toast-removing {
  animation: toastSlideOut 0.3s ease forwards;
}

@keyframes toastSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toastSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

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

  .hero-description {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-contact-quick {
    justify-content: center;
  }

  .hero-logo-wrapper {
    width: 280px;
    height: 280px;
  }

  .hero-logo-img {
    width: 240px;
  }

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

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

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

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(14, 14, 14, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(252, 163, 17, 0.15);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transform: translateY(-120%);
    transition: var(--transition);
    opacity: 0;
    z-index: 9999;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-link {
    padding: 12px 20px;
    display: block;
    text-align: center;
  }

  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
    /* Desabilitar parallax em mobile — restaura GPU compositing */
    background-attachment: scroll;
  }

  /* Desabilitar animações pesadas em mobile para melhorar FPS */
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(14, 14, 14, 0.98);
  }

  .header.scrolled {
    background: rgba(14, 14, 14, 1);
  }

  .shape-1,
  .shape-2,
  .shape-3 {
    animation: none;
    display: none;
  }

  .hero-logo-img {
    animation: none;
    will-change: auto;
  }

  .whatsapp-float {
    animation: none;
    will-change: auto;
  }

  .hero-title {
    font-size: 2.2rem;
  }

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

  .hero-scroll-indicator {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-details-grid {
    grid-template-columns: 1fr;
  }

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

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

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3) {
    border-right: 1px solid rgba(252, 163, 17, 0.1);
    border-top: 1px solid rgba(252, 163, 17, 0.08);
  }

  .stat-item:nth-child(4) {
    border-right: none;
    border-top: 1px solid rgba(252, 163, 17, 0.08);
  }

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

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

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .footer-links h4::after,
  .footer-contact h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links a,
  .footer-contact a,
  .footer-contact span {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 24px;
  background: var(--primary-darker);
  color: white;
  padding: 12px 20px;
  z-index: 10002;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  transition: top 0.3s ease;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.toast {
  min-width: auto;
  max-width: calc(100vw - 48px);
}

.social-youtube {
  background: #ff0000;
}

.social-x {
  background: #000000;
}

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

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-logo-wrapper {
    width: 200px;
    height: 200px;
  }

  .hero-logo-img {
    width: 180px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .nav-logo-text {
    display: none;
  }

  .contact-info-card {
    padding: 24px;
  }

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

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
}

/* ============================================
   PREFERS-REDUCED-MOTION
   Para acessibilidade e dispositivos lentos
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .shape-1,
  .shape-2,
  .shape-3 {
    display: none;
  }

  .hero-logo-img {
    animation: none;
  }

  .whatsapp-float {
    animation: none;
  }

  .preloader-logo {
    animation: none;
  }

  .preloader-spinner {
    animation: none;
    border-top-color: var(--primary);
  }

  .mouse-wheel {
    animation: none;
  }
}
