/* RESET */
body {
  margin: 0;
  font-family: Arial;
  background: #0b0f1a;
  color: white;
  padding-top: 80px;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* CONTAINER GLOBAL (FIX) */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* FLEX APENAS NA NAVBAR */
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
}

/* FORÇA LAYOUT NORMAL NAS PÁGINAS */
.services-page .container,
.page-header .container,
.page-content .container {
  display: block;
}

.logo {
  font-size: 20px;
  font-weight: 600;
  color: #3b82f6;
}

/* MENU */
.menu a {
  position: relative;
  margin-left: 30px;
  color: #bbb;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.menu a:hover {
  color: white;
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #3b82f6;
  transition: 0.3s;
}

.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}

.menu a.active {
  color: white;
}

/* BOTÃO NAV */
.cta {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  padding: 8px 18px;
  border-radius: 8px;
  color: white;
  margin-left: 40px;
  transition: 0.3s;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59,130,246,0.4);
}

/* ================= HERO ================= */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  background: url('images/hero.jfif') center/cover no-repeat;
  position: relative;
  text-align: center;

  padding: 0 20px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at center, rgba(59,130,246,0.15), transparent 60%),
    rgba(0,0,0,0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-top: 60px;

  animation: fadeUp 0.8s ease;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.hero-sub {
  color: #ccc;
  margin-bottom: 25px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* BOTÕES */
.btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  padding: 12px 28px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59,130,246,0.4);
}

.btn-outline {
  border: 1px solid #3b82f6;
  padding: 12px 28px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #3b82f6;
}

/* ANIMAÇÃO */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero-sub {
    font-size: 14px;
  }
}

/* ================= SERVICES ================= */
.services {
  padding: 80px 20px;
  text-align: center;
  background: #0b0f1a;
}

.services h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.subtitle {
  color: #aaa;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.service-card {
  background: linear-gradient(145deg, #0f172a, #111827);
  padding: 30px;
  border-radius: 14px;

  border: 1px solid rgba(255,255,255,0.05);

  transition: all 0.35s ease;

  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(59,130,246,0.8);

  box-shadow:
    0 15px 40px rgba(0,0,0,0.7),
    0 0 25px rgba(59,130,246,0.3);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(circle at top, rgba(59,130,246,0.15), transparent 70%);
  opacity: 0;
  transition: 0.3s;
}

.service-card:hover::before {
  opacity: 1;
}

.icon {
  font-size: 28px;
  color: #3b82f6;
  opacity: 0.9;
  transition: 0.3s;
}

.service-card:hover .icon {
  opacity: 1;
  transform: scale(1.1);
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  line-height: 1.6;
}

/* ================= CTA ================= */
.cta-section {
  margin-top: 100px;
  padding: 60px 40px;
  border-radius: 16px;

  display: flex;
  flex-direction: column; /* 👈 FORÇA O BOTÃO A IR PARA BAIXO */
  align-items: center;
  justify-content: center;
  gap: 20px;

  text-align: center;

  background: linear-gradient(135deg, #020617, #0b0f1a);
  border: 1px solid rgba(59,130,246,0.15);
  box-shadow: 0 0 60px rgba(59,130,246,0.08);
}

/* TEXTO */
.cta-section h2 {
  font-size: 28px;
}

/* BOTÃO */
.cta-section a {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  padding: 14px 30px;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.cta-section a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59,130,246,0.4);
}

/* ================= FOOTER ================= */
.footer {
  background: #020617;
  padding: 60px 20px 30px;
}

.footer-container {
  max-width: 1100px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* TITULOS */
.footer-col h3,
.footer-col h4 {
  color: #3b82f6;
  margin-bottom: 12px;
}

/* TEXTO */
.footer-col p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
}

/* LINKS */
.footer-col a {
  display: block;
  color: #bbb;
  text-decoration: none;
  margin-bottom: 6px;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #3b82f6;
  transform: translateX(4px);
}

/* COPYRIGHT */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #666;
}

