/* ============================================
   RAFAEL COSTA — PERSONAL TRAINER
   Premium Fitness Website Stylesheet
   ============================================ */

/* ── CSS Custom Properties ── */
:root {
  /* Colors */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --bg-elevated: #1e1e1e;

  --text-primary: #ffffff;
  --text-secondary: #c0c0c0;
  --text-muted: #808080;

  --gold: #c8a45e;
  --gold-light: #d4af37;
  --gold-dark: #b8942e;
  --gold-gradient: linear-gradient(135deg, #c8a45e 0%, #d4af37 50%, #b8942e 100%);

  --green-whatsapp: #25d366;
  --green-whatsapp-dark: #1da851;

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(12px);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --container-width: 1200px;
  --nav-height: 80px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 8px 32px rgba(200, 164, 94, 0.15);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 112.5%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open {
  overflow: hidden;
}

::selection {
  background: var(--gold);
  color: var(--bg-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ── Container ── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Base ── */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  border-color: transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold), 0 0 30px rgba(200, 164, 94, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-large {
  padding: 20px 40px;
  font-size: 1.05rem;
}

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

/* ──────────────────────────────────────────────
   NAVIGATION
   ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;
  z-index: 1001;
}

.logo-text {
  color: var(--text-primary);
}

.logo-accent {
  color: var(--gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: center;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--gold-gradient);
  color: var(--bg-primary) !important;
  border-radius: 50px;
  margin-left: 8px;
  font-weight: 600;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger .bar {
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
  border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ──────────────────────────────────────────────
   HERO SECTION
   ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(10, 10, 10, 0.5) 40%,
    rgba(10, 10, 10, 0.8) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(200, 164, 94, 0.1);
  border: 1px solid rgba(200, 164, 94, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 28px;
}

.badge-icon {
  font-size: 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.7;
  min-height: 1.7em;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  display: inline;
}

.hero-stat-plus {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
}

.hero-stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 1.5s both;
}

.scroll-arrow {
  animation: bounceDown 2s ease infinite;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* ──────────────────────────────────────────────
   ABOUT SECTION
   ────────────────────────────────────────────── */
.sobre {
  background: var(--bg-secondary);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.sobre-image {
  position: relative;
}

.image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  transition: transform var(--transition-slow);
}

.image-frame:hover img {
  transform: scale(1.03);
}

.image-accent {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: 16px;
  z-index: -1;
  opacity: 0.3;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold-gradient);
  color: var(--bg-primary);
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.exp-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.exp-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 4px;
  display: block;
}

.sobre-content .section-title {
  text-align: left;
}

.sobre-text {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.sobre-text strong {
  color: var(--text-primary);
}

.sobre-credentials {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.credential {
  display: flex;
  align-items: center;
  gap: 16px;
}

.credential-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 164, 94, 0.1);
  border: 1px solid rgba(200, 164, 94, 0.2);
  border-radius: 12px;
  color: var(--gold);
  flex-shrink: 0;
}

.credential div:last-child {
  display: flex;
  flex-direction: column;
}

.credential strong {
  font-size: 0.95rem;
  color: var(--text-primary);
}

.credential span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sobre-quote {
  position: relative;
  padding: 24px 28px;
  margin-top: 32px;
  border-left: 3px solid var(--gold);
  background: rgba(200, 164, 94, 0.05);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
}

.quote-mark {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--gold);
  line-height: 0;
  position: relative;
  top: 12px;
  margin-right: 4px;
}

/* ──────────────────────────────────────────────
   SERVICES SECTION
   ────────────────────────────────────────────── */
.servicos {
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 164, 94, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(200, 164, 94, 0.05);
  background: rgba(255, 255, 255, 0.05);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 164, 94, 0.08);
  border-radius: 14px;
  color: var(--gold);
  margin-bottom: 24px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(200, 164, 94, 0.15);
  transform: scale(1.05);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.service-features li svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────
   HOW IT WORKS
   ────────────────────────────────────────────── */
.como-funciona {
  background: var(--bg-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.step {
  text-align: center;
  position: relative;
  padding: 0 12px;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1;
}

.step-content {
  position: relative;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-line {
  display: none;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.3;
}

/* ──────────────────────────────────────────────
   TARGET AUDIENCE
   ────────────────────────────────────────────── */
.para-quem {
  background: var(--bg-primary);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.audience-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 164, 94, 0.2);
  background: var(--bg-card-hover);
}

.audience-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: rgba(200, 164, 94, 0.08);
  border-radius: 50%;
  color: var(--gold);
}

.audience-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.audience-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ──────────────────────────────────────────────
   RESULTS & TESTIMONIALS
   ────────────────────────────────────────────── */
.resultados {
  background: var(--bg-secondary);
}

.results-showcase {
  margin-bottom: 64px;
}

.transformation-image {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.transformation-image img {
  width: 100%;
  height: auto;
}

.transformation-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold-gradient);
  color: var(--bg-primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

/* Carousel */
.carousel-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.carousel {
  overflow: hidden;
  border-radius: 20px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
  min-width: 100%;
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-gradient);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--gold);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition);
}

.carousel-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 164, 94, 0.1);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.carousel-dots .dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 5px;
}

