/* ==========================================================================
   Data Obras — one page
   Identidade: bege, tinta quente, terracota e areia.
   ========================================================================== */

:root {
  --paper: #f3ede3;
  --paper-2: #ece3d5;
  --paper-3: #e3d7c5;
  --card: #fcf9f3;
  --ink: #1e1a15;
  --ink-2: #332c24;
  --muted: #6e6254;
  --muted-2: #8d8172;
  --clay: #b56a43;
  --clay-dark: #92502f;
  --clay-light: #e6b394;
  --gold: #c49a5b;
  --sage: #6c7a63;
  --green: #4f6b4a;
  --line: rgba(30, 26, 21, 0.13);
  --line-soft: rgba(30, 26, 21, 0.07);
  --shadow-sm: 0 10px 30px rgba(49, 37, 22, 0.08);
  --shadow: 0 30px 80px rgba(49, 37, 22, 0.16);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  opacity: 0.032;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

::selection {
  background: rgba(181, 106, 67, 0.24);
  color: var(--ink);
}

img,
svg {
  display: block;
}

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

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.br-mobile {
  display: none;
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 200;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.28s var(--ease), background 0.28s, color 0.28s, box-shadow 0.28s, border-color 0.28s;
}

.btn .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.28s var(--ease);
}

.btn:hover .icon {
  transform: translate(2px, -2px);
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 24px rgba(30, 26, 21, 0.16);
}

.btn--dark:hover {
  background: #2a241d;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(30, 26, 21, 0.24);
}

.btn--ghost {
  border-color: var(--line);
  background: rgba(252, 249, 243, 0.35);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--card);
  border-color: rgba(30, 26, 21, 0.24);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.btn--light:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 17px;
  font-size: 0.78rem;
}

.btn--lg {
  padding: 17px 30px;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.3s, background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(243, 237, 227, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 4px 12px rgba(181, 106, 67, 0.22);
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}

.brand__name {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.brand__name span {
  color: var(--clay);
}

.brand__tag {
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-2);
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--clay-dark);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.nav__cta {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle .icon {
  width: 18px;
  height: 18px;
}

.menu-toggle__close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
  display: block;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 148px 0 0;
  overflow: hidden;
  background: var(--paper);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(30, 26, 21, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 26, 21, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 62% 38%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at 62% 38%, #000 0%, transparent 72%);
  opacity: 0.8;
}

.hero__arc {
  position: absolute;
  border: 1px solid rgba(181, 106, 67, 0.16);
  border-radius: 50%;
}

.hero__arc--one {
  width: 760px;
  height: 760px;
  right: -260px;
  top: -190px;
}

.hero__arc--two {
  width: 480px;
  height: 480px;
  right: -100px;
  top: -55px;
  border-color: rgba(181, 106, 67, 0.09);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: center;
  min-height: calc(100vh - 250px);
  padding-bottom: 16px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 4px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 4px rgba(181, 106, 67, 0.14);
  flex: none;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(3.5rem, 6.4vw, 6.6rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin: 18px 0 24px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--clay);
}

.hero__lead {
  max-width: 46ch;
  margin: 0 0 28px;
  font-size: clamp(0.96rem, 1.15vw, 1.06rem);
  line-height: 1.8;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 20px 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted-2);
}

.hero__note .icon {
  width: 13px;
  height: 13px;
  color: var(--green);
}

.hero__visual {
  position: relative;
  min-width: 0;
  padding: 20px 0;
  perspective: 1800px;
}

.hero__halo {
  position: absolute;
  width: 120%;
  height: 120%;
  left: -8%;
  top: -10%;
  background: radial-gradient(circle at 62% 44%, rgba(181, 106, 67, 0.2), transparent 62%);
  filter: blur(8px);
  pointer-events: none;
}

.hero__device {
  position: relative;
  z-index: 2;
  transform: perspective(1800px) rotateX(calc(7deg - var(--hp, 0) * 7deg)) rotateY(calc(-4deg + var(--hp, 0) * 3deg)) translateY(calc(var(--hp, 0) * -36px));
  transform-origin: 50% 50%;
  will-change: transform;
  transition: transform 0.12s linear;
}

/* Frames de tela ---------------------------------------------------------- */

.device {
  position: relative;
  min-width: 0;
  max-width: 100%;
  background: var(--card);
  border: 1px solid rgba(30, 26, 21, 0.16);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.7), var(--shadow);
}

.device__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 34px;
  padding: 0 14px;
  background: #e9dfd0;
  border-bottom: 1px solid rgba(30, 26, 21, 0.1);
  color: var(--muted);
  font-size: 8px;
}

.device__dots {
  display: flex;
  gap: 4px;
  flex: none;
}

.device__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(30, 26, 21, 0.18);
}

.device__address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 1;
  max-width: 300px;
  margin: 0 auto;
  padding: 4px 10px;
  border: 1px solid rgba(30, 26, 21, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  font-size: 7.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.device__address .icon {
  width: 8px;
  height: 8px;
  opacity: 0.6;
}

.device__live {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
  font-size: 7.2px;
  font-weight: 800;
  color: var(--muted);
}

.device__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(79, 107, 74, 0.14);
}

/* App ilustrado ----------------------------------------------------------- */

.app {
  background: #f7f2e9;
  color: var(--ink);
  font-size: 10px;
}

.app--hero {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 452px;
}

.app__aside {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 11px 12px;
  background: #211c17;
  color: #efe6d8;
}

