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

/* ---------- FONT FACE ---------- */
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- RESET ---------- */
*, *::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 {
  /* Cores — paleta CDSFive */
  --color-primary:        #0052A6;
  --color-primary-hover:  #003B7A;
  --color-primary-dark:   #000648;
  --color-accent:         #00009D;
  --color-bg:             #FFFFFF;
  --color-bg-alt:         #F5F8FC;
  --color-bg-soft:        #EEF3F9;
  --color-text:           #1a1a1a;
  --color-text-muted:     #4a4a4a;
  --color-text-light:     #6b7280;
  --color-border:         #E0E6EE;
  --color-success:        #0F6E56;
  --color-danger:         #C0392B;

  /* Tipografia */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 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(0, 82, 166, .06);
  --shadow-md: 0 4px 12px rgba(0, 82, 166, .10);
  --shadow-lg: 0 12px 32px rgba(0, 6, 72, .14);
  --shadow-xl: 0 24px 64px rgba(0, 6, 72, .18);

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

/* ---------- BASE ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

html, body {
  overflow-x: hidden;
}

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

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

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

p, h1, h2, h3, h4, li {
  overflow-wrap: break-word;
}

/* ---------- 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: 1000;
  padding: 12px 20px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-md);
  transition: top var(--transition-fast);
  font-weight: 600;
}
.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;
}

@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: 359px;
    width: 100%;
    padding: 0 8px;
  }
}

/* ---------- SECTION HEADER REUTILIZÁVEL ---------- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  font-size: 36px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
  color: var(--color-primary-dark);
}

.section-header p {
  font-size: 16px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-text-muted);
  text-wrap: balance;
}

@media (min-width: 1025px) and (max-width: 1471px) {
  .section-header h2 { font-size: 32px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .section-header h2 { font-size: 28px; }
  .section-header { margin-bottom: 40px; }
}
@media (max-width: 767px) {
  .section-header h2 { font-size: 24px; }
  .section-header { margin-bottom: 32px; }
}

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2em;
  cursor: pointer;
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              background var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast);
  text-decoration: none;
  border: 2px solid transparent;
  user-select: none;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

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

.btn-lg {
  padding: 16px 32px;
  font-size: 17px;
}

.btn--full {
  width: 100%;
}

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

/* ---------- ANIMAÇÕES UTILITÁRIAS ---------- */
[data-aos] {
  will-change: transform, opacity;
}

/* === 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.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--color-border);
}

body {
  padding-top: 72px;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  display: block;
  width: auto;
  height: 28px;
}

@media (max-width: 767px) {
  .logo__img { height: 24px; }
}

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

.hamburger-bar {
  display: block;
  width: 22px;
  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);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

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

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

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

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

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-md);
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 20px 24px 28px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-base), opacity var(--transition-base);
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .main-nav a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--color-border);
  }

  .header__cta {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
  }
}

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


/* === BLOCO: SECTION id="hero" === */

.hero {
  position: relative;
  background-color: #F5F8FC;
  background-repeat: no-repeat;
  background-image: url('Imagens/bg-hero-desktop.svg');
  background-size: 1920px auto;
  background-position: center top;
}

.hero .content-wrapper {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 620px;
  margin-right: auto;
  text-align: left;
}

.hero__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 82, 166, 0.08);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: 48px;
  color: var(--color-primary-dark);
  margin: 0 0 20px;
  max-width: none;
  text-wrap: balance;
  letter-spacing: -0.015em;
  line-height: 1.18em;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  text-wrap: balance;
  max-width: 560px;
  line-height: 1.55em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

@media (min-width: 1025px) and (max-width: 1471px) {
  .hero h1 { font-size: 44px; }
  .hero__content { max-width: 540px; }
  .hero {
    background-size: 1500px auto;
  }
}

@media (max-width: 1024px) {
  .hero {
    background-image: url('Imagens/bg-hero-mobile.svg');
    background-size: 600px auto;
    background-position: center top;
    padding-top: 360px;
  }
  .hero__content {
    max-width: 100%;
    margin-right: 0;
    text-align: center;
  }
  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__actions {
    justify-content: center;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero h1 { font-size: 36px; }
  .hero__subtitle { font-size: 17px; }
}

@media (max-width: 767px) {
  .hero {
    padding-top: 240px;
    background-size: 420px auto;
  }
  .hero h1 { font-size: 26px; }
  .hero__subtitle { font-size: 15px; margin-bottom: 24px; }
  .hero__actions .btn { width: 100%; }
}

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


/* === BLOCO: SECTION id="problemas" === */

.problemas {
  background: var(--color-bg);
}

.problemas .section-header h2 {
  font-size: 38px;
  color: var(--color-primary-dark);
  max-width: 820px;
}

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

.problemas__list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 24px 18px;
  background: var(--color-bg-alt);
  border-top: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.45em;
}

