/* ==========================================================================
   Mão Certa — OFICINA
   Cool graphite against warm plaster, one burnt-copper signal colour.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-var-latin.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-var-cyrillic.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('../fonts/onest-var-latin.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('../fonts/onest-var-cyrillic.woff2') format('woff2-variations');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  /* grounds */
  --graphite: #15181e;
  --graphite-deep: #0f1216;
  --graphite-raise: #1f242c;
  --plaster: #f2ede4;
  --plaster-hi: #faf7f1;
  --concrete-ground: #e4e2dc;

  /* ink on light */
  --ink: #15181e;
  --ink-muted: #5c5952;
  --ink-faint: #6e6b65;

  /* type on dark */
  --cream: #f2ede4;
  --cream-muted: #b3afa7;
  --cream-faint: #97938b;

  /* hairlines */
  --line: #dcd5c7;
  --line-strong: #c6bca8;
  /* the service table's only tap affordance, so it clears the 3:1 non-text floor */
  --line-table: #8a8780;
  --line-dark: rgba(242, 237, 228, 0.13);
  --line-dark-strong: rgba(242, 237, 228, 0.24);

  /* accents — signal on dark, ember on light, never mixed */
  --signal: #e2601f;
  --signal-hover: #f06f2b;
  --ember: #9e360e;
  --concrete: #6c7883;
  --concrete-lite: #8a959f;
  --cta-ink: #15181e;

  --container: 1200px;
  /* distance from the viewport edge to the container's content edge */
  --gutter: max(32px, calc((100vw - 1200px) / 2 + 32px));
  --font-display: 'Onest', 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: -0.006em;
  font-variant-numeric: tabular-nums lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-display); color: inherit; }

h1 {
  font-weight: 700;
  /* sized so the longest headline line fits the 6-column copy well in both
     Portuguese and Russian at every desktop width — see .hero h1 .line plates */
  font-size: clamp(2.05rem, 5vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
}
h2 {
  font-weight: 700;
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 20ch;
  text-wrap: balance;
}

p { text-wrap: pretty; }
h3 {
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.26;
  letter-spacing: -0.014em;
}

h1 em, h2 em {
  font-style: normal;
  background-image: linear-gradient(var(--ember), var(--ember));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 3px;
  padding-bottom: 0.07em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  /* longhands: a shorthand here silently clobbers vertical padding set by
     .footer-inner and .footer-bottom at the same specificity */
  padding-left: 32px;
  padding-right: 32px;
}

.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon-sm { width: 15px; height: 15px; }

.skip-link {
  position: absolute;
  left: -999px;
  background: var(--signal);
  color: var(--cta-ink);
  padding: 12px 20px;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { left: 20px; top: 20px; }

::selection { background: var(--signal); color: var(--cta-ink); }

:where(a, button):focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

/* ---------- Dark rooms ---------- */
.tone-dark {
  background: var(--graphite);
  color: var(--cream);
  --ink: var(--cream);
  --ink-muted: var(--cream-muted);
  --ink-faint: var(--cream-faint);
  --line: var(--line-dark);
  --line-strong: var(--line-dark-strong);
  --ember: var(--signal);
  --concrete: var(--concrete-lite);
}

/* ---------- Type utilities ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--ember);
}

.section-lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 48ch;
  color: var(--ink-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 15px 26px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn-lg { min-height: 58px; padding: 18px 32px; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: 10px 18px; font-size: 0.85rem; }

.btn-primary,
.btn-whatsapp {
  background: var(--signal);
  color: var(--cta-ink);
}
.btn-primary:hover,
.btn-whatsapp:hover { background: var(--signal-hover); transform: translateY(-1px); }
.btn-primary:active,
.btn-whatsapp:active { transform: translateY(0) scale(0.99); }
.btn-primary:focus-visible,
.btn-whatsapp:focus-visible { outline-color: var(--graphite); }

/* solid secondary — never translucent over an unknown photo */
.btn-outline {
  background: var(--graphite-raise);
  border-color: var(--line-dark-strong);
  color: var(--cream);
}
.btn-outline:hover { background: #262c36; border-color: var(--cream-faint); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-dark-strong);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--cream); }
.site-header.scrolled .btn-ghost { border-color: var(--line-strong); color: var(--ink-muted); }
.site-header.scrolled .btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* cream CTA used on the deepest ground */
.btn-cream {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--graphite);
}
.btn-cream:hover { background: #fff; transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: background 0.24s var(--ease), border-color 0.24s var(--ease), color 0.24s var(--ease);
}
.site-header.scrolled {
  background: var(--plaster-hi);
  color: var(--ink);
  border-bottom-color: var(--line);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--signal);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
  transition: height 0.24s var(--ease);
}
.site-header.scrolled .header-inner { height: 64px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.brand::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--signal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-weight: 500;
  font-size: 0.875rem;
}
.nav-links a { position: relative; color: var(--cream-muted); transition: color 0.2s var(--ease); }
.site-header.scrolled .nav-links a { color: var(--ink-muted); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--cream); }
.site-header.scrolled .nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

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

