/* 8URSOS site v33 - full redesign
   Palette: ink #131110, paper #F4F1EA, concrete #8C8579, rust #C1502F, brass #B99456
   Type: Fraunces (display) + Inter (body)
   Mobile-first, no horizontal scroll, WCAG AA. */

/* ---------- tokens ---------- */
:root {
  --ink: #131110;
  --ink-soft: #2a2520;
  --paper: #F4F1EA;
  --paper-dim: #ebe6dc;
  --paper-warm: #efe9db;
  --concrete: #8C8579;
  --concrete-soft: #a9a397;
  --rust: #C1502F;
  --rust-dark: #a63f22;
  --brass: #B99456;
  --brass-soft: #d4b57a;
  --border: rgba(19, 17, 16, 0.12);
  --border-strong: rgba(19, 17, 16, 0.22);
  --shadow-sm: 0 1px 2px rgba(19, 17, 16, 0.06);
  --shadow-md: 0 6px 24px rgba(19, 17, 16, 0.08);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1200px;
  --max-narrow: 760px;
  --gutter: clamp(16px, 4vw, 32px);

  --step--1: clamp(0.80rem, 0.76rem + 0.2vw, 0.90rem);
  --step-0:  clamp(0.95rem, 0.90rem + 0.25vw, 1.05rem);
  --step-1:  clamp(1.10rem, 1.00rem + 0.5vw, 1.25rem);
  --step-2:  clamp(1.35rem, 1.15rem + 1vw, 1.65rem);
  --step-3:  clamp(1.75rem, 1.40rem + 1.75vw, 2.4rem);
  --step-4:  clamp(2.20rem, 1.70rem + 2.5vw, 3.4rem);
  --step-5:  clamp(2.80rem, 2.00rem + 4vw, 4.6rem);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  color: var(--ink);
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { margin: 0 0 1em; }
em { font-style: italic; color: var(--rust); font-family: var(--font-display); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: var(--max-narrow); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 10px 14px; z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--rust);
  margin: 0 0 1rem;
}
.lead {
  font-size: var(--step-1);
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 60ch;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 0;
}
.brand { display: inline-flex; align-items: baseline; gap: 2px; text-decoration: none; }
.brand-logo { height: 36px; width: auto; }
.registered-mark {
  font-size: 0.65rem; color: var(--concrete);
  margin-left: 2px; font-family: var(--font-body);
}
.desktop-nav {
  display: none;
  align-items: center; gap: 28px;
}
.desktop-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.desktop-nav a:hover { color: var(--rust); }
.desktop-nav a.active { color: var(--rust); }
.menu-toggle {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  background: transparent; border: 1px solid var(--border-strong);
  padding: 12px 12px;
  min-width: 44px; min-height: 44px;
  border-radius: 8px;
}
.menu-toggle span {
  width: 18px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 60px 0 0 0;
  background: var(--paper);
  padding: 24px var(--gutter) 32px;
  display: none; flex-direction: column; gap: 8px;
  border-top: 1px solid var(--border);
  z-index: 40;
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.7rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a.active { color: var(--rust); }
.mobile-menu .button { margin-top: 16px; border-bottom: 0; }

@media (min-width: 900px) {
  .desktop-nav { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .brand-logo { height: 42px; }
}

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 22px;
  min-height: 44px;
  font-weight: 600; font-size: 0.98rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s, color .2s, box-shadow .2s;
  line-height: 1;
}
.button-primary { background: var(--rust); color: #fff; }
.button-primary:hover { background: var(--rust-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.button-secondary { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.button-secondary:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.button-ghost { background: transparent; color: var(--ink); padding: 10px 0; border-radius: 0; }
.button-ghost::after { content: " →"; transition: transform .2s; display: inline-block; }
.button-ghost:hover { color: var(--rust); }
.button-ghost:hover::after { transform: translateX(4px); }
.button-wa::before {
  content: ""; width: 16px; height: 16px; background: currentColor;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M16 3C9 3 3 9 3 16c0 2 .5 4 1.5 6L3 29l7-1.5c2 1 4 1.5 6 1.5 7 0 13-6 13-13S23 3 16 3zm7.5 18c-.3.8-1.5 1.5-2.3 1.6-.6.1-1.3.2-4.3-1-3.6-1.5-6-5.3-6.2-5.5-.2-.3-1.5-2-1.5-3.9 0-1.8 1-2.7 1.3-3 .3-.4.8-.5 1-.5h.7c.3 0 .5 0 .8.6l1 2.5c.1.3 0 .5-.1.7l-.4.5-.3.4c-.1.1-.2.3-.1.5s.6 1.4 1.6 2.3c1.3 1.2 2.4 1.5 2.7 1.7.3.1.5.1.7-.1l1-1.1c.2-.2.3-.2.6-.1.3.1 2 1 2.3 1.2.3.1.5.2.5.3.1.3.1 1-.2 1.9z'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M16 3C9 3 3 9 3 16c0 2 .5 4 1.5 6L3 29l7-1.5c2 1 4 1.5 6 1.5 7 0 13-6 13-13S23 3 16 3zm7.5 18c-.3.8-1.5 1.5-2.3 1.6-.6.1-1.3.2-4.3-1-3.6-1.5-6-5.3-6.2-5.5-.2-.3-1.5-2-1.5-3.9 0-1.8 1-2.7 1.3-3 .3-.4.8-.5 1-.5h.7c.3 0 .5 0 .8.6l1 2.5c.1.3 0 .5-.1.7l-.4.5-.3.4c-.1.1-.2.3-.1.5s.6 1.4 1.6 2.3c1.3 1.2 2.4 1.5 2.7 1.7.3.1.5.1.7-.1l1-1.1c.2-.2.3-.2.6-.1.3.1 2 1 2.3 1.2.3.1.5.2.5.3.1.3.1 1-.2 1.9z'/></svg>") center/contain no-repeat;
}
.button-large { padding: 18px 28px; min-height: 52px; font-size: 1.05rem; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
@media (min-width: 768px) { section { padding: 96px 0; } }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark .eyebrow { color: var(--brass); }
.section-dark em { color: var(--brass); }
.section-dark .button-secondary { color: var(--paper); border-color: rgba(244, 241, 234, 0.35); }
.section-dark .button-secondary:hover { background: var(--paper); color: var(--ink); }
.section-warm { background: var(--paper-warm); }

.section-head {
  max-width: 46rem;
  margin-bottom: 40px;
}
.section-head p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; }

/* ---------- hero ---------- */
.hero {
  padding: 48px 0 56px;
  position: relative;
}
@media (min-width: 768px) { .hero { padding: 72px 0 96px; } }
.hero-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; }
}
.hero-copy h1 { font-size: clamp(2.4rem, 1.4rem + 4.5vw, 4.4rem); letter-spacing: -0.02em; }
.hero-copy .lead { margin: 20px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual {
  position: relative;
  aspect-ratio: 2 / 3;
  width: 100%;
  max-width: 390px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 24px;
  background: #050505;
  border: 1px solid rgba(19, 35, 43, .16);
  box-shadow: 0 18px 38px rgba(19, 35, 43, .12);
}
.hero-mascot {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: none;
}
@media (max-width: 899px) {
  .hero-visual { max-width: min(340px, 82vw); }
}

/* ---------- bear SVG line-art animation ---------- */
.bear-path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}
.bear-path.is-visible {
  animation: bear-draw 3.2s ease-out forwards;
}
@keyframes bear-draw {
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bear-path { stroke-dashoffset: 0; animation: none; }
}

/* ---------- segmentos (Para quem é) ---------- */
.segment-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .segment-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .segment-grid { grid-template-columns: repeat(4, 1fr); } }
.segment-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .2s, transform .2s;
}
.segment-card:hover { border-color: var(--rust); transform: translateY(-2px); }
.segment-card .seg-label {
  font-family: var(--font-display);
  font-size: 1.5rem; line-height: 1.1;
  color: var(--ink);
}
.segment-card p { color: var(--ink-soft); margin: 0; }
.segment-card a {
  margin-top: auto;
  color: var(--rust);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.segment-card a::after { content: " →"; }

/* ---------- casos (cases) ---------- */
.cases-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .cases-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cases-grid { grid-template-columns: repeat(3, 1fr); } }
.case-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.case-screen {
  aspect-ratio: 16 / 10;
  background: var(--paper-dim);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.case-screen img { width: 60%; height: auto; max-height: 70%; object-fit: contain; }
.case-screen .case-placeholder {
  position: absolute; bottom: 10px; left: 10px;
  background: var(--ink); color: var(--paper);
  font-size: 0.7rem; padding: 4px 8px; border-radius: 4px;
  letter-spacing: 0.05em;
}
.case-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.case-body h3 { margin: 0; font-size: 1.3rem; }
.case-meta { color: var(--concrete); font-size: 0.85rem; }
.case-body p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

/* ---------- cases stats bar ---------- */
.cases-stats {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: var(--paper-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}
@media (min-width: 720px) { .cases-stats { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.cases-stats li {
  text-align: center;
  padding: 10px 4px;
  border-right: 1px solid var(--border);
}
.cases-stats li:last-child { border-right: 0; }
.cases-stats li:nth-child(2) { border-right: 0; }
@media (min-width: 720px) {
  .cases-stats li:nth-child(2) { border-right: 1px solid var(--border); }
}
.cases-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--rust);
  line-height: 1;
  font-weight: 600;
}
.cases-stats span {
  display: block;
  color: var(--concrete);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ---------- portfolio card refinements ---------- */
.cases-grid-portfolio { grid-template-columns: 1fr; }
@media (min-width: 720px) { .cases-grid-portfolio { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cases-grid-portfolio { grid-template-columns: repeat(3, 1fr); } }

.case-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.case-card:hover { border-color: var(--rust); }
.case-card:hover .case-link { transform: translateY(-2px); }
.case-card:hover .case-screen { background: var(--paper); }

.case-card-feature {
  grid-column: 1 / -1;
}
@media (min-width: 1100px) {
  .case-card-feature .case-link { flex-direction: row; }
  .case-card-feature .case-screen { aspect-ratio: auto; min-width: 320px; max-width: 45%; border-right: 1px solid var(--border); border-bottom: 0; }
}

/* Full-site screenshot variant (shows the client's actual site) */
.case-screen-shot {
  background: var(--paper-dim);
  padding: 0;
  overflow: hidden;
}
.case-screen-shot img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Typographic placeholder when logo is missing */
.case-screen-type {
  background: linear-gradient(135deg, var(--paper-warm), var(--paper-dim));
}
.case-type {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-align: center;
  padding: 12px 20px;
  line-height: 1.1;
}

/* Case card internals */
.case-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}
.case-head h3 { margin: 0; font-size: 1.25rem; }
.case-status {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
  line-height: 1.3;
}
.status-done {
  background: rgba(94, 142, 60, 0.14);
  color: #3d6b1e;
}
.status-wip {
  background: rgba(185, 148, 86, 0.18);
  color: #7a5f23;
}
.case-tags {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.case-tags li {
  background: var(--paper-warm);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
}
.case-description {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 10px 0 0;
  line-height: 1.5;
}

/* ---------- testimonials ---------- */
.testimonial-grid {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .testimonial-grid { grid-template-columns: 1fr 1fr; } }
.testimonial-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
}
.testimonial-card::before {
  content: "“";
  position: absolute; top: 10px; left: 20px;
  font-family: var(--font-display);
  font-size: 5rem; line-height: 1;
  color: var(--brass);
  opacity: 0.6;
}
.testimonial-card blockquote {
  margin: 0 0 20px; padding-top: 24px;
  font-family: var(--font-display);
  font-size: 1.25rem; line-height: 1.4;
  color: var(--ink);
}
.testimonial-card cite {
  display: block; font-style: normal;
  color: var(--concrete); font-size: 0.9rem;
}
.testimonial-card cite strong { color: var(--ink); font-weight: 600; }

/* ---------- como funciona steps ---------- */
.step-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 768px) { .step-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .step-grid { grid-template-columns: repeat(4, 1fr); } }
.step {
  padding: 28px;
  border-top: 2px solid var(--ink);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem; color: var(--rust);
  margin-bottom: 12px;
  line-height: 1;
}
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

/* ---------- partners ---------- */
.partner-grid {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .partner-grid { grid-template-columns: 1fr 1fr; } }
.partner-card {
  display: flex; gap: 20px; align-items: flex-start;
}
.partner-photo {
  width: 120px; height: 120px; flex-shrink: 0;
  background: var(--paper-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--concrete);
  font-size: 0.7rem;
  text-align: center;
  padding: 10px;
  letter-spacing: 0.05em;
  overflow: hidden;
}
.partner-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.partner-body h3 { margin: 0 0 6px; font-size: 1.3rem; }
.partner-body p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }
.partner-role { color: var(--rust); font-size: 0.85rem; font-weight: 600; margin: 2px 0 10px; letter-spacing: 0.05em; text-transform: uppercase; }

/* ---------- cities ---------- */
.city-list {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 24px 0 0; padding: 0; list-style: none;
}
.city-list li {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 999px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- faq ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.6rem; color: var(--rust);
  transition: transform .2s; flex-shrink: 0;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 14px 0 0; color: var(--ink-soft); }

/* ---------- final CTA ---------- */
.final-cta {
  background: var(--ink); color: var(--paper);
  padding: 72px 0;
  text-align: center;
}
.final-cta h2 { color: var(--paper); max-width: 24ch; margin-inline: auto; }
.final-cta .lead { color: var(--paper-dim); margin: 20px auto 32px; }
.final-cta .em-brass { color: var(--brass); font-style: italic; font-family: var(--font-display); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--paper-warm);
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
}
.footer-main {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
}
.footer-brand img { height: 42px; width: auto; }
.footer-brand p { color: var(--ink-soft); font-size: 0.95rem; max-width: 32ch; margin-top: 16px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.footer-nav a:hover { color: var(--rust); }
.footer-contact p { margin: 0 0 6px; font-size: 0.9rem; color: var(--concrete); }
.footer-contact a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 8px;
}
.footer-contact a:hover { color: var(--rust); }
.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 40px; padding-top: 20px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  color: var(--concrete); font-size: 0.82rem;
}
.footer-bottom p { margin: 0; }

