/* ==========================================================================
   INSPIRA FORMA: Design System
   Sistemas Inteligentes de Crescimento
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Marca */
  --green-900: #08201E;
  --green-850: #0A2A26;
  --green-800: #0B322D;
  --green-700: #0F4C45; /* Principal */
  --green-600: #15645A;
  --green-500: #1D8377;
  --green-200: #BFD8D3;
  --green-100: #E7F0EE;
  --green-050: #F2F8F6;

  --orange-700: #B84E0F;
  --orange-600: #CF5C13;
  --orange-500: #E66A1E; /* Secundária */
  --orange-300: #F3A971;
  --orange-100: #FDEEE3;

  /* Neutros */
  --ink: #111111;
  --gray-800: #262A29;
  --gray-700: #3A3A3A;
  --gray-600: #5A615F;
  --gray-500: #7C8482;
  --gray-400: #A8AEAC;
  --gray-300: #D9DEDC;
  --gray-200: #EAEEEC;
  --gray-100: #F7F7F7;
  --white: #FFFFFF;

  /* Semântica */
  --bg: var(--white);
  --bg-soft: var(--gray-100);
  --text: var(--ink);
  --text-muted: var(--gray-600);
  --border: var(--gray-200);
  --border-strong: var(--gray-300);

  /* Tipografia */
  --font-display: 'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-display: clamp(2.5rem, 1.5rem + 3.1vw, 4.15rem);
  --fs-h1: clamp(2.15rem, 1.3rem + 3.2vw, 3.5rem);
  --fs-h2: clamp(1.85rem, 1.2rem + 2.5vw, 2.9rem);
  --fs-h3: clamp(1.2rem, 1.05rem + 0.55vw, 1.5rem);
  --fs-h4: clamp(1.05rem, 1rem + 0.3vw, 1.18rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.45vw, 1.28rem);
  --fs-body: 1rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --fs-eyebrow: 0.78rem;

  /* Espaço */
  --space-section: clamp(4.5rem, 2.5rem + 7vw, 9rem);
  --container: 1200px;
  --container-narrow: 860px;
  --gutter: clamp(1.25rem, 0.75rem + 2.2vw, 2.5rem);

  /* Formas */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-full: 999px;

  /* Sombras */
  --shadow-xs: 0 1px 2px rgba(8, 32, 30, 0.05);
  --shadow-sm: 0 2px 8px rgba(8, 32, 30, 0.05), 0 1px 2px rgba(8, 32, 30, 0.04);
  --shadow-md: 0 10px 30px -12px rgba(8, 32, 30, 0.16), 0 2px 8px rgba(8, 32, 30, 0.05);
  --shadow-lg: 0 28px 60px -28px rgba(8, 32, 30, 0.28), 0 8px 20px -12px rgba(8, 32, 30, 0.12);
  --shadow-orange: 0 12px 28px -12px rgba(230, 106, 30, 0.5);

  /* Movimento */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.45s;

  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02','cv03','cv04','cv11';
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--green-700); color: #fff; }

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--space-section); position: relative; }

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

.section--dark {
  background: var(--green-900);
  color: #fff;
}

.section--dark h2, .section--dark h3 { color: #fff; }

.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }

.skip-link {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translate(-50%, -180%);
  background: var(--green-700);
  color: #fff;
  padding: 0.7rem 1.25rem;
  border-radius: var(--r-full);
  z-index: 200;
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

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

/* --------------------------------------------------------------------------
   4. TIPOGRAFIA UTILITÁRIA
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 1.15rem;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1.5px;
  background: var(--orange-500);
  border-radius: 2px;
}
.section--dark .eyebrow { color: var(--green-200); }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 1.25rem;
}
.section--dark .lead { color: rgba(255,255,255,0.72); }

.text-accent { color: var(--orange-500); }
.text-green { color: var(--green-700); }

/* --------------------------------------------------------------------------
   5. BOTÕES
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--green-700);
  --btn-fg: #fff;
  --btn-bd: var(--green-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { --btn-bg: var(--orange-500); --btn-bd: var(--orange-500); box-shadow: var(--shadow-orange); }
.btn--primary:hover { --btn-bg: var(--orange-600); --btn-bd: var(--orange-600); box-shadow: 0 18px 34px -14px rgba(230,106,30,0.6); }

.btn--dark { --btn-bg: var(--green-700); --btn-bd: var(--green-700); box-shadow: var(--shadow-md); }
.btn--dark:hover { --btn-bg: var(--green-800); --btn-bd: var(--green-800); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--green-700); --btn-bd: var(--border-strong); }
.btn--ghost:hover { --btn-bd: var(--green-700); background: var(--green-050); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--green-900); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--green-050); --btn-bd: var(--green-050); }

.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,0.32); }
.btn--outline-light:hover { --btn-bd: rgba(255,255,255,0.75); background: rgba(255,255,255,0.07); }

.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn--sm { padding: 0.7rem 1.15rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--green-700);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. HEADER
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 24px rgba(8, 32, 30, 0.05);
}

.header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 0.7rem; flex: none; }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__mark .ring { stroke: var(--green-700); }
.logo__mark .vector { stroke: var(--orange-500); }
.logo__mark .node-a { fill: var(--green-700); }
.logo__mark .node-b { fill: var(--orange-500); }

.logo__text { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.logo__name {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--green-900);
}
.logo__sub {
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-top: 4px;
}
.logo--light .logo__name { color: #fff; }
.logo--light .logo__sub { color: rgba(255,255,255,0.55); }
.logo--light .logo__mark .ring { stroke: #fff; }
.logo--light .logo__mark .node-a { fill: #fff; }

/* Navegação */
.nav { display: flex; align-items: center; gap: 0.35rem; }

.nav__link {
  position: relative;
  white-space: nowrap;
  padding: 0.5rem 0.85rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--r-sm);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__link:hover { color: var(--green-700); background: var(--green-050); }

.header__actions { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  position: relative;
  width: 18px; height: 1.8px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px; height: 1.8px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded='true'] span { background: transparent; }
.nav-toggle[aria-expanded='true'] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] span::after { top: 0; transform: rotate(-45deg); }

/* Drawer mobile */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: #fff;
  z-index: 99;
  padding: 2rem var(--gutter) 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.mobile-nav a:not(.btn) {
  padding: 1rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--green-900);
  border-bottom: 1px solid var(--border);
}
.mobile-nav .btn { margin-top: 1.75rem; }

body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 5vw, 6rem));
  padding-bottom: clamp(3.5rem, 2rem + 6vw, 7rem);
  overflow: hidden;
  background: linear-gradient(180deg, var(--green-050) 0%, #fff 62%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(15, 76, 69, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 76, 69, 0.055) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 90% 62% at 50% 0%, #000 5%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 62% at 50% 0%, #000 5%, transparent 78%);
}

.hero__glow {
  position: absolute;
  top: -18%;
  right: -8%;
  width: min(720px, 78vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(230, 106, 30, 0.13) 0%, transparent 62%);
  pointer-events: none;
  filter: blur(10px);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(2.5rem, 1rem + 3vw, 3.75rem);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.95rem 0.45rem 0.5rem;
  background: rgba(255,255,255,0.75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--gray-700);
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.6rem;
}
.hero__badge b {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  background: var(--green-700);
  color: #fff;
  border-radius: var(--r-full);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: var(--fs-display);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 1.02;
  color: var(--green-900);
}
.hero h1 em { font-style: normal; color: var(--green-700); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 0.085em;
  background: var(--orange-500);
  border-radius: 2px;
  transform-origin: left;
  animation: underline-in 1s var(--ease-out-expo) 0.5s both;
}
@keyframes underline-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero__lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--gray-600);
  max-width: 34em;
  margin-top: 1.5rem;
}

.hero .btn-row { margin-top: 2.35rem; }

.hero__note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: var(--fs-xs);
  color: var(--gray-500);
}
.hero__note svg { width: 15px; height: 15px; color: var(--green-600); flex: none; }

/* Diagrama do sistema (visual do hero) */
.system-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  overflow: hidden;
}
.system-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-700), var(--orange-500));
}

.system-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--border);
}
.system-card__title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--green-900);
}
.system-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-050);
  border: 1px solid var(--green-100);
  padding: 0.3rem 0.6rem;
  border-radius: var(--r-full);
}
.system-card__pill i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

.flow { display: grid; gap: 0.55rem; }

.flow__step {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 0.9rem;
  background: var(--gray-100);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.flow__step.is-active {
  background: #fff;
  border-color: var(--green-200);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.flow__icon {
  width: 34px; height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--green-700);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.flow__icon svg { width: 17px; height: 17px; }
.flow__step.is-active .flow__icon {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}
.flow__label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--green-900); letter-spacing: -0.015em; line-height: 1.3; }
.flow__meta { display: block; font-size: 0.75rem; color: var(--gray-500); margin-top: 3px; line-height: 1.35; }
.flow__text { min-width: 0; }
.flow__arrow { margin-left: auto; color: var(--gray-300); flex: none; }
.flow__arrow svg { width: 15px; height: 15px; }
.flow__step.is-active .flow__arrow { color: var(--orange-500); }

.flow__result {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.55rem;
  padding: 0.95rem 0.9rem;
  background: var(--green-900);
  border-radius: var(--r-md);
  color: #fff;
}
.flow__result .flow__icon { background: var(--orange-500); border-color: var(--orange-500); color: #fff; }
.flow__result .flow__label { color: #fff; }
.flow__result .flow__meta { color: rgba(255,255,255,0.6); }
.flow__result-value {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange-300);
  letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   8. FAIXA DE CREDIBILIDADE
   -------------------------------------------------------------------------- */
.trustbar {
  border-block: 1px solid var(--border);
  padding-block: 2rem;
  background: #fff;
}
.trustbar__label {
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}
.trustbar__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 0.75rem;
}
.trustbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--gray-700);
  background: var(--gray-100);
}
.trustbar__item svg { width: 16px; height: 16px; color: var(--green-600); flex: none; }

