/* Reset e Base */
:root {
  --primary-color: #4361ee;
  --primary-dark: #3a56d4;
  --primary-light: #4895ef;
  --secondary-color: #2b2d42;
  --accent-color: #f72585;
  --text-color: #2b2d42;
  --text-light: #64748b;
  --bg-color: #ffffff;
  --bg-light: #f8fafc;
  --bg-accent: #f0f4ff;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --font-primary: "Outfit", sans-serif;
  --font-secondary: "Inter", sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 62.5%; /* 10px = 1rem */
}

body {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

section {
  padding: 10rem 0;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  line-height: 1.3;
  margin-bottom: 2rem;
  color: var(--secondary-color);
  font-weight: 700;
}

h1 {
  font-size: 5.2rem;
  line-height: 1.2;
}

h2 {
  font-size: 4rem;
  line-height: 1.25;
}

h3 {
  font-size: 2.4rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

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

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

ul {
  list-style: none;
}

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

.btn {
  display: inline-block;
  padding: 1.4rem 2.8rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1.6rem;
  font-family: var(--font-secondary);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(67, 97, 238, 0.4);
}

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

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

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

.btn-light:hover {
  background-color: var(--bg-light);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.btn-small {
  padding: 0.8rem 1.6rem;
  font-size: 1.4rem;
  border-radius: 8px;
}

.btn-block {
  display: block;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 6rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.tag {
  display: inline-block;
  background-color: var(--bg-accent);
  color: var(--primary-color);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  margin-bottom: 1.5rem;
  position: relative;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
  font-size: 1.8rem;
}

.mt-20 {
  margin-top: 2rem;
}

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes rotateIn {
  from {
    transform: rotate(-180deg) scale(0);
    opacity: 0;
  }
  to {
    transform: rotate(0) scale(1);
    opacity: 1;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

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

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Classes de animação */
.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

.animate-slide-left {
  animation: slideInLeft 1s ease-out;
}

.animate-slide-right {
  animation: slideInRight 1s ease-out;
}

.animate-slide-up {
  animation: slideInUp 1s ease-out;
}

.animate-scale {
  animation: scaleIn 0.5s ease-out;
}

.animate-rotate {
  animation: rotateIn 1s ease-out;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Aplicando animações aos elementos */
.hero-text h1 {
  animation: slideInLeft 1s ease-out;
}

.hero-text p {
  animation: slideInLeft 1s ease-out 0.3s backwards;
}

.hero-buttons {
  animation: slideInLeft 1s ease-out 0.6s backwards;
}

.hero-image {
  animation: slideInRight 1s ease-out;
}

.servico-card {
  animation: scaleIn 0.5s ease-out;
  transition: transform 0.3s ease;
}

.servico-card:hover {
  transform: translateY(-10px);
}

.processo-step {
  animation: slideInUp 1s ease-out;
}

.projeto-item {
  animation: scaleIn 0.5s ease-out;
  transition: transform 0.3s ease;
}

.projeto-item:hover {
  transform: scale(1.02);
}

.skill-item {
  animation: slideInUp 1s ease-out;
}

.contato-card {
  animation: scaleIn 0.5s ease-out;
  transition: transform 0.3s ease;
}

.contato-card:hover {
  transform: translateY(-5px);
}

.btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Animações para elementos específicos */
.hero-scroll i {
  animation: bounce 2s infinite;
}

.servico-icon {
  animation: float 3s ease-in-out infinite;
}

.projeto-tech .tech-tag {
  animation: scaleIn 0.5s ease-out;
  transition: transform 0.3s ease;
}

.projeto-tech .tech-tag:hover {
  transform: scale(1.1);
}

.faq-item {
  animation: slideInUp 1s ease-out;
  transition: transform 0.3s ease;
}

.faq-item:hover {
  transform: translateX(10px);
}

/* Animações para carregamento */
.loading {
  animation: pulse 1.5s infinite;
}

/* Animações para elementos de destaque */
.highlight {
  animation: pulse 2s infinite;
}

/* Animações para elementos de interação */
.interactive {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.interactive:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  z-index: 1000;
  padding: 2rem 0;
  transition: var(--transition);
}

#header.scrolled {
  background-color: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 1.2rem 0;
}

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

#header.hidden {
  transform: translateY(-100%);
}

.logo {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--primary-color);
  margin-right: 0.3rem;
}

#nav {
  display: flex;
  align-items: center;
}

#menu {
  display: flex;
  gap: 2.5rem;
}

#menu a {
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 1.6rem;
  position: relative;
}

#menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

#menu a:hover::after,
#menu a.active::after {
  width: 100%;
}