/* ================= MOBILE FOOTER FIX ================= */
@media (max-width: 768px) {

  .footer {
    padding: 40px 20px 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .footer-col h3,
  .footer-col h4 {
    margin-bottom: 6px;
    font-size: 16px;
  }

  .footer-col p {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .footer-col a {
    margin-bottom: 4px;
    font-size: 14px;
  }

  .footer-bottom {
    margin-top: 15px;
    font-size: 12px;
  }

}

.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;

  background: #25D366;
  color: white;

  padding: 14px 16px;
  border-radius: 50%;

  font-size: 18px;
  text-decoration: none;

  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* BOTÃO TOPO */
.top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #3b82f6;
  padding: 12px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
}

/* ================= BUSINESS ================= */
.business {
  padding: 80px 20px;
  text-align: center;
  background: #0b0f1a;
}

.business .container {
  display: block !important;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.business h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.business p {
  color: #aaa;
  line-height: 1.6;
  font-size: 15px;
}

/* ================= PERSONALIZAÇÃO DAS PÁGINAS ================= */
.page-header {
  padding: 120px 20px 60px;
  text-align: center;
  background: linear-gradient(to bottom, #020617, #0b0f1a);
}

.page-header h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.page-header p {
  color: #aaa;
}

.page-content {
  padding: 60px 20px;
}

/* ================= FORMULÁRIO ================= */
.contact-form {
  width: 100%;
  max-width: 600px;
  margin: auto;

  padding: 40px;
  border-radius: 18px;

  background: linear-gradient(145deg, #020617, #0b0f1a);

  border: 1px solid rgba(59,130,246,0.1);

  box-shadow:
    0 0 60px rgba(59,130,246,0.05),
    0 20px 60px rgba(0,0,0,0.8);
}

/* GROUP */
.form-group {
  position: relative;
  margin-bottom: 25px;
}

/* INPUTS */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border-radius: 10px;

  border: 1px solid rgba(255,255,255,0.08);
  background: #020617;
  color: white;

  font-size: 14px;

  outline: none;
  transition: 0.3s;
}

/* TEXTAREA */
.form-group textarea {
  min-height: 130px;
  resize: none;
}

/* LABEL */
.form-group label {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: #777;
  font-size: 13px;

  pointer-events: none;
  transition: 0.3s;
}

/* FOCUS EFFECT */
.form-group input:focus,
.form-group textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 12px rgba(59,130,246,0.25);
}

/* FLOAT LABEL */
.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  top: -8px;
  left: 12px;
  font-size: 11px;
  color: #3b82f6;
  background: #0b0f1a;
  padding: 0 6px;
}

/* BOTÃO */
.btn-submit {
  width: 100%;
  margin-top: 10px;
  padding: 16px;

  font-weight: 600;
  letter-spacing: 0.5px;

  border-radius: 12px;
}

/* HOVER */
.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(59,130,246,0.5);
}

/* ================= SERVIÇOS ================= */
/* SERVICES PAGE */
.services-page {
  padding: 120px 20px 80px;
}

/* HEADER */
.services-header {
  text-align: center;
  margin-bottom: 80px;
}

.services-header h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.services-header p {
  color: #aaa;
  max-width: 600px;
  margin: auto;
}

/* LIST */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* ITEM */
.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* INVERTIDO */
.service-item.reverse {
  direction: rtl;
}

.service-item.reverse div {
  direction: ltr;
}

/* IMAGEM */
.service-item img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* TEXTO */
.service-item h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.service-item p {
  color: #bbb;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .service-item {
    grid-template-columns: 1fr;
  }

  .service-item.reverse {
    direction: ltr;
  }
}

.service-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  transition: 0.4s;
}

.service-item img:hover {
  transform: scale(1.05);
}

/* ================= PREÇOS ================= */
.pricing {
  padding: 80px 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* CARD */
.price-card {
  background: linear-gradient(145deg, #0f172a, #111827);
  padding: 35px;
  border-radius: 16px;
  text-align: center;

  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* HOVER */
.price-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.7),
    0 0 25px rgba(59,130,246,0.2);
}

/* DESTAQUE */
.price-card.featured {
  transform: scale(1.07);
  border: 1px solid #3b82f6;

  box-shadow:
    0 0 30px rgba(59,130,246,0.4),
    0 20px 60px rgba(0,0,0,0.8);
}

/* BADGE */
.price-card.featured::before {
  content: "Mais Popular";
  position: absolute;
  top: 15px;
  right: -40px;
  background: #3b82f6;
  color: white;
  font-size: 12px;
  padding: 5px 40px;
  transform: rotate(45deg);
  z-index: 2;
}

/* TITULO */
.price-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

/* PREÇO */
.price {
  font-size: 32px;
  font-weight: bold;
  color: #3b82f6;
  margin-bottom: 20px;
}

/* LISTA */
.price-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.price-card ul li {
  margin-bottom: 10px;
  color: #bbb;
}

/* BOTÃO */
.price-card .btn {
  width: 100%;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2; /* 👈 garante clique */
}

.price-card .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(59,130,246,0.5);
}

/* ICON */
.price-icon {
  font-size: 34px;
  margin-bottom: 15px;

  display: inline-block;

  background: radial-gradient(circle, rgba(59,130,246,0.35), transparent 70%);
  padding: 18px;
  border-radius: 50%;

  box-shadow: 0 0 20px rgba(59,130,246,0.2);

  transition: 0.4s;
}

