/* ============================================================
   CONNEC — LANDING PAGE
   Design System & Styles
   ============================================================ */

/* ── Custom Properties ───────────────────────────────────── */
:root {
  /* Colors */
  --color-primary:        #0043b9;
  --color-primary-dark:   #0037a3;
  --color-primary-light:  #0070f5;
  --color-primary-bg:     #e8f0fe;
  --color-accent:         #00c646;
  --color-accent-bg:      #e6f9ee;
  --color-secondary:      #00e4f5;
  --color-secondary-bg:   #e0fbfe;

  --color-bg:             #ffffff;
  --color-bg-alt:         #e8f0fe;
  --color-bg-dark:        #0a1f45;

  --color-text:           #0f172a;
  --color-text-secondary: #475569;
  --color-text-light:     #94a3b8;
  --color-text-inverse:   #f8fafc;

  --color-border:         #e2e8f0;
  --color-border-light:   #f1f5f9;

  --color-success:        #00c646;
  --color-error:          #dc2626;

  /* Typography */
  --font-family:          'Poppins', system-ui, -apple-system, sans-serif;
  --font-heading:         'Poppins', system-ui, -apple-system, sans-serif;

  --text-xs:              clamp(0.75rem, 1.5vw, 0.8125rem);
  --text-sm:              clamp(0.8125rem, 1.5vw, 0.875rem);
  --text-base:            clamp(0.9375rem, 1.8vw, 1rem);
  --text-lg:              clamp(1.0625rem, 2vw, 1.125rem);
  --text-xl:              clamp(1.25rem, 2.5vw, 1.375rem);
  --text-2xl:             clamp(1.5rem, 3vw, 1.75rem);
  --text-3xl:             clamp(1.875rem, 4vw, 2.5rem);
  --text-4xl:             clamp(2.25rem, 5vw, 3.5rem);
  --text-5xl:             clamp(2.75rem, 6vw, 4.25rem);

  /* Spacing */
  --space-xs:             0.5rem;
  --space-sm:             0.75rem;
  --space-md:             1rem;
  --space-lg:             1.5rem;
  --space-xl:             2rem;
  --space-2xl:            3rem;
  --space-3xl:            4rem;
  --space-4xl:            6rem;

  /* Layout */
  --container-max:        1200px;
  --radius-sm:            0.5rem;
  --radius-md:            0.75rem;
  --radius-lg:            1rem;
  --radius-xl:            1.25rem;
  --radius-2xl:           1.5rem;

  /* Shadows */
  --shadow-xs:            0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm:            0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:            0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-lg:            0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl:            0 20px 50px -6px rgba(0,0,0,0.12), 0 8px 10px -6px rgba(0,0,0,0.04);

  /* Animation */
  --ease-out:             cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:          cubic-bezier(0.85, 0, 0.15, 1);
  --duration-fast:        200ms;
  --duration-base:        350ms;
  --duration-slow:        600ms;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

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

/* ── Container ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ── Section ────────────────────────────────────────────── */
.section {
  padding: var(--space-4xl) 0;
}

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

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-3xl);
}

.section__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: var(--space-md) 0;
}

.section__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto;
}

/* ── Badge ──────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  background: var(--color-primary-bg);
  padding: 0.375em 0.875em;
  border-radius: 999px;
}

/* badge on dark backgrounds */
.hero .badge,
.contact .badge {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
}

/* ── Gradient Text ──────────────────────────────────────── */
.text-gradient {
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient text on dark backgrounds */
.hero .text-gradient,
.contact .text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-in-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}
.btn--primary:hover {
  background: #00a838;
  box-shadow: 0 8px 28px rgba(0, 198, 70, 0.35);
  transform: translateY(-2px) scale(1.03);
}
.btn--primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: var(--shadow-sm);
  transition-duration: 100ms;
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn--outline:hover {
  background: var(--color-accent);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 198, 70, 0.25);
}

.btn--sm {
  padding: 0.5em 1.25em;
  font-size: var(--text-sm);
}

