/* ==========================================================================
   TB TOOLS - CSS ESTILO MEDIEVAL CLARO COM TONS DE OURO & ÂMBAR
   ========================================================================== */

:root {
  /* Cores Principais - Tons de Pergaminho & Ouro */
  --bg-parchment-light: #fbf6ec;
  --bg-parchment-base: #f5ecd5;
  --bg-parchment-deep: #ebdcba;
  --bg-parchment-card: #fffdf8;
  --bg-card-hover: #ffffff;
  
  /* Cores de Destaque - Dourados, Âmbar & Laranja Medieval */
  --gold-primary: #d98216;
  --gold-glow: #e6992d;
  --gold-light: #fcd583;
  --gold-bright: #ffb13b;
  --amber-dark: #8c4a00;
  --amber-deep: #542b00;

  /* Cores de Texto - Tinta Medieval & Contrastes */
  --ink-primary: #2b1d0c;
  --ink-secondary: #574027;
  --ink-muted: #7d6549;
  --ink-light: #a98e6d;

  /* Bordas & Molduras */
  --border-gold: #cfa15d;
  --border-gold-light: #e5c48b;
  --border-gold-glow: rgba(217, 130, 22, 0.45);
  --border-parchment: #dec29b;

  /* Tipografia */
  --font-heading: 'Cinzel', 'MedievalSharp', Georgia, serif;
  --font-subheading: 'Marcellus', 'Cinzel', serif;
  --font-body: 'Marcellus', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Metamorphous', 'MedievalSharp', cursive;

  /* Sombras & Profundidade */
  --shadow-sm: 0 2px 8px rgba(84, 43, 0, 0.08);
  --shadow-md: 0 6px 18px rgba(84, 43, 0, 0.12);
  --shadow-lg: 0 12px 32px rgba(84, 43, 0, 0.18);
  --shadow-gold: 0 0 24px rgba(230, 153, 45, 0.35);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-parchment-base);
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(252, 213, 131, 0.22) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(217, 130, 22, 0.15) 0%, transparent 45%),
    linear-gradient(180deg, #fbf7ee 0%, #f4ebd5 50%, #eee1c4 100%);
  color: var(--ink-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient glow accents */
.ambient-glow {
  position: absolute;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.35;
}
.glow-top {
  top: -10vw;
  left: 25vw;
  background: radial-gradient(circle, #fcd583 0%, rgba(230, 153, 45, 0.4) 60%, transparent 70%);
}
.glow-mid {
  top: 1400px;
  right: -10vw;
  background: radial-gradient(circle, #e6992d 0%, rgba(140, 74, 0, 0.2) 60%, transparent 70%);
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

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

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

a:hover {
  color: var(--amber-dark);
}

/* ==========================================================================
   TIPOGRAFIA & TÍTULOS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--ink-primary);
  letter-spacing: 0.5px;
  line-height: 1.25;
}

.highlight-gold {
  color: var(--gold-primary);
  text-shadow: 0 0 18px rgba(230, 153, 45, 0.4);
  position: relative;
  display: inline-block;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
}

.parchment-tag {
  display: inline-block;
  background: linear-gradient(135deg, #fcedc9 0%, #ecd49f 100%);
  color: var(--amber-dark);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
  box-shadow: 0 2px 6px rgba(84, 43, 0, 0.08);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--ink-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.title-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem auto 1.25rem;
  color: var(--gold-primary);
  font-size: 1.15rem;
}

.title-ornament .line {
  height: 2px;
  width: 70px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.section-description {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.12rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   BOTÕES MEDIEVAIS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
}

.btn-primary {
  background: linear-gradient(135deg, #e68d1f 0%, #b86200 100%);
  color: #fffdf5;
  border: 1px solid #ffbe53;
  box-shadow: 0 4px 15px rgba(184, 98, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 2px rgba(43, 29, 12, 0.6);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f79e2e 0%, #cc6e00 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 98, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-secondary {
  background: linear-gradient(135deg, #fff7ea 0%, #eedac1 100%);
  color: var(--ink-primary);
  border: 1px solid var(--border-gold);
  box-shadow: 0 3px 10px rgba(84, 43, 0, 0.1);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f6e4cc 100%);
  color: var(--amber-dark);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(84, 43, 0, 0.16);
}

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

.btn-outline:hover {
  background: rgba(230, 153, 45, 0.12);
  color: var(--amber-dark);
  border-color: var(--gold-primary);
}

.btn-buy {
  width: 100%;
  background: linear-gradient(135deg, #d97706 0%, #92400e 100%);
  color: #fffaf0;
  border: 1px solid #fbb74e;
  box-shadow: 0 4px 12px rgba(146, 64, 14, 0.28);
}

.btn-buy:hover {
  background: linear-gradient(135deg, #ea8815 0%, #a4490f 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(146, 64, 14, 0.4);
}

.btn-parchment {
  background: #fff8eb;
  color: var(--ink-primary);
  border: 1px solid var(--border-gold);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-parchment:hover {
  background: #ffffff;
  color: var(--amber-dark);
  border-color: var(--gold-bright);
}

.btn-text-link {
  background: none;
  border: none;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0;
  transition: var(--transition);
}

.btn-text-link:hover {
  color: var(--gold-primary);
  text-decoration: underline;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border-gold-light);
  box-shadow: 0 4px 20px rgba(84, 43, 0, 0.08);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo-shield {
  width: 44px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(217, 130, 22, 0.35));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--ink-primary);
  letter-spacing: 1.5px;
  line-height: 1;
}

.brand-tagline {
  font-family: var(--font-subheading);
  font-size: 0.72rem;
  color: var(--amber-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link i {
  color: var(--gold-primary);
  font-size: 0.9rem;
}

.nav-link:hover {
  color: var(--amber-dark);
  background: rgba(230, 153, 45, 0.12);
}

.btn-nav {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
  background: linear-gradient(135deg, #e68d1f 0%, #b86200 100%);
  color: #fff;
  border: 1px solid #ffbe53;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--ink-primary);
  font-size: 1.25rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(251, 246, 236, 0.82) 0%,
    rgba(245, 236, 213, 0.88) 55%,
    rgba(235, 220, 186, 0.98) 100%
  );
  backdrop-filter: blur(2px);
}

.hero-content {
  text-align: center;
  max-width: 960px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-gold);
  color: var(--amber-dark);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.8rem;
}

.hero-badge i {
  color: var(--gold-primary);
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: var(--ink-primary);
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--ink-secondary);
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.stat-card {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--border-gold-light);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-primary), var(--gold-light));
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-primary);
}

.stat-icon {
  font-size: 1.6rem;
  color: var(--gold-primary);
  margin-bottom: 0.4rem;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--ink-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--ink-secondary);
  margin-top: 0.25rem;
}

.hero-bottom-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--bg-parchment-base), transparent);
  z-index: 1;
}

/* ==========================================================================
   DIFERENCIAL / EDGE SECTION
   ========================================================================== */
.edge-section {
  padding: 6rem 0;
  position: relative;
}

.edge-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 4rem;
}

.edge-card {
  background: var(--bg-parchment-card);
  border: 1px solid var(--border-parchment);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition);
}

.edge-card.victory {
  background: linear-gradient(145deg, #fffcf5 0%, #fff6e4 100%);
  border: 2px solid var(--gold-bright);
  box-shadow: var(--shadow-gold), var(--shadow-md);
}

.edge-card-inner h3 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.edge-card.victory h3 {
  color: var(--amber-dark);
}

.edge-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f0e6d5;
  color: #7d6549;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.edge-icon-wrap.gold-glow {
  background: linear-gradient(135deg, #fcd583 0%, #e6992d 100%);
  color: #4b2600;
  box-shadow: 0 4px 15px rgba(230, 153, 45, 0.4);
}

.edge-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.edge-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.02rem;
  line-height: 1.5;
}

.edge-list.negative li i {
  color: #b91c1c;
  margin-top: 0.25rem;
  font-size: 1.1rem;
}

.edge-list.positive li i {
  color: #15803d;
  margin-top: 0.25rem;
  font-size: 1.1rem;
}

.edge-vs {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vs-badge {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #d98216 0%, #8c4a00 100%);
  color: #fffaf0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 900;
  border: 3px solid #fff5e0;
  box-shadow: var(--shadow-md);
}

/* Banner Cidade Medieval */
.city-banner-box {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-gold);
}

.city-banner-img {
  min-height: 320px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.city-banner-overlay {
  width: 100%;
  min-height: 320px;
  padding: 3rem 3.5rem;
  background: linear-gradient(90deg, rgba(39, 23, 10, 0.88) 0%, rgba(55, 34, 15, 0.75) 50%, rgba(55, 34, 15, 0.35) 100%);
  display: flex;
  align-items: center;
}

.city-banner-text {
  max-width: 650px;
  color: #fff9ed;
}

.city-banner-text h3 {
  color: #ffe6ad;
  font-size: 2.1rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.city-banner-text p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
  color: #f7e7cf;
}

/* ==========================================================================
   FERRAMENTAS / THE ARSENAL
   ========================================================================== */
.tools-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, rgba(245, 236, 213, 0.6) 0%, rgba(251, 246, 236, 0.9) 100%);
  position: relative;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.tool-card {
  background: var(--bg-parchment-card);
  border: 1.5px solid var(--border-parchment);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition);
  display: flex;
  gap: 1.8rem;
  align-items: flex-start;
  overflow: hidden;
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(230, 153, 45, 0.2);
}

.tool-card.featured-border {
  border: 2px solid var(--gold-bright);
  background: linear-gradient(145deg, #fffdf8 0%, #fff7eb 100%);
}

.tool-card-ribbon {
  position: absolute;
  top: 14px;
  right: -32px;
  background: var(--gold-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 2.8rem;
  transform: rotate(45deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.tool-card-ribbon.ribbon-gold {
  background: linear-gradient(135deg, #e68d1f 0%, #b86200 100%);
}

.tool-card-ribbon.ribbon-dark {
  background: #542b00;
}

.tool-icon-frame {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #fff7e8 0%, #f6e2c3 100%);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.8), 0 4px 10px rgba(84, 43, 0, 0.1);
}

.tool-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.tool-card:hover .tool-icon-img {
  transform: scale(1.1);
}

.tool-content {
  flex-grow: 1;
}

.tool-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.tool-name {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--ink-primary);
}

.tool-type-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber-dark);
  background: #faeed7;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold-light);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tool-summary {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin-bottom: 1rem;
}

.tool-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-muted);
  border-left: 3px solid var(--gold-light);
  padding-left: 0.8rem;
  margin-bottom: 1.5rem;
}

.tool-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* Spy Character Spotlight */
.spy-spotlight {
  background: linear-gradient(135deg, #322010 0%, #1f1208 100%);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  box-shadow: var(--shadow-lg);
  color: #fff9ee;
}

.spy-avatar {
  position: relative;
  flex-shrink: 0;
  width: 140px;
  height: 140px;
}

.spy-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold-primary);
  box-shadow: 0 0 25px rgba(230, 153, 45, 0.45);
}

.spy-status-badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #10b981;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid #059669;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #10b981;
}

