:root {
  /* Colors */
  --color-background: rgba(252, 252, 249, 1);
  --color-surface: rgba(255, 255, 253, 1);
  --color-text: rgba(19, 52, 59, 1);
  --color-text-secondary: rgba(98, 108, 113, 1);
  --color-primary: rgba(33, 128, 141, 1);
  --color-primary-hover: rgba(29, 116, 128, 1);
  --color-primary-active: rgba(26, 104, 115, 1);
  --color-secondary: rgba(94, 82, 64, 0.12);
  --color-secondary-hover: rgba(94, 82, 64, 0.2);
  --color-secondary-active: rgba(94, 82, 64, 0.25);
  --color-border: rgba(94, 82, 64, 0.2);
  --color-btn-primary-text: rgba(252, 252, 249, 1);
  --color-card-border: rgba(94, 82, 64, 0.12);
  --color-card-border-inner: rgba(94, 82, 64, 0.12);
  --color-error: rgba(192, 21, 47, 1);
  --color-success: rgba(33, 128, 141, 1);
  --color-warning: rgba(168, 75, 47, 1);
  --color-info: rgba(98, 108, 113, 1);
  --color-focus-ring: rgba(33, 128, 141, 0.4);
  --color-select-caret: rgba(19, 52, 59, 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for opacity control */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
  :root {
    --color-background: rgba(31, 33, 33, 1);
    --color-surface: rgba(38, 40, 40, 1);
    --color-text: rgba(245, 245, 245, 1);
    --color-text-secondary: rgba(167, 169, 169, 0.7);
    --color-primary: rgba(50, 184, 198, 1);
    --color-primary-hover: rgba(45, 166, 178, 1);
    --color-primary-active: rgba(41, 150, 161, 1);
    --color-secondary: rgba(119, 124, 124, 0.15);
    --color-secondary-hover: rgba(119, 124, 124, 0.25);
    --color-secondary-active: rgba(119, 124, 124, 0.3);
    --color-border: rgba(119, 124, 124, 0.3);
    --color-error: rgba(255, 84, 89, 1);
    --color-success: rgba(50, 184, 198, 1);
    --color-warning: rgba(230, 129, 97, 1);
    --color-info: rgba(167, 169, 169, 1);
    --color-focus-ring: rgba(50, 184, 198, 0.4);
    --color-btn-primary-text: rgba(19, 52, 59, 1);
    --color-card-border: rgba(119, 124, 124, 0.2);
    --color-card-border-inner: rgba(119, 124, 124, 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(119, 124, 124, 0.2);
    --color-border-secondary: rgba(119, 124, 124, 0.2);
    --color-select-caret: rgba(245, 245, 245, 0.8);

    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    /* RGB versions for dark mode */
    --color-success-rgb: 50, 184, 198;
    --color-error-rgb: 255, 84, 89;
    --color-warning-rgb: 230, 129, 97;
    --color-info-rgb: 167, 169, 169;
  }
}

/* Data attribute for manual theme switching */
[data-color-scheme="dark"] {
  --color-background: rgba(31, 33, 33, 1);
  --color-surface: rgba(38, 40, 40, 1);
  --color-text: rgba(245, 245, 245, 1);
  --color-text-secondary: rgba(167, 169, 169, 0.7);
  --color-primary: rgba(50, 184, 198, 1);
  --color-primary-hover: rgba(45, 166, 178, 1);
  --color-primary-active: rgba(41, 150, 161, 1);
  --color-secondary: rgba(119, 124, 124, 0.15);
  --color-secondary-hover: rgba(119, 124, 124, 0.25);
  --color-secondary-active: rgba(119, 124, 124, 0.3);
  --color-border: rgba(119, 124, 124, 0.3);
  --color-error: rgba(255, 84, 89, 1);
  --color-success: rgba(50, 184, 198, 1);
  --color-warning: rgba(230, 129, 97, 1);
  --color-info: rgba(167, 169, 169, 1);
  --color-focus-ring: rgba(50, 184, 198, 0.4);
  --color-btn-primary-text: rgba(19, 52, 59, 1);
  --color-card-border: rgba(119, 124, 124, 0.15);
  --color-card-border-inner: rgba(119, 124, 124, 0.15);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  --color-border-secondary: rgba(119, 124, 124, 0.2);
  --color-select-caret: rgba(245, 245, 245, 0.8);

  /* Common style patterns - updated for dark mode */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for dark mode */
  --color-success-rgb: 50, 184, 198;
  --color-error-rgb: 255, 84, 89;
  --color-warning-rgb: 230, 129, 97;
  --color-info-rgb: 167, 169, 169;
}

[data-color-scheme="light"] {
  --color-background: rgba(252, 252, 249, 1);
  --color-surface: rgba(255, 255, 253, 1);
  --color-text: rgba(19, 52, 59, 1);
  --color-text-secondary: rgba(98, 108, 113, 1);
  --color-primary: rgba(33, 128, 141, 1);
  --color-primary-hover: rgba(29, 116, 128, 1);
  --color-primary-active: rgba(26, 104, 115, 1);
  --color-secondary: rgba(94, 82, 64, 0.12);
  --color-secondary-hover: rgba(94, 82, 64, 0.2);
  --color-secondary-active: rgba(94, 82, 64, 0.25);
  --color-border: rgba(94, 82, 64, 0.2);
  --color-btn-primary-text: rgba(252, 252, 249, 1);
  --color-card-border: rgba(94, 82, 64, 0.12);
  --color-card-border-inner: rgba(94, 82, 64, 0.12);
  --color-error: rgba(192, 21, 47, 1);
  --color-success: rgba(33, 128, 141, 1);
  --color-warning: rgba(168, 75, 47, 1);
  --color-info: rgba(98, 108, 113, 1);
  --color-focus-ring: rgba(33, 128, 141, 0.4);

  /* RGB versions for light mode */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-primary-hover);
}

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-btn-primary-text);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--primary:active {
  background: var(--color-primary-active);
}