.btn--lg {
  padding: 0.875em 2em;
  font-size: var(--text-base);
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn .material-symbols-rounded {
  font-size: 1.2em;
  transition: transform var(--duration-fast) var(--ease-in-out);
}
.btn:hover .material-symbols-rounded {
  transform: translateX(3px);
}

/* ── Header ─────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--duration-base) var(--ease-out);
  padding: 0.75rem 0;
}

.header.scrolled {
  background: rgba(255,255,255,0.95);
  border-bottom-color: var(--color-border-light);
  box-shadow: var(--shadow-xs);
  padding: 0.5rem 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

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

.logo__icon {
  flex-shrink: 0;
}

.logo__text {
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.logo__text--light {
  color: var(--color-text-inverse);
}

/* Nav */
.nav__list {
  display: flex;
  gap: var(--space-lg);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: width var(--duration-fast) var(--ease-in-out);
}

.nav__link:hover {
  color: var(--color-primary);
}
.nav__link:hover::after {
  width: 100%;
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--duration-base) var(--ease-out);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 744px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #033177 0%, #022058 50%, #011845 100%);
  padding: 7rem 0 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 800px 600px at 80% 120%, rgba(0, 196, 70, 0.12), transparent 70%),
    radial-gradient(ellipse 600px 500px at 20% -20%, rgba(0, 67, 185, 0.15), transparent 70%),
    radial-gradient(ellipse 400px 400px at 85% 30%, rgba(0, 228, 245, 0.08), transparent 70%);
  pointer-events: none;
}

/* ── Grid texture ───────────────────────────────────────── */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ── Hero Particles Canvas ───────────────────────────────── */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.6;
}

/* ── Hero Wrapper (container + flex layout) ──────────────── */
.hero__wrapper {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 2rem);
}

/* ── Hero Content Wrapper ────────────────────────────────── */
.hero__content {
  position: relative;
  z-index: 2;
  flex: 0 1 560px;
  min-width: 0;
}

/* ── Eyebrow ─────────────────────────────────────────────── */
.hero__eyebrow {
  display: inline-block;
  position: relative;
  z-index: 3;
  font-size: clamp(0.65rem, 1.2vw, 0.7rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9af4bc;
  margin-bottom: 0.75rem;
  max-width: 560px;
}

/* ── Title ───────────────────────────────────────────────── */
.hero__title {
  position: relative;
  z-index: 3;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.25rem;
  max-width: 560px;
}

.hero__title-line {
  display: block;
  white-space: nowrap;
}

/* ── Description ─────────────────────────────────────────── */
.hero__desc {
  position: relative;
  z-index: 3;
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

/* ── Trust ───────────────────────────────────────────────── */
.hero__trust {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.5rem;
  max-width: 560px;
}

.hero__trust span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.hero__trust .material-symbols-rounded {
  font-size: 1rem;
  color: #9af4bc;
}

/* ── Hero Image Wrapper ─────────────────────────────────── */
.hero__image-wrapper {
  position: relative;
  flex-shrink: 0;
  order: 1;
  align-self: flex-end;
  transform: translateY(80px);
  width: clamp(300px, 38vw, 620px);
}

/* ── Hero Image ──────────────────────────────────────────── */
.hero__image {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* ── Hero Button ─────────────────────────────────────────── */
.hero__btn {
  position: relative;
  z-index: 3;
  display: inline-block;
  margin-top: 1.5rem;
  pointer-events: auto;
}

.hero__btn:hover {
  background: var(--color-accent);
  box-shadow: none;
  transition: none;
}

/* ── Hero Wave ───────────────────────────────────────────── */
.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  line-height: 0;
}

.hero__wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Hero Floating Objects ──────────────────────────────── */
.hero__float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem 0.55rem 0.65rem;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  pointer-events: none;
  user-select: none;
  animation: float-slow 5s ease-in-out infinite;
}

.hero__float-icon {
  font-size: 1.25rem;
  color: #9af4bc;
  display: flex;
  align-items: center;
}

.hero__float-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Posicionamento individual (relativo ao .hero__image-wrapper) */
.hero__float--1 {
  top: 5%;
  left: 56px;
  animation-delay: 0s;
}

.hero__float--2 {
  top: 18%;
  right: -50px;
  animation-delay: 1.6s;
}

.hero__float--3 {
  top: 31%;
  left: 56px;
  animation-delay: 3.2s;
}

/* ── Info Bar ────────────────────────────────────────────── */
.info-bar {
  background-color: #fff;
  background-image: 
    radial-gradient(circle, rgba(0,67,185,0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  border-bottom: 1px solid var(--color-border-light);
  padding: var(--space-xl) 0;
}

.info-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.info-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  background: #f8fafc;
  border: 1px solid var(--color-border-light);
  transition: all var(--duration-base) var(--ease-out);
}

.info-bar__item:hover {
  background: var(--color-primary-bg);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.info-bar__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-base) var(--ease-out);
}

.info-bar__icon .material-symbols-rounded {
  font-size: 24px;
  color: var(--color-primary);
}

.info-bar__text {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

/* ── Solutions ───────────────────────────────────────────── */
.solutions {
  background-color: #fff;
  background-image: 
    linear-gradient(to right, rgba(0,67,185,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,67,185,0.03) 1px, transparent 1px),
    linear-gradient(180deg, #fff 0%, #e8f0fe 30%, #fff 100%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: stretch;
}

/* Solution Card */
.solution-card {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-border);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.solution-card:nth-child(1) {
  border-top-color: var(--color-primary);
}

.solution-card:nth-child(2) {
  border-top-color: var(--color-accent);
}

.solution-card:nth-child(3) {
  border-top-color: var(--color-secondary);
}

.solution-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-primary-light);
  transition-duration: 400ms;
}

.solution-card--featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.solution-card__badge {
  position: absolute;
  top: 16px;
  right: -32px;
  background: var(--color-primary);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 40px;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.solution-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration-slow) var(--ease-out);
}