.dialogue-speech-bubble h4 {
  color: #ffd885;
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.dialogue-speech-bubble p {
  color: #e5d7c3;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.spy-signature {
  font-family: var(--font-accent);
  color: var(--gold-light);
  font-size: 1rem;
}

/* ==========================================================================
   PRICING & CYCLE CALCULATOR
   ========================================================================== */
.pricing-section {
  padding: 6rem 0;
  position: relative;
}

.cycle-selector-wrapper {
  max-width: 900px;
  margin: 0 auto 3.5rem;
}

.cycle-selector-card {
  background: var(--bg-parchment-card);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.cycle-selector-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--amber-dark);
  margin-bottom: 1.5rem;
}

.cycle-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn-cycle {
  background: #fff8eb;
  border: 2px solid var(--border-parchment);
  border-radius: var(--radius-md);
  padding: 1.1rem 0.8rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
  outline: none;
}

.btn-cycle:hover {
  border-color: var(--gold-primary);
  background: #ffffff;
  transform: translateY(-2px);
}

.btn-cycle.active {
  background: linear-gradient(145deg, #fffdf8 0%, #fff4df 100%);
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(230, 153, 45, 0.35), inset 0 0 0 1px var(--gold-primary);
}

.cycle-num {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--ink-primary);
}

.cycle-days {
  font-size: 0.85rem;
  color: var(--ink-secondary);
}

