/* Design System - Melhorado com foco em acessibilidade e UX */
:root {
  /* Cores HSL - Melhor contraste para acessibilidade */
  --background: 220 20% 98%;
  --foreground: 222 47% 11%;

  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;

  --popover: 0 0% 100%;
  --popover-foreground: 222 47% 11%;

  /* Azul primário #3b82f6 - Melhor contraste */
  --primary: 217 91% 60%;
  --primary-foreground: 0 0% 100%;
  --primary-glow: 217 91% 70%;
  --primary-hover: 217 91% 55%;

  /* Verde sucesso #10b981 - Melhor contraste */
  --success: 158 64% 52%;
  --success-foreground: 0 0% 100%;
  --success-hover: 158 64% 45%;

  /* Vermelho erro #ef4444 - Melhor contraste */
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --destructive-hover: 0 84% 55%;

  /* Amarelo aviso #f59e0b - Melhor contraste */
  --warning: 38 92% 50%;
  --warning-foreground: 0 0% 100%;
  --warning-hover: 38 92% 45%;

  --secondary: 220 14% 96%;
  --secondary-foreground: 222 47% 11%;

  --muted: 220 14% 96%;
  --muted-foreground: 215 16% 47%;

  --accent: 220 14% 96%;
  --accent-foreground: 222 47% 11%;

  --border: 220 13% 91%;
  --input: 220 13% 91%;
  --ring: 217 91% 60%;

  --radius: 0.75rem;

  /* Novas variáveis para melhor UX */
  --focus-ring: 0 0 0 3px hsl(var(--ring) / 0.2);
  --focus-ring-offset: 0 0 0 2px hsl(var(--background));
  --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);

  /* Gradientes */
  --gradient-primary: linear-gradient(
    135deg,
    hsl(217 91% 60%),
    hsl(217 91% 70%)
  );
  --gradient-success: linear-gradient(
    135deg,
    hsl(158 64% 52%),
    hsl(158 64% 62%)
  );
  --gradient-danger: linear-gradient(135deg, hsl(0 84% 60%), hsl(0 84% 70%));

  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 30px hsl(217 91% 60% / 0.3);
}

.dark {
  --background: 222 47% 11%;
  --foreground: 210 40% 98%;

  --card: 220 20% 14%;
  --card-foreground: 210 40% 98%;

  --popover: 220 20% 14%;
  --popover-foreground: 210 40% 98%;

  --primary: 217 91% 60%;
  --primary-foreground: 0 0% 100%;
  --primary-glow: 217 91% 70%;
  --primary-hover: 217 91% 65%;

  --success: 158 64% 52%;
  --success-foreground: 0 0% 100%;
  --success-hover: 158 64% 57%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --destructive-hover: 0 84% 65%;

  --warning: 38 92% 50%;
  --warning-foreground: 0 0% 100%;
  --warning-hover: 38 92% 55%;

  --secondary: 217 33% 17%;
  --secondary-foreground: 210 40% 98%;

  --muted: 217 33% 17%;
  --muted-foreground: 215 20% 65%;

  --accent: 217 33% 17%;
  --accent-foreground: 210 40% 98%;

  --border: 217 33% 17%;
  --input: 217 33% 17%;
  --ring: 217 91% 60%;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3),
    0 4px 6px -4px rgb(0 0 0 / 0.3);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.3),
    0 8px 10px -6px rgb(0 0 0 / 0.3);
  --shadow-glow: 0 0 30px hsl(217 91% 60% / 0.5);
}

/* Reset e Base - Melhorado para acessibilidade */
* {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

*:focus {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

*:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-size: 16px; /* Base para rem */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Melhorar legibilidade */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0.5em;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
}

/* Skip link para acessibilidade */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Screen reader only - para acessibilidade */
.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;
}

/* Scrollbar customizado */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background-color: hsl(var(--secondary));
}

::-webkit-scrollbar-thumb {
  background-color: hsl(var(--muted-foreground) / 0.3);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(var(--muted-foreground) / 0.5);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid hsl(var(--border));
  background-color: hsl(var(--card) / 0.8);
  backdrop-filter: blur(16px);
}

.header-content {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  transition: var(--transition-smooth);
}

.logo-svg {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary-foreground));
}

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

.logo-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.logo-subtitle {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Navigation */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-mobile {
  display: flex;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  .nav-mobile {
    display: none;
  }
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-smooth);
  color: hsl(var(--muted-foreground));
}