/* Ícone baseado em imagem */
.solution-card__image-icon {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #f0f5ff 0%, #e8f0fe 50%, #f5f9ff 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
}

.solution-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}

.solution-card:hover .solution-card__icon {
  transform: scale(1.03);
}

.solution-card:hover .solution-card__img {
  transform: scale(1.05);
}

/* Fallback para ícones Material (mantido para compatibilidade) */
.solution-card__icon .material-symbols-rounded {
  font-size: 28px;
}

.solution-card__icon--blue   { background: var(--color-primary-bg); color: var(--color-primary); }
.solution-card__icon--green  { background: var(--color-accent-bg);  color: var(--color-accent); }
.solution-card__icon--purple { background: var(--color-secondary-bg);  color: var(--color-secondary); }

.solution-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

.solution-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  flex-grow: 0;
}

.solution-card__benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  flex-grow: 1;
}

.solution-card__benefits li {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 500;
}

.solution-card__benefits .material-symbols-rounded {
  font-size: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.solution-card__cta {
  margin-top: auto;
}

/* ── Benefits ────────────────────────────────────────────── */
.benefits.section--alt {
  background-color: #fff;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 15px, rgba(0,67,185,0.03) 15px, rgba(0,67,185,0.03) 16px),
    repeating-linear-gradient(-45deg, transparent, transparent 15px, rgba(0,67,185,0.02) 15px, rgba(0,67,185,0.02) 16px);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.benefit-card {
  background: var(--color-primary);
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: all var(--duration-base) var(--ease-out);
  color: #fff;
}

.benefit-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0, 67, 185, 0.4);
  border-color: rgba(255,255,255,0.25);
}

.benefit-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.benefit-card__icon .material-symbols-rounded {
  font-size: 24px;
  color: #fff;
}

.benefit-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 400;
  margin-bottom: var(--space-xs);
  color: #fff;
}

.benefit-card__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

/* ── Segments ────────────────────────────────────────────── */
.segments {
  background-color: #fff;
  background-image: 
    radial-gradient(circle at 10px 10px, rgba(0,198,70,0.04) 1.5px, transparent 1.5px),
    linear-gradient(180deg, #fff 0%, #f6fdf9 40%, #fff 100%);
  background-size: 25px 25px, 100% 100%;
}

.segments__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.segment-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--duration-base) var(--ease-out);
}