.cycle-discount {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-top: 0.2rem;
}

.badge-normal {
  background: #ece3cf;
  color: var(--ink-muted);
}

.badge-discount {
  background: #fde8c5;
  color: #b45309;
  border: 1px solid #f59e0b;
}

.badge-discount-max {
  background: #fef3c7;
  color: #b91c1c;
  border: 1px solid #ef4444;
  font-weight: 900;
}

.discount-banner {
  background: linear-gradient(135deg, #fff7ea 0%, #faeed7 100%);
  border: 1px dashed var(--gold-primary);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: var(--amber-dark);
}

.discount-banner i {
  color: var(--gold-primary);
  font-size: 1.2rem;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-bottom: 4rem;
}

.pricing-card {
  background: var(--bg-parchment-card);
  border: 1.5px solid var(--border-parchment);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(230, 153, 45, 0.25);
}

.pricing-card.featured-pricing {
  border: 2px solid var(--gold-bright);
  background: linear-gradient(160deg, #fffcf5 0%, #fff7eb 100%);
  box-shadow: var(--shadow-gold), var(--shadow-md);
}

.pricing-ribbon {
  position: absolute;
  top: 14px;
  right: -32px;
  background: var(--gold-primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 2.5rem;
  transform: rotate(45deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.pricing-ribbon.ribbon-special {
  background: #92400e;
}

.pricing-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pricing-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink-primary);
  margin-bottom: 0.25rem;
}

.pricing-subtitle {
  font-size: 0.85rem;
  color: var(--amber-dark);
}

.pricing-price-box {
  text-align: center;
  margin-bottom: 0.4rem;
}

.pricing-price-box .currency {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-secondary);
  vertical-align: top;
  margin-right: 2px;
}

.pricing-price-box .amount {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--ink-primary);
  line-height: 1;
}

.pricing-price-box .period {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-top: 0.35rem;
}

.price-original-wrap {
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-muted);
  min-height: 20px;
  margin-bottom: 1.2rem;
}

