/* ═══════════════════════════════════════════════════════
   OMBU LAB — Site v2 (Light Mode)
   Paleta: fundo claro + terracota accent
   Fontes: Manrope (corpo e títulos)
   ═══════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:             #FFFFFF;
  --bg-surface:     #F9F8F5;
  --bg-surface-alt: #F3F0EC;
  --bg-glass:       rgba(255, 255, 255, 0.88);

  /* Hero (dark, kept) */
  --hero-bg:        #0D0D12;
  --hero-glass:     rgba(13, 13, 18, 0.85);

  /* Text */
  --text-primary:   #2F2222;
  --text-strong:    #5C2F2A;
  --text-secondary: rgba(47, 34, 34, 0.7);
  --text-muted:     rgba(47, 34, 34, 0.5);

  /* Accent — terracota */
  --terracota:      #C06158;
  --terracota-deep: #A04F45;
  --terracota-light:#D4736A;

  /* Borders */
  --border:         #DDD7C4;
  --border-hover:   rgba(192, 97, 88, 0.35);

  /* Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;

  /* Fonts */
  --font-body:  "Manrope", "Inter", sans-serif;
  --font-title: "Manrope", system-ui, sans-serif;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  /* Nav bar height — must fit canonical brand logo (see --nav-brand-logo-*). */
  --nav-h: 56px;
  /* Canonical top-left nav logo (1/3 of former 420×156). Update OMBULAB_MARKETING_SITE.md if adjusted. */
  --nav-brand-logo-max-width: 140px;
  --nav-brand-logo-max-height: 52px;
  --content-max: 1080px;
  /* Top nav: even rhythm between Quem Somos · Serviços · Contato */
  --nav-item-gap: 2rem;
  --nav-item-pad-x: 0.35rem;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

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

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--terracota); text-decoration: none; transition: color 180ms var(--ease); }
a:hover, a:focus { color: var(--terracota-deep); }

p { margin: 0; line-height: 1.7; max-width: 68ch; }
p + p { margin-top: 1.15rem; }
ul, ol { margin: 0; padding-left: 1.4rem; }
li + li { margin-top: 0.5rem; }
strong { color: var(--text-primary); }

::selection {
  background: rgba(192, 97, 88, 0.18);
  color: var(--text-primary);
}

/* Screen-reader only (accessibility) */
.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;
}

/* ── Nav ─────────────────────────────────────────────── */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  height: var(--nav-h);
  padding: 0 clamp(1rem, 3.2vw, 2.4rem);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 400ms var(--ease), border-color 400ms var(--ease), box-shadow 400ms var(--ease);
  box-sizing: border-box;
}

.top-nav.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 8px rgba(47, 34, 34, 0.06);
}

/* On hero pages, nav starts with light text; on inner pages, starts dark */
.top-nav--hero .nav-link { color: rgba(255, 255, 255, 0.78); }
.top-nav--hero .nav-link:hover,
.top-nav--hero .nav-link:focus { color: #fff; }
.top-nav--hero .nav-link.is-active { color: #fff; }
.top-nav--hero .hamburger span { background: #fff; }

.top-nav--hero.scrolled .nav-link { color: var(--text-secondary); }
.top-nav--hero.scrolled .nav-link:hover,
.top-nav--hero.scrolled .nav-link:focus { color: var(--text-primary); }
.top-nav--hero.scrolled .nav-link.is-active { color: var(--text-primary); }
.top-nav--hero.scrolled .hamburger span { background: var(--text-primary); }

.top-nav--hero .nav-services-trigger {
  color: rgba(255, 255, 255, 0.78);
}

.top-nav--hero .nav-services-trigger:hover,
.top-nav--hero .nav-services-trigger:focus,
.top-nav--hero .nav-services-trigger.is-active {
  color: #fff;
}

.top-nav--hero.scrolled .nav-services-trigger {
  color: var(--text-secondary);
}

.top-nav--hero.scrolled .nav-services-trigger:hover,
.top-nav--hero.scrolled .nav-services-trigger:focus,
.top-nav--hero.scrolled .nav-services-trigger.is-active {
  color: var(--text-primary);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  max-height: 100%;
  /* Reserve canonical width so flex siblings don’t steal space from the logo */
  flex: 0 0 var(--nav-brand-logo-max-width);
  width: var(--nav-brand-logo-max-width);
  max-width: min(var(--nav-brand-logo-max-width), 100%);
}

/* max-width alone does NOT upscale small raster assets — fixed box + object-fit scales them up */
.brand img,
.brand img.brand-logo {
  width: var(--nav-brand-logo-max-width);
  height: var(--nav-brand-logo-max-height);
  max-width: var(--nav-brand-logo-max-width);
  max-height: var(--nav-brand-logo-max-height);
  display: block;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--nav-item-gap);
  min-width: 0;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Shared label style — all caps, same metrics (links + Serviços button) */
.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 0 var(--nav-item-pad-x) 5px;
  transition: color 180ms var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-height: 2.25rem;
  box-sizing: border-box;
}

.nav-link:hover,
.nav-link:focus { color: var(--text-primary); }

.nav-link.is-active { color: var(--text-primary); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--terracota);
  border-radius: 1px;
}

.nav-services-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: inherit;
  margin: 0;
  padding: 0 var(--nav-item-pad-x) 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  min-height: 2.25rem;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.nav-submenu {
  position: absolute;
  /* Overlap trigger so pointer never crosses a dead zone (parent hover was lost in the old 10px gap) */
  top: calc(100% - 14px);
  left: 0;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(47, 34, 34, 0.1);
  padding: calc(0.45rem + 14px) 0 0.45rem 0;
  display: none;
  z-index: 120;
}

.nav-submenu a {
  display: block;
  padding: 0.58rem 0.9rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.nav-submenu a:hover,
.nav-submenu a:focus {
  color: var(--text-primary);
  background: rgba(192, 97, 88, 0.08);
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.open .nav-submenu {
  display: block;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin: 0;
  z-index: 110;
  flex-shrink: 0;
  align-self: center;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 300ms var(--ease), opacity 200ms;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer — terracotta panel (brand) */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background:
    linear-gradient(
      165deg,
      var(--terracota) 0%,
      var(--terracota-deep) 48%,
      #8a433c 100%
    );
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  padding-top: max(2rem, calc(env(safe-area-inset-top, 0px) + 1rem));
  padding-bottom: max(2rem, calc(env(safe-area-inset-bottom, 0px) + 1rem));
  padding-left: max(1.5rem, calc(env(safe-area-inset-left, 0px) + 0.5rem));
  padding-right: max(1.5rem, calc(env(safe-area-inset-right, 0px) + 0.5rem));
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.mobile-drawer.open {
  display: flex;
  gap: 0.75rem;
}

.mobile-drawer a {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: background 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease);
  padding: 1.05rem 1.25rem;
  margin: 0 auto;
  width: 100%;
  max-width: 22rem;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.08);
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  box-sizing: border-box;
}

.mobile-drawer a:hover,
.mobile-drawer a:focus {
  color: #fff;
  background: rgba(0, 0, 0, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}

.mobile-drawer a:active {
  transform: scale(0.98);
}

/* Unify top bar with drawer when menu is open (mobile) */
@media (max-width: 768px) {
  body.drawer-open .top-nav {
    background: var(--terracota-deep);
    border-bottom-color: rgba(255, 255, 255, 0.15);
    box-shadow: none;
  }

  body.drawer-open .top-nav.scrolled {
    background: var(--terracota-deep);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.drawer-open .top-nav .brand img {
    filter: brightness(0) invert(1);
    opacity: 0.95;
  }

  body.drawer-open .hamburger span {
    background: #fff;
  }
}

/* ── Hero (kept dark) ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(1.06) brightness(1.2);
  transform: translateY(var(--parallax-offset, 0px)) scale(1.03);
  transition: transform 0.6s ease;
  z-index: 0;
}

.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-panel,
.hero-video::-webkit-media-controls-enclosure,
.hero-video::-webkit-media-controls-start-playback-button,
.hero-video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0 !important;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(transparent, transparent calc(100% - 1px), rgba(255, 255, 255, 0.06)),
    linear-gradient(90deg, transparent, transparent calc(100% - 1px), rgba(255, 255, 255, 0.06));
  background-size: min(12vw, 160px) min(12vw, 160px);
  opacity: 0.5;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem clamp(1.5rem, 5vw, 3rem) 5rem;
}

.hero-text {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transform: translateY(56px);
}

.hero-logo {
  width: clamp(253px, 34.5vw, 483px);
  height: auto;
  opacity: 0;
  transform: translateY(24px);
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(3.5rem, 8vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1;
  opacity: 0;
  transform: translateY(24px);
}

.hero-subtitle {
  font-size: clamp(0.9rem, 1.62vw, 1.08rem);
  font-weight: 800;
  color: #ffffff;
  max-width: none;
  white-space: nowrap;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  margin-top: -6px;
  opacity: 0;
  transform: translateY(24px);
}

/* ── CTA ─────────────────────────────────────────────── */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 2rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--terracota);
  color: #ffffff;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
  opacity: 0;
  transform: translateY(24px);
  margin-top: -2px;
}

.cta:hover, .cta:focus {
  background: var(--terracota-deep);
  color: #ffffff;
  transform: translateY(-2px);
}

.cta--outline {
  background: transparent;
  color: var(--terracota);
  border-color: var(--terracota);
  opacity: 1;
  transform: none;
}
.cta--outline:hover, .cta--outline:focus {
  background: var(--terracota);
  color: #ffffff;
  border-color: var(--terracota);
}

.cta--secondary {
  background: var(--bg-surface);
  color: var(--terracota);
  border-color: var(--terracota);
  opacity: 1;
  transform: none;
}
.cta--secondary:hover,
.cta--secondary:focus {
  background: var(--terracota);
  color: #ffffff;
  border-color: var(--terracota);
}

/* ── Animate in ──────────────────────────────────────── */
.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ── Page Layout ─────────────────────────────────────── */
.page-shell {
  min-height: calc(100vh - var(--nav-h));
  padding: calc(var(--nav-h) + 48px) clamp(1.25rem, 5vw, 3rem) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-content {
  width: 100%;
  max-width: var(--content-max);
  min-width: 0;
  padding-bottom: 4rem;
  box-sizing: border-box;
}

/* ── Section Headings ────────────────────────────────── */
.page-heading {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.page-lead {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

/* ── Cards ───────────────────────────────────────────── */
.card-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
.card-grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 16px rgba(192, 97, 88, 0.06);
}

.card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracota);
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.card-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--terracota);
  font-style: italic;
  line-height: 1.4;
}

.card-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* Text rhythm helper for pages with long copy */
.unified-text {
  max-width: 62ch;
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 1fr);
  gap: 2rem;
  align-items: start;
}