.problemas__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
}

.problemas__icon svg,
.problemas__icon i[data-lucide] {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}

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

@media (min-width: 1025px) and (max-width: 1471px) {
  .problemas__list { gap: 12px; }
  .problemas__list li { padding: 20px 14px; font-size: 14px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .problemas .section-header h2 { font-size: 28px; }
  .problemas__list {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }
  .problemas__list li {
    grid-column: span 2;
  }
  .problemas__list li:nth-child(4),
  .problemas__list li:nth-child(5) {
    grid-column: span 3;
  }
}

@media (max-width: 767px) {
  .problemas .section-header h2 { font-size: 22px; }
  .problemas__list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .problemas__list li {
    padding: 14px 16px;
    font-size: 15px;
  }
}

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


/* === BLOCO: SECTION id="funcionalidades" === */

.funcionalidades {
  background: var(--color-bg-alt);
}

.funcionalidades__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: var(--space-xl);
}

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

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 82, 166, 0.25);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 82, 166, 0.10), rgba(0, 0, 157, 0.10));
  color: var(--color-primary);
  margin-bottom: 18px;
}

.feature-card__icon svg,
.feature-card__icon i[data-lucide] {
  width: 28px;
  height: 28px;
  stroke-width: 1.75;
}

.feature-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-card h3 {
  font-size: 18px;
  color: var(--color-primary-dark);
  margin: 0 0 10px;
  line-height: 1.35em;
}

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

.funcionalidades__cta {
  display: flex;
  justify-content: center;
}

