/* Reset e Configurações Gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  /* Azul limpeza / tecnologia */
  --primary: #1f4fd8;
  /* azul principal (confiança) */
  --primary-dark: #1d4579;
  /* azul escuro premium */
  --primary-light: #64b5f6;
  /* azul claro - ADICIONAR */
  --accent: #193a66;
  /* azul escuro premium */

  /* Prata / satisfação */
  --light: #f5f7fa;
  /* fundo claro elegante */
  --light-gray: #e4e9f0;
  /* prata suave */
  --gray: #6b7280;
  /* cinza profissional */
  --dark: #ffffffe0;
  /* texto forte */

  --white: #ffffff;
  /* ADICIONAR - branco */
  --shadow: 0 4px 12px rgba(26, 115, 232, 0.1);
  /* ADICIONAR */
  --shadow-hover: 0 8px 24px rgba(26, 115, 232, 0.2);
  /* ADICIONAR */

  /* CTA WhatsApp (mantém verde porque converte MAIS) */
  --secondary: #25d366;
  --secondary-dark: #1da851;
  /* ADICIONAR */
}

body {
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

h2 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 50px;
}

/* Header e Navegação */
.hero {
  position: relative;
  min-height: 65vh;
  background-image: url("hero1.png");
  /* essa imagem */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.highlight {
  color: var(--secondary);
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  
  z-index: -1;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-nav,
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--secondary);
  color: white;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
  background: #1da851;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.508);
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--accent);
  transform: translateY(-3px);
}