/* ---------- whatsapp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 60;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float::before {
  content: ""; width: 30px; height: 30px; background: #fff;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M16 3C9 3 3 9 3 16c0 2 .5 4 1.5 6L3 29l7-1.5c2 1 4 1.5 6 1.5 7 0 13-6 13-13S23 3 16 3zm7.5 18c-.3.8-1.5 1.5-2.3 1.6-.6.1-1.3.2-4.3-1-3.6-1.5-6-5.3-6.2-5.5-.2-.3-1.5-2-1.5-3.9 0-1.8 1-2.7 1.3-3 .3-.4.8-.5 1-.5h.7c.3 0 .5 0 .8.6l1 2.5c.1.3 0 .5-.1.7l-.4.5-.3.4c-.1.1-.2.3-.1.5s.6 1.4 1.6 2.3c1.3 1.2 2.4 1.5 2.7 1.7.3.1.5.1.7-.1l1-1.1c.2-.2.3-.2.6-.1.3.1 2 1 2.3 1.2.3.1.5.2.5.3.1.3.1 1-.2 1.9z'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M16 3C9 3 3 9 3 16c0 2 .5 4 1.5 6L3 29l7-1.5c2 1 4 1.5 6 1.5 7 0 13-6 13-13S23 3 16 3zm7.5 18c-.3.8-1.5 1.5-2.3 1.6-.6.1-1.3.2-4.3-1-3.6-1.5-6-5.3-6.2-5.5-.2-.3-1.5-2-1.5-3.9 0-1.8 1-2.7 1.3-3 .3-.4.8-.5 1-.5h.7c.3 0 .5 0 .8.6l1 2.5c.1.3 0 .5-.1.7l-.4.5-.3.4c-.1.1-.2.3-.1.5s.6 1.4 1.6 2.3c1.3 1.2 2.4 1.5 2.7 1.7.3.1.5.1.7-.1l1-1.1c.2-.2.3-.2.6-.1.3.1 2 1 2.3 1.2.3.1.5.2.5.3.1.3.1 1-.2 1.9z'/></svg>") center/contain no-repeat;
}

/* ---------- internal pages ---------- */
.page-hero {
  padding: 72px 0 32px;
}
.page-hero h1 { font-size: clamp(2rem, 1.2rem + 4vw, 3.6rem); max-width: 20ch; }
.page-hero .lead { margin: 20px 0 0; }