.nav-item:hover {
  color: hsl(var(--foreground));
  background-color: hsl(var(--accent));
}

.nav-item.active {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-md);
}

.nav-icon {
  width: 1rem;
  height: 1rem;
}

/* Main */
.main {
  flex: 1;
  padding: 2rem 0;
}

/* Page Header */
.page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-description {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

/* Cards */
.card {
  background-color: hsl(var(--card));
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  border: 0;
}

.card-header {
  padding: 1.5rem 1.5rem 0;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--card-foreground));
}

.card-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.card-description {
  color: hsl(var(--muted-foreground));
  margin-bottom: 0;
}

.card-content {
  padding: 1.5rem;
}

/* Input Sections */
.input-section {
  margin-bottom: 1.5rem;
}

.input-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}

.optional {
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
}

/* Radio Group */
.radio-group {
  display: flex;
  gap: 1rem;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

.radio-item input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 1rem;
  height: 1rem;
  border: 2px solid hsl(var(--border));
  border-radius: 50%;
  position: relative;
  transition: var(--transition-smooth);
}

.radio-item input[type="radio"]:checked + .radio-custom {
  border-color: hsl(var(--primary));
  background-color: hsl(var(--primary));
}

.radio-item input[type="radio"]:checked + .radio-custom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.25rem;
  height: 0.25rem;
  background-color: hsl(var(--primary-foreground));
  border-radius: 50%;
}

.radio-icon {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--muted-foreground));
}

/* Textarea - Melhorado para acessibilidade */
.textarea {
  width: 100%;
  min-height: 8rem;
  padding: 0.75rem;
  border: 1px solid hsl(var(--input));
  border-radius: var(--radius);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  font-family: inherit;
  resize: vertical;
  transition: var(--transition-smooth);
  line-height: 1.5;
}

.textarea:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: var(--focus-ring);
}

.textarea:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.textarea::placeholder {
  color: hsl(var(--muted-foreground));
  opacity: 0.7;
}

.textarea:invalid {
  border-color: hsl(var(--destructive));
}

.textarea:invalid:focus {
  box-shadow: 0 0 0 2px hsl(var(--destructive) / 0.2);
}

/* File Upload */
.file-upload {
  border: 2px dashed hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.file-upload:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.file-upload.dragging {
  border-color: hsl(var(--primary));
  background-color: hsl(var(--primary) / 0.05);
}

.file-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: hsl(var(--muted-foreground));
}

.file-text {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}

.file-hint {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.file-info {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--primary));
}

/* Input with Icon */
.input-with-icon {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: hsl(var(--muted-foreground));
}

.input {
  width: 100%;
  padding: 0.75rem 0.75rem 0.75rem 2.5rem;
  border: 1px solid hsl(var(--input));
  border-radius: var(--radius);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  font-family: inherit;
  transition: var(--transition-smooth);
  line-height: 1.5;
}

.input:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: var(--focus-ring);
}

.input:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.input::placeholder {
  color: hsl(var(--muted-foreground));
  opacity: 0.7;
}

.input:invalid {
  border-color: hsl(var(--destructive));
}

.input:invalid:focus {
  box-shadow: 0 0 0 2px hsl(var(--destructive) / 0.2);
}

/* Buttons - Melhorados para acessibilidade e UX */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  min-height: 2.5rem;
  position: relative;
  overflow: hidden;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn:not(:disabled):hover {
  transform: translateY(-1px);
}

.btn:not(:disabled):active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-lg);
  border: 1px solid hsl(var(--primary));
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(
    135deg,
    hsl(var(--primary-hover)),
    hsl(var(--primary))
  );
  box-shadow: var(--shadow-xl);
}

.btn-primary:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.btn-outline {
  background-color: transparent;
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}

.btn-outline:hover:not(:disabled) {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  border-color: hsl(var(--accent));
}

.btn-outline:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Estados de loading para botões */
.btn.loading {
  pointer-events: none;
}

.btn.loading .btn-icon {
  animation: spin 1s linear infinite;
}

/* Botão de voltar específico */
.btn-back {
  background-color: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  border: 1px solid hsl(var(--border));
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.btn-back:hover:not(:disabled) {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  transform: translateX(-2px);
}

.btn-back:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
}

@media (min-width: 640px) {
  .action-buttons {
    flex-direction: row;
  }
}

/* Test Buttons */
.test-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid hsl(var(--border));
}

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