/* --------------------------------------------------------------------------
   9. GRIDS E CARDS
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 1.15rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  padding: 1.85rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  height: 100%;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-200);
}

.card__icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--green-050);
  border: 1px solid var(--green-100);
  color: var(--green-700);
  margin-bottom: 1.35rem;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card__icon svg { width: 22px; height: 22px; }
.card:hover .card__icon { background: var(--green-700); border-color: var(--green-700); color: #fff; }

.card h3 { font-size: var(--fs-h4); margin-bottom: 0.6rem; color: var(--green-900); }
.card p { font-size: var(--fs-sm); color: var(--text-muted); }

.card__tag {
  position: absolute;
  top: 1.6rem; right: 1.6rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-600);
  background: var(--orange-100);
  padding: 0.28rem 0.55rem;
  border-radius: var(--r-full);
}

.card--featured {
  background: var(--green-900);
  border-color: var(--green-800);
  color: #fff;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.card--featured::after {
  content: '';
  position: absolute;
  bottom: -55%; right: -18%;
  width: 380px; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(230,106,30,0.2) 0%, transparent 62%);
  pointer-events: none;
}
.card--featured:hover { border-color: var(--green-600); }
.card--featured h3 { color: #fff; font-size: var(--fs-h3); }
.card--featured p { color: rgba(255,255,255,0.7); font-size: var(--fs-body); max-width: 46ch; }
.card--featured .card__icon { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); color: var(--orange-300); }
.card--featured:hover .card__icon { background: var(--orange-500); border-color: var(--orange-500); color: #fff; }
.card--featured .card__tag { background: rgba(230,106,30,0.18); color: var(--orange-300); }

.card__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.4rem;
  position: relative;
}
.card__list li {
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: 0.32rem 0.7rem;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.82);
}

/* --------------------------------------------------------------------------
   10. QUEM SOMOS
   -------------------------------------------------------------------------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 1rem + 5vw, 5rem); align-items: center; }

.about__points { display: grid; gap: 1.35rem; margin-top: 2.25rem; }
.about__point { display: flex; gap: 1rem; }
.about__point-icon {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--green-050);
  border: 1px solid var(--green-100);
  color: var(--green-700);
}
.about__point-icon svg { width: 19px; height: 19px; }
.about__point h3 { font-size: var(--fs-h4); margin-bottom: 0.25rem; color: var(--green-900); }
.about__point p { font-size: var(--fs-sm); color: var(--text-muted); }

.about__visual { position: relative; }

.quote-card {
  background: var(--green-900);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(2rem, 1.2rem + 2.4vw, 3rem);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.quote-card::before {
  content: '';
  position: absolute;
  top: -30%; left: -20%;
  width: 420px; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(29,131,119,0.28) 0%, transparent 62%);
}
.quote-card__mark { position: relative; width: 42px; height: 42px; margin-bottom: 1.5rem; opacity: 0.9; }
.quote-card p {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.9vw, 1.55rem);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.025em;
  color: #fff;
}
.quote-card p strong { color: var(--orange-300); font-weight: 500; }
.quote-card footer {
  position: relative;
  margin-top: 1.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
}

/* --------------------------------------------------------------------------
   11. MÉTODO FORMA
   -------------------------------------------------------------------------- */
.method__acronym {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
  justify-content: center;
}
.method__acronym span {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1rem + 4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.16);
  transition: color 0.5s var(--ease);
}
.method__acronym span.is-lit { color: #fff; }

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

.steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.22), rgba(230,106,30,0.55));
}

.step { position: relative; padding-top: 0; }

.step__num {
  position: relative;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-850);
  border: 1px solid rgba(255,255,255,0.14);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.step:hover .step__num { background: var(--orange-500); border-color: var(--orange-500); transform: scale(1.06); }

.step__idx {
  position: absolute;
  top: -6px; right: -6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--green-900);
  background: var(--orange-300);
  border-radius: var(--r-full);
  padding: 0.12rem 0.36rem;
  font-family: var(--font-body);
}

.step h3 { font-size: var(--fs-h4); margin-bottom: 0.5rem; }
.step p { font-size: var(--fs-sm); color: rgba(255,255,255,0.62); }

.step__deliver {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  gap: 0.4rem;
}
.step__deliver li {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.5);
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  line-height: 1.45;
}
.step__deliver li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--orange-500);
  flex: none;
  margin-top: 0.5em;
}

/* --------------------------------------------------------------------------
   12. RESULTADOS / MÉTRICAS
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: #fff; padding: clamp(1.6rem, 1rem + 1.6vw, 2.4rem); }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--green-700);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat__value .suffix { color: var(--orange-500); }
.stat__label { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 0.8rem; }

.section--dark .stats { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.12); }
.section--dark .stat { background: var(--green-900); }
.section--dark .stat__value { color: #fff; }
.section--dark .stat__label { color: rgba(255,255,255,0.6); }

/* Depoimentos */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; margin-top: 3rem; }
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.testimonial__stars { display: flex; gap: 2px; color: var(--orange-500); margin-bottom: 1.1rem; }
.testimonial__stars svg { width: 15px; height: 15px; }
.testimonial p { font-size: var(--fs-sm); color: var(--gray-700); line-height: 1.68; }
.testimonial footer {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.testimonial__avatar {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-050);
  border: 1px solid var(--green-100);
  color: var(--green-700);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.testimonial__name { font-size: var(--fs-sm); font-weight: 600; color: var(--green-900); line-height: 1.3; }
.testimonial__role { font-size: var(--fs-xs); color: var(--gray-500); }

/* --------------------------------------------------------------------------
   13. SEGMENTOS
   -------------------------------------------------------------------------- */
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.segment {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.segment:hover { border-color: var(--green-200); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.segment__icon {
  width: 42px; height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--green-050);
  color: var(--green-700);
  border: 1px solid var(--green-100);
}
.segment__icon svg { width: 20px; height: 20px; }
.segment h3 { font-size: var(--fs-h4); margin-bottom: 0.3rem; color: var(--green-900); }
.segment p { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.55; }

/* --------------------------------------------------------------------------
   14. TECNOLOGIAS
   -------------------------------------------------------------------------- */
.tech-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.tech-group h3 {
  font-size: var(--fs-xs);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  padding-bottom: 0.9rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}
.section--dark .tech-group h3 { color: var(--green-200); border-bottom-color: rgba(255,255,255,0.12); }
.tech-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tech-chips li {
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: 0.45rem 0.8rem;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.78);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.tech-chips li:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.24); color: #fff; }

/* --------------------------------------------------------------------------
   15. DIFERENCIAIS (COMPARATIVO)
   -------------------------------------------------------------------------- */
.compare {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
}
.compare__cell {
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.compare__cell:nth-child(3n) { border-right: 0; }
.compare__row-label { font-weight: 600; color: var(--green-900); background: var(--gray-100); }

.compare__head {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: -0.02em;
  padding-block: 1.35rem;
}
.compare__head--them { background: var(--gray-100); color: var(--gray-600); }
.compare__head--us { background: var(--green-900); color: #fff; }
.compare__head--us .badge-us {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--orange-500);
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: var(--r-full);
}

.compare__cell--them { color: var(--gray-500); }
.compare__cell--us { color: var(--green-900); font-weight: 500; background: var(--green-050); }
.compare__cell--us:last-child, .compare__cell--them:last-child { border-bottom: 0; }
.compare__cell:nth-last-child(-n+3) { border-bottom: 0; }

.compare__icon { width: 17px; height: 17px; flex: none; }
.compare__cell--them .compare__icon { color: var(--gray-400); }
.compare__cell--us .compare__icon { color: var(--green-600); }

/* --------------------------------------------------------------------------
   16. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 0.65rem; }

.faq__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq__item[open] { border-color: var(--green-200); box-shadow: var(--shadow-sm); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.3rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--green-900);
}
.faq__q::-webkit-details-marker { display: none; }

.faq__icon {
  width: 26px; height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--green-700);
  transition: transform 0.35s var(--ease), background-color 0.3s var(--ease),
              color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq__icon svg { width: 13px; height: 13px; }
.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}

.faq__a { padding: 0 1.5rem 1.45rem; }
.faq__a p { font-size: var(--fs-sm); color: var(--text-muted); max-width: 68ch; }

/* --------------------------------------------------------------------------
   17. CTA
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  background: var(--green-700);
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  overflow: hidden;
  text-align: center;
  color: #fff;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -60%; left: 50%;
  transform: translateX(-50%);
  width: min(900px, 120%);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(230,106,30,0.28) 0%, transparent 58%);
  pointer-events: none;
}
.cta-band__inner { position: relative; max-width: 720px; margin-inline: auto; }
.cta-band h2 { font-size: var(--fs-h2); color: #fff; }
.cta-band p { font-size: var(--fs-lead); color: rgba(255,255,255,0.78); margin-top: 1.15rem; }
.cta-band .btn-row { justify-content: center; margin-top: 2.25rem; }
.cta-band__micro { margin-top: 1.5rem; font-size: var(--fs-xs); color: rgba(255,255,255,0.6); }

/* --------------------------------------------------------------------------
   18. CONTATO / FORMULÁRIO
   -------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 1rem + 4vw, 4.5rem); align-items: start; }

.contact__info { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.contact__item { display: flex; gap: 0.95rem; align-items: flex-start; }
.contact__item-icon {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--green-050);
  border: 1px solid var(--green-100);
  color: var(--green-700);
}
.contact__item-icon svg { width: 18px; height: 18px; }
.contact__item-label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); }
.contact__item-value { font-size: var(--fs-body); font-weight: 500; color: var(--green-900); margin-top: 2px; }
.contact__item-value:hover { color: var(--orange-600); }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 1rem + 2vw, 2.75rem);
  box-shadow: var(--shadow-md);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }

.field label { font-size: var(--fs-xs); font-weight: 600; color: var(--gray-700); letter-spacing: 0.01em; }
.field label .req { color: var(--orange-500); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: var(--fs-sm);
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 108px; line-height: 1.6; }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A615F' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 16px; padding-right: 2.5rem; }

.field input::placeholder, .field textarea::placeholder { color: var(--gray-400); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(29, 131, 119, 0.13);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #D64545; background: #FEF4F4; }

.field__error { font-size: var(--fs-xs); color: #C43333; display: none; }
.field.has-error .field__error { display: block; }

.consent {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 0.25rem;
}
.consent input { width: 17px; height: 17px; flex: none; margin-top: 3px; accent-color: var(--green-700); cursor: pointer; }
.consent label { font-size: var(--fs-xs); color: var(--gray-600); line-height: 1.55; font-weight: 400; }
.consent a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }
.consent.has-error label { color: #C43333; }
.consent.has-error input { outline: 2px solid #D64545; outline-offset: 2px; border-radius: 3px; }

.form-footer { grid-column: 1 / -1; margin-top: 0.5rem; }
.form-note { font-size: var(--fs-xs); color: var(--gray-500); text-align: center; margin-top: 1rem; }

.form-status {
  grid-column: 1 / -1;
  display: none;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.95rem 1.1rem;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  margin-bottom: 0.5rem;
}
.form-status.is-visible { display: flex; }
.form-status--ok { background: var(--green-050); border: 1px solid var(--green-100); color: var(--green-700); }
.form-status--err { background: #FEF4F4; border: 1px solid #F6DADA; color: #C43333; }
.form-status svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* --------------------------------------------------------------------------
   19. RODAPÉ
   -------------------------------------------------------------------------- */
.footer { background: var(--green-900); color: rgba(255,255,255,0.62); padding-top: clamp(3.5rem, 2rem + 4vw, 5.5rem); }

.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(2rem, 1rem + 3vw, 3.5rem); padding-bottom: 3.5rem; }

.footer__brand p { font-size: var(--fs-sm); max-width: 34ch; margin-top: 1.35rem; line-height: 1.65; }

.footer__social { display: flex; gap: 0.5rem; margin-top: 1.75rem; }
.footer__social a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.7);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer__social a:hover { background: var(--orange-500); border-color: var(--orange-500); color: #fff; transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; }

.footer__col h3 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}
.footer__col ul { display: grid; gap: 0.7rem; }
.footer__col a { font-size: var(--fs-sm); transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--orange-300); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.75rem 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.35rem; }
.footer__legal a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   20. WHATSAPP FLUTUANTE
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem 0.85rem 0.9rem;
  background: #12A150;
  color: #fff;
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  box-shadow: 0 14px 34px -12px rgba(18, 161, 80, 0.65);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.5s var(--ease-out-expo), opacity 0.4s var(--ease), background-color 0.25s;
}
.wa-float.is-visible { transform: translateY(0); opacity: 1; }
.wa-float:hover { background: #0E8B44; }
.wa-float svg { width: 22px; height: 22px; flex: none; }

/* --------------------------------------------------------------------------
   21. COOKIE BANNER (LGPD)
   -------------------------------------------------------------------------- */
.cookie {
  position: fixed;
  left: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  z-index: 120;
  width: min(430px, calc(100vw - 2rem));
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  transform: translateY(140%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.55s var(--ease-out-expo), opacity 0.4s var(--ease), visibility 0.5s;
}
.cookie.is-visible { transform: translateY(0); opacity: 1; visibility: visible; }
.cookie h2 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--green-900); }
.cookie p { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.6; }
.cookie p a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.cookie__actions .btn { flex: 1 1 auto; }
.cookie__prefs { display: none; margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid var(--border); gap: 0.9rem; }
.cookie__prefs.is-open { display: grid; }
.cookie__pref { display: flex; align-items: flex-start; gap: 0.7rem; }
.cookie__pref input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--green-700); flex: none; }
.cookie__pref-name { font-size: var(--fs-xs); font-weight: 600; color: var(--green-900); }
.cookie__pref-desc { font-size: 0.75rem; color: var(--gray-500); line-height: 1.5; }
.cookie__toggle {
  background: none;
  border: 0;
  padding: 0;
  margin-top: 0.9rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--green-700);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --------------------------------------------------------------------------
   22. PÁGINAS LEGAIS
   -------------------------------------------------------------------------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 5rem));
  padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
  background: linear-gradient(180deg, var(--green-050) 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: var(--fs-h1); color: var(--green-900); }