.problem-copy {
  min-width: 0;
}

.card-text ul {
  padding-left: 1.2rem;
}

.card-text li {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Cards — listas curtas (Serviços) */
.card-text-bullets {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-secondary);
}
.card-text-bullets li + li {
  margin-top: 0.35rem;
}
.card--compact .card-title {
  font-size: 0.98rem;
}
.card--compact .card-question {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.method-card {
  margin-top: 1rem;
}

/* Method block without outer .card — avoids double boxes around the diagram */
.method-card--bare {
  margin-top: 1.75rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}

/* 2× title/lead/caption — explicit rem (zoom is unreliable on <img> SVG) */
.method-card--bare .section-title {
  margin-bottom: 0.35rem;
  font-size: 2.3rem;
  line-height: 1.15;
}

.method-list {
  margin-top: 0.6rem;
}

.method-card__lead {
  max-width: 48rem;
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.method-card--bare .method-card__lead {
  font-size: 1.875rem;
  line-height: 1.55;
  max-width: min(56rem, 100%);
}

/* ── Método Ombu diagram (SVG) — full-bleed width so art scales horizontally ─ */
.ombu-flow {
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  max-width: 100%;
  width: 100%;
}

.method-card--bare .ombu-flow--infographic {
  width: min(100%, 1200px);
  max-width: min(100%, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(0.75rem, 3vw, 1.5rem);
  box-sizing: border-box;
  overflow: visible;
}

.ombu-flow--infographic {
  max-width: 100%;
  width: 100%;
}

.ombu-flow-infographic {
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  text-align: center;
}

.method-card--bare .ombu-flow-infographic__img {
  width: 100%;
  max-width: min(100%, 1200px);
  height: auto;
  display: block;
  margin: 0 auto;
  transform: none;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  /* Do not crop: current method diagram uses full height */
  clip-path: inset(0 0 0 0);
}

/* Ensure <object> SVG behaves like <img> */
.ombu-flow-infographic__obj {
  display: block;
}

.ombu-flow-infographic__img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.ombu-flow-infographic__cap {
  margin: 0.65rem 0 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.45;
}

.zoomable {
  position: relative;
  display: inline-block;
  width: 100%;
}

.zoomable img {
  cursor: zoom-in;
}

.zoomable__btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(13, 13, 18, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  transition: transform 200ms var(--ease), background 200ms var(--ease), opacity 200ms var(--ease);
  opacity: 0.92;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.zoomable__btn:hover,
.zoomable__btn:focus-visible {
  background: rgba(13, 13, 18, 0.68);
  transform: translateY(-2px);
  opacity: 1;
  outline: none;
}

.zoomable__btn-icon {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-1px);
}

/* Modal / popover for expanded images */
.img-popover {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(13, 13, 18, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.img-popover.is-open {
  display: flex;
}

.img-popover__panel {
  position: relative;
  width: min(1100px, 96vw);
  max-height: 92vh;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  overflow: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.img-popover__img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(92vh - 112px);
  object-fit: contain;
  display: block;
  background: #fff;
  margin: 0 auto;
}

.img-popover__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}

.img-popover__close:hover,
.img-popover__close:focus-visible {
  transform: translateY(-1px);
  border-color: var(--terracota);
  outline: none;
}

.img-popover__close span {
  font-size: 22px;
  line-height: 1;
}

.method-card--bare .ombu-flow-infographic__cap {
  font-size: 1.375rem;
  margin-top: 1rem;
}

.ombu-flow-mobile {
  display: none;
  margin: 1.15rem auto 0;
  width: 100%;
  gap: 0.9rem;
}

.ombu-flow-mobile__step {
  border: 1px solid rgba(221, 215, 196, 0.62);
  border-radius: 14px;
  background: rgba(255, 250, 245, 0.92);
  padding: 12px 12px 14px;
  display: grid;
  gap: 12px;
  box-shadow: 0 8px 20px rgba(75, 46, 46, 0.06);
}

.ombu-flow-mobile__meta {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.ombu-flow-mobile__stepnum {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(192, 97, 88, 0.12);
  color: var(--terracota);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 28px;
  text-align: center;
  flex-shrink: 0;
}

.ombu-flow-mobile__title {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-primary);
}

.ombu-flow-mobile__body {
  margin: 0.3rem 0 0;
  font-size: 0.92rem;
  line-height: 1.52;
  color: rgba(47, 34, 34, 0.68);
}

.ombu-flow-mobile__preview {
  width: 100%;
  border: 1px solid rgba(221, 215, 196, 0.45);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  display: block;
}

.ombu-flow-mobile__preview img {
  display: block;
  width: 100%;
  height: clamp(220px, 58vw, 320px);
  object-fit: contain;
  object-position: center center;
  background: #fff;
}

@media (max-width: 900px) {
  .hero-subtitle {
    white-space: normal;
    max-width: min(36rem, 92vw);
    margin-left: auto;
    margin-right: auto;
    line-height: 1.45;
  }

  .hero-text {
    max-width: min(22rem, 94vw);
  }

  .method-card--bare .section-title {
    font-size: clamp(1.35rem, 5vw, 1.85rem);
  }

  .method-card--bare .method-card__lead {
    font-size: clamp(1.05rem, 3.2vw, 1.35rem);
  }

  .method-card--bare .ombu-flow-infographic__cap {
    font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  }

  /* Serviços page: stack segment toggles + diagram in column (tablets + phones) */
  .segment-nav {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 1.5rem 0 0.75rem;
    border-bottom: none;
  }

  .segment-btn {
    width: 100%;
    padding: 1rem 1.1rem;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    white-space: normal;
    line-height: 1.35;
    hyphens: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    min-height: 3.25rem;
  }

  .segment-btn.active {
    border-color: var(--terracota);
    background: rgba(192, 97, 88, 0.08);
  }

  .segment-btn.active::after {
    display: none;
  }

  .method-card--bare .ombu-flow--infographic {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }

  .method-card--bare .ombu-flow-infographic {
    width: max-content;
    min-width: 1040px;
    margin: 0;
    padding: 0 0.75rem;
  }

  .method-card--bare .ombu-flow-infographic__img {
    width: 1040px;
    max-width: none;
    transform: none;
  }

  .method-card--bare .ombu-flow-infographic {
    display: none;
  }

  .method-card--bare .ombu-flow-mobile {
    display: grid;
  }

  .method-card--bare .method-card__one-liner {
    max-width: 30rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .page-heading br {
    display: none;
  }
}

.dashboard-slider {
  margin-top: 1.1rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.slider-track {
  flex: 1;
}

.slider-slide {
  display: none;
  margin: 0;
}

.slider-slide.active {
  display: block;
}

.slider-slide img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
}

.slider-slide figcaption {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.slider-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.slider-btn:hover,
.slider-btn:focus {
  border-color: var(--terracota);
  color: var(--terracota);
}

/* ── Segment Toggle (B2B / B2C) ──────────────────────── */
.segment-nav {
  display: flex;
  gap: 0;
  margin: 2.5rem 0 0.5rem;
  border-bottom: 1px solid var(--border);
}

.segment-btn {
  background: none;
  border: none;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: color 200ms var(--ease), border-color 200ms var(--ease), background 200ms var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
.segment-btn:hover { color: var(--text-secondary); }

.segment-btn.active {
  color: var(--text-primary);
}
.segment-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--terracota);
}

.segment-panel { display: none; }
.segment-panel.active { display: block; }

.segment-lead {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
}

.segment-lead--stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.segment-lead--stack p {
  margin: 0;
}

.segment-lead--flush {
  margin-top: 0;
}

.servicos-back {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.servicos-back a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
}

.servicos-back a:hover,
.servicos-back a:focus {
  color: var(--terracota);
  text-decoration: underline;
}

.servicos-choice-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.servicos-choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.75rem 1.75rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.servicos-choice-card:hover,
.servicos-choice-card:focus {
  border-color: var(--terracota);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
  outline: none;
}

.servicos-choice-card__title {
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
  color: var(--text-primary);
}

.servicos-choice-card__hint {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  flex: 1;
}

.servicos-choice-card__arrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--terracota);
  margin-top: 0.25rem;
}

/* Serviços hub — escolha editorial (sem card, sem caixa, tipografia + espaço) */
body.servicos-hub {
  background: #fff;
}

body.servicos-hub .servicos-hub__shell {
  min-height: calc(100vh - var(--nav-h));
  padding: calc(var(--nav-h) + 0.75rem) clamp(1rem, 4vw, 2rem) 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #fff;
  overflow-x: hidden;
}

body.servicos-hub .servicos-hub__inner {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body.servicos-hub .servicos-hub__title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: center;
  color: var(--text-primary);
  margin: 0 0 clamp(2rem, 4vw, 2.5rem);
}

body.servicos-hub .servicos-hub__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2rem;
  row-gap: 2rem;
  align-items: start;
  width: 100%;
}

body.servicos-hub .servicos-hub__choice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  min-width: 0;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  transition: transform 0.2s var(--ease);
}

body.servicos-hub .servicos-hub__choice:hover,
body.servicos-hub .servicos-hub__choice:focus-visible {
  transform: translateY(-2px);
}

body.servicos-hub .servicos-hub__choice:focus-visible {
  outline: 1px solid var(--terracota);
  outline-offset: 6px;
}

body.servicos-hub .servicos-hub__choice-title {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--terracota);
  transition: color 0.2s var(--ease);
}

