/* ==========================================================================
   Movimento Brasil — Landing e loja
   Production-Ready Stylesheet | Mobile-First Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --color-green: #009739;
  --color-yellow: #FFDF00;
  --color-blue: #002776;
  --color-white: #FFFFFF;

  /* Primary palette */
  --color-primary: #009739;
  --color-primary-light: #1aad4f;
  --color-primary-dark: #007a2e;
  --color-secondary: #FFDF00;
  --color-secondary-light: #ffe84d;
  --color-secondary-dark: #d4b800;

  /* Accent colors */
  --color-accent-red: #EF4444;
  --color-accent-orange: #F97316;
  --color-accent-yellow: #FFDF00;
  --color-accent-blue: #002776;
  --color-accent-blue-dark: #001a54;
  --color-accent-pink: #009739;
  --color-accent-purple: #002776;

  /* Neutrals */
  --color-off-white: #F6F7F4;
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #002776;

  /* Semantic */
  --color-success: #10B981;
  --color-success-light: #D1FAE5;
  --color-error: #EF4444;
  --color-error-light: #FEE2E2;
  --color-info: #3B82F6;
  --color-info-light: #DBEAFE;
  --color-warning: #F59E0B;
  --color-warning-light: #FEF3C7;

  /* WhatsApp */
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #128C7E;

  /* Gradients — used sparingly */
  --gradient-primary: #009739;
  --gradient-hero: #002776;
  --gradient-warm: #009739;
  --gradient-cool: #002776;
  --gradient-cta: #FFDF00;
  --gradient-card: var(--color-white);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-size-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
  --font-size-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
  --font-size-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --font-size-lg: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  --font-size-xl: clamp(1.15rem, 1rem + 0.5vw, 1.25rem);
  --font-size-2xl: clamp(1.4rem, 1.2rem + 0.8vw, 1.5rem);
  --font-size-3xl: clamp(1.7rem, 1.4rem + 1.2vw, 1.875rem);
  --font-size-4xl: clamp(2rem, 1.6rem + 1.6vw, 2.25rem);
  --font-size-5xl: clamp(2.5rem, 1.8rem + 2.5vw, 3rem);

  /* 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;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 800px;
  --header-height: 76px;

  /* Borders & Shadows */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0, 39, 118, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 39, 118, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 39, 118, 0.08);
  --shadow-xl: 0 12px 32px rgba(0, 39, 118, 0.1);
  --shadow-card: 0 1px 8px rgba(0, 39, 118, 0.06);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* --------------------------------------------------------------------------
   2. Reset / Normalize
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-gray-700);
  background-color: var(--color-off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--color-primary-dark); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  color: var(--color-gray-800);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p + p { margin-top: var(--space-4); }

strong { font-weight: 600; }

small { font-size: var(--font-size-sm); }

/* --------------------------------------------------------------------------
   4. Container & Grid
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   5. Site Header - Glassmorphism Sticky
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  :root { --header-height: 88px; }
}

@media (min-width: 1024px) {
  :root { --header-height: 104px; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: auto;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 39, 118, 0.08);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
  min-height: var(--header-height);
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 0.7rem 3.25rem 0.7rem 1rem;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100vw - 5.5rem);
  text-decoration: none;
}

img.logo-img,
.logo-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  margin-top: -18px;
  z-index: 3;
}

@media (min-width: 768px) {
  .header-inner {
    justify-content: space-between;
    padding: 0.85rem var(--space-8);
  }
  .logo {
    justify-content: flex-start;
    max-width: min(72vw, 720px);
  }
}

@media (min-width: 1024px) {
  .header-inner {
    gap: 1.25rem;
  }
  .logo {
    flex: 0 1 48%;
    max-width: min(48vw, 760px);
  }
  .nav-toggle {
    position: static;
    margin-top: 0;
  }
}

@media (min-width: 1280px) {
  .logo {
    max-width: min(52vw, 840px);
  }
}

.main-nav { display: none; }

.main-nav.active,
.main-nav.nav-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  padding: var(--space-4);
  gap: var(--space-2);
  border-bottom: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-lg);
}

.main-nav.nav-open .btn {
  width: 100%;
}

.main-nav a {
  color: var(--color-gray-600);
  font-weight: 500;
  font-size: var(--font-size-sm);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.main-nav a:hover {
  color: var(--color-primary);
  background: rgba(0, 151, 57, 0.06);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-gray-700);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: var(--space-2);
  }
  .nav-toggle { display: none; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  min-height: 0;
  padding: 0;
  background: var(--color-gray-800);
  position: relative;
  overflow: hidden;
}

.hero-visual {
  position: relative;
  min-height: min(82vh, 760px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 12, 48, 0.28) 0%, rgba(28, 12, 48, 0.55) 45%, rgba(28, 12, 48, 0.88) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: center;
  padding: var(--space-16) var(--space-4) var(--space-12);
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.hero-content > p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-8);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.hero-badges .badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--font-size-base);
  line-height: 1.2;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 3px solid var(--color-primary-light);
  outline-offset: 2px;
}

button.btn-primary,
a.btn-primary,
.btn-primary {
  background-color: var(--color-primary);
  background-image: var(--gradient-primary);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 151, 57, 0.35);
}

button.btn-primary:hover,
a.btn-primary:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 151, 57, 0.45);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

button.btn-primary:active,
a.btn-primary:active,
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 151, 57, 0.3);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

button.btn-primary:focus-visible,
a.btn-primary:focus-visible,
.btn-primary:focus-visible {
  outline: 3px solid var(--color-primary-light);
  outline-offset: 2px;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

button.btn-primary:disabled,
button.btn-primary[disabled],
.btn-primary:disabled,
.btn-primary[disabled] {
  background: var(--color-gray-300);
  background-image: none;
  color: var(--color-gray-600);
  -webkit-text-fill-color: var(--color-gray-600);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.hero .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.site-header .btn-outline {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.site-header .btn-outline:hover,
.btn-outline:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.hero .btn-outline:hover {
  background: #ffffff;
  color: var(--color-primary);
}

.btn-buy {
  background-color: var(--color-green);
  background-image: none;
  color: #ffffff;
  box-shadow: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.btn-buy:hover {
  transform: translateY(-1px);
  background-color: var(--color-primary-dark);
  color: #ffffff;
}

.btn-buy:active {
  transform: translateY(0);
}

.btn-buy:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 3px;
}

.btn-buy:disabled,
.btn-buy[disabled] {
  background: var(--color-gray-300);
  background-image: none;
  color: var(--color-gray-500);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--font-size-lg);
  border-radius: var(--radius-lg);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  color: var(--color-white);
}

.btn-cta {
  background: var(--color-green);
  color: var(--color-white);
  box-shadow: none;
  font-weight: 800;
  letter-spacing: 0.04em;
  min-height: 52px;
  padding: 0.95rem 1.8rem;
}

.btn-cta:hover {
  transform: translateY(-1px);
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.site-header .btn-cta {
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
}

.pix-retry-form {
  margin: var(--space-6) 0;
  padding: var(--space-4);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.pix-retry-form p {
  margin-bottom: var(--space-4);
  color: var(--color-gray-600);
}

/* --------------------------------------------------------------------------
   8. Sections
   -------------------------------------------------------------------------- */
