/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand colors */
  --azul: #1F6FA8;
  --azul-hover: #185A89;
  --turquesa: #3FA3BA;
  --azul-marinho: #12314D;
  --texto: #15171B;
  --fundo: #F4F2EC;

  /* Light-surface neutrals */
  --muted: #5A5F66;
  --body-color: #464A52;
  --line: #DEDAD0;
  --field: #FAF9F5;
  --card-bg: #FFFFFF;

  /* Dark-surface neutrals (processo, cta, footer) */
  --dark: #15171B;
  --dark-2: #1F2227;
  --dline: #2E3137;
  --dmuted: #8E939B;
  --dtext: #F4F2EC;
  --dtext-2: #C9CCD2;
  --teal: #7CCBDA;

  /* Fonts */
  --font-heading: 'Bricolage Grotesque', Georgia, serif;
  --font-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-brand: 'Sora', 'Helvetica Neue', sans-serif;

  /* Type scale */
  --fs-h1: clamp(30px, 3vw + 18px, 42px);
  --lh-h1: 1.1;
  --fs-h2: clamp(26px, 2vw + 18px, 30px);
  --lh-h2: 1.15;
  --fs-h3: 18px;
  --fs-number: clamp(28px, 3vw + 18px, 36px);
  --fs-lead: clamp(15px, 1vw + 13px, 17px);
  --fs-body: 15px;
  --fs-small: 14px;
  --fs-hint: 13px;
  --fs-eyebrow: 13px;
  --fs-nav: 14px;
  --fs-btn: 15px;

  /* Sizing */
  --radius: 14px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --radius-full: 999px;
  --nav-h: 76px;
  --transition: 0.2s ease;
  --gutter: 20px;
}

html { scroll-behavior: smooth; }

.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;
  left: -9999px;
  top: auto;
  z-index: 2000;
  padding: 12px 20px;
  background: #fff;
  color: var(--texto);
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

body {
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--azul); }
ul { list-style: none; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }

:focus-visible { outline: 3px solid var(--turquesa); outline-offset: 2px; }

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 768px) { .wrap { padding: 0 40px; } }
@media (min-width: 1024px) { .wrap { padding: 0 64px; } }
@media (min-width: 1280px) { .wrap { padding: 0 96px; } }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--azul);
}

.section-title {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
}

.section-lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--body-color);
}

section { padding: 48px 0; }
@media (min-width: 1024px) { section { padding: 64px 0; } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-btn);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color var(--transition), border-color var(--transition);
}
.btn-dark { background: var(--texto); color: var(--fundo); }
.btn-primary { background: var(--azul); color: #fff; }
.btn-outline { background: transparent; color: var(--texto); border: 1px solid var(--texto); }
.btn-white { background: #fff; color: var(--texto); }
.btn-lg { min-height: 48px; padding: 14px 24px; font-size: var(--fs-btn); }
@media (min-width: 560px) { .btn-lg { white-space: nowrap; } }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--fundo);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.navbar.scrolled {
  background-color: rgba(244, 242, 236, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(21, 23, 27, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--nav-h);
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--texto);
  min-width: 0;
}
.brand svg { flex-shrink: 0; }
.brand span {
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--azul-marinho);
  white-space: nowrap;
}

.nav-actions-mobile {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--texto);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--gutter) 24px;
  border-top: 1px solid var(--line);
  background: var(--fundo);
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}
.nav-links.open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0s;
}
.nav-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 4px 8px;
  color: var(--texto);
  font-size: var(--fs-nav);
  border-radius: var(--radius-sm);
}
.nav-links .btn { margin-top: 8px; width: 100%; }

/* Botões dentro do menu não herdam o estilo dos links */
.nav-links a.btn {
  padding: 0 22px;
  min-height: 44px;
  color: var(--fundo);
}

@media (min-width: 1024px) {
  .nav-toggle, .nav-actions-mobile .nav-cta-mobile { display: none; }
  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    padding: 0;
    border-top: none;
    background: transparent;
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links a { min-height: auto; padding: 0; }
  .nav-links .btn { margin-top: 0; width: auto; margin-left: 8px; }
}

