/* style.css - NaturalUp® Premium Design */

/* ===== DESIGN TOKENS ===== */
:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* NaturalUp® Brand Colors */
  --color-bg:          #111B47;
  --color-bg-deep:     #0B1230;
  --color-surface:     rgba(255,255,255,0.04);
  --color-surface-2:   rgba(255,255,255,0.07);
  --color-border:      rgba(212,168,67,0.15);
  --color-border-gold: rgba(212,168,67,0.4);
  --color-divider:     rgba(255,255,255,0.08);

  --color-gold:        #D4A843;
  --color-gold-light:  #C9A580;
  --color-gray:        #A0A0AA;
  --color-text:        #F0F0F0;
  --color-text-muted:  #A0A0AA;
  --color-text-faint:  rgba(240,240,240,0.4);

  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', 'Helvetica Neue', sans-serif;
  --font-accent:  'Noto Serif', Georgia, serif;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-gold);
  font-weight: 700;
}

.accent-text {
  font-family: var(--font-accent);
  font-style: italic;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: var(--content-default);
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 27, 71, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  padding-block: var(--space-4);
  transition: box-shadow 0.3s var(--ease-out);
}

.site-header--scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}

.logo-img {
  height: 32px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo-img {
    height: 38px;
    max-width: 280px;
  }
}

.nav-desktop {
  display: none;
}

.nav-desktop a {
  font-size: var(--text-sm);
  color: var(--color-gray);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding-block: var(--space-1);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.3s var(--ease-out);
}

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

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

/* Mobile menu button */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-gold-light);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(11, 18, 48, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-gold-light);
  text-decoration: none;
  letter-spacing: 0.03em;
}

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

.nav-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-light);
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
    gap: var(--space-6);
    align-items: center;
  }
  .menu-toggle {
    display: none;
  }
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 27, 71, 0.5) 0%,
    rgba(17, 27, 71, 0.3) 40%,
    rgba(17, 27, 71, 0.7) 80%,
    rgba(17, 27, 71, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: var(--space-10) var(--space-6);
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  border: 1px solid var(--color-border-gold);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-8);
}

.hero h1 {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: var(--space-6);
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: var(--space-4);
  font-weight: 300;
}

.hero-byline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--color-gold-light);
  margin-bottom: var(--space-10);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  transition: all 180ms var(--ease-out);
  cursor: pointer;
}

.btn--gold {
  background: var(--color-gold);
  color: #111B47;
}

.btn--gold:hover {
  background: #E5BD5C;
  transform: translateY(-1px);
}

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

.btn--outline {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-border-gold);
}

.btn--outline:hover {
  background: rgba(212,168,67,0.1);
  border-color: var(--color-gold);
}

/* ===== SECTION SPACING ===== */
.section {
  position: relative;
}

.section--default {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

.section--compact {
  padding-block: clamp(var(--space-12), 6vw, var(--space-24));
}

.section--generous {
  padding-block: clamp(var(--space-20), 10vw, var(--space-32));
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-6);
  display: block;
}

.section-heading {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
}

.section-intro {
  font-size: var(--text-base);
  color: var(--color-text);
  max-width: 60ch;
  line-height: 1.7;
}

/* Subtle divider between sections */
.section-divider {
  width: 60px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.3;
  margin: 0 auto;
}

/* ===== ABOUT / BIO ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
}

.about-photo-wrap {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}

.about-photo-wrap img {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: top center;
}

.about-photo-wrap::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: calc(var(--radius-lg) + 4px);
  border: 1px solid var(--color-border-gold);
  pointer-events: none;
}

@media (max-width: 767px) {
  .about-photo-wrap {
    max-width: 280px;
    margin: 0 auto;
  }
}

.about-name {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.about-location {
  font-size: var(--text-sm);
  color: var(--color-gold-light);
  margin-bottom: var(--space-6);
}

.credentials-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.credentials-list li {
  font-size: var(--text-base);
  color: var(--color-text);
  padding-left: var(--space-6);
  position: relative;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.credentials-list li strong {
  color: var(--color-gold);
  font-weight: 700;
}

.credentials-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 1px;
}

.about-social a {
  font-size: var(--text-sm);
  color: var(--color-gold);
  text-decoration: none;
}

.about-social a:hover {
  color: #E5BD5C;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 340px 1fr;
    gap: var(--space-16);
    align-items: center;
  }
  .about-photo-wrap {
    margin: 0;
  }
}

/* ===== PROBLEM & SOLUTION ===== */
.problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-10);
}

