* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main, "Inter", Arial, sans-serif);
  color: var(--color-text, #0f172a);
  background: var(--color-white, #ffffff);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: min(100% - 40px, var(--container, 1180px));
  margin-inline: auto;
}

/* ==========================================================
   BUTTONS
========================================================== */

.btn {
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-pill, 999px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  transition: 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  color: #ffffff;
  background: var(--gradient-primary, linear-gradient(135deg, #6d28d9, #2563eb));
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.28);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.36);
}

.btn--secondary,
.btn--ghost {
  color: var(--color-dark, #0f172a);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.10);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.btn--secondary:hover,
.btn--ghost:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.btn--dark {
  color: #ffffff;
  background: #020617;
}

.btn--small {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 14px;
}

.btn--large {
  min-height: 60px;
  padding: 0 34px;
  font-size: 16px;
}

/* ==========================================================
   NAVBAR PREMIUM
========================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.08);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.navbar:hover {
  box-shadow: 0 22px 64px rgba(15, 23, 42, 0.10);
}

.navbar__container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
  font-weight: 900;
  transition: 0.25s ease;
}

.navbar__brand:hover {
  transform: translateY(-1px);
}

.navbar__logo {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.navbar__logo img {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  object-fit: contain !important;
  display: block !important;
}

.navbar__logo span {
  display: none !important;
}

.navbar__name {
  font-size: 23px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.055em;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.navbar__menu a {
  position: relative;
  font-size: 14px;
  font-weight: 800;
  color: #334155;
  transition: 0.25s ease;
}

.navbar__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6d28d9, #2563eb);
  transform: scaleX(0);
  transform-origin: right;
  transition: 0.25s ease;
}

.navbar__menu a:hover {
  color: #2563eb;
}

.navbar__menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar__cta {
  height: 50px;
  min-height: 50px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.36);
}

.navbar__cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 26px 58px rgba(37, 99, 235, 0.44);
}

.navbar__toggle {
  width: 46px;
  height: 46px;
  border: 0;
  background: #f8fafc;
  border-radius: 14px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 11px;
  cursor: pointer;
}

.navbar__toggle span {
  width: 100%;
  height: 2px;
  background: #0f172a;
  border-radius: 999px;
}

@media (max-width: 980px) {
  .navbar__toggle {
    display: flex;
  }

  .navbar__menu {
    position: fixed;
    top: 84px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  }

  .navbar__menu.is-open {
    display: flex;
  }

  .navbar__menu a {
    padding: 14px;
  }

  .navbar__menu a::after {
    display: none;
  }

  .navbar__cta {
    display: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container, 1180px));
  }

  .navbar {
    height: 76px;
  }

  .navbar__logo {
    width: 46px;
    height: 46px;
  }

  .navbar__name {
    font-size: 21px;
  }

  .navbar__menu {
    top: 76px;
  }

  .btn {
    width: 100%;
  }
}

/* =====================================================================
   SISTEMA DE FUNDOS DAS SEÇÕES
   INÍCIO
===================================================================== */

/* Fundo branco / leve */
.section{
    background:#ffffff;
}

/* Fundo claro premium com glow + grid */
.section-premium{
    position:relative;
    overflow:hidden;

    background:
        radial-gradient(circle at 16% 18%, rgba(37,99,235,.12), transparent 34%),
        radial-gradient(circle at 84% 22%, rgba(124,58,237,.14), transparent 36%),
        radial-gradient(circle at 50% 90%, rgba(16,185,129,.06), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.section-premium::before{
    content:"";
    position:absolute;
    inset:0;

    background-image:
        linear-gradient(rgba(15,23,42,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,23,42,.035) 1px, transparent 1px);

    background-size:48px 48px;
    opacity:.65;

    pointer-events:none;

    mask-image:linear-gradient(
        to bottom,
        transparent,
        #000 14%,
        #000 84%,
        transparent
    );
}

.section-premium > *{
    position:relative;
    z-index:2;
}

/* CTA final escuro azul/roxo */
.final-cta,
.cta{
    position:relative;
    overflow:hidden;

    background:
        radial-gradient(circle at 15% 0%, rgba(124,58,237,.42), transparent 34%),
        radial-gradient(circle at 78% 8%, rgba(37,99,235,.46), transparent 38%),
        linear-gradient(180deg, #172554 0%, #020617 100%) !important;
}

.final-cta::before,
.cta::before{
    content:"";
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            90deg,
            rgba(124,58,237,.22) 0%,
            transparent 28%,
            transparent 68%,
            rgba(37,99,235,.24) 100%
        );

    pointer-events:none;
}

.final-cta > *,
.cta > *{
    position:relative;
    z-index:2;
}

/* Footer escuro */
.footer{
    background:#020617 !important;
}

/* =====================================================================
   SISTEMA DE FUNDOS DAS SEÇÕES
   FIM
===================================================================== */