.savings-text {
  color: #b91c1c;
  font-weight: 700;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-parchment);
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.4;
}

.pricing-features li i {
  color: #16a34a;
  margin-top: 0.2rem;
  font-size: 0.85rem;
}

.pricing-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

/* Combo Card */
.combo-card {
  background: linear-gradient(135deg, #fffbf0 0%, #fef3da 100%);
  border: 2px solid var(--gold-bright);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.8rem;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.combo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.combo-icon {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

.combo-logo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.combo-info {
  flex-grow: 1;
  max-width: 600px;
}

.combo-tag {
  display: inline-block;
  background: var(--amber-dark);
  color: #fff9ee;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.combo-info h3 {
  font-size: 1.65rem;
  color: var(--ink-primary);
  margin-bottom: 0.4rem;
}

.combo-info p {
  color: var(--ink-secondary);
  font-size: 1.05rem;
}

/* ==========================================================================
   POLÍTICAS & TERMOS
   ========================================================================== */
.policy-section {
  padding: 5rem 0 6rem;
  position: relative;
}

.policy-parchment-box {
  background: var(--bg-parchment-card);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.policy-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-parchment);
  padding-bottom: 1.8rem;
}

.policy-seal {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: #fffaf0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
  flex-shrink: 0;
}

.policy-title {
  font-size: 1.85rem;
  color: var(--ink-primary);
  margin-bottom: 0.3rem;
}

.policy-subtitle {
  color: var(--ink-secondary);
  font-size: 1.05rem;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.policy-item {
  background: #fffbf2;
  border: 1px solid var(--border-parchment);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--transition);
}

.policy-item.highlight-alt {
  background: #fff8f5;
  border-color: #fca5a5;
}

.policy-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.policy-item-icon.warning {
  background: #fef3c7;
  color: #d97706;
}

.policy-item-icon.danger {
  background: #fee2e2;
  color: #dc2626;
}

.policy-item-icon.info {
  background: #e0f2fe;
  color: #0284c7;
}

.policy-item-icon.alert {
  background: #fef2f2;
  color: #991b1b;
}

.policy-item-text h4 {
  font-size: 1.12rem;
  margin-bottom: 0.5rem;
  color: var(--ink-primary);
}

.policy-item-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.policy-agreement-note {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--amber-dark);
  background: #fff7e6;
  border: 1px dashed var(--border-gold);
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #1e1308;
  color: #f5eedf;
  border-top: 3px solid var(--gold-primary);
  padding: 4.5rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.8fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .brand-title {
  color: #fff9ee;
}

.footer-desc {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #d1bfa9;
  max-width: 340px;
}

.footer-links-group h4,
.footer-safety h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #fcd583;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-group a {
  color: #cfbeaa;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links-group a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-warning-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(252, 213, 131, 0.2);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #d1bfa9;
}

.footer-warning-box i {
  color: var(--gold-light);
  margin-right: 0.35rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #a8947d;
}

.scroll-top-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: 1px solid rgba(252, 213, 131, 0.2);
}