.ps-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-divider);
  position: relative;
}

/* No colored side borders - using subtle top accent line instead */
.ps-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-6);
  right: var(--space-6);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,67,0.2), transparent);
}

.ps-card h4 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-gold-light);
  margin-bottom: var(--space-2);
}

.ps-card p {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.6;
  opacity: 0.85;
}

/* Solution cards get slightly stronger accent line */
.solution .ps-card::before {
  background: linear-gradient(90deg, transparent, rgba(212,168,67,0.35), transparent);
}

.blockquote {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-gold-light);
  line-height: 1.6;
  margin-top: var(--space-12);
  max-width: 52ch;
  position: relative;
}

.blockquote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-gold);
  opacity: 0.25;
  position: absolute;
  top: -0.4em;
  left: -0.15em;
  line-height: 1;
}

@media (min-width: 768px) {
  .problem-solution-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== CONCEPT ===== */
.concept-block {
  max-width: 700px;
}

.concept-block p {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.concept-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-gold);
  margin-top: var(--space-8);
}

/* ===== PILLARS ===== */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.pillar-card {
  padding: var(--space-10) var(--space-8) var(--space-8);
  background: linear-gradient(160deg, rgba(212,168,67,0.06) 0%, var(--color-surface) 40%);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
}

.pillar-accent {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  border-radius: 0 0 2px 2px;
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--color-gold);
  opacity: 0.12;
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

.pillar-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-gold);
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

.pillar-card p {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.8;
  opacity: 0.8;
  max-width: 30ch;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}

/* ===== ENCONTROS ===== */
.encontros-intro {
  max-width: 60ch;
  margin-bottom: var(--space-10);
}

.encontros-intro p {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.encontros-schedule {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--color-gold-light);
  font-size: var(--text-sm);
}

.encontros-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.encontro-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
}

.encontro-card h4 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-gold-light);
  margin-bottom: var(--space-2);
}

.encontro-card p {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.6;
  opacity: 0.85;
}

@media (min-width: 640px) {
  .encontros-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== ACOMPANHAMENTO INDIVIDUAL ===== */
.acomp-individual {
  background: var(--color-bg);
}

.acomp-content {
  max-width: 64ch;
  margin: 0 auto;
}

.acomp-destaque {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.acomp-content > p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--color-text);
  opacity: 0.9;
  text-align: center;
  margin-bottom: var(--space-10);
}

.acomp-content > p strong {
  color: var(--color-gold);
  font-weight: 600;
}

.acomp-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.acomp-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease;
}

.acomp-feature:hover {
  border-color: var(--color-gold);
}

.acomp-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,168,67,0.08);
  border-radius: 50%;
}

.acomp-feature h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-gold);
  margin-bottom: var(--space-2);
}

.acomp-feature p {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.7;
  opacity: 0.85;
}

@media (min-width: 768px) {
  .acomp-features {
    grid-template-columns: 1fr;
  }
}

/* ===== BASE TEÓRICA ===== */
.teorica-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.teorica-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
}

.teorica-card h4 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-gold-light);
  margin-bottom: var(--space-2);
}

.teorica-card p {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.6;
  opacity: 0.85;
}