.lang-switch {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line-dark-strong);
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--cream-faint);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lang-switch:hover { color: var(--cream); border-color: var(--cream-faint); }
.site-header.scrolled .lang-switch { border-color: var(--line-strong); color: var(--ink-faint); }
.site-header.scrolled .lang-switch:hover { color: var(--ink); border-color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-panel {
  display: none;
  flex-direction: column;
  padding: 8px 32px 28px;
  background: var(--graphite-raise);
  border-bottom: 1px solid var(--line-dark);
}
.site-header.scrolled .nav-panel { background: var(--plaster-hi); border-bottom-color: var(--line); }
.nav-panel.open { display: flex; }
.nav-panel a {
  padding: 15px 2px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--cream-muted);
  font-size: 1rem;
}
.site-header.scrolled .nav-panel a { border-bottom-color: var(--line); color: var(--ink-muted); }
.nav-panel-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.nav-panel-actions .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--graphite);
  color: var(--cream);
  padding: 164px 0 0;
  min-height: clamp(660px, 90vh, 900px);
  min-height: clamp(660px, 90svh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* guarantees the header keeps its contrast whatever the photo turns out to be */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 148px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 18, 22, 0.88) 0%, rgba(15, 18, 22, 0.55) 45%, transparent 100%);
}

.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(46vw, 760px);
  z-index: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%),
    linear-gradient(180deg, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 26%),
    linear-gradient(180deg, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-pos, 50% 42%);
  filter: grayscale(0.2) saturate(0.88) contrast(1.05) brightness(0.84);
  animation: heroIn 1100ms var(--ease) both;
}
@keyframes heroIn {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(21, 24, 30, 0.3);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--graphite) 0, rgba(21, 24, 30, 0.55) 34%, transparent 72%);
}

/* the photo never arrived — the trades themselves become the image */
.hero-media.no-media img { display: none; }
.hero-media.no-media::before,
.hero-media.no-media::after { display: none; }

.media-wall {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.04em;
  padding-left: 9%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 5.4vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #232830;
  user-select: none;
}
.hero-media.no-media .media-wall { display: flex; }
/* warm enough to be the wall's focal point, muted enough that it never
   competes with the CTA — copper at full strength means "tap me" */
.media-wall .is-signal { color: rgba(226, 96, 31, 0.45); }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  padding-bottom: 152px;
}
.hero-copy { grid-column: 1 / span 6; max-width: 642px; }

.hero h1 { margin-bottom: 26px; }
.hero h1 .line {
  display: block;
  width: fit-content;
  max-width: 100%;
  background: var(--graphite);
  line-height: 1.02;
  padding: 0.04em 0.34em 0.14em 0;
}

.hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.55;
  max-width: 44ch;
  color: var(--cream-muted);
  margin-bottom: 32px;
}
.lead-short { display: none; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }

.hero-note {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--cream-faint);
}

/* the 0 € plate — positioned against the hero, so it sits on the slab,
   the photo and the service strip at once */
