/* ResolviAqui - Design V2 - Neuromarketing Sensorial - Modo Light */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap");

:root {
  /* Paleta Neuromarketing - Azul Corporativo Confiável */
  --primary: #054f77;
  /* Azul Corporativo - Confiança e Profissionalismo */
  --primary-dark: #033d5e;
  --primary-light: #0a6fa8;

  --secondary: #0a6fa8;
  /* Azul Médio - Complementar */
  --secondary-dark: #054f77;
  --secondary-light: #3d9fd4;

  --accent: #ff6b35;
  /* Laranja Coral - Energia e Calor */
  --accent-light: #ff8f6b;

  --warning: #ffd93d;
  /* Amarelo Sol - Otimismo */
  --premium: #a855f7;
  /* Roxo Vibrante - Premium */

  /* Neutros - Modo Claro */
  --dark: #1a1a2e;
  /* Azul escuro suave */
  --dark-light: #16213e;
  --dark-medium: #0f3460;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --gray-lighter: #d1d5db;
  --light: #f3f4f6;
  --lighter: #f9fafb;
  --white: #ffffff;

  /* Cores de fundo para modo híbrido */
  --bg-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  --bg-section-light: #ffffff;
  --bg-section-alt: #f8fafc;

  /* Gradientes - Azul Corporativo */
  --gradient-primary: linear-gradient(135deg, #054f77 0%, #033d5e 100%);
  --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff8f6b 100%);
  --gradient-premium: linear-gradient(135deg, #a855f7 0%, #8b5cf6 100%);
  --gradient-hero: linear-gradient(135deg,
      #054f77 0%,
      #033d5e 50%,
      #022a42 100%);
  --gradient-warm: linear-gradient(135deg, #ff6b35 0%, #ffd93d 100%);
  --gradient-card: linear-gradient(180deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0) 100%);

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 40px rgba(5, 79, 119, 0.3);

  /* Category Colors - Vibrantes */
  --cat-tech: #3b82f6;
  /* Azul */
  --cat-casa: #f59e0b;
  /* Amarelo/Dourado */
  --cat-obra: #f97316;
  /* Laranja */
  --cat-auto: #ef4444;
  /* Vermelho */
  --cat-saude: #22c55e;
  /* Verde */
  --cat-pro: #8b5cf6;
  /* Roxo */

  /* Tipografia - Poppins é mais amigável e moderna */
  --font-main: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Espaçamentos */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
  /* Aumentado para melhor zoom */
}

body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* ====== BACKGROUND ANIMATION - Modo Claro ====== */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(180deg, #e8f4fc 0%, #ffffff 30%, #f8fafc 100%);
  overflow: hidden;
}

.bg-animation::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 15% 85%,
      rgba(5, 79, 119, 0.08) 0%,
      transparent 40%),
    radial-gradient(circle at 85% 15%,
      rgba(10, 111, 168, 0.06) 0%,
      transparent 40%),
    radial-gradient(circle at 50% 50%,
      rgba(5, 79, 119, 0.04) 0%,
      transparent 50%);
  animation: bgPulse 25s ease-in-out infinite;
}

@keyframes bgPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

/* ====== NAVIGATION - Modo Claro ====== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

nav.scrolled {
  padding: 0.75rem 2rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
}

/* Logo como imagem */
.logo-image {
  height: 44px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover .logo-image {
  transform: scale(1.02);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-glow);
}

/* Logo Criativo com SVG */
.logo-icon-creative {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 12px rgba(0, 200, 150, 0.4));
  transition: transform 0.3s ease;
}

.logo-icon-creative:hover {
  transform: scale(1.05) rotate(5deg);
}

.logo-icon-creative svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--dark);
}

.logo-highlight {
  background: linear-gradient(135deg, #054f77, #0a6fa8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--gray);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--dark);
}

.nav-cta {
  background: var(--gradient-primary) !important;
  color: var(--white) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Mobile menu button */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ====== HERO SECTION ====== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  position: relative;
}

.hero-content {
  max-width: 900px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 200, 150, 0.1);
  border: 1px solid rgba(0, 200, 150, 0.3);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease;
  font-weight: 500;
}

.hero-badge .badge-icon {
  font-size: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s both;
  color: var(--dark);
}

.hero h1 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: fadeInUp 0.6s ease 0.2s both;
}