.page-hero p { color: var(--text-muted); margin-top: 1rem; font-size: var(--fs-sm); }

.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: var(--fs-xs); color: var(--gray-500); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--green-700); }
.breadcrumb svg { width: 13px; height: 13px; }

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.7rem); margin-top: 3rem; margin-bottom: 1rem; color: var(--green-900); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-h4); margin-top: 2rem; margin-bottom: 0.65rem; color: var(--green-900); }
.prose p { color: var(--gray-700); margin-bottom: 1.1rem; font-size: var(--fs-sm); line-height: 1.75; }
.prose ul { display: grid; gap: 0.6rem; margin-bottom: 1.35rem; }
.prose ul li {
  position: relative;
  padding-left: 1.4rem;
  font-size: var(--fs-sm);
  color: var(--gray-700);
  line-height: 1.7;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0.3rem; top: 0.72em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange-500);
}
.prose a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--green-900); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: var(--fs-xs); }
.prose th, .prose td { text-align: left; padding: 0.75rem 0.9rem; border: 1px solid var(--border); }
.prose th { background: var(--gray-100); font-weight: 600; color: var(--green-900); }

.legal-note {
  background: var(--green-050);
  border: 1px solid var(--green-100);
  border-left: 3px solid var(--green-700);
  border-radius: var(--r-md);
  padding: 1.15rem 1.35rem;
  margin-bottom: 2rem;
}
.legal-note p { margin: 0; font-size: var(--fs-xs); color: var(--green-700); }

/* Página obrigado */
.thanks { min-height: 68vh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }
.thanks__icon {
  width: 76px; height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-050);
  border: 1px solid var(--green-100);
  color: var(--green-700);
  margin: 0 auto 2rem;
}
.thanks__icon svg { width: 34px; height: 34px; }

/* --------------------------------------------------------------------------
   23. ANIMAÇÕES DE ENTRADA
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   24. RESPONSIVO
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.25rem; }
  .steps::before { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 940px) {
  .nav, .header__actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; width: 100%; }
  .about { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .tech-groups { grid-template-columns: 1fr 1fr; }
  .segments { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .card--featured { grid-column: span 2; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .card--featured { grid-column: span 1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .segments { grid-template-columns: 1fr; }
  .tech-groups { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .logo__sub { display: none; }

  /* Comparativo vira lista empilhada */
  .compare { grid-template-columns: 1fr; border: 0; border-radius: 0; background: transparent; }
  .compare__head--label { display: none; }
  .compare__cell {
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    margin-bottom: 0.5rem;
  }
  .compare__row-label { background: var(--green-900); color: #fff; margin-top: 1.25rem; }
  .compare__head { display: none; }
  .compare__cell--them::before { content: 'Agência tradicional'; font-weight: 700; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-400); display: block; margin-bottom: 0.2rem; }
  .compare__cell--us::before { content: 'Inspira Forma'; font-weight: 700; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-600); display: block; margin-bottom: 0.2rem; }
  .compare__cell--them, .compare__cell--us { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
  .compare__icon { display: none; }

  /* CTAs ocupam a largura toda e podem quebrar em duas linhas:
     rótulos longos não cabem em uma linha só em telas estreitas. */
  .btn { white-space: normal; text-align: center; }
  .btn--lg { padding: 1rem 1.35rem; font-size: 0.95rem; }
  .btn-row { gap: 0.7rem; }
  .btn-row > .btn { width: 100%; }
  .cta-band { padding: 2.5rem 1.35rem; }

  .wa-float span { display: none; }
  .wa-float { padding: 1rem; }
  .cookie { width: calc(100vw - 2rem); }
  .cookie__actions .btn { flex: 1 1 100%; }
}

@media (max-width: 460px) {
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .hero__badge { font-size: 0.7rem; }
}

/* --------------------------------------------------------------------------
   25. PREFERÊNCIAS DE MOVIMENTO / IMPRESSÃO
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .header, .wa-float, .cookie, .mobile-nav, .cta-band, .nav-toggle { display: none !important; }
  body { color: #000; }
  .section { padding-block: 1.5rem; }
}

/* --------------------------------------------------------------------------
   26. PRODUTO ROTA (página do sistema de cotação para táxi aéreo)
   -------------------------------------------------------------------------- */
.product-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1rem 0.5rem 0.6rem;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: var(--r-full);
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.6rem;
}
.product-lockup__mark { width: 26px; height: 26px; flex: none; }
.product-lockup__name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green-900);
}
.product-lockup__by { font-size: var(--fs-xs); color: var(--gray-500); }
.section--dark .product-lockup { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.14); }
.section--dark .product-lockup__name { color: #fff; }
.section--dark .product-lockup__by { color: rgba(255,255,255,0.55); }

/* Cartão de cotação (demonstração) */
.quote {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.quote__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: var(--green-900);
  color: #fff;
}
.quote__title { font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; letter-spacing: -0.02em; }
.quote__flag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange-300);
  background: rgba(230,106,30,0.16);
  border: 1px solid rgba(230,106,30,0.3);
  padding: 0.26rem 0.55rem; border-radius: var(--r-full);
}
.quote__body { padding: 1.4rem; }
.quote__leg { display: grid; gap: 0.55rem; }
.quote__row {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.85rem;
  background: var(--gray-100);
  border-radius: var(--r-md);
}
.quote__label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--gray-500);
}
.quote__value { font-size: var(--fs-sm); font-weight: 600; color: var(--green-900); letter-spacing: -0.015em; }
.quote__value small { display: block; font-weight: 400; font-size: 0.75rem; color: var(--gray-500); letter-spacing: 0; margin-top: 2px; }
.quote__icao {
  display: inline-block;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.72rem; font-weight: 700;
  color: var(--green-700); background: var(--green-050);
  border: 1px solid var(--green-100);
  padding: 0.1rem 0.4rem; border-radius: 5px; margin-right: 0.45rem;
}
.quote__calc {
  margin-top: 1.1rem; padding-top: 1.1rem;
  border-top: 1px dashed var(--border-strong);
  display: grid; gap: 0.5rem;
}
.quote__calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: var(--fs-sm); }
.quote__calc-row span:first-child { color: var(--text-muted); }
.quote__calc-row span:last-child { font-weight: 600; color: var(--green-900); font-variant-numeric: tabular-nums; }
.quote__total {
  margin-top: 1.1rem; padding: 1.1rem 1.15rem;
  background: var(--green-050);
  border: 1px solid var(--green-100);
  border-radius: var(--r-md);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.quote__total-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--green-600); }
.quote__total-value {
  font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.95rem);
  font-weight: 700; letter-spacing: -0.04em; color: var(--green-700); font-variant-numeric: tabular-nums;
}
.quote__actions { margin-top: 1.1rem; display: flex; gap: 0.55rem; }
.quote__actions .btn { flex: 1; }
.quote__note { margin-top: 0.9rem; font-size: 0.72rem; color: var(--gray-500); text-align: center; line-height: 1.5; }

/* Fórmula do motor de cálculo */
.formula {
  background: var(--green-900);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  overflow-x: auto;
}
.formula__line {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.8rem 0;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.formula__op {
  width: 32px; height: 32px; flex: none;
  display: grid; place-items: center;
  border-radius: 9px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--orange-300);
}
.formula__what { font-weight: 600; color: #fff; }
.formula__why { color: rgba(255,255,255,0.55); font-size: var(--fs-xs); display: block; margin-top: 2px; font-weight: 400; }
.formula__result {
  margin-top: 0.4rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h4); color: var(--orange-300);
}

