@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800;900&family=Open+Sans:wght@400;600&display=swap');

:root {
  --primary-color: #111111;
  --secondary-color: #d4af37; /* Gold */
  --secondary-hover: #f1c40f;
  --accent-color: #2e3436;
  --text-color: #444;
  --light-bg: #f5f6fa;
  --whatsapp-color: #25d366;
  --glass-bg: rgba(255, 255, 255, 0.9);
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-color);
}

/* Navbar with Glassmorphism */
.navbar {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.navbar-brand img {
  height: 55px;
  transition: transform 0.3s;
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-color) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--secondary-color) !important;
}

/* Hero Section with Parallax Effect */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(17,17,17,0.95) 0%, rgba(30,30,30,0.95) 100%), url('../fceb250e-ac90-4d94-825d-efa9928cc080.jpg') center/cover fixed;
  color: #fff;
  padding: 140px 0 100px;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero h1 {
  color: #fff;
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.text-gold {
  color: var(--secondary-color) !important;
}

.hero p.lead {
  font-size: 1.25rem;
  color: #ddd;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* Blob Image Effect */
.blob-img {
  width: 100%;
  max-width: 450px;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  animation: morph 8s ease-in-out infinite;
  border: 4px solid var(--secondary-color);
  transition: transform 0.5s;
}

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

@keyframes morph {
  0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
  67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}

/* Buttons */
.btn-whatsapp {
  background-color: var(--whatsapp-color);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  padding: 15px 35px;
  letter-spacing: 1px;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-whatsapp:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 25px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.btn-outline-gold {
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 13px 30px;
  letter-spacing: 1px;
  background: transparent;
  transition: all 0.3s;
}

.btn-outline-gold:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Sections */
section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  font-weight: 800;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), #fff);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* About Image Grid */
.about-img-wrapper {
  position: relative;
  padding-right: 20px;
  padding-bottom: 20px;
}

.about-img-wrapper::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 0;
  bottom: 0;
  left: 20px;
  border: 4px solid var(--secondary-color);
  border-radius: 20px;
  z-index: -1;
}

.about-img-wrapper img {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}

.about-img-wrapper:hover img {
  transform: translate(-10px, -10px);
}

/* Plans (3D Hover Effect) */
.plan-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: none;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: #333; /* Default */
  transition: height 0.3s ease;
  z-index: -1;
}

.plan-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.plan-card:hover::before {
  height: 100%;
  opacity: 0.05;
}

.plan-card h3 {
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.plan-card .price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 25px;
  font-family: 'Montserrat', sans-serif;
}

/* Plan Colors */
.plan-level-Níquel::before { background: #a8a8a8; }
.plan-level-Bronze::before { background: #cd7f32; }
.plan-level-Prata::before { background: #c0c0c0; }
.plan-level-Ouro {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.3);
}
.plan-level-Ouro::before { background: var(--secondary-color); }
.plan-level-Ouro:hover { transform: scale(1.05) translateY(-15px); }
.plan-level-Diamante::before { background: #5bc0de; }

/* Timeline */
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  height: 100%;
  width: 3px;
  background: rgba(212, 175, 55, 0.3);
}
.timeline-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 40px;
  transition: transform 0.3s ease;
}
.timeline-item:hover {
  transform: translateX(10px);
}
.timeline-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  border: 3px solid #fff;
  transition: all 0.3s;
}
.timeline-item:hover .timeline-icon {
  background: var(--secondary-color);
  color: #fff;
  transform: scale(1.1) rotate(10deg);
}

/* Calculators */
.calculator-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s;
}
.calculator-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary-color);
}
.calculator-card h4 {
  font-weight: 800;
}
.form-control {
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
  transition: all 0.3s;
}
.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

/* Form Section */
#contato {
  background: linear-gradient(135deg, #111, #222);
  color: #fff;
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
  padding-top: 140px;
}
#contato .section-title {
  color: #fff;
}
.contact-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.1);
}
#contato .form-label {
  color: #ccc;
}
#contato .form-control {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
#contato .form-control:focus {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--whatsapp-color);
  color: #fff;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.floating-whatsapp::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--whatsapp-color);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.floating-whatsapp:hover {
  transform: scale(1.15) rotate(-10deg);
  color: #fff;
}

/* Footer */
footer {
  background-color: #0a0a0a;
  color: #888;
  padding: 60px 0 30px;
}
footer a {
  color: #fff;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}
footer a:hover {
  color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 991px) {
  .hero h1 { font-size: 2.5rem; }
  .plan-level-Ouro { transform: scale(1); }
  .plan-level-Ouro:hover { transform: translateY(-10px); }
  .hero { clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%); }
}

/* Animations Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