.app__logo {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.app__logo svg {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  flex: none;
}

.app__logo span span {
  color: #d9a176;
}

.app__navlabel {
  margin: 7px 0 1px;
  font-size: 6.4px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(239, 230, 216, 0.36);
}

.app__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.app__navitem {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 7px;
  border-radius: 7px;
  font-size: 8px;
  font-weight: 600;
  color: rgba(239, 230, 216, 0.6);
}

.app__navitem .icon {
  width: 12px;
  height: 12px;
}

.app__navitem b {
  margin-left: auto;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 6px;
  color: rgba(239, 230, 216, 0.72);
}

.app__navitem.is-active {
  background: var(--clay);
  color: #fff;
  box-shadow: 0 4px 10px rgba(181, 106, 67, 0.35);
}

.app__navitem.is-active b {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.app__user {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.app__user div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.app__user strong {
  font-size: 7.2px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app__user span {
  font-size: 6px;
  color: rgba(239, 230, 216, 0.45);
}

.app__avatar {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e6d7c3;
  color: #4a3524;
  font-size: 6.5px;
  font-weight: 800;
  flex: none;
}

.app__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.app__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.42);
  border-bottom: 1px solid var(--line-soft);
}

.app__hello {
  display: flex;
  flex-direction: column;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.app__hello span {
  font-size: 6.8px;
  font-weight: 600;
  color: var(--muted);
}

.app__tools {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.app__search {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 7px;
  color: var(--muted);
}

.app__search .icon {
  width: 9px;
  height: 9px;
}

.app__iconbtn {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
}

.app__iconbtn .icon {
  width: 10px;
  height: 10px;
}

.app__page {
  flex: 1;
  min-width: 0;
  padding: 11px 14px 14px;
}

.app__pagehead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.app__pagehead h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.app__pagehead p {
  margin: 2px 0 0;
  font-size: 7px;
  color: var(--muted);
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  font-size: 7px;
  font-weight: 800;
  white-space: nowrap;
}

.mini-btn .icon {
  width: 9px;
  height: 9px;
}

.mini-btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-2);
}

/* KPIs e painéis --------------------------------------------------------- */

.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 9px;
}

.kpi {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
}

.kpi__ico {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  flex: none;
}

.kpi__ico .icon {
  width: 11px;
  height: 11px;
}

.kpi__ico--clay {
  background: #f3e2d6;
  color: var(--clay-dark);
}

.kpi__ico--sage {
  background: #e8efe2;
  color: var(--green);
}

.kpi__ico--gold {
  background: #f6ecda;
  color: #8a6428;
}

.kpi__ico--ink {
  background: #eee7dc;
  color: var(--ink-2);
}

.kpi__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.kpi__body span {
  font-size: 6.1px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.kpi__body strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.kpi__up {
  position: absolute;
  top: 5px;
  right: 6px;
  padding: 1px 3px;
  border-radius: 3px;
  background: #eaf0e5;
  color: var(--green);
  font-size: 5px;
  font-weight: 800;
}

.kpi__dot {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clay);
}

.app__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 8px;
}

.panel {
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 5px;
}

.panel__head strong {
  font-size: 7.8px;
  font-weight: 800;
}

.panel__head span {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 6.2px;
  color: var(--muted);
}

.panel__head .icon {
  width: 7px;
  height: 7px;
}

.legend i {
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--clay);
}

.obra-row {
  display: grid;
  grid-template-columns: 5px minmax(0, 1fr) 54px 47px;
  gap: 6px;
  align-items: center;
  padding: 5px 0;
  border-top: 1px solid var(--line-soft);
}

.obra-row:first-of-type {
  border-top: 0;
}

.obra-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dot);
}

.obra-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.obra-info strong {
  font-size: 6.8px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.obra-info span {
  font-size: 5.6px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.obra-progress {
  display: flex;
  align-items: center;
  gap: 4px;
}

.bar {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(30, 26, 21, 0.08);
  overflow: hidden;
}

.bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--clay), #ce8a62);
  transition: width 1.5s var(--ease) 0.35s;
}

.is-visible .bar i {
  width: var(--w);
}

.obra-progress small {
  font-size: 5.6px;
  font-weight: 800;
  color: var(--ink-2);
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 5.2px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}

.chip--green {
  background: #e8efe2;
  color: #4a6444;
}

.chip--gold {
  background: #f6ecda;
  color: #8a6428;
}

.chip--muted {
  background: #efeae1;
  color: #7b7062;
}

.chip--sm {
  padding: 2px 5px;
  font-size: 5.2px;
}

.chart {
  margin: 2px 0 3px;
}

.chart svg {
  width: 100%;
  height: auto;
}

.chart--sm svg {
  max-height: 78px;
}

.draw-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.2s var(--ease) 0.35s;
}

.is-visible .draw-line {
  stroke-dashoffset: 0;
}

.chart__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  padding-top: 4px;
  border-top: 1px solid var(--line-soft);
}

.chart__foot div {
  display: flex;
  flex-direction: column;
}

.chart__foot span {
  font-size: 5.6px;
  color: var(--muted);
}

