:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #ccfbf1;
  --accent: #f59e0b;
  --dark: #134e4a;
  --text: #374151;
  --text-light: #6b7280;
  --bg-cream: #f0fdf4;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(13, 148, 136, 0.12);
  --radius: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  line-height: 1.2;
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--dark) !important;
}

.navbar-brand span { color: var(--primary); }

.nav-link {
  font-weight: 500;
  color: var(--text) !important;
  margin: 0 0.5rem;
  position: relative;
}

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

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

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.35);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(13, 148, 136, 0.45);
  color: white;
}

.btn-outline-custom {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background: var(--primary);
  color: white;
}

/* Hero */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--bg-cream) 0%, #ecfdf5 50%, #d1fae5 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--primary);
  position: relative;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(13, 148, 136, 0.15);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.hero-image-wrapper {
  position: relative;
}

.hero-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 550px;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  background: white;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-float-card.top {
  top: 10%;
  left: -8%;
  animation: float 4s ease-in-out infinite;
}

.hero-float-card.bottom {
  bottom: 15%;
  right: -5%;
  animation: float 4s ease-in-out infinite 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

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

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-light);
  max-width: 600px;
  font-size: 1.1rem;
}

/* Services */
.services { background: var(--white); }

.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border: 1px solid #e5e7eb;
  transition: all 0.4s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-light), #a7f3d0);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

/* About */
.about { background: var(--bg-cream); }

.about-image {
  border-radius: var(--radius);
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-feature i {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

/* Process */
.process-step {
  text-align: center;
  position: relative;
  padding: 2rem 1.5rem;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

/* Testimonials */
.testimonials { background: var(--dark); color: white; }

.testimonials .section-title,
.testimonials .section-tag { color: white; }

.testimonials .section-tag { background: rgba(255,255,255,0.15); }

.testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
}

.testimonial-stars { color: var(--accent); margin-bottom: 1rem; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* Pricing */
.pricing-card {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border: 2px solid #e5e7eb;
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: scale(1.03);
}

.pricing-card.featured::before {
  content: 'Mais Popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.35rem 1.25rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--primary);
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-light);
  font-family: 'DM Sans', sans-serif;
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
}

.pricing-features li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-features li i { color: var(--primary); }

/* FAQ */
.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: white;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-question:hover { background: var(--bg-cream); }

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  display: none;
}

.faq-item.active .faq-answer { display: block; }

.faq-item.active .faq-question i { transform: rotate(180deg); }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  padding: 4rem 3rem;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 50%;
  height: 200%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-section h2 { color: white; font-size: 2.5rem; margin-bottom: 1rem; }

.cta-section p { opacity: 0.9; max-width: 500px; margin: 0 auto 2rem; }

.btn-white {
  background: white;
  color: var(--primary);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  border: none;
  transition: all 0.3s;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Contact */
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
}

.form-control, .form-select {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  transition: border-color 0.3s;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

/* Footer */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

footer h5 {
  color: white;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1.5rem;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover { color: var(--primary-light); }

.social-links a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--primary);
  color: white !important;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .hero-image { height: 400px; }
  .hero-float-card { display: none; }
  .hero-stats { gap: 1.5rem; }
  .pricing-card.featured { transform: none; }
  .about-features { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  section { padding: 70px 0; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .cta-section { padding: 3rem 1.5rem; }
}
