/* ==========================================================================
   Chassi Frota — Design tokens (v2 — linha branca/arredondada, ago/2026)
   ========================================================================== */

:root {
  --bg: #FAF9F5;
  --surface: #FFFFFF;
  --surface-alt: #F3F1EA;
  --border: #E7E3D8;

  --ink: #22271F;
  --text: #22271F;
  --text-secondary: #4B4F44;

  --green: #3F5B3F;
  --green-dark: #2A3F2C;
  --green-light: #E7F0E3;

  --gold: #C99A3E;
  --danger: #B3432B;

  --font-display: "Anton", "Archivo Black", sans-serif;
  --font-label: "Oswald", sans-serif;
  --font-body: "Inter", sans-serif;

  --container-width: 1180px;
  --container-narrow: 860px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20, 33, 58, 0.05);
  --shadow-md: 0 8px 28px rgba(20, 33, 58, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
}

@media (max-width: 720px) {
  section {
    padding: 48px 0;
  }
}

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

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

/* Eyebrow / pill badge */
.eyebrow {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  border: 1px solid #CFE0C8;
  color: var(--green-dark);
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 18px 9px 14px;
  border-radius: var(--radius-pill);
}

.badge-pill .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Section heading blocks */
.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head h2 {
  margin: 10px 0 0;
}

h1, h2, h3 {
  margin: 0 0 16px;
  color: var(--ink);
}

.h-display {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.005em;
}

h1.h-display {
  font-size: clamp(36px, 5.2vw, 56px);
}

h2.h-display {
  font-size: clamp(26px, 3.4vw, 36px);
}

.h-section {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.2;
}

h1.h-section {
  font-size: clamp(26px, 3.4vw, 34px);
}

h2.h-section {
  font-size: 20px;
}

h3.h-section {
  font-size: 16px;
}

p {
  margin: 0 0 16px;
}

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

.bg-dark .text-secondary {
  color: #C7CFC2;
}

.lede {
  font-size: 17px;
  color: var(--text-secondary);
}

/* Icon helper */
.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  flex-shrink: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.bg-dark .btn-secondary {
  background: transparent;
  color: var(--bg);
  border-color: #445A46;
}

.bg-dark .btn-secondary:hover {
  border-color: var(--bg);
}

.btn-outline-header {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
  padding: 11px 20px;
  font-size: 14px;
}

.btn-outline-header:hover {
  border-color: var(--green);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-icon-only {
  padding: 11px;
  border-radius: var(--radius-md);
}

.btn-whatsapp .icon {
  color: currentColor;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.logo .logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.logo .logo-text {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1;
  font-size: 19px;
}

.logo .logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.logo .logo-img-footer {
  height: 38px;
}

.logo .logo-text small {
  display: block;
  font-family: var(--font-label);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--green);
  font-weight: 500;
  margin-top: 2px;
}

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

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-nav a:not(.btn) {
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}

.main-nav a:not(.btn):hover {
  color: var(--green);
}

.main-nav a.is-active {
  color: var(--green);
  font-weight: 600;
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
}

@media (max-width: 900px) {
  .main-nav a.is-active::after {
    display: none;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    inset: 66px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    transform: translateY(-110%);
    transition: transform 0.25s ease;
    height: calc(100vh - 66px);
    overflow-y: auto;
  }

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

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .main-nav a:not(.btn) {
    font-size: 17px;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 24px;
    gap: 10px;
  }

  .header-actions .btn {
    width: 100%;
  }

  .menu-toggle {
    display: block;
  }
}

/* ==========================================================================
   Hero (home — entrada do diagnóstico)
   ========================================================================== */

.hero {
  padding-top: 72px;
  padding-bottom: 40px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.75fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  margin-top: 18px;
}

.hero-copy h1 .accent {
  color: var(--green);
}

.hero-expect {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 28px 0 8px;
}

.expect-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
}

.expect-item strong {
  color: var(--ink);
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-secondary);
}

.hero-note .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.hero-note a {
  color: var(--green-dark);
  text-decoration: underline;
}

/* Route illustration */
.route-illustration {
  position: relative;
  min-height: 420px;
}

.route-illustration svg {
  width: 100%;
  height: auto;
}

.route-illustration img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  max-height: 380px;
  object-fit: contain;
  object-position: center center;
  display: block;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .route-illustration {
    display: none;
  }
}

/* Hero com imagem de fundo (home, sobre, soluções, para transportadoras) */
.hero-bg {
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  min-height: 460px;
  display: flex;
  align-items: center;
}

.hero-bg-home {
  background-image: url('../images/bg-hero-home.png');
}