body.servicos-hub .servicos-hub__choice:hover .servicos-hub__choice-title,
body.servicos-hub .servicos-hub__choice:focus-visible .servicos-hub__choice-title {
  color: var(--terracota-deep);
}

body.servicos-hub .servicos-hub__choice-sub {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(0.88rem, 1.6vw, 0.94rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

body.servicos-hub .servicos-hub__choice-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: clamp(0.9rem, 1.7vw, 0.98rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--terracota);
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
}

body.servicos-hub .servicos-hub__choice-arrow {
  margin-right: 0.3em;
  font-weight: 500;
  transition: transform 0.2s var(--ease);
}

body.servicos-hub .servicos-hub__choice:hover .servicos-hub__choice-link,
body.servicos-hub .servicos-hub__choice:focus-visible .servicos-hub__choice-link {
  color: var(--terracota-deep);
  text-decoration-color: var(--terracota-deep);
}

body.servicos-hub .servicos-hub__choice:hover .servicos-hub__choice-arrow,
body.servicos-hub .servicos-hub__choice:focus-visible .servicos-hub__choice-arrow {
  transform: translateX(3px);
}

body.servicos-hub .servicos-hub__foot {
  margin: 1.5rem auto 0;
  max-width: 48ch;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
  color: var(--text-muted);
  opacity: 0.92;
}

@media (max-width: 700px) {
  body.servicos-hub .servicos-hub__grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 2rem;
  }

  body.servicos-hub .servicos-hub__choice-sub {
    white-space: normal;
  }
}