.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-text);
}

.btn--secondary:hover {
  background: var(--color-secondary-hover);
}

.btn--secondary:active {
  background: var(--color-secondary-active);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn--outline:hover {
  background: var(--color-secondary);
}

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

.btn--full-width {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
@media (prefers-color-scheme: dark) {
  select.form-control {
    background-image: var(--select-caret-dark);
  }
}

/* Also handle data-color-scheme */
[data-color-scheme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] select.form-control {
  background-image: var(--select-caret-light);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.form-group {
  margin-bottom: var(--space-16);
}

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: var(--space-16);
}

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(
    var(--color-success-rgb, 33, 128, 141),
    var(--status-bg-opacity)
  );
  color: var(--color-success);
  border: 1px solid
    rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(
    var(--color-error-rgb, 192, 21, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-error);
  border: 1px solid
    rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(
    var(--color-warning-rgb, 168, 75, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-warning);
  border: 1px solid
    rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(
    var(--color-info-rgb, 98, 108, 113),
    var(--status-bg-opacity)
  );
  color: var(--color-info);
  border: 1px solid
    rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: var(--space-4);
}
.gap-8 {
  gap: var(--space-8);
}
.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}
.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}
.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}
.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}
.hidden {
  display: none;
}

/* Accessibility */
.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-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Dark mode specifics */
[data-color-scheme="dark"] .btn--outline {
  border: 1px solid var(--color-border-secondary);
}

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2')
    format('woff2');
}

