/* === BLOCO: COMUM === */

/* Reset mínimo */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Design tokens */
:root {
  /* Paleta Veltacar */
  --color-primary:        #7367F0;
  --color-primary-hover:  #5d51d6;
  --color-primary-dark:   #514486;
  --color-accent-light:   #E8E6FA;
  --color-accent-soft:    #f3f1fc;

  --color-text:           #1a1a1a;
  --color-text-muted:     #4a4a4a;
  --color-text-soft:      #6b6b6b;
  --color-bg:             #ffffff;
  --color-bg-alt:         #fbfaff;
  --color-border:         #e5e3f3;

  --color-success:        #10b981;
  --color-error:          #ef4444;

  /* Tipografia */
  --font-body:    'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Espaçamento */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  48px;
  --space-2xl: 96px;

  /* Border radius (Pouco arredondado) */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-pill: 999px;

  /* Sombras */
  --shadow-sm: 0 1px 2px rgba(81, 68, 134, .06);
  --shadow-md: 0 4px 12px rgba(81, 68, 134, .08);
  --shadow-lg: 0 12px 32px rgba(81, 68, 134, .12);
  --shadow-xl: 0 24px 64px rgba(81, 68, 134, .18);

  /* Transições */
  --transition-fast: .15s ease;
  --transition-base: .25s ease;
}

html, body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 16px;
  line-height: 1.6em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text);
  margin: 0 0 var(--space-md);
  line-height: 1.2em;
  font-weight: 700;
  text-wrap: balance;
}

p {
  margin: 0 0 var(--space-md);
  text-wrap: pretty;
}