.section {
  padding: var(--space-16) 0;
}

.section:nth-child(even) {
  background: var(--color-white);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-3);
  font-size: var(--font-size-4xl);
}

.section-subtitle {
  text-align: center;
  color: var(--color-gray-500);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-12);
  max-width: 600px;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   9. Products Grid / Ticket Cards
   -------------------------------------------------------------------------- */
.tickets-spotlight {
  background:
    linear-gradient(180deg, rgba(0, 151, 57, 0.05) 0%, rgba(255, 255, 255, 0.96) 28%, #ffffff 100%);
  border-block: 1px solid rgba(0, 151, 57, 0.08);
}

.tickets-spotlight-head {
  max-width: 760px;
  margin: 0 auto var(--space-10);
  padding: var(--space-6);
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(0, 151, 57, 0.14);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.tickets-spotlight .section-title,
.tickets-spotlight .section-subtitle {
  margin-bottom: var(--space-3);
}

.tickets-spotlight .section-subtitle {
  margin-bottom: 0;
}

.tickets-availability-badge {
  display: inline-block;
  margin-bottom: var(--space-3);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--color-success-light);
  color: #047857;
  font-size: var(--font-size-xs);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tickets-spotlight .product-card {
  border: 1px solid rgba(0, 151, 57, 0.16);
  box-shadow: var(--shadow-lg);
}

.product-card--bestseller {
  border: 2px solid #EA580C;
  box-shadow: 0 12px 36px rgba(234, 88, 12, 0.2);
}

.product-card--bestseller::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #EF4444 0%, #F97316 100%);
  z-index: 3;
}

.tickets-spotlight .product-card--bestseller {
  border-color: #EA580C;
  box-shadow: 0 14px 40px rgba(234, 88, 12, 0.22);
}

.product-card--bestseller:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(234, 88, 12, 0.26);
}

.product-card .badge-bestseller,
.badge-bestseller {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  background-color: #EF4444;
  background-image: linear-gradient(135deg, #EF4444 0%, #F97316 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid #ffffff;
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.38);
  animation: maisVendidoPulse 2.6s ease-in-out infinite;
}

.product-card--bestseller .btn-buy {
  box-shadow: 0 8px 22px rgba(239, 68, 68, 0.36);
}

@keyframes maisVendidoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.tickets-spotlight .price-tier-value {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-primary-dark);
}

.discount-highlight {
  margin-bottom: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.discount-highlight span {
  display: block;
  font-weight: 800;
  font-size: var(--font-size-sm);
  letter-spacing: 0.02em;
}

.discount-highlight small {
  display: block;
  margin-top: 0.25rem;
  color: #047857;
  font-weight: 600;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--color-gray-100);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.product-card .badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 2;
}

.product-card-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-2);
}

.product-card-body p {
  color: var(--color-gray-500);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-4);
  flex: 1;
}

.product-card .price-block {
  margin-bottom: var(--space-4);
}

.product-card .btn {
  width: 100%;
}

.price-original {
  text-decoration: line-through;
  color: var(--color-gray-400);
  font-size: var(--font-size-sm);
}

.price-sale {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--color-primary);
  display: block;
  line-height: 1.1;
}

.price-savings {
  display: inline-block;
  background: var(--color-success-light);
  color: var(--color-success);
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-top: var(--space-2);
}

/* --------------------------------------------------------------------------
   10. How It Works
   -------------------------------------------------------------------------- */
.how-it-works {
  padding: var(--space-16) 0;
  background: var(--color-white);
}

.how-it-works-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  counter-reset: step;
}

@media (min-width: 768px) {
  .how-it-works-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .how-it-works-steps { grid-template-columns: repeat(4, 1fr); }
}

.how-it-works-step {
  text-align: center;
  counter-increment: step;
  position: relative;
}

.how-it-works-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto var(--space-4);
  background: var(--gradient-primary);
  color: var(--color-white);
  font-weight: 800;
  font-size: var(--font-size-xl);
  border-radius: var(--radius-full);
}

.how-it-works-step h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.how-it-works-step p {
  color: var(--color-gray-500);
  font-size: var(--font-size-sm);
}

/* --------------------------------------------------------------------------
   11. Trust Section
   -------------------------------------------------------------------------- */
.trust-section {
  padding: var(--space-12) 0;
  background: var(--gradient-cool);
}

.trust-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .trust-features { grid-template-columns: repeat(4, 1fr); }
}

.trust-feature {
  text-align: center;
  color: var(--color-white);
}

.trust-feature-icon {
  font-size: 2rem;
  margin-bottom: var(--space-3);
}

.trust-feature h4 {
  color: var(--color-white);
  font-size: var(--font-size-base);
  margin-bottom: var(--space-1);
}

.trust-feature p {
  font-size: var(--font-size-sm);
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   12. FAQ - Accordion
   -------------------------------------------------------------------------- */
.faq {
  max-width: var(--container-narrow);
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-gray-200);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-5) 0;
  font-weight: 600;
  font-size: var(--font-size-base);
  color: var(--color-gray-700);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover { color: var(--color-primary); }

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: var(--space-4);
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding-bottom: var(--space-5);
  color: var(--color-gray-500);
  font-size: var(--font-size-sm);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   13. Alerts
   -------------------------------------------------------------------------- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  margin-bottom: var(--space-4);
  border-left: 4px solid;
  animation: slideUp 0.3s ease;
}

.alert-success {
  background: var(--color-success-light);
  color: #065F46;
  border-color: var(--color-success);
}

.alert-error {
  background: var(--color-error-light);
  color: #991B1B;
  border-color: var(--color-error);
}

.alert-info {
  background: var(--color-info-light);
  color: #1E40AF;
  border-color: var(--color-info);
}

.alert-close {
  margin-left: auto;
  font-size: 1.2rem;
  line-height: 1;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity var(--transition-fast);
  flex-shrink: 0;
}

.alert-close:hover { opacity: 1; }

/* --------------------------------------------------------------------------
   14. Flash Container
   -------------------------------------------------------------------------- */
