/* Reset e Variáveis */
:root {
  --primary-color: #1e3a5f;
  --secondary-color: #ff6b35;
  --accent-color: #25d366;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-radius: 12px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: var(--bg-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo h1 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--secondary-color);
}

.btn-login {
  background-color: var(--primary-color);
  color: white !important;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  transition: var(--transition);
}

.btn-login:hover {
  background-color: #2c5282;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2c5282 100%);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background-color: #e55a2b;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(255, 107, 53, 0.3);
}

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

.btn-secondary:hover {
  background-color: var(--bg-light);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background-color: var(--accent-color);
  color: white;
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(37, 211, 102, 0.3);
}

.btn-pix {
  background-color: #00aaaa;
  color: white;
}

.btn-pix:hover {
  background-color: #008888;
  transform: translateY(-3px);
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 3rem;
}

/* Benefícios */
.beneficios {
  background-color: var(--bg-light);
}

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

.beneficio-card {
  background-color: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.beneficio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.beneficio-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #2c5282);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.beneficio-card h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.beneficio-card h4 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.beneficio-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* Galeria de Imagens */
.galeria {
  background-color: var(--bg-white);
}

.galeria-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  margin-top: -1.5rem;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.galeria-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  cursor: pointer;
}

.galeria-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.galeria-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

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

.galeria-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 70%, transparent 100%);
  color: white;
  padding: 1.5rem;
  transform: translateY(0);
  transition: var(--transition);
}

.galeria-item:hover .galeria-overlay {
  background: linear-gradient(to top, rgba(30, 58, 95, 0.95) 0%, rgba(30, 58, 95, 0.85) 70%, rgba(30, 58, 95, 0.3) 100%);
}

.galeria-overlay h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.galeria-overlay p {
  font-size: 0.95rem;
  opacity: 0.95;
  line-height: 1.4;
}

/* Preços */
.precos {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.precos-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.cta-whatsapp {
  background-color: var(--accent-color);
  color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  margin-bottom: 3rem;
}

.cta-whatsapp h4 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.cta-whatsapp p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.pagamento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pagamento-card {
  background-color: white;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
  transition: var(--transition);
}

.pagamento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.pagamento-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.pagamento-badge.destaque {
  background-color: var(--secondary-color);
}

.pagamento-card h4 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.preco {
  text-align: center;
  margin: 2rem 0;
}

.preco-valor {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.preco-periodo {
  font-size: 1.3rem;
  color: var(--text-light);
}

.pagamento-beneficios {
  list-style: none;
  margin: 2rem 0;
}

.pagamento-beneficios li {
  padding: 0.75rem 0;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.pagamento-beneficios i {
  color: var(--accent-color);
  margin-right: 0.75rem;
}

.pagamento-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 1.5rem;
}

/* PIX Info */
.pix-info {
  margin: 1.5rem 0;
}

.pix-info ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-dark);
}

.pix-info ol li {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.pix-dados {
  background-color: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  text-align: center;
}

.pix-chave {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0 1.5rem;
  letter-spacing: 1px;
}

.qrcode-container {
  margin-top: 1.5rem;
}

.qrcode {
  max-width: 250px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qrcode-label {
  margin-top: 1rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0 1rem;
}

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

.footer-section h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin: 0.75rem 0;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: white;
}

.footer-section ul li i {
  margin-right: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  z-index: 999;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .nav {
    display: none;
  }

  .nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .beneficios-grid,
  .galeria-grid,
  .pagamento-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

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

  .preco-valor {
    font-size: 2.5rem;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  section {
    padding: 3rem 0;
  }

  .beneficio-card,
  .galeria-item,
  .pagamento-card {
    padding: 1.5rem;
  }

  .galeria-item img {
    height: 220px;
  }

  .qrcode {
    max-width: 200px;
  }
}

/* Lightbox (Visualizador de Imagens) */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
  border-radius: 8px;
}

@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 20px 0;
  font-size: 1.1rem;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 50px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--secondary-color);
}

.lightbox-prev,
.lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -50px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 40px;
  transition: 0.3s ease;
  border-radius: 0 6px 6px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
}

.lightbox-next {
  right: 0;
  border-radius: 6px 0 0 6px;
}

.lightbox-prev {
  left: 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: var(--secondary-color);
}

@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95%;
  }

  .lightbox-close {
    top: 10px;
    right: 20px;
    font-size: 40px;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 30px;
    padding: 12px;
  }

  .lightbox-caption {
    font-size: 0.95rem;
    padding: 15px 10px;
  }
}