.segment-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.segment-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-2xl);
  background: var(--color-primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.segment-card__icon .material-symbols-rounded {
  font-size: 32px;
  color: var(--color-primary);
}

/* Segment icon color variations */
.segment-card:nth-child(1) .segment-card__icon { background: var(--color-accent-bg); }
.segment-card:nth-child(1) .segment-card__icon .material-symbols-rounded { color: var(--color-accent); }

.segment-card:nth-child(2) .segment-card__icon { background: var(--color-primary-bg); }
.segment-card:nth-child(2) .segment-card__icon .material-symbols-rounded { color: var(--color-primary); }

.segment-card:nth-child(3) .segment-card__icon { background: var(--color-secondary-bg); }
.segment-card:nth-child(3) .segment-card__icon .material-symbols-rounded { color: var(--color-secondary); }

.segment-card:nth-child(4) .segment-card__icon { background: var(--color-primary-bg); }
.segment-card:nth-child(4) .segment-card__icon .material-symbols-rounded { color: var(--color-primary); }

.segment-card:nth-child(5) .segment-card__icon { background: var(--color-accent-bg); }
.segment-card:nth-child(5) .segment-card__icon .material-symbols-rounded { color: var(--color-accent); }

.segment-card:nth-child(6) .segment-card__icon { background: var(--color-secondary-bg); }
.segment-card:nth-child(6) .segment-card__icon .material-symbols-rounded { color: var(--color-secondary); }

.segment-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 400;
  margin-bottom: var(--space-xs);
}

.segment-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ── Steps ───────────────────────────────────────────────── */
.steps.section--alt {
  background-color: #e8f0fe;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(0,67,185,0.04) 39px, rgba(0,67,185,0.04) 40px);
}

.steps__track {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.steps__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 35px;
  width: 2px;
  background: var(--color-primary);
  z-index: 0;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 1.4s var(--ease-out);
}
.steps__line.visible {
  transform: scaleY(1);
}

.step {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.step__number {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 67, 185, 0.3);
  transform: scale(0);
  transition: transform 0.6s var(--ease-out);
}
.step.visible .step__number {
  transform: scale(1);
}

.step__content {
  padding-top: var(--space-sm);
  opacity: 0;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.step:nth-child(odd) .step__content  { transform: translateX(-16px); }
.step:nth-child(even) .step__content { transform: translateX(16px); }

.step.visible .step__content {
  opacity: 1;
  transform: translateX(0);
}

/* Step number color variations — all primary blue */
.step:nth-of-type(n) .step__number {
  background: var(--color-primary);
  box-shadow: 0 8px 24px rgba(0, 67, 185, 0.3);
}

.step__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: var(--space-xs);
}

.step__desc {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ── Contact ─────────────────────────────────────────────── */
.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-3xl);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.contact__wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: 
    linear-gradient(to right, rgba(0,67,185,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,67,185,0.03) 1px, transparent 1px);
  background-size: 35px 35px;
  border-radius: inherit;
}

.contact__info,
.contact__form {
  position: relative;
  z-index: 1;
}

.contact__info {
  padding: var(--space-3xl);
  background: linear-gradient(180deg, #0a1f4a 0%, #0f172a 100%);
  color: var(--color-text-inverse);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact__info .badge {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.contact__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.15;
  margin: var(--space-md) 0;
}

.contact__desc {
  font-size: var(--text-base);
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.contact__highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact__highlight {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact__highlight .material-symbols-rounded {
  font-size: 22px;
  color: var(--color-primary-light);
  margin-top: 2px;
  flex-shrink: 0;
}

.contact__highlight strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
}

.contact__highlight span {
  font-size: var(--text-sm);
  color: #94a3b8;
}

/* Form */
.contact__form {
  padding: var(--space-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form__input {
  width: 100%;
  padding: 0.75em 1em;
  font-size: var(--text-sm);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  transition: all var(--duration-fast) var(--ease-out);
  outline: none;
}

.form__input::placeholder {
  color: #94a3b8;
}

.form__input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 67, 185, 0.1);
}

.form__input.error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.form__input.success {
  border-color: var(--color-success);
}

.form__error {
  font-size: var(--text-xs);
  color: var(--color-error);
  display: none;
}

.form__input.error ~ .form__error {
  display: block;
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

.form__textarea {
  resize: vertical;
  min-height: 100px;
}

.form__submit {
  margin-top: var(--space-sm);
}

.form__disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  text-align: center;
  line-height: 1.5;
}

/* Success state */
.form__success {
  display: none;
  text-align: center;
  padding: var(--space-3xl);
}

.form__success.visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.form__success .material-symbols-rounded {
  font-size: 64px;
  color: var(--color-accent);
}

.form__success h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
}

.form__success p {
  color: var(--color-text-secondary);
}

/* ── CTA Float ───────────────────────────────────────────── */
.cta-float {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 198, 70, 0.35);
  z-index: 900;
  transition: all var(--duration-fast) var(--ease-in-out);
  animation: pulse-cta 3s ease-in-out infinite;
}

.cta-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(0, 198, 70, 0.45);
  animation: none;
}