.flash-container {
  position: fixed;
  top: calc(var(--header-height) + var(--space-4));
  right: var(--space-4);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 400px;
  width: 100%;
}

/* --------------------------------------------------------------------------
   15. Forms
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--color-gray-700);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  background: var(--color-white);
  transition: all var(--transition-fast);
  color: var(--color-gray-800);
}

.form-input::placeholder {
  color: var(--color-gray-400);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(0, 151, 57, 0.12);
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: var(--color-error);
}

.form-error {
  color: var(--color-error);
  font-size: var(--font-size-xs);
  margin-top: var(--space-1);
}

.form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-8);
}

/* --------------------------------------------------------------------------
   16. Auth Page
   -------------------------------------------------------------------------- */
.auth-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-4);
  background: var(--color-off-white);
}

.auth-page .form-card {
  width: 100%;
  max-width: 440px;
}

.auth-page .form-card h2 {
  text-align: center;
  margin-bottom: var(--space-2);
}

.auth-page .form-card p {
  text-align: center;
  color: var(--color-gray-500);
  margin-bottom: var(--space-8);
}

.admin-login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-off-white);
  padding: var(--space-6);
}

.admin-login-container,
.admin-login-card {
  width: 100%;
  max-width: 440px;
}

.admin-login-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-8);
}

.admin-login-logo {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  margin: 0 auto 1.25rem;
  object-fit: contain;
}

.admin-login-title,
.admin-login-subtitle {
  text-align: center;
}

.admin-login-subtitle {
  color: var(--color-gray-500);
  margin-bottom: var(--space-6);
}

.alert-danger { background: var(--color-error-light); color: #991b1b; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   17. Checkout Page
   -------------------------------------------------------------------------- */
.checkout-page {
  padding: var(--space-8) 0;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .checkout-layout {
    grid-template-columns: 1fr 380px;
  }
}

.checkout-summary {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-6);
  position: sticky;
  top: calc(var(--header-height) + var(--space-4));
  align-self: start;
  border: 1px solid var(--color-gray-100);
}

.checkout-summary h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-gray-200);
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2) 0;
  font-size: var(--font-size-sm);
}

.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: var(--font-size-xl);
  padding-top: var(--space-4);
  margin-top: var(--space-4);
  border-top: 2px solid var(--color-gray-200);
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   18. PIX Page
   -------------------------------------------------------------------------- */
.pix-page {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  max-width: 500px;
  margin-inline: auto;
}

.pix-qr-container {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  margin-bottom: var(--space-6);
  border: 1px solid var(--color-gray-100);
}

.pix-qr-container img,
.pix-qr-container canvas {
  margin-inline: auto;
  max-width: 220px;
}

.pix-copy-btn {
  margin-top: var(--space-4);
}

.pix-code {
  background: var(--color-gray-100);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  font-size: var(--font-size-xs);
  word-break: break-all;
  margin-top: var(--space-4);
  color: var(--color-gray-600);
  font-family: monospace;
}

.pix-timer {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--color-accent-red);
  margin: var(--space-4) 0;
}

.pix-timer.warning {
  animation: pulse 1s ease-in-out infinite;
}

.pix-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--font-size-sm);
}

.pix-status.pending {
  background: var(--color-warning-light);
  color: #92400E;
}

.pix-status.confirmed {
  background: var(--color-success-light);
  color: #065F46;
}

/* --------------------------------------------------------------------------
   19. Account Page
   -------------------------------------------------------------------------- */
.account-page {
  padding: var(--space-8) 0;
}

.account-dashboard {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .account-dashboard { grid-template-columns: repeat(3, 1fr); }
}

.account-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-gray-100);
}

.account-card h4 {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.account-card .value {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--color-primary);
}

.order-list {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.order-list th,
.order-list td {
  padding: var(--space-4);
  text-align: left;
  font-size: var(--font-size-sm);
}

.order-list th {
  background: var(--color-gray-50);
  font-weight: 600;
  color: var(--color-gray-600);
  border-bottom: 2px solid var(--color-gray-200);
}

.order-list td {
  border-bottom: 1px solid var(--color-gray-100);
}

.order-list tr:last-child td {
  border-bottom: none;
}

.order-list tr:hover td {
  background: var(--color-gray-50);
}

/* --------------------------------------------------------------------------
   20. Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-blue);
  color: rgba(255, 255, 255, 0.78);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-grid h4 {
  color: var(--color-white);
  font-size: var(--font-size-base);
  margin-bottom: var(--space-4);
}

.footer-grid a {
  color: var(--color-gray-400);
  font-size: var(--font-size-sm);
  display: block;
  padding: var(--space-1) 0;
  transition: color var(--transition-fast);
}

.footer-grid a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--font-size-xs);
  color: var(--color-gray-500);
}

.footer-disclaimer {
  margin-top: var(--space-6);
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  color: var(--color-gray-500);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   21. WhatsApp Floating Button
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-whatsapp);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   22. Sandbox Banner
   -------------------------------------------------------------------------- */
.sandbox-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--color-accent-yellow);
  color: var(--color-gray-800);
  text-align: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.sandbox-banner ~ .site-header {
  top: 36px;
}

.sandbox-banner ~ * .flash-container {
  top: calc(var(--header-height) + 36px + var(--space-4));
}

/* --------------------------------------------------------------------------
   23. Sticky CTA - Mobile Only
   -------------------------------------------------------------------------- */
.sticky-cta-mobile {
  display: none;
}

@media (max-width: 767px) {
  .sticky-cta-mobile {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 800;
    background: var(--color-white);
    padding: var(--space-3) var(--space-4);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--color-gray-200);
  }

  .sticky-cta-mobile .btn {
    width: 100%;
  }

  /* add padding so footer is not hidden behind sticky CTA */
  .site-footer { padding-bottom: 80px; }

  /* move whatsapp above sticky CTA */
  .whatsapp-float { bottom: 80px; }
}

/* --------------------------------------------------------------------------
   24. Badge
   -------------------------------------------------------------------------- */
.badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
}

.badge-success {
  background: var(--color-success-light);
  color: #065F46;
}

.badge-warning {
  background: var(--color-warning-light);
  color: #92400E;
}

.badge-error {
  background: var(--color-error-light);
  color: #991B1B;
}

.badge-info {
  background: var(--color-info-light);
  color: #1E40AF;
}

/* --------------------------------------------------------------------------
   25. Price Display (standalone utilities)
   -------------------------------------------------------------------------- */
/* Already defined in product-card section (9). Additional standalone use: */
.price-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

/* --------------------------------------------------------------------------
   26. Loading / Spinner
   -------------------------------------------------------------------------- */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--color-gray-200);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   27. Admin Styles
   -------------------------------------------------------------------------- */