/* Menus abaixo de 380px: evita que "Diagnóstico" + hambúrguer estourem a largura em telas de 320-375px */
@media (max-width: 379px) {
  .navbar .wrap { padding: 0 10px; }
  .nav-inner { gap: 6px; }
  .brand { gap: 6px; }
  .brand svg { width: 26px; height: 26px; }
  .brand span { font-size: 20px; }
  .nav-actions-mobile { gap: 6px; }
  .nav-actions-mobile .nav-cta-mobile { padding: 0 14px; font-size: 14px; }
}

/* ===== HERO ===== */
.hero { padding: 36px 0 42px; }
@media (min-width: 1024px) { .hero { padding: 48px 0 48px; } }

.hero .wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 1024px) {
  .hero .wrap { flex-direction: row; align-items: center; gap: 64px; }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-content p {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--body-color);
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}
.hero-actions .btn { width: 100%; }
@media (min-width: 560px) {
  .hero-actions { flex-direction: row; align-items: center; }
  .hero-actions .btn { width: auto; }
}

/* Hero payment batch card */
.hero-card {
  flex-shrink: 0;
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 48px -28px rgba(21,23,27,0.25);
}
@media (min-width: 1024px) { .hero-card { width: 480px; } }
@media (min-width: 1280px) { .hero-card { width: 500px; } }

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #ECE9E1;
}
.hero-card-header .title { font-weight: 600; font-size: var(--fs-small); }
.hero-card-header .tag { font-family: var(--font-mono); font-size: var(--fs-hint); color: var(--muted); }

.hero-card-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 20px;
  border-top: 1px solid #F0EDE6;
  font-size: var(--fs-small);
}
.hero-card-row .supplier { color: var(--body-color); }
.hero-card-row .status { font-weight: 600; text-align: right; }
.hero-card-row .status.ok { color: var(--azul); }
.hero-card-row .status.warn { color: #B8501A; }

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--texto);
  color: var(--fundo);
  font-size: var(--fs-hint);
}
.hero-card-footer .mono { font-family: var(--font-mono); flex-shrink: 0; }

/* ===== PILARES ===== */
@media (min-width: 1024px) { #pilares { padding-top: 40px; } }

.pilares-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .pilares-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pilares-grid { grid-template-columns: repeat(3, 1fr); } }

.pilar-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pilar-card p { font-size: var(--fs-body); line-height: 1.55; color: var(--body-color); }

/* ===== PROCESSO (dark, 7 etapas) ===== */
.processo {
  background: var(--dark);
  color: var(--dtext);
}
.processo-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin-bottom: 30px;
}
@media (min-width: 1024px) { .processo-intro { margin-bottom: 42px; } }
.processo-intro .eyebrow { color: var(--teal); }
.processo-intro p { font-size: var(--fs-lead); line-height: 1.55; color: var(--dtext-2); }

.processo-head {
  display: none;
}
@media (min-width: 1024px) {
  .processo-head {
    display: grid;
    grid-template-columns: 160px repeat(2, minmax(0,1fr));
    gap: 24px;
    padding-bottom: 14px;
    font-family: var(--font-mono);
    font-size: var(--fs-hint);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dmuted);
    border-bottom: 1px solid var(--dline);
  }
  .processo-head span:nth-child(2) { color: #F0A77F; }
  .processo-head span:nth-child(3) { color: var(--teal); }
}

.etapa {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  margin-bottom: 16px;
  background: var(--dark-2);
  border: 1px solid var(--dline);
  border-radius: var(--radius);
}
@media (min-width: 1024px) {
  .etapa {
    display: grid;
    grid-template-columns: 160px repeat(2, minmax(0,1fr));
    gap: 24px;
    padding: 32px 0;
    margin-bottom: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--dline);
  }
}