.servicos-hero-block {
  margin-bottom: 0.5rem;
}

.servicos-hero-block .page-lead {
  max-width: 640px;
}

body.landing-b2c .servicos-hero-block .b2c-scope-note {
  margin: 0.85rem 0 0;
  max-width: 640px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

body.landing-b2c .servicos-hero-block .b2c-scope-note strong {
  color: var(--text-primary);
  font-weight: 600;
}

.servicos-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  align-items: center;
}

.method-card__footnote {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 520px;
}

.steps-footnote {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
}

.servicos-final-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  align-items: center;
}

.card-deliverable {
  margin-top: 0.5rem;
}

.card-audience {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-text--quote {
  font-size: 0.98rem;
}

.card--compact .card-text--quote {
  margin-top: 0.65rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Landing B2C — mesmo alinhamento e coluna que serviços B2B; formulário enxuto */
body.landing-b2c .page-content {
  text-align: left;
}

body.landing-b2c--conversion .page-content.b2c-landing-page {
  text-align: center;
}

body.landing-b2c .landing-b2c__section {
  margin-top: 2.75rem;
}

body.landing-b2c .landing-b2c__section-title {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

body.landing-b2c .landing-b2c__list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

body.landing-b2c .landing-b2c__list li + li {
  margin-top: 0.45rem;
}

/* B2C — produtos em 3 cards terracota */
body.landing-b2c .b2c-products .servicos-core-heading {
  margin-bottom: 1.5rem;
}

body.landing-b2c .b2c-products .card-grid {
  margin-top: 1.25rem;
}

body.landing-b2c a.b2c-product-card,
body.landing-b2c button.b2c-product-card {
  text-decoration: none;
  color: inherit;
  height: 100%;
  gap: 0.65rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

body.landing-b2c button.b2c-product-card {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  box-decoration-break: clone;
}

body.landing-b2c a.b2c-product-card:hover,
body.landing-b2c a.b2c-product-card:focus-visible,
body.landing-b2c button.b2c-product-card:hover,
body.landing-b2c button.b2c-product-card:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

body.landing-b2c .b2c-product-card__title {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

body.landing-b2c .b2c-product-tagline {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 249, 245, 0.92);
}

body.landing-b2c .b2c-products__microcopy {
  margin: 1.35rem 0 0;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 40rem;
}

body.landing-b2c .b2c-products__note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 38rem;
}

/* B2C serviços — CTA para landing dedicada (sem funil embutido) */
body.landing-b2c .b2c-servicos-landing-cta {
  margin-top: 2.5rem;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1rem, 3vw, 1.5rem);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.06) 0%, rgba(139, 69, 19, 0.02) 100%);
  border: 1px solid rgba(139, 69, 19, 0.12);
  text-align: center;
}