.admin-layout {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
  min-height: 100dvh;
}

@media (min-width: 768px) {
  .admin-layout {
    grid-template-columns: 250px 1fr;
  }
}

.admin-sidebar {
  background: var(--color-gray-800);
  color: var(--color-gray-300);
  padding: var(--space-6);
  display: none;
}

.admin-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.55rem 0.65rem;
  background: #fff;
  border-radius: 8px;
  text-decoration: none;
}

img.admin-sidebar-logo,
.admin-sidebar-logo {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}

@media (min-width: 768px) {
  .admin-sidebar { display: block; }
}

.admin-sidebar.active {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1100;
  overflow-y: auto;
}

@media (max-width: 767px) {
  .admin-topbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: sticky;
    top: 0;
    z-index: 1200;
    background: var(--color-gray-50);
    margin: 0 0 1rem;
    padding: 0.35rem 0;
  }

  .admin-topbar .sidebar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-gray-800);
    border-radius: 8px;
  }

  .admin-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .admin-sidebar .sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--color-gray-300);
    border-radius: 8px;
  }

  .admin-sidebar.sidebar-open {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(280px, 88vw);
    z-index: 1100;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.25);
  }

  .admin-sidebar.sidebar-open .admin-nav a {
    min-height: 44px;
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  color: var(--color-gray-400);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.admin-nav a:hover,
.admin-nav a.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

.admin-content {
  padding: var(--space-6);
  background: var(--color-gray-50);
  overflow-x: auto;
}

@media (min-width: 768px) {
  .admin-content { padding: var(--space-8); }
}

.admin-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.admin-header h1 {
  font-size: var(--font-size-3xl);
}

.admin-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
  border: 1px solid var(--color-gray-100);
}

.admin-stat {
  text-align: center;
}

.admin-stat .label {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.admin-stat .value {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-size: var(--font-size-sm);
  white-space: nowrap;
}

.admin-table th {
  background: var(--color-gray-50);
  font-weight: 600;
  color: var(--color-gray-600);
  border-bottom: 2px solid var(--color-gray-200);
  position: sticky;
  top: 0;
}

.admin-table td {
  border-bottom: 1px solid var(--color-gray-100);
}

.admin-table tr:hover td {
  background: var(--color-gray-50);
}

.admin-form {
  max-width: 860px;
}

.admin-product-pricing {
  margin: 0 0 1.75rem;
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.admin-product-pricing legend {
  font-weight: 700;
  padding: 0 0.4rem;
}

.admin-price-summary {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.5rem;
  padding: 1rem;
  background: var(--color-off-white);
  border-radius: var(--radius-sm);
}

.admin-price-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-price-summary-total {
  padding-top: 0.65rem;
  border-top: 1px solid var(--color-gray-200);
  font-size: 1.05rem;
}

.admin-price-summary-note {
  margin: 0.25rem 0 0;
  color: var(--color-gray-600);
  font-size: 0.85rem;
}

.admin-form .form-group {
  margin-bottom: var(--space-5);
}

/* --------------------------------------------------------------------------
   28. Responsive Breakpoints (additional refinements)
   -------------------------------------------------------------------------- */

/* 320px - Very small phones */
@media (max-width: 320px) {
  :root {
    --space-4: 0.75rem;
  }
  .hero { padding: 0; }
  .hero-visual { min-height: min(78vh, 640px); }
  .hero-content { padding: var(--space-10) var(--space-3) var(--space-8); }
  .hero-badges { flex-direction: column; align-items: center; }
  .btn-lg { padding: 0.8rem 1.4rem; font-size: var(--font-size-base); }
}

/* 375px - Standard phones */
@media (min-width: 375px) and (max-width: 767px) {
  .hero-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 768px - Tablets */
@media (min-width: 768px) {
  .section { padding: var(--space-20) 0; }
}

/* 1024px - Small desktops */
@media (min-width: 1024px) {
  .hero-visual { min-height: min(86vh, 800px); }
}

/* 1280px - Large desktops */
@media (min-width: 1280px) {
  .container { padding-inline: var(--space-10); }
}

/* 1440px+ - Extra large */
@media (min-width: 1440px) {
  :root {
    --container-max: 1400px;
  }
}

/* --------------------------------------------------------------------------
   29. Print Styles
   -------------------------------------------------------------------------- */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body { font-size: 12pt; line-height: 1.5; }

  .site-header,
  .site-footer,
  .whatsapp-float,
  .sticky-cta-mobile,
  .sandbox-banner,
  .nav-toggle,
  .flash-container { display: none !important; }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .container { max-width: 100%; }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #555 !important;
  }

  .product-card,
  .admin-card,
  .form-card {
    break-inside: avoid;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }

  .btn { border: 1px solid #000 !important; }
}

/* --------------------------------------------------------------------------
   30. Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.animate-fade-in { animation: fadeIn 0.5s ease both; }
.animate-slide-up { animation: slideUp 0.5s ease both; }
.animate-pulse { animation: pulse 2.5s ease-in-out infinite; }

/* Staggered animations */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   31. Countdown Timer (PIX expiration)
   -------------------------------------------------------------------------- */
.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin: var(--space-6) 0;
}

.countdown-timer .time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-sm);
  min-width: 64px;
  border: 1px solid var(--color-gray-100);
}

.countdown-timer .time-value {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.countdown-timer .time-label {
  font-size: var(--font-size-xs);
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: var(--space-1);
}

.countdown-timer .time-separator {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-gray-400);
  align-self: flex-start;
  margin-top: var(--space-3);
}

.countdown-timer.expiring .time-value {
  color: var(--color-accent-red);
  animation: pulse 1s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Utility Helpers
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.visually-hidden { composes: sr-only; }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }

.hidden { display: none !important; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.steps-grid,
.trust-grid,
.admin-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .steps-grid,
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(5, 1fr); }
  .admin-cards { grid-template-columns: repeat(4, 1fr); }
}

.step-card,
.trust-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: var(--space-3);
}

.price-savings,
.product-stock {
  display: block;
  font-size: var(--font-size-sm);
  margin-top: var(--space-2);
}

.price-savings { color: var(--color-success); font-weight: 600; }
.product-stock { color: var(--color-gray-500); }

.footer-grid a.footer-logo,
.footer-logo {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: min(640px, 100%);
  margin: 0 auto var(--space-4);
  padding: 0.7rem 0.85rem;
  background: #fff;
  border-radius: 10px;
}

img.footer-logo-img,
.footer-logo-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: left center;
  filter: none;
  background: transparent;
  padding: 0;
}