.etapa-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.etapa-label .num { font-family: var(--font-mono); font-size: var(--fs-hint); color: var(--dmuted); }
.etapa-label .name { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-h3); }

.etapa-col { display: flex; flex-direction: column; gap: 10px; }
.etapa-col .col-label {
  font-family: var(--font-mono);
  font-size: var(--fs-hint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dmuted);
}
@media (min-width: 1024px) { .etapa-col .col-label { display: none; } }
.etapa-col.hoje .col-label { color: #F0A77F; }
.etapa-col.artemisys .col-label { color: var(--teal); }
.etapa-col p { font-size: var(--fs-body); line-height: 1.55; }
.etapa-col.hoje p { color: var(--dtext-2); }

.etapa-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.etapa-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-hint);
  padding: 4px 10px;
  border: 1px solid #2F5F73;
  border-radius: var(--radius-full);
  color: var(--teal);
}

.processo-numero {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  background: var(--dark-2);
  border: 1px solid var(--dline);
  border-radius: var(--radius);
}
@media (min-width: 1024px) {
  .processo-numero { margin-top: 42px; flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 32px; }
}
.processo-numero .headline {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
}
.processo-numero-eyebrow { color: var(--dmuted); }
.processo-numero .caption { font-size: var(--fs-body); line-height: 1.55; color: var(--dtext-2); max-width: 340px; }

/* ===== CALCULADORA TEASER ===== */
.calc-teaser-section { padding: 0; }

.calc-teaser {
  margin: 0 auto;
  padding: 30px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 36px;
  background: var(--azul);
  color: #fff;
}
@media (min-width: 768px) { .calc-teaser { padding: 42px 40px; } }
@media (min-width: 1024px) {
  .calc-teaser {
    flex-direction: row;
    align-items: center;
    gap: 56px;
    margin: 48px auto;
    padding: 48px 60px;
    border-radius: var(--radius-lg);
    max-width: calc(1280px - 128px);
  }
}

.calc-teaser-content { display: flex; flex-direction: column; gap: 18px; }
.calc-teaser-content .eyebrow { color: #CFE6EE; }
.calc-teaser-content h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
.calc-teaser-content p { font-size: var(--fs-lead); line-height: 1.6; color: #E3EEF5; max-width: 560px; }
.calc-teaser-cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; margin-top: 4px; }
.calc-teaser-cta small { font-size: var(--fs-small); color: #CFE6EE; }

.calc-example {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--texto);
  border-radius: 16px;
  box-shadow: 0 28px 60px -30px rgba(0,0,0,0.55);
}
@media (min-width: 1024px) { .calc-example { width: 480px; } }
.calc-example-head { display: flex; justify-content: space-between; align-items: center; }
.calc-example-head .title { font-weight: 600; font-size: var(--fs-small); }
.calc-example-head .tag { font-family: var(--font-mono); font-size: var(--fs-hint); color: var(--dmuted); }
.calc-example-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: var(--dark-2);
  border: 1px solid var(--dline);
  border-radius: 10px;
  font-size: var(--fs-small);
}
.calc-example-row .k { color: var(--dtext-2); }
.calc-example-row .v { font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-example-result {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--dline);
}
.calc-example-result .lbl { font-size: var(--fs-hint); color: var(--dmuted); }
.calc-example-result .val { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-number); line-height: 1.05; }
.calc-example-result .val small { font-size: 18px; color: var(--dmuted); font-weight: 500; }
.calc-example-result .sub { font-size: var(--fs-small); color: var(--teal); }

/* ===== CASES ===== */
.cases-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}
@media (min-width: 1024px) {
  .cases-head { flex-direction: row; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
}
.cases-head h2 { margin-top: 12px; }

.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cases-grid { grid-template-columns: repeat(3, 1fr); } }