/* Painel administrativo */
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.panel__bar {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.75rem 1rem;
  background: var(--gray-100);
  border-bottom: 1px solid var(--border);
}
.panel__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-300); flex: none; }
.panel__bar-title { margin-left: 0.6rem; font-size: var(--fs-xs); color: var(--gray-500); font-weight: 500; }
.panel__body { padding: 1.25rem; display: grid; gap: 0.6rem; }
.panel__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 0.85rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.panel__code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.72rem; font-weight: 700; color: var(--gray-500); }
.panel__route { font-size: var(--fs-sm); font-weight: 600; color: var(--green-900); }
.panel__meta { font-size: 0.72rem; color: var(--gray-500); margin-top: 1px; }
.panel__status {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.28rem 0.6rem; border-radius: var(--r-full); white-space: nowrap;
}
.panel__status--nova { background: var(--orange-100); color: var(--orange-700); }
.panel__status--negociacao { background: #E8F1FB; color: #1B5FA8; }
.panel__status--fechada { background: var(--green-100); color: var(--green-700); }

/* Lista de checagem */
.checklist { display: grid; gap: 0.9rem; margin-top: 1.75rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-muted); }
.checklist svg { width: 19px; height: 19px; flex: none; color: var(--green-600); margin-top: 2px; }
.checklist b { color: var(--green-900); font-weight: 600; }
.section--dark .checklist li { color: rgba(255,255,255,0.68); }
.section--dark .checklist b { color: #fff; }
.section--dark .checklist svg { color: var(--orange-300); }

/* Faixa de números */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.figure { background: #fff; padding: 1.6rem 1.25rem; text-align: center; }
.figure__value {
  font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
  font-weight: 700; letter-spacing: -0.045em; color: var(--green-700); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.figure__label { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 0.6rem; }

/* Destaque de item no menu (produto) */
.nav__link--produto { color: var(--green-700); font-weight: 600; }
.nav__link--produto::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange-500);
  margin-left: 6px;
  vertical-align: middle;
}

/* Com 7 itens o menu ja fica apertado antes do breakpoint antigo */
@media (max-width: 1400px) {
  .nav__link { padding-inline: 0.72rem; }
}
@media (max-width: 1140px) {
  .nav { gap: 0; }
  .nav__link { padding-inline: 0.55rem; font-size: 0.875rem; }
}
@media (max-width: 1020px) {
  .nav__link { padding-inline: 0.42rem; font-size: 0.82rem; }
  .header__inner { gap: 1rem; }
}
@media (max-width: 1080px) { .figures { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .quote__row { grid-template-columns: 78px 1fr; }
  .quote__actions { flex-direction: column; }
  .figures { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   27. DIAGNÓSTICO INTERATIVO (quiz + termômetro)
   -------------------------------------------------------------------------- */
.quiz-wrap {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--green-050) 0%, #fff 55%);
}

.quiz {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Progresso */
.quiz__progress { margin-bottom: 2.5rem; }
.quiz__progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.7rem;
}
.quiz__progress-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-600);
}
.quiz__progress-count { font-size: var(--fs-xs); color: var(--gray-500); font-variant-numeric: tabular-nums; }
.quiz__progress-track {
  height: 6px;
  background: var(--gray-200);
  border-radius: var(--r-full);
  overflow: hidden;
}
.quiz__progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green-700), var(--orange-500));
  border-radius: var(--r-full);
  transition: width 0.55s var(--ease-out-expo);
}

/* Passo */
.quiz__step { display: none; animation: quizIn 0.45s var(--ease-out-expo) both; }
.quiz__step.is-active { display: block; }
@keyframes quizIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.quiz__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--orange-600);
  background: var(--orange-100);
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-full);
  margin-bottom: 1.1rem;
}

.quiz__question {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.15rem + 1.7vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--green-900);
}
.quiz__hint {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 0.85rem;
}

/* Opções */
.quiz__options { display: grid; gap: 0.7rem; margin-top: 2rem; }
.quiz__options--two { grid-template-columns: 1fr 1fr; }

.quiz__option {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-lg);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
              transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.quiz__option:hover {
  border-color: var(--green-500);
  background: var(--green-050);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.quiz__option.is-selected {
  border-color: var(--green-700);
  background: var(--green-050);
  box-shadow: 0 0 0 3px rgba(15,76,69,0.12);
}

.quiz__option-icon {
  width: 44px; height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--green-050);
  border: 1px solid var(--green-100);
  color: var(--green-700);
  font-size: 1.3rem;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.quiz__option-icon svg { width: 21px; height: 21px; }
.quiz__option:hover .quiz__option-icon,
.quiz__option.is-selected .quiz__option-icon { background: var(--green-700); border-color: var(--green-700); color: #fff; }

.quiz__option-text { min-width: 0; flex: 1; }
.quiz__option-title {
  display: block;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--green-900);
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.quiz__option-desc {
  display: block;
  font-size: var(--fs-xs);
  color: var(--gray-500);
  margin-top: 3px;
  line-height: 1.45;
}
.quiz__option-check {
  width: 24px; height: 24px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  display: grid;
  place-items: center;
  color: transparent;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.quiz__option-check svg { width: 13px; height: 13px; }
.quiz__option.is-selected .quiz__option-check {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}

/* Navegação */
.quiz__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}
.quiz__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 0;
  padding: 0.6rem 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.quiz__back:hover { color: var(--green-700); }
.quiz__back svg { width: 16px; height: 16px; transform: rotate(180deg); }
.quiz__back[hidden] { visibility: hidden; }

/* ---------------- RESULTADO ---------------- */
.result { display: none; animation: quizIn 0.6s var(--ease-out-expo) both; }
.result.is-active { display: block; }

.result__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.75rem, 1rem + 3vw, 3.25rem);
  align-items: center;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

/* Termômetro */
.thermo {
  position: relative;
  width: 108px;
  flex: none;
  display: flex;
  justify-content: center;
  padding-bottom: 12px;
}
.thermo__body { position: relative; width: 46px; }

.thermo__tube {
  position: relative;
  width: 30px;
  height: 260px;
  margin-inline: auto;
  background: var(--gray-200);
  border-radius: var(--r-full) var(--r-full) 0 0;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(8,32,30,0.12);
}
.thermo__mercury {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 0;
  background: linear-gradient(180deg, var(--thermo-top, #E66A1E), var(--thermo-bottom, #0F4C45));
  border-radius: var(--r-full) var(--r-full) 0 0;
  transition: height 1.6s var(--ease-out-expo), background 0.8s var(--ease);
}
.thermo__bulb {
  position: relative;
  width: 58px; height: 58px;
  margin: -14px auto 0;
  border-radius: 50%;
  background: var(--gray-200);
  box-shadow: inset 0 2px 8px rgba(8,32,30,0.14);
  display: grid;
  place-items: center;
  z-index: 2;
}
.thermo__bulb::after {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--thermo-bottom, #0F4C45);
  transition: background 0.8s var(--ease);
}

/* Marcas da escala */
.thermo__ticks {
  position: absolute;
  left: 50%;
  margin-left: 20px;
  top: 0;
  height: 260px;
  width: 90px;
}
.thermo__tick {
  position: absolute;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--gray-400);
  white-space: nowrap;
}
.thermo__tick::before {
  content: '';
  width: 8px; height: 1.5px;
  background: var(--gray-300);
  border-radius: 2px;
}

.result__score {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 0.6rem;
}
.result__score-value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 2.6vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--thermo-bottom, var(--green-700));
  font-variant-numeric: tabular-nums;
  transition: color 0.8s var(--ease);
}
.result__score-max { font-size: 1.1rem; font-weight: 600; color: var(--gray-400); }

.result__verdict {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--green-900);
  margin-bottom: 0.9rem;
}
.result__text { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.7; }

.result__points { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.result__point {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--gray-700);
  line-height: 1.55;
}
.result__point svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--green-600); }
.result__point b { color: var(--green-900); font-weight: 600; }

.result__cta {
  margin-top: 1.75rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  background: var(--green-900);
  border-radius: var(--r-xl);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.result__cta::before {
  content: '';
  position: absolute;
  top: -70%; right: -15%;
  width: 380px; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(230,106,30,0.24) 0%, transparent 62%);
  pointer-events: none;
}
.result__cta > * { position: relative; }
.result__cta h3 { font-size: var(--fs-h3); color: #fff; margin-bottom: 0.6rem; }
.result__cta p { font-size: var(--fs-sm); color: rgba(255,255,255,0.72); }

.result__form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 1.5rem; }
.result__form .field--full { grid-column: 1 / -1; }
.result__form label { color: rgba(255,255,255,0.72); }
.result__form input {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
  color: #fff;
}
.result__form input::placeholder { color: rgba(255,255,255,0.38); }
.result__form input:focus {
  background: rgba(255,255,255,0.13);
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(230,106,30,0.2);
}
.result__form .field.has-error input { border-color: #FF8A8A; background: rgba(255,138,138,0.1); }
.result__form .field__error { color: #FFB3B3; }

.result__restart {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
  background: none;
  border: 0;
  padding: 0;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.result__restart:hover { color: var(--green-700); }

/* Selo de confiança abaixo do quiz */
.quiz__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-top: 2.5rem;
  font-size: var(--fs-xs);
  color: var(--gray-500);
}
.quiz__trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.quiz__trust svg { width: 14px; height: 14px; color: var(--green-600); }

@media (max-width: 640px) {
  .quiz__options--two { grid-template-columns: 1fr; }
  .result__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .result__score { justify-content: center; }
  .result__point { text-align: left; }
  .result__form { grid-template-columns: 1fr; }
  .thermo { width: 100%; }
  .quiz__option { padding: 1rem; gap: 0.8rem; }
  .quiz__option-icon { width: 40px; height: 40px; }
}

/* --------------------------------------------------------------------------
   28. HERO INTERATIVO COM CIRCUITO (página de diagnóstico)
   -------------------------------------------------------------------------- */
.dx {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(15,76,69,0.07) 0%, transparent 70%),
    linear-gradient(180deg, var(--green-050) 0%, #fff 60%);
}

/* Canvas do circuito */
.dx__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: auto;
}

.dx__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 780px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.dx__inner > * { pointer-events: auto; }

/* Palco: intro e painel ocupam a mesma célula */
.dx__stage { display: grid; }
.dx__stage > * { grid-area: 1 / 1; }

/* ---- Estado de repouso: a chamada ---- */
.dx__intro {
  text-align: center;
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-out-expo), filter 0.5s var(--ease);
}
.dx.is-open .dx__intro {
  opacity: 0;
  transform: translateY(-30px) scale(0.96);
  filter: blur(3px);
  pointer-events: none;
}

.dx__intro h1 {
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--green-900);
}
.dx__intro h1 em { font-style: normal; color: var(--green-700); }
.dx__intro .lead { margin-inline: auto; max-width: 48ch; }

.dx__eyebrow { justify-content: center; }