@media (min-width: 768px) {
  .footer-grid a.footer-logo,
  .footer-logo {
    justify-content: flex-start;
    margin-left: 0;
    max-width: min(720px, 100%);
  }
}

.sticky-cta-mobile {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  z-index: 40;
}

.sticky-cta-mobile .btn { width: 100%; }

@media (max-width: 767px) {
  .sticky-cta-mobile { display: block; }
  body { padding-bottom: 76px; }
}

.empty-state {
  text-align: center;
  color: var(--color-gray-500);
  padding: var(--space-8);
}

.admin-card-label {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.admin-card-value {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  margin-top: var(--space-2);
}

.faq-item { border-bottom: 1px solid var(--color-gray-200); }
.faq-question {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  font-weight: 600;
  padding: var(--space-4) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--color-gray-800);
}
.faq-answer { display: none; padding: 0 0 var(--space-4); color: var(--color-gray-600); line-height: 1.6; }
.faq-item.active .faq-answer { display: block; }

/* --------------------------------------------------------------------------
   Landing: procedência, cards com imagem e modalidades
   -------------------------------------------------------------------------- */
.origin-intro {
  max-width: 760px;
  margin: 0 auto var(--space-10);
  color: var(--color-gray-600);
  text-align: center;
}

.origin-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

@media (min-width: 700px) {
  .origin-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .origin-steps { grid-template-columns: repeat(4, 1fr); }
}

.origin-step {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-gray-100);
  text-align: left;
}

.origin-step-num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 800;
  margin-bottom: var(--space-3);
}

.origin-step h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.origin-notes {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .origin-notes { grid-template-columns: repeat(2, 1fr); }
}

.origin-notes article {
  background: var(--color-off-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.product-card-media {
  aspect-ratio: 16 / 10;
  background: var(--color-gray-100);
  overflow: hidden;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-cool);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: var(--space-4);
}

.price-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

@media (min-width: 420px) {
  .price-tiers { grid-template-columns: repeat(2, 1fr); }
}

.price-tier {
  background: var(--color-off-white);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  border: 1px solid var(--color-gray-100);
}

.price-tier-label {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-gray-500);
}

.price-tier-value {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.modality-picker {
  border: 0;
  margin: 0 0 var(--space-4);
  display: grid;
  gap: var(--space-2);
}

.modality-option {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
}

.modality-option:has(input:checked),
.modality-option.is-selected {
  border-color: var(--color-primary);
  background: rgba(0, 151, 57, 0.06);
}

.product-buy-form .btn { width: 100%; }

.image-upload-box {
  padding: var(--space-5);
  border: 1px dashed var(--color-gray-300);
  border-radius: var(--radius-lg);
  background: var(--color-gray-50);
}

.image-upload-preview-wrap {
  margin-bottom: var(--space-4);
}

.image-upload-preview {
  max-width: 280px;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-200);
}

.image-upload-empty {
  width: 280px;
  max-width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gray-100);
  color: var(--color-gray-500);
  border-radius: var(--radius-md);
}

.image-remove-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.webhook-url-box code {
  display: block;
  word-break: break-all;
  background: var(--color-gray-50);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  flex: 1;
}

.webhook-url-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin: var(--space-3) 0;
}

.form-hint {
  color: var(--color-gray-500);
  font-size: var(--font-size-sm);
}

.admin-env-note {
  background: var(--color-warning-light);
  color: #92400e;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-sm);
}

.admin-product-thumb {
  width: 56px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
}

.admin-product-thumb-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gray-100);
  color: var(--color-gray-400);
}

.checkout-modality {
  margin: 0.35rem 0 0.75rem;
  color: var(--color-gray-600);
}

@media (max-width: 767px) {
  .hero-visual { min-height: 70vh; }
  .price-tiers { grid-template-columns: 1fr; }
  .webhook-url-row { flex-direction: column; align-items: stretch; }
}

.date-picker {
  border: 0;
  margin: 0 0 var(--space-4);
  padding: var(--space-3);
  border-radius: var(--radius-md);
}

.date-picker.is-invalid {
  background: var(--color-error-light);
  box-shadow: 0 0 0 2px #FECACA;
}

.date-picker legend,
.qty-block label,
.modality-picker legend {
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-gray-800);
}

.date-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
}

@media (max-width: 520px) {
  .date-picker-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.date-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-height: 88px;
  padding: var(--space-2);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-gray-800);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.date-chip:focus-visible {
  outline: 3px solid var(--color-primary-light);
  outline-offset: 2px;
}

.date-chip-day {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.date-chip-month {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-gray-500);
}

.date-chip-status {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-success);
}

.date-chip.is-selected {
  border-color: var(--color-primary);
  background: rgba(0, 151, 57, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 151, 57, 0.12);
}

.date-chip.is-soldout,
.date-chip:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  background: var(--color-gray-50);
}

.date-chip.is-soldout .date-chip-status {
  color: #991b1b;
}

.date-picker-error {
  margin-top: var(--space-2);
  color: #991b1b;
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.qty-block {
  margin-bottom: var(--space-4);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.qty-btn {
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--color-off-white);
}

.qty-input {
  width: 56px;
  height: 44px;
  border: 0;
  text-align: center;
  font-weight: 700;
  background: var(--color-white);
}

.live-quote {
  background: var(--color-off-white);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  margin-bottom: var(--space-4);
}

.live-quote-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  padding: 0.2rem 0;
}

.live-quote-row.is-discount,
.live-quote-row.is-save { color: #047857; font-weight: 600; }
.live-quote-row.is-total { font-weight: 800; font-size: var(--font-size-base); border-top: 1px solid var(--color-gray-200); margin-top: var(--space-2); padding-top: var(--space-2); }

.afterpay-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .afterpay-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .afterpay-grid { grid-template-columns: repeat(4, 1fr); }
}

.afterpay-step {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-gray-100);
}

.afterpay-num {
  display: inline-block;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.afterpay-highlight {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(0, 151, 57, 0.08);
  border: 1px solid rgba(0, 151, 57, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
}

.afterpay-order {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-4);
}

.afterpay-keep {
  margin-top: var(--space-4);
  font-weight: 700;
}

.date-inventory-admin {
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin: var(--space-6) 0;
}

.date-inventory-admin legend {
  font-weight: 800;
  padding: 0 var(--space-2);
}

.date-inventory-head,
.date-inventory-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-3);
  align-items: center;
}

.date-inventory-head {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-gray-500);
  margin-bottom: var(--space-3);
}

.date-inventory-row {
  padding: var(--space-2) 0;
  border-top: 1px solid var(--color-gray-100);
}

.stock-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
}