.case-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.case-badge {
  align-self: flex-start;
  font-size: var(--fs-hint);
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--azul);
  color: #fff;
}
.case-tag { font-family: var(--font-mono); font-size: var(--fs-hint); color: var(--muted); }
.case-card h3 { line-height: 1.2; }
.case-card p { font-size: var(--fs-body); line-height: 1.55; color: var(--body-color); }
.case-points { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.case-points li { display: flex; gap: 10px; font-size: var(--fs-small); line-height: 1.45; color: #2C3036; }
.case-points li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  margin-top: 7px;
  border-radius: var(--radius-full);
  background: var(--azul);
}
.case-result {
  margin-top: auto;
  padding: 13px 15px;
  background: #EEF5F8;
  border-radius: 10px;
  font-size: var(--fs-small);
  line-height: 1.45;
  font-weight: 600;
  color: var(--azul-marinho);
}
.case-stack { font-size: var(--fs-hint); color: var(--muted); }

/* ===== METODO ===== */
.metodo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .metodo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .metodo-grid { grid-template-columns: repeat(4, 1fr); } }

.metodo-title { margin-top: 12px; margin-bottom: 30px; }

.metodo-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 2px solid var(--texto);
}
.metodo-item.active { border-top-color: var(--azul); }
.metodo-item .num { font-family: var(--font-mono); font-size: var(--fs-hint); color: var(--muted); }
.metodo-item p { font-size: var(--fs-body); line-height: 1.55; color: var(--body-color); }

/* ===== SEGURANCA ===== */
.seguranca {
  background: var(--card-bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.seguranca-intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}
@media (min-width: 1024px) {
  .seguranca-intro { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 30px; }
}
.seguranca-intro .lead-col { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.seguranca-intro > p { font-size: var(--fs-lead); line-height: 1.6; color: var(--body-color); max-width: 460px; }

.seguranca-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) { .seguranca-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .seguranca-grid { grid-template-columns: repeat(3, 1fr); } }

.seguranca-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--fundo);
  border-radius: var(--radius);
}
.seguranca-item p { font-size: var(--fs-body); line-height: 1.55; color: var(--body-color); }

/* ===== SOBRE / ALVO ===== */
.sobre {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .sobre { flex-direction: row; }
}

.sobre-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 32px;
  background: #EDF5FA;
}
@media (min-width: 1024px) {
  .sobre-visual { width: auto; flex-shrink: 0; align-self: stretch; padding: 40px; }
}
.sobre-visual picture,
.sobre-visual img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .sobre-visual picture,
  .sobre-visual img { max-width: 420px; }
}

.sobre-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 24px var(--gutter) 30px;
}
@media (min-width: 768px) { .sobre-content { padding: 30px; } }
@media (min-width: 1024px) { .sobre-content { padding: 42px 48px; } }
.sobre-content > p { font-size: var(--fs-lead); line-height: 1.6; color: var(--body-color); }

.sobre-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 6px;
}
@media (min-width: 560px) { .sobre-steps { grid-template-columns: repeat(3, 1fr); } }

.sobre-step { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 2px solid var(--azul); }
.sobre-step .num { font-family: var(--font-mono); font-size: var(--fs-hint); color: var(--muted); }
.sobre-step .title { font-family: var(--font-heading); font-weight: 700; }
.sobre-step .desc { font-size: var(--fs-small); line-height: 1.5; color: var(--body-color); }

/* ===== CONTATO / CTA ===== */
.cta-final {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 36px var(--gutter);
  background: var(--azul);
  color: #fff;
}
@media (min-width: 768px) { .cta-final { padding: 42px 40px; } }
@media (min-width: 1024px) {
  .cta-final { flex-direction: row; justify-content: space-between; align-items: center; gap: 48px; padding: 72px 48px; }
}
@media (min-width: 1280px) { .cta-final { padding: 72px 72px; } }
.cta-final-content { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.cta-final-content h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
.cta-final-content p { font-size: var(--fs-lead); line-height: 1.55; color: #E3EEF5; }
.cta-final-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; flex-shrink: 0; }
.cta-final-actions .btn { width: 100%; }
.cta-final-actions a.link-white { color: #fff; text-align: center; font-size: var(--fs-nav); }
@media (min-width: 560px) { .cta-final-actions { align-items: center; } .cta-final-actions .btn { width: auto; } }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: var(--dtext-2); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 42px 0 36px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; } }