body.landing-b2c .b2c-servicos-landing-cta__lead {
  margin: 0;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.55;
  color: var(--text-primary);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

body.landing-b2c .b2c-servicos-landing-cta__micro {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

body.landing-b2c .b2c-servicos-landing-cta__btn {
  margin-top: 1.1rem;
  display: inline-flex;
  justify-content: center;
}

/* B2C — CTA final (servicos-morar): centralizar vs .page-content { text-align: left } */
body.landing-b2c .page-content .b2c-cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

body.landing-b2c .page-content .b2c-cta-section .b2c-cta-section__eyebrow,
body.landing-b2c .page-content .b2c-cta-section .b2c-cta-section__heading,
body.landing-b2c .page-content .b2c-cta-section .b2c-cta-section__sub,
body.landing-b2c .page-content .b2c-cta-section .b2c-cta-section__micro {
  width: 100%;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body.landing-b2c .page-content .b2c-cta-section .cta {
  align-self: center;
}

body.landing-b2c .b2c-product-card__intro {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1 1 auto;
  min-height: 0;
}

/* Alinha bloco superior dos cards quando ficam lado a lado */
@media (min-width: 769px) {
  body.landing-b2c .b2c-product-card__intro {
    min-height: 6.75rem;
  }
}

body.landing-b2c .b2c-product-card__hint {
  display: block;
  width: 100%;
  margin-top: 0.7rem;
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: rgba(255, 249, 245, 0.78);
  text-align: left;
}

body.landing-b2c .b2c-product-subhead {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0.55rem 0 0.35rem;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 249, 245, 0.78);
  text-align: left;
  align-self: flex-start;
}

body.landing-b2c .b2c-product-deliver {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0;
  text-align: left;
  width: 100%;
}

body.landing-b2c .b2c-product-deliver__item {
  display: block;
  position: relative;
  padding-left: 1rem;
  font-size: 0.84rem;
  line-height: 1.4;
  font-weight: 400;
  color: rgba(255, 249, 245, 0.82);
}

body.landing-b2c .b2c-product-deliver__item::before {
  content: "•";
  position: absolute;
  left: 0;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

body.landing-b2c .b2c-como-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 2.5rem;
  align-items: start;
  margin-top: 0.35rem;
}

@media (max-width: 720px) {
  body.landing-b2c .b2c-como-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

body.landing-b2c .b2c-como-grid__col--emphasis {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-surface);
}

body.landing-b2c .b2c-como-grid__col--emphasis .landing-b2c__section-title {
  margin-bottom: 0.75rem;
}

body.landing-b2c .landing-b2c__bullets {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 42rem;
}

body.landing-b2c .landing-b2c__bullets li + li {
  margin-top: 0.45rem;
}

body.landing-b2c .landing-b2c__diff-text {
  font-size: clamp(1.05rem, 2.2vw, 1.18rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-primary);
  margin: 0;
  max-width: 36ch;
}

body.landing-b2c .landing-b2c__steps {
  margin: 0;
  padding-left: 1.35rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 34rem;
}

body.landing-b2c .landing-b2c__steps li + li {
  margin-top: 0.5rem;
}

body.landing-b2c .landing-b2c__form-block {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

body.landing-b2c .landing-b2c__form-sub {
  margin: -0.35rem 0 1.25rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

body.landing-b2c .landing-b2c__field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

body.landing-b2c .landing-b2c__optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
  font-size: 0.85em;
}

body.landing-b2c .landing-b2c__field input:not([type="checkbox"]):not([type="radio"]),
body.landing-b2c .landing-b2c__field select {
  width: 100%;
  max-width: 26rem;
  padding: 0.65rem 0.75rem;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  box-sizing: border-box;
}

body.landing-b2c .landing-b2c__field input:not([type="checkbox"]):not([type="radio"]):focus,
body.landing-b2c .landing-b2c__field select:focus {
  outline: none;
  border-color: var(--terracota);
  box-shadow: 0 0 0 1px rgba(192, 97, 88, 0.22);
}

body.landing-b2c .landing-b2c__field input[type="checkbox"]:focus,
body.landing-b2c .landing-b2c__field input[type="radio"]:focus {
  outline: 2px solid var(--terracota);
  outline-offset: 2px;
}

body.landing-b2c .landing-b2c__field {
  margin-bottom: 1rem;
}

body.landing-b2c .landing-b2c__submit {
  width: 100%;
  max-width: 26rem;
  justify-content: center;
  border: none;
  cursor: pointer;
}

body.landing-b2c .landing-b2c__microcopy {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 28rem;
}

body.landing-b2c .landing-b2c__form-sla {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

body.landing-b2c .landing-b2c__honeypot,
body.landing-b2c .wiz-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body.landing-b2c .landing-b2c__footer-note {
  margin-top: 2.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

body.landing-b2c .landing-b2c__sticky {
  display: none;
}

@media (max-width: 720px) {
  body.landing-b2c .landing-b2c__sticky {
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 24px rgba(47, 34, 34, 0.06);
  }

  body.landing-b2c .landing-b2c__sticky .cta {
    width: 100%;
    max-width: 22rem;
    justify-content: center;
  }

  body.landing-b2c .site-footer {
    padding-bottom: 4.25rem;
  }
}

/* B2C — CTAs inside animated sections stay visible once parent fades in */
body.landing-b2c [data-animate].fade-in .cta {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

body.landing-b2c .landing-b2c__sticky .cta {
  opacity: 1;
  transform: none;
}

/* B2C — wizard orçamento + bairros */
body.landing-b2c .b2c-wizard {
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

body.landing-b2c .b2c-fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem 1rem;
  margin: 0 0 1rem;
  max-width: 26rem;
}

body.landing-b2c .b2c-fieldset__legend {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0 0.25rem;
}

body.landing-b2c .b2c-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.5rem;
}

body.landing-b2c .b2c-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  cursor: pointer;
}

body.landing-b2c .b2c-hint {
  margin: 0.35rem 0 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

body.landing-b2c .b2c-bairros-list {
  max-height: 240px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.6rem;
  font-size: 0.82rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem 0.5rem;
  align-items: start;
  max-width: 100%;
  width: 100%;
  background: #fff;
}

@media (max-width: 640px) {
  body.landing-b2c .b2c-bairros-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.landing-b2c .b2c-bairros__item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.35rem;
  cursor: pointer;
  line-height: 1.25;
  color: var(--text-primary);
  min-width: 0;
}

body.landing-b2c .b2c-bairros__item input[type="checkbox"] {
  width: auto;
  max-width: none;
  margin: 0.12rem 0 0;
  padding: 0;
  flex-shrink: 0;
  align-self: flex-start;
}

body.landing-b2c .b2c-bairros__name {
  display: block;
  min-width: 0;
  word-break: break-word;
  hyphens: auto;
}

body.landing-b2c .b2c-quote-lead {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 1.25rem;
  max-width: 40rem;
}
body.landing-b2c .b2c-quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}
body.landing-b2c .b2c-quote-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
body.landing-b2c .b2c-quote-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}
body.landing-b2c .b2c-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
body.landing-b2c .b2c-price-table th,
body.landing-b2c .b2c-price-table td {
  border-bottom: 1px solid var(--border);
  padding: 0.4rem 0.35rem;
  text-align: left;
}
body.landing-b2c .b2c-price-table th {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
body.landing-b2c .b2c-quote-card__cta {
  margin-top: auto;
  align-self: flex-start;
  opacity: 1;
  transform: none;
}
body.landing-b2c .b2c-wizard__back {
  margin: 0 0 1rem;
}
body.landing-b2c .b2c-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--terracota);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.landing-b2c .b2c-link-btn:hover,
body.landing-b2c .b2c-link-btn:focus {
  color: var(--terracota-deep);
}
body.landing-b2c .b2c-product-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--text-primary);
}
body.landing-b2c .b2c-product-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 0.85rem;
  max-width: 48rem;
}
body.landing-b2c .b2c-pdf-help {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: -0.35rem 0 1rem;
  max-width: 40rem;
}
body.landing-b2c .b2c-pdf-help kbd {
  font-family: "Manrope", monospace;
  font-size: 0.82em;
  padding: 0.1em 0.35em;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--bg-surface);
}
body.landing-b2c .b2c-panel-footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin-top: 1.25rem;
  padding: 1rem 0 0.25rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(to top, var(--bg) 70%, rgba(255, 255, 255, 0));
}
body.landing-b2c .b2c-total-line {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}
body.landing-b2c .b2c-product-title + .b2c-product-desc {
  margin-top: 0;
}

body.landing-b2c .b2c-product-bullet-list {
  margin: 0 0 0.9rem;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 48rem;
  list-style: disc;
}

body.landing-b2c .b2c-product-bullet-list li + li {
  margin-top: 0.45rem;
}

body.landing-b2c .b2c-product-bullet-list li::marker {
  color: var(--terracota);
}