/* Search Box */
.search-box {
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.search-box input {
  width: 100%;
  padding: 1.25rem 1.5rem;
  padding-right: 140px;
  background: var(--white);
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-xl);
  color: var(--dark);
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.search-box input::placeholder {
  color: var(--gray-light);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 200, 150, 0.15);
}

.search-box button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}

.search-box button:hover {
  transform: translateY(-50%) scale(1.02);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Popular Tags */
.popular-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.popular-tags span.label {
  color: var(--gray);
  font-size: 0.9rem;
}

.popular-tag {
  background: var(--white);
  border: 1px solid #e5e7eb;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.popular-tag:hover {
  background: rgba(0, 200, 150, 0.08);
  border-color: rgba(0, 200, 150, 0.3);
  color: var(--primary-dark);
}

/* ====== STATS BAR - Modo Claro ====== */
.stats-bar {
  background: var(--light);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding: 3rem 0;
}

.stats-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-item .number {
  font-size: 2.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #054f77, #033d5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item .label {
  font-size: 0.95rem;
  color: var(--gray);
}

/* ====== SECTION HEADER ====== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--gray-light);
  font-size: 1.1rem;
}

/* ====== CATEGORIES SECTION - Modo Claro ====== */
.categories-section {
  padding: 5rem 2rem;
  background: var(--white);
  position: relative;
}

.categories-section::before {
  display: none;
}

.categories-section .section-header h2,
.categories-section .section-header p {
  color: var(--dark);
}

.categories-section .section-header p {
  color: var(--gray);
}

.categories-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.category-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-xl);
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

/* Imagem de cabeçalho da categoria */
.category-header-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.category-card:hover .category-header-image {
  transform: scale(1.05);
}

/* Container da imagem para overflow hidden */
.category-image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* Barra colorida no topo da imagem */
.category-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  z-index: 2;
  transition: height 0.3s;
}

.category-card[data-cat="tech"] .category-image-container::before {
  background: var(--cat-tech);
}

.category-card[data-cat="casa"] .category-image-container::before {
  background: var(--cat-casa);
}

.category-card[data-cat="obra"] .category-image-container::before {
  background: var(--cat-obra);
}

.category-card[data-cat="auto"] .category-image-container::before {
  background: var(--cat-auto);
}

.category-card[data-cat="saude"] .category-image-container::before {
  background: var(--cat-saude);
}

.category-card[data-cat="pro"] .category-image-container::before {
  background: var(--cat-pro);
}

.category-card:hover .category-image-container::before {
  height: 6px;
}

/* Gradiente overlay na imagem */
.category-image-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
  z-index: 1;
}

/* Fallback para ícone (compatibilidade) - ocultamos por padrão */
.category-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: none;
}

/* O conteúdo precisa ter position relative para o arrow */
.category-content {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.category-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.category-card p {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  flex: 1;
}

.category-services-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--gray);
}

.category-arrow {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: all 0.3s;
  font-size: 1rem;
}

.category-card:hover .category-arrow {
  background: var(--primary);
  color: var(--white);
  transform: translateX(3px);
}

/* ====== HOW IT WORKS - Modo Claro ====== */
.how-it-works {
  padding: 5rem 2rem;
  background: var(--light);
}

.how-it-works .section-header h2 {
  color: var(--dark);
}

.how-it-works .section-header p {
  color: var(--gray);
}

/* ====== SERVICES SHOWCASE ====== */
.services-showcase {
  padding: 5rem 2rem;
  background: var(--white);
}

.services-showcase .section-header h2 {
  color: var(--dark);
}

.services-showcase .section-header p {
  color: var(--gray);
}

.services-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-img {
  transform: scale(1.1);
}

/* Overlay gradiente para legibilidade do texto */
.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.2) 50%,
      rgba(0, 0, 0, 0.9) 100%);
  z-index: 1;
  transition: opacity 0.3s;
}

.service-card:hover::after {
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.95) 100%);
}

.service-card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: var(--white);
  transform: translateY(0);
  transition: transform 0.3s;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-card-cta:hover {
  background: var(--white);
  color: var(--primary-dark);
  gap: 0.75rem;
  transform: translateX(5px);
}

/* Steps container */

.steps-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
}