.navbar {
  background: rgba(0, 156, 247, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(0, 0, 0, 0.35);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.logo span {
  color: var(--secondary);
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 30px;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: var(--secondary);
  font-size: 1.2rem;
}

.contact-info small {
  color: var(--gray);
  font-size: 0.9rem;
}

.contact-info p {
  font-weight: 600;
  color: var(--accent);
}

.btn-nav {
  background: var(--secondary);
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 1rem;
}

.btn-nav:hover {
  background: #1da851;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.card {
  background: white;
  padding: 35px 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.8rem;
}

.card h3 {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.card p {
  color: var(--gray);
  font-size: 1rem;
}

/* Services Section */
.services {
  background: var(--light-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.service-card {
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  border-color: var(--secondary);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.service-card h3 {
  color: var(--accent);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Process Section */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--light-gray);
  z-index: 1;
}

.step {
  position: relative;
  z-index: 2;
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 20px;
}

.step h3 {
  color: var(--accent);
  margin-bottom: 15px;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  color: white;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.btn-whatsapp {
  background: var(--secondary);
  color: white;
  font-size: 1.2rem;
  padding: 18px 40px;
  margin-bottom: 20px;
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-note {
  font-size: 1rem;
  opacity: 0.9;
}

.cta-note i {
  margin-right: 8px;
}

/* Trust Section */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.trust-item {
  text-align: center;
  padding: 25px;
}

.trust-item i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.trust-item h3 {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* Footer */
footer {
  background: var(--accent);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-info .logo {
  color: white;
  font-size: 2rem;
  margin-bottom: 20px;
}

.footer-info p {
  opacity: 0.8;
  margin-bottom: 25px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.footer-contact h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.footer-contact i {
  color: var(--secondary);
  width: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 70px;
  right: 30px;
  background: var(--secondary);
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #1da851;
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsividade */

@media (max-width: 768px) {
  .hero {
    padding-top: 80px;
    background:
      linear-gradient(
        rgba(20, 51, 135, 0.75),
        rgba(6, 19, 35, 0.85)
      ),
      url("hero1.png") cover;
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 80px !important;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }

  .navbar .container {
    flex-direction: column;
    gap: 15px;
  }

  .nav-contact {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .process-steps::before {
    display: none;
  }

  section {
    padding: 60px 0;
  }

  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .benefits-grid,
  .services-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }
}

/* Estilos para a navbar com logo e imagem */
.navbar .logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.logo-main .highlight {
  color: var(--secondary);
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 500;
  letter-spacing: 1px;
}

/* Ajustes para responsividade */
@media (max-width: 768px) {
  .nav-logo {
    width: 40px;
    height: 40px;
  }

  .logo-main {
    font-size: 1.4rem;
  }

  .logo-subtitle {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .navbar .logo {
    gap: 10px;
  }

  .nav-logo {
    width: 42px;
    height: 42px;
  }

  .logo-main {
    font-size: 1.3rem;
  }

  .logo-subtitle {
    display: none;
  }
}

/* ========== SEÇÃO ANTES & DEPOIS ========== */
.before-after {
  background: linear-gradient(135deg, var(--light) 0%, #e8f4ff 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.before-after::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%231a73e8' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.before-after-container {
  max-width: 1200px;
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.ba-item {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(31, 79, 216, 0.1);
  /* Usando sua cor primary */
  transition: all 0.4s ease;
  border: 1px solid rgba(31, 79, 216, 0.1);
  /* Usando sua cor primary */
  position: relative;
}

.ba-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(31, 79, 216, 0.2);
  /* Efeito hover */
}

/* CABEÇALHO DO CARD - Aqui você configura a cor de fundo */
.ba-header {
  padding: 25px 30px 20px;
  background: linear-gradient(135deg, #1f4fd8, #0b1f3a);
  /* Suas cores primary e accent */
  color: white;
  text-align: center;
}

.ba-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: white;
  font-weight: 700;
}

.ba-category {
  font-size: 0.95rem;
  opacity: 0.9;
  font-style: italic;
}

/* ÁREA DAS IMAGENS */
.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  position: relative;
}

.ba-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.ba-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ba-image-wrapper:hover .ba-image {
  transform: scale(1.05);
}

/* LABELS "ANTES" E "DEPOIS" - Aqui você configura as cores */
.ba-label {
  position: absolute;
  top: 15px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  z-index: 2;
  border-radius: 0 20px 20px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.ba-label.before {
  left: 0;
  background: #e53935;
  /* Vermelho para "ANTES" */
  color: white;
}

.ba-label.after {
  right: 0;
  background: #25d366;
  /* Verde do WhatsApp para "DEPOIS" */
  color: white;
  border-radius: 20px 0 0 20px;
}

/* DESCRIÇÃO DO CARD */
.ba-description {
  padding: 25px 30px;
  background: var(--light);
}

.ba-description p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 15px;
  position: relative;
  padding: 0 10px;
}

.ba-description .fa-quote-left {
  color: #1f4fd8;
  /* Sua cor primary */
  font-size: 1.2rem;
  margin-right: 8px;
  opacity: 0.7;
}

.ba-description .fa-quote-right {
  color: #1f4fd8;
  /* Sua cor primary */
  font-size: 1.2rem;
  margin-left: 8px;
  opacity: 0.7;
}

.ba-client {
  text-align: right;
  font-style: italic;
  color: var(--accent);
  padding-top: 15px;
  border-top: 1px solid rgba(31, 79, 216, 0.1);
  /* Sua cor primary */
}

/* CTA FINAL DA SEÇÃO */
.cta-ba {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background: linear-gradient(135deg, var(--white), var(--light));
  border-radius: 20px;
  border: 2px dashed rgba(31, 79, 216, 0.3);
  /* Sua cor primary */
}

.cta-ba p {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 25px;
  font-weight: 600;
}

/* DEBUG - Adicione temporariamente para ver o botão */
.cta-ba .btn-primary {
  position: relative;
  z-index: 100 !important;
  border: 3px solid rgba(0, 17, 255, 0.562) !important;
  /* Para ver a área do botão */
  background: #25d366 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Verifique se algo está cobrindo */
.cta-ba {
  position: relative;
  z-index: 10;
}

/* ====== RESPONSIVIDADE ====== */
@media (max-width: 992px) {
  .before-after-container {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .ba-images {
    grid-template-columns: 1fr;
  }

  .ba-image-wrapper {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .before-after {
    padding: 70px 0;
  }

  .ba-item {
    margin: 0 10px;
  }

  .ba-header {
    padding: 20px;
  }

  .ba-description {
    padding: 20px;
  }

  .cta-ba {
    padding: 30px 20px;
    margin: 40px 10px 0;
  }
}

@media (max-width: 480px) {
  .ba-image-wrapper {
    height: 220px;
  }

  .ba-label {
    padding: 6px 15px;
    font-size: 0.8rem;
  }

  .ba-description p {
    font-size: 1rem;
  }

  .cta-ba p {
    font-size: 1.1rem;
  }
}

.glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}