/* Botão de início */
.dx__start { margin-top: 2.5rem; display: inline-flex; position: relative; }
.dx__start .btn { position: relative; z-index: 2; }
.dx__start::before,
.dx__start::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--orange-500);
  opacity: 0;
  animation: dxPing 2.8s var(--ease-out-expo) infinite;
  pointer-events: none;
}
.dx__start::after { animation-delay: 1.4s; }
@keyframes dxPing {
  0%   { transform: scale(0.95); opacity: 0.55; }
  70%  { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

.dx__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-top: 2rem;
  font-size: var(--fs-xs);
  color: var(--gray-500);
}
.dx__meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.dx__meta svg { width: 14px; height: 14px; color: var(--green-600); }

/* ---- Estado aberto: o painel do formulário ---- */
.dx__panel {
  background: rgba(255,255,255,0.9);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 1rem + 2.4vw, 2.75rem);
  opacity: 0;
  transform: scale(0.93) translateY(28px);
  filter: blur(4px);
  pointer-events: none;
  transition: opacity 0.55s var(--ease) 0.15s,
              transform 0.85s var(--ease-out-expo) 0.15s,
              filter 0.55s var(--ease) 0.15s;
}
.dx.is-open .dx__panel {
  opacity: 1;
  transform: none;
  filter: none;
  pointer-events: auto;
}

/* Cantos técnicos do painel */
.dx__panel::before,
.dx__panel::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid var(--orange-500);
  opacity: 0;
  transition: opacity 0.5s var(--ease) 0.5s;
}
.dx__panel::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-radius: var(--r-xl) 0 0 0; }
.dx__panel::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-radius: 0 0 var(--r-xl) 0; }
.dx.is-open .dx__panel::before,
.dx.is-open .dx__panel::after { opacity: 0.9; }

.dx__panel { position: relative; }

/* O quiz dentro do painel dispensa o container próprio */
.dx__panel .quiz {
  max-width: none;
  padding: 0;
  min-height: 0;
  display: block;
}
.dx__panel .quiz__progress { margin-bottom: 1.85rem; }

/* Botão de sair do formulário */
.dx__close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--gray-500);
  cursor: pointer;
  z-index: 3;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.dx__close svg { width: 15px; height: 15px; }
.dx__close:hover { color: var(--green-700); border-color: var(--green-500); transform: rotate(90deg); }

@media (max-width: 640px) {
  .dx { min-height: auto; padding-block: calc(var(--header-h) + 2rem) 3rem; }
  .dx__panel { padding: 1.35rem 1.15rem; }
  .dx__close { top: 0.6rem; right: 0.6rem; }
}

/* --------------------------------------------------------------------------
   29. DIAGNÓSTICO NO HERO + COMPORTAMENTO DE APP NO MOBILE
   Esta seção vem depois das anteriores e prevalece sobre elas.
   -------------------------------------------------------------------------- */

/* O hero da home vira o palco do diagnóstico */
.hero.dx {
  min-height: auto;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 2rem + 4vw, 5rem));
  padding-bottom: clamp(3rem, 2rem + 5vw, 6rem);
}
.hero.dx .dx__canvas { z-index: 1; }
.hero.dx .container { position: relative; z-index: 2; }
.hero.dx .hero__bg,
.hero.dx .hero__glow { z-index: 0; }

/* Palco: chamada e painel ocupam a mesma célula */
.dx__stage { display: grid; }
.dx__stage > * { grid-area: 1 / 1; min-width: 0; }

/* Enquanto o painel está aberto, o conteúdo normal do hero sai de cena */
.dx.is-open .dx__intro {
  opacity: 0;
  transform: translateY(-24px) scale(0.97);
  filter: blur(3px);
  pointer-events: none;
}

/* ---------------- Chamariz do diagnóstico no hero ---------------- */
.dx-teaser {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  overflow: hidden;
}
.dx-teaser::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-700), var(--orange-500));
}

.dx-teaser__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--border);
}
.dx-teaser__label {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--green-900);
}
.dx-teaser__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-050);
  border: 1px solid var(--green-100);
  padding: 0.3rem 0.6rem;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.dx-teaser__badge i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange-500);
  animation: pulse-dot 2s ease-in-out infinite;
}

.dx-teaser__q {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--green-900);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.dx-teaser__opts { display: grid; gap: 0.5rem; }

.dx-teaser__opt {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  text-align: left;
  padding: 0.8rem 0.9rem;
  background: var(--gray-100);
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.dx-teaser__opt:hover {
  background: #fff;
  border-color: var(--green-500);
  transform: translateX(3px);
}
.dx-teaser__opt-icon {
  width: 34px; height: 34px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--green-700);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.dx-teaser__opt-icon svg { width: 17px; height: 17px; }
.dx-teaser__opt:hover .dx-teaser__opt-icon {
  background: var(--green-700); border-color: var(--green-700); color: #fff;
}
.dx-teaser__opt-title { font-size: var(--fs-sm); font-weight: 600; color: var(--green-900); letter-spacing: -0.015em; }
.dx-teaser__opt-arrow { margin-left: auto; color: var(--gray-300); flex: none; }
.dx-teaser__opt-arrow svg { width: 15px; height: 15px; }
.dx-teaser__opt:hover .dx-teaser__opt-arrow { color: var(--orange-500); }

.dx-teaser__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  margin-top: 0.7rem;
  padding: 0.7rem;
  background: none;
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-md);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--green-700);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.dx-teaser__more:hover { border-color: var(--green-500); background: var(--green-050); }

.dx-teaser__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--gray-500);
}
.dx-teaser__foot span { display: inline-flex; align-items: center; gap: 0.35rem; }
.dx-teaser__foot svg { width: 13px; height: 13px; color: var(--green-600); }

/* ---------------- Barra superior do painel ---------------- */
.dx__top { position: relative; }

.dx__close {
  position: absolute;
  top: 0; right: 0;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--gray-500);
  cursor: pointer;
  z-index: 5;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.3s var(--ease);
}
.dx__close svg { width: 16px; height: 16px; }
.dx__close:hover { color: var(--green-700); border-color: var(--green-500); transform: rotate(90deg); }

.dx__appbar-title { display: none; }

/* No desktop o progresso divide a linha com o botão fechar */
.dx__panel .quiz__progress { margin-bottom: 1.85rem; padding-right: 56px; }

/* ==========================================================================
   MOBILE: o painel vira uma folha de aplicativo em tela cheia
   ========================================================================== */
@media (max-width: 860px) {

  /* Chamariz some: no mobile o botão é o ponto de entrada */
  .dx-teaser { display: none; }

  .dx__panel {
    position: fixed;
    inset: 0;
    z-index: 300;
    width: 100%;
    max-width: none;
    height: 100%;
    height: 100dvh;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    opacity: 1;
    filter: none;
    transform: translateY(100%);
    transition: transform 0.48s var(--ease-out-expo), visibility 0.48s;
    visibility: hidden;
    overscroll-behavior: contain;
  }
  .dx.is-open .dx__panel {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    filter: none;
  }
  .dx__panel::before, .dx__panel::after { display: none; }

  /* Barra do app, com respeito ao notch */
  .dx__top {
    flex: none;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: calc(env(safe-area-inset-top, 0px) + 0.75rem) 1rem 0.75rem;
    background: rgba(255,255,255,0.95);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 4;
  }

  .dx__close {
    position: static;
    width: 44px; height: 44px;
    flex: none;
    border-radius: var(--r-md);
    background: var(--gray-100);
    border-color: transparent;
  }
  .dx__close:hover { transform: none; }
  .dx__close svg { width: 18px; height: 18px; }

  .dx__appbar-title {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--green-900);
  }

  /* O progresso ocupa o resto da barra */
  .dx__panel .quiz__progress {
    flex: 1;
    margin: 0;
    padding: 0;
    min-width: 0;
  }
  .dx__panel .quiz__progress-top { margin-bottom: 0.4rem; }
  .dx__panel .quiz__progress-label { display: none; }
  .dx__panel .quiz__progress-count {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--green-600);
  }
  .dx__panel .quiz__progress-top { justify-content: flex-end; }
  .dx__panel .quiz__progress-track { height: 5px; }

  /* Área rolável, com espaço para a barra inferior do sistema */
  .dx__scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 1.5rem 1.15rem calc(env(safe-area-inset-bottom, 0px) + 2rem);
  }

  .dx__panel .quiz { padding: 0; max-width: none; min-height: 0; display: block; }

  /* Pergunta fica presa no topo enquanto as opções rolam */
  .quiz__step { animation-duration: 0.32s; }
  .quiz__kicker { margin-bottom: 0.8rem; }
  .quiz__question { font-size: 1.42rem; line-height: 1.18; }
  .quiz__hint { font-size: 0.85rem; margin-top: 0.6rem; }
  .quiz__options { margin-top: 1.35rem; gap: 0.55rem; }
  .quiz__options--two { grid-template-columns: 1fr; }

  /* Opções mais compactas para caber mais na tela, sem perder o toque de 44px */
  .quiz__option { padding: 0.85rem 0.9rem; gap: 0.8rem; border-radius: var(--r-md); min-height: 60px; }
  .quiz__option-icon { width: 38px; height: 38px; border-radius: 10px; }
  .quiz__option-icon svg { width: 18px; height: 18px; }
  .quiz__option-title { font-size: 0.95rem; }
  .quiz__option-desc { font-size: 0.75rem; margin-top: 1px; }
  .quiz__option-check { width: 22px; height: 22px; }

  /* Resposta ao toque, como em app nativo */
  .quiz__option:active { transform: scale(0.985); background: var(--green-050); border-color: var(--green-500); }
  .quiz__option:hover { transform: none; box-shadow: none; }

  .quiz__nav { margin-top: 1.5rem; }
  .quiz__back { padding: 0.8rem 0; min-height: 44px; }

  /* Resultado empilhado */
  .result__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 1.35rem 1.15rem;
    border-radius: var(--r-lg);
  }
  .result__score { justify-content: center; }
  .result__point { text-align: left; }
  .result__cta { padding: 1.35rem 1.15rem; border-radius: var(--r-lg); }
  .result__form { grid-template-columns: 1fr; }
  .thermo { width: 100%; }
  .thermo__tube { height: 210px; }
  .thermo__ticks { height: 210px; }
}

/* Telas bem estreitas */
@media (max-width: 380px) {
  .quiz__question { font-size: 1.28rem; }
  .quiz__option-desc { display: none; }
  .quiz__option { min-height: 56px; }
}

/* ==========================================================================
   CORREÇÕES DE MOBILE QUE VALEM PARA TODO O SITE
   ========================================================================== */
@media (max-width: 860px) {
  /* iOS dá zoom em qualquer campo com fonte menor que 16px.
     Abaixo desse tamanho a página inteira salta ao focar o campo. */
  input, select, textarea { font-size: 16px !important; }

  /* Respeita o notch e a barra inferior do iPhone */
  .wa-float { bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem); }
  .cookie { bottom: calc(env(safe-area-inset-bottom, 0px) + 1rem); }
  .mobile-nav { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 2.5rem); }
  .footer__bottom { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 2.25rem); }
}