.btn-contato {
  background-color: var(--primary-color);
  color: white !important;
  padding: 0.8rem 1.8rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 10px rgba(67, 97, 238, 0.2);
}

.btn-contato:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(67, 97, 238, 0.3);
}

#btn-mobile {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
}

#hamburger {
  display: block;
  width: 25px;
  border-top: 2px solid var(--secondary-color);
  position: relative;
}

#hamburger::after,
#hamburger::before {
  content: "";
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--secondary-color);
  margin-top: 5px;
  position: relative;
  transition: var(--transition);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 12rem;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 5.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  gap: 2rem;
}

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

.blob-shape {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: blob 8s ease-in-out infinite;
}

@keyframes blob {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.hero-scroll a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-light);
  font-size: 1.4rem;
}

.hero-scroll i {
  margin-top: 1rem;
  font-size: 2rem;
}

/* Sobre */
.sobre {
  background-color: var(--bg-light);
}

.sobre-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: center;
}

.sobre-img {
  position: relative;
}

.img-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.profile-img {
  width: 100%;
  transition: var(--transition);
}

.img-container:hover .profile-img {
  transform: scale(1.05);
}

.shape-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 15px;
  left: 15px;
  background-color: var(--primary-light);
  border-radius: var(--border-radius-lg);
  z-index: -1;
}