/* Test Grid */
.test-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.test-card {
  background-color: hsl(var(--card));
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  border: 0;
  padding: 1.5rem;
}

.test-header {
  margin-bottom: 1rem;
}

.test-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--card-foreground));
}

.test-description {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Results */
.results-section {
  margin-top: 2rem;
}

.result-item {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
}

.result-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.result-status.produtivo {
  background-color: hsl(var(--success) / 0.1);
  color: hsl(var(--success));
}

.result-status.improdutivo {
  background-color: hsl(var(--destructive) / 0.1);
  color: hsl(var(--destructive));
}

.result-summary {
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}

.result-actions {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Footer */
.footer {
  border-top: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  padding: 1.5rem 0;
}

.footer-text {
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

/* Tab Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Animations */
.animate-fade-in {
  animation: fadeIn 0.5s ease-out;
}

.animate-slide-up {
  animation: slideUp 0.5s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Loading Spinner */
.spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Toast */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  font-weight: 500;
  animation: slideInRight 0.3s ease-out;
  max-width: 20rem;
}

.toast.success {
  background-color: hsl(var(--success));
  color: hsl(var(--success-foreground));
}

.toast.error {
  background-color: hsl(var(--destructive));
  color: hsl(var(--destructive-foreground));
}

.toast.warning {
  background-color: hsl(var(--warning));
  color: hsl(var(--warning-foreground));
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Easter Egg Section */
.easter-egg-section {
  padding: 2rem 0;
  text-align: center;
  background-color: hsl(var(--muted) / 0.3);
  border-top: 1px solid hsl(var(--border));
}

.easter-egg-btn {
  opacity: 0.7;
  transition: var(--transition-smooth);
}

.easter-egg-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Easter Egg Popup */
.easter-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.easter-popup.active {
  opacity: 1;
  visibility: visible;
}

.easter-popup-content {
  background-color: hsl(var(--card));
  border: 2px solid hsl(var(--primary));
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  padding: 1rem;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.8);
  transition: var(--transition-smooth);
}

.easter-popup.active .easter-popup-content {
  transform: scale(1);
}

.easter-popup-image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius);
  object-fit: contain;
}

/* LGPD Notice */
.lgpd-notice {
  background: linear-gradient(
    135deg,
    hsl(var(--primary)),
    hsl(var(--primary-glow))
  );
  color: hsl(var(--primary-foreground));
  padding: 0.75rem 0;
  border-bottom: 1px solid hsl(var(--border));
}

.lgpd-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.lgpd-text {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.4;
}

.lgpd-link {
  color: hsl(var(--primary-foreground));
  text-decoration: underline;
  font-weight: 500;
  margin-left: 0.5rem;
}

.lgpd-link:hover {
  opacity: 0.8;
}

.lgpd-close {
  background: none;
  border: none;
  color: hsl(var(--primary-foreground));
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.lgpd-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Página LGPD - Estilos específicos */
.lgpd-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.lgpd-page .page-header {
  text-align: left;
  margin-bottom: 2rem;
}

.lgpd-page .page-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lgpd-page .page-description {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0;
}

.lgpd-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: hsl(var(--card));
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid hsl(var(--border));
}

.lgpd-section h2 {
  color: hsl(var(--primary));
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lgpd-section h3 {
  color: hsl(var(--foreground));
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.lgpd-section h3:first-child {
  margin-top: 0;
}

.lgpd-section p {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 1rem;
}

.lgpd-section ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.lgpd-section li {
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.lgpd-section strong {
  color: hsl(var(--foreground));
  font-weight: 600;
}

.lgpd-highlight {
  background-color: hsl(var(--primary) / 0.1);
  border-left: 4px solid hsl(var(--primary));
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.lgpd-highlight p {
  margin-bottom: 0;
  color: hsl(var(--foreground));
}

.lgpd-footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 640px) {
  .page-title {
    font-size: 2rem;
  }

  .card-content {
    padding: 1rem;
  }

  .radio-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .lgpd-content {
    text-align: center;
  }

  .lgpd-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
  }

  .lgpd-page {
    padding: 1rem 0.5rem;
  }

  .lgpd-page .page-title {
    font-size: 2rem;
  }

  .lgpd-section {
    padding: 1rem;
  }

  .easter-egg-section {
    padding: 1rem 0;
  }

  .easter-popup-content {
    margin: 1rem;
    padding: 0.5rem;
  }

  .easter-popup-image {
    max-height: 70vh;
  }
}
