/*
  Provu — IPTV premium design system (versão estática)
  Reproduz fielmente os tokens HSL e as classes Tailwind utilizadas no projeto original.
*/

:root {
  --background: 222 30% 6%;
  --background-2: 226 28% 8%;
  --foreground: 220 25% 96%;

  --surface: 226 30% 12%;
  --surface-2: 226 28% 16%;
  --surface-3: 226 26% 20%;

  --card: 226 30% 12%;
  --card-foreground: 220 25% 96%;

  --popover: 226 30% 10%;
  --popover-foreground: 220 25% 96%;

  --primary: 217 91% 60%;
  --primary-foreground: 220 25% 98%;
  --primary-glow: 217 95% 70%;

  --secondary: 45 96% 49%;
  --secondary-foreground: 226 35% 8%;
  --gold: 45 96% 49%;
  --gold-2: 43 100% 39%;
  --gold-outline: 47 100% 21%;

  --cta: 142 70% 49%;
  --cta-foreground: 220 25% 98%;
  --cta-hover: 142 70% 42%;

  --muted: 226 18% 22%;
  --muted-foreground: 220 15% 70%;

  --accent: 217 91% 60%;
  --accent-foreground: 220 25% 98%;

  --destructive: 0 75% 55%;
  --destructive-foreground: 220 25% 98%;

  --border: 226 22% 18%;
  --input: 226 22% 18%;
  --ring: 217 91% 60%;

  --link-cool: 218 30% 67%;
  --text-2: 220 15% 70%;

  --radius: 0.875rem;

  --gradient-hero: radial-gradient(1200px 600px at 80% -10%, hsl(var(--primary) / 0.18), transparent 60%),
                   radial-gradient(900px 500px at 0% 10%, hsl(var(--gold) / 0.10), transparent 60%),
                   linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--background-2)) 100%);
  --gradient-gold: linear-gradient(135deg, hsl(var(--gold)) 0%, hsl(var(--gold-2)) 100%);
  --gradient-cta:  linear-gradient(135deg, hsl(var(--cta)) 0%, hsl(var(--cta-hover)) 100%);
  --gradient-card: linear-gradient(180deg, hsl(var(--surface)) 0%, hsl(var(--surface-2)) 100%);
  --gradient-text-gold: linear-gradient(90deg, hsl(45 96% 60%), hsl(45 96% 45%));

  --shadow-elegant: 0 20px 60px -20px hsl(217 91% 30% / 0.55);
  --shadow-gold: 0 20px 60px -20px hsl(45 96% 35% / 0.55);
  --shadow-cta: 0 18px 40px -14px hsl(142 70% 30% / 0.7);
  --shadow-card: 0 10px 30px -16px hsl(0 0% 0% / 0.6);

  --t-fast: 150ms cubic-bezier(.4,0,.2,1);
  --t-base: 240ms cubic-bezier(.4,0,.2,1);
  --t-slow: 480ms cubic-bezier(.4,0,.2,1);

  color-scheme: dark;
}