.stock-ok { background: #D1FAE5; color: #047857; }
.stock-low { background: #FEF3C7; color: #92400e; }
.stock-soldout { background: #FEE2E2; color: #991b1b; }

.tone-ok { }
.tone-low input { border-color: #F59E0B; }
.tone-soldout input { border-color: #EF4444; }

.checkout-ticket .checkout-line {
  margin: 0.35rem 0;
}

@media (max-width: 640px) {
  .date-inventory-head { display: none; }
  .date-inventory-row {
    grid-template-columns: 1fr;
    gap: var(--space-2);
    padding: var(--space-3) 0;
  }
}

.order-status { display: inline-block; padding: 0.35rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.03em; }
.status-paid, .status-delivered { background: var(--color-success-light); color: #047857; }
.status-pending, .status-awaiting_payment, .status-processing { background: var(--color-warning-light); color: #92400e; }
.status-cancelled, .status-expired, .status-failed, .status-refunded { background: var(--color-error-light); color: #991b1b; }

/* --------------------------------------------------------------------------
   Member area + legal pages
   -------------------------------------------------------------------------- */
.page-hero {
  text-align: center;
  margin-bottom: var(--space-8);
}

.page-hero h1 {
  margin-bottom: var(--space-2);
}

.page-hero p {
  color: var(--color-gray-500);
  max-width: 36rem;
  margin-inline: auto;
}

.account-page {
  padding: var(--space-10) 0 var(--space-16);
}

.profile-card,
.ticket-card,
.member-link-card,
.legal-card,
.digital-ticket {
  background: var(--color-white);
  border: 1px solid rgba(0, 39, 118, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.profile-card {
  padding: var(--space-6);
  margin-bottom: var(--space-8);
}

.profile-card h2,
.member-link-card h3,
.ticket-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-4);
}

.profile-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .profile-meta { grid-template-columns: repeat(2, 1fr); }
}

.profile-meta dt {
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-gray-500);
  margin-bottom: 0.2rem;
}

.profile-meta dd {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-gray-800);
}

.member-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

@media (min-width: 768px) {
  .member-links { grid-template-columns: repeat(2, 1fr); }
}

.member-link-card {
  display: block;
  padding: var(--space-6);
  color: inherit;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.member-link-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.member-link-card p {
  color: var(--color-gray-500);
  margin: 0;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
  .account-stats { grid-template-columns: repeat(4, 1fr); }
}

.stat-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-primary);
}

.stat-label {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--color-gray-500);
  text-transform: uppercase;
}

.ticket-list {
  display: grid;
  gap: var(--space-4);
}

.ticket-card {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.ticket-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-3);
}

.ticket-card-id {
  font-weight: 800;
  color: var(--color-gray-800);
}

.ticket-card-event {
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.ticket-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  color: var(--color-gray-600);
  font-size: var(--font-size-sm);
}

.ticket-card-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px dashed var(--color-gray-200);
}

.ticket-card-total {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-primary-dark);
}

.ticket-card .btn {
  min-height: 44px;
}

.digital-ticket {
  overflow: hidden;
  margin-bottom: var(--space-6);
}

.digital-ticket-head {
  background: var(--color-blue);
  color: #fff;
  padding: var(--space-8) var(--space-6);
  text-align: center;
}

.digital-ticket-head h1,
.digital-ticket-head p {
  color: #fff;
}

.digital-ticket-head h1 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-2);
}

.digital-ticket-body {
  padding: var(--space-6);
}

.digital-ticket-facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .digital-ticket-facts { grid-template-columns: repeat(3, 1fr); }
}

.digital-ticket-facts strong {
  display: block;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-gray-500);
}

.ticket-stub {
  padding: var(--space-4) 0;
  border-top: 1px dashed var(--color-gray-200);
}

.ticket-stub:first-of-type {
  border-top: 0;
}

.order-cta {
  width: 100%;
  min-height: 52px;
  margin-top: var(--space-4);
}

.legal-page {
  padding: var(--space-10) 0 var(--space-16);
}

.legal-wrap {
  max-width: 800px;
}

.legal-hero {
  text-align: center;
  margin-bottom: var(--space-8);
}

.legal-updated {
  color: var(--color-gray-500);
  font-size: var(--font-size-sm);
}

.legal-card {
  padding: var(--space-8);
}

.legal-card h2 {
  font-size: var(--font-size-xl);
  margin: var(--space-8) 0 var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-gray-200);
}

.legal-card h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-card p {
  color: var(--color-gray-600);
  line-height: 1.7;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-8);
}

.back-link {
  display: inline-block;
  margin-bottom: var(--space-4);
  font-weight: 600;
}

@media (max-width: 767px) {
  .ticket-card-foot,
  .ticket-card-top {
    flex-direction: column;
    align-items: stretch;
  }
  .ticket-card .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Admin Analytics
   -------------------------------------------------------------------------- */
.an-wrap { display: flex; flex-direction: column; gap: 1.5rem; }
.an-filters {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
}
.an-presets { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .85rem; }
.an-chip {
  display: inline-flex;
  align-items: center;
  padding: .35rem .7rem;
  border-radius: 999px;
  border: 1px solid var(--color-gray-200);
  background: var(--color-gray-50);
  color: var(--color-gray-700);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
}
.an-chip.is-active,
.an-chip:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.an-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: flex-end;
}
.an-filter-row label { font-size: .8rem; color: var(--color-gray-600); font-weight: 600; }
.an-filter-row .form-control { min-width: 140px; }
.an-check { display: flex; align-items: center; gap: .4rem; font-size: .85rem; }
.an-updated { margin: .75rem 0 0; font-size: .8rem; color: var(--color-gray-500); }
.an-notice {
  background: var(--color-info-light);
  border-left: 4px solid var(--color-info);
  padding: .85rem 1rem;
  border-radius: 8px;
  color: var(--color-gray-700);
  font-size: .9rem;
}
.an-section {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.an-section h2 { margin: 0 0 1rem; font-size: 1.15rem; }
.an-section h3 { margin: 1.25rem 0 .75rem; font-size: 1rem; }
.an-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; align-items: center; margin-bottom: .75rem; }
.an-section-head h2 { margin: 0; }
.an-sort-links { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.an-insights { margin: 0; padding-left: 1.2rem; color: var(--color-gray-700); }
.an-insights li { margin: .35rem 0; }
.an-cards-4 { margin-bottom: 0; }
.an-delta { display: inline-block; margin-top: .35rem; font-size: .8rem; font-weight: 700; }
.an-delta-up { color: var(--color-success); }
.an-delta-down { color: var(--color-error); }
.an-delta-flat { color: var(--color-gray-500); }
.an-empty { color: var(--color-gray-500); font-size: .9rem; }
.an-funnel { display: flex; flex-direction: column; gap: .65rem; }
.an-funnel-bar {
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 8px;
  padding: .55rem .8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-width: 8rem;
}
.an-funnel-meta { font-size: .78rem; color: var(--color-gray-500); margin: .2rem 0 0 .15rem; }
.an-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 180px;
  overflow-x: auto;
  padding: .5rem 0;
}
.an-bar-col {
  flex: 1 0 22px;
  min-width: 18px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  position: relative;
}
.an-bar { width: 6px; min-height: 2px; border-radius: 3px 3px 0 0; }
.an-bar-vis { background: var(--color-primary); }
.an-bar-sess { background: var(--color-secondary); }
.an-bar-views { background: var(--color-accent-orange); }
.an-bar-col span {
  position: absolute;
  bottom: -1.3rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: .62rem;
  color: var(--color-gray-500);
  white-space: nowrap;
}
.an-bars { margin-bottom: 1.6rem; }
.an-bars-24 .an-bar-col { flex: 1 0 14px; }
.an-legend { font-size: .8rem; color: var(--color-gray-600); }
.an-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin: 0 .35rem 0 .7rem; }
.an-dot.vis { background: var(--color-primary); }
.an-dot.sess { background: var(--color-secondary); }
.an-dot.views { background: var(--color-accent-orange); }
.an-live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, .6);
  animation: an-pulse 1.6s infinite;
  margin-right: .35rem;
}
@keyframes an-pulse {
  70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}