.chart__foot strong {
  font-size: 11px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.delta {
  padding: 2px 4px;
  border-radius: 3px;
  background: #eaf0e5;
  color: var(--green);
  font-size: 5.6px;
  font-weight: 800;
}

/* Cartões flutuantes do hero -------------------------------------------- */

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid rgba(30, 26, 21, 0.1);
  border-radius: 13px;
  background: rgba(252, 249, 243, 0.95);
  box-shadow: 0 18px 40px rgba(49, 37, 22, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: float 7s ease-in-out infinite;
}

.float-card--quote {
  top: 3%;
  right: -3%;
  animation-delay: -2s;
}

.float-card--client {
  bottom: 12%;
  left: -7%;
  animation-delay: -4.5s;
}

.float-card div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.float-card span {
  font-size: 6.4px;
  font-weight: 700;
  color: var(--muted);
}

.float-card strong {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.float-card small {
  font-size: 6px;
  color: var(--muted-2);
}

.float-card__ico {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  flex: none;
}

.float-card__ico .icon {
  width: 12px;
  height: 12px;
}

.float-card__ico--green {
  background: #e8efe2;
  color: var(--green);
}

.float-card__ico--clay {
  background: #f3e2d6;
  color: var(--clay-dark);
}

.float-card__ico--gold {
  background: #f6ecda;
  color: #8a6428;
}

.float-card__avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--clay);
  color: #fff;
  font-size: 6.5px;
  font-weight: 800;
  flex: none;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(79, 107, 74, 0.4);
  animation: pulse 2.4s infinite;
  flex: none;
}

.float-ring {
  position: absolute;
  right: 2%;
  bottom: -2%;
  z-index: 3;
  text-align: center;
  animation: float 8s ease-in-out infinite;
  animation-delay: -1s;
}

.float-ring__chart {
  position: relative;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: conic-gradient(var(--clay) 0 68%, rgba(30, 26, 21, 0.08) 68% 100%);
  box-shadow: 0 14px 30px rgba(49, 37, 22, 0.12);
}

.float-ring__chart::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--card);
}

.float-ring__chart span {
  position: relative;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.float-ring__chart small {
  font-size: 8px;
}

.float-ring p {
  margin: 5px 0 0;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding-top: 24px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-cue i {
  position: relative;
  width: 38px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--clay);
  transform: translateX(-100%);
  animation: scrollLine 2.4s infinite;
}

.hero__mini-stats {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.hero__mini-stats span {
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--muted);
}

.hero__mini-stats strong {
  margin-right: 3px;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Pilares
   -------------------------------------------------------------------------- */

.pillars {
  padding: 22px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.pillar {
  display: flex;
  gap: 12px;
  padding: 6px 24px;
  border-left: 1px solid var(--line);
}

.pillar:first-child {
  padding-left: 0;
  border-left: 0;
}

.pillar__num {
  font-family: var(--display);
  font-size: 22px;
  font-style: italic;
  line-height: 1;
  color: var(--clay);
  flex: none;
}

.pillar strong {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.pillar p {
  margin: 3px 0 0;
  font-size: 7.6px;
  line-height: 1.45;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Seções e features
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding: clamp(84px, 11vw, 148px) 0;
}

.section--tint {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-label span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 10px;
  font-style: italic;
  letter-spacing: 0;
  color: var(--clay);
  flex: none;
}

.section-label--light {
  color: rgba(243, 237, 227, 0.5);
}

.section-label--light span {
  border-color: rgba(243, 237, 227, 0.2);
  color: var(--clay-light);
}

h2 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.6vw, 4.3rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--clay);
}

.feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.feature__copy {
  min-width: 0;
  padding: 10px 0;
}

.feature__lead {
  max-width: 50ch;
  margin: 0 0 26px;
  font-size: clamp(0.95rem, 1.15vw, 1.06rem);
  line-height: 1.8;
  color: var(--muted);
}

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

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.feature-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-list__check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--clay);
  flex: none;
}

.feature-list__check .icon {
  width: 11px;
  height: 11px;
}

.feature-list div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.feature-list strong {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.feature-list span {
  font-size: 0.79rem;
  line-height: 1.55;
  color: var(--muted);
}

.feature__visual {
  position: relative;
  min-width: 0;
  transform: translate3d(0, calc((0.5 - var(--sp, 0.5)) * 46px), 0);
  transition: transform 0.12s linear;
  will-change: transform;
}

.visual-blob {
  position: absolute;
  z-index: 0;
  left: 5%;
  top: 15%;
  width: 90%;
  height: 70%;
  background: radial-gradient(circle at 50% 50%, rgba(181, 106, 67, 0.18), transparent 65%);
  filter: blur(18px);
  pointer-events: none;
}

.visual-blob--gold {
  background: radial-gradient(circle at 50% 50%, rgba(196, 154, 91, 0.24), transparent 65%);
}

.device-wrap {
  position: relative;
  z-index: 2;
  min-width: 0;
}

/* Feature 1 — obra -------------------------------------------------------- */

.app--obra {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 430px;
}

.app__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 0;
  background: #211c17;
}

.app__raillogo {
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
  border-radius: 7px;
  flex: none;
}

.railitem {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  color: rgba(239, 230, 216, 0.5);
}

.railitem .icon {
  width: 12px;
  height: 12px;
}

.railitem.is-active {
  background: var(--clay);
  color: #fff;
}

.railavatar {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-top: auto;
  border-radius: 50%;
  background: #e6d7c3;
  color: #4a3524;
  font-size: 6px;
  font-weight: 800;
}

.app__crumb {
  font-size: 6.8px;
  font-weight: 700;
  color: var(--muted);
}

.app__crumb b {
  margin: 0 3px;
  color: rgba(30, 26, 21, 0.26);
}

.obra-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.obra-head h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.obra-head p {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 4px 0 0;
  font-size: 6.5px;
  color: var(--muted);
}

.obra-head p .icon {
  width: 8px;
  height: 8px;
}

.obra-head__actions {
  display: flex;
  gap: 5px;
  flex: none;
}

.progress-card {
  margin-bottom: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
}

.progress-card__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
}

.progress-card__top span {
  font-size: 6.5px;
  font-weight: 700;
  color: var(--muted);
}

.progress-card__top strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.bar--lg {
  height: 5px;
}

.progress-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 5px;
  font-size: 5.4px;
  color: var(--muted);
}