/* ──────────────────────────────────────────────
   PLANS SECTION
   ────────────────────────────────────────────── */
.planos {
  background: var(--bg-primary);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
}

.plan-featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(200, 164, 94, 0.08) 0%, var(--bg-card) 100%);
  transform: scale(1.03);
  z-index: 2;
}

.plan-featured:hover {
  transform: scale(1.03) translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient);
  color: var(--bg-primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 24px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
  0%, 100% { box-shadow: 0 4px 20px rgba(200, 164, 94, 0.3); }
  50% { box-shadow: 0 4px 30px rgba(200, 164, 94, 0.5); }
}

.plan-header {
  margin-bottom: 24px;
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.plan-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 8px;
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
}

.price-value {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-savings {
  display: inline-block;
  background: rgba(200, 164, 94, 0.1);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.plan-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.plan-features li svg {
  color: var(--gold);
  flex-shrink: 0;
}

.plan-btn {
  margin-top: auto;
  justify-content: center;
}

/* ──────────────────────────────────────────────
   FINAL CTA
   ────────────────────────────────────────────── */
.cta-final {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
  padding: 140px 0;
}

.cta-bg-effect {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(200, 164, 94, 0.06) 0%,
    transparent 70%
  );
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 750px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ──────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────── */
.footer {
  background: #050505;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.social-link:hover {
  background: rgba(200, 164, 94, 0.1);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact li svg {
  color: var(--gold);
  flex-shrink: 0;
}

.footer-contact a {
  color: var(--text-muted);
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 28px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ──────────────────────────────────────────────
   CONTACT MODAL
   ────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition-slow);
}

.modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── Form Styles ── */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
  appearance: none;
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 164, 94, 0.1);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23808080' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

/* Form Success */
.form-success {
  text-align: center;
  padding: 32px 0;
}

.success-icon {
  color: var(--gold);
  margin-bottom: 16px;
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ──────────────────────────────────────────────
   WHATSAPP FLOAT
   ────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-whatsapp);
  border-radius: 50%;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  animation: pulse 2s ease infinite;
}

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

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-8px);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  pointer-events: none;
  box-shadow: var(--shadow-md);
}

@keyframes pulse {
  0% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.2), 0 0 0 12px rgba(37, 211, 102, 0.08); }
  100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* ──────────────────────────────────────────────
   SCROLL ANIMATIONS
   ────────────────────────────────────────────── */
.fade-in-up,
.fade-in-left,
.fade-in-right,
.scale-in {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up {
  transform: translateY(30px);
}

.fade-in-left {
  transform: translateX(-40px);
}

.fade-in-right {
  transform: translateX(40px);
}

.scale-in {
  transform: scale(0.92);
}

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible,
.scale-in.visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ──────────────────────────────────────────────
   RESPONSIVE DESIGN
   ────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .plans-grid {
    gap: 20px;
  }

  .plan-featured {
    transform: scale(1.02);
  }

  .plan-featured:hover {
    transform: scale(1.02) translateY(-4px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
    --nav-height: 70px;
  }

  /* Mobile Nav */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(14, 14, 14, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 80px 40px;
    transition: right var(--transition-slow);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 14px 24px;
    width: 100%;
    text-align: center;
  }

  .nav-link::after {
    left: 24px;
    right: 24px;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 12px;
  }

  /* Hero */
  .hero-content {
    padding: 100px 20px 60px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    margin-bottom: 48px;
  }

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

  .hero-stats {
    gap: 24px;
  }

  .hero-stat-number {
    font-size: 2rem;
  }

  .hero-stat-divider {
    height: 32px;
  }

  .hero-scroll-indicator {
    display: none;
  }

  /* About */
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sobre-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .experience-badge {
    bottom: -12px;
    right: -12px;
    padding: 16px;
  }

  .sobre-content .section-title {
    text-align: center;
  }

  .sobre-content .section-label {
    text-align: center;
    display: block;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Audience */
  .audience-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 32px 24px;
  }

  .testimonial-text {
    font-size: 1.05rem;
  }

  /* Plans */
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 400px;
    margin: 0 auto;
  }

  .plan-featured {
    transform: none;
  }

  .plan-featured:hover {
    transform: translateY(-4px);
  }

  /* CTA */
  .cta-final {
    padding: 80px 0;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

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

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: auto;
  }

  /* Modal */
  .modal-content {
    padding: 32px 24px;
    margin: 16px;
    width: calc(100% - 32px);
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .hero-stat-divider {
    width: 48px;
    height: 1px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.9rem;
  }

  .btn-large {
    padding: 16px 32px;
  }
}

/* ── Typing cursor ── */
.hero-subtitle .typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--gold);
  margin-left: 2px;
  animation: blink 0.8s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Prefers Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .fade-in-up,
  .fade-in-left,
  .fade-in-right,
  .scale-in {
    opacity: 1;
    transform: none;
  }
}