:root {
  /* Colors */
  --color-background: rgba(252, 252, 249, 1);
  --color-surface: rgba(255, 255, 253, 1);
  --color-text: rgba(19, 52, 59, 1);
  --color-text-secondary: rgba(98, 108, 113, 1);
  --color-primary: rgba(33, 128, 141, 1);
  --color-primary-hover: rgba(29, 116, 128, 1);
  --color-primary-active: rgba(26, 104, 115, 1);
  --color-secondary: rgba(94, 82, 64, 0.12);
  --color-secondary-hover: rgba(94, 82, 64, 0.2);
  --color-secondary-active: rgba(94, 82, 64, 0.25);
  --color-border: rgba(94, 82, 64, 0.2);
  --color-btn-primary-text: rgba(252, 252, 249, 1);
  --color-card-border: rgba(94, 82, 64, 0.12);
  --color-card-border-inner: rgba(94, 82, 64, 0.12);
  --color-error: rgba(192, 21, 47, 1);
  --color-success: rgba(33, 128, 141, 1);
  --color-warning: rgba(168, 75, 47, 1);
  --color-info: rgba(98, 108, 113, 1);
  --color-focus-ring: rgba(33, 128, 141, 0.4);
  --color-select-caret: rgba(19, 52, 59, 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for opacity control */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing - Reduzido para menos espaçamento */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation - ANIMAÇÕES MAIS SUAVES */
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 600ms;
  --ease-standard: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.4, 0.0, 0.2, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
  :root {
    --color-background: rgba(31, 33, 33, 1);
    --color-surface: rgba(38, 40, 40, 1);
    --color-text: rgba(245, 245, 245, 1);
    --color-text-secondary: rgba(167, 169, 169, 0.7);
    --color-primary: rgba(50, 184, 198, 1);
    --color-primary-hover: rgba(45, 166, 178, 1);
    --color-primary-active: rgba(41, 150, 161, 1);
    --color-secondary: rgba(119, 124, 124, 0.15);
    --color-secondary-hover: rgba(119, 124, 124, 0.25);
    --color-secondary-active: rgba(119, 124, 124, 0.3);
    --color-border: rgba(119, 124, 124, 0.3);
    --color-error: rgba(255, 84, 89, 1);
    --color-success: rgba(50, 184, 198, 1);
    --color-warning: rgba(230, 129, 97, 1);
    --color-info: rgba(167, 169, 169, 1);
    --color-focus-ring: rgba(50, 184, 198, 0.4);
    --color-btn-primary-text: rgba(19, 52, 59, 1);
    --color-card-border: rgba(119, 124, 124, 0.2);
    --color-card-border-inner: rgba(119, 124, 124, 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(119, 124, 124, 0.2);
    --color-border-secondary: rgba(119, 124, 124, 0.2);
    --color-select-caret: rgba(245, 245, 245, 0.8);

    /* RGB versions for dark mode */
    --color-success-rgb: 50, 184, 198;
    --color-error-rgb: 255, 84, 89;
    --color-warning-rgb: 230, 129, 97;
    --color-info-rgb: 167, 169, 169;
  }
}

/* Client-specific colors */
:root {
  --color-primary: #1a4faa;
  --color-secondary: #132c7c;
  --color-tertiary: #03224a;
  --color-light-blue: #4a7bc8;
  --color-white: #ffffff;
  --color-black: #010101;
  --color-text: #132c7c;
  --color-text-light: #4a5b7c;
  
  /* Gradients */
  --gradient-primary: linear-gradient(45deg, #1a4faa, #132c7c, #03224a);
  --gradient-elite: linear-gradient(45deg, #2d3748, #1a202c, #171923);
  --gradient-section: linear-gradient(135deg, #1a4faa, #132c7c, #03224a);
  --gradient-hover: linear-gradient(45deg, #1e59c5, #173692, #052f64);
  --gradient-footer: linear-gradient(to bottom, #1a4faa, #132c7c, #03224a);

/* Gradient animated class for titles */
.gradient-animated {
  background: linear-gradient(45deg, var(--color-primary), #32b8c6, var(--color-primary));
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Espaçamento reduzido */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 2.5rem;
  --space-3xl: 3rem;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
}

/* ANIMAÇÕES ULTRA SUAVES - sem piscar */
@keyframes smoothFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes smoothSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes smoothSlideRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes smoothFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes smoothIconSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Classes de animação suaves */
.smooth-fade-in {
  opacity: 0;
  animation: smoothFadeIn var(--duration-slow) var(--ease-smooth) forwards;
  animation-play-state: paused;
}

.smooth-slide-left {
  opacity: 0;
  animation: smoothSlideLeft var(--duration-slow) var(--ease-smooth) forwards;
  animation-play-state: paused;
}

.smooth-slide-right {
  opacity: 0;
  animation: smoothSlideRight var(--duration-slow) var(--ease-smooth) forwards;
  animation-play-state: paused;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  position: relative;
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
  font-weight: var(--font-weight-medium);
  text-align: center;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  border: none;
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--gradient-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.875rem;
}

.mt-lg {
  margin-top: var(--space-lg);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  animation: smoothFloat 4s ease-in-out infinite;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.whatsapp-float a:hover {
  background: #20b358;
  transform: scale(1.05);
  color: white;
}

/* Header */
.header {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.logo {
  width: 50px;
  height: 50px;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin: 0;
}

.brand-subtitle {
  font-size: 0.875rem;
  color: var(--color-primary);
  margin: 0;
}

.nav {
  display: flex;
  gap: var(--space-lg);
}

.nav-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: color var(--duration-normal) var(--ease-smooth);
  position: relative;
}

.nav-link:hover {
  color: var(--color-secondary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--duration-normal) var(--ease-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: var(--color-white);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

/* REMOVER ou COMENTAR esta seção para ter fundo totalmente branco */
/*
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 79, 170, 0.05), rgba(19, 44, 124, 0.05));
  z-index: 0;
}
*/

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.hero-cta {
  font-size: 1.125rem;
  padding: var(--space-md) var(--space-xl);
}

.hero-img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-xl);
  transition: transform var(--duration-slow) var(--ease-smooth);
  margin: 0 auto;
  display: block;
}

.hero-img:hover {
  transform: scale(1.02);
}

/* About Section */
.about {
  padding: var(--space-2xl) 0;
  background: var(--gradient-section);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 79, 170, 0.8), rgba(19, 44, 124, 0.9), rgba(3, 34, 74, 1));
  background-size: 400% 400%;
  animation: gradientMovement 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gradientFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, -10px) rotate(1deg); }
  50% { transform: translate(-5px, 10px) rotate(-1deg); }
  75% { transform: translate(-10px, -5px) rotate(0.5deg); }
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.about .section-title {
  color: var(--color-white);
  font-size: 3rem;
}

.about-img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-xl);
  margin: 0 auto;
  display: block;
}

.about-description {
  font-size: 1.125rem;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.specialties {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.specialty-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.specialty-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.15);
}

.specialty-item i {
  font-size: 1.5rem;
  color: var(--color-white);
}

.specialty-item span {
  font-weight: var(--font-weight-medium);
  color: var(--color-white);
}

/* Services Section */
.services {
  padding: var(--space-2xl) 0;
  background: var(--gradient-section);
  color: var(--color-white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 79, 170, 0.8), rgba(19, 44, 124, 0.9), rgba(3, 34, 74, 1));
  background-size: 400% 400%;
  animation: gradientMovement 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gradientMovement {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.services .section-title {
  color: var(--color-white);
  font-size: 3rem;
  margin-bottom: var(--space-xl);
}

.services .container {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  justify-content: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--duration-normal) var(--ease-smooth);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  width: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.service-card.featured::before {
  height: 6px;
  background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-md);
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-white);
  transition: all var(--duration-slow) var(--ease-smooth);
  will-change: transform;
  flex-shrink: 0;
  position: relative;
  min-width: 70px;
  min-height: 70px;
  max-width: 70px;
  max-height: 70px;
  aspect-ratio: 1;
}

/* ÍCONES COM ROTAÇÃO SUAVE */
.service-card:hover .service-icon {
  transform: rotate(360deg);
}

.service-title {
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  background: linear-gradient(45deg, var(--color-primary), #32b8c6, var(--color-primary));
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease-in-out infinite;
  margin-bottom: var(--space-sm);
}

.service-description {
  color: var(--color-text);
  margin-bottom: var(--space-md);
  line-height: 1.6;
  flex-grow: 1;
  font-size: 0.9rem;
}

.service-card .btn {
  margin-top: auto;
}

/* Packages Section - ATUALIZADO */
.packages {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.packages::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(50, 184, 198, 0.1), transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(26, 79, 170, 0.1), transparent 50%);
  animation: floatingShapes 10s ease-in-out infinite;
}

@keyframes floatingShapes {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, -15px) rotate(2deg); }
  50% { transform: translate(-10px, 20px) rotate(-2deg); }
  75% { transform: translate(-15px, -10px) rotate(1deg); }
}

.packages .container {
  position: relative;
  z-index: 1;
}

.package-cards {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding: var(--space-sm) var(--space-sm);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) var(--color-white);
}

.package-cards::-webkit-scrollbar {
  height: 8px;
}

.package-cards::-webkit-scrollbar-track {
  background: var(--color-white);
  border-radius: var(--radius-full);
}

.package-cards::-webkit-scrollbar-thumb {
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}

.package-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  width: 280px;
  flex-shrink: 0;
  border: 1px solid rgba(19, 44, 124, 0.1);
  position: relative;
}