/* Acessibilidade */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.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;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-md);
  transition: top var(--transition-fast);
  font-weight: 700;
}
.skip-link:focus { top: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Layout base */
.section { width: 100%; }

.content-wrapper {
  margin: 0 auto;
  box-sizing: border-box;
}

.section--alt { background: var(--color-bg-alt); }
.section--accent { background: var(--color-accent-light); }

@media (min-width: 1472px) {
  .section         { padding: 96px 0; }
  .content-wrapper { width: 1280px; }
}

@media (min-width: 1025px) and (max-width: 1471px) {
  .section         { padding: 96px 0; }
  .content-wrapper { width: 961px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .section         { padding: 72px 0; }
  .content-wrapper { width: 656px; }
}

@media (min-width: 320px) and (max-width: 767px) {
  .section { padding: 56px 0; }
  .content-wrapper {
    max-width: 100%;
    width: 100%;
    padding: 0 20px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Section header reutilizável */
.section-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2em;
  cursor: pointer;
  transition: transform .15s ease,
              box-shadow .15s ease,
              background .15s ease;
  text-decoration: none;
  border: none;
  user-select: none;
  white-space: nowrap;
  letter-spacing: 0;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow:
    0 6px 20px -4px rgba(115, 103, 240, 0.55),
    0 2px 6px -2px rgba(81, 68, 134, 0.28),
    inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow:
    0 10px 24px -4px rgba(115, 103, 240, 0.6),
    0 4px 8px -2px rgba(81, 68, 134, 0.3),
    inset 0 -2px 0 rgba(0, 0, 0, 0.14);
}
.btn-primary:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 6px -2px rgba(115, 103, 240, 0.4),
    inset 0 2px 4px rgba(0, 0, 0, 0.18);
}

.btn-primary i[data-lucide] {
  stroke-width: 2.5;
  width: 16px;
  height: 16px;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.btn-primary:hover i[data-lucide] {
  transform: translateX(4px);
}

.btn-primary:active i[data-lucide] {
  transform: translateX(2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary-dark);
  border-color: var(--color-primary);
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn[disabled],
.btn.is-disabled {
  opacity: .5;
  pointer-events: none;
}

.btn i[data-lucide] {
  width: 18px;
  height: 18px;
}

/* Tipografia responsiva base */
h1 { font-size: 56px; }
h2 { font-size: 40px; }
h3 { font-size: 28px; }

@media (min-width: 1025px) and (max-width: 1471px) {
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  h3 { font-size: 24px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  h3 { font-size: 22px; }
}

@media (max-width: 767px) {
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  p { hyphens: auto; }

  /* Botões: liberar quebra para não estourar viewports pequenos */
  .btn {
    white-space: normal;
    word-break: break-word;
    text-align: center;
    line-height: 1.3em;
    padding: 13px 18px;
  }
  .btn-lg {
    padding: 14px 20px;
    font-size: 15px;
  }

  /* Texto longo: garantir quebra em qualquer ponto se necessário */
  body, p, h1, h2, h3, h4, h5, h6, a, span, li {
    overflow-wrap: break-word;
  }
}

/* Form success */
.form-success {
  background: var(--color-success);
  color: #fff;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-align: center;
}

/* === FIM BLOCO === */


/* === BLOCO: SECTION id="header" === */
.header {
  width: 100%;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

body {
  padding-top: 72px;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo img {
  height: 28px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav ul {
  display: flex;
  gap: 28px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.main-nav a:hover {
  color: var(--color-primary);
}

.header__cta {
  padding: 10px 20px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hamburger-bar {
  width: 24px;
  height: 2px;
  background: var(--color-primary-dark);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform var(--transition-base);
    z-index: 49;
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    margin-bottom: 16px;
  }

  .main-nav ul li {
    border-bottom: 1px solid var(--color-border);
  }

  .main-nav ul a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
  }

  .header__cta {
    width: 100%;
  }
}
/* === FIM BLOCO === */


/* === BLOCO: SECTION id="hero" === */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--color-accent-soft) 0%, var(--color-bg) 100%);
  padding: 80px 0 96px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(115,103,240,0.10), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(81,68,134,0.08), transparent 45%);
  pointer-events: none;
}

.hero__wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  align-items: center;
}

.hero__content {
  max-width: 560px;
}

.hero__eyebrow {
  display: inline-block;
  background: rgba(115,103,240,0.12);
  color: var(--color-primary-dark);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero__title {
  font-size: 46px;
  color: var(--color-primary-dark);
  margin-bottom: 20px;
  max-width: 560px;
}

@media (min-width: 1025px) and (max-width: 1471px) {
  .hero__title { font-size: 32px; }
}

@media (max-width: 1024px) {
  .hero__title { font-size: 38px; max-width: 100%; }
}

@media (max-width: 767px) {
  .hero__title {
    font-size: 28px;
    margin-bottom: 12px;
    line-height: 1.2em;
  }
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.6em;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero__badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--color-text-soft);
  font-weight: 400;
}

.hero__badges i[data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

.hero__image {
  position: relative;
}

.hero__image img {
  width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  .hero {
    padding: 56px 0 64px;
  }
  .hero__wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero__content {
    max-width: 100%;
    order: 2;
  }
  .hero__image {
    order: 1;
  }
  .hero__title {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__badges {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 40px 0 56px;
  }
  .hero__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
    gap: 32px;
  }
  .hero__content,
  .hero__image {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__subtitle {
    font-size: 16px;
  }
  .hero__actions {
    justify-content: center;
    width: 100%;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .hero__image img {
    margin: 0 auto;
    display: block;
  }
  .hero__badges {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}
/* === FIM BLOCO === */


/* === BLOCO: SECTION id="problemas" === */
.problemas {
  background: var(--color-bg);
}

.problemas__title {
  color: var(--color-primary-dark);
}

.problemas__title-accent {
  color: var(--color-primary);
}

.problemas__list {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.problemas__item:nth-child(-n+4) {
  grid-column: span 3;
}

.problemas__item:nth-child(n+5) {
  grid-column: span 4;
}

.problemas__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: var(--color-accent-soft);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid #e9e5f5;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.problemas__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.problemas__item p {
  margin: 0;
  font-weight: 400;
  color: var(--color-text);
  font-size: 15px;
}

.problemas__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--color-bg);
  color: var(--color-primary-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease, color .3s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.problemas__icon i[data-lucide] {
  width: 22px;
  height: 22px;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.problemas__item:hover .problemas__icon {
  background: var(--color-primary);
  color: #fff;
  transform: rotate(-6deg) scale(1.08);
}

.problemas__item:hover .problemas__icon i[data-lucide] {
  transform: scale(1.1);
}

@media (min-width: 768px) and (max-width: 1024px) {
  .problemas__list {
    grid-template-columns: 1fr;
  }
  .problemas__item:nth-child(-n+4),
  .problemas__item:nth-child(n+5) {
    grid-column: span 1;
  }
  .problemas__item {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
  }
}

@media (max-width: 767px) {
  .problemas__list {
    grid-template-columns: 1fr;
  }
  .problemas__item:nth-child(-n+4),
  .problemas__item:nth-child(n+5) {
    grid-column: span 1;
  }
  .problemas__item {
    align-items: center;
    text-align: center;
    padding: 20px 16px;
  }
}
/* === FIM BLOCO === */


/* === BLOCO: SECTION id="funcionalidades" === */
.funcionalidades__title {
  color: var(--color-primary-dark);
  font-size: 34px;
  max-width: 1040px;
  text-wrap: wrap;
}

@media (min-width: 1025px) and (max-width: 1471px) {
  .funcionalidades__title { font-size: 30px; }
}

@media (max-width: 1024px) {
  .funcionalidades__title { font-size: 28px; }
}

@media (max-width: 767px) {
  .funcionalidades__title { font-size: 22px; }
}

.funcionalidades__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: visible;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.feature-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--color-accent-soft);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.feature-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card__content {
  padding: 28px;
}

.feature-card__title {
  font-size: 20px;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
  line-height: 1.3em;
  text-wrap: wrap;
}

.feature-card__text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6em;
  margin: 0;
}

.funcionalidades__cta {
  text-align: center;
  margin-top: 56px;
}

@media (min-width: 1025px) and (max-width: 1471px) {
  .feature-card__title { font-size: 18px; }
}

@media (max-width: 1024px) {
  .funcionalidades__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature-card__title { font-size: 20px; }
  .feature-card__content { padding: 24px; }
}

@media (max-width: 767px) {
  .feature-card__title { font-size: 18px; }
  .feature-card__text { font-size: 15px; }
  .feature-card__content { padding: 20px 16px; }
  .funcionalidades__cta .btn { width: 100%; }
}
/* === FIM BLOCO === */


/* === BLOCO: SECTION id="como-funciona" === */
.como-funciona {
  background: #514486;
}

.como-funciona__title {
  color: #fff;
}

.passos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: passo;
}

.passo {
  background: var(--color-bg);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  border: 1px solid var(--color-border);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1),
              box-shadow .35s ease,
              border-color .35s ease;
}

.passo:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 36px -10px rgba(81, 68, 134, 0.35),
    0 6px 12px -4px rgba(81, 68, 134, 0.2);
  border-color: var(--color-primary);
}

.passo__numero {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-primary);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow:
    0 8px 20px -4px rgba(115, 103, 240, 0.5),
    0 2px 6px -2px rgba(81, 68, 134, 0.3);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1),
              box-shadow .35s ease;
}

.passo__numero::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .35s ease, transform .55s cubic-bezier(.34, 1.56, .64, 1);
}