.two-col {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* ---------- contact form ---------- */
.contact-wrap {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact-wrap { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }

.contact-sidebar h2 { font-size: var(--step-3); }
.contact-sidebar .wa-cta {
  display: block;
  background: var(--rust); color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  margin: 24px 0 24px;
  font-weight: 600;
}
.contact-sidebar .wa-cta small {
  display: block; opacity: 0.9; font-weight: 400; margin-top: 4px; font-size: 0.85rem;
}
.contact-info-item { padding: 14px 0; border-top: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: 1px solid var(--border); }
.contact-info-item .label {
  display: block; color: var(--concrete); font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px;
}
.contact-info-item .value { color: var(--ink); font-weight: 500; }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-row label { font-size: 0.9rem; color: var(--ink); font-weight: 500; }
.form-row input,
.form-row textarea,
.form-row select {
  font: inherit;
  background: var(--paper-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--ink);
  width: 100%;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: 2px solid var(--rust);
  border-color: var(--rust);
}
.form-note { color: var(--concrete); font-size: 0.82rem; margin: 0 0 18px; }
.form-feedback {
  padding: 14px 16px; border-radius: var(--radius-sm);
  margin-bottom: 18px; font-size: 0.92rem;
}
.form-feedback.success { background: #e6f3df; color: #2f5f1a; border: 1px solid #b8dca0; }
.form-feedback.error { background: #fbe5df; color: #7a2918; border: 1px solid #e9b5a5; }

/* ---------- preco / orientation ---------- */
.price-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex; flex-direction: column; gap: 10px;
}
.price-card .price-tag {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--rust);
  margin: 0;
}
.price-card h3 { margin: 0; font-size: 1.3rem; }
.price-card p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }
.price-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- quote / signature line ---------- */
.signature-line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  color: var(--brass);
  margin: 32px 0 0;
}