@media (min-width: 768px) {
  .teorica-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.pricing-card {
  padding: var(--space-8);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  background: rgba(212,168,67,0.06);
  border-color: var(--color-gold);
  box-shadow: 0 0 40px rgba(212,168,67,0.08), inset 0 1px 0 rgba(212,168,67,0.15);
  position: relative;
}

.pricing-card--featured::before {
  content: 'Recomendado';
  position: absolute;
  top: calc(-1 * var(--space-3));
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #111B47;
  background: var(--color-gold);
  padding: var(--space-1) var(--space-5);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.pricing-plan-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-gold);
  margin-bottom: var(--space-6);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-grow: 1;
}

.pricing-features li {
  font-size: var(--text-sm);
  color: var(--color-text);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  line-height: 1.5;
}

.pricing-features .feature-label {
  color: var(--color-gray);
  font-size: var(--text-xs);
  min-width: 0;
}

.pricing-features .feature-value {
  color: var(--color-text);
  font-weight: 600;
}

.pricing-features .feature-unavailable {
  color: var(--color-text-faint);
  text-decoration: line-through;
  opacity: 0.5;
}

.check-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-gold);
  margin-top: 2px;
}

.x-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-text-faint);
  margin-top: 2px;
}

.pricing-price {
  margin-bottom: var(--space-2);
}

.pricing-price .price-amount {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-gold);
  font-weight: 700;
}

.pricing-price .price-label {
  font-size: var(--text-xs);
  color: var(--color-gray);
  display: block;
  margin-top: var(--space-1);
}

.pricing-dupla {
  font-size: var(--text-sm);
  color: var(--color-gold-light);
  margin-bottom: var(--space-6);
}

.pricing-dupla span {
  font-weight: 700;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
  .pricing-card--featured {
    transform: scale(1.03);
  }
}

/* ===== COMPARISON TABLE ===== */
.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-divider);
  background: rgba(255,255,255,0.02);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.comparison-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}

.comparison-table th {
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-gold);
  font-weight: 700;
  text-align: center;
  padding: var(--space-6) var(--space-4);
  background: rgba(11, 18, 48, 0.95);
  border-bottom: 2px solid var(--color-border-gold);
  position: relative;
}

.comparison-table th.ct-feature-col {
  text-align: left;
  width: 40%;
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.comparison-table th.ct-plan-col {
  width: 20%;
}

.comparison-table th.ct-featured {
  background: rgba(212,168,67,0.1);
  position: relative;
}

.ct-badge {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111B47;
  background: var(--color-gold);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  margin: var(--space-2) auto 0;
  width: fit-content;
}

/* Group Headers */
.ct-group-header td {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  padding: var(--space-5) var(--space-6) var(--space-2);
  background: rgba(212,168,67,0.04);
  border-bottom: 1px solid rgba(212,168,67,0.12);
}

/* Feature rows */
.comparison-table tbody tr:not(.ct-group-header) {
  transition: background 0.15s ease;
}

.comparison-table tbody tr:not(.ct-group-header):hover {
  background: rgba(255,255,255,0.03);
}

.ct-feature {
  font-size: var(--text-sm);
  color: var(--color-text);
  padding: var(--space-4) var(--space-6);
  line-height: 1.5;
  border-bottom: 1px solid var(--color-divider);
}

.ct-value {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text);
  padding: var(--space-4) var(--space-3);
  border-bottom: 1px solid var(--color-divider);
  white-space: nowrap;
}

.ct-featured-cell {
  background: rgba(212,168,67,0.04);
}

/* Check and X marks */
.ct-check::before {
  content: '\2713';
  color: var(--color-gold);
  font-weight: 700;
  font-size: 1.1em;
  margin-right: 4px;
}

.ct-x::before {
  content: '\2717';
  color: var(--color-text-faint);
  font-weight: 400;
  font-size: 1.1em;
}

.ct-na {
  color: var(--color-text-faint);
  font-size: var(--text-xs);
  font-style: italic;
  opacity: 0.6;
}

/* Price rows */
.ct-price-row td {
  padding: var(--space-6) var(--space-4);
  border-top: 2px solid var(--color-border-gold);
  border-bottom: 1px solid var(--color-divider);
}