/* Trava a rolagem do corpo enquanto a folha está aberta */
body.dx-aberto {
  overflow: hidden;
  position: fixed;
  width: 100%;
  overscroll-behavior: none;
}

/* --------------------------------------------------------------------------
   30. AMOSTRA DO ROTA (cotação ao vivo + proposta com marca dágua)
   -------------------------------------------------------------------------- */
.demo {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  align-items: start;
}

/* ---------------- Formulário ---------------- */
.demo__form {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: 1.5rem;
}

.demo__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.demo__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--green-900);
}
.demo__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-050);
  border: 1px solid var(--green-100);
  padding: 0.28rem 0.55rem;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.demo__badge i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange-500);
  animation: pulse-dot 2s ease-in-out infinite;
}

.demo__field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.85rem; }
.demo__field label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.demo__field select {
  width: 100%;
  padding: 0.8rem 2.5rem 0.8rem 0.95rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--green-900);
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A615F' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 16px;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.demo__field select:focus {
  outline: none;
  background-color: #fff;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(29,131,119,0.13);
}

/* Botão de inverter origem e destino */
.demo__swap-wrap { display: flex; justify-content: center; margin: -0.35rem 0 0.15rem; }
.demo__swap {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--green-700);
  cursor: pointer;
  transition: transform 0.3s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.demo__swap svg { width: 16px; height: 16px; }
.demo__swap:hover { background: var(--green-050); border-color: var(--green-500); transform: rotate(180deg); }

.demo__check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.35rem 0 1.25rem;
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--gray-700);
}
.demo__check input { width: 17px; height: 17px; accent-color: var(--green-700); cursor: pointer; flex: none; }

.demo__aviso {
  padding: 1rem 1.15rem;
  background: var(--orange-100);
  border: 1px solid rgba(230,106,30,0.25);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  color: var(--orange-700);
}

/* ---------------- A proposta ---------------- */
.demo__saida { min-width: 0; }

.proposta {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  overflow: hidden;
  /* Desencoraja a cópia casual do conteúdo da amostra */
  -webkit-user-select: none;
  user-select: none;
  animation: propostaEntra 0.5s var(--ease-out-expo) both;
}
@keyframes propostaEntra {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to   { opacity: 1; transform: none; }
}

/* Marca dágua diagonal */
.proposta__marca {
  position: absolute;
  inset: -20%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: space-around;
  justify-items: center;
  transform: rotate(-28deg);
  pointer-events: none;
  z-index: 2;
}
.proposta__marca span {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 2.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(15, 76, 69, 0.07);
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}

.proposta > *:not(.proposta__marca) { position: relative; z-index: 1; }

.proposta__topo {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.35rem;
  border-bottom: 2px solid var(--green-900);
}
.proposta__logo { display: flex; align-items: center; gap: 0.7rem; }
.proposta__logo svg { width: 34px; height: 34px; flex: none; }
.proposta__marca-nome {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green-900);
  line-height: 1.2;
}
.proposta__marca-nome small {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--gray-500);
  margin-top: 3px;
}
.proposta__meta { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.proposta__rot {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
}
.proposta__num {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-700);
  margin-top: 2px;
}
.proposta__data { font-size: 0.7rem; color: var(--gray-500); margin-top: 2px; }

/* Rota */
.proposta__rota {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
}
.proposta__ponto { display: flex; flex-direction: column; min-width: 0; }
.proposta__ponto--fim { text-align: right; align-items: flex-end; }
.proposta__icao {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--green-900);
  line-height: 1;
}
.proposta__local { font-size: var(--fs-sm); font-weight: 600; color: var(--green-700); margin-top: 5px; }
.proposta__aero { font-size: 0.72rem; color: var(--gray-500); margin-top: 2px; }

.proposta__linha { display: flex; align-items: center; gap: 0.5rem; color: var(--orange-500); }
.proposta__linha span {
  width: clamp(18px, 4vw, 44px);
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 5px, transparent 5px 9px);
}
.proposta__linha svg { width: 20px; height: 20px; flex: none; }

/* Tabela */
.proposta__tabela { width: 100%; border-collapse: collapse; margin-bottom: 1.35rem; }
.proposta__tabela th,
.proposta__tabela td {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
  text-align: left;
}
.proposta__tabela th { font-weight: 500; color: var(--gray-600); width: 42%; }
.proposta__tabela td { font-weight: 600; color: var(--green-900); text-align: right; }

.proposta__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: var(--green-900);
  border-radius: var(--r-md);
  color: #fff;
}
.proposta__total span {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.proposta__total strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--orange-300);
  font-variant-numeric: tabular-nums;
}

.proposta__nota {
  margin-top: 1.1rem;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--gray-500);
}
.proposta__nota--alerta {
  padding: 0.7rem 0.9rem;
  background: var(--orange-100);
  border-radius: var(--r-sm);
  color: var(--orange-700);
  font-weight: 500;
}

.proposta__rodape {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gray-400);
  text-align: center;
}

/* ---------------- Chamada depois da proposta ---------------- */
.demo__cta {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  margin-top: 1.15rem;
  padding: clamp(1.35rem, 1rem + 1.5vw, 1.85rem);
  background: var(--green-050);
  border: 1px solid var(--green-100);
  border-radius: var(--r-lg);
}
.demo__cta-icone {
  width: 44px; height: 44px;
  flex: none;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--green-100);
  color: var(--green-700);
}
.demo__cta-icone svg { width: 21px; height: 21px; }
.demo__cta h3 { font-size: var(--fs-h4); color: var(--green-900); margin-bottom: 0.5rem; }
.demo__cta p { font-size: var(--fs-sm); color: var(--text-muted); }
.demo__cta .btn-row { margin-top: 1.15rem; }

/* ---------------- Responsivo ---------------- */
@media (max-width: 940px) {
  .demo { grid-template-columns: 1fr; }
  .demo__form { position: static; }
  /* Alvo de toque mais confortavel no celular */
  .demo__swap { width: 42px; height: 42px; }
  .demo__swap svg { width: 18px; height: 18px; }
}
@media (max-width: 640px) {
  .proposta__rota { grid-template-columns: 1fr; gap: 0.75rem; text-align: left; }
  .proposta__ponto--fim { text-align: left; align-items: flex-start; }
  .proposta__linha { transform: rotate(90deg); justify-content: center; margin: 0.15rem 0; }
  .proposta__topo { flex-direction: column; gap: 1rem; }
  .proposta__meta { align-items: flex-start; text-align: left; }
  .demo__cta { flex-direction: column; }
  .proposta__tabela th, .proposta__tabela td { font-size: 0.85rem; }
}

/* --------------------------------------------------------------------------
   31. CORREÇÕES DA FOLHA DE DIAGNÓSTICO NO MOBILE
   -------------------------------------------------------------------------- */

/* O painel fica dentro de .container, que tem z-index proprio e cria um
   contexto de empilhamento. Sem elevar o container, o z-index 300 do painel
   so vale dentro dele, e o cabecalho do site (z-index 100) passa por cima,
   deixando o botao de fechar inalcancavel. */
.hero.dx.is-open > .container { z-index: 400; }

/* Enquanto a folha esta aberta, o resto do site nao deve aparecer nem
   capturar toque. Uma folha de aplicativo cobre a tela inteira. */
body.dx-aberto .header,
body.dx-aberto .wa-float,
body.dx-aberto .cookie {
  display: none !important;
}

/* --------------------------------------------------------------------------
   32. CONVITE AO DIAGNÓSTICO MAIS CLARO NO MOBILE
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  /* O cartao com a primeira pergunta volta a aparecer: ver a pergunta e o
     convite mais direto que existe. */
  .dx-teaser { display: block; }

  /* Menos coisa antes dele, para que apareca cedo na tela */
  .hero.dx .hero__lead { font-size: 1rem; max-width: none; margin-top: 1.1rem; }
  .hero.dx .btn-row { margin-top: 1.5rem; }
  .hero.dx .hero__note { margin-top: 1rem; }
  .hero.dx .hero__visual { margin-top: 1.75rem; }

  /* O botao secundario do hero sai de cena no celular: concorre com o cartao */
  .hero.dx .btn-row .btn--ghost { display: none; }

  /* Cartao mais compacto */
  .dx-teaser { padding: 1.15rem; }
  .dx-teaser__q { font-size: 1.05rem; }
  .dx-teaser__opt { padding: 0.85rem; min-height: 56px; }
  .dx-teaser__opt-icon { width: 32px; height: 32px; }
  .dx-teaser__opt-icon svg { width: 16px; height: 16px; }
  .dx-teaser__opt:hover { transform: none; }
  .dx-teaser__opt:active { background: var(--green-050); border-color: var(--green-500); }
}

/* Seta piscando para indicar que o cartao e interativo */
.dx-teaser__opt-arrow svg { transition: transform 0.25s var(--ease); }
.dx-teaser__opt:hover .dx-teaser__opt-arrow svg { transform: translateX(3px); }

/* Sobe o cartao do diagnostico na primeira tela do celular:
   a linha de apoio repetia o que o proprio cartao ja diz no rodape. */
@media (max-width: 860px) {
  .hero.dx { padding-top: calc(var(--header-h) + 1.35rem); }
  .hero.dx .hero__note { display: none; }
  .hero.dx .hero__lead { font-size: 0.97rem; line-height: 1.55; }
  .hero.dx .hero__badge { margin-bottom: 1.1rem; }
  .hero.dx .hero__visual { margin-top: 1.35rem; }
}

/* ==========================================================================
   33. TEMA ROTA
   Página de venda do sistema de cotação, destino de campanha.
   Escura, alto contraste, com chamadas para ação em toda a rolagem.

   A estratégia é redefinir os tokens no <body>, para que os componentes
   do design system se adaptem sozinhos, em vez de reescrever cada um.
   ========================================================================== */
body.rota {
  --tinta:        #061412;   /* fundo profundo */
  --tinta-2:      #0A211D;   /* superfície */
  --tinta-3:      #0F2C27;   /* superfície elevada */
  --creme:        #F4F1EA;   /* texto principal */
  --champanhe:    #C9B896;   /* detalhe sóbrio */
  --champanhe-t:  rgba(201,184,150,0.22);

  --bg: var(--tinta);
  --bg-soft: var(--tinta-2);
  --text: var(--creme);
  --text-muted: rgba(244,241,234,0.64);
  --border: rgba(244,241,234,0.11);
  --border-strong: rgba(244,241,234,0.2);

  background: var(--tinta);
  color: var(--creme);
}