.sobre-text h3 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.destaque {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.skill-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.skill-icon {
  width: 50px;
  height: 50px;
  background-color: var(--bg-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 2rem;
  flex-shrink: 0;
}

.skill-text h4 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.skill-text p {
  margin: 0;
  font-size: 1.4rem;
}

/* Serviços */
.servicos {
  position: relative;
  overflow: hidden;
}

.bg-shape {
  position: absolute;
  width: 500px;
  height: 500px;
  background-color: var(--bg-accent);
  border-radius: 50%;
  top: -250px;
  right: -250px;
  z-index: -1;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.servico-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.servico-card .btn {
  margin-top: auto;
}

.servico-icon {
  width: 80px;
  height: 80px;
  background-color: var(--bg-accent);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.servico-icon i {
  font-size: 3.6rem;
  color: var(--primary-color);
}

.servico-card h3 {
  margin-bottom: 1.5rem;
}

.servico-features {
  margin: 2rem 0;
  text-align: left;
}

.servico-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.servico-features i {
  color: var(--success-color);
  margin-right: 1rem;
}

.servico-price {
  font-size: 2.4rem;
  color: var(--primary-color);
  font-weight: 700;
  margin: 2rem 0;
  text-align: center;
}

.servico-card.featured {
  position: relative;
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

.servico-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.servico-card.featured .servico-icon {
  background-color: var(--primary-color);
}

.servico-card.featured .servico-icon i {
  color: white;
}

/* Processo */
.processo {
  background-color: var(--bg-light);
}

.processo-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.processo-step {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--border-color);
}

.processo-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 30px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.8rem;
}

.step-content {
  margin-top: 1.5rem;
}

.step-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.step-content p {
  margin: 0;
}

/* Projetos */
.projetos {
  background-color: var(--bg-light);
}

.portfolio-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 5rem;
}

.portfolio-tab {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 3rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: white;
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.6rem;
  cursor: pointer;
  transition: var(--transition);
}

.portfolio-tab:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.portfolio-tab.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.portfolio-tab i {
  font-size: 1.8rem;
}

.portfolio-content {
  display: none;
}

.portfolio-content.active {
  display: block;
}

.carousel-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.carousel-wrapper {
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.projeto-slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.projeto-slide.active {
  opacity: 1;
}

.projeto-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: white;
  min-height: 400px;
}

.projeto-img {
  position: relative;
  overflow: hidden;
}

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

.projeto-item:hover .projeto-img img {
  transform: scale(1.05);
}

.projeto-info {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.projeto-categoria {
  display: inline-block;
  background-color: var(--bg-accent);
  color: var(--primary-color);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.projeto-info h3 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.projeto-info p {
  margin-bottom: 2rem;
  color: var(--text-light);
  line-height: 1.6;
}

.projeto-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.tech-tag {
  background-color: var(--bg-light);
  color: var(--text-color);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
}

.projeto-links {
  display: flex;
  gap: 1.5rem;
}

.projeto-links .btn {
  flex: 1;
  text-align: center;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  padding: 0 2rem;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.6rem;
}

.carousel-btn:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

.carousel-btn:disabled {
  background-color: var(--border-color);
  cursor: not-allowed;
  transform: none;
}

.carousel-dots {
  display: flex;
  gap: 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
}

.dot:hover {
  background-color: var(--primary-light);
}

/* Responsividade para Projetos */
@media (max-width: 1024px) {
  .projeto-item {
    grid-template-columns: 1fr;
  }

  .projeto-img {
    min-height: 250px;
  }

  .projeto-info {
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  .portfolio-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .portfolio-tab {
    padding: 1.2rem 2rem;
    font-size: 1.4rem;
  }

  .projeto-info {
    padding: 2.5rem;
  }

  .projeto-info h3 {
    font-size: 2.4rem;
  }

  .projeto-links {
    flex-direction: column;
  }

  .carousel-controls {
    padding: 0 1rem;
  }
}

@media (max-width: 576px) {
  .projeto-info {
    padding: 2rem;
  }

  .projeto-info h3 {
    font-size: 2rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  padding: 2rem;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.8rem;
}

.faq-icon {
  font-size: 1.6rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 2rem 2rem;
  max-height: 500px;
}

.faq-item.active .faq-icon i {
  transform: rotate(45deg);
}

.faq-item:hover {
  box-shadow: var(--shadow);
}

/* Contato */
.contato {
  position: relative;
  overflow: hidden;
}

.bg-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%234361ee'%3E%3C/path%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%234361ee'%3E%3C/path%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%234361ee'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  z-index: -1;
}

.contato-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contato-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.contato-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.contato-icon {
  width: 80px;
  height: 80px;
  background-color: var(--bg-accent);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.contato-icon i {
  font-size: 3.6rem;
  color: var(--primary-color);
}

.contato-card h3 {
  margin-bottom: 1rem;
  font-size: 2.2rem;
}

.contato-card p {
  margin-bottom: 2.5rem;
  color: var(--text-light);
}

.contato-card .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

.contato-card .btn i {
  font-size: 1.8rem;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  text-align: center;
  padding: 8rem 0;
}

.cta-content h2 {
  color: white;
  margin-bottom: 2rem;
}

.cta-content p {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 6rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.footer h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  position: relative;
}

.footer h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

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

.footer-contact i {
  margin-right: 1rem;
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.4rem;
}

.footer-credits {
  margin-top: 1rem;
  font-size: 1.3rem;
}

/* Botão Voltar ao Topo */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

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

/* WhatsApp Flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  z-index: 99;
  box-shadow: var(--shadow);
  transition: var(--transition);
  font-weight: 600;
}

.whatsapp-float i {
  font-size: 2.4rem;
}

.whatsapp-float span {
  font-size: 1.4rem;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.05);
  color: white;
}

/* Responsividade */
@media (max-width: 1024px) {
  html {
    font-size: 58%;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .sobre-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .sobre-img {
    max-width: 400px;
    margin: 0 auto;
  }

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

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

@media (max-width: 768px) {
  html {
    font-size: 55%;
  }

  section {
    padding: 8rem 0;
  }

  .hero-text h1 {
    font-size: 4rem;
  }

  .hero-text p {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .skills-container {
    grid-template-columns: 1fr;
  }

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

  #btn-mobile {
    display: block;
  }

  #menu {
    display: block;
    position: absolute;
    width: 100%;
    top: 70px;
    right: 0;
    background-color: var(--bg-color);
    height: 0;
    z-index: 1000;
    visibility: hidden;
    overflow-y: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  #nav.active #menu {
    height: calc(100vh - 70px);
    visibility: visible;
    overflow-y: auto;
  }

  #menu li {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
  }

  #menu a {
    display: block;
    padding: 1rem 0;
  }

  #nav.active #hamburger {
    border-top: none;
  }

  #nav.active #hamburger::before {
    transform: rotate(135deg);
  }

  #nav.active #hamburger::after {
    transform: rotate(-135deg);
    top: -7px;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }

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

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

@media (max-width: 576px) {
  html {
    font-size: 50%;
  }

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

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

  .faq-question {
    padding: 1.5rem;
  }

  .faq-answer {
    padding: 0 1.5rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
  }
}
