/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #0a0a0a;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Variáveis CSS - Dark Theme (padrão) */
:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #f093fb;
  --text-color: #ffffff;
  --text-muted: #a0a0a0;
  --bg-dark: #0a0a0a;
  --bg-card: #1a1a1a;
  --bg-section: #111111;
  --border-color: #333333;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --transition: all 0.3s ease;
}

/* Light Theme */
[data-theme="light"] {
  --text-color: #1a1a1a;
  --text-muted: #666666;
  --bg-dark: #ffffff;
  --bg-card: #f8f9fa;
  --bg-section: #f5f6f7;
  --border-color: #e1e5e9;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] body {
  background-color: #ffffff;
  color: #1a1a1a;
}

/* Utilitários */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 100px 0;
}

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

.section__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section__action {
  text-align: center;
  margin-top: 60px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

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

.btn--outline:hover {
  background: var(--primary-color);
  color: white;
}

.btn--large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

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

/* Adicionar estilos para o novo container do botão de tema */
.theme-toggle-container {
  display: flex;
  justify-content: flex-end;
  padding: 5px 0;
}

/* Atualizar estilos do botão de tema */
.theme-toggle {
  position: relative;
  width: 60px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
  margin-right: 10px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}

[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-color);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.nav__logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.nav__logo-img {
  width: 35px;
  height: 35px;
  transition: var(--transition);
}

.nav__logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-color);
  transition: var(--transition);
}

.nav__menu {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav__link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--primary-color);
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav__link:hover::after,
.nav__link.active-link::after {
  width: 80%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav__actions .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
}

/* Theme Toggle Button */

.theme-toggle__track {
  width: 100%;
  height: 100%;
  background: var(--border-color);
  border-radius: 15px;
  position: relative;
  transition: var(--transition);
  border: 2px solid var(--border-color);
}

.theme-toggle:hover .theme-toggle__track {
  border-color: var(--primary-color);
}

.theme-toggle__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  background: var(--gradient-primary);
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .theme-toggle__thumb {
  transform: translateX(28px);
}

.theme-toggle__icon {
  position: absolute;
  font-size: 10px;
  color: white;
  transition: var(--transition);
}

.theme-toggle__icon--light {
  opacity: 1;
}

.theme-toggle__icon--dark {
  opacity: 0;
}

[data-theme="light"] .theme-toggle__icon--light {
  opacity: 0;
}

[data-theme="light"] .theme-toggle__icon--dark {
  opacity: 1;
}

/* Remover o botão flutuante de tema, pois agora o botão estará sempre no header */
.floating-theme-toggle {
  display: none !important;
}

/* Floating Theme Toggle (Mobile) */

/* Page Header */
.page-header {
  padding: 150px 0 100px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.page-header__content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.page-header__title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
}

.page-header__subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
  z-index: 1;
}

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

.hero__title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero__description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