.cta-float .material-symbols-rounded {
  font-size: 26px;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background-color: #061535;
  background-image: 
    radial-gradient(circle, rgba(255,255,255,0.03) 0.5px, transparent 0.5px),
    linear-gradient(180deg, #0a1f45 0%, #061535 100%);
  background-size: 30px 30px, 100% 100%;
  color: var(--color-text-inverse);
  padding: var(--space-3xl) 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  text-align: left;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__tagline {
  color: #94a3b8;
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-top: var(--space-md);
  max-width: 360px;
}

.footer__links {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.footer__col-title {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #e2e8f0;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__col a {
  font-size: var(--text-sm);
  color: #94a3b8;
  transition: color var(--duration-fast);
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-lg) 0;
  text-align: center;
  font-size: var(--text-xs);
  color: #64748b;
}

/* ── Animations (data-animate) ───────────────────────────── */
[data-animate] {
  opacity: 0;
}

[data-animate].visible {
  opacity: 1;
}

[data-animate="fade-in"]    { transition: opacity 0.7s var(--ease-out); }
[data-animate="slide-up"]   { transform: translateY(36px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
[data-animate="slide-left"] { transform: translateX(36px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
[data-animate="slide-right"]{ transform: translateX(-36px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
[data-animate="scale-in"]   { transform: scale(0.9); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }

[data-animate].visible[data-animate="slide-up"],
[data-animate].visible[data-animate="slide-left"],
[data-animate].visible[data-animate="slide-right"],
[data-animate].visible[data-animate="scale-in"] {
  transform: translate(0) scale(1);
}

/* Stagger delays */
[style*="--delay"] { transition-delay: var(--delay); }

/* ── Additional Keyframes ────────────────────────────────── */
@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%  { transform: translate(8px, -6px) rotate(0.5deg); }
  66%  { transform: translate(-6px, 4px) rotate(-0.5deg); }
}

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 4px 20px rgba(0, 198, 70, 0.35); }
  50%  { box-shadow: 0 4px 32px rgba(0, 198, 70, 0.55), 0 0 0 8px rgba(0, 198, 70, 0.08); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(3px, -5px) scale(1.02); }
  50%  { transform: translate(-2px, -2px) scale(0.98); }
  75%  { transform: translate(4px, 3px) scale(1.01); }
}

/* ── Segment icon hover ──────────────────────────────────── */
.segment-card__icon {
  transition: transform var(--duration-base) var(--ease-out);
}
.segment-card:hover .segment-card__icon {
  transform: scale(1.1);
}

/* ── Benefit card icon hover ─────────────────────────────── */
.benefit-card__icon {
  transition: transform var(--duration-base) var(--ease-out);
}
.benefit-card:hover .benefit-card__icon {
  transform: scale(1.15);
}

/* ── Footer link hover ───────────────────────────────────── */
.footer__col a {
  transition: color var(--duration-fast), transform var(--duration-fast) var(--ease-out);
  display: inline-block;
}
.footer__col a:hover {
  color: #fff;
  transform: translateX(3px);
}

/* ── Logo hover ──────────────────────────────────────────── */
.logo {
  transition: opacity var(--duration-fast);
}
.logo:hover {
  opacity: 0.85;
}

/* ── Ripple (JS-driven) ──────────────────────────────────── */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: ripple-effect 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple-effect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

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

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .solutions__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .benefits__grid,
  .segments__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__wrapper {
    grid-template-columns: 1fr;
  }

  .contact__info {
    padding: var(--space-2xl);
  }

  .contact__form {
    padding: var(--space-2xl);
  }

  .footer__inner {
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --space-4xl: 4rem;
  }

  .hero {
    min-height: calc(76.87vw + 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-clip: content-box;
    padding-top: 20px;
  }

  /* Mobile nav */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    padding: 6rem var(--space-xl) var(--space-xl);
    box-shadow: var(--shadow-xl);
    transition: right var(--duration-base) var(--ease-out);
    z-index: 1000;
  }

  .nav.active {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: var(--space-md);
  }

  .nav__link {
    font-size: var(--text-lg);
    font-weight: 600;
  }

  .menu-toggle {
    display: flex;
  }

  .header__cta {
    display: none;
  }

  .info-bar__grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .benefits__grid,
  .segments__grid,
  .solutions__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .benefit-card,
  .solution-card {
    text-align: center;
  }

  .benefit-card__icon,
  .solution-card__icon {
    margin-inline: auto;
  }

  .solution-card__benefits {
    align-items: center;
  }

  .solution-card__benefits li {
    justify-content: center;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .cta-float {
    display: flex;
  }

  .step {
    gap: var(--space-md);
  }

  .step__number {
    width: 56px;
    height: 56px;
    font-size: var(--text-xl);
  }

  .steps__line {
    left: 27px;
  }

  .footer__links {
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
  }

  .footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__brand {
    align-items: center;
  }
}

@media (max-width: 480px) {
  :root {
    --space-xl: 1.25rem;
    --space-2xl: 2rem;
    --space-3xl: 2.5rem;
    --space-4xl: 3rem;
  }

  .container {
    padding: 0 var(--space-md);
  }

}

/* ============================================================
   REFINAMENTO PREMIUM — HIERARQUIA, CONVERSÃO E PROFUNDIDADE
   ============================================================ */
:root {
  --color-ink: #033177;
  --color-ink-deep: #022058;
  --color-surface-soft: #f5f8ff;
  --color-glow-blue: rgba(3, 49, 119, 0.25);
  --color-glow-green: rgba(0, 198, 70, 0.16);
}

body {
  background: var(--color-surface-soft);
}

/* Hero: contraste forte, leitura imediata e brilho controlado */
.hero {
  min-height: 760px;
  isolation: isolate;
  background: linear-gradient(160deg, #033177 0%, #022058 50%, #011845 100%);
  background-position: center;
  background-size: cover;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 32%, rgba(0, 180, 220, 0.18), transparent 28%),
    radial-gradient(circle at 18% 75%, rgba(0, 198, 70, 0.10), transparent 25%),
    linear-gradient(90deg, rgba(2, 32, 88, 0.92) 0%, rgba(2, 32, 88, 0.65) 48%, rgba(2, 32, 88, 0.18) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}

/* Hero — refinamentos desktop */

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #b9f8d0;
  font-size: clamp(0.65rem, 1.2vw, 0.7rem);
}

.hero__eyebrow::before {
  content: '';
  width: 2rem;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
}

.hero__title {
  max-width: 680px;
  margin: 1rem 0 1.25rem;
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.hero__desc {
  max-width: 560px;
  font-size: clamp(0.8rem, 1.6vw, 1rem);
}

.hero__trust {
  gap: 0.75rem 1.25rem;
  margin-top: 2rem;
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255,255,255,0.86);
  font-size: var(--text-sm);
  font-weight: 500;
}

.hero__trust .material-symbols-rounded {
  color: #9af4bc;
  font-size: 1.15rem;
}

.hero__btn {
  box-shadow: 0 14px 34px rgba(0, 198, 70, 0.22);
}

/* Mantém o botão do hero estático ao passar o mouse, conforme solicitado */
.hero__btn:hover,
.hero__btn:focus-visible {
  background: var(--color-accent);
  box-shadow: 0 14px 34px rgba(0, 198, 70, 0.22);
  transition: none;
}

.hero__wave {
  z-index: 4;
}

.hero__wave path {
  fill: var(--color-surface-soft);
}

/* Barra de credibilidade: leitura rápida e maior contraste */
.info-bar {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--color-ink);
  background-image:
    radial-gradient(circle at 20% 0%, rgba(0, 228, 245, 0.12), transparent 28%),
    radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 100% 100%, 22px 22px;
  border-bottom: 0;
  padding: 1.75rem 0;
}

.info-bar__grid {
  gap: 1rem;
}

.info-bar__item {
  min-height: 84px;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.055);
  border-color: rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.info-bar__item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(0, 228, 245, 0.45);
  box-shadow: 0 10px 28px rgba(0,0,0,0.16);
}

.info-bar__icon {
  background: linear-gradient(135deg, rgba(0, 112, 245, 0.3), rgba(0, 228, 245, 0.12));
  border: 1px solid rgba(0, 228, 245, 0.2);
}

.info-bar__icon .material-symbols-rounded {
  color: #85eff8;
}

.info-bar__value {
  display: block;
  color: #fff;
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.3;
}

.info-bar__text {
  display: block;
  margin-top: 0.2rem;
  color: rgba(255,255,255,0.58);
  font-size: var(--text-xs);
  font-weight: 400;
}

/* Cabeçalhos e badges com contraste mais refinado */
.section__header {
  margin-bottom: 3.5rem;
}

.section__title {
  letter-spacing: -0.025em;
}

.badge {
  border: 1px solid rgba(0, 67, 185, 0.12);
  font-weight: 600;
}

/* Soluções: cards mais profundos e orientados à ação */
.solutions {
  background-color: var(--color-surface-soft);
  background-image:
    linear-gradient(to right, rgba(0,67,185,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,67,185,0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(0, 112, 245, 0.08), transparent 42%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
}

.solution-card {
  border-color: rgba(0, 67, 185, 0.12);
  border-top-width: 3px;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  box-shadow: 0 10px 30px rgba(4, 17, 38, 0.06);
}

.solution-card::after {
  content: '';
  position: absolute;
  inset: auto -20% -55% 35%;
  height: 180px;
  background: var(--color-glow-blue);
  filter: blur(45px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-out);
}

.solution-card:hover::after {
  opacity: 1;
}

.solution-card--featured {
  border-color: rgba(0, 198, 70, 0.55);
  background: linear-gradient(180deg, #ffffff 0%, #f7fffa 100%);
  box-shadow: 0 18px 42px rgba(0, 112, 245, 0.13);
}

.solution-card__badge {
  top: 17px;
  right: -37px;
  z-index: 2;
  background: linear-gradient(135deg, var(--color-primary), #0070f5);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.solution-card__image-icon {
  height: 168px;
  background: linear-gradient(135deg, #edf4ff, #f8fbff 55%, #e8fff1);
  border: 1px solid rgba(0, 112, 245, 0.08);
}

.solution-card__title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.solution-card__benefit {
  margin-bottom: 0.65rem;
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.45;
}

.solution-card__desc {
  margin-bottom: 1.25rem;
}

.solution-card__benefits {
  gap: 0.65rem;
}

.solution-card__benefits li {
  color: #1e293b;
  font-weight: 500;
}

.solution-card__cta {
  min-height: 3.2rem;
  box-shadow: 0 8px 20px rgba(0, 198, 70, 0.16);
}

/* Diferenciais: bloco escuro premium com alto contraste */
.benefits.section--alt {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--color-ink);
  background-image:
    radial-gradient(circle at 85% 15%, rgba(0, 228, 245, 0.13), transparent 25%),
    repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(255,255,255,0.025) 18px, rgba(255,255,255,0.025) 19px);
}

.benefits .section__title {
  color: #fff;
}

.benefits .badge {
  color: #9af4bc;
  background: rgba(0, 198, 70, 0.1);
  border-color: rgba(0, 198, 70, 0.2);
}

.benefit-card {
  background: linear-gradient(145deg, rgba(0, 112, 245, 0.72), rgba(6, 37, 83, 0.92));
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.benefit-card:hover {
  border-color: rgba(0, 228, 245, 0.45);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.benefit-card__title,
.solution-card__title,
.segment-card__title,
.step__title {
  font-weight: 700;
  letter-spacing: -0.015em;
}

.benefit-card__icon {
  background: linear-gradient(135deg, rgba(0, 198, 70, 0.24), rgba(0, 228, 245, 0.12));
  border: 1px solid rgba(255,255,255,0.12);
}

/* Segmentos: oportunidades de aplicação com cards mais visuais */
.segments {
  background-color: #fff;
  background-image:
    radial-gradient(circle at 10px 10px, rgba(0,198,70,0.045) 1.5px, transparent 1.5px),
    linear-gradient(180deg, #fff 0%, #f5fbf8 100%);
}

.segment-card {
  min-height: 220px;
  text-align: left;
  background: rgba(255,255,255,0.9);
  border-color: rgba(0, 67, 185, 0.12);
  box-shadow: 0 8px 24px rgba(4, 17, 38, 0.045);
}

.segment-card:hover {
  border-color: rgba(0, 198, 70, 0.42);
  box-shadow: 0 16px 34px rgba(0, 67, 185, 0.1);
}

.segment-card__icon {
  margin: 0 0 1.25rem;
  border-radius: var(--radius-lg);
}

.segment-card__title {
  margin-bottom: 0.5rem;
}

/* Jornada: conexão visual e contratação sem fricção */
.steps.section--alt {
  background-color: #eaf2ff;
  background-image:
    radial-gradient(circle at 8% 12%, rgba(0, 112, 245, 0.1), transparent 22%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(0,67,185,0.045) 39px, rgba(0,67,185,0.045) 40px);
}

.steps__line {
  width: 3px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-secondary), var(--color-accent));
  box-shadow: 0 0 14px rgba(0,112,245,0.18);
}

.step__number {
  background: linear-gradient(145deg, var(--color-primary), #0070f5);
  border: 5px solid #eaf2ff;
  box-shadow: 0 8px 24px rgba(0, 67, 185, 0.25);
}

.step__title {
  font-size: var(--text-lg);
}

/* Contato: benefício antes do formulário e conversão como destino */
.contact {
  background-color: var(--color-ink-deep);
  background-image:
    radial-gradient(circle at 15% 20%, rgba(0, 112, 245, 0.16), transparent 28%),
    radial-gradient(circle at 90% 80%, rgba(0, 198, 70, 0.1), transparent 24%),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 42px 42px, 42px 42px;
}

.contact__wrapper {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 24px 70px rgba(0,0,0,0.24);
}

.contact__info {
  background:
    radial-gradient(circle at 85% 12%, rgba(0, 180, 220, 0.14), transparent 25%),
    linear-gradient(155deg, #033177 0%, #022058 72%);
}

.contact__info .badge {
  border-color: rgba(255,255,255,0.16);
}

.contact__title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.contact__desc {
  color: rgba(255,255,255,0.72);
}

.contact__highlight {
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.contact__highlight .material-symbols-rounded {
  color: #9af4bc;
}

.contact__form {
  background: #fff;
}

.form__submit {
  min-height: 3.35rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 198, 70, 0.18);
}

/* Footer discreto, organizado e alinhado à esquerda no desktop */
.footer {
  background-color: #022058;
  background-image:
    radial-gradient(circle at 85% 0%, rgba(3, 49, 119, 0.30), transparent 26%),
    radial-gradient(circle, rgba(255,255,255,0.035) 0.5px, transparent 0.5px),
    linear-gradient(180deg, #033177 0%, #022058 100%);
  background-size: 100% 100%, 30px 30px, 100% 100%;
}

.footer__inner {
  padding-bottom: 2.5rem;
}

.footer__tagline {
  max-width: 390px;
}

.footer__col-title {
  color: #fff;
  font-weight: 600;
}

.footer__bottom {
  background: rgba(0,0,0,0.12);
}

/* Responsividade do refinamento */
@media (max-width: 768px) {
  .hero {
    min-height: 650px;
    justify-content: flex-start;
    background-position: center top;
    background-size: cover;
  }

  .hero__wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(2,32,88,0.82) 0%, rgba(2,32,88,0.7) 55%, rgba(2,32,88,0.94) 100%);
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    flex: 1 1 auto;
  }

  .hero__image-wrapper {
    display: none;
  }

  .hero__eyebrow,
  .hero__title,
  .hero__desc,
  .hero__trust,
  .hero__btn {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__eyebrow {
    margin-top: 6.5rem;
  }

  .hero__btn {
    margin-bottom: 3rem;
  }

  .hero__title {
    font-size: clamp(2rem, 9.6vw, 3.2rem);
  }

  .hero__desc {
    font-size: 0.875rem;
  }

  .hero__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 1.5rem;
  }

  .hero__image {
    display: none;
  }

  .hero__float {
    display: none;
  }

  .info-bar__item {
    min-height: 72px;
    justify-content: center;
    text-align: center;
  }

  .segment-card {
    min-height: auto;
    text-align: center;
  }

  .segment-card__icon {
    margin-inline: auto;
  }

  .contact__info,
  .contact__form {
    padding: var(--space-2xl);
  }

  .contact__info {
    text-align: center;
  }

  .contact__info .badge {
    display: block;
    width: fit-content;
    margin-inline: auto;
  }

  .contact__highlights {
    align-items: center;
  }

  .contact__highlight {
    justify-content: center;
    text-align: center;
  }

  .footer__inner {
    text-align: center;
  }

  .footer__brand {
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__float {
    animation: none;
  }
}