.hero-bg-sobre-solucoes {
  background-image: url('../images/bg-hero-sobre-solucoes.png');
}

.hero-bg-transportadoras {
  background-image: url('../images/bg-hero-transportadoras.png');
  background-position: right top;
  background-size: 60% auto;
  min-height: 300px;
}

.hero-bg-copy,
.hero-copy {
  max-width: 600px;
}

.hero-bg-copy-wide {
  max-width: 760px;
}

@media (max-width: 960px) {
  .hero-bg {
    background-image: none !important;
    min-height: 0;
  }
}

/* Page hero (sub-páginas: Sobre, Soluções, Para transportadoras, Contato) */
.page-hero {
  padding-top: 56px;
  padding-bottom: 40px;
}

.h-page {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: none;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-size: clamp(30px, 4.4vw, 44px);
  margin-top: 10px;
}

/* Feature row — ícone + título + texto, sem card, 3 ou 4 colunas */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--border);
}

.feature-row.feature-row-4 {
  grid-template-columns: repeat(4, 1fr);
}

.feature-row .feature-item h3 {
  font-size: 15.5px;
  margin: 14px 0 6px;
}

.feature-row .feature-item p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 860px) {
  .feature-row,
  .feature-row.feature-row-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .feature-row,
  .feature-row.feature-row-4 {
    grid-template-columns: 1fr;
  }
}

/* Missão / Visão */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mission-item {
  padding-left: 28px;
  border-left: 1px solid var(--border);
}

.mission-item:first-child {
  padding-left: 0;
  border-left: none;
}

.mission-item h3 {
  font-size: 17px;
  margin: 14px 0 8px;
}

.mission-item p {
  color: var(--text-secondary);
  font-size: 14.5px;
  margin: 0;
}

@media (max-width: 720px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .mission-item {
    padding-left: 0;
    border-left: none;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }
  .mission-item:first-child {
    padding-top: 0;
    border-top: none;
  }
}

/* Mini cards (quem está por trás) */
.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.mini-card h3 {
  font-size: 14.5px;
  margin: 10px 0 4px;
}

.mini-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 860px) {
  .mini-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .mini-card-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA banner destacado */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--green-light);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
}

.cta-banner .cta-banner-text {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 460px;
}

.cta-banner .icon-circle {
  background: var(--green-dark);
  color: #fff;
  width: 48px;
  height: 48px;
}

.cta-banner h3 {
  font-size: 16.5px;
  margin: 0 0 4px;
}

.cta-banner p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
}

.cta-banner .cta-row {
  margin-top: 0;
}

@media (max-width: 720px) {
  .cta-banner {
    padding: 24px;
  }
}

/* Audience card v2 — item com ícone + caixa "ideal para" */
.audience-card .audience-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.audience-card .audience-header .icon-circle {
  width: 46px;
  height: 46px;
}

.audience-card .audience-header h3 {
  margin: 0;
  font-size: 19px;
}

.audience-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 0;
}

.audience-card li .icon-circle {
  width: 28px;
  height: 28px;
}

.audience-card li .icon-circle .icon {
  width: 14px;
  height: 14px;
}

.ideal-box {
  margin-top: 22px;
  background: var(--green-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--green-dark);
  font-weight: 500;
}

.divider-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  margin-top: 44px;
}

.divider-line .line {
  flex: 1;
  max-width: 80px;
  height: 2px;
  background: var(--gold);
}

.divider-line-text strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.divider-line-text span {
  display: block;
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Contato — grid form + info, mapa, tiras */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-card-head h2 {
  font-size: 17px;
  margin: 0 0 2px;
}

.contact-card-head p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.address-block {
  margin: 18px 0 22px;
}

.address-block strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.address-block span {
  display: block;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.address-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 18px 0;
}

.map-frame iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.note-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--green-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-top: 18px;
}

.note-card h3 {
  font-size: 14.5px;
  margin: 0 0 4px;
}