.text-green {
  color: var(--green) !important;
  font-weight: 800;
}

.app__tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.app__tabs span {
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  font-size: 6.6px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.app__tabs .is-active {
  border-color: var(--clay);
  color: var(--clay);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 8px;
}

.etapa-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 54px 25px 52px;
  gap: 6px;
  align-items: center;
  padding: 5px 0;
  border-top: 1px solid var(--line-soft);
}

.etapa-row:first-of-type {
  border-top: 0;
}

.etapa-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.etapa-info strong {
  font-size: 6.5px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.etapa-info span {
  font-size: 5.3px;
  color: var(--muted);
}

.etapa-row small {
  font-size: 5.4px;
  font-weight: 800;
  text-align: right;
}

.detail-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.panel--chart-sm {
  padding-bottom: 6px;
}

.panel--diario {
  flex: 1;
}

.diario {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.diario__photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  width: 46px;
  flex: none;
}

.diario__photos .photo:first-child {
  grid-column: span 2;
  height: 25px;
}

.diario__photos .photo {
  height: 17px;
}

.diario__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}

.diario__text strong {
  font-size: 6.5px;
}

.diario__text span {
  font-size: 5.3px;
  color: var(--muted);
}

.diario__text p {
  display: -webkit-box;
  margin: 3px 0 0;
  overflow: hidden;
  font-size: 5.3px;
  line-height: 1.45;
  color: var(--muted);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.photo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background-color: #c9b69a;
}

.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(142deg, rgba(255, 255, 255, 0.4), transparent 46%),
    repeating-linear-gradient(112deg, rgba(30, 26, 21, 0.17) 0 1px, transparent 1px 7px);
  mix-blend-mode: multiply;
}

.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(30, 26, 21, 0.22) 58%),
    linear-gradient(90deg, transparent 62%, rgba(255, 255, 255, 0.14) 62% 64%, transparent 64%);
}

.photo--1 {
  background-image: linear-gradient(145deg, #d9c9b2, #9c8468);
}

.photo--2 {
  background-image: linear-gradient(145deg, #bdc2b2, #6f7a68);
}

.photo--3 {
  background-image: linear-gradient(145deg, #d8c1a6, #a67b55);
}

.float-note {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(30, 26, 21, 0.1);
  border-radius: 11px;
  background: rgba(252, 249, 243, 0.96);
  box-shadow: 0 16px 36px rgba(49, 37, 22, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: float 7s ease-in-out infinite;
}

.float-note--top {
  top: 8%;
  right: -4%;
  animation-delay: -1.5s;
}

.float-note--bottom {
  bottom: 5%;
  left: -5%;
  animation-delay: -4s;
}

.float-note--right {
  right: -4%;
  left: auto;
}

.float-note div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.float-note strong {
  font-size: 7.6px;
  font-weight: 800;
}

.float-note span {
  font-size: 6.2px;
  color: var(--muted);
}

/* Feature 2 — compras ----------------------------------------------------- */

.app--quote {
  min-height: 390px;
}

.app--quote .app__topbar {
  padding: 9px 13px;
}

.app__brandline {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.app__brandline .app__raillogo {
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 6px;
}

.app__brandname {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.app__brandname span {
  color: var(--clay);
}

.quote-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
}

.quote-head h4 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.quote-head p {
  margin: 4px 0 0;
  font-size: 6.8px;
  color: var(--muted);
}

.quote-head__actions {
  display: flex;
  gap: 5px;
  flex: none;
}

.steps {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 7px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: #fff;
}

.step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  font-size: 5.8px;
  font-weight: 800;
  color: var(--muted);
}

.step i {
  display: grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #efeae1;
  color: var(--muted);
  font-size: 5.8px;
  font-style: normal;
  font-weight: 800;
  flex: none;
}

.step i .icon {
  width: 7px;
  height: 7px;
}

.step.is-done {
  color: var(--green);
}

.step.is-done i {
  background: #e8efe2;
  color: var(--green);
}

.step.is-active {
  color: var(--clay);
}

.step.is-active i {
  background: var(--clay);
  color: #fff;
}

.step + .step::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 50%;
  width: 4px;
  height: 1px;
  background: var(--line);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 8px;
}

.quote-table {
  padding-bottom: 6px;
}

.qrow {
  position: relative;
  display: grid;
  grid-template-columns: 12px minmax(0, 1.35fr) 32px 32px 58px;
  gap: 5px;
  align-items: center;
  padding: 6px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 6px;
  color: var(--ink-2);
}

.qrow--head {
  padding: 3px 0;
  border-top: 0;
  font-size: 5.2px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.qrow--best {
  margin-right: -4px;
  margin-left: -4px;
  padding-right: 4px;
  padding-left: 4px;
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(232, 239, 226, 0.7), transparent);
}

.qradio {
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(30, 26, 21, 0.2);
  border-radius: 50%;
}

.qradio.is-on {
  border-color: var(--green);
  background: var(--green);
}

.qradio.is-on::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #fff;
}

.qsup {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}

.qsup strong {
  overflow: hidden;
  font-size: 6.4px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.qsup small {
  font-size: 5.1px;
  color: var(--muted);
}

.qtotal {
  font-size: 6.8px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.qbadge {
  position: absolute;
  right: 0;
  bottom: -5px;
  z-index: 1;
  padding: 1px 3px;
  border-radius: 3px;
  background: #e8efe2;
  color: var(--green);
  font-size: 4.6px;
  font-weight: 800;
}

.quote-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid var(--line-soft);
  font-size: 5.6px;
  color: var(--muted);
}

.quote-link span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  color: var(--clay);
}

.quote-link .icon {
  width: 7px;
  height: 7px;
}

.quote-summary {
  display: flex;
  flex-direction: column;
  padding: 9px;
}

.quote-summary__label {
  font-size: 5.8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.quote-summary__value {
  margin-top: 3px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}

.quote-summary__sub {
  margin-top: 3px;
  font-size: 5.6px;
  color: var(--muted);
}

.quote-summary__economy {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 8px 0;
  padding: 5px 6px;
  border-radius: 5px;
  background: #f3e9da;
}

.quote-summary__economy span {
  font-size: 5.3px;
  font-weight: 700;
  color: var(--muted);
}

.quote-summary__economy strong {
  font-size: 7.6px;
  color: var(--clay-dark);
}

.quote-summary__economy small {
  margin-left: auto;
  font-size: 4.8px;
  font-weight: 800;
  color: var(--green);
}

.quote-summary__rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 6px;
  border-top: 1px solid var(--line-soft);
}

.quote-summary__rows span {
  display: flex;
  justify-content: space-between;
  font-size: 5.4px;
  color: var(--muted);
}

.quote-summary__rows b {
  font-weight: 800;
  color: var(--ink-2);
}

.quote-summary__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: auto;
  padding: 6px;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  font-size: 5.8px;
  font-weight: 800;
  text-align: center;
}

.quote-summary__btn .icon {
  width: 7px;
  height: 7px;
}

.quote-summary__note {
  margin-top: 4px;
  font-size: 4.8px;
  line-height: 1.3;
  color: var(--muted);
  text-align: center;
}

.quote-items {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  padding: 6px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.62);
  overflow: hidden;
}