/* ANIMAÇÃO HOVER */
.price-card:hover .price-icon {
  transform: scale(1.25) rotate(6deg);
  box-shadow: 0 0 40px rgba(59,130,246,0.5);
}

/* OVERLAY VISUAL (CORRIGIDO) */
.price-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(59,130,246,0.1), transparent 70%);
  opacity: 0;
  transition: 0.3s;

  pointer-events: none; /* 👈 CORREÇÃO DO PROBLEMA */
}

/* HOVER OVERLAY */
.price-card:hover::after {
  opacity: 1;
}

/* ================= QUEM SOMOS ================= */
.about {
  padding: 80px 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about-text p {
  color: #bbb;
  line-height: 1.7;
  margin-bottom: 15px;
}

.about-img img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  transition: 0.4s;
}

.about-img img:hover {
  transform: scale(1.05);
}

/* ================= VALORES ================= */
.values {
  padding: 100px 20px;
  text-align: center;
  position: relative;
}

.values h2 {
  margin-bottom: 50px;
  font-size: 32px;
}

/* GRID */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
}

/* CARD */
.value-card {
  background: linear-gradient(145deg, #0f172a, #111827);
  padding: 35px;
  border-radius: 16px;

  border: 1px solid rgba(255,255,255,0.05);

  transition: all 0.35s ease;

  position: relative;
  overflow: hidden;

  animation: fadeUp 0.8s ease;
}

/* HOVER */
.value-card:hover {
  transform: translateY(-12px) scale(1.03);

  border-color: rgba(59,130,246,0.8);

  box-shadow:
    0 20px 50px rgba(0,0,0,0.7),
    0 0 30px rgba(59,130,246,0.3);
}

/* EFEITO LUZ */
.value-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(circle at top, rgba(59,130,246,0.15), transparent 70%);
  opacity: 0;
  transition: 0.3s;
}

.value-card:hover::before {
  opacity: 1;
}

/* ÍCONE */
.value-icon {
  font-size: 30px;
  margin-bottom: 15px;

  display: inline-block;

  background: radial-gradient(circle, rgba(59,130,246,0.35), transparent 70%);
  padding: 18px;
  border-radius: 50%;

  box-shadow: 0 0 20px rgba(59,130,246,0.2);

  transition: 0.4s;
}

/* HOVER ICON */
.value-card:hover .value-icon {
  transform: scale(1.25) rotate(6deg);
  box-shadow: 0 0 40px rgba(59,130,246,0.5);
}

/* TEXTO */
.value-card h3 {
  margin-bottom: 10px;
}

.value-card p {
  color: #bbb;
  line-height: 1.6;
}

/* ANIMAÇÃO */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ================= MOBILE MENU ================= */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;

    background: rgba(2,6,23,0.95);
    backdrop-filter: blur(10px);

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 20px;
    padding: 30px 0;

    transform: translateY(-120%);
    transition: 0.4s ease;
  }

  .menu.active {
    transform: translateY(0);
  }

  .menu a {
    display: block;
    margin: 0;
    font-size: 16px;
  }

  .cta {
    margin-top: 10px;
  }

}

/* ================= FORM MOBILE ================= */
@media (max-width: 768px) {

  .contact-form {
    padding: 25px 18px;
    border-radius: 14px;
  }

  .form-group {
    margin-bottom: 18px;
  }

  .form-group input,
  .form-group textarea {
    padding: 14px;
    font-size: 14px;
  }

  .form-group textarea {
    min-height: 110px;
  }

  /* label ajustado */
  .form-group label {
    font-size: 12px;
  }

  /* botão */
  .btn-submit {
    padding: 14px;
    font-size: 14px;
  }
}

/* ================= CONTACT PAGE FINAL FIX ================= */

/* HEADER MAIS LIMPO */
.page-header {
  padding: 90px 20px 40px;
  text-align: center;
}

/* REMOVE FUNDO PESADO (se existir gradiente herdado) */
.page-header {
  background: transparent;
}

/* CONTEÚDO */
.page-content {
  padding: 0 20px 60px;
}

/* FORM MAIS RESPIRADO */
.contact-form {
  margin-top: 30px;
  padding: 25px 20px;
  border-radius: 14px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .page-header {
    padding: 80px 20px 25px;
  }

  .page-header h1 {
    font-size: 26px;
    margin-bottom: 10px;
  }

  .page-header p {
    font-size: 14px;
  }

  .contact-form {
    margin-top: 20px;
    padding: 20px 15px;
  }

  /* FIX GLOBAL BOX MODEL */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  display: block;
}
}