.note-card p {
  font-size: 13px;
  color: var(--green-dark);
  margin: 0;
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.contact-strip-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-strip-item h3 {
  font-size: 14.5px;
  margin: 0 0 4px;
}

.contact-strip-item p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

.contact-strip-item a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.contact-strip-item a:hover {
  color: var(--green);
}

@media (max-width: 720px) {
  .contact-strip {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Cards grid (generic — services / info)
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}

.card .num {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  display: block;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.card p {
  color: var(--text-secondary);
  font-size: 14.5px;
  margin: 0;
}

@media (max-width: 860px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Para quem — audience cards
   ========================================================================== */

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

.audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.audience-card h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.audience-card .audience-sub {
  font-family: var(--font-label);
  color: var(--green);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.audience-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.audience-card li {
  margin-bottom: 10px;
  color: var(--text-secondary);
  font-size: 14.5px;
}

@media (max-width: 720px) {
  .audience-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Como funciona — steps
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.step {
  padding: 24px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.step .icon-circle {
  margin-bottom: 16px;
}

.step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.step p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 960px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Wizard (diagnóstico de 6 etapas)
   ========================================================================== */

.wizard-header {
  padding: 36px 0 0;
}

.wizard-progress-label {
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.wizard-progress-label strong {
  color: var(--ink);
}

.wizard-dots {
  display: flex;
  align-items: center;
  gap: 0;
}

.wizard-dots .dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.wizard-dots .dot-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  min-width: 16px;
}

.wizard-dots .dot.is-done {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.wizard-dots .dot.is-current {
  border-color: var(--green);
  color: var(--green);
}

.wizard-dots .dot-line.is-done {
  background: var(--green);
}

.wizard-body {
  padding: 32px 0 80px;
}

.wizard-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 44px;
  align-items: start;
}

.wizard-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.wizard-step {
  display: none;
}

.wizard-step.is-active {
  display: block;
  animation: fadein 0.2s ease;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-step .step-eyebrow {
  font-family: var(--font-label);
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.field {
  margin-bottom: 26px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 640px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.field label,
.field-legend {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 8px;
}

.field-hint {
  font-size: 13px;
  color: var(--text-secondary);
  margin: -4px 0 10px;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  appearance: none;
}

.field select {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%235B6270" stroke-width="1.6" stroke-linecap="round"><polyline points="6 9 12 15 18 9"/></svg>');
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #A2A8AF;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(63, 91, 63, 0.12);
}

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

.field-with-icon {
  position: relative;
}

.field-with-icon .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  width: 18px;
  height: 18px;
}

.field-with-icon input {
  padding-left: 42px;
}

.char-count {
  text-align: right;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Selectable option grid (choice cards / chips) */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

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

.option-grid.option-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 640px) {
  .option-grid.option-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.option-card {
  position: relative;
}

.option-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-card label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 400;
  margin: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
  position: relative;
}

.option-card label .opt-title {
  font-weight: 600;
  color: var(--ink);
  font-size: 14.5px;
}

.option-card label .opt-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.option-card label .icon-circle {
  width: 36px;
  height: 36px;
}

.option-card label .check-mark {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
}

.option-card label .check-mark .icon {
  width: 11px;
  height: 11px;
  stroke-width: 3;
}

.option-card input:checked + label {
  border-color: var(--green);
  background: var(--green-light);
}

.option-card input:checked + label .check-mark {
  display: flex;
}

.option-card input:focus-visible + label {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* Simple chip variant (single line, no icon) */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  position: relative;
}

.chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.chip label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.chip input:checked + label {
  border-color: var(--green);
  background: var(--green-light);
  color: var(--green-dark);
}

.chip input:focus-visible + label {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* Checkbox row (consent) */
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.check-row input {
  margin-top: 3px;
  accent-color: var(--green);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.check-row a {
  color: var(--green-dark);
  text-decoration: underline;
}

.field-error {
  color: var(--danger);
  font-size: 13px;
  margin-top: 8px;
  display: none;
}

.field.has-error .field-error {
  display: block;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
}

.field.has-error .option-card label,
.field.has-error .chip label {
  border-color: var(--danger);
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.wizard-nav .btn {
  min-width: 140px;
}

.wizard-nav .spacer {
  flex: 1;
}

/* Sidebar — "Seu diagnóstico em 6 etapas" */
.wizard-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.sidebar-card h2 {
  font-size: 15px;
  margin-bottom: 20px;
}

.sidebar-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px dashed var(--border);
}

.sidebar-steps li {
  position: relative;
  padding: 0 0 22px 24px;
}

.sidebar-steps li:last-child {
  padding-bottom: 0;
}

.sidebar-steps .dot {
  position: absolute;
  left: -13px;
  top: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-label);
}

.sidebar-steps li.is-done .dot {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.sidebar-steps li.is-current .dot {
  border-color: var(--green);
  color: var(--green);
}

.sidebar-steps li.is-current {
  background: var(--green-light);
  border-radius: var(--radius-sm);
  margin: 0 8px 0 -10px;
  padding: 7px 10px 10px 34px;
}

.sidebar-steps strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 2px;
}

.sidebar-steps span {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.sidebar-time {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
}

@media (max-width: 960px) {
  .wizard-grid {
    grid-template-columns: 1fr;
  }
  .wizard-sidebar {
    display: none;
  }
  .wizard-form-card {
    padding: 24px;
  }
}

/* ==========================================================================
   Success page (diagnóstico enviado)
   ========================================================================== */

.success-wrap {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.success-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-check .icon {
  width: 30px;
  height: 30px;
  stroke-width: 2.4;
}

.summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px 28px;
  margin: 32px 0;
  text-align: left;
}

.summary-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row .icon-circle {
  width: 36px;
  height: 36px;
}

.summary-row .summary-label {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.summary-row .summary-value {
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}

.protocol-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--green-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--green-dark);
  text-align: left;
  margin-bottom: 28px;
}

.protocol-note .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 48px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid #445A46;
}

.footer-top .logo {
  color: var(--bg);
}

.footer-top .logo .logo-text small {
  color: var(--gold);
}

.footer-tagline {
  font-weight: 600;
  color: var(--gold);
}

.footer-contact {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--bg);
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  font-size: 12.5px;
  color: #8FA091;
}

.footer-bottom a {
  color: #C7CFC2;
  text-decoration: underline;
}

/* ==========================================================================
   Utility
   ========================================================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.simple-page {
  padding: 100px 0 90px;
}

.simple-page-inner {
  max-width: 720px;
}

.simple-page h1 {
  font-size: clamp(28px, 4vw, 38px);
}

.simple-page h2 {
  font-size: 19px;
  margin-top: 34px;
}

.simple-page p, .simple-page li {
  color: var(--text-secondary);
  font-size: 15px;
}

.draft-note {
  background: var(--green-light);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 32px;
}

/* ==========================================================================
   Política de Privacidade
   ========================================================================== */

.policy-hero {
  padding: 56px 0 40px;
}

.policy-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 44px;
  align-items: start;
}

.policy-toc-wrap {
  position: sticky;
  top: 90px;
}

.policy-content {
  min-width: 0;
}

.policy-toc {
  list-style: none;
  margin: 0;
  padding: 0;
}

.policy-toc li + li {
  margin-top: 2px;
}

.policy-toc a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  text-decoration: none;
  font-size: 13.5px;
  color: var(--text-secondary);
  border-bottom: none;
}

.policy-toc a:hover {
  color: var(--green-dark);
}

.policy-toc a span {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 12px;
  color: var(--gold);
  flex-shrink: 0;
  width: 18px;
}

.policy-index-help {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

.policy-index-help strong {
  display: block;
  font-family: var(--font-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.policy-index-help a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: none;
}

.policy-index-help a:hover {
  text-decoration: underline;
}

.policy-section {
  scroll-margin-top: 96px;
  margin-bottom: 52px;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.policy-section .icon-circle {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13px;
}

.section-heading h2 {
  margin: 0;
}

.policy-section p,
.policy-section li {
  color: var(--text-secondary);
  font-size: 14.5px;
}

.policy-section h3 {
  font-size: 15.5px;
  margin: 20px 0 8px;
}

/* Grid de 2 cards (dados tratados) — reaproveita .audience-grid + .card */
.data-grid {
  margin-bottom: 20px;
}

.data-grid .card ul {
  margin: 0;
  padding-left: 18px;
}

.data-grid .card li {
  margin-bottom: 6px;
}

/* Tabela de finalidades e bases legais */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.legal-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 13.5px;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.legal-table th {
  background: var(--surface-alt);
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table .basis {
  display: block;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 2px;
}

/* Lista de fornecedores — reaproveita .summary-card / .summary-row */
.summary-card.provider-list {
  margin: 20px 0;
}

.summary-row h3 {
  font-size: 14.5px;
  margin: 0 0 4px;
}

.summary-row p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
}

/* Destaque de retenção */
.stat-highlight {
  background: var(--green-light);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 20px;
}

.stat-highlight .stat-label {
  display: block;
  font-family: var(--font-label);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.stat-highlight strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.stat-highlight p {
  margin: 0;
  color: var(--green-dark);
  font-size: 13.5px;
}

/* Variante de aviso do .note-card (evitar dados sensíveis / eliminação não é absoluta) */
.note-card.note-warn {
  background: #FBEFE9;
  border: 1px solid #EAD3C6;
}

.note-card.note-warn h3,
.note-card.note-warn p {
  color: #8A3E26;
}

.note-card.note-warn .icon-circle {
  background: #F3DDCE;
  color: #8A3E26;
}

/* Grid dos 10 direitos do titular */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0;
}

.rights-grid article {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.rights-grid p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 11.5px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .rights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .policy-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .policy-toc-wrap {
    display: none;
  }
}