.an-highlights { margin-top: .85rem; font-size: .9rem; color: var(--color-gray-700); }
.an-export { display: flex; flex-wrap: wrap; gap: .5rem; }
table.an-sortable th[data-sort]::after { content: ' ↕'; font-size: .7em; color: var(--color-gray-400); }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.an-section .admin-card-value { overflow-wrap: anywhere; }
@media (max-width: 767px) {
  .an-filter-row { flex-direction: column; align-items: stretch; }
  .an-filter-row .form-control { min-width: 0; width: 100%; }
  .an-funnel-bar { flex-direction: column; }
  .an-presets { overflow-x: auto; flex-wrap: nowrap; padding-bottom: .35rem; }
  .an-chip { flex: 0 0 auto; }
  .an-section { padding: .85rem; }
  .an-bars { height: 140px; }
}

/* ==========================================================================
   Movimento Brasil — landing
   ========================================================================== */

.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 1rem;
}

.lp-flag-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-blue);
  box-shadow: 0 0 0 3px var(--color-yellow);
}

.lp-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.lp-section-head .lp-flag,
.lp-highlight-inner .lp-flag,
.lp-impact-inner .lp-flag,
.lp-final-card .lp-flag,
.lp-product-head .lp-flag {
  display: flex;
  justify-content: center;
}

.section-title {
  color: var(--color-blue);
}

.section-subtitle {
  color: var(--color-gray-600);
  margin-top: 0.75rem;
}

.lp-hero {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: #001428;
}

.hero-stage {
  position: relative;
  width: 100%;
  min-height: min(86vh, 780px);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.35) 42%, rgba(0, 20, 40, 0.48) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(86vh, 780px);
  width: 100%;
  padding: 2.25rem 1.15rem 2.75rem;
}

.hero-content-inner {
  width: 100%;
  max-width: 40rem;
  text-align: center;
  color: #fff;
}

.hero-content-inner h1 {
  color: #fff;
  font-size: clamp(1.85rem, 7vw, 3.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.lp-hero-lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--font-size-lg);
  max-width: 34rem;
  margin-inline: auto;
}

.lp-kicker--light {
  color: var(--color-yellow);
  justify-content: center;
}

.lp-condition {
  margin: 1.75rem auto 1.5rem;
  padding: 1.25rem 1.35rem;
  background: var(--color-blue);
  color: #fff;
  position: relative;
  max-width: 36rem;
  text-align: left;
}

.lp-condition::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--color-yellow);
}

.lp-condition-badge {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--color-blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.65rem;
}

.lp-condition strong {
  display: block;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
}

.lp-condition p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--font-size-sm);
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
  background: transparent;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--color-blue);
}

.lp-trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gray-600);
}

.lp-trust-row li {
  position: relative;
  padding-left: 1rem;
}

.lp-trust-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  background: var(--color-green);
}

.lp-trust-row--light {
  color: rgba(255, 255, 255, 0.9);
  justify-content: center;
}

.lp-trust-row--light li::before {
  background: var(--color-yellow);
}

.lp-flag {
  display: inline-flex;
  margin-bottom: 0.75rem;
}

.lp-flag svg {
  display: block;
  width: 36px;
  height: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.lp-flag--hero svg {
  width: 42px;
  height: 28px;
}

.lp-flag--on-dark svg {
  box-shadow: none;
}

.lp-flag-band {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 6px;
}

.lp-flag-band span:nth-child(1) { background: #009739; }
.lp-flag-band span:nth-child(2) { background: #FFDF00; }
.lp-flag-band span:nth-child(3) { background: #002776; }

.lp-product-stage {
  max-width: 880px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid #E6EAE3;
  box-shadow: var(--shadow-lg);
  padding: 1.35rem 1rem 1.75rem;
}

.lp-product-head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.lp-product-head h2 {
  color: var(--color-blue);
  font-size: clamp(1.55rem, 5vw, 2.4rem);
  margin-bottom: 0.45rem;
}

.lp-product-qty {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--color-blue);
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  padding: 0.45rem 0.85rem;
}

.lp-product-visual {
  margin: 1.25rem 0 1.5rem;
  background: var(--color-off-white);
  overflow: hidden;
}

.lp-product-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  max-height: min(70vh, 560px);
  object-fit: cover;
  object-position: center;
}

.lp-product-offer {
  background: var(--color-blue);
  color: #fff;
  padding: 1.25rem 1.2rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.lp-product-offer::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--color-yellow);
}

.lp-product-offer strong {
  display: block;
  font-size: clamp(1.05rem, 3vw, 1.4rem);
  margin: 0.4rem 0;
}

.lp-product-offer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.lp-product-cta {
  text-align: center;
  margin: 0.5rem 0 1rem;
}

.lp-product-cta .btn,
.lp-final-form .btn,
.lp-hero-actions .btn-cta {
  min-width: min(100%, 280px);
}

.lp-product-note {
  text-align: center;
  color: var(--color-gray-600);
  font-size: 0.9rem;
  margin: 0.35rem 0;
}

.lp-highlight {
  background: var(--color-green);
  color: #fff;
  padding: 2.5rem 0;
  position: relative;
}

.lp-highlight-inner {
  text-align: center;
  max-width: 44rem;
}

.lp-highlight h2 {
  color: #fff;
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  margin-bottom: 0.75rem;
}

.lp-highlight p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 38rem;
  margin-inline: auto;
}