body.landing-b2c .b2c-product-delivers-label {
  margin: 0.35rem 0 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

body.landing-b2c .b2c-product-bullet-list + .b2c-product-delivers-label {
  margin-top: 0.85rem;
}

body.landing-b2c .b2c-product-crosssell {
  margin: -0.25rem 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 48rem;
}

body.landing-b2c .b2c-product-read .b2c-product-crosssell {
  margin: -0.1rem 0 1rem;
}

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

/* B2C — produtos 1 e 2: bloco de leitura vs bloco de ação */
body.landing-b2c .b2c-product-read {
  margin-bottom: 2rem;
  max-width: 42rem;
}

body.landing-b2c .b2c-product-title--product {
  font-size: 1.22rem;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

body.landing-b2c .b2c-product-tag {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.28rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
}

body.landing-b2c .b2c-product-lead {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 36rem;
}

body.landing-b2c .b2c-product-read .b2c-product-delivers-label {
  margin: 0.2rem 0 0.45rem;
}

body.landing-b2c .b2c-product-bullet-list--read {
  margin-bottom: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

body.landing-b2c .b2c-product-bullet-list--read li + li {
  margin-top: 0.35rem;
}

body.landing-b2c .b2c-product-action__divider {
  height: 1px;
  margin: 0 0 1.75rem;
  background: var(--border);
}

body.landing-b2c .b2c-product-action-form {
  max-width: 34rem;
}

body.landing-b2c .b2c-upload-block {
  margin-bottom: 0.35rem;
}

body.landing-b2c .b2c-upload-block__title {
  margin: 0 0 0.7rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
}

body.landing-b2c .b2c-upload-block__field {
  margin-bottom: 0.25rem;
}

body.landing-b2c .b2c-file-input {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.78rem 0.9rem;
  font-weight: 400;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--text-primary);
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-surface);
  cursor: pointer;
  transition: border-color 0.15s var(--ease);
}

body.landing-b2c .b2c-file-input:hover {
  border-color: var(--border-hover);
}

body.landing-b2c .b2c-file-input:focus {
  outline: 2px solid rgba(192, 97, 88, 0.35);
  outline-offset: 1px;
}

body.landing-b2c .b2c-pdf-help--short {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
}

body.landing-b2c .b2c-pdf-row--stack {
  margin-bottom: 1.35rem;
}

body.landing-b2c .b2c-pdf-row--stack label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

body.landing-b2c .b2c-p2-slots {
  margin-bottom: 0.35rem;
}

body.landing-b2c .b2c-p2-add-wrap {
  margin: 0.75rem 0 1.15rem;
}

body.landing-b2c .b2c-btn-add-imovel {
  display: inline;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--terracota);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

body.landing-b2c .b2c-btn-add-imovel:hover,
body.landing-b2c .b2c-btn-add-imovel:focus-visible {
  color: var(--terracota-deep);
}

body.landing-b2c .b2c-btn-add-imovel:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.landing-b2c .b2c-price-block {
  margin-bottom: 1rem;
}

body.landing-b2c .b2c-price-block__value {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.25;
}

body.landing-b2c .b2c-price-block__sub {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

body.landing-b2c .b2c-cta-strip__prompt {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

body.landing-b2c .b2c-cta-strip__sla {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

body.landing-b2c .b2c-panel-footer--product {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(to top, var(--bg) 78%, rgba(255, 255, 255, 0));
}

/* Serviços — blocos verticais (Hero → Problema → Método → …) */
.servicos-stack-section {
  margin-top: 2.75rem;
}
.servicos-stack-section:first-child {
  margin-top: 1.25rem;
}

/* B2B Serviços — intro (sem card duplicado) */
.servicos-b2b-intro__lead {
  font-size: clamp(1.05rem, 2.1vw, 1.2rem);
  font-weight: 700;
  color: var(--text-primary);
  max-width: 40rem;
  margin: 0 0 1.1rem;
  line-height: 1.45;
}
.servicos-b2b-intro__body {
  font-size: 0.98rem;
  color: var(--text-secondary);
  max-width: 42rem;
  margin: 0 0 1.75rem;
  line-height: 1.65;
}
.servicos-b2b-intro__bullets {
  margin: 0 0 1.5rem;
}
.servicos-b2b-intro__bullets.servicos-quando-list li {
  font-size: 0.95rem;
}
.servicos-b2b-intro__bridge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracota);
  margin: 0 0 0.35rem;
}

.servicos-inline-subhead {
  margin: 1.75rem 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.servicos-core-heading {
  margin-bottom: 0.35rem;
}
.problema-lines {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.problema-line {
  font-weight: 600;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.55;
  margin: 0;
}
.method-card__one-liner {
  margin: 1rem auto 0;
  max-width: 42rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
}
.method-card--bare .method-card__one-liner {
  font-size: 1.0625rem;
  margin-top: 1.25rem;
}
.servicos-quando-list {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 40rem;
}
.servicos-quando-list li {
  position: relative;
  padding-left: 1.35rem;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
}
.servicos-quando-list li + li {
  margin-top: 0.65rem;
}
.servicos-quando-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracota);
}

/* Serviços B2B — problema (destaque terracota) */
.card--terracotta-servicos {
  background: linear-gradient(155deg, var(--terracota) 0%, var(--terracota-deep) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 28px rgba(160, 79, 69, 0.22);
}
.card--terracotta-servicos:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 32px rgba(160, 79, 69, 0.28);
}
.card--terracotta-servicos .section-title {
  color: #fff;
  margin-bottom: 0.35rem;
}
.card--terracotta-servicos__title {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* B2C — preço nos cards terracota (fundo escuro: texto claro + negrito) */
body.landing-b2c .card--terracotta-servicos.b2c-product-card .b2c-product-card__price-tag {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 14px;
  font-weight: 800;
  color: #fff8f4;
}
body.landing-b2c .card--terracotta-servicos.b2c-product-card .b2c-product-card__price-tag span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 248, 244, 0.88);
}
body.landing-b2c .card--terracotta-servicos.b2c-product-card .b2c-product-card__arrow {
  color: rgba(255, 248, 244, 0.9);
}

.card-text--on-terracotta {
  color: rgba(255, 249, 245, 0.94) !important;
  max-width: 62ch;
}
.card-text--on-terracotta strong {
  color: #fff;
}

/* ── Steps (How it works) ────────────────────────────── */
.steps {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--terracota);
}

.step-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── Highlight Box ───────────────────────────────────── */
.highlight-box {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-surface);
}

.highlight-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.highlight-box strong {
  color: var(--text-primary);
}

/* ── Founder ─────────────────────────────────────────── */
.founder {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.founder-text {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.founder-photo-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}

.founder-photo {
  max-width: 180px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  opacity: 0.92;
  object-fit: cover;
}

.founder-caption {
  text-align: center;
}

.founder-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracota);
}

.founder-role {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.image-placeholder {
  padding: 1.5rem;
  border: 1px dashed var(--border-hover);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  width: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.image-placeholder-label {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracota);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.image-placeholder p {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: none;
}

/* ── Differentiators ─────────────────────────────────── */
.diff-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.diff-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.diff-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracota);
}