.ct-price-row .ct-feature {
  border-top: 2px solid var(--color-border-gold);
}

.ct-price {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-gold);
  font-weight: 700;
  padding: var(--space-6) var(--space-4);
  border-top: 2px solid var(--color-border-gold);
  border-bottom: 1px solid var(--color-divider);
}

.ct-dupla-row td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-divider);
}

.ct-dupla-row .ct-feature {
  font-size: var(--text-sm);
  color: var(--color-gold-light);
  padding: var(--space-3) var(--space-6);
  border-bottom: 1px solid var(--color-divider);
}

.ct-dupla-price {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-base);
  color: var(--color-gold-light);
  font-weight: 600;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-divider);
}

/* CTA row */
.ct-cta-row td {
  padding: var(--space-6) var(--space-4) var(--space-8);
}

.ct-cta-cell {
  text-align: center;
  padding: var(--space-6) var(--space-4) var(--space-8);
}

.btn--sm {
  font-size: clamp(0.65rem, 0.6rem + 0.25vw, 0.8rem);
  padding: var(--space-3) var(--space-4);
  letter-spacing: 0.06em;
}

/* ===== MOBILE: SECTIONED CARDS FOR COMPARISON ===== */
@media (max-width: 767px) {
  /* Hide desktop table on mobile */
  .comparison-table-wrap {
    display: none;
  }

  /* Show mobile sections */
  .comparison-mobile {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
  }

  .cm-section {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .cm-section-header {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
    padding: var(--space-4) var(--space-5);
    background: rgba(212,168,67,0.06);
    border-bottom: 1px solid rgba(212,168,67,0.12);
  }

  .cm-item {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--color-divider);
  }

  .cm-item:last-child {
    border-bottom: none;
  }

  .cm-item-name {
    font-size: var(--text-sm);
    color: var(--color-text);
    margin-bottom: var(--space-3);
    line-height: 1.4;
  }

  .cm-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
  }

  .cm-plan {
    text-align: center;
    padding: var(--space-2) var(--space-1);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
  }

  .cm-plan--featured {
    background: rgba(212,168,67,0.08);
    border: 1px solid rgba(212,168,67,0.2);
  }

  .cm-plan-label {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-faint);
    margin-bottom: 2px;
  }

  .cm-plan--featured .cm-plan-label {
    color: var(--color-gold);
  }

  .cm-plan-value {
    font-size: var(--text-xs);
    color: var(--color-text);
    font-weight: 600;
  }

  .cm-plan-value .ct-check::before {
    font-size: 0.9em;
  }

  .cm-plan-value .ct-na {
    font-size: 0.7rem;
  }

  /* Pricing section mobile */
  .cm-pricing {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-6);
  }

  .cm-price-card {
    padding: var(--space-5);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-lg);
    text-align: center;
  }

  .cm-price-card--featured {
    background: rgba(212,168,67,0.06);
    border-color: var(--color-gold);
    position: relative;
  }

  .cm-price-card--featured::before {
    content: 'Recomendado';
    position: absolute;
    top: calc(-1 * var(--space-3));
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111B47;
    background: var(--color-gold);
    padding: 2px 10px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
  }

  .cm-price-plan-name {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--color-gold);
    margin-bottom: var(--space-2);
  }

  .cm-price-amount {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--color-gold);
    font-weight: 700;
  }

  .cm-price-dupla {
    font-size: var(--text-xs);
    color: var(--color-gold-light);
    margin-top: var(--space-1);
    margin-bottom: var(--space-4);
  }

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

/* Desktop: hide mobile sections */
@media (min-width: 768px) {
  .comparison-mobile {
    display: none;
  }
}

/* ===== FOR WHOM ===== */
.for-whom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-top: var(--space-10);
}

.for-whom-block h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
}

.for-whom-block.not-for h3 {
  color: var(--color-gray);
}