.quote-plate {
  position: absolute;
  z-index: 4;
  /* hangs past the hero's bottom edge onto the service strip, but stops short
     of the chip labels, which are vertically centred in a 72px band */
  bottom: -18px;
  right: var(--gutter);
  width: 268px;
  display: grid;
  gap: 6px;
  padding: 22px 24px 24px;
  background: var(--signal);
  color: var(--cta-ink);
  transition: background 0.18s var(--ease);
}
.quote-plate:hover { background: var(--signal-hover); }
.quote-plate:focus-visible { outline-color: var(--graphite); }
.quote-label {
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.quote-figure {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.25rem, 9vw, 5.5rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
}
.quote-note { font-size: 0.8125rem; line-height: 1.4; font-weight: 500; }

/* ---------- Service strip ---------- */
.svc-strip {
  position: relative;
  z-index: 3;
  background: var(--graphite-raise);
  border-top: 1px solid var(--line-dark);
}
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.svc-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 72px;
  padding: 12px 10px;
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  text-align: center;
  transition: background 0.2s var(--ease);
}
.svc-chip + .svc-chip { border-left: 1px solid var(--line-dark); }
.svc-chip .icon { width: 18px; height: 18px; color: var(--concrete-lite); transition: color 0.2s var(--ease); }
.svc-chip:hover, .svc-chip:active { background: var(--graphite); }
.svc-chip:hover .icon, .svc-chip:active .icon { color: var(--signal); }

/* ---------- Sections ---------- */
.section { padding: 124px 0 132px; }
#vantagens { padding: 140px 0; }
#como-funciona { padding: 112px 0 120px; background: var(--concrete-ground); }
.cta-section { padding: 132px 0 116px; }

.section-head { margin-bottom: 68px; }
.section-head h2 { margin-bottom: 20px; }

@media (min-width: 900px) {
  .section-head {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    align-items: end;
  }
  .section-head .eyebrow { grid-column: 1 / -1; align-self: start; }
  .section-head h2 { grid-column: 1 / span 7; margin-bottom: 0; }
  .section-head .section-lead { grid-column: 9 / -1; }
}

/* ---------- Serviços — the drawn table ---------- */
#servicos { background: var(--plaster); }

/* hairlines live on the cells, not on the grid's background: a card fading in
   must never expose a slab of line colour underneath it */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--plaster);
}

.service-card {
  position: relative;
  isolation: isolate;
  display: block;
  background: var(--plaster);
  box-shadow: 0 0 0 1px var(--line-table);
  padding: 36px 32px 42px;
  transition: color 0.3s var(--ease-io);
}
.service-card > * { position: relative; z-index: 1; }

.service-icon { width: 26px; height: 26px; color: var(--concrete); margin-bottom: 22px; transition: color 0.3s var(--ease-io); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-muted); transition: color 0.3s var(--ease-io); }
.service-tags {
  margin-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-faint);
  transition: color 0.3s var(--ease-io);
}

@media (hover: hover) {
  .service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--graphite);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s var(--ease-io);
  }
  .service-card:hover::before { transform: scaleY(1); }
  .service-card:hover { color: var(--cream); }
  .service-card:hover h3 { color: var(--cream); }
  .service-card:hover p { color: var(--cream-muted); }
  .service-card:hover .service-tags { color: var(--cream-faint); }
  .service-card:hover .service-icon { color: var(--signal); }
}

/* one permanently inverted tile — reads on touch, where hover does not exist */
.service-card.is-anchor { background: var(--graphite); color: var(--cream); }
.service-card.is-anchor h3 { color: var(--cream); }
.service-card.is-anchor p { color: var(--cream-muted); }
.service-card.is-anchor .service-tags { color: var(--cream-faint); }
.service-card.is-anchor .service-icon { color: var(--signal); }

/* ---------- Vantagens ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background-image: linear-gradient(var(--line-dark), var(--line-dark)),
    linear-gradient(var(--line-dark), var(--line-dark));
  background-size: 100% 1px, 1px 100%;
  background-position: 0 50%, 50% 0;
  background-repeat: no-repeat;
}

.feature-row { padding: 44px 0; }
/* column one starts on the same left margin as every other section, and the
   vertical hairline keeps a symmetric gutter (scoped: the grid is 1-col below) */
@media (min-width: 721px) {
  .feature-row { padding-right: 52px; }
  .features-grid > .feature-row:nth-child(2n) { padding-right: 0; padding-left: 52px; }
}

/* a copper watermark, not a second numbered sequence competing with the steps */
.feature-index {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 5vw, 4rem);
  line-height: 1;
  margin-bottom: 10px;
  color: rgba(226, 96, 31, 0.2);
}

.feature-text h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--cream);
}
.feature-text p { font-size: 0.9375rem; line-height: 1.6; color: var(--cream-muted); max-width: 42ch; }

/* ---------- Photo band ---------- */
.photo-band {
  height: 200px;
  background: var(--graphite);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%);
}
.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  filter: grayscale(0.2) saturate(0.88) contrast(1.05) brightness(0.84);
}
.photo-band.no-media { display: none; }