.quote-items__label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 3px;
  font-size: 5.6px;
  font-weight: 800;
  color: var(--muted);
  white-space: nowrap;
}

.quote-items__label .icon {
  width: 8px;
  height: 8px;
  color: var(--clay);
}

.quote-item {
  padding: 3px 6px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  background: #fff;
  font-size: 5.2px;
  color: var(--muted);
  white-space: nowrap;
}

.quote-item b {
  margin-left: 3px;
  font-weight: 800;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   Portal do cliente
   -------------------------------------------------------------------------- */

.portal {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 12vw, 160px) 0;
  background: var(--ink);
  color: var(--paper);
}

.portal__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.portal__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(243, 237, 227, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 237, 227, 0.055) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, transparent 75%);
}

.portal__glow {
  position: absolute;
  top: -10%;
  right: -15%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(181, 106, 67, 0.3), transparent 64%);
  filter: blur(28px);
}

.portal__grid-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.portal h2 {
  color: var(--paper);
}

.portal h2 em {
  color: var(--clay-light);
}

.portal .feature__lead {
  color: rgba(243, 237, 227, 0.64);
}

.feature-list--light li {
  border-color: rgba(243, 237, 227, 0.14);
}

.feature-list--light strong {
  color: var(--paper);
}

.feature-list--light span {
  color: rgba(243, 237, 227, 0.54);
}

.feature-list--light .feature-list__check {
  border-color: rgba(243, 237, 227, 0.16);
  background: rgba(243, 237, 227, 0.06);
  color: var(--clay-light);
}

.portal__copy {
  min-width: 0;
}

.portal__note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 22px 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(243, 237, 227, 0.54);
}

.portal__note .icon {
  width: 14px;
  height: 14px;
  color: var(--clay-light);
}

.phones {
  position: relative;
  min-width: 0;
  height: 620px;
  transform: translate3d(0, calc((0.5 - var(--sp, 0.5)) * 60px), 0);
  transition: transform 0.12s linear;
  will-change: transform;
}

.phones__stage {
  position: absolute;
  inset: 0;
}

.phone {
  position: absolute;
  top: 50%;
  left: 50%;
  overflow: hidden;
  border: 8px solid #100d0b;
  border-radius: 42px;
  background: #100d0b;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  will-change: transform;
}

.phone--front {
  z-index: 3;
  width: 288px;
  height: 600px;
  transform: translate(-50%, -50%) translateX(62px) rotate(calc(3deg - var(--sp, 0.5) * 2deg));
}

.phone--back {
  z-index: 2;
  width: 250px;
  height: 530px;
  opacity: 0.94;
  transform: translate(-50%, -50%) translateX(-122px) translateY(-12px) rotate(-8deg);
}

.phone__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 5;
  width: 78px;
  height: 18px;
  border-radius: 999px;
  background: #100d0b;
  transform: translateX(-50%);
}

.phone__status {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  padding: 0 18px;
  background: #f6f0e6;
  color: var(--ink);
  font-size: 7px;
  font-weight: 800;
}

.phone__signal {
  display: flex;
  align-items: flex-end;
  gap: 2px;
}

.phone__signal i {
  display: block;
  width: 3px;
  border-radius: 1px;
  background: var(--ink);
}

.phone__signal i:nth-child(1) {
  height: 3px;
}

.phone__signal i:nth-child(2) {
  height: 5px;
}

.phone__signal i:nth-child(3) {
  height: 7px;
}

.portal-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 38px 12px 12px;
  overflow: hidden;
  background: #f6f0e6;
  color: var(--ink);
  font-size: 8px;
}

.pap__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.pap__brand {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pap__brand svg {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  flex: none;
}

.pap__brand span span {
  color: var(--clay);
}

.pap__avatar {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--clay);
  color: #fff;
  font-size: 5.8px;
  font-weight: 800;
}

.pap__hello {
  margin: 0;
  font-size: 6.8px;
  color: var(--muted);
}

.pap__hello span {
  display: block;
  font-size: 5.6px;
  color: var(--muted);
}

.pap__hello strong {
  display: block;
  font-size: 9px;
  font-weight: 800;
  color: var(--ink);
}