.steps-container::before {
  content: "";
  position: absolute;
  top: 45px;
  left: 15%;
  right: 15%;
  height: 3px;
  background: linear-gradient(90deg,
      var(--primary),
      var(--secondary),
      var(--accent));
  opacity: 0.4;
  border-radius: 3px;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 90px;
  height: 90px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 200, 150, 0.3);
  position: relative;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.step p {
  color: var(--gray);
  font-size: 0.95rem;
  max-width: 250px;
  margin: 0 auto;
}

/* ====== TESTIMONIALS - Modo Claro ====== */
.testimonials {
  padding: 5rem 2rem;
  background: var(--light);
}

.testimonials .section-header h2 {
  color: var(--dark);
}

.testimonials .section-header p {
  color: var(--gray);
}

.testimonials-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid #e5e7eb;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars span {
  color: var(--warning);
  font-size: 1.1rem;
}

.testimonial-text {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.testimonial-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ====== CTA SECTION ====== */
.cta-section {
  padding: 5rem 2rem;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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%3Cpath d='M30 0L60 30L30 60L0 30z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  color: var(--primary-dark);
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ====== FOOTER - Modo Claro ====== */
footer {
  background: var(--light);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Footer Logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 48px;
  height: 48px;
}

.footer-logo-text {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
}

.footer-logo-highlight {
  background: linear-gradient(135deg, #054f77, #033d5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: var(--gray);
  margin-top: 0;
  max-width: 300px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--dark);
}

.footer-section a {
  display: block;
  color: var(--gray);
  font-size: 0.9rem;
  padding: 0.4rem 0;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--gray);
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
}

/* ====== ANIMATIONS ====== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-bar-inner {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    width: 100%;
    text-align: center;
    color: var(--dark);
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 5rem 1rem 3rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .search-box input {
    padding-right: 1rem;
  }

  .search-box button {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
  }

  .stats-bar-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-item .number {
    font-size: 2rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .steps-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .steps-container::before {
    display: none;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .popular-tags {
    gap: 0.5rem;
  }

  .category-card {
    padding: 1.5rem;
  }

  .category-icon {
    font-size: 2.5rem;
  }
}

/* ====== FORM STYLES - Modo Claro ====== */
.page-section {
  padding: 7rem 2rem 4rem;
  min-height: 100vh;
  background: var(--lighter);
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.page-header h1 span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  color: var(--gray);
  font-size: 1.1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--primary);
}

/* Form Card */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 700px;
  margin: 0 auto;
}

.form-card-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.form-card-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-card-header p {
  color: var(--gray);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-group label .required {
  color: #ef4444;
}

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-md);
  color: var(--dark);
  font-size: 1rem;
  font-family: var(--font-main);
  transition: all 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 200, 150, 0.1);
}

.form-control::placeholder {
  color: var(--gray-light);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-section-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 2rem 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(0, 200, 150, 0.2);
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--light);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
  color: var(--dark);
}

.checkbox-item:hover {
  border-color: var(--primary);
  background: rgba(0, 200, 150, 0.05);
}

.checkbox-item input {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.checkbox-item input:checked+span {
  color: var(--primary-dark);
  font-weight: 600;
}

/* Category Section */
.category-section {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--lighter);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.category-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-title .icon {
  font-size: 1.25rem;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  padding: 1.25rem;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-lg);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s;
  margin-top: 1.5rem;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 200, 150, 0.3);
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-submit .spinner {
  display: none;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.btn-submit.loading .spinner {
  display: block;
}

.btn-submit.loading .btn-text {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 200, 150, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  border: 2px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 200, 150, 0.15);
  position: relative;
}

.pricing-card.featured::before {
  content: "⭐ Recomendado";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.pricing-card .price small {
  font-size: 1rem;
  font-weight: 500;
  -webkit-text-fill-color: var(--gray);
}

.pricing-card ul {
  list-style: none;
  margin-top: 1.5rem;
  text-align: left;
}

.pricing-card ul li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-card ul li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  animation: modalIn 0.4s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
}

.modal h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.modal p {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.modal .btn-primary {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.modal .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 200, 150, 0.3);
}

/* Service Cards Grid */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-page-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.service-page-card .icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.service-page-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.service-page-card p {
  font-size: 0.85rem;
  color: var(--gray);
}

/* Service Badge */
.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 200, 150, 0.1);
  border: 1px solid rgba(0, 200, 150, 0.2);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

/* Form Responsive */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 1.5rem;
  }

  .page-section {
    padding: 6rem 1rem 3rem;
  }
}
/* ====== RESPONSIVE FIXES FOR SUBPAGES ====== */

