/* Acelere Digital — tokens e utilitários (de acelere-react/src/styles.css) */
:root {
  --radius: 0.625rem;
  --brand: oklch(0.633 0.235 35.5);
  --brand-foreground: oklch(1 0 0);
  --charcoal: oklch(0.222 0.025 264);
  --charcoal-2: oklch(0.275 0.027 264);
  --charcoal-foreground: oklch(0.985 0.003 247);
  --soft: oklch(0.985 0.003 247);
  --background: oklch(1 0 0);
  --foreground: oklch(0.18 0.02 264);
  --card: oklch(1 0 0);
  --muted: oklch(0.968 0.007 247);
  --muted-foreground: oklch(0.5 0.02 264);
  --border: oklch(0.92 0.01 264);
  --input: oklch(0.92 0.01 264);
  --shadow-elegant: 0 20px 60px -20px color-mix(in oklab, var(--brand) 25%, transparent);
  --shadow-card: 0 8px 30px -12px oklch(0.18 0.02 264 / 0.12);
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body.acelere-theme {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  overflow-x: clip;
}

body.acelere-theme h1,
body.acelere-theme h2,
body.acelere-theme h3,
body.acelere-theme h4 {
  letter-spacing: -0.02em;
}

/* Tailwind gaps ausentes no bundle pré-compilado */
.text-brand { color: var(--brand); }
.text-brand-foreground { color: var(--brand-foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-foreground { color: var(--foreground); }
.bg-background { background-color: var(--background); }
.bg-card { background-color: var(--card); }
.bg-brand { background-color: var(--brand); }
.bg-soft { background-color: var(--soft); }
.bg-charcoal { background-color: var(--charcoal); }
.bg-charcoal-2 { background-color: var(--charcoal-2); }
.text-charcoal-foreground { color: var(--charcoal-foreground); }
.border-border { border-color: var(--border); }
.border-border\/40 { border-color: color-mix(in oklab, var(--border) 40%, transparent); }
.border-border\/60 { border-color: color-mix(in oklab, var(--border) 60%, transparent); }
.border-input { border-color: var(--input); }
.border-brand { border-color: var(--brand); }
.border-brand\/40 { border-color: color-mix(in oklab, var(--brand) 40%, transparent); }
.border-brand\/50 { border-color: color-mix(in oklab, var(--brand) 50%, transparent); }
.bg-brand\/10 { background-color: color-mix(in oklab, var(--brand) 10%, transparent); }
.bg-brand\/15 { background-color: color-mix(in oklab, var(--brand) 15%, transparent); }
.bg-brand\/20 { background-color: color-mix(in oklab, var(--brand) 20%, transparent); }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/15 { border-color: rgba(255, 255, 255, 0.15); }
.text-white\/45 { color: rgba(255, 255, 255, 0.45); }
.text-white\/50 { color: rgba(255, 255, 255, 0.5); }
.text-white\/55 { color: rgba(255, 255, 255, 0.55); }
.text-white\/60 { color: rgba(255, 255, 255, 0.6); }
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }
.text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.text-white\/85 { color: rgba(255, 255, 255, 0.85); }
.text-foreground\/55 { color: color-mix(in oklab, var(--foreground) 55%, transparent); }
.text-foreground\/70 { color: color-mix(in oklab, var(--foreground) 70%, transparent); }
.text-foreground\/75 { color: color-mix(in oklab, var(--foreground) 75%, transparent); }
.text-foreground\/80 { color: color-mix(in oklab, var(--foreground) 80%, transparent); }
.aspect-\[16\/10\] { aspect-ratio: 16 / 10; }
.shadow-elegant { box-shadow: var(--shadow-elegant); }
.shadow-card { box-shadow: var(--shadow-card); }
.bg-muted { background-color: var(--muted); }
.hover\:bg-muted:hover { background-color: var(--muted); }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--brand);
  color: var(--brand-foreground);
  font-weight: 600;
  border-radius: 9999px;
  box-shadow: var(--shadow-elegant);
  transition: filter 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-brand:hover { filter: brightness(1.1); }

.acelere-input,
.acelere-select {
  width: 100%;
  height: 2.75rem;
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--input);
  background: var(--background);
  font-size: 0.875rem;
  color: var(--foreground);
}
.acelere-input:focus,
.acelere-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--brand) 40%, transparent);
}

.acelere-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: color-mix(in oklab, var(--foreground) 80%, transparent);
  margin-bottom: 0.375rem;
}

.acelere-section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand);
}

.acelere-hero-grid-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(to right, #fff 1px, transparent 1px),
    linear-gradient(to bottom, #fff 1px, transparent 1px);
  background-size: 64px 64px;
}

.acelere-hero-glow-a {
  pointer-events: none;
  position: absolute;
  top: -10rem;
  left: -10rem;
  width: 520px;
  height: 520px;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--brand) 20%, transparent);
  filter: blur(140px);
}

.acelere-hero-glow-b {
  pointer-events: none;
  position: absolute;
  top: 33%;
  right: -10rem;
  width: 480px;
  height: 480px;
  border-radius: 9999px;
  background: color-mix(in oklab, var(--brand) 10%, transparent);
  filter: blur(160px);
}

.acelere-form-glow {
  position: absolute;
  inset: -4px;
  border-radius: 1.5rem;
  background: linear-gradient(to bottom right, color-mix(in oklab, var(--brand) 40%, transparent), transparent);
  filter: blur(32px);
  opacity: 0.6;
}