/* ── About duo cards ─────────────────────────────────── */
.about-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
}

.about-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  background: var(--bg-surface);
}

.about-card .section-title {
  margin-bottom: 0.9rem;
}

.about-card--differentials .diff-list {
  margin-top: 0;
  gap: 0.95rem;
}

.about-card--founder {
  background: var(--terracota);
  border-color: var(--terracota-deep);
}

.about-card--founder .section-title {
  color: #ffffff;
}

.about-card--founder .founder-name {
  color: #ffffff;
}

.about-card--founder .founder-role {
  color: rgba(255, 255, 255, 0.86);
}

.about-card--founder .card-text {
  color: rgba(255, 255, 255, 0.94);
}

.founder-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #ffffff;
}

.founder-link:hover,
.founder-link:focus {
  color: rgba(255, 255, 255, 0.85);
}

.about-founder-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.about-founder-photo {
  width: 144px;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: none;
}

.about-founder-meta {
  display: flex;
  flex-direction: column;
}

.about-founder-meta .founder-name {
  font-size: 0.78rem;
}

.about-founder-meta .founder-role {
  font-size: 0.68rem;
}

/* ── Footer ──────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem clamp(1.25rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-surface);
}

.footer-inner {
  width: 100%;
  max-width: var(--content-max);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-col span,
.footer-col a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.footer-col a:hover { color: var(--terracota); }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.footer-links a:hover { color: var(--terracota); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.footer-credit {
  text-align: center;
  margin-top: 1.5rem;
  width: 100%;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 0;
}

/* ── Contact cards (Contato page) — terracotta panels ─ */
.card.contact-card {
  text-align: center;
  align-items: center;
  background: linear-gradient(155deg, var(--terracota) 0%, var(--terracota-deep) 52%, #8f453d 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 28px rgba(92, 47, 42, 0.28);
}

.card.contact-card:hover {
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 12px 36px rgba(92, 47, 42, 0.35);
}

.contact-card .card-title {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.contact-card .contact-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-card .contact-detail {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms var(--ease), opacity 180ms var(--ease);
}

.contact-card .contact-detail:hover,
.contact-card .contact-detail:focus {
  color: #ffffff;
  opacity: 0.92;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-card .contact-hint {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 0.25rem;
}

.social-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.social-row a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.social-row a:hover { color: var(--terracota); }

.partnerships {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.partnerships p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 540px;
  margin: 0.5rem auto 0;
}

/* ── Spacers & Dividers ──────────────────────────────── */
.section-spacer { margin-top: 4rem; }
.section-divider {
  margin: 3rem 0;
  border: none;
  border-top: 1px solid var(--border);
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin-right: max(0px, env(safe-area-inset-right, 0px));
  }
  .nav-submenu { display: none !important; }

  .top-nav {
    height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    min-height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    max-height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
    padding-bottom: 0;
    box-sizing: border-box;
    align-items: center;
    overflow: visible;
    flex-wrap: nowrap;
  }

  /* Bar height follows --nav-h; logo box scales down on narrow screens */
  .brand {
    flex: 0 1 auto;
    flex-shrink: 0;
    min-width: 0;
    align-self: center;
    height: var(--nav-h);
    max-height: var(--nav-h);
    overflow: visible;
    position: relative;
    z-index: 2;
    width: min(calc(100vw - 5.5rem), var(--nav-brand-logo-max-width));
    max-width: min(calc(100vw - 5.5rem), var(--nav-brand-logo-max-width));
  }

  .top-nav .brand img,
  .top-nav .brand img.brand-logo {
    display: block;
    width: min(calc(100vw - 5.5rem), var(--nav-brand-logo-max-width));
    max-width: min(calc(100vw - 5.5rem), var(--nav-brand-logo-max-width));
    height: var(--nav-brand-logo-max-height);
    max-height: var(--nav-brand-logo-max-height);
    object-fit: contain;
    object-position: left center;
  }

  /* Hero: subtitle must wrap; clear fixed nav; stable viewport height */
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    background: var(--hero-bg);
  }

  .hero-content {
    flex: 1;
    min-height: 0;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-h) + 1.25rem) max(1rem, calc(env(safe-area-inset-left, 0px) + 0.75rem)) max(2rem, calc(env(safe-area-inset-bottom, 0px) + 1.25rem)) max(1rem, calc(env(safe-area-inset-right, 0px) + 0.75rem));
  }

  .hero-text {
    transform: translateY(0);
    width: 100%;
    max-width: 22rem;
    gap: 1.25rem;
  }

  .hero-logo {
    width: min(88vw, 280px);
    max-width: 100%;
  }

  .hero-subtitle {
    white-space: normal;
    max-width: 100%;
    padding: 0 0.25rem;
    text-wrap: balance;
    font-size: clamp(0.95rem, 3.8vw, 1.05rem);
    line-height: 1.45;
  }

  .hero-video {
    transform: translateY(0) scale(1.04);
  }

  .page-shell {
    padding-top: calc(var(--nav-h) + max(36px, calc(env(safe-area-inset-top, 0px) + 8px)));
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
  }

  .page-content {
    padding-bottom: max(3rem, calc(env(safe-area-inset-bottom, 0px) + 2rem));
  }

  .founder { flex-direction: column; gap: 2rem; }
  .founder-photo { max-width: 160px; }

  .card-grid.two,
  .card-grid.three { grid-template-columns: 1fr; }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-duo {
    grid-template-columns: 1fr;
  }

  .about-founder-head {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .about-founder-meta {
    align-items: center;
    flex: 1 1 100%;
  }

  .footer-inner { flex-direction: column; gap: 1.5rem; }

  .dashboard-slider {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-footer {
    padding-bottom: max(2.5rem, calc(env(safe-area-inset-bottom, 0px) + 1.5rem));
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.5rem, 14vw, 4rem); }

  .page-heading { font-size: clamp(2rem, 8vw, 3rem); }

  .card { padding: 1.5rem; }

  .hero-text {
    max-width: 100%;
  }

  .hero-logo {
    width: min(90vw, 260px);
  }

  .cta {
    width: 100%;
    max-width: 280px;
    padding: 0.85rem 1.5rem;
  }
}

/* B2C — faixa full-bleed com foto ao fundo do fluxo (opacidade da foto: 40%) */
body.landing-b2c .b2c-form-strip {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin: 2.75rem calc(50% - 50vw) 0;
  padding: clamp(2.25rem, 5vw, 3.75rem) clamp(1rem, 4vw, 2rem);
  background-color: var(--bg);
  isolation: isolate;
}

body.landing-b2c .b2c-form-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("servicos-morar-form-bg.png") center center / cover no-repeat;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

/* Coluna editorial (~32rem) alinhada ao bloco de texto do fluxo (~28rem) + pequeno offset */
body.landing-b2c .b2c-como-antes-form {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
}