.for-whom-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.for-whom-list li {
  font-size: var(--text-base);
  color: var(--color-text);
  padding-left: var(--space-6);
  position: relative;
  line-height: 1.6;
}

.for-whom-list li::before {
  position: absolute;
  left: 0;
  top: 0.35em;
  font-size: var(--text-sm);
}

.for-whom-block.is-for .for-whom-list li::before {
  content: '→';
  color: var(--color-gold);
}

.for-whom-block.not-for .for-whom-list li::before {
  content: '×';
  color: var(--color-gray);
}

@media (min-width: 768px) {
  .for-whom-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== CTA / CONTACT ===== */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-deep) 100%);
}

.cta-section h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.cta-section p {
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-10);
  max-width: 50ch;
  margin-inline: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.cta-instagram {
  font-size: var(--text-sm);
  color: var(--color-gold-light);
  text-decoration: none;
}

.cta-instagram:hover {
  color: var(--color-gold);
}

/* ===== FOOTER ===== */
.site-footer {
  padding-block: var(--space-10);
  border-top: 1px solid var(--color-divider);
  background: var(--color-bg-deep);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: center;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--color-gold-light);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.footer-links a {
  font-size: var(--text-xs);
  color: var(--color-gray);
  text-decoration: none;
}

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

.footer-attribution {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer-attribution a {
  color: var(--color-gray);
  text-decoration: none;
}

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

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0,0,0,0.25);
}

.whatsapp-float:active {
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* ===== NATURALUP WATERMARK ===== */
.naturalup-bg {
  position: relative;
  overflow: hidden;
}

.naturalup-watermark {
  position: absolute;
  bottom: -5%;
  left: -5%;
  width: 340px;
  height: auto;
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  filter: grayscale(20%);
}

.naturalup-watermark--right {
  left: auto;
  right: -3%;
  bottom: -8%;
  width: 300px;
}

@media (max-width: 767px) {
  .naturalup-watermark {
    width: 200px;
    opacity: 0.03;
  }
  .naturalup-watermark--right {
    width: 180px;
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

.reveal-up {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .reveal-up {
    clip-path: inset(100% 0 0 0);
    opacity: 0;
    animation: reveal-clip linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
}

@keyframes reveal-clip {
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

/* Staggered delays */
.delay-1 { animation-delay: 0.05s; }
.delay-2 { animation-delay: 0.1s; }
.delay-3 { animation-delay: 0.15s; }
.delay-4 { animation-delay: 0.2s; }

/* ===== HERO ANIMATION ===== */
@keyframes hero-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hero-reveal {
  from { clip-path: inset(0 0 100% 0); opacity: 0; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}

.hero-content > * {
  animation: hero-fade-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-content > *:nth-child(3) { animation-delay: 0.6s; }
.hero-content > *:nth-child(4) { animation-delay: 0.8s; }
.hero-content > *:nth-child(5) { animation-delay: 1.0s; }
.hero-content > *:nth-child(6) { animation-delay: 1.2s; }

/* ===== ALTERNATING BACKGROUNDS ===== */
.bg-alt {
  background: var(--color-bg-deep);
}

/* Subtle top gradient for depth */
.section--gradient-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(212,168,67,0.02) 0%, transparent 100%);
  pointer-events: none;
}

/* ===== CASES / RESULTS GALLERY ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.case-card {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--navy);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(212,168,67,0.2);
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}

.case-card:hover img {
  opacity: 0.95;
}

.case-card--wide {
  grid-column: 1 / -1;
}

/* Lightbox overlay */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 27, 71, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
  padding: 24px;
}

.lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(212,168,67,0.15);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  padding: 8px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(212,168,67,0.15);
  border: 1px solid rgba(212,168,67,0.3);
  color: var(--gold);
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.lightbox-nav:hover {
  background: rgba(212,168,67,0.3);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

@media (max-width: 900px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .case-card {
    border-radius: 6px;
  }
}