/* Fundo com brilho sutil, para não ficar chapado */
body.rota::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 45% at 78% -5%, rgba(230,106,30,0.13) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 12% 8%, rgba(29,131,119,0.14) 0%, transparent 62%);
}
/* Eleva so os blocos de conteudo acima do brilho de fundo. Usar "*" aqui
   forcava position:relative em elementos fixos, como a barra de acao e o
   banner de cookies, e eles paravam de grudar na tela. */
body.rota > main,
body.rota > footer { position: relative; z-index: 1; }
/* O cabecalho ja tem z-index 100 e precisa continuar fixed */

/* ---------------- Tipografia e blocos ---------------- */
body.rota h1, body.rota h2, body.rota h3, body.rota h4 { color: var(--creme); }
body.rota .lead { color: rgba(244,241,234,0.66); }
body.rota .eyebrow { color: var(--champanhe); }
body.rota .eyebrow::before { background: var(--orange-500); }

body.rota .section--soft { background: var(--tinta-2); }
body.rota .section--dark { background: var(--tinta-3); }

/* ---------------- Cabeçalho ---------------- */
body.rota .header.is-scrolled {
  background: rgba(6,20,18,0.86);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 30px rgba(0,0,0,0.4);
}
body.rota .logo__name { color: var(--creme); }
body.rota .logo__sub { color: rgba(244,241,234,0.45); }
body.rota .logo__mark .ring { stroke: var(--creme); }
body.rota .logo__mark .node-a { fill: var(--creme); }
body.rota .nav__link { color: rgba(244,241,234,0.72); }
body.rota .nav__link:hover { color: var(--creme); background: rgba(244,241,234,0.07); }
body.rota .nav__link--produto { color: var(--orange-300); }
body.rota .nav-toggle { border-color: var(--border-strong); }
body.rota .nav-toggle span,
body.rota .nav-toggle span::before,
body.rota .nav-toggle span::after { background: var(--creme); }
body.rota .mobile-nav { background: var(--tinta); }
body.rota .mobile-nav a:not(.btn) { color: var(--creme); border-bottom-color: var(--border); }