.package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(50, 184, 198, 0.1), rgba(26, 79, 170, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.package-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(26, 79, 170, 0.2);
}

.package-card:hover::before {
  opacity: 1;
}

/* ELITE PACKAGE - Gradiente preto */
.package-card.elite-package {
  background: var(--gradient-elite);
  color: var(--color-white);
  border: 2px solid #1a202c;
}

.package-card.elite-package .package-header {
  background: rgba(0, 0, 0, 0.3);
}

.package-card.elite-package .package-footer {
  background: rgba(0, 0, 0, 0.2);
}

.package-card.elite-package .feature span {
  color: var(--color-white);
}

.package-card.elite-package .feature i {
  color: #ffd700;
}

.package-card.elite-package .bonus-tag {
  background: #ffd700;
  color: #1c2436;
}

/* Regra mais específica para garantir a aplicação da cor */
.package-card.elite-package .bonus-feature .bonus-tag {
  background: #ffd700 !important;
  color: #1c2436 !important;
}

.package-header {
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  position: relative;
  z-index: 2;
}

.package-header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: 0.5px;
}

/* Remover seção de preços */
.package-price {
  display: none;
}

.package-features {
  padding: var(--space-lg);
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(19, 44, 124, 0.1);
  position: relative;
}

.feature:last-child {
  border-bottom: none;
}