.hero__stats {
  display: flex;
  gap: 40px;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.hero__stat-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero__image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image-bg {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.hero__img {
  width: 350px;
  height: auto;
  position: relative;
  z-index: 2;
}

.hero__floating-card {
  position: absolute;
  background: var(--bg-card);
  padding: 12px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-color);
  font-weight: 500;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
  border: 1px solid var(--border-color);
}

.hero__floating-card--1 {
  top: 20%;
  left: -10%;
  animation-delay: -1s;
}

.hero__floating-card--2 {
  top: 60%;
  right: -10%;
  animation-delay: -2s;
}

.hero__floating-card--3 {
  bottom: 20%;
  left: 10%;
  animation-delay: -3s;
}

.hero__floating-card i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Services */
.services-preview {
  background: var(--bg-section);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.service__card {
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
}

.service__card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: var(--primary-color);
}

.service__card--detailed {
  text-align: left;
  padding: 40px;
}

.service__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.service__badge {
  background: var(--gradient-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.service__icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.service__card--detailed .service__icon {
  margin: 0;
}

.service__icon i {
  font-size: 2rem;
  color: white;
}

.service__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 16px;
}

.service__description {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.service__features {
  margin-bottom: 30px;
}

.service__features h4 {
  color: var(--text-color);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.service__features ul {
  list-style: none;
}

.service__features li {
  color: var(--text-muted);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service__features li i {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.service__tech {
  margin-bottom: 30px;
}

.service__tech h4 {
  color: var(--text-color);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background: var(--primary-color);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.service__pricing {
  margin-bottom: 30px;
  text-align: center;
  padding: 20px;
  background: var(--bg-dark);
  border-radius: 12px;
}

.price-from {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.price-value {
  display: block;
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
}

/* About Story */
.about-story {
  background: var(--bg-dark);
}

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

.about-story__text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-story__image {
  position: relative;
}

.about-story__img {
  width: 100%;
  border-radius: 16px;
}

.about-story__achievement {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: var(--bg-card);
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.achievement__number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.achievement__text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.3;
}

/* Values */
.values {
  background: var(--bg-section);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.value__card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.value__card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.value__icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value__icon i {
  font-size: 1.8rem;
  color: white;
}

.value__title {
  color: var(--text-color);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.value__description {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Team */
.team {
  background: var(--bg-dark);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.team__member {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.team__member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.member__image {
  position: relative;
  overflow: hidden;
  height: 300px;
}

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

.member__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(102, 126, 234, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.team__member:hover .member__overlay {
  opacity: 1;
}

.team__member:hover .member__img {
  transform: scale(1.1);
}

.member__social {
  display: flex;
  gap: 16px;
}

.member__social-link {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.member__social-link:hover {
  transform: translateY(-3px);
}

.member__info {
  padding: 30px;
}

.member__name {
  color: var(--text-color);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.member__role {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 16px;
}

.member__description {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.member__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  background: var(--primary-color);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Stats */
.stats {
  background: var(--bg-section);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.stat__card {
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.stat__card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.stat__icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.stat__icon i {
  font-size: 2rem;
  color: white;
}

.stat__number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

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

/* Process */
.process {
  background: var(--bg-dark);
}

.process__timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process__timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.process__step {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

.process__step:nth-child(even) {
  flex-direction: row-reverse;
}

.step__number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.step__content {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 16px;
  width: 45%;
  border: 1px solid var(--border-color);
}

.process__step:nth-child(even) .step__content {
  margin-left: auto;
}

.step__title {
  color: var(--text-color);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.step__description {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Projects */
.projects-filter {
  background: var(--bg-dark);
  padding: 50px 0;
}

.filter__tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.filter__tab {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.filter__tab.active,
.filter__tab:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.projects-grid {
  background: var(--bg-section);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.project__card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.project__card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.project__image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

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

.project__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(102, 126, 234, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  opacity: 0;
  transition: var(--transition);
}

.project__card:hover .project__overlay {
  opacity: 1;
}

.project__card:hover .project__img {
  transform: scale(1.1);
}

.project__info h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.project__info p {
  color: rgba(255, 255, 255, 0.8);
}

.project__actions {
  display: flex;
  gap: 12px;
}

.project__btn {
  width: 50px;
  height: 50px;
  background: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.project__btn:hover {
  transform: translateY(-3px);
}

.project__content {
  padding: 30px;
}

.project__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.project__client {
  color: var(--primary-color);
  font-weight: 500;
}

.project__date {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.project__content .project__title {
  color: var(--text-color);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.project__content .project__description {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.project__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.load-more-text {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Quote Form */
.quote-form {
  background: var(--bg-dark);
}

.quote__container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: flex-start;
}

.quote__info-title {
  color: var(--text-color);
  font-size: 2rem;
  margin-bottom: 20px;
}

.quote__info-description {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
}

.quote__benefits {
  margin-bottom: 40px;
}

.benefit__item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.benefit__icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit__icon i {
  color: white;
  font-size: 1.2rem;
}

.benefit__content h4 {
  color: var(--text-color);
  margin-bottom: 8px;
}

.benefit__content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.quote__contact h4 {
  color: var(--text-color);
  margin-bottom: 16px;
}

.contact__methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact__method {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.contact__method:hover {
  color: var(--primary-color);
}

.contact__method i {
  font-size: 1.2rem;
}

.quote__form {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.form__section {
  margin-bottom: 40px;
}

.form__section-title {
  color: var(--text-color);
  font-size: 1.3rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form__section-title i {
  color: var(--primary-color);
}

.form__group {
  margin-bottom: 24px;
}

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

.form__label {
  display: block;
  color: var(--text-color);
  font-weight: 500;
  margin-bottom: 8px;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-dark);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-color);
  font-size: 1rem;
  transition: var(--transition);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form__input--error {
  border-color: #e74c3c;
}

.form__error {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 8px;
  display: block;
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.file-upload-area {
  position: relative;
  border: 2px dashed var(--border-color);
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.file-upload-area:hover {
  border-color: var(--primary-color);
}

.form__file {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-content i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.file-upload-content p {
  color: var(--text-color);
  margin-bottom: 8px;
}

.file-upload-content small {
  color: var(--text-muted);
}

.selected-files {
  margin-top: 16px;
}

.form__actions {
  text-align: center;
}

.form__disclaimer {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form__disclaimer i {
  color: var(--primary-color);
}

/* FAQ */
.faq {
  background: var(--bg-section);
}

.faq__grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.faq__question {
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq__question:hover {
  background: var(--bg-dark);
}

.faq__question h4 {
  color: var(--text-color);
  font-size: 1.1rem;
}

.faq__question i {
  color: var(--primary-color);
  transition: var(--transition);
}

.faq__item.active .faq__question i {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq__item.active .faq__answer {
  padding: 0 24px 24px;
  max-height: 200px;
}

.faq__answer p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA */
.cta {
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.cta__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta__description {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.cta .btn--primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.cta .btn--outline {
  border-color: white;
  color: white;
}

.cta .btn--outline:hover {
  background: white;
  color: var(--primary-color);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-card);
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(50px);
  transition: var(--transition);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-content--large {
  max-width: 800px;
}

.modal-header {
  padding: 30px 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: var(--text-color);
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

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

.modal-body {
  padding: 30px;
  text-align: center;
}

.modal-actions {
  padding: 0 30px 30px;
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Loading States */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

#loadingTitle {
  color: var(--text-color);
  font-size: 1.5rem;
  margin: 0;
}

#loadingMessage {
  color: var(--text-muted);
  margin: 0;
}

/* Success Animation */
.success-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.success-checkmark {
  width: 80px;
  height: 80px;
  position: relative;
  margin: 0 auto;
}

.check-icon {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  box-sizing: content-box;
  border: 4px solid #4caf50;
}

.check-icon::before {
  top: 3px;
  left: -2px;
  width: 30px;
  transform-origin: 100% 50%;
  border-radius: 100px 0 0 100px;
}

.check-icon::after {
  top: 0;
  left: 30px;
  width: 60px;
  transform-origin: 0 50%;
  border-radius: 0 100px 100px 0;
  animation: rotate-circle 4.25s ease-in;
}

.check-icon::before,
.check-icon::after {
  content: "";
  height: 100px;
  position: absolute;
  background: var(--bg-card);
  transform: rotate(-45deg);
}

.icon-line {
  height: 5px;
  background-color: #4caf50;
  display: block;
  border-radius: 2px;
  position: absolute;
  z-index: 10;
}

.icon-line.line-tip {
  top: 46px;
  left: 14px;
  width: 25px;
  transform: rotate(45deg);
  animation: icon-line-tip 0.75s;
}

.icon-line.line-long {
  top: 38px;
  right: 8px;
  width: 47px;
  transform: rotate(-45deg);
  animation: icon-line-long 0.75s;
}

.icon-circle {
  top: -4px;
  left: -4px;
  z-index: 10;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: absolute;
  box-sizing: content-box;
  border: 4px solid rgba(76, 175, 80, 0.5);
}

.icon-fix {
  top: 8px;
  width: 5px;
  left: 26px;
  z-index: 1;
  height: 85px;
  position: absolute;
  transform: rotate(-45deg);
  background-color: var(--bg-card);
}

.success-title {
  color: #4caf50;
  font-size: 1.5rem;
  margin: 0;
}

.success-message {
  color: var(--text-muted);
  margin: 0;
}

/* Error Animation */
.error-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.error-icon {
  width: 80px;
  height: 80px;
  background: #e74c3c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: shake 0.5s ease-in-out;
}

.error-icon i {
  color: white;
  font-size: 2.5rem;
}

.error-title {
  color: #e74c3c;
  font-size: 1.5rem;
  margin: 0;
}

.error-message {
  color: var(--text-muted);
  margin: 0;
}

/* Alerts */
.alert {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert--success {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid #4caf50;
  color: #4caf50;
}

.alert--error {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid #e74c3c;
  color: #e74c3c;
}

.alert i {
  font-size: 1.2rem;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer__logo-img {
  width: 40px;
  height: 40px;
}

.footer__logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
}

.footer__description {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer__social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.footer__title {
  color: var(--text-color);
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--primary-color);
}

.footer__contact-item {
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__contact-item i {
  color: var(--primary-color);
  width: 16px;
}

.footer__bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__copyright {
  color: var(--text-muted);
}

.footer__bottom-links {
  display: flex;
  gap: 24px;
}

.footer__bottom-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer__bottom-link:hover {
  color: var(--primary-color);
}

/* AI Highlight Section */
.ai-highlight {
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}

.ai-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.ai-highlight__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.ai-highlight__icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  animation: pulse 2s infinite;
}

.ai-highlight__icon i {
  font-size: 3rem;
  color: white;
}

.ai-highlight__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
}

.ai-highlight__description {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.ai-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.ai-stat {
  text-align: center;
}

.ai-stat__number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.ai-stat__label {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
}

/* Featured Project Cards */
.project__card--featured {
  position: relative;
  border: 2px solid var(--primary-color);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(102, 126, 234, 0.05) 100%);
}

.project__card--featured::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: 18px;
  z-index: -1;
  opacity: 0.3;
  animation: glow 2s ease-in-out infinite alternate;
}

.project__badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gradient-primary);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.project__badge i {
  font-size: 0.9rem;
}

/* AI Services CTA */
.ai-services-cta {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.ai-services-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  z-index: 1;
}

.ai-cta__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.ai-cta__icon {
  width: 120px;
  height: 120px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  animation: float 3s ease-in-out infinite;
}

.ai-cta__icon i {
  font-size: 3.5rem;
  color: white;
}

.ai-cta__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
}

.ai-cta__description {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.ai-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.ai-service__item {
  background: var(--bg-card);
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.ai-service__item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.ai-service__item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.ai-service__item h4 {
  color: var(--text-color);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.ai-service__item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.ai-cta__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Enhanced Filter Tabs */
.filter__tab[data-filter="ai"] {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--primary-color);
  position: relative;
  overflow: hidden;
}

.filter__tab[data-filter="ai"]::before {
  content: "🧠";
  margin-right: 8px;
}

.filter__tab[data-filter="ai"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

@keyframes rotate-circle {
  0% {
    transform: rotate(-45deg);
  }
  5% {
    transform: rotate(-45deg);
  }
  12% {
    transform: rotate(-405deg);
  }
  100% {
    transform: rotate(-405deg);
  }
}

@keyframes icon-line-tip {
  0% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  54% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  70% {
    width: 50px;
    left: -8px;
    top: 37px;
  }
  84% {
    width: 17px;
    left: 21px;
    top: 48px;
  }
  100% {
    width: 25px;
    left: 14px;
    top: 45px;
  }
}

@keyframes icon-line-long {
  0% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  65% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  84% {
    width: 55px;
    right: 0px;
    top: 35px;
  }
  100% {
    width: 47px;
    right: 8px;
    top: 38px;
  }
}

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

@keyframes glow {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.6;
  }
}

/* Enhanced Project Tech Tags for AI */
.project__card[data-category*="ai"] .tech-tag {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.project__card[data-category*="ai"] .tech-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.project__card[data-category*="ai"]:hover .tech-tag::before {
  left: 100%;
}

/* Ajustes responsivos para o header e botão de tema */
@media (max-width: 768px) {
  .theme-toggle-container {
    padding: 5px 10px;
  }

  .theme-toggle {
    display: block; /* Garantir que o botão seja exibido em dispositivos móveis */
  }

  .nav__menu {
    padding-bottom: 40px; /* Adicionar espaço para o botão de tema abaixo do menu */
  }
}

@media (max-width: 480px) {
  .theme-toggle-container {
    padding: 5px 8px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
    border-left: 1px solid var(--border-color);
  }

  .nav__menu.show-menu {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .nav__link {
    font-size: 1.1rem;
    padding: 12px 20px;
  }

  .nav__close,
  .nav__toggle {
    display: block;
  }

  .nav__close {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 1.3rem;
  }

  .nav__toggle {
    font-size: 1.2rem;
  }

  .nav {
    height: 60px;
    padding: 0 10px;
  }

  .nav__logo-img {
    width: 30px;
    height: 30px;
  }

  .nav__logo-text {
    font-size: 1.1rem;
  }

  .nav__actions .btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .theme-toggle {
    display: none;
  }

  .floating-theme-toggle {
    display: flex;
  }

  .hero__container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero__stats {
    justify-content: center;
    gap: 25px;
  }

  .page-header {
    padding: 120px 0 80px;
  }

  .page-header__title {
    font-size: 2.2rem;
  }

  .section__title {
    font-size: 1.9rem;
  }

  .section {
    padding: 70px 0;
  }

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

  .form__row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .quote__form {
    padding: 30px 20px;
  }

  .ai-highlight__title {
    font-size: 2rem;
  }

  .ai-stats {
    gap: 25px;
  }

  .ai-stat__number {
    font-size: 2rem;
  }

  .projects__grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .filter__tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
    gap: 15px;
  }

  .filter__tab {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .process__timeline::before {
    left: 30px;
  }

  .step__number {
    left: 30px;
    transform: translateX(-50%);
  }

  .step__content {
    width: calc(100% - 80px);
    margin-left: 80px;
  }

  .process__step:nth-child(even) .step__content {
    margin-left: 80px;
  }
}

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

  .section {
    padding: 50px 0;
  }

  .nav {
    height: 55px;
    padding: 0 8px;
  }

  .nav__logo-img {
    width: 28px;
    height: 28px;
  }

  .nav__logo-text {
    font-size: 1rem;
  }

  .nav__actions .btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .nav__toggle {
    font-size: 1.1rem;
  }

  .floating-theme-toggle {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    top: 15px;
    right: 15px;
  }

  .hero__title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero__description {
    font-size: 1rem;
  }

  .hero__stat-number {
    font-size: 1.5rem;
  }

  .hero__stat-text {
    font-size: 0.8rem;
  }

  .page-header {
    padding: 100px 0 60px;
  }

  .page-header__title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .page-header__subtitle {
    font-size: 1rem;
  }

  .section__title {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .section__subtitle {
    font-size: 1rem;
  }

  .btn--large {
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .modal-content {
    width: 95%;
    margin: 10px;
  }

  .modal-body,
  .modal-header {
    padding: 15px;
  }

  .quote__form {
    padding: 20px 15px;
  }

  .form__section-title {
    font-size: 1.1rem;
  }

  .form__input,
  .form__select,
  .form__textarea {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .ai-highlight__icon {
    width: 70px;
    height: 70px;
  }

  .ai-highlight__icon i {
    font-size: 1.5rem;
  }

  .ai-highlight__title {
    font-size: 1.6rem;
  }

  .ai-highlight__description {
    font-size: 1rem;
  }

  .ai-stats {
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }

  .ai-stat__number {
    font-size: 1.8rem;
  }

  .ai-stat__label {
    font-size: 0.9rem;
  }

  .project__card {
    margin-bottom: 20px;
  }

  .project__image {
    height: 200px;
  }

  .project__content {
    padding: 20px;
  }

  .project__badge {
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  .filter__tab {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .tech-tag {
    padding: 3px 8px;
    font-size: 0.75rem;
  }

  .cta__title {
    font-size: 1.6rem;
  }

  .cta__description {
    font-size: 1rem;
  }

  .cta__actions {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .footer__content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer__bottom-links {
    gap: 15px;
  }
}

@media (max-width: 320px) {
  .nav {
    height: 50px;
    padding: 0 5px;
  }

  .nav__logo-img {
    width: 25px;
    height: 25px;
  }

  .nav__logo-text {
    font-size: 0.9rem;
  }

  .nav__actions .btn {
    padding: 5px 10px;
    font-size: 0.7rem;
  }

  .floating-theme-toggle {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    top: 10px;
    right: 10px;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .page-header__title {
    font-size: 1.5rem;
  }

  .section__title {
    font-size: 1.4rem;
  }

  .btn--large {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .quote__form {
    padding: 15px 10px;
  }

  .ai-highlight__icon {
    width: 60px;
    height: 60px;
  }

  .ai-highlight__icon i {
    font-size: 1.5rem;
  }

  .ai-highlight__title {
    font-size: 1.4rem;
  }

  .project__image {
    height: 180px;
  }

  .project__content {
    padding: 15px;
  }
}
.service__img-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Mantenha o restante do seu CSS existente para service__card */