.lp-diamond {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--color-yellow);
  transform: rotate(45deg);
  margin-bottom: 0.85rem;
}

.lp-offer {
  background: var(--color-white);
}

.lp-kit-count {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.lp-kit-count span {
  background: var(--color-yellow);
  color: var(--color-blue);
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  padding: 0.55rem 1.1rem;
}

.lp-shirt-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.lp-shirt-mini {
  margin: 0;
  background: #fff;
  border: 1px solid #E6EAE3;
  padding: 0.75rem;
  text-align: center;
}

.lp-shirt-mini img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--color-off-white);
}

.lp-shirt-mini figcaption {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-blue);
}

.lp-center-cta {
  text-align: center;
  margin-top: 2rem;
}

.lp-steps {
  background: var(--color-off-white);
}

.lp-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.lp-step {
  background: #fff;
  padding: 1.5rem 1.35rem;
  border-top: 3px solid var(--color-green);
}

.lp-step-icon {
  color: var(--color-blue);
  display: inline-flex;
  margin-bottom: 0.5rem;
}

.lp-step-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-green);
  margin-bottom: 0.4rem;
}

.lp-step h3 {
  font-size: 1rem;
  color: var(--color-blue);
  margin-bottom: 0.5rem;
}

.lp-step p {
  color: var(--color-gray-600);
  font-size: 0.95rem;
}

.lp-kit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.lp-kit-card {
  background: #fff;
  border: 1px solid #E6EAE3;
}

.lp-kit-card-media {
  background: var(--color-off-white);
}

.lp-kit-card-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.lp-kit-card-body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.lp-kit-card-body h3 {
  font-size: 1.15rem;
  color: var(--color-blue);
  margin-bottom: 0.4rem;
}

.lp-kit-card-body p {
  color: var(--color-gray-600);
  font-size: 0.92rem;
}

.lp-kit-meta {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-green);
}

.lp-impact {
  background: var(--color-blue);
  color: #fff;
  padding: 3.5rem 0;
  position: relative;
}

.lp-impact::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: var(--color-yellow);
}

.lp-impact-inner {
  text-align: center;
  max-width: 40rem;
}

.lp-impact h2 {
  color: #fff;
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  margin-bottom: 0.85rem;
}

.lp-impact p {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 1.5rem;
}

.lp-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.lp-benefit {
  background: #fff;
  padding: 1.35rem 1.25rem;
  border-left: 3px solid var(--color-green);
}

.lp-benefit h3 {
  font-size: 1.05rem;
  color: var(--color-blue);
  margin-bottom: 0.4rem;
}

.lp-benefit p {
  color: var(--color-gray-600);
  font-size: 0.92rem;
}

.lp-faq-wrap {
  max-width: 800px;
}

.lp-final {
  padding: 3rem 0 4rem;
  background: var(--color-off-white);
}

.lp-final-card {
  max-width: 36rem;
  margin-inline: auto;
  background: #fff;
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 4px solid var(--color-yellow);
}

.lp-final-card h2 {
  color: var(--color-blue);
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 0.75rem;
}

.lp-final-summary {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-green);
  margin-bottom: 0.5rem;
}

.lp-final-note {
  color: var(--color-gray-600);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.lp-final-form {
  display: flex;
  justify-content: center;
}

.footer-brand-text,
.footer-meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.75rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.checkout-address {
  margin-top: 0.5rem;
}

.checkout-address-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 1rem;
}

.checkout-address-ok {
  margin: 0.25rem 0 0;
  color: #065F46;
  font-weight: 600;
}

.form-hint.is-error { color: #991b1b; }
.form-hint.is-success { color: #065F46; font-weight: 600; }

.checkout-ref-price s { color: var(--color-gray-500); }

.order-address-box {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--color-gray-50);
  border-radius: var(--radius-sm);
}

.order-address-box p { margin: 0.35rem 0 0; }

@media (min-width: 768px) {
  .checkout-address-grid { grid-template-columns: 1fr 1fr; }
}

.pix-status-paid { background: var(--color-success-light); color: #065F46; }
.pix-status-waiting { background: var(--color-warning-light); color: #92400E; }
.pix-status-expired { background: var(--color-error-light); color: #991B1B; }
.pix-amount { margin: 1rem 0; }
.pix-qr { margin: 1rem 0; }
.pix-code-box {
  background: var(--color-gray-100);
  padding: 0.85rem;
  word-break: break-all;
  font-size: 0.8rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.contact-card {
  background: #fff;
  padding: 1.25rem;
  border-left: 3px solid var(--color-green);
}
.page-404 {
  padding: 5rem 0;
  text-align: center;
  min-height: 60vh;
}
.page-404-code {
  font-size: clamp(4rem, 12vw, 6rem);
  font-weight: 800;
  color: var(--color-blue);
  line-height: 1;
  margin-bottom: 1rem;
}

.animate-in {
  animation: lp-rise 0.55s ease both;
}

@keyframes lp-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 768px) {
  .hero-stage,
  .hero-content { min-height: min(82vh, 820px); }
  .hero-content { padding: 3.5rem 2rem; }
  .hero-content-inner { max-width: 46rem; }
  .lp-trust-row { grid-template-columns: repeat(4, auto); }
  .lp-trust-row--light { display: flex; flex-wrap: wrap; justify-content: center; }
  .lp-steps-grid { grid-template-columns: repeat(3, 1fr); }
  .lp-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-final-card { padding: 2.75rem 2.5rem; }
  .lp-product-stage { padding: 2.25rem 2rem 2.5rem; }
  .lp-product-visual img { max-height: min(68vh, 620px); }
  .checkout-grid { grid-template-columns: 1.15fr 0.85fr; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .lp-benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-content-inner { max-width: 52rem; }
}

@media (max-width: 430px) {
  :root { --header-height: 72px; }
  .logo {
    max-width: calc(100vw - 4.75rem);
  }
}

@media (max-width: 767px) {
  .lp-hero-actions { flex-direction: column; align-items: stretch; }
  .lp-hero-actions .btn,
  .lp-product-cta .btn,
  .sticky-cta-mobile .btn { width: 100%; }
  .hero-content { padding: 1.75rem 1rem 2.1rem; }
  .lp-condition,
  .lp-product-offer { text-align: left; }
  .lp-product-stage { padding: 1.1rem 0.75rem 1.4rem; }
  .lp-trust-row { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .animate-in { animation: none; }
}