.feature i {
  color: var(--color-primary);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.feature span {
  font-size: 0.95rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

/* Estilos para features bônus */
.bonus-feature {
  background: rgba(26, 79, 170, 0.05);
  border-radius: var(--radius-sm);
  margin: var(--space-xs) calc(-1 * var(--space-sm));
  padding: var(--space-sm);
  border-bottom: none;
}

.bonus-tag {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: var(--font-weight-bold);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

.package-footer {
  padding: var(--space-lg);
  text-align: center;
  background: rgba(19, 44, 124, 0.03);
  position: relative;
  z-index: 2;
}

.package-btn {
  width: 100%;
  margin: 0 auto;
}

/* Individual Services Section - REFORMULADO */
.individual-services {
  padding: var(--space-2xl) 0;
  background: var(--gradient-section);
  color: var(--color-white);
}

.individual-services .section-title {
  color: var(--color-white);
}

.services-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.service-category {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.service-category:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.service-category-header {
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: var(--space-lg);
  text-align: center;
}

.service-category-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--color-white);
  transition: all var(--duration-slow) var(--ease-smooth);
  will-change: transform;
}

/* ÍCONES COM ROTAÇÃO SUAVE */
.service-category:hover .service-category-icon {
  transform: rotate(360deg);
}

.service-category-title {
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-xs);
  color: var(--color-white);
}

.service-category-description {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
  line-height: 1.4;
}

.service-category-content {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

/* BOTÃO ÚNICO SIMPLIFICADO - Para serviços avulsos - ATUALIZADO */
.service-info-btn-single {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-lg);
  background: var(--gradient-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  width: 100%;
  margin-top: var(--space-md);
}

.service-info-btn-single::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s var(--ease-smooth);
}

.service-info-btn-single:hover::before {
  left: 100%;
}

.service-info-btn-single:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-info-btn-single i {
  font-size: 1.1rem;
}

.service-single-name {
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  text-align: center;
}

/* Terms Section */
.terms {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.term-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-smooth);
  height: 100%;
}

.term-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.term-item i {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.term-item h3 {
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.term-item p {
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  padding: var(--space-2xl) 0;
  background: var(--gradient-section);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 79, 170, 0.8), rgba(19, 44, 124, 0.9), rgba(3, 34, 74, 1));
  background-size: 400% 400%;
  animation: gradientMovement 8s ease-in-out infinite;
  pointer-events: none;
}

.contact .container {
  position: relative;
  z-index: 1;
}

.contact .section-title {
  color: var(--color-white);
  font-size: 3rem;
  background: linear-gradient(45deg, #ffffff, #e0e0e0, #ffffff);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease-in-out infinite;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.contact-description {
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
  opacity: 0.9;
  color: var(--color-white);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-white);
  transition: all var(--duration-normal) var(--ease-smooth);
  backdrop-filter: blur(10px);
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.whatsapp-contact .contact-icon {
  background: #25d366;
}

.instagram-contact .contact-icon {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.contact-method:hover .contact-icon {
  transform: scale(1.05) rotate(5deg);
}

.contact-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.contact-label {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-bottom: 2px;
  text-align: left;
}

.contact-value {
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  text-align: left;
}

.contact-img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-xl);
  margin: 0 auto;
  display: block;
}