/* Reset/base */
*, *::before, *::after { box-sizing: border-box; border-color: hsl(var(--border)); }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background-image: var(--gradient-hero);
  background-attachment: fixed;
}
h1, h2, h3, h4, h5, h6 {
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea, select { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
table { border-collapse: collapse; }

section[id], h1[id], h2[id], h3[id] { scroll-margin-top: 96px; }

:focus-visible { outline: 2px solid hsl(var(--primary)); outline-offset: 2px; border-radius: 4px; }
::selection { background: hsl(var(--primary) / 0.35); color: hsl(var(--foreground)); }

/* Componentes próprios */
.container-pro { margin-left: auto; margin-right: auto; width: 100%; max-width: 80rem; padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 640px) { .container-pro { padding-left: 2rem; padding-right: 2rem; } }

.text-gold-gradient { background: var(--gradient-text-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

.highlight-underline { position: relative; display: inline; z-index: 0; }
.highlight-underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.05em;
  height: 0.35em; background: linear-gradient(90deg, hsl(var(--gold) / 0.45), hsl(var(--gold) / 0.15));
  border-radius: 4px; z-index: -1; pointer-events: none;
}

.surface-card { background: var(--gradient-card); border: 1px solid hsl(var(--border)); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.surface-glass { background: hsl(var(--surface) / 0.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid hsl(var(--border)); }
.divider-soft { height: 1px; background: linear-gradient(90deg, transparent, hsl(var(--border)), transparent); }

/* Animações */
.animate-fade-up { animation: fade-up .6s cubic-bezier(.4,0,.2,1) both; }
.animate-pulse-soft { animation: pulse-soft 2.4s ease-in-out infinite; }
.animate-float { animation: float 6s ease-in-out infinite; }
.transition-base { transition: all var(--t-base); }
.transition-fast { transition: all var(--t-fast); }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-soft { 0%, 100% { box-shadow: 0 0 0 0 hsl(var(--cta) / 0.55); } 50% { box-shadow: 0 0 0 16px hsl(var(--cta) / 0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Layout */
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.grid { display: grid; }
.inline-flex { display: inline-flex; }
.inline { display: inline; }
.block { display: block; }
.hidden { display: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.bottom-5 { bottom: 1.25rem; }
.right-5 { right: 1.25rem; }
.right-6 { right: 1.5rem; }
.-top-3 { top: -0.75rem; }
.-top-20 { top: -5rem; }
.-right-20 { right: -5rem; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.-z-0 { z-index: 0; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.shrink-0 { flex-shrink: 0; }
.self-start { align-self: flex-start; }

/* Items / justify */
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.place-items-center { place-items: center; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Spacing */
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-3 { row-gap: 0.75rem; }
.gap-0\.5 { gap: 0.125rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mr-2 { margin-right: 0.5rem; }
.ml-1 { margin-left: 0.25rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-24 { margin-top: 6rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.my-10 { margin-top: 2.5rem; margin-bottom: 2.5rem; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.p-14 { padding: 3.5rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-24 { padding-top: 6rem; }
.pt-28 { padding-top: 7rem; }
.pt-36 { padding-top: 9rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-24 { padding-bottom: 6rem; }
.pl-5 { padding-left: 1.25rem; }
.pl-1\.5 { padding-left: 0.375rem; }
.pr-1\.5 { padding-right: 0.375rem; }
.last\:border-b-0:last-child { border-bottom-width: 0; }
.last\:pb-0:last-child { padding-bottom: 0; }
.list-decimal { list-style-type: decimal; }
.list-disc { list-style-type: disc; }

/* Sizing */
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-9 { width: 2.25rem; }
.h-9 { height: 2.25rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-11 { width: 2.75rem; }
.h-11 { height: 2.75rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.w-72 { width: 18rem; }
.h-72 { height: 18rem; }
.h-3\.5 { height: 0.875rem; }
.w-3\.5 { width: 0.875rem; }
.h-4 { height: 1rem; }
.w-4 { width: 1rem; }
.h-5 { height: 1.25rem; }
.w-5 { width: 1.25rem; }
.h-6 { height: 1.5rem; }
.w-6 { width: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.min-h-\[80vh\] { min-height: 80vh; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-none { max-width: none; }
.min-w-\[640px\] { min-width: 640px; }

/* Tipografia */
.font-display { font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.leading-\[1\.05\] { line-height: 1.05; }
.whitespace-nowrap { white-space: nowrap; }
.break-words { overflow-wrap: break-word; word-wrap: break-word; }
.italic { font-style: italic; }

/* Cores */
.text-foreground { color: hsl(var(--foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-cta { color: hsl(var(--cta)); }
.text-cta-foreground { color: hsl(var(--cta-foreground)); }
.text-secondary-foreground { color: hsl(var(--secondary-foreground)); }
.text-destructive { color: hsl(var(--destructive)); }
.text-gold { color: hsl(var(--gold)); }
.text-text-2 { color: hsl(var(--text-2)); }
.text-link-cool { color: hsl(var(--link-cool)); }
.text-transparent { color: transparent; }
.fill-gold { fill: hsl(var(--gold)); }

.bg-background { background-color: hsl(var(--background)); }
.bg-background\/80 { background-color: hsl(var(--background) / 0.8); }
.bg-background\/95 { background-color: hsl(var(--background) / 0.95); }
.bg-background-2\/60 { background-color: hsl(var(--background-2) / 0.6); }
.bg-foreground { background-color: hsl(var(--foreground)); }
.bg-card { background-color: hsl(var(--card)); }
.bg-surface { background-color: hsl(var(--surface)); }
.bg-surface-2 { background-color: hsl(var(--surface-2)); }
.bg-surface-3 { background-color: hsl(var(--surface-3)); }
.bg-primary { background-color: hsl(var(--primary)); }
.bg-primary\/5 { background-color: hsl(var(--primary) / 0.05); }
.bg-primary\/10 { background-color: hsl(var(--primary) / 0.1); }
.bg-primary\/15 { background-color: hsl(var(--primary) / 0.15); }
.bg-cta { background-color: hsl(var(--cta)); }
.bg-cta\/10 { background-color: hsl(var(--cta) / 0.1); }
.bg-cta\/15 { background-color: hsl(var(--cta) / 0.15); }
.bg-cta-foreground\/10 { background-color: hsl(var(--cta-foreground) / 0.1); }
.bg-gold { background-color: hsl(var(--gold)); }
.bg-gold\/5 { background-color: hsl(var(--gold) / 0.05); }
.bg-gold\/10 { background-color: hsl(var(--gold) / 0.1); }
.bg-gold\/15 { background-color: hsl(var(--gold) / 0.15); }
.bg-transparent { background-color: transparent; }

.bg-gradient-cta { background-image: var(--gradient-cta); }
.bg-gradient-gold { background-image: var(--gradient-gold); }
.bg-gradient-card { background-image: var(--gradient-card); }
.bg-gradient-hero { background-image: var(--gradient-hero); }

/* Sombras / borders */
.shadow-card { box-shadow: var(--shadow-card); }
.shadow-cta { box-shadow: var(--shadow-cta); }
.shadow-gold { box-shadow: var(--shadow-gold); }
.shadow-elegant { box-shadow: var(--shadow-elegant); }

.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-border { border-color: hsl(var(--border)); }
.border-primary { border-color: hsl(var(--primary)); }
.border-primary\/30 { border-color: hsl(var(--primary) / 0.3); }
.border-primary\/40 { border-color: hsl(var(--primary) / 0.4); }
.border-cta\/40 { border-color: hsl(var(--cta) / 0.4); }
.border-cta\/60 { border-color: hsl(var(--cta) / 0.6); }
.border-gold\/60 { border-color: hsl(var(--gold) / 0.6); }
.border-gold-outline\/60 { border-color: hsl(var(--gold-outline) / 0.6); }

.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: calc(var(--radius) - 2px); }
.rounded-lg { border-radius: var(--radius); }
.rounded-xl { border-radius: calc(var(--radius) + 4px); }
.rounded-2xl { border-radius: calc(var(--radius) + 8px); }
.rounded-full { border-radius: 9999px; }
.ring-1 { box-shadow: inset 0 0 0 1px currentColor; }
.ring-gold-outline\/60 { color: hsl(var(--gold-outline) / 0.6); }

/* Filter / blur */
.blur-3xl { filter: blur(64px); }
.opacity-10 { opacity: 0.1; }
.opacity-20 { opacity: 0.2; }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }

/* Hover */
.hover\:bg-surface-2:hover { background-color: hsl(var(--surface-2)); }
.hover\:bg-surface-3:hover { background-color: hsl(var(--surface-3)); }
.hover\:bg-cta\/10:hover { background-color: hsl(var(--cta) / 0.1); }
.hover\:bg-primary\/15:hover { background-color: hsl(var(--primary) / 0.15); }
.hover\:text-foreground:hover { color: hsl(var(--foreground)); }
.hover\:underline:hover { text-decoration-line: underline; }
.hover\:no-underline:hover { text-decoration-line: none; }
.hover\:border-cta:hover { border-color: hsl(var(--cta)); }
.hover\:border-primary\/40:hover { border-color: hsl(var(--primary) / 0.4); }
.hover\:brightness-110:hover { filter: brightness(1.1); }
.underline-offset-2 { text-underline-offset: 2px; }
.underline-offset-4 { text-underline-offset: 4px; }
.active\:scale-\[\.98\]:active { transform: scale(0.98); }

/* Focus styles for input search */
.focus-within\:border-primary:focus-within { border-color: hsl(var(--primary)); }
.focus\:border-primary:focus { border-color: hsl(var(--primary)); }
.focus\:outline-none:focus { outline: none; }
.placeholder\:text-muted-foreground::placeholder { color: hsl(var(--muted-foreground)); }
.aria-invalid\:border-destructive[aria-invalid="true"] { border-color: hsl(var(--destructive)); }

/* Skip link */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}
.focus\:not-sr-only:focus { position: static; width: auto; height: auto; padding: inherit; margin: inherit; overflow: visible; clip: auto; white-space: normal; }
.focus\:fixed:focus { position: fixed; }
.focus\:left-4:focus { left: 1rem; }
.focus\:top-4:focus { top: 1rem; }
.focus\:z-50:focus { z-index: 50; }
.focus\:rounded-md:focus { border-radius: calc(var(--radius) - 2px); }
.focus\:bg-primary:focus { background-color: hsl(var(--primary)); }
.focus\:px-3:focus { padding-left: 0.75rem; padding-right: 0.75rem; }
.focus\:py-2:focus { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.focus\:text-primary-foreground:focus { color: hsl(var(--primary-foreground)); }

/* Grid */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* Header / Section / pages — buttons */
.button-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 500; border-radius: calc(var(--radius) + 4px);
  transition: all var(--t-base);
  background-image: var(--gradient-cta); color: hsl(var(--cta-foreground));
  box-shadow: var(--shadow-cta);
  white-space: nowrap;
}
.button-cta:hover { filter: brightness(1.1); }
.button-cta:active { transform: scale(0.98); }

.button-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 500; border-radius: calc(var(--radius) + 4px);
  transition: all var(--t-base);
  border: 1px solid hsl(var(--cta) / 0.6); color: hsl(var(--cta));
  background-color: transparent; white-space: nowrap;
}
.button-outline:hover { background-color: hsl(var(--cta) / 0.1); border-color: hsl(var(--cta)); }
.button-outline:active { transform: scale(0.98); }

.button-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 500; border-radius: calc(var(--radius) + 4px);
  transition: all var(--t-base);
  background-image: var(--gradient-gold); color: hsl(var(--secondary-foreground));
  box-shadow: var(--shadow-gold); white-space: nowrap;
}
.button-gold:hover { filter: brightness(1.1); }

.btn-sm { height: 2.25rem; padding-left: 0.75rem; padding-right: 0.75rem; font-size: 0.875rem; }
.btn-md { height: 2.75rem; padding-left: 1.25rem; padding-right: 1.25rem; font-size: 0.875rem; }
.btn-lg { height: 3rem; padding-left: 1.5rem; padding-right: 1.5rem; font-size: 1rem; }
.btn-xl { height: 3.5rem; padding-left: 2rem; padding-right: 2rem; font-size: 1rem; }
@media (min-width: 640px) { .btn-xl { font-size: 1.125rem; } }

/* Header */
.site-header { position: fixed; left: 0; right: 0; top: 0; z-index: 40; transition: all var(--t-base); background: transparent; }
.site-header.scrolled { background-color: hsl(var(--background) / 0.8); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid hsl(var(--border)); box-shadow: var(--shadow-card); }
.nav-link { border-radius: var(--radius); padding: 0.5rem 0.75rem; font-size: 0.875rem; font-weight: 500; color: hsl(var(--text-2)); transition: all var(--t-fast); }
.nav-link:hover { color: hsl(var(--foreground)); background-color: hsl(var(--surface-2)); }
.nav-link.active { background-color: hsl(var(--primary) / 0.15); color: hsl(var(--primary)); }
.mobile-toggle { display: grid; height: 2.75rem; width: 2.75rem; place-items: center; border-radius: var(--radius); border: 1px solid hsl(var(--border)); background-color: hsl(var(--surface)); color: hsl(var(--foreground)); }
.mobile-nav { overflow: hidden; border-bottom: 1px solid hsl(var(--border)); background-color: hsl(var(--background) / 0.95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); transition: max-height var(--t-base); max-height: 0; }
.mobile-nav.open { max-height: 480px; }

/* Floating Whatsapp */
.floating-wa {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 50;
  display: flex; align-items: center; gap: 0.75rem;
  border-radius: 9999px; background-image: var(--gradient-cta);
  padding: 0.75rem 1rem; color: hsl(var(--cta-foreground));
  box-shadow: var(--shadow-cta); transition: all var(--t-base);
  animation: pulse-soft 2.4s ease-in-out infinite;
}
.floating-wa:hover { filter: brightness(1.1); }
.floating-wa-icon { display: grid; height: 2.25rem; width: 2.25rem; place-items: center; border-radius: 9999px; background-color: hsl(var(--cta-foreground) / 0.1); }
.floating-wa-text { display: none; font-size: 0.875rem; font-weight: 600; }
@media (min-width: 640px) { .floating-wa { bottom: 1.5rem; right: 1.5rem; } .floating-wa-text { display: inline; } }

/* Accordion */
.accordion-item { border-bottom: 1px solid hsl(var(--border)); }
.accordion-trigger {
  display: flex; flex: 1 1 0%; align-items: center; justify-content: space-between;
  padding: 1rem 0.75rem; font-size: 1rem; font-weight: 500; text-align: left;
  color: hsl(var(--foreground)); transition: all var(--t-base);
  width: 100%; cursor: pointer;
}
@media (min-width: 640px) { .accordion-trigger { font-size: 1.125rem; } }
.accordion-trigger .chev { height: 1rem; width: 1rem; transition: transform 200ms; flex-shrink: 0; color: hsl(var(--muted-foreground)); }
.accordion-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.accordion-content { overflow: hidden; max-height: 0; transition: max-height 240ms cubic-bezier(.4,0,.2,1); }
.accordion-content.open { max-height: 1500px; }
.accordion-inner { padding: 0 0.75rem 1rem; font-size: 0.875rem; line-height: 1.625; color: hsl(var(--text-2)); }
@media (min-width: 640px) { .accordion-inner { font-size: 1rem; } }

/* Stretching helpers */
.stretch { width: 100%; }

/* Inputs */
.input-base {
  height: 2.75rem; width: 100%; border-radius: calc(var(--radius) + 4px);
  border: 1px solid hsl(var(--border)); background-color: hsl(var(--surface));
  padding: 0 1rem; font-size: 0.875rem; color: hsl(var(--foreground));
}
.input-base::placeholder { color: hsl(var(--muted-foreground)); }
.input-base:focus { border-color: hsl(var(--primary)); outline: none; }
.textarea-base {
  width: 100%; border-radius: calc(var(--radius) + 4px);
  border: 1px solid hsl(var(--border)); background-color: hsl(var(--surface));
  padding: 0.75rem 1rem; font-size: 0.875rem; color: hsl(var(--foreground));
}
.textarea-base::placeholder { color: hsl(var(--muted-foreground)); }
.textarea-base:focus { border-color: hsl(var(--primary)); outline: none; }

/* Glossário/article prose-like spacing for Privacidade/Termos */
.prose-doc h3 { margin-top: 2rem; font-size: 1.25rem; font-weight: 600; color: hsl(var(--foreground)); }
.prose-doc p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.625; color: hsl(var(--text-2)); }
.prose-doc li { font-size: 0.875rem; color: hsl(var(--text-2)); }
.prose-doc ul { margin-top: 0.75rem; padding-left: 1.25rem; list-style-type: disc; }
.prose-doc ul > * + * { margin-top: 0.25rem; }

/* Table base */
.table-base { width: 100%; text-align: left; font-size: 0.875rem; }
.table-base thead { background-color: hsl(var(--surface-2)); color: hsl(var(--text-2)); }
.table-base th { padding: 0.75rem 1.25rem; font-weight: 600; }
.table-base td { padding: 0.75rem 1.25rem; color: hsl(var(--text-2)); }
.table-base tr { border-top: 1px solid hsl(var(--border)); }

/* Section header */
.sec-eyebrow {
  display: inline-flex; align-items: center; border-radius: 9999px;
  border: 1px solid hsl(var(--gold-outline) / 0.6); background-color: hsl(var(--gold) / 0.1);
  padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: hsl(var(--gold));
}
.sec-title {
  margin-top: 1rem; font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.875rem; font-weight: 600; line-height: 1.25;
}
@media (min-width: 640px) { .sec-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .sec-title { font-size: 3rem; } }
.sec-desc { margin-top: 1rem; font-size: 1rem; line-height: 1.625; color: hsl(var(--text-2)); }
@media (min-width: 640px) { .sec-desc { font-size: 1.125rem; } }
.sec-header { margin-bottom: 2.5rem; max-width: 48rem; }
@media (min-width: 640px) { .sec-header { margin-bottom: 3.5rem; } }
.sec-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-pad { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 640px) { .section-pad { padding-top: 6rem; padding-bottom: 6rem; } }

/* Hero h1 */
.hero-h1 { margin-top: 1.25rem; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 2.25rem; font-weight: 600; line-height: 1.05; }
@media (min-width: 640px) { .hero-h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-h1 { font-size: 3.75rem; } }

/* Responsive helpers (sm md lg) */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:text-left { text-align: left; }
  .sm\:text-base { font-size: 1rem; }
  .sm\:text-lg { font-size: 1.125rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:p-10 { padding: 2.5rem; }
  .sm\:p-12 { padding: 3rem; }
  .sm\:p-14 { padding: 3.5rem; }
  .sm\:p-4 { padding: 1rem; }
  .sm\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .sm\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .sm\:pt-28 { padding-top: 7rem; }
  .sm\:pt-36 { padding-top: 9rem; }
  .sm\:bottom-6 { bottom: 1.5rem; }
  .sm\:right-6 { right: 1.5rem; }
  .sm\:inline { display: inline; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:gap-8 { gap: 2rem; }
}
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:grid-cols-\[1\.4fr_1fr\] { grid-template-columns: 1.4fr 1fr; }
  .lg\:grid-cols-\[1\.4fr_1fr_1fr_1\.2fr\] { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .lg\:items-end { align-items: flex-end; }
  .lg\:justify-end { justify-content: flex-end; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

/* Misc */
.aria-current { font-weight: 500; color: hsl(var(--foreground)); }
.code-inline { border-radius: 4px; background-color: hsl(var(--surface-2)); padding: 0.125rem 0.375rem; color: hsl(var(--foreground)); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85em; }

/* Logo dot */
.logo-dot { color: hsl(var(--gold)); }

/* Hidden on lg */
@media (max-width: 1023.98px) {
  .lg-only { display: none !important; }
}
@media (min-width: 1024px) {
  .mobile-only { display: none !important; }
}

/* Underline / cite block */
em { font-style: italic; }

strong { font-weight: 700; }