.pap__obra {
  margin: 2px 0 5px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.pap__progress {
  margin-top: 8px;
  padding: 8px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(49, 37, 22, 0.04);
}

.pap__progress-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.pap__progress-top span {
  font-size: 5.8px;
  font-weight: 700;
  color: var(--muted);
}

.pap__progress-top strong {
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}

.bar--portal {
  height: 5px;
  margin: 5px 0 4px;
}

.pap__progress p {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-size: 5.2px;
  color: var(--muted);
}

.pap__progress p .icon {
  width: 7px;
  height: 7px;
  color: var(--green);
}

.pap__section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0 5px;
  font-size: 5.8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pap__section small {
  font-size: 5.2px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--clay);
}

.update {
  padding: 7px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(49, 37, 22, 0.04);
}

.update__head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.update__ico {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #f3e2d6;
  color: var(--clay-dark);
  flex: none;
}

.update__ico .icon {
  width: 9px;
  height: 9px;
}

.update__ico--sage {
  background: #e8efe2;
  color: var(--green);
}

.update__head div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.update__head strong {
  font-size: 6.4px;
  font-weight: 800;
}

.update__head span {
  font-size: 5.1px;
  color: var(--muted);
}

.update p {
  margin: 5px 0 6px;
  font-size: 5.2px;
  line-height: 1.45;
  color: var(--muted);
}

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

.update__photos .photo {
  height: 30px;
  border-radius: 3px;
}

.update--small {
  margin-top: 5px;
}

.update__check {
  width: 10px;
  height: 10px;
  margin-left: auto;
  color: var(--green);
}

.next-milestone {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 7px;
  padding: 7px 8px;
  border: 1px dashed rgba(181, 106, 67, 0.35);
  border-radius: 8px;
  background: rgba(243, 226, 214, 0.42);
}

.next-milestone__label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 4.8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay-dark);
}

.next-milestone__label .icon {
  width: 7px;
  height: 7px;
}

.next-milestone strong {
  font-size: 6.4px;
  font-weight: 800;
  line-height: 1.25;
}

.next-milestone > span:last-child {
  font-size: 5.1px;
  color: var(--muted);
}

.pap__contact {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  padding: 7px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
}

.pap__contact-avatars {
  display: flex;
  flex: none;
}

.pap__contact-avatars i {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: #e6d7c3;
  color: #4a3524;
  font-size: 4.6px;
  font-style: normal;
  font-weight: 800;
}

.pap__contact-avatars i + i {
  margin-left: -5px;
  background: var(--clay);
  color: #fff;
}