@media (min-width: 1025px) and (max-width: 1471px) {
  .funcionalidades__grid { gap: 20px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .funcionalidades__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .funcionalidades__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card { padding: 22px 20px; }
  .feature-card__icon { width: 48px; height: 48px; margin-bottom: 14px; }
  .feature-card__icon svg,
  .feature-card__icon i[data-lucide] { width: 24px; height: 24px; }
  .funcionalidades__cta .btn { width: 100%; }
}

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


/* === BLOCO: SECTION id="diferenciais" === */

.diferenciais {
  background: var(--color-primary-dark);
  color: #fff;
}

.diferenciais .section-header h2 {
  color: #fff;
  font-size: 36px;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.comparison__col {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.comparison__col--after {
  background: rgba(0, 82, 166, 0.18);
  border-color: rgba(0, 82, 166, 0.5);
}

.comparison__title {
  font-size: 22px;
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.comparison__col--before .comparison__title {
  color: #E0E6EE;
}

.comparison__col--after .comparison__title {
  color: #fff;
}

.comparison__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.55em;
  color: rgba(255, 255, 255, 0.92);
}

.comparison__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-top: 1px;
}

.comparison__icon svg,
.comparison__icon i[data-lucide] {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.comparison__icon--before {
  background: rgba(192, 57, 43, 0.3);
  color: #FFB4A8;
}

.comparison__icon--after {
  background: #0052A6;
  color: #fff;
}

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

@media (max-width: 1024px) {
  .diferenciais .section-header h2 { font-size: 28px; }
  .comparison {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .comparison__col { padding: 26px 22px; }
}

@media (max-width: 767px) {
  .diferenciais .section-header h2 { font-size: 22px; }
  .comparison__title { font-size: 19px; }
  .comparison__list li { font-size: 15px; }
}

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


/* === BLOCO: SECTION id="como-funciona" === */

.como-funciona {
  background: var(--color-bg);
  position: relative;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 26px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  z-index: 1;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 82, 166, 0.3);
}

/* Traços conectores entre cards (saem do card pra direita, no nível do ícone) */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 62px;
  left: 100%;
  width: 24px;
  height: 0;
  border-top: 2px dashed rgba(0, 82, 166, 0.35);
  pointer-events: none;
  z-index: 0;
}

/* Número em marca d'água gigante no canto */
.step__number {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, rgba(0, 82, 166, 0.18), rgba(0, 0, 157, 0.08));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Ícone grande no topo */
.step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0052A6 0%, #00009D 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 82, 166, 0.28);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.step__icon svg,
.step__icon i[data-lucide] {
  width: 30px;
  height: 30px;
  stroke-width: 1.75;
}

.step__body {
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 18px;
  color: var(--color-primary-dark);
  margin: 0 0 10px;
  line-height: 1.35em;
  letter-spacing: -0.005em;
}

.step p {
  font-size: 14.5px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6em;
}

@media (min-width: 1025px) and (max-width: 1471px) {
  .steps { gap: 18px; }
  .step__number { font-size: 56px; }
  .step__icon { width: 56px; height: 56px; }
  .step__icon svg,
  .step__icon i[data-lucide] { width: 26px; height: 26px; }
  .step:not(:last-child)::after { width: 18px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  /* Só os cards ímpares (1 e 3) têm conector à direita — o último de cada linha não */
  .step:not(:last-child)::after { width: 20px; }
  .step:nth-child(2)::after { display: none; }
}

@media (max-width: 767px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* Conector vertical entre os cards no celular */
  .step:not(:last-child)::after {
    top: 100%;
    left: 50px;
    width: 0;
    height: 16px;
    border-top: none;
    border-left: 2px dashed rgba(0, 82, 166, 0.35);
  }
  .step {
    padding: 26px 22px 22px;
  }
  .step__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
  }
  .step__icon svg,
  .step__icon i[data-lucide] {
    width: 24px;
    height: 24px;
  }
  .step__number {
    font-size: 52px;
    top: 10px;
    right: 14px;
  }
  .step h3 { font-size: 17px; }
}

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


/* === BLOCO: SECTION id="cta-final" === */

.cta-final {
  background: linear-gradient(135deg, #0052A6 0%, #00009D 60%, #000648 100%);
  color: #fff;
}

.cta-final__inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.cta-final h2 {
  font-size: 40px;
  color: #fff;
  margin: 0 0 32px;
  text-wrap: balance;
  letter-spacing: -0.01em;
  line-height: 1.22em;
}

.cta-final .btn-primary {
  background: #fff;
  color: var(--color-primary-dark);
  border-color: #fff;
}

.cta-final .btn-primary:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 1025px) and (max-width: 1471px) {
  .cta-final h2 { font-size: 34px; }
}

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

@media (max-width: 767px) {
  .cta-final h2 {
    font-size: 22px;
    margin-bottom: 24px;
  }
  .cta-final .btn-lg { width: 100%; }
}

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


/* === BLOCO: SECTION id="footer" === */

.footer {
  width: 100%;
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 28px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer__brand {
  max-width: 380px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
}

.footer__logo img {
  display: block;
  width: auto;
  height: 28px;
}

.footer__tagline {
  font-size: 14px;
  line-height: 1.55em;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer__social-wrap {
  text-align: right;
}

.footer__social-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  font-weight: 600;
}

.footer__social {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.footer__social a:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.footer__social a svg,
.footer__social a i[data-lucide] {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding-top: 24px;
  flex-wrap: wrap;
}

.footer__copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__policy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.footer__policy:hover {
  color: #fff;
}

@media (max-width: 767px) {
  .footer { padding: 40px 0 24px; }
  .footer__top {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .footer__social-wrap {
    text-align: left;
    width: 100%;
  }
  .footer__social {
    justify-content: flex-start;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

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


/* === BLOCO: SECTION id="form-modal" === */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal.is-open {
  display: flex;
  animation: modal-fade-in .2s ease-out;
}

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

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 6, 72, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-xl);
  animation: modal-slide-up .25s ease-out;
  margin: auto;
}

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

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.modal__close:hover {
  background: var(--color-primary);
  color: #fff;
}

.modal__close svg,
.modal__close i[data-lucide] {
  width: 18px;
  height: 18px;
}

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

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

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

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

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

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

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

.form-field input::placeholder {
  color: var(--color-text-light);
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 82, 166, 0.12);
}

.form-field input:invalid:not(:placeholder-shown),
.form-field select:invalid:not(:focus) {
  border-color: var(--color-border);
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%234a4a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

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

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

body.modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .modal { padding: 28px 12px; }
  .modal__dialog {
    padding: 28px 22px 24px;
  }
  .modal__header h2 { font-size: 20px; }
}

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