body.landing-b2c .b2c-form-strip > .b2c-wizard {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(32rem, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: clamp(1.25rem, 2.5vw, 1.65rem) clamp(0.9rem, 2vw, 1.15rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 36px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

body.landing-b2c .b2c-form-strip .landing-b2c__form-block {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

body.landing-b2c .b2c-form-strip .landing-b2c__microcopy,
body.landing-b2c .b2c-form-strip .landing-b2c__form-sla {
  text-align: center;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

body.landing-b2c .b2c-form-strip .b2c-flow-entry {
  margin-left: auto;
  margin-right: auto;
}

/* B2C — funil morar (entrada → contato → qualificação → produtos) */
body.landing-b2c .b2c-wizard--funnel .landing-b2c__form-block {
  max-width: 100%;
}

body.landing-b2c .b2c-flow-entry {
  max-width: 28rem;
}

body.landing-b2c .b2c-flow-entry__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
}

body.landing-b2c .b2c-flow-entry__subtitle {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 0.75rem;
  max-width: 26rem;
}

body.landing-b2c .b2c-flow-entry__scope {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

body.landing-b2c .b2c-flow-entry__or {
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0.35rem 0;
}

body.landing-b2c .b2c-flow-entry__hint {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0.35rem 0 1rem;
}

body.landing-b2c .b2c-radio-row--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

body.landing-b2c .b2c-qualify-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0.35rem 0 1rem;
  line-height: 1.45;
}

body.landing-b2c .b2c-optional {
  font-weight: 400;
  color: var(--text-muted);
}

body.landing-b2c .b2c-products-stage__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  color: var(--text-primary);
  max-width: 40rem;
}

body.landing-b2c .b2c-products-stage__intro {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  max-width: 36rem;
  line-height: 1.5;
}

body.landing-b2c .b2c-product-grid {
  align-items: stretch;
}

body.landing-b2c .b2c-product-pick {
  cursor: pointer;
  text-align: left;
  transition: opacity 0.15s ease;
}

body.landing-b2c .b2c-product-pick:focus-visible {
  outline: 2px solid var(--terracota);
  outline-offset: 3px;
}

body.landing-b2c .b2c-product-pick--disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: auto;
}

body.landing-b2c .b2c-product-pick--disabled:hover {
  border-color: var(--border);
  box-shadow: none;
}

body.landing-b2c .b2c-product-pick--disabled:focus-visible {
  outline: 1px dashed var(--border);
  outline-offset: 3px;
}

body.landing-b2c .b2c-product-card__hint--avail {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: rgba(255, 249, 245, 0.95);
  text-shadow: 0 1px 0 rgba(120, 48, 40, 0.35);
}

body.landing-b2c .b2c-product-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.15rem;
  margin-bottom: 0.6rem;
}

body.landing-b2c .b2c-pick-hint {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-secondary);
  margin: 1rem 0 0;
  max-width: 36rem;
  padding: 0.65rem 0 0;
  border-top: 1px solid var(--border);
}

body.landing-b2c .b2c-product-detail-shell {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 1rem;
}

body.landing-b2c .b2c-upload-block__sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: -0.35rem 0 0.65rem;
}

/* ── Landing B2C conversão (landing-morartest.html / landing-morar.html) — sem foto de fundo, colunas controladas */
body.landing-b2c--conversion .b2c-landing-page {
  max-width: 87.5rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 1.5rem);
  padding-right: clamp(1rem, 3vw, 1.5rem);
  text-align: center;
}

body.landing-b2c--conversion .b2c-landing-como .landing-b2c__bullets {
  display: inline-block;
  text-align: left;
  margin: 0.5rem auto 0;
}

body.landing-b2c--conversion .b2c-wizard--landing .b2c-flow-entry--group {
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

body.landing-b2c--conversion .b2c-wizard--landing .landing-b2c__field {
  text-align: left;
}

body.landing-b2c--conversion .b2c-landing-nav {
  justify-content: space-between;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

body.landing-b2c--conversion .b2c-landing-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

body.landing-b2c--conversion .b2c-landing-hero {
  max-width: 45rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) 0 1.5rem;
  text-align: center;
}

body.landing-b2c--conversion .b2c-landing-hero__title {
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0 0 0.75rem;
  text-wrap: balance;
}

/* Wizard step titles on conversion landings — fewer orphaned last words */
body.landing-b2c--conversion .wiz-step-title {
  text-wrap: balance;
}

/* Ensure [hidden] wins over any accidental display rules on wizard steps */
body.landing-b2c--conversion .b2c-wizard__step[hidden] {
  display: none !important;
}

body.landing-b2c--conversion .b2c-landing-hero__lead {
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 0.5rem;
  text-wrap: balance;
}

body.landing-b2c--conversion .b2c-landing-hero__micro {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--terracota);
  margin: 0 0 0.75rem;
}

body.landing-b2c--conversion .b2c-landing-hero__scope {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

body.landing-b2c--conversion .b2c-landing-como {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

body.landing-b2c--conversion .b2c-landing-funnel {
  margin-top: 0.5rem;
}

body.landing-b2c--conversion .b2c-landing-funnel > .b2c-wizard--landing {
  max-width: min(56rem, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: clamp(1.35rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.04);
}

body.landing-b2c--conversion .b2c-wizard--landing .landing-b2c__form-block {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

body.landing-b2c--conversion .b2c-wizard--landing .b2c-flow-entry {
  max-width: 100%;
}

body.landing-b2c--conversion #b2c-step-products .b2c-products-stage {
  max-width: min(68.75rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

body.landing-b2c--conversion .b2c-flow-entry--group {
  padding-bottom: 0.25rem;
}

body.landing-b2c--conversion .b2c-landing-funnel .landing-b2c__microcopy,
body.landing-b2c--conversion .b2c-landing-funnel .landing-b2c__form-sla {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

body.landing-b2c--conversion .landing-b2c__footer-note {
  text-align: center;
}

/* Hero home — CTA para landing */
.hero-cta-landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.hero-cta-landing .cta {
  margin: 0;
}

.hero-cta-landing__micro {
  font-size: 0.88rem;
  color: rgba(255, 249, 245, 0.85);
  margin: 0;
}

/* LP serviços morar / em-breve — rodapé: tinta principal #2F2222 (última palavra sobre `a`, `a:hover`) */
footer.lp-page-footer .lp-page-footer__inner {
  color: #2F2222 !important;
}

footer.lp-page-footer p.lp-page-footer__copy {
  color: #2F2222 !important;
}

footer.lp-page-footer a.lp-page-footer__link {
  color: #2F2222 !important;
}

footer.lp-page-footer a.lp-page-footer__link:hover,
footer.lp-page-footer a.lp-page-footer__link:focus {
  color: var(--terracota) !important;
}