.pap__contact div {
  display: flex;
  flex: 1;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.pap__contact strong {
  font-size: 5.8px;
  font-weight: 800;
}

.pap__contact span {
  font-size: 4.8px;
  color: var(--muted);
}

.pap__contact-btn {
  flex: none;
  padding: 3px 5px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff !important;
  font-size: 4.6px !important;
  font-weight: 800;
}

.pap__nav {
  display: flex;
  justify-content: space-between;
  gap: 2px;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid rgba(30, 26, 21, 0.08);
}

.pap__nav span {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 4.4px;
  font-weight: 700;
  color: var(--muted);
}

.pap__nav .icon {
  width: 10px;
  height: 10px;
}

.pap__nav .is-active {
  color: var(--clay);
}

/* Telefone secundário ---------------------------------------------------- */

.portal-app--docs {
  padding-top: 38px;
}

.pap__back {
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.pap__dots {
  font-size: 7px;
  letter-spacing: 1px;
  color: var(--muted);
}

.pap__top strong {
  font-size: 8px;
  font-weight: 800;
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}

.doc {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: #fff;
}

.doc__ico {
  display: grid;
  place-items: center;
  width: 20px;
  height: 22px;
  border-radius: 4px;
  background: #f3e2d6;
  color: var(--clay-dark);
  font-size: 4.4px;
  font-weight: 800;
  flex: none;
}

.doc__ico--xls {
  background: #e8efe2;
  color: var(--green);
}

.doc div {
  display: flex;
  flex: 1;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.doc strong {
  overflow: hidden;
  font-size: 5.8px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.doc span {
  font-size: 4.8px;
  color: var(--muted);
}

.doc .icon {
  width: 9px;
  height: 9px;
  color: var(--muted);
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.chat__msg {
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.chat__avatar {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e6d7c3;
  color: #4a3524;
  font-size: 4.4px;
  font-weight: 800;
  flex: none;
}

.chat__avatar--brand {
  background: var(--clay);
  color: #fff;
}

.chat__msg p {
  max-width: 150px;
  margin: 0;
  padding: 5px 6px;
  border: 1px solid var(--line-soft);
  border-radius: 8px 8px 8px 2px;
  background: #fff;
  font-size: 5px;
  line-height: 1.35;
}

.chat__msg--reply {
  justify-content: flex-end;
}

.chat__msg--reply p {
  border-color: transparent;
  border-radius: 8px 8px 2px 8px;
  background: #f3e9da;
}

.pwa-toast {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 7px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.pwa-toast .icon {
  width: 12px;
  height: 12px;
  color: var(--clay-light);
}

.pwa-toast div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.pwa-toast strong {
  font-size: 5.4px;
}

.pwa-toast span {
  font-size: 4.6px;
  color: rgba(243, 237, 227, 0.6);
}

.portal-toast {
  position: absolute;
  right: -2%;
  bottom: 9%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 214px;
  padding: 9px 11px;
  border: 1px solid rgba(30, 26, 21, 0.08);
  border-radius: 12px;
  background: rgba(252, 249, 243, 0.97);
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: float 7s ease-in-out infinite;
  animation-delay: -2s;
}

.portal-toast__ico {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--clay);
  color: #fff;
  flex: none;
}

.portal-toast__ico .icon {
  width: 13px;
  height: 13px;
}

.portal-toast div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.portal-toast strong {
  font-size: 7.6px;
  font-weight: 800;
}

.portal-toast span {
  font-size: 5.8px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Bento de recursos
   -------------------------------------------------------------------------- */

.bento-head {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

.bento-head h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 4.4vw, 4.05rem);
}

.bento-head__lead {
  justify-self: end;
  max-width: 40ch;
  margin: 0 0 6px;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--muted);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.bento__card {
  display: flex;
  flex-direction: column;
  grid-column: span 4;
  min-width: 0;
  min-height: 190px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.bento__card:hover {
  border-color: rgba(181, 106, 67, 0.35);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.bento__card--wide {
  grid-column: span 6;
}

.bento__card--third {
  grid-column: span 3;
}

.bento__card:nth-child(2),
.bento__card:nth-child(3) {
  grid-column: span 3;
}

.bento__ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: var(--paper-2);
  color: var(--clay);
  flex: none;
}

.bento__ico .icon {
  width: 17px;
  height: 17px;
}

.bento__card h3 {
  margin: 0 0 7px;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bento__card p {
  max-width: 36ch;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
}

.bento__viz {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
}

.viz-row {
  display: grid;
  grid-template-columns: 62px 1fr 32px;
  gap: 8px;
  align-items: center;
  font-size: 6.6px;
  font-weight: 700;
  color: var(--muted);
}

.viz-row small {
  font-weight: 800;
  text-align: right;
  color: var(--ink-2);
}

.bento__card--accent {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.bento__card--accent p {
  color: rgba(243, 237, 227, 0.62);
}

.bento__card--accent .bento__ico {
  border-color: rgba(243, 237, 227, 0.12);
  background: rgba(243, 237, 227, 0.08);
  color: var(--clay-light);
}

.bento__tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 4px 7px;
  border: 1px solid rgba(230, 179, 148, 0.3);
  border-radius: 999px;
  color: var(--clay-light);
  font-size: 6.6px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Como funciona
   -------------------------------------------------------------------------- */

.steps-head {
  margin-bottom: 42px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.step-card {
  padding: 26px 30px 10px 0;
}

.step-card + .step-card {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.step-card__num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 2.2rem;
  font-style: italic;
  line-height: 1;
  color: var(--clay);
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.step-card p {
  max-width: 32ch;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Manifesto
   -------------------------------------------------------------------------- */

.manifesto {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 12vw, 160px) 0;
  text-align: center;
}

.manifesto p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.manifesto em {
  font-style: italic;
  color: var(--clay);
}

.manifesto__line {
  display: block;
  width: 1px;
  height: 80px;
  margin: 38px auto 0;
  background: linear-gradient(var(--clay), transparent);
}

/* --------------------------------------------------------------------------
   CTA final
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 12vw, 150px) 0;
  background: var(--ink);
  color: var(--paper);
}

.cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(243, 237, 227, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 237, 227, 0.055) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 78%);
}

.cta__circle {
  position: absolute;
  right: -120px;
  bottom: -320px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(230, 179, 148, 0.16);
  border-radius: 50%;
}

.cta__circle::after {
  content: "";
  position: absolute;
  inset: 70px;
  border: 1px solid rgba(230, 179, 148, 0.1);
  border-radius: 50%;
}

.cta__inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  color: var(--paper);
}

.cta h2 em {
  color: var(--clay-light);
}

.cta__lead {
  max-width: 48ch;
  margin: 0 auto 30px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(243, 237, 227, 0.62);
}

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

.cta__meta {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.cta__meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(243, 237, 227, 0.45);
}

.cta__meta .icon {
  width: 13px;
  height: 13px;
  color: var(--clay-light);
}

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */

.footer {
  padding: 60px 0 26px;
  border-top: 1px solid rgba(243, 237, 227, 0.08);
  background: #17130f;
  color: rgba(243, 237, 227, 0.6);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 60px;
  padding-bottom: 44px;
}

.footer__brand p {
  max-width: 34ch;
  margin: 18px 0 0;
  font-size: 0.8rem;
  line-height: 1.7;
}

.brand--light .brand__name {
  color: var(--paper);
}

.brand--light .brand__tag {
  color: rgba(243, 237, 227, 0.45);
}

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

.footer__nav div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__nav strong {
  margin-bottom: 4px;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 237, 227, 0.35);
}

.footer__nav a {
  font-size: 0.78rem;
  color: rgba(243, 237, 227, 0.65);
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--clay-light);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(243, 237, 227, 0.08);
  font-size: 0.68rem;
  color: rgba(243, 237, 227, 0.35);
}

/* --------------------------------------------------------------------------
   Animações
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s), filter 0.9s var(--ease) var(--d, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  filter: none;
  transform: none;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(79, 107, 74, 0.42);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(79, 107, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(79, 107, 74, 0);
  }
}

@keyframes scrollLine {
  0% {
    transform: translateX(-100%);
  }
  55% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .hero__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 6.3vw, 5.4rem);
  }

  .float-card--client {
    left: -3%;
  }

  .float-card--quote {
    right: -1%;
  }

  .pillar {
    padding-inline: 16px;
  }
}

@media (max-width: 980px) {
  .hero {
    padding-top: 128px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 44px;
  }

  .hero__copy {
    max-width: 720px;
  }

  .hero__visual {
    width: 100%;
    max-width: 740px;
    margin: 0 auto;
  }

  .feature__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .feature--reverse .feature__copy {
    order: 0;
  }

  .feature--reverse .feature__visual {
    order: 1;
  }

  .feature__copy {
    max-width: 660px;
  }

  .feature__visual {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
  }

  .portal__grid-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .portal__copy {
    max-width: 660px;
  }

  .phones {
    margin-top: 10px;
  }

  .bento-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bento-head__lead {
    justify-self: start;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    z-index: 120;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(252, 249, 243, 0.98);
    box-shadow: 0 24px 60px rgba(49, 37, 22, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 0.88rem;
  }

  .nav a::after {
    display: none;
  }

  .nav a:hover,
  .nav a.is-active {
    background: var(--paper-2);
  }

  .nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    background: var(--ink);
    color: var(--paper) !important;
    font-weight: 800;
  }

  .nav__cta .icon {
    width: 14px;
    height: 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .pillars__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }

  .pillar:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .pillar:nth-child(3),
  .pillar:nth-child(4) {
    padding-top: 18px;
    border-top: 1px solid var(--line);
  }

  .bento__card,
  .bento__card--wide,
  .bento__card--third,
  .bento__card:nth-child(2),
  .bento__card:nth-child(3) {
    grid-column: span 6;
  }

  .bento__card--wide {
    grid-column: span 12;
  }
}

@media (max-width: 760px) {
  .br-desktop {
    display: none;
  }

  .br-mobile {
    display: inline;
  }

  .site-header {
    padding: 12px 0;
  }

  .header__actions .btn {
    display: none;
  }

  .hero {
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .hero__lead {
    max-width: 44ch;
  }

  .hero__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .hero__mini-stats {
    gap: 12px 20px;
  }

  .float-ring {
    display: none;
  }

  .float-card--quote {
    top: -2%;
    right: 0;
  }

  .float-card--client {
    bottom: -3%;
    left: 0;
  }

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

  .pillar,
  .pillar:nth-child(3),
  .pillar:nth-child(4) {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .pillar:first-child {
    padding-top: 0;
    border-top: 0;
  }

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

  .app__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .app--obra {
    min-height: 0;
  }

  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .app__tabs {
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .app__tabs::-webkit-scrollbar {
    display: none;
  }

  .quote-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-summary {
    min-height: 170px;
  }

  .float-note {
    display: none;
  }

  .phones {
    height: 560px;
  }

  .phone--front {
    width: 262px;
    height: 546px;
  }

  .phone--back {
    width: 232px;
    height: 492px;
    transform: translate(-50%, -50%) translateX(-102px) translateY(-8px) rotate(-8deg);
  }

  .portal-toast {
    right: 0;
    bottom: 4%;
  }

  .bento__card,
  .bento__card--wide,
  .bento__card--third,
  .bento__card:nth-child(2),
  .bento__card:nth-child(3) {
    grid-column: span 12;
  }

  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-card,
  .step-card + .step-card {
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .step-card:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 620px) {
  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__name {
    font-size: 1.08rem;
  }

  .brand__tag {
    font-size: 0.43rem;
  }

  .hero__visual {
    padding: 14px 0;
  }

  .hero__device {
    transform: none;
  }

  .device__chrome {
    gap: 8px;
    padding: 0 10px;
  }

  .device__address {
    font-size: 6.4px;
    padding-inline: 7px;
  }

  .device__dots {
    display: none;
  }

  .app--hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .app__aside {
    display: none;
  }

  .app__pagehead {
    align-items: flex-start;
  }

  .app__pagehead .mini-btn {
    display: none;
  }

  .app--obra {
    grid-template-columns: 1fr;
  }

  .app__rail {
    display: none;
  }

  .obra-head {
    flex-direction: column;
  }

  .obra-head__actions {
    width: 100%;
  }

  .progress-card__meta span:nth-child(3) {
    display: none;
  }

  .app__crumb {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .app__search {
    display: none;
  }

  .quote-head {
    flex-direction: column;
  }

  .quote-head__actions {
    width: 100%;
  }

  .step {
    font-size: 0;
    gap: 0;
  }

  .step i {
    font-size: 5.8px;
  }

  .qrow {
    grid-template-columns: 12px minmax(0, 1fr) 52px;
  }

  .qrow > span:nth-child(3),
  .qrow > span:nth-child(4) {
    display: none;
  }

  .qrow--head > span:nth-child(3),
  .qrow--head > span:nth-child(4) {
    display: none;
  }

  .qbadge {
    display: none;
  }

  .float-card--client {
    display: none;
  }

  .float-card--quote {
    top: -14px;
    right: 4px;
  }

  .phones {
    height: 540px;
  }

  .phone--back {
    display: none;
  }

  .phone--front {
    width: 270px;
    height: 548px;
    transform: translate(-50%, -50%) rotate(calc(2deg - var(--sp, 0.5) * 2deg));
  }

  .portal-toast {
    display: none;
  }

  .manifesto p {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .cta__meta {
    gap: 14px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 430px) {
  .container {
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .eyebrow {
    font-size: 0.54rem;
  }

  .device__address {
    justify-content: flex-start;
  }

  .device__live {
    display: none;
  }

  .kpi__up {
    display: none;
  }

  .obra-row {
    grid-template-columns: 5px minmax(0, 1fr) 42px 42px;
  }

  .quote-summary {
    min-height: 160px;
  }

  .portal-toast {
    max-width: 200px;
  }
}

/* Acessibilidade: menos movimento --------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .bar i {
    width: var(--w);
  }

  .draw-line {
    stroke-dashoffset: 0;
  }

  .feature__visual,
  .phones {
    transform: none;
  }

  .hero__device {
    transform: none;
  }
}