/* ---------- brand registry list ---------- */
.brand-registry-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) { .brand-registry-list { grid-template-columns: 1fr 1fr; } }
.brand-registry-list li {
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 4px solid var(--rust);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand-registry-list strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 600;
}
.brand-registry-list span {
  color: var(--concrete);
  font-size: 0.85rem;
}

/* ---------- hero micro-proof ---------- */
.hero-microproof {
  margin-top: 20px;
  color: var(--concrete);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* ---------- lead magnet (reciprocity) ---------- */
.lead-magnet-section {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0;
}
.lead-magnet-section .eyebrow { color: var(--brass); }
.lead-magnet-section em { color: var(--brass); }
.lead-magnet-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
@media (min-width: 900px) {
  .lead-magnet-wrap { grid-template-columns: 1.4fr 1fr; gap: 48px; }
}
.lead-magnet-copy h2 {
  color: var(--paper);
  font-size: var(--step-3);
  margin: 0 0 12px;
}
.lead-magnet-copy p {
  color: var(--paper-dim);
  margin: 0;
  font-size: 1.05rem;
}
.lead-magnet-cta { text-align: left; }
@media (min-width: 900px) { .lead-magnet-cta { text-align: right; } }
.lead-magnet-cta .form-note { color: var(--concrete-soft); margin-top: 10px; }
.lead-magnet-cta .button-primary { background: var(--brass); color: var(--ink); }
.lead-magnet-cta .button-primary:hover { background: var(--brass-soft); }

/* ---------- value ladder ---------- */
.ladder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) { .ladder-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ladder-grid { grid-template-columns: repeat(5, 1fr); } }

