:root {
  --azul: rgb(33, 63, 102);
  --azul-claro: #4a90e2;
  --branco: #ffffff;
  --cinza: #f8fafc;
  --cinza-escuro: #1e293b;
  --preto: #0f172a;
  --gradiente-azul: linear-gradient(
    135deg,
    var(--azul) 0%,
    var(--azul-claro) 100%
  );
  --sombra: 0 4px 20px rgba(0, 0, 0, 0.08);
  --sombra-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --borda-radius: 12px;
  --transicao: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--cinza);
  color: var(--cinza-escuro);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--borda-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transicao);
  border: none;
}

.btn-primary {
  background: var(--gradiente-azul);
  color: var(--branco);
  box-shadow: 0 4px 15px rgba(33, 63, 102, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(33, 63, 102, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--azul);
  border: 2px solid var(--azul);
}

.btn-secondary:hover {
  background: var(--azul);
  color: var(--branco);
}

.destaque {
  color: var(--azul);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transicao);
}

header.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  transition: var(--transicao);
}

header.scrolled .header-container {
  padding: 5px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--preto);
}

.logo span {
  color: var(--azul);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  position: relative;
  font-weight: 500;
  padding: 5px 0;
}

.nav-links a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--azul);
  transition: var(--transicao);
}

.nav-links a:hover:after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--azul);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--preto);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  background: var(--branco);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -300px;
  right: -300px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    rgba(33, 63, 102, 0.1) 0%,
    rgba(74, 144, 226, 0.05) 100%
  );
  z-index: 1;
}

.hero-container {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  padding-right: 40px;
}

.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 500px;
  color: #64748b;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 50px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: rgba(33, 63, 102, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--azul);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--azul);
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--cinza);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: #64748b;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--branco);
  padding: 40px 30px;
  border-radius: var(--borda-radius);
  box-shadow: var(--sombra);
  transition: var(--transicao);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--sombra-hover);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: rgba(33, 63, 102, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--azul);
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Services Section */
.services {
  padding: 100px 0;
  background: var(--branco);
}

.services-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  padding: 12px 25px;
  background: transparent;
  border: none;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transicao);
}

.tab-btn.active {
  background: var(--azul);
  color: var(--branco);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.service-card {
  background: var(--cinza);
  border-radius: var(--borda-radius);
  padding: 30px;
  margin-bottom: 20px;
  display: flex;
  gap: 30px;
  align-items: center;
}

.service-image {
  flex: 1;
}

.service-image img {
  width: 100%;
  border-radius: var(--borda-radius);
  box-shadow: var(--sombra);
}

.service-info {
  flex: 1;
}

.service-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--azul);
}

.service-info ul {
  margin: 20px 0;
  padding-left: 20px;
}

.service-info ul li {
  margin-bottom: 10px;
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
  background: var(--gradiente-azul);
  color: var(--branco);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.testimonials::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.testimonials .section-header h2,
.testimonials .section-header p {
  color: var(--branco);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 2;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: var(--borda-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.testimonial-author h4 {
  margin-bottom: 5px;
}

.testimonial-author p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.testimonial-rating {
  color: #ffc107;
  margin: 10px 0;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  text-align: center;
  background: var(--branco);
}

.cta-box {
  background: var(--gradiente-azul);
  padding: 60px;
  border-radius: var(--borda-radius);
  color: var(--branco);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(33, 63, 102, 0.2);
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.cta-box p {
  max-width: 600px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 2;
  opacity: 0.9;
}

/* Footer */
footer {
  background: var(--preto);
  color: var(--branco);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 3px;
  background: var(--azul);
  bottom: -10px;
  left: 0;
}

.footer-about p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  opacity: 0.8;
  transition: var(--transicao);
  display: inline-block;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--azul);
  transform: translateX(5px);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transicao);
}

.social-links a:hover {
  background: var(--azul);
  transform: translateY(-5px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 50px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .service-card {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .cta-box {
    padding: 40px 20px;
  }

  .cta-box h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-item {
    justify-content: center;
  }
}