.acelere-form-card {
  position: relative;
  background: #fff;
  color: var(--foreground);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
  border: 1px solid color-mix(in oklab, var(--border) 40%, transparent);
}

@media (min-width: 1024px) {
  .acelere-form-card { padding: 2rem; }
}

.acelere-service-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.acelere-service-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--brand) 50%, transparent);
}
.acelere-service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.acelere-service-card:hover img { transform: scale(1.05); }

.acelere-service-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--muted);
}
.acelere-service-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in oklab, var(--charcoal) 70%, transparent), color-mix(in oklab, var(--charcoal) 10%, transparent), transparent);
}
.acelere-service-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-elegant);
}

.acelere-pain-btn {
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: color 0.2s, transform 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: color-mix(in oklab, var(--foreground) 55%, transparent);
}
.acelere-pain-btn.is-active {
  color: var(--brand);
  transform: scale(1.05);
}
.acelere-pain-btn:hover { color: var(--brand); }
.acelere-pain-size-5 { font-size: 1.5rem; }
.acelere-pain-size-4 { font-size: 1.25rem; }
.acelere-pain-size-3 { font-size: 1rem; }
@media (min-width: 768px) {
  .acelere-pain-size-5 { font-size: 2.25rem; }
  .acelere-pain-size-4 { font-size: 1.875rem; }
  .acelere-pain-size-3 { font-size: 1.5rem; }
}

.acelere-result-card {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: border-color 0.2s;
}
.acelere-result-card:hover { border-color: color-mix(in oklab, var(--brand) 40%, transparent); }

.acelere-faq-tab {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--card);
  color: color-mix(in oklab, var(--foreground) 70%, transparent);
  cursor: pointer;
  transition: all 0.2s;
}
.acelere-faq-tab.is-active {
  background: var(--brand);
  color: var(--brand-foreground);
  border-color: var(--brand);
}
.acelere-faq-tab:hover:not(.is-active) {
  border-color: color-mix(in oklab, var(--brand) 40%, transparent);
}

details.acelere-details > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
details.acelere-details > summary::-webkit-details-marker { display: none; }
details.acelere-details[open] .acelere-chevron { transform: rotate(180deg); }
.acelere-chevron {
  width: 1rem;
  height: 1rem;
  color: var(--brand);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.acelere-chapter-card {
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s;
}
.acelere-chapter-card:hover { border-color: color-mix(in oklab, var(--brand) 40%, transparent); }
.acelere-chapter-num {
  font-size: 3.75rem;
  font-weight: 900;
  line-height: 1;
  color: var(--brand);
}

.holdings-site-footer.acelere-footer {
  background: var(--charcoal-2);
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.acelere-theme .holdings-header-main {
  background: color-mix(in oklab, var(--background) 85%, transparent);
  backdrop-filter: blur(24px);
}

body.acelere-theme .acelere-header-logo {
  height: 2.25rem;
  max-width: 12rem;
}
@media (min-width: 1024px) {
  body.acelere-theme .acelere-header-logo {
    height: 2.5rem;
    max-width: 15.5rem;
  }
}

body.acelere-theme .acelere-footer-logo {
  height: 2.25rem;
  max-width: 22rem;
}
@media (min-width: 1024px) {
  body.acelere-theme .acelere-footer-logo {
    height: 3rem;
    max-width: 20rem;
  }
}

body.acelere-theme .acelere-footer-social-link {
  display: grid;
  height: 2.25rem;
  width: 2.25rem;
  place-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--brand);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
body.acelere-theme .acelere-footer-social-link:hover {
  border-color: var(--brand);
  background-color: color-mix(in oklab, var(--brand) 12%, transparent);
  color: #fff;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

body.acelere-theme .holdings-category-bar .catbar-link {
  color: #fff;
}
body.acelere-theme .holdings-category-bar .catbar-link:hover,
body.acelere-theme .holdings-category-bar .catbar-link:focus {
  color: var(--brand);
  border-bottom-color: color-mix(in oklab, var(--brand) 60%, transparent);
}

body.acelere-theme .entity-theme .description-badge.prose strong,
body.acelere-theme .entity-theme .prose strong {
  color: var(--foreground);
  font-weight: 600;
}

/* Inner pages — posts/categorias/relacionados */
body.acelere-theme .entity-theme header .et-post-title {
  font-family: var(--font-sans);
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body.acelere-theme .entity-theme .description-badge.prose {
  max-width: none;
  font-size: 1.0625rem;
  line-height: 1.8;
}

body.acelere-theme .entity-theme .description-badge.prose h2 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 2em;
  margin-bottom: 0.65em;
}

body.acelere-theme .entity-theme .description-badge.prose h3 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 1.75em;
  margin-bottom: 0.5em;
}

body.acelere-theme .entity-theme .description-badge.prose ul,
body.acelere-theme .entity-theme .description-badge.prose ol {
  margin-top: 0.75em;
  margin-bottom: 1em;
  padding-left: 1.25em;
}

body.acelere-theme .entity-theme .description-badge.prose li {
  margin-bottom: 0.35em;
}

body.acelere-theme .entity-theme .description-badge.prose ul > li::marker {
  color: var(--brand);
}

body.acelere-theme .entity-theme .description-badge.prose a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.acelere-wa-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 16px -4px rgba(37, 211, 102, 0.6);
  transition: transform 0.2s;
}
.acelere-wa-float:hover { transform: scale(1.1); }

[x-cloak] { display: none !important; }