.scroll-top-btn:hover {
  background: var(--gold-primary);
  color: #ffffff;
  transform: translateY(-3px);
}

/* ==========================================================================
   MODAL MEDIEVAL (POPUP TÉCNICO)
   ========================================================================== */
.medieval-modal {
  margin: auto;
  border: none;
  background: transparent;
  padding: 1.5rem;
  max-width: 680px;
  width: 92%;
  z-index: 2000;
  outline: none;
}

.medieval-modal::backdrop {
  background: rgba(28, 16, 6, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-parchment {
  background: #fdfaf2;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(252, 213, 131, 0.2) 0%, transparent 40%),
    linear-gradient(180deg, #fffdf8 0%, #f6edd7 100%);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 25px rgba(230, 153, 45, 0.3);
  position: relative;
  color: var(--ink-primary);
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0e1c7;
  border: 1px solid var(--border-gold);
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
  transform: rotate(90deg);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.modal-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fff2db 0%, #faeed3 100%);
  border: 1.5px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.modal-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--amber-dark);
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--ink-primary);
}

.modal-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
  color: var(--gold-primary);
}

.modal-divider span {
  height: 1px;
  flex-grow: 1;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.modal-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-secondary);
  margin-bottom: 2rem;
}

.modal-tech-box {
  background: #fff8eb;
  border: 1px solid var(--border-parchment);
  border-left: 4px solid var(--gold-primary);
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  margin-top: 1.2rem;
}

.modal-tech-box h5 {
  font-size: 0.95rem;
  color: var(--amber-dark);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-parchment);
  padding-top: 1.5rem;
}

/* ==========================================================================
   TOAST NOTIFICATION (COMPRA / DEMO)
   ========================================================================== */
.purchase-toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #fffdf8;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(230, 153, 45, 0.3);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  z-index: 3000;
  max-width: 420px;
  transform: translateY(120px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.purchase-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-content {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.toast-icon {
  font-size: 1.6rem;
  color: #16a34a;
  margin-top: 0.15rem;
}

.toast-content h5 {
  font-size: 1.05rem;
  color: var(--ink-primary);
  margin-bottom: 0.2rem;
}

.toast-content p {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--ink-muted);
  cursor: pointer;
  align-self: flex-start;
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fbf6ec;
    border-bottom: 2px solid var(--border-gold);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 0.8rem;
  }
  .nav-link {
    justify-content: center;
  }
  .btn-nav {
    width: 100%;
  }

  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }

  .edge-grid {
    grid-template-columns: 1fr;
  }
  .edge-vs {
    margin: -0.5rem 0;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }
  .tool-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .tool-header {
    justify-content: center;
  }
  .tool-quote {
    border-left: none;
    border-top: 2px solid var(--gold-light);
    border-bottom: 2px solid var(--gold-light);
    padding: 0.6rem 0;
  }
  .tool-actions {
    justify-content: center;
  }

  .spy-spotlight {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

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

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

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

  .city-banner-overlay {
    padding: 2rem 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .btn-large {
    width: 100%;
  }
  .cycle-buttons {
    grid-template-columns: 1fr;
  }
}