/* Page Section (Solicitar) */
@media (max-width: 768px) {
  .page-section {
    padding: 5rem 1rem 3rem;
  }
}

/* Category Pages Centralized Styles */
.category-hero {
  padding: 7rem 2rem 3rem;
  background: linear-gradient(180deg, var(--hero-bg-color, rgba(59, 130, 246, 0.08)) 0%, var(--lighter) 100%);
}

@media (max-width: 768px) {
  .category-hero {
    padding: 5rem 1rem 2rem;
  }
}

.category-header {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

@media (max-width: 768px) {
  .category-header h1 {
    font-size: 2rem;
  }
}

.category-icon-large {
  width: 80px;
  height: 80px;
  background: var(--icon-bg, linear-gradient(135deg, #3b82f6 0%, #2563eb 100%));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  box-shadow: var(--icon-shadow, 0 10px 30px rgba(59, 130, 246, 0.3));
}

.category-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.category-header p {
  color: var(--gray);
  font-size: 1.1rem;
}

.services-section {
  padding: 0 2rem 4rem;
}

@media (max-width: 768px) {
  .services-section {
    padding: 0 1rem 3rem;
  }
}

.services-container {
  max-width: 1000px;
  margin: 0 auto;
}

.service-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
}

@media (max-width: 768px) {
  .service-item {
    padding: 1rem;
    gap: 1rem;
  }
  .service-item .icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  .service-item h3 {
    font-size: 1rem;
  }
}

.service-item:hover {
  transform: translateX(8px);
  border-color: var(--hover-color, #3b82f6);
  box-shadow: var(--hover-shadow, 0 8px 25px rgba(59, 130, 246, 0.15));
}

.service-item .icon {
  width: 60px;
  height: 60px;
  background: var(--item-icon-bg, rgba(59, 130, 246, 0.1));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.service-item-content {
  flex: 1;
}

.service-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.service-item p {
  font-size: 0.9rem;
  color: var(--gray);
}

.service-item .arrow {
  color: var(--gray-light);
  font-size: 1.5rem;
  transition: all 0.3s;
}

.service-item:hover .arrow {
  color: var(--hover-color, #3b82f6);
  transform: translateX(5px);
}

/* THEMES */
/* Tech */
[data-theme="tech"] {
  --hero-bg-color: rgba(59, 130, 246, 0.08); /* #3b82f6 */
  --icon-bg: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --icon-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
  --hover-color: #3b82f6;
  --hover-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
  --item-icon-bg: rgba(59, 130, 246, 0.1);
}

/* Casa */
[data-theme="casa"] {
  --hero-bg-color: rgba(234, 179, 8, 0.08); /* #eab308 */
  --icon-bg: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  --icon-shadow: 0 10px 30px rgba(234, 179, 8, 0.3);
  --hover-color: #eab308;
  --hover-shadow: 0 8px 25px rgba(234, 179, 8, 0.15);
  --item-icon-bg: rgba(234, 179, 8, 0.1);
}

/* Obra (Construção) */
[data-theme="obra"] {
  --hero-bg-color: rgba(249, 115, 22, 0.08); /* #f97316 */
  --icon-bg: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  --icon-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
  --hover-color: #f97316;
  --hover-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
  --item-icon-bg: rgba(249, 115, 22, 0.1);
}

/* Auto (Veículos) */
[data-theme="auto"] {
  --hero-bg-color: rgba(239, 68, 68, 0.08); /* #ef4444 */
  --icon-bg: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --icon-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
  --hover-color: #ef4444;
  --hover-shadow: 0 8px 25px rgba(239, 68, 68, 0.15);
  --item-icon-bg: rgba(239, 68, 68, 0.1);
}

/* Saúde */
[data-theme="saude"] {
  --hero-bg-color: rgba(34, 197, 94, 0.08); /* #22c55e */
  --icon-bg: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  --icon-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
  --hover-color: #22c55e;
  --hover-shadow: 0 8px 25px rgba(34, 197, 94, 0.15);
  --item-icon-bg: rgba(34, 197, 94, 0.1);
}

/* Profissionais */
[data-theme="pro"] {
  --hero-bg-color: rgba(139, 92, 246, 0.08); /* #8b5cf6 */
  --icon-bg: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  --icon-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
  --hover-color: #8b5cf6;
  --hover-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
  --item-icon-bg: rgba(139, 92, 246, 0.1);
}