.passo:hover .passo__numero {
  transform: scale(1.12) rotate(-8deg);
  box-shadow:
    0 14px 28px -4px rgba(115, 103, 240, 0.6),
    0 4px 10px -2px rgba(81, 68, 134, 0.4);
}

.passo:hover .passo__numero::before {
  opacity: 1;
  transform: scale(1.15);
}

.passo__titulo {
  font-size: 22px;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.passo__texto {
  font-size: 15px;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 1024px) {
  .passos {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .passo {
    padding: 28px 20px;
  }
  .passo__titulo { font-size: 20px; }
}
/* === FIM BLOCO === */


/* === BLOCO: SECTION id="planos" === */
.planos {
  background: var(--color-bg-alt);
}

.planos__title {
  color: var(--color-primary-dark);
}

.planos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plano-card {
  background: var(--color-bg);
  border: 1px solid #e9e7ef;
  border-radius: 14px;
  padding: 52px 28px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.plano-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.plano-card--destaque {
  background:
    linear-gradient(180deg,
      rgba(115, 103, 240, 0.22) 0%,
      rgba(115, 103, 240, 0.08) 18%,
      var(--color-bg) 40%);
  border-color: var(--color-primary);
}

.plano-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.plano-card__header-text {
  flex: 1;
  min-width: 0;
}

.plano-card__nome {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 6px;
  line-height: 1.2em;
}

.plano-card__subtitulo {
  font-size: 14px;
  color: var(--color-text-soft);
  margin: 0;
  line-height: 1.4em;
}

.plano-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--color-primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow:
    0 6px 16px -4px rgba(115, 103, 240, 0.5),
    0 2px 4px -1px rgba(81, 68, 134, 0.25);
}

.plano-card__badge svg,
.plano-card__badge i[data-lucide] {
  width: 11px !important;
  height: 11px !important;
  fill: currentColor;
  stroke-width: 2.5;
  animation: star-pulse 2.5s ease-in-out infinite;
}

@keyframes star-pulse {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50%      { transform: rotate(20deg) scale(1.2); }
}

.plano-card__preco {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 24px 0 24px;
  color: #0f172a;
}

.plano-card__moeda {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.plano-card__valor {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.plano-card__periodo {
  font-size: 15px;
  color: #6b6b6b;
  margin-left: 2px;
  font-weight: 400;
}

/* Botões dos planos — override do design da referência */
.plano-card .btn-secondary {
  background: var(--color-bg);
  color: var(--color-text);
  border: 1px solid #e0deea;
  font-weight: 700;
  padding: 13px 24px;
}

.plano-card .btn-secondary:hover {
  background: var(--color-accent-soft);
  color: var(--color-text);
  border-color: var(--color-primary);
}

.plano-card--destaque .btn-secondary {
  background: var(--color-bg);
}


.plano-card__lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.plano-card__lista li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45em;
}

.plano-card__lista li i[data-lucide] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  stroke-width: 2.5;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.plano-card:hover .plano-card__lista li.is-on i[data-lucide] {
  transform: scale(1.2);
}

.plano-card__lista li.is-on {
  color: var(--color-text);
}

.plano-card__lista li.is-on i[data-lucide] {
  color: var(--color-primary);
}

.plano-card__lista li.is-off {
  color: #b8b5c9;
}

.plano-card__lista li.is-off i[data-lucide] {
  color: #c9c6d8;
  stroke-width: 2.5;
}

@media (min-width: 1025px) and (max-width: 1471px) {
  .plano-card__subtitulo {
    font-size: 13px;
    white-space: nowrap;
  }
}

@media (max-width: 1024px) {
  .planos__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .plano-card__valor {
    font-size: 48px;
  }
  .plano-card__nome {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .plano-card {
    padding: 44px 22px 28px;
  }
  .plano-card__valor {
    font-size: 44px;
  }
}
/* === FIM BLOCO === */


/* === BLOCO: SECTION id="cta-final" === */
.cta-final {
  background: var(--color-bg);
}

.cta-final__box {
  background: var(--color-accent-soft);
  border: 1px solid #e9e5f5;
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: var(--color-text);
  position: relative;
}

.cta-final__title {
  color: var(--color-primary-dark);
  font-size: 36px;
  margin-bottom: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-final__subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6em;
  position: relative;
}

.cta-final__box .btn-primary {
  position: relative;
}

@media (max-width: 1024px) {
  .cta-final__box {
    padding: 48px 32px;
  }
  .cta-final__title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .cta-final__box {
    padding: 36px 20px;
  }
  .cta-final__title {
    font-size: 26px;
  }
  .cta-final__subtitle {
    font-size: 15px;
  }
  .cta-final__box .btn {
    width: 100%;
  }
}
/* === FIM BLOCO === */


/* === BLOCO: SECTION id="footer" === */
.footer {
  background: #E8E6FA;
  color: var(--color-primary-dark);
  padding: 64px 0 32px;
}

.footer__wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: center;
}

.footer__brand {
  justify-self: start;
}

.footer__social {
  justify-self: end;
}

.footer__copyright {
  font-size: 13px;
  color: var(--color-text-soft);
  margin: 0;
  text-align: center;
  justify-self: center;
}

.footer__copyright a {
  color: var(--color-primary-dark);
  font-weight: 700;
  transition: color var(--transition-fast);
}

.footer__copyright a:hover {
  color: var(--color-primary);
}

.footer__sep {
  margin: 0 6px;
  color: var(--color-text-soft);
  opacity: .6;
}

@media (max-width: 767px) {
  .footer__sep {
    display: none;
  }
  .footer__copyright a {
    display: block;
    margin-top: 6px;
  }
}

.footer__brand img {
  margin-bottom: 16px;
  height: 32px;
  width: auto;
}

.footer__tagline {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 280px;
}

.footer__nav ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}

.footer__nav a {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer__nav a:hover {
  color: var(--color-primary-dark);
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(81, 68, 134, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-primary-dark);
  overflow: hidden;
  transition: color .35s ease,
              transform .35s cubic-bezier(.34, 1.56, .64, 1),
              box-shadow .35s ease;
}

.footer__social a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  transform: scale(0);
  border-radius: 50%;
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
  z-index: 0;
}

.footer__social a svg {
  position: relative;
  z-index: 1;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.footer__social a:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow:
    0 10px 20px -6px rgba(115, 103, 240, 0.55),
    0 4px 8px -2px rgba(81, 68, 134, 0.3);
}

.footer__social a:hover::before {
  transform: scale(2.2);
}

.footer__social a:hover svg {
  transform: scale(1.15) rotate(-6deg);
}

.footer__social a:active {
  transform: translateY(-1px) scale(.96);
}

.footer__bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(81, 68, 134, 0.15);
  padding-top: 24px;
  margin-top: 16px;
}

.footer__bottom p {
  font-size: 13px;
  color: var(--color-text-soft);
  margin: 0;
  text-align: center;
}

@media (max-width: 1024px) {
  .footer__wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
    justify-items: center;
  }
  .footer__brand,
  .footer__copyright,
  .footer__social {
    justify-self: center;
  }
  .footer__nav ul {
    justify-items: center;
  }
  .footer__tagline {
    margin: 0 auto;
  }
}
/* === FIM BLOCO === */