.ladder-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.ladder-card-entry {
  border-color: var(--rust);
  border-width: 2px;
  box-shadow: 0 10px 30px rgba(193, 80, 47, 0.12);
}
.ladder-card-pro {
  background: var(--paper-warm);
  border-color: var(--border-strong);
}
.ladder-badge {
  position: absolute;
  top: -12px; left: 20px;
  background: var(--rust);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ladder-badge.badge-dark {
  background: var(--ink);
  color: var(--brass);
}
.ladder-card h3 {
  margin: 4px 0 0;
  font-size: 1.25rem;
}
.ladder-tag {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
  min-height: 2.6em;
}
.ladder-price {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 0.9rem;
}
.ladder-price strong {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--rust);
  font-weight: 600;
}
.ladder-price small {
  display: block;
  color: var(--concrete);
  font-size: 0.78rem;
  margin-top: 2px;
}
.ladder-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.ladder-list li {
  padding-left: 18px;
  position: relative;
  line-height: 1.35;
}
.ladder-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 10px; height: 2px;
  background: var(--rust);
}
.ladder-card .button {
  margin-top: auto;
  padding: 11px 16px;
  font-size: 0.88rem;
  justify-content: center;
  width: 100%;
}

/* ---------- testimonials: 4-up ---------- */
.testimonial-grid-4 {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .testimonial-grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .testimonial-grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- authority (dark) ---------- */
.authority-section .section-head { max-width: none; }
.authority-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) { .authority-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.authority-section h2 { font-size: var(--step-3); }
.authority-section p { color: var(--paper-dim); font-size: 1.05rem; }
.auth-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
@media (min-width: 500px) { .auth-list { grid-template-columns: 1fr 1fr; } }
.auth-list li {
  padding: 20px;
  background: rgba(244, 241, 234, 0.06);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--brass);
}
.auth-list strong {
  display: block;
  font-family: var(--font-display);
  color: var(--brass);
  font-size: 1.15rem;
  margin-bottom: 4px;
  font-weight: 600;
}
.auth-list span { color: var(--paper-dim); font-size: 0.9rem; }