/* ---------- Como funciona ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
/* the connector belongs to the steps, so it terminates at 03 instead of
   running on past it to the container edge */
.process-step { position: relative; }
.process-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 0;
  right: -40px;
  height: 1px;
  background: var(--line-strong);
}
.process-number {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--ember);
  background: var(--concrete-ground);
  padding: 0 22px;
  margin-left: -22px;
  margin-bottom: 20px;
}
.process-step h3 { margin-bottom: 10px; }
.process-step p { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-muted); max-width: 30ch; }
.process-cta { margin-top: 52px; display: flex; justify-content: center; }

/* ---------- Contacto ---------- */
.cta-section {
  background: var(--graphite-deep);
  overflow-x: hidden;
  overflow-x: clip;
}
.cta-inner h2 { margin-bottom: 30px; color: var(--cream); max-width: 18ch; }
.cta-inner .section-lead { max-width: 52ch; margin-bottom: 44px; color: var(--cream-muted); }

.phone-display {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 6vw, 4.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  white-space: nowrap;
  color: var(--cream);
  margin-bottom: 68px;
  margin-left: -0.07em; /* cancels the "+" glyph's left sidebearing */
  transition: color 0.18s var(--ease);
}
.phone-display:hover { color: var(--signal); }
.phone-display::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -20px;
  /* the rule is centred on the number, not the viewport, so it must overshoot
     generously to reach both edges; .cta-section clips it */
  width: 300vw;
  height: 3px;
  background: var(--signal);
}

/* two masses instead of one column and a dead right third */
.cta-foot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 40px 56px;
  align-items: start;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.fact-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--graphite-raise);
  border: 1px solid var(--line-dark);
}
.fact-row { padding: 22px 26px; }
.fact-row:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
.fact-row:nth-child(2n) { border-left: 1px solid var(--line-dark); }
.fact-key {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-faint);
}
.fact-val { display: block; font-size: 0.9375rem; color: var(--cream); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--graphite-deep);
  border-top: 1px solid var(--line-dark);
  padding-top: 72px;
}
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 52px; }
.footer-brand .brand { color: var(--cream); }
.footer-brand p { color: var(--cream-faint); font-size: 0.875rem; margin-top: 16px; max-width: 32ch; }

.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.9375rem;
  color: var(--cream-muted);
}
.footer-links a:hover, .footer-contact a:hover { color: var(--signal); }
.footer-contact a { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { color: var(--concrete-lite); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 22px 32px;
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-faint);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a:hover { color: var(--signal); }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: none;
  grid-template-columns: 1fr 1fr;
  background: var(--graphite-deep);
  border-top: 1px solid var(--line-dark);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(102%);
  transition: transform 0.28s var(--ease);
}
.action-bar.is-up { transform: translateY(0); }
.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 58px;
  font-weight: 600;
  font-size: 0.9375rem;
}
/* a copper cap gives the call half equal weight without a second copper fill */
.act-call {
  background: var(--graphite-raise);
  color: var(--cream);
  box-shadow: inset 0 2px 0 var(--signal);
}
.act-call .icon { color: var(--signal); }
.act-wa { background: var(--signal); color: var(--cta-ink); box-shadow: -1px 0 0 var(--line-dark); }

/* ---------- Motion ---------- */
/* rest state is faint rather than invisible: a fast scroll or a missed
   observer then shows dimmed content, never a blank or a bare slab */