/* Footer */
.footer {
  background: var(--gradient-footer);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-md) 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-logo {
  width: 50px;
  height: 50px;
}

.footer-info {
  text-align: left;
}

.footer-name {
  font-size: 1.3rem;
  font-weight: var(--font-weight-bold);
  margin: 0;
  color: var(--color-white);
  text-align: left;
}

.footer-subtitle {
  font-size: 0.9rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  text-align: left;
}

.footer-links {
  display: flex;
  gap: var(--space-sm);
}

.footer-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.125rem;
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.footer-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Mobile Optimizations - CORRIGIDO E MELHORADO */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 1001;
    position: relative;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    text-align: center;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border-top: 1px solid rgba(26, 79, 170, 0.1);
  }
  
  .nav.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }
  
  .nav-link {
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(26, 79, 170, 0.1);
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .nav-link:hover {
    background: rgba(26, 79, 170, 0.05);
    color: var(--color-primary);
  }
  
  /* Container mobile ajustado */
  .container {
    padding: 0 var(--space-md);
  }
  
  /* Grid layouts mobile */
  .hero-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }
  
  .mobile-first {
    order: -1;
  }
  
  /* Typography mobile */
  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: var(--space-md);
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: var(--space-md);
  }
  
  .hero-description,
  .about-description,
  .contact-description {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  /* Services grid mobile */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .services .section-title {
    font-size: 2.2rem;
  }
  
  /* PACOTES - ALTERAÇÃO PRINCIPAL PARA MOBILE */
  .package-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    overflow-x: visible;
    padding: 0;
  }
  
  .package-card {
    width: 100%;
    max-width: 100%;
    flex-shrink: initial;
  }

  /* About and Packages sections mobile adjustments */
  .about,
  .packages,
  .services {
    min-height: auto;
    padding: var(--space-xl) 0;
  }
  
  .about::before,
  .packages::before {
    display: none;
  }
  
  /* Services categories mobile */
  .services-categories {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  /* Terms grid mobile */
  .terms-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  /* Footer mobile */
  .footer-content {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
    align-items: center;
    justify-content: center;
  }
  
  .footer-brand {
    align-self: center;
    display: flex;
    align-items: center;
    gap: var(--space-md);
  }
  
  .footer-info {
    text-align: left;
  }
  
  /* Header mobile fix */
  .header-content {
    position: relative;
    padding: var(--space-sm) 0;
  }
  
  .logo-section {
    gap: var(--space-sm);
  }
  
  .logo {
    width: 40px;
    height: 40px;
  }
  
  .brand-name {
    font-size: 1.2rem;
  }
  
  .brand-subtitle {
    font-size: 0.75rem;
  }
  
  /* WhatsApp float button mobile */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-float a {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  /* Specialty items mobile */
  .specialty-item {
    padding: var(--space-sm);
  }
  
  /* Contact methods mobile */
  .contact-method {
    padding: var(--space-sm);
    gap: var(--space-sm);
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  /* Service categories adjustments */
  .service-category-header {
    padding: var(--space-md);
  }
  
  .service-category-content {
    padding: var(--space-md);
  }
  
  .service-category-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  /* Reduzir espaçamento em mobile */
  .hero, .about, .services, .packages, .individual-services, .terms, .contact {
    padding: var(--space-xl) 0;
  }
  
  /* Fix image sizing mobile */
  .hero-img,
  .about-img,
  .contact-img {
    max-width: 100%;
    height: auto;
  }
}

/* Tablet breakpoint for 2 columns */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
  
  .services .section-title {
    font-size: 2.5rem;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .hero-title {
    font-size: 1.6rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  /* Pacotes em telas muito pequenas */
  .package-card {
    width: 100%;
  }
  
  .package-header {
    padding: var(--space-md);
  }
  
  .package-features {
    padding: var(--space-md);
  }
  
  .package-footer {
    padding: var(--space-md);
  }
  
  /* Services adjustments */
  .service-category-header {
    padding: var(--space-sm);
  }
  
  .service-category-content {
    padding: var(--space-sm);
  }
  
  .service-info-btn-single {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
  }
  
  /* Typography em telas pequenas */
  .hero-description,
  .about-description,
  .contact-description {
    font-size: 0.95rem;
  }
  
  .contact-value {
    font-size: 0.9rem;
  }
  
  .contact-label {
    font-size: 0.75rem;
  }
}

/* Adicionar animação para menu mobile */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}