/* ---------- guarantee + honest scarcity ---------- */
.guarantee-section .two-col { gap: 32px; }
@media (min-width: 900px) { .guarantee-section .two-col { gap: 40px; } }
.guarantee-card,
.scarcity-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  height: 100%;
}
.scarcity-card {
  background: var(--paper-warm);
  border-left: 4px solid var(--brass);
}
.guarantee-card h2,
.scarcity-card h2 { font-size: var(--step-3); }
.guarantee-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.guarantee-list li {
  padding-left: 24px;
  position: relative;
  color: var(--ink-soft);
}
.guarantee-list li strong { color: var(--ink); }
.guarantee-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  color: var(--rust);
  font-weight: 700;
}

/* ---------- final CTA phone ---------- */
.final-phone {
  color: var(--paper-dim);
  font-size: 0.95rem;
  margin-top: 14px;
}
.final-phone a {
  color: var(--brass);
  font-family: var(--font-display);
  font-weight: 500;
  text-decoration: none;
}
.final-phone a:hover { text-decoration: underline; }

/* ---------- utilities ---------- */
.center { text-align: center; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 56px; }
.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;
}

/* ---------- refinamentos: marca, projetos e território ---------- */
.brand { position: relative; }
.registered-mark {
  position: absolute;
  top: 1px;
  right: -11px;
  margin: 0;
  font-size: .62rem;
  line-height: 1;
}
.footer-brand > sup {
  position: relative;
  top: -25px;
  left: -5px;
  color: var(--concrete);
  font-size: .62rem;
  line-height: 1;
}

