/* Tecskill - Design tokens do site publico */
[x-cloak] { display: none !important; }

:root {
  --color-primary: #2f5bff;
  --color-secondary: #5e3bff;
  --color-accent: #00b3a4;
  --color-dark: #0c1222;
  --color-dark-soft: #151c31;
  --color-surface: #ffffff;
  --color-surface-soft: #f6f8fc;
  --color-border: #dbe2ef;
  --color-text: #111827;
  --color-muted: #5b6475;

  --gradient-primary: linear-gradient(135deg, #2f5bff 0%, #5e3bff 55%, #00b3a4 100%);
  --gradient-hero: linear-gradient(140deg, #0c1222 0%, #121b33 60%, #1a2442 100%);
  --gradient-hero-subtle:
    radial-gradient(circle at 12% 18%, rgba(47, 91, 255, 0.24), transparent 45%),
    radial-gradient(circle at 88% 2%, rgba(0, 179, 164, 0.2), transparent 38%);

  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 22px;

  --shadow-sm: 0 1px 3px rgba(2, 10, 34, 0.08);
  --shadow-md: 0 8px 24px rgba(8, 20, 48, 0.1);
  --shadow-lg: 0 18px 45px rgba(8, 20, 48, 0.16);
}

.glass {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(219, 226, 239, 0.85);
}

.hero-gradient {
  background: var(--gradient-hero-subtle), var(--gradient-hero);
  color: #f3f7ff;
}

.hero-gradient.hero-image {
  background: linear-gradient(rgba(12, 18, 34, 0.7), rgba(12, 18, 34, 0.65)), var(--hero-banner-url) center/cover no-repeat;
}

@media (max-width: 767px) {
  .hero-gradient.hero-image {
    background: linear-gradient(rgba(12, 18, 34, 0.7), rgba(12, 18, 34, 0.65)), var(--hero-banner-mobile-url, var(--hero-banner-url)) center/cover no-repeat;
  }
}

.btn-primary,
.btn-secondary {
  font-weight: 700;
  border-radius: var(--radius-xl);
  transition: transform .22s ease, box-shadow .22s ease, color .22s ease, background .22s ease, border-color .22s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff !important;
  padding: .875rem 2rem;
  border: 1px solid transparent;
  box-shadow: 0 10px 25px rgba(47, 91, 255, 0.26);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(47, 91, 255, 0.3);
}

.btn-secondary {
  background: #fff;
  color: var(--color-primary) !important;
  padding: .875rem 2rem;
  border: 1px solid #bfcbff;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  background: #eef2ff;
}

body[data-button-style="outline"] .btn-primary {
  background: transparent;
  color: var(--color-primary) !important;
  border: 1px solid var(--color-primary);
  box-shadow: none;
}

body[data-button-style="outline"] .btn-primary:hover {
  background: var(--gradient-primary);
  color: #fff !important;
}

.card {
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  padding: 2rem;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: #c8d3ea;
}

.input-premium {
  width: 100%;
  padding: .875rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.input-premium:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(47, 91, 255, .15);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-display {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.text-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
}

.section { padding: 4.5rem 1.5rem; }
.section-sm { padding: 3.25rem 1.5rem; }

.container-custom {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .35rem .8rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.tag-primary {
  color: #eaf0ff;
  background: rgba(47, 91, 255, 0.26);
  border: 1px solid rgba(151, 178, 255, .45);
}

.link-primary {
  color: var(--color-primary);
  font-weight: 600;
}

.link-primary:hover { color: #1d43cc; }

.faq-list { display: flex; flex-direction: column; gap: .8rem; }

.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.faq-item:hover {
  border-color: #c9d5f8;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.faq-item[open] {
  border-color: #aebdf1;
  box-shadow: 0 10px 24px rgba(47, 91, 255, 0.09);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #6477c8;
  transition: transform .2s ease;
}
.faq-item[open] .faq-question::after { transform: rotate(180deg); }

.faq-answer {
  border-top: 1px solid #edf1f8;
  background: #f9fbff;
  color: #394357;
  padding: .95rem 1.2rem 1.2rem;
  line-height: 1.62;
}

.faq-item + .faq-item {
  margin-top: .25rem;
}

.prose h2 {
  font-size: 1.22rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: .7rem;
  color: #111827;
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: #3f4858; margin-bottom: .95rem; line-height: 1.7; }
.prose ul { margin-bottom: .95rem; padding-left: 1.2rem; list-style: disc; }

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

@media (max-width: 768px) {
  .section { padding: 3.25rem 1rem; }
  .section-sm { padding: 2.25rem 1rem; }
  .card { padding: 1.25rem; }
  .text-display { font-size: clamp(1.9rem, 8vw, 2.7rem); }
  .text-heading { font-size: clamp(1.45rem, 6vw, 2rem); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .card, .btn-primary, .btn-secondary {
    transition: none !important;
    transform: none !important;
  }
}