/* === BLOCO: SECTION id="lead-modal" === */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 11, 35, 0.6);
  backdrop-filter: blur(4px);
  animation: modal-fade .25s ease;
}

.modal__dialog {
  position: relative;
  background: var(--color-bg);
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-xl);
  animation: modal-slide-up .3s ease;
}

@keyframes modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes modal-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-soft);
  transition: background .25s ease, color .25s ease, transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.modal__close:hover {
  background: var(--color-accent-light);
  color: var(--color-primary-dark);
  transform: rotate(90deg);
}

.modal__close:active {
  transform: rotate(90deg) scale(.92);
}

.modal__close i[data-lucide] {
  width: 20px;
  height: 20px;
}

.modal__header {
  margin-bottom: 24px;
  padding-right: 32px;
}

.modal__header h2 {
  font-size: 24px;
  color: var(--color-primary-dark);
  margin-bottom: 6px;
}

.modal__header p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin: 0;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.form-group input,
.form-group select {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(115,103,240,0.15);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23514486' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 40px;
}

.lead-form .btn {
  margin-top: 8px;
}

.lead-form__legal {
  font-size: 12px;
  color: var(--color-text-soft);
  text-align: center;
  margin: 4px 0 0;
}

.lead-form__legal a {
  color: var(--color-primary);
  text-decoration: underline;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .modal {
    padding: 32px 16px;
    align-items: center;
  }
  .modal__dialog {
    padding: 32px 20px;
    max-height: calc(100vh - 64px);
    border-radius: var(--radius-lg);
  }
  .modal__header h2 {
    font-size: 20px;
  }
}
/* === FIM BLOCO === */