/* ---------------- Botões ---------------- */
body.rota .btn--ghost { --btn-fg: var(--creme); --btn-bd: var(--border-strong); }
body.rota .btn--ghost:hover { --btn-bd: var(--champanhe); background: rgba(201,184,150,0.09); }
body.rota .btn--dark { --btn-bg: var(--creme); --btn-fg: var(--tinta); --btn-bd: var(--creme); }
body.rota .btn--dark:hover { --btn-bg: #fff; --btn-bd: #fff; }

/* ---------------- Cartões ---------------- */
body.rota .card,
body.rota .segment,
body.rota .testimonial,
body.rota .panel,
body.rota .demo__form,
body.rota .faq__item {
  background: var(--tinta-2);
  border-color: var(--border);
}
body.rota .card:hover { border-color: var(--champanhe-t); box-shadow: 0 24px 50px -30px rgba(0,0,0,0.8); }
body.rota .card p, body.rota .segment p { color: rgba(244,241,234,0.62); }
body.rota .card__icon {
  background: rgba(244,241,234,0.06);
  border-color: var(--border);
  color: var(--champanhe);
}
body.rota .card:hover .card__icon { background: var(--orange-500); border-color: var(--orange-500); color: #fff; }

body.rota .card--featured { background: var(--tinta-3); border-color: var(--champanhe-t); }

/* ---------------- Passos ---------------- */
body.rota .step__num {
  background: var(--tinta-3) !important;
  border-color: var(--border-strong) !important;
  color: var(--champanhe) !important;
}
body.rota .step:hover .step__num { background: var(--orange-500) !important; border-color: var(--orange-500) !important; color: #fff !important; }
body.rota .step h3 { color: var(--creme) !important; }
body.rota .step p { color: rgba(244,241,234,0.6) !important; }
body.rota .steps::before {
  background: linear-gradient(90deg, transparent, var(--champanhe-t), rgba(230,106,30,0.5));
}

/* ---------------- Números ---------------- */
body.rota .figures { background: var(--border); border-color: var(--border); }
body.rota .figure { background: var(--tinta-2); }
body.rota .figure__value { color: var(--champanhe); }
body.rota .figure__label { color: rgba(244,241,234,0.55); }

/* ---------------- FAQ ---------------- */
body.rota .faq__q { color: var(--creme); }
body.rota .faq__a p { color: rgba(244,241,234,0.62); }
body.rota .faq__icon { border-color: var(--border-strong); color: var(--champanhe); }
body.rota .faq__item[open] { border-color: var(--champanhe-t); }
body.rota .faq__item[open] .faq__icon { background: var(--orange-500); border-color: var(--orange-500); color: #fff; }

/* ---------------- Amostra ---------------- */
body.rota .demo__title { color: var(--creme); }
body.rota .demo__badge { background: rgba(201,184,150,0.1); border-color: var(--champanhe-t); color: var(--champanhe); }
body.rota .demo__field label { color: rgba(244,241,234,0.5); }
body.rota .demo__field select {
  /* background-color, nao o atalho: o atalho zera repeat, position e size,
     e a seta do select vira um ladrilho atras do texto. */
  background-color: var(--tinta-3);
  border-color: var(--border);
  color: var(--creme);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9B896' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
body.rota .demo__field select:focus { background-color: var(--tinta-3); border-color: var(--champanhe); box-shadow: 0 0 0 3px rgba(201,184,150,0.18); }
body.rota .demo__check { color: rgba(244,241,234,0.7); }
body.rota .demo__swap { background: var(--tinta-3); border-color: var(--border-strong); color: var(--champanhe); }
body.rota .demo__swap:hover { background: var(--tinta-3); border-color: var(--champanhe); }
body.rota .demo__cta { background: var(--tinta-3); border-color: var(--champanhe-t); }
body.rota .demo__cta-icone { background: rgba(244,241,234,0.06); border-color: var(--border); color: var(--champanhe); }
body.rota .demo__cta h3 { color: var(--creme); }
body.rota .demo__cta p { color: rgba(244,241,234,0.64); }

/* A proposta continua clara: é um documento, e papel é branco */
body.rota .proposta { background: #FBFAF7; border-color: rgba(0,0,0,0.08); }

/* ---------------- Painel ---------------- */
body.rota .panel__bar { background: var(--tinta-3); border-bottom-color: var(--border); }
body.rota .panel__dot { background: var(--border-strong); }
body.rota .panel__bar-title { color: rgba(244,241,234,0.5); }
body.rota .panel__row { border-color: var(--border); }
body.rota .panel__route { color: var(--creme); }
body.rota .panel__meta, body.rota .panel__code { color: rgba(244,241,234,0.45); }

/* ---------------- Checklist ---------------- */
body.rota .checklist li { color: rgba(244,241,234,0.66); }
body.rota .checklist b { color: var(--creme); }
body.rota .checklist svg { color: var(--champanhe); }

/* ---------------- Fórmula ---------------- */
body.rota .formula { background: var(--tinta-3); border: 1px solid var(--border); }
body.rota .formula__op { color: var(--champanhe); border-color: var(--border-strong); }

/* ---------------- Selo do produto ---------------- */
body.rota .product-lockup { background: rgba(244,241,234,0.06); border-color: var(--champanhe-t); }
body.rota .product-lockup__name { color: var(--creme); letter-spacing: 0.16em; }
body.rota .product-lockup__by { color: rgba(244,241,234,0.5); }

/* ---------------- Rodapé e avisos ---------------- */
body.rota .footer { background: #030C0B; }
body.rota .breadcrumb { color: rgba(244,241,234,0.45); }
body.rota .breadcrumb a:hover { color: var(--champanhe); }
body.rota .cookie { background: rgba(10,33,29,0.95); border-color: var(--border); }
body.rota .cookie h2 { color: var(--creme); }
body.rota .cookie p, body.rota .cookie__pref-desc { color: rgba(244,241,234,0.6); }
body.rota .cookie__pref-name { color: var(--creme); }
body.rota .cookie p a { color: var(--champanhe); }

/* ==========================================================================
   34. BARRA DE AÇÃO FIXA (aparece ao rolar)
   Numa página de campanha, a chamada precisa estar sempre a um toque.
   ========================================================================== */
.barra-acao {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem clamp(1rem, 3vw, 2.5rem);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 0.85rem);
  background: rgba(6,20,18,0.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--champanhe-t);
  transform: translateY(110%);
  transition: transform 0.5s var(--ease-out-expo);
}
.barra-acao.is-visible { transform: translateY(0); }
.barra-acao__texto { min-width: 0; }
.barra-acao__titulo {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--creme);
}
.barra-acao__sub { display: block; font-size: 0.78rem; color: rgba(244,241,234,0.55); margin-top: 2px; }
.barra-acao__botoes { display: flex; gap: 0.5rem; flex: none; }

@media (max-width: 700px) {
  .barra-acao { padding-inline: 0.9rem; gap: 0.75rem; }
  .barra-acao__sub { display: none; }
  .barra-acao__titulo { font-size: 0.85rem; }
  .barra-acao__botoes .btn { padding-inline: 1rem; }
  .barra-acao__botoes .btn--ghost { display: none; }
}
@media (max-width: 420px) {
  .barra-acao__texto { display: none; }
  .barra-acao { justify-content: stretch; }
  .barra-acao__botoes { flex: 1; }
  .barra-acao__botoes .btn { flex: 1; }
}

/* O WhatsApp flutuante daria conflito com a barra */
body.rota .wa-float { display: none; }

/* ==========================================================================
   35. BLOCOS DE CHAMADA REPETIDOS AO LONGO DA PÁGINA
   ========================================================================== */
.chamada {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  background: linear-gradient(135deg, rgba(230,106,30,0.13), rgba(201,184,150,0.06));
  border: 1px solid var(--champanhe-t);
  border-radius: var(--r-lg);
}
.chamada__texto { min-width: 0; flex: 1 1 320px; }
.chamada h3 {
  font-size: var(--fs-h4);
  color: var(--creme);
  margin-bottom: 0.35rem;
}
.chamada p { font-size: var(--fs-sm); color: rgba(244,241,234,0.66); }
.chamada .btn-row { flex: none; }

@media (max-width: 640px) {
  .chamada { flex-direction: column; align-items: stretch; text-align: left; }
  .chamada .btn-row { width: 100%; }
  .chamada .btn-row > .btn { width: 100%; }
}

/* Espaço extra no fim, para a barra fixa não cobrir conteúdo */
body.rota main { padding-bottom: 4.5rem; }

/* Prova de credibilidade em linha */
.selos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 2rem;
}
.selos span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  font-size: var(--fs-xs);
  color: rgba(244,241,234,0.7);
  background: rgba(244,241,234,0.05);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
}
.selos svg { width: 15px; height: 15px; color: var(--champanhe); flex: none; }

/* O hero usa cinza escuro fixo no texto de apoio, ilegivel sobre fundo escuro */
body.rota .hero__lead { color: rgba(244,241,234,0.66); }
body.rota .hero__note { color: rgba(244,241,234,0.5); }
body.rota .hero__note svg { color: var(--champanhe); }
body.rota .hero { background: transparent; }
body.rota .hero__bg { opacity: 0.5; }
body.rota .quote__note { color: var(--gray-500); }

/* Alvo de toque da barra de acao no celular */
@media (max-width: 700px) {
  .barra-acao__botoes .btn { min-height: 46px; }
}

/* --------------------------------------------------------------------------
   36. AVALIACOES DO GOOGLE
   O Google pede atribuicao ao exibir avaliacoes vindas da Places API:
   nome do autor, foto e link para a avaliacao original.
   -------------------------------------------------------------------------- */
.avaliacoes-topo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-bottom: 2.5rem;
  text-align: center;
}
.avaliacoes-nota { display: inline-flex; align-items: center; gap: 0.75rem; }
.avaliacoes-nota__valor {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}
.avaliacoes-nota__estrelas { display: inline-flex; gap: 2px; color: var(--orange-500); }
.avaliacoes-nota__estrelas svg { width: 19px; height: 19px; }
.avaliacoes-nota__texto { font-size: var(--fs-sm); color: rgba(255,255,255,0.62); }
.avaliacoes-nota__texto a {
  color: var(--orange-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.avaliacoes-nota__texto a:hover { color: var(--orange-500); }

/* Foto real do autor, quando o Google devolve */
.testimonial__avatar--foto { object-fit: cover; padding: 0; border: 1px solid var(--green-100); }
.testimonial__role a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.testimonial__role a:hover { color: var(--green-700); }

@media (max-width: 640px) {
  .avaliacoes-topo { flex-direction: column; gap: 0.6rem; }
}

/* --------------------------------------------------------------------------
   37. AMBIENTE DE AVIAÇÃO (página ROTA)
   Quem entra trabalha com aviação. O ambiente precisa ser reconhecido
   antes de qualquer texto ser lido.
   -------------------------------------------------------------------------- */

/* ---------- Silhuetas cruzando o fundo ---------- */
.aeronaves {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  color: rgba(201, 184, 150, 0.13);
}
.aeronave { position: absolute; display: block; }
.aeronave svg { width: 100%; height: auto; display: block; }

.aeronave--1 { width: 78px;  top: 14%;  left: -12%; animation: cruzar 46s linear infinite; }
.aeronave--2 { width: 58px;  top: 62%;  left: -12%; animation: cruzar 62s linear infinite 8s; opacity: 0.7; }
.aeronave--3 { width: 66px;  top: 34%;  left: -12%; animation: cruzar 54s linear infinite 22s; opacity: 0.55; }
.aeronave--4 { width: 44px;  top: 80%;  left: -12%; animation: cruzar 72s linear infinite 34s; opacity: 0.45; }

@keyframes cruzar {
  from { transform: translateX(0) translateY(0); }
  to   { transform: translateX(125vw) translateY(-26px); }
}

/* ---------- Traçado de rota ---------- */
.rota-traco-host {
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  pointer-events: none;
  z-index: 0;
  color: rgba(201, 184, 150, 0.3);
}
.rota-traco-host svg { width: 100%; height: 100%; }

.rota-traco {
  stroke-dashoffset: 0;
  animation: correr 3.2s linear infinite;
}
@keyframes correr { to { stroke-dashoffset: -26; } }

.rota-ponto { fill: var(--orange-500); }
.rota-ponto--a { animation: pulsarPonto 3s ease-in-out infinite; }
.rota-ponto--b { animation: pulsarPonto 3s ease-in-out infinite 1.5s; }
@keyframes pulsarPonto {
  0%, 100% { opacity: 1; r: 6; }
  50%      { opacity: 0.45; r: 4.5; }
}

/* ---------- Instrumento: faixa de dados do voo ---------- */
.painel-voo {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin-top: 2.25rem;
  background: rgba(201,184,150,0.16);
  border: 1px solid rgba(201,184,150,0.16);
  border-radius: var(--r-md);
  overflow: hidden;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}
.painel-voo__campo {
  flex: 1 1 120px;
  padding: 0.7rem 0.9rem;
  background: rgba(6,20,18,0.86);
}
.painel-voo__rot {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(244,241,234,0.4);
}
.painel-voo__val {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--champanhe);
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   38. EMISSÃO DA PROPOSTA
   -------------------------------------------------------------------------- */
.emissao {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 1rem + 2vw, 2.25rem);
  align-items: center;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--tinta-2, #0A211D);
  border: 1px solid rgba(201,184,150,0.18);
  border-radius: var(--r-lg);
  animation: emissaoEntra 0.35s var(--ease-out-expo) both;
}
@keyframes emissaoEntra {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* A folha saindo da impressora */
.emissao__folha {
  position: relative;
  width: 96px;
  height: 128px;
  flex: none;
  background: #FBFAF7;
  border-radius: 4px;
  box-shadow: 0 18px 34px -18px rgba(0,0,0,0.75);
  overflow: hidden;
  animation: folhaSai 0.6s var(--ease-out-expo) both;
}
@keyframes folhaSai {
  from { transform: translateY(-26px) scaleY(0.35); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.emissao__folha::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-700), var(--orange-500));
}
.emissao__linha {
  position: absolute;
  left: 12px;
  height: 5px;
  border-radius: 3px;
  background: rgba(15,76,69,0.16);
  transform-origin: left;
  animation: linhaImprime 0.4s var(--ease) both;
}
.emissao__linha:nth-child(1) { top: 22px; width: 52px; animation-delay: 0.30s; }
.emissao__linha:nth-child(2) { top: 38px; width: 68px; animation-delay: 0.55s; }
.emissao__linha:nth-child(3) { top: 54px; width: 44px; animation-delay: 0.80s; }
.emissao__linha:nth-child(4) { top: 70px; width: 62px; animation-delay: 1.05s; }
@keyframes linhaImprime {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}
.emissao__selo {
  position: absolute;
  right: 10px; bottom: 10px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: var(--orange-500);
  color: #fff;
  opacity: 0;
  animation: seloBate 0.4s var(--ease-out-expo) 1.35s both;
}
.emissao__selo svg { width: 14px; height: 14px; }
@keyframes seloBate {
  from { opacity: 0; transform: scale(1.9) rotate(-14deg); }
  to   { opacity: 1; transform: none; }
}

/* Etapas do processamento */
.emissao__etapas { display: grid; gap: 0.55rem; min-width: 0; }
.emissao__etapa {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: rgba(244,241,234,0.35);
  background: transparent;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.emissao__etapa.is-ativa { color: var(--creme, #F4F1EA); background: rgba(244,241,234,0.06); }
.emissao__etapa.is-feita { color: rgba(244,241,234,0.6); background: transparent; }

.emissao__marca {
  width: 28px; height: 28px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 7px;
  border: 1px solid rgba(244,241,234,0.14);
  color: inherit;
}
.emissao__marca svg { width: 15px; height: 15px; }
.emissao__etapa.is-ativa .emissao__marca {
  border-color: var(--orange-500);
  color: var(--orange-300);
  animation: marcaPulsa 0.9s ease-in-out infinite;
}
@keyframes marcaPulsa {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,106,30,0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(230,106,30,0); }
}
.emissao__texto { flex: 1; min-width: 0; }
.emissao__ok {
  width: 18px; height: 18px;
  flex: none;
  display: grid; place-items: center;
  color: var(--champanhe, #C9B896);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease-out-expo);
}
.emissao__ok svg { width: 14px; height: 14px; }
.emissao__etapa.is-feita .emissao__ok { opacity: 1; transform: none; }

@media (max-width: 560px) {
  .emissao { grid-template-columns: 1fr; justify-items: center; }
  .emissao__etapas { width: 100%; }
  .emissao__etapa { font-size: 0.85rem; }
}

/* Menos movimento: nada de aeronave voando nem rota correndo */
@media (prefers-reduced-motion: reduce) {
  .aeronave, .rota-traco, .rota-ponto--a, .rota-ponto--b { animation: none; }
  .aeronave--1 { left: 12%; } .aeronave--2 { left: 68%; }
  .aeronave--3 { left: 40%; } .aeronave--4 { left: 84%; }
}

/* --------------------------------------------------------------------------
   39. AJUSTES DE MOBILE DA PAGINA ROTA
   -------------------------------------------------------------------------- */
@media (max-width: 560px) {
  /* Com flex 1 1 120px os tres campos quebravam 2 + 1, deixando o ultimo
     sozinho ocupando a largura toda. Em grade de tres, ficam alinhados. */
  .painel-voo { display: grid; grid-template-columns: repeat(3, 1fr); }
  .painel-voo__campo { padding: 0.65rem 0.5rem; text-align: center; }
  .painel-voo__rot { font-size: 0.54rem; letter-spacing: 0.1em; }
  .painel-voo__val { font-size: 0.88rem; }
}

@media (max-width: 860px) {
  /* Alvos de toque: o minimo confortavel e 44px */
  .quote__actions .btn,
  .demo__cta .btn,
  .chamada .btn { min-height: 46px; }

  .demo__swap { width: 44px; height: 44px; }
  .demo__swap svg { width: 18px; height: 18px; }

  .cookie__actions .btn { min-height: 46px; }
  .cookie__toggle { min-height: 44px; display: inline-flex; align-items: center; }
}

/* --------------------------------------------------------------------------
   40. CORRECOES DE CONTRASTE E ESPACAMENTO NA PAGINA ROTA
   -------------------------------------------------------------------------- */

/* O tema escuro redefine --text-muted para um tom quase branco, pensado para
   fundo escuro. Mas o cartao de cotacao e a proposta continuam com fundo
   claro: o texto sumia (contraste de 1,13 para 1). Aqui os tokens voltam aos
   valores claros dentro dessas superficies, e tudo que usa var() se corrige
   sozinho. */
body.rota .quote,
body.rota .proposta {
  --text: var(--ink);
  --text-muted: var(--gray-600);
  --border: var(--gray-200);
  --border-strong: var(--gray-300);
  color: var(--ink);
}

/* Texto de apoio pequeno tambem estava em 3,83 para 1, abaixo do minimo */
body.rota .quote__label,
body.rota .quote__value small,
body.rota .quote__note,
body.rota .proposta__aero,
body.rota .proposta__nota,
body.rota .proposta__data { color: var(--gray-600); }

/* Em coluna, o eixo principal e vertical: "flex: 1 1 320px" virava altura
   minima de 320px e esticava o bloco de texto, deixando um vazio enorme
   antes dos botoes. */
@media (max-width: 640px) {
  .chamada__texto { flex: 0 0 auto; }
}