.projects-marquee {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 20px;
  overflow: hidden;
  padding: 6px 2px 16px;
  margin-inline: -2px;
}
.projects-marquee::before,
.projects-marquee::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: clamp(20px, 5vw, 90px);
  pointer-events: none;
}
.projects-marquee::before { left: 0; background: linear-gradient(90deg, var(--paper-warm), transparent); }
.projects-marquee::after { right: 0; background: linear-gradient(270deg, var(--paper-warm), transparent); }
.projects-marquee__track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: max-content;
  animation: projects-marquee var(--projects-marquee-duration, 70s) linear infinite;
  will-change: transform;
}
.projects-marquee .case-card {
  flex: 0 0 min(320px, calc(100vw - 54px));
  width: min(320px, calc(100vw - 54px));
}
.projects-marquee .case-card-feature { grid-column: auto; }
.projects-marquee .case-card-feature .case-link { flex-direction: column; }
.projects-marquee .case-card-feature .case-screen {
  aspect-ratio: 16 / 10;
  min-width: 0;
  max-width: none;
  border-right: 0;
  border-bottom: 1px solid var(--border);
}
.projects-marquee:hover .projects-marquee__track,
.projects-marquee:focus-within .projects-marquee__track { animation-play-state: paused; }
@keyframes projects-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .projects-marquee { overflow-x: auto; }
  .projects-marquee__track { animation: none; }
}

.territory-section { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%); }
.territory-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}
.territory-copy { max-width: 620px; }
.territory-copy h2 { max-width: 15ch; margin-bottom: 18px; }
.territory-copy > p:not(.eyebrow) { max-width: 56ch; color: var(--ink-soft); font-size: 1.05rem; }
.territory-proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.territory-proof span {
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--ink-soft);
  font-size: .8rem;
  font-weight: 600;
}
.territory-proof span::before { content: "•"; color: var(--rust); padding-right: 7px; }
.territory-card {
  padding: clamp(24px, 4vw, 40px);
  background: var(--ink);
  border-radius: var(--radius-md);
  box-shadow: 0 22px 48px rgba(19, 35, 43, .14);
}
.territory-card-label {
  margin: 0 0 18px;
  color: var(--brass);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.territory-card .city-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
}
.territory-card .city-list li {
  background: rgba(244, 241, 234, .07);
  border: 1px solid rgba(244, 241, 234, .16);
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--paper);
  font-size: .86rem;
}
@media (min-width: 900px) {
  .territory-layout { grid-template-columns: minmax(0, 1.1fr) minmax(390px, .9fr); gap: clamp(44px, 7vw, 92px); }
}
@media (max-width: 420px) {
  .territory-card .city-list { grid-template-columns: 1fr; }
}

/* The previous portfolio grid has desktop breakpoints. Keep the marquee a single row there too. */
@media (min-width: 721px) {
  .projects-marquee {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
  .projects-marquee > .case-card,
  .projects-marquee__track > .case-card {
    display: flex !important;
    flex: 0 0 320px !important;
    width: 320px !important;
    grid-column: auto !important;
  }
  .projects-marquee__track {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
  }
}

/* ---------- public transparency metrics ---------- */
.transparency-section { background: var(--paper-warm); }
.transparency-layout { display: grid; gap: 28px; align-items: center; }
.transparency-copy { max-width: 580px; }
.transparency-copy h2 { margin-bottom: 16px; }
.transparency-copy p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.05rem; }
.transparency-panel {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: 0 20px 42px rgba(19, 35, 43, .15);
}
.transparency-panel__label { margin: 0 0 21px; color: var(--brass); font-size: .75rem; font-weight: 700; line-height: 1.35; letter-spacing: .11em; text-transform: uppercase; }
.transparency-stats { display: grid; grid-template-columns: 1fr; gap: 14px; }
.transparency-stats > div { padding: 15px 0; border-top: 1px solid rgba(244, 241, 234, .18); }
.transparency-stats strong { display: block; color: var(--paper); font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 600; line-height: 1; }
.transparency-stats span { display: block; margin-top: 7px; color: var(--paper-dim); font-size: .86rem; }
.transparency-note { margin: 13px 0 0; color: var(--paper-dim); font-size: .82rem; line-height: 1.55; }
.transparency-note strong { color: var(--brass); }
@media (min-width: 760px) { .transparency-stats { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 900px) { .transparency-layout { grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr); gap: clamp(44px, 7vw, 92px); } }