.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h4 { font-family: var(--font-brand); font-weight: 600; font-size: var(--fs-body); color: #fff; }
.footer-col a { color: var(--dtext-2); font-size: var(--fs-nav); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand span { font-family: var(--font-brand); font-weight: 600; font-size: 21px; color: #fff; }
.footer-col p { font-size: var(--fs-small); line-height: 1.55; max-width: 300px; }

.social-links { display: flex; gap: 10px; }
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--dline);
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-nav);
}

.footer-bottom {
  border-top: 1px solid var(--dline);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: var(--fs-hint);
  color: var(--dmuted);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--dmuted); font-size: var(--fs-hint); }

/* ===== MOTION: entrada ao rolar (fade-up) ===== */
.js .fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js .fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HERO: grade, brilho, flutuação, ponto pulsante ===== */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(31, 111, 168, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 111, 168, .05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 30%, transparent 100%);
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.hero::before { width: 420px; height: 420px; top: -140px; left: -100px; background: var(--azul); opacity: 0.22; }
.hero::after { width: 380px; height: 380px; top: 40px; right: -120px; background: var(--turquesa); opacity: 0.18; }
.hero .wrap { position: relative; z-index: 1; }

.hero-card { animation: heroFloat 4s ease-in-out infinite; }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.pulse-dot {
  display: inline-block;
  vertical-align: middle;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  margin-bottom: 2px;
  border-radius: 50%;
  background: var(--turquesa);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.7); }
}

/* ===== CALCULADORA: barras crescendo ===== */
.js .fill {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.js .bars.revealed .fill.now { transform: scaleX(1); }
.js .bars.revealed .fill.after { transform: scaleX(var(--pct, 0)); }

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 20px rgba(21, 23, 27, 0.25);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.whatsapp-float.hide {
  opacity: 0;
  transform: scale(0.8);
  visibility: hidden;
  pointer-events: none;
}

/* ===== HOVER (apenas em dispositivos com mouse) ===== */
@media (hover: hover) {
  a:hover { color: var(--azul-hover); }
  .btn-dark:hover { background: #23262c; color: var(--fundo); transform: translateY(-2px); }
  .btn-primary:hover { background: var(--azul-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(31, 111, 168, 0.35); }
  .btn-outline:hover { background: var(--texto); color: var(--fundo); transform: translateY(-2px); }
  .btn-white:hover { background: #EEF5F8; color: var(--texto); }
  .btn-primary:active, .btn-outline:active, .btn-dark:active { transform: translateY(0); }
  .nav-links a:hover { background: var(--card-bg); color: var(--azul); }
  .nav-links a.btn-dark:hover { background: #23262c; color: var(--fundo); }
  .footer-col a:hover { color: #fff; }
  .social-links a:hover { border-color: var(--teal); color: var(--teal); }
  .footer-bottom-links a:hover { color: var(--dtext-2); }
  .whatsapp-float:hover { transform: scale(1.06); box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45); }

  .pilar-card, .case-card, .seguranca-item {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  }
  .pilar-card:hover, .case-card:hover, .seguranca-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -12px rgba(21, 23, 27, 0.18);
  }
}
@media (min-width: 1024px) and (hover: hover) {
  .nav-links a:hover { background: transparent; }
}

/* ===== REDUZIR MOVIMENTO ===== */
@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;
  }
  .js .fade-up { opacity: 1 !important; transform: none !important; transition-delay: 0ms !important; }
  .js .fill.now { transform: scaleX(1) !important; }
  .js .fill.after { transform: scaleX(var(--pct, 0)) !important; }
  .btn:hover, .whatsapp-float:hover, .pilar-card:hover, .case-card:hover, .seguranca-item:hover {
    transform: none !important;
  }
}