.js .reveal {
  opacity: 0.35;
  transform: translateY(14px);
  transition: opacity 0.28s var(--ease), transform 0.5s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

.js .hero h1 .line { clip-path: inset(0 0 100% 0); transition: clip-path 0.8s var(--ease); }
.js .hero h1 .line:nth-child(2) { transition-delay: 0.08s; }
.js .hero h1 .line:nth-child(3) { transition-delay: 0.16s; }
.js .hero h1 .line:nth-child(4) { transition-delay: 0.24s; }
.js .hero h1.is-visible .line { clip-path: none; }

.js .reveal h1 em, .js .reveal h2 em,
.js h1.reveal em, .js h2.reveal em {
  background-size: 0 3px;
  transition: background-size 0.52s var(--ease) 0.2s;
}
.js .reveal.is-visible h1 em, .js .reveal.is-visible h2 em,
.js h1.reveal.is-visible em, .js h2.reveal.is-visible em { background-size: 100% 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero h1 .line { clip-path: none; transition: none; }
  .js .reveal h1 em, .js .reveal h2 em,
  .js h1.reveal em, .js h2.reveal em { background-size: 100% 3px; transition: none; }
  .hero-media img { animation: none; transform: none; }
  .feature-index { transition: none; }
  .action-bar { transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero-copy { grid-column: 1 / span 7; }
  .hero-media { width: min(42vw, 520px); }
  .quote-plate { width: 236px; right: calc(min(42vw, 520px) - 44px); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-chip:nth-child(3n + 1) { border-left: 0; }
  .svc-chip:nth-child(n + 4) { border-top: 1px solid var(--line-dark); }
  .feature-row { padding-top: 38px; padding-bottom: 38px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .nav-links, .header-actions { display: none; }
  .nav-toggle { display: flex; }

  .hero {
    padding: 92px 0 56px;
    min-height: auto;
    display: block;
  }
  .hero-media {
    inset: 0;
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-media img { object-position: 50% 40%; }
  .hero-media::before { background: rgba(21, 24, 30, 0.28); }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(21, 24, 30, 0.58) 0%, rgba(21, 24, 30, 0.88) 42%,
      rgba(21, 24, 30, 0.94) 66%, rgba(21, 24, 30, 0.95) 100%);
  }
  /* cropped to a phone's width the trade wall reads as letter fragments
     behind the copy, so the hero runs on the graphite ground alone */
  .media-wall { display: none !important; }

  .hero-grid { padding-bottom: 0; }
  .hero-copy { grid-column: 1 / -1; max-width: none; }
  /* the service strip immediately below already names every trade */
  .hero .eyebrow { display: none; }
  .lead-short { display: inline; }
  .lead-long { display: none; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; }

  .quote-plate {
    /* relative, not static: it keeps its place in flow but regains a paint
       order above .hero-media, which otherwise covers it completely.
       The desktop offsets must be cleared or they now shift it bodily. */
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 4;
    width: auto;
    margin: 26px 22px 0;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 4px 18px;
    padding: 18px 20px;
  }
  .quote-plate .quote-figure { grid-row: 1 / span 2; font-size: 3.25rem; }
  .quote-plate .quote-label { align-self: end; }
  .quote-plate .quote-note { align-self: start; }
}

@media (max-width: 720px) {
  .container { padding-left: 22px; padding-right: 22px; }
  .section { padding: 84px 0; }
  #vantagens { padding: 92px 0; }
  #como-funciona { padding: 80px 0; }
  .cta-section { padding: 92px 0; }
  .section-head { margin-bottom: 44px; }

  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-chip { min-height: 62px; flex-direction: column; gap: 6px; line-height: 1.25; font-size: 0.625rem; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 30px 24px 34px; }
  /* the keyword line is desktop texture; on a phone the card needs to say it is tappable */
  .service-tags { display: none; }
  .service-card::after {
    content: "WhatsApp →";
    display: block;
    margin-top: 14px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ember);
  }
  .service-card.is-anchor::after { color: var(--signal); }

  .features-grid { grid-template-columns: 1fr; background-image: none; }
  .feature-row { padding: 32px 0; border-top: 1px solid var(--line-dark); }
  .feature-row:first-child { border-top: 0; }
  .feature-index { font-size: 2.75rem; }
  .features-note { margin-bottom: 36px; }

  .photo-band { height: 150px; }

  .process-grid { grid-template-columns: 1fr; gap: 36px; }
  .process-step:not(:last-child)::before {
    top: 0;
    bottom: -36px;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .process-number { padding: 0 16px; margin-left: -16px; }
  .process-cta { margin-top: 40px; }
  .process-cta .btn { width: 100%; }

  .phone-display { margin-bottom: 56px; }
  .cta-foot { grid-template-columns: 1fr; gap: 32px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .fact-block { grid-template-columns: 1fr; }
  .fact-row { padding: 20px 22px; }
  .fact-row:nth-child(2n) { border-left: 0; }
  .fact-row + .fact-row { border-top: 1px solid var(--line-dark); }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom {
    flex-direction: column;
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .action-bar { display: grid; }
}

@media (max-width: 420px) {
  .feature-row { padding: 28px 0; }
  .svc-chip { font-size: 0.6875rem; letter-spacing: 0.06em; }
}
