@import url('fonts.css');

/* =========================================================
   ERGO CONSTRUTORA
   Modern Minimalist / Editorial — paleta oficial da marca
   ========================================================= */
:root {
  /* Marca */
  --ink: #212721;            /* Pantone Black 3 C — cor principal */
  --ink-2: #3e4938;          /* Pantone 4224 C */
  --sage: #b7c0ac;           /* Pantone 4183 CP */
  --accent: #ea733d;         /* Pantone 4012 C — usado com parcimônia */
  --accent-text: #ac4b1c;    /* variação acessível para texto */
  --stone: #a9a2a1;          /* Pantone 4283 C */

  /* Superfícies */
  --page: #f1f1ef;           /* mesma cor da folha — layout full-width */
  --bg: #f1f1ef;             /* folha — cinza claro editorial */
  --surface: #ffffff;        /* cards brancos sobre o cinza */
  --surface-2: #e8e8e5;      /* cinza um tom acima */
  --line: rgba(33, 39, 33, .10);
  --line-strong: rgba(33, 39, 33, .18);

  /* Texto */
  --text: #1b201b;
  --muted: #686d67;   /* 4,76:1 sobre o cinza claro — WCAG AA */

  /* Layout */
  --shell: 1440px;
  --wrap: 1180px;
  --gut: clamp(1.15rem, 3.4vw, 2.75rem);

  /* Formas */
  --r-xl: 30px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  --r-pill: 999px;

  /* Sombras */
  --sh-1: 0 2px 10px rgba(27, 32, 27, .05);
  --sh-2: 0 14px 40px rgba(27, 32, 27, .10);

  /* Movimento */
  --t: 340ms cubic-bezier(.22, .61, .36, 1);
  --t-slow: 620ms cubic-bezier(.22, .61, .36, 1);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: clamp(.95rem, .92rem + .16vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ink); color: #fff; }

/* ---------- Folha (shell) ---------- */
.shell { width: 100%; background: var(--bg); position: relative; }
.wrap { width: min(var(--wrap), 100% - var(--gut) * 2); margin-inline: auto; }
.wrap-wide { width: min(1440px, 100% - var(--gut) * 2); margin-inline: auto; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.1; letter-spacing: -.032em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 1.35rem + 1.7vw, 2.6rem); }
h3 { font-size: clamp(1.05rem, 1rem + .35vw, 1.28rem); letter-spacing: -.025em; }
h4 { font-size: 1rem; letter-spacing: -.02em; }
p { text-wrap: pretty; }
strong { font-weight: 600; }

.eyebrow {
  display: inline-block; font-size: .68rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem;
}
.lead { font-size: clamp(.94rem, .92rem + .16vw, 1.02rem); color: var(--muted); line-height: 1.7; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mw-60 { max-width: 60ch; }
.mw-46 { max-width: 46ch; }
.mx-auto { margin-inline: auto; }

/* ---------- Seções ---------- */
.section { padding: clamp(3.5rem, 2.6rem + 4.4vw, 6.5rem) 0; }
.section--sm { padding: clamp(2.5rem, 2rem + 2.4vw, 4rem) 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .muted, .section--dark .lead { color: var(--sage); }
.section--dark .eyebrow { color: var(--sage); }
.section--soft { background: var(--surface-2); }
.section--white { background: #fff; }

.sec-head { margin-bottom: clamp(2rem, 1.6rem + 2vw, 3.25rem); }
.sec-head--split { display: grid; gap: 1.25rem; align-items: end; }
@media (min-width: 60rem) { .sec-head--split { grid-template-columns: 1fr auto; } }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-size: .85rem; font-weight: 600; line-height: 1; letter-spacing: -.01em;
  padding: .85rem 1.4rem; border-radius: var(--r-pill); border: 1px solid transparent;
  transition: transform var(--t), background-color var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); box-shadow: var(--sh-2); }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--sh-1); }
.btn--light:hover { box-shadow: var(--sh-2); }
.btn--outline { border-color: var(--line-strong); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: .72rem 1.15rem; font-size: .82rem; }
.btn--block { width: 100%; }

.link-u {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9rem;
  position: relative; padding-bottom: 3px;
}
.link-u::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform-origin: right; scale: 1 1; transition: scale var(--t);
}
.link-u:hover::after { transform-origin: left; scale: 0 1; }
.link-u svg { width: 1em; height: 1em; transition: transform var(--t); }
.link-u:hover svg { transform: translate(3px, -3px); }

.round-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); border: 1px solid var(--line); flex: none;
  transition: background-color var(--t), color var(--t), transform var(--t), border-color var(--t);
}
.round-btn svg { width: 17px; height: 17px; transition: transform var(--t); }
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.round-btn:hover svg { transform: translate(2px, -2px); }

/* =========================================================
   HEADER — barra translúcida escura, links de texto
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(241, 241, 239, .88);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t), background-color var(--t);
}
.header.is-scrolled { background: rgba(241, 241, 239, .95); box-shadow: 0 6px 24px rgba(27, 32, 27, .06); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(1rem, .5rem + 2vw, 2.5rem);
  padding: .9rem 0; min-height: var(--header-h);
}
@media (min-width: 66rem) {
  .header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .header__actions { justify-self: end; }
}
.header__logo { flex: none; }
.header__logo img { height: 20px; width: auto; }
.header__logo .logo-dark { display: block; }
.header__logo .logo-light { display: none; }

.nav { display: none; }
@media (min-width: 66rem) {
  .nav { display: flex; align-items: center; gap: clamp(1.25rem, .8rem + 1.4vw, 2.15rem); justify-self: center; }
}
.nav a {
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); position: relative; padding-bottom: 3px; transition: color var(--t);
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--accent); scale: 0 1; transform-origin: right; transition: scale var(--t);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { scale: 1 1; transform-origin: left; }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { scale: 1 1; }

.header__actions { display: flex; align-items: center; gap: .75rem; }
/* em telas estreitas o CTA sai do header (o menu já leva ao WhatsApp) */
@media (max-width: 34rem) { .header .btn { display: none; } }
.header .btn { background: var(--ink); color: #fff; }
.header .btn:hover { background: var(--accent); color: var(--ink); }

.burger {
  display: grid; place-content: center; gap: 5px; width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--line-strong);
}
@media (min-width: 66rem) { .burger { display: none; } }
.burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform var(--t), opacity var(--t); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 70; display: grid; align-content: center;
  padding: 5.5rem var(--gut) 3rem; background: var(--ink); color: #fff;
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__close {
  position: absolute; top: 1.15rem; right: var(--gut); width: 42px; height: 42px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; color: #fff;
}
.mobile-menu__close svg { width: 18px; height: 18px; }
.mobile-menu li { opacity: 0; transform: translateY(12px); transition: opacity 420ms ease, transform 420ms ease; }
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu li:nth-child(1) { transition-delay: 70ms; }
.mobile-menu li:nth-child(2) { transition-delay: 120ms; }
.mobile-menu li:nth-child(3) { transition-delay: 170ms; }
.mobile-menu li:nth-child(4) { transition-delay: 220ms; }
.mobile-menu li:nth-child(5) { transition-delay: 270ms; }
.mobile-menu li:nth-child(6) { transition-delay: 330ms; }
.mobile-menu a {
  display: block; font-size: clamp(1.6rem, 1.15rem + 2.4vw, 2.2rem); font-weight: 600;
  letter-spacing: -.035em; padding: .55rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.mobile-menu a[aria-current="page"] { color: var(--accent); }
.mobile-menu .btn {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1.75rem; font-family: var(--font); font-size: 1rem;
  padding: 1.05rem 1.5rem; border-bottom: 0; color: var(--ink); background: #fff;
}
.mobile-menu .btn svg { width: 1.2em; height: 1.2em; }
.mobile-menu__meta { margin-top: 2rem; color: var(--sage); font-size: .88rem; display: grid; gap: .3rem; }
body.is-locked { overflow: hidden; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding-top: clamp(1rem, .6rem + 1.6vw, 1.75rem); }
.hero__card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  min-height: clamp(24rem, 52svh, 34rem);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(1.75rem, 1.2rem + 3vw, 3.25rem);
  color: #fff;
}
/* fotografia dessaturada — assinatura editorial da referência */
.hero__card > img, .bw img { filter: grayscale(1) contrast(1.04); }
.hero__card--tall { min-height: clamp(19rem, 40svh, 25rem); justify-content: center; }
.hero__card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero__card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 24, 20, .45) 0%, rgba(20, 24, 20, .2) 55%, rgba(20, 24, 20, .34) 100%),
    linear-gradient(96deg, rgba(20, 24, 20, .82) 0%, rgba(20, 24, 20, .55) 38%, rgba(20, 24, 20, .1) 76%);
}
.hero h1 { color: #fff; max-width: 14ch; }
.hero__sub { margin-top: 1rem; max-width: 40ch; color: rgba(255, 255, 255, .86); font-size: clamp(.9rem, .88rem + .16vw, 1rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.75rem; }
.hero__tag {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.15rem;
  font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .9);
}
.hero__tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Barra de orçamento flutuante */
.quote-bar {
  position: relative; margin-top: auto; background: #fff; color: var(--text);
  border-radius: var(--r-lg); padding: clamp(1.1rem, .9rem + .8vw, 1.5rem);
  box-shadow: var(--sh-2); display: grid; gap: 1rem;
}
.hero__card--tall .quote-bar { margin-top: 2.25rem; }
@media (min-width: 62rem) {
  .quote-bar { grid-template-columns: repeat(3, 1fr) auto; align-items: end; gap: 0; }
  .quote-bar .qfield { padding-inline: 1.4rem; border-right: 1px solid var(--line); }
  .quote-bar .qfield:first-child { padding-left: .4rem; }
  .quote-bar .btn { margin-left: 1.4rem; }
}
.qfield { display: grid; gap: .3rem; }
.qfield label { font-size: .72rem; color: var(--muted); font-weight: 500; }
.qfield select {
  border: 0; background: none; font-size: 1rem; font-weight: 600; letter-spacing: -.02em;
  padding: .15rem 1.5rem .15rem 0; appearance: none; cursor: pointer; width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23686d67' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .2rem center;
}
.qfield select:focus { outline: none; }

/* =========================================================
   STATS
   ========================================================= */
.stat-row { display: grid; gap: clamp(.75rem, .6rem + .5vw, 1rem); }
@media (min-width: 48rem) { .stat-row { grid-template-columns: repeat(3, 1fr); } }
.stat {
  position: relative; overflow: hidden; border-radius: var(--r-md); isolation: isolate;
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  min-height: clamp(9rem, 8rem + 4vw, 11.5rem);
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--surface);
}
.stat__num { font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.stat__label { font-size: .9rem; color: var(--muted); margin-top: .5rem; }
.stat--media { color: #fff; }
.stat--media img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.stat--media::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(20, 24, 20, .74), rgba(20, 24, 20, .34)); }
.stat--media .stat__label { color: rgba(255, 255, 255, .82); }
.stat--dark { background: var(--ink); color: #fff; }
.stat--dark .stat__label { color: var(--sage); }
.stat__watermark {
  position: absolute; right: -.4rem; bottom: 14%; font-size: clamp(3rem, 2rem + 5vw, 5.5rem);
  font-weight: 700; letter-spacing: -.06em; color: rgba(255, 255, 255, .08); pointer-events: none; line-height: 1;
}
.stat__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.stat__avatars { display: flex; }
.stat__avatars img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff; margin-left: -12px;
}
.stat__avatars img:first-child { margin-left: 0; }

/* =========================================================
   CARDS
   ========================================================= */
.cards { display: grid; gap: clamp(.85rem, .7rem + .6vw, 1.15rem); }
@media (min-width: 52rem) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
}
.mcard {
  position: relative; border-radius: var(--r-md); overflow: hidden; background: #fff;
  display: flex; flex-direction: column; transition: transform var(--t), box-shadow var(--t);
}
.mcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.mcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.mcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.mcard:hover .mcard__media img { transform: scale(1.05); }
.mcard__media .round-btn { position: absolute; top: 1rem; right: 1rem; }
.mcard__body { padding: clamp(1.15rem, 1rem + .6vw, 1.6rem); }
.mcard__body p { font-size: .92rem; color: var(--muted); margin-top: .5rem; }

/* Lista numerada de serviços */
.svc { border-top: 1px solid var(--line); }
.section--dark .svc { border-top-color: rgba(255, 255, 255, .16); }
.svc__row {
  display: grid; grid-template-columns: 2.6rem 1fr auto; align-items: center; gap: 1rem;
  padding: clamp(1.05rem, .9rem + .7vw, 1.6rem) 0; border-bottom: 1px solid var(--line);
  transition: padding-inline var(--t), background-color var(--t);
}
.section--dark .svc__row { border-bottom-color: rgba(255, 255, 255, .16); }
.svc__row:hover { padding-inline: 1rem; background: rgba(255, 255, 255, .7); }
.section--dark .svc__row:hover { background: rgba(255, 255, 255, .05); }
.svc__num { font-size: .8rem; color: var(--muted); font-weight: 500; }
.section--dark .svc__num { color: var(--sage); }
.svc__name { font-size: clamp(1.1rem, .95rem + .9vw, 1.7rem); font-weight: 600; letter-spacing: -.035em; }
.svc__desc { display: none; font-size: .88rem; color: var(--muted); max-width: 34ch; }
.section--dark .svc__desc { color: var(--sage); }
@media (min-width: 64rem) { .svc__row { grid-template-columns: 2.6rem 1fr 22rem auto; } .svc__desc { display: block; } }
.svc__row svg { width: 18px; height: 18px; opacity: .4; transition: transform var(--t), opacity var(--t); }
.svc__row:hover svg { transform: translate(3px, -3px); opacity: 1; }

/* =========================================================
   FAIXAS DE PROJETO (empilhadas — abrem a galeria)
   ========================================================= */
.strips { display: grid; gap: clamp(.85rem, .7rem + .6vw, 1.15rem); }
.strip {
  position: relative; width: 100%; text-align: left; display: block;
  border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  min-height: clamp(19rem, 15rem + 18vw, 27rem);
  transition: transform var(--t), box-shadow var(--t);
}
.strip:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.strip > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.strip:hover > img { transform: scale(1.035); }
.strip::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(20, 24, 20, .62) 0%, rgba(20, 24, 20, .2) 55%, rgba(20, 24, 20, .02) 100%);
}
.strip__panel {
  position: absolute; left: clamp(.9rem, .6rem + 1.6vw, 2rem); top: 50%; translate: 0 -50%;
  width: min(24rem, calc(100% - 1.8rem));
  padding: clamp(1.15rem, 1rem + .8vw, 1.75rem);
  border-radius: var(--r-md);
  background: rgba(24, 29, 24, .58);
  border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  color: #fff; transition: background-color var(--t);
}
.strip:hover .strip__panel { background: rgba(24, 29, 24, .68); }
.strip__cat { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.strip__panel h3 { margin-top: .55rem; color: #fff; font-size: clamp(1.25rem, 1.05rem + .9vw, 1.65rem); }
.strip__panel p { margin-top: .6rem; font-size: .88rem; color: rgba(255, 255, 255, .82); line-height: 1.55; }
.strip__cta {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.25rem;
  padding: .72rem 1.15rem; border-radius: var(--r-pill);
  background: #fff; color: var(--ink); font-size: .82rem; font-weight: 600;
  transition: gap var(--t);
}
.strip:hover .strip__cta { gap: .8rem; }
.strip__cta svg { width: 15px; height: 15px; }
.strip__count {
  position: absolute; right: clamp(1rem, .8rem + 1vw, 2rem); bottom: clamp(1rem, .8rem + 1vw, 2rem);
  font-size: .78rem; color: rgba(255, 255, 255, .88); font-weight: 500;
  padding: .5rem .9rem; border-radius: var(--r-pill);
  background: rgba(20, 24, 20, .38); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

/* Faixas em telas pequenas: painel ancorado na base, imagem visível */
@media (max-width: 62rem) {
  .strip { min-height: 24rem; }
  .strip::after { background: linear-gradient(180deg, rgba(20, 24, 20, .28) 0%, rgba(20, 24, 20, .1) 35%, rgba(20, 24, 20, .55) 100%); }
  .strip__panel {
    top: auto; bottom: .75rem; left: .75rem; right: .75rem; translate: none;
    width: auto; padding: 1.1rem 1.15rem;
  }
  .strip__panel p {
    font-size: .84rem; margin-top: .45rem;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .strip__panel h3 { font-size: 1.3rem; }
  .strip__cta { margin-top: 1rem; padding: .62rem 1rem; font-size: .8rem; }
  .strip__count { top: .9rem; right: .9rem; bottom: auto; font-size: .72rem; padding: .38rem .7rem; }
}


/* =========================================================
   BLOCOS DE CONTEÚDO
   ========================================================= */
.split { display: grid; gap: clamp(1.75rem, 1.3rem + 2.6vw, 3.75rem); align-items: center; }
@media (min-width: 62rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide { grid-template-columns: 1.08fr .92fr; }
  .split--flip > *:first-child { order: 2; }
}
.media { border-radius: var(--r-lg); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 16 / 11; }
.media--tall { aspect-ratio: 4 / 5; }
.media-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.6rem, .5rem + .4vw, .9rem); }
.media-duo .media { aspect-ratio: 3 / 4.3; }
.media-duo .media:last-child { margin-top: clamp(1.5rem, 1rem + 3vw, 3rem); }

.facts { border-top: 1px solid var(--line); }
.section--dark .facts { border-top-color: rgba(255, 255, 255, .16); }
.facts li { display: flex; gap: 1rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.section--dark .facts li { border-bottom-color: rgba(255, 255, 255, .16); }
.facts__i { font-size: .75rem; color: var(--muted); min-width: 2rem; font-weight: 500; }
.section--dark .facts__i { color: var(--sage); }

.steps { display: grid; gap: clamp(.85rem, .7rem + .6vw, 1.15rem); counter-reset: s; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); border-radius: var(--r-md); background: #fff; }
.section--dark .step { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.step::before {
  counter-increment: s; content: '0' counter(s);
  display: block; font-size: .75rem; font-weight: 600; letter-spacing: .16em; color: var(--muted); margin-bottom: .9rem;
}
.section--dark .step::before { color: var(--sage); }
.step h3 { font-size: 1.05rem; }
.step p { font-size: .88rem; color: var(--muted); margin-top: .4rem; }
.section--dark .step p { color: var(--sage); }

.cta {
  position: relative; overflow: hidden; border-radius: var(--r-xl); isolation: isolate;
  padding: clamp(2.75rem, 2rem + 4vw, 5rem) clamp(1.5rem, 1.2rem + 3vw, 4rem);
  text-align: center; color: #fff;
}
.cta > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(33, 39, 33, .93), rgba(33, 39, 33, .72)); }
.cta h2 { color: #fff; }
.cta p { margin: 1.1rem auto 0; max-width: 46ch; color: rgba(255, 255, 255, .82); }
.cta .btn { margin-top: 2.1rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.section--dark .faq { border-top-color: rgba(255, 255, 255, .16); }
.faq__item { border-bottom: 1px solid var(--line); }
.section--dark .faq__item { border-bottom-color: rgba(255, 255, 255, .16); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%;
  padding: 1.35rem 0; text-align: left; font-size: clamp(1rem, .96rem + .3vw, 1.15rem);
  font-weight: 600; letter-spacing: -.02em;
}
.faq__q svg { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform var(--t); }
.faq__q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq__a { overflow: hidden; height: 0; transition: height var(--t); }
.faq__a > div { padding-bottom: 1.4rem; color: var(--muted); font-size: .95rem; max-width: 62ch; }
.section--dark .faq__a > div { color: var(--sage); }

/* =========================================================
   CONTATO
   ========================================================= */
.ccard {
  display: flex; gap: 1.1rem; align-items: flex-start; padding: clamp(1.25rem, 1.1rem + .6vw, 1.6rem);
  border-radius: var(--r-md); background: #fff;
  transition: transform var(--t), box-shadow var(--t);
}
.ccard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.ccard__ic { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.ccard__ic svg { width: 19px; height: 19px; }
.ccard h3 { font-size: 1rem; }
.ccard p { font-size: .88rem; color: var(--muted); margin: .2rem 0 .6rem; }
.ccard strong { display: block; font-size: 1rem; font-weight: 600; letter-spacing: -.02em; }
.ccard .link-u { margin-top: .7rem; }

.form { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: .8rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .95rem 1.05rem; border-radius: var(--r-sm);
  background: #fff; border: 1px solid var(--line-strong); font-size: .95rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(33, 39, 33, .08);
}
.field .error { font-size: .78rem; color: #b3261e; display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b3261e; }
.field.is-invalid .error { display: block; }
.form__note { font-size: .8rem; color: var(--muted); }
.form__ok {
  display: none; align-items: center; gap: .65rem; padding: .9rem 1.1rem; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--line-strong); font-size: .9rem;
}
.form__ok.is-visible { display: flex; }
.form__ok svg { width: 18px; height: 18px; flex: none; }

.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.hours li:last-child { border-bottom: 0; }
.hours li span:last-child { color: var(--muted); }
.hours li.is-today span:last-child { color: var(--ink); font-weight: 600; }
.hours li.is-today span:first-child::after { content: ' · hoje'; font-size: .75rem; color: var(--muted); font-weight: 500; }

.map { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: clamp(19rem, 40vw, 27rem); border: 0; }

/* =========================================================
   GALERIA (lightbox)
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr);
  background: rgba(18, 21, 18, .97);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t); color: #fff;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox > * { min-width: 0; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem var(--gut); }
.lightbox__title { font-size: 1rem; font-weight: 600; letter-spacing: -.02em; }
.lightbox__count { font-size: .82rem; color: var(--sage); margin-top: .15rem; }
.lightbox__close {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
  display: grid; place-items: center; color: #fff; transition: background-color var(--t), color var(--t), transform var(--t);
}
.lightbox__close:hover { background: #fff; color: var(--ink); transform: rotate(90deg); }
.lightbox__close svg { width: 18px; height: 18px; }
.lightbox__stage {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: 0 clamp(3.5rem, 6vw, 5rem); min-height: 0; overflow: hidden;
}
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--r-md); }
.lightbox__nav {
  position: absolute; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
  display: grid; place-items: center; transition: background-color var(--t), color var(--t);
}
.lightbox__nav:hover { background: #fff; color: var(--ink); }
.lightbox__nav svg { width: 18px; height: 18px; }
.lightbox__nav--prev { left: max(.5rem, 1.5vw); }
.lightbox__nav--next { right: max(.5rem, 1.5vw); }
.lightbox__foot { padding: .5rem var(--gut) 1.35rem; }
.lightbox__thumbs { display: flex; gap: .4rem; overflow-x: auto; max-width: 100%; padding: .85rem 0 .2rem; scrollbar-width: none; }
.lightbox__thumbs::-webkit-scrollbar { display: none; }
.lightbox__thumbs button {
  flex: none; width: 72px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden;
  opacity: .45; outline: 2px solid transparent; outline-offset: 1px;
  transition: opacity var(--t), outline-color var(--t);
}
.lightbox__thumbs button:hover { opacity: .85; }
.lightbox__thumbs button[aria-current="true"] { opacity: 1; outline-color: #fff; }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 48rem) {
  .lightbox__stage { padding-inline: .75rem; }
  .lightbox__nav { width: 38px; height: 38px; background: rgba(20, 24, 20, .6); }
  .lightbox__nav--prev { left: .5rem; }
  .lightbox__nav--next { right: .5rem; }
  .lightbox__thumbs button { width: 58px; }
}

/* =========================================================
   FOOTER — logo + sociais, colunas de links e newsletter
   ========================================================= */
.footer { background: var(--ink); color: var(--sage); }
.footer__top { padding: clamp(2.5rem, 2rem + 2.4vw, 4rem) 0 clamp(2rem, 1.6rem + 2vw, 3rem); }
.footer__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-bottom: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
}
.footer__logo img { height: 22px; width: auto; }
.footer__social { display: flex; gap: .55rem; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .2); transition: background-color var(--t), color var(--t), transform var(--t), border-color var(--t);
}
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }
.footer__social svg { width: 16px; height: 16px; }

.footer__grid { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem); }
@media (min-width: 44rem) { .footer__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 68rem) { .footer__grid { grid-template-columns: 1fr 1fr 1.15fr 1.5fr; } }
.footer h4 { color: #fff; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.15rem; font-weight: 600; }
.footer ul { display: grid; gap: .65rem; font-size: .9rem; }
.footer a { transition: color var(--t); }
.footer a:hover { color: var(--accent); }

.footer__news { grid-column: 1 / -1; }
@media (min-width: 68rem) { .footer__news { grid-column: auto; } }
.footer__news p { font-size: .88rem; line-height: 1.6; max-width: 34ch; margin-bottom: 1.1rem; }
.news { display: flex; gap: .5rem; flex-wrap: wrap; }
.news input {
  flex: 1 1 12rem; min-width: 0; padding: .78rem 1rem; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .2); color: #fff;
  font-size: .86rem; transition: border-color var(--t), background-color var(--t);
}
.news input::placeholder { color: rgba(183, 192, 172, .7); }
.news input:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, .1); }
.news .btn { background: var(--accent); color: var(--ink); flex: none; }
.news .btn:hover { background: #fff; color: var(--ink); }
.news.is-ok input { border-color: var(--accent); }
.footer__badge {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.25rem; padding: .5rem .9rem;
  border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .16); font-size: .76rem;
}
.footer__badge svg { width: 14px; height: 14px; color: var(--accent); }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.35rem 0; }
.footer__bottom-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .35rem .75rem; font-size: .78rem; color: rgba(183, 192, 172, .72); text-align: center;
}
.footer__dot { opacity: .5; }
@media (max-width: 66rem) { .footer__bottom { padding-bottom: 4.5rem; } }

/* WhatsApp flutuante */
.wa {
  position: fixed; right: clamp(1rem, 2vw, 1.75rem); bottom: clamp(1rem, 2vw, 1.75rem); z-index: 55;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(27, 32, 27, .3);
  transition: transform var(--t), background-color var(--t);
}
.wa:hover { transform: scale(1.06); background: var(--ink-2); }
.wa svg { width: 26px; height: 26px; }
.wa span {
  position: absolute; right: calc(100% + .65rem); white-space: nowrap;
  background: var(--ink); color: #fff; font-size: .8rem; font-weight: 500;
  padding: .5rem .85rem; border-radius: var(--r-pill);
  opacity: 0; transform: translateX(6px); transition: opacity var(--t), transform var(--t); pointer-events: none;
}
@media (min-width: 48rem) { .wa:hover span { opacity: 1; transform: none; } }

.crumbs { font-size: .78rem; color: rgba(255, 255, 255, .74); margin-bottom: 1.1rem; display: flex; gap: .4rem; }
.crumbs a:hover { color: #fff; }

.skip {
  position: absolute; left: 50%; translate: -50% -150%; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1.3rem; border-radius: 0 0 12px 12px;
  font-size: .85rem; font-weight: 600; transition: translate var(--t);
}
.skip:focus { translate: -50% 0; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity var(--t-slow), transform var(--t-slow); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: clamp(2rem, 1.6rem + 2vw, 3rem); }

/* =========================================================
   BLOCOS NO ESTILO EDITORIAL DA REFERÊNCIA
   ========================================================= */

/* ---- "Sobre nós": texto à esquerda + grid 2x2 de números à direita ---- */
.about { display: grid; gap: clamp(2.25rem, 1.8rem + 2.4vw, 4rem); }
@media (min-width: 60rem) { .about { grid-template-columns: 1fr 1.05fr; align-items: start; } }
.about__text p { font-size: .93rem; color: var(--muted); line-height: 1.75; max-width: 44ch; }
.about__text p + p { margin-top: .9rem; }
.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.75rem, 1.4rem + 2.2vw, 3.25rem) clamp(1.25rem, 1rem + 2.4vw, 3rem); }
.numbers__n {
  font-size: clamp(1.85rem, 1.4rem + 1.9vw, 2.6rem);
  font-weight: 700; letter-spacing: -.045em; line-height: 1; color: var(--ink);
}
.numbers__l { font-size: .82rem; color: var(--muted); margin-top: .5rem; max-width: 20ch; line-height: 1.45; }
.numbers--4 { border-block: 1px solid var(--line); padding-block: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem); }
@media (min-width: 56rem) { .numbers--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---- Faixa horizontal de credenciais (no lugar dos logos de clientes) ---- */
.creds {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem clamp(1.5rem, 1rem + 3vw, 3.5rem);
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem) 0;
  border-block: 1px solid var(--line);
}
.cred { display: flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.cred svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.cred span { color: var(--muted); font-weight: 500; }

/* ---- Catálogo com carrossel horizontal ---- */
.cat { display: grid; gap: clamp(1.75rem, 1.4rem + 2vw, 3rem); }
@media (min-width: 64rem) { .cat { grid-template-columns: 17rem 1fr; align-items: start; } }
.cat__head p { font-size: .88rem; color: var(--muted); margin-top: .9rem; max-width: 26ch; }
/* min-width:0 impede o carrossel de esticar a coluna do grid */
.cat > *, .cat > * > * { min-width: 0; }
.cat__viewport { overflow: hidden; min-width: 0; }
.cat__track {
  display: flex; gap: clamp(.75rem, .6rem + .5vw, 1.15rem);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none; padding-bottom: .25rem;
}
.cat__track::-webkit-scrollbar { display: none; }
.cat-item { scroll-snap-align: start; flex: 0 0 min(76%, 17rem); }
@media (min-width: 48rem) { .cat-item { flex-basis: calc((100% - 1.15rem) / 2); } }
@media (min-width: 64rem) { .cat-item { flex-basis: calc((100% - 2 * 1.15rem) / 3); } }
.cat-item__media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); }
.cat-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.cat-item:hover .cat-item__media img { transform: scale(1.04); }
.cat-item h3 { margin-top: 1rem; font-size: 1.02rem; }
.cat-item p { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.cat__nav { display: flex; gap: .5rem; justify-content: flex-end; margin-top: 1.5rem; }
.cat__nav button {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--ink); background: transparent;
  transition: background-color var(--t), color var(--t), border-color var(--t), opacity var(--t);
}
.cat__nav button svg { width: 16px; height: 16px; }
.cat__nav button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat__nav button[disabled] { opacity: .35; pointer-events: none; }
.cat__nav button.is-primary { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---- "Como trabalhamos": imagem com selo circular + etapas ---- */
.how { display: grid; gap: clamp(2rem, 1.6rem + 2.4vw, 3.5rem); }
@media (min-width: 64rem) { .how { grid-template-columns: .85fr 1.15fr; align-items: start; } }
.how__figure { position: relative; }
.how__media { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 4; }
.how__media img { width: 100%; height: 100%; object-fit: cover; }
.how__seal {
  position: absolute; top: clamp(-1.75rem, -1.5rem, -1rem); right: clamp(-1rem, -.5rem, 0rem);
  width: clamp(6.5rem, 6rem + 3vw, 8.5rem); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center; padding: 1rem;
  background: rgba(33, 39, 33, .82); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .78rem; font-weight: 600; line-height: 1.25; letter-spacing: -.01em;
}
@media (max-width: 64rem) { .how__media { aspect-ratio: 4 / 3; } }
.steps-list { border-top: 1px solid var(--line); }
.steps-list li {
  display: grid; grid-template-columns: 2.6rem 1fr; gap: 1.1rem;
  padding: clamp(1.15rem, 1rem + .7vw, 1.6rem) 0; border-bottom: 1px solid var(--line);
}
.steps-list__ic {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff;
}
.steps-list__ic svg { width: 18px; height: 18px; }
.steps-list h3 { font-size: 1rem; }
.steps-list p { font-size: .86rem; color: var(--muted); margin-top: .35rem; max-width: 52ch; line-height: 1.6; }

/* ---- Depoimento / avaliação ---- */
.review {
  display: grid; gap: clamp(1.5rem, 1.2rem + 1.6vw, 2.5rem);
  padding: clamp(1.75rem, 1.4rem + 2vw, 3rem);
  background: #fff; border-radius: var(--r-lg);
}
@media (min-width: 60rem) { .review { grid-template-columns: auto 1fr; align-items: center; } }
.review__score { text-align: center; }
.review__score b { display: block; font-size: clamp(2.5rem, 2rem + 2.4vw, 3.5rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.review__stars { display: flex; gap: .2rem; justify-content: center; margin-top: .6rem; color: var(--ink); }
.review__stars svg { width: 15px; height: 15px; }
.review__score span { display: block; font-size: .78rem; color: var(--muted); margin-top: .5rem; }
.review__text { font-size: clamp(1rem, .96rem + .5vw, 1.3rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.5; }
.review__meta { font-size: .82rem; color: var(--muted); margin-top: 1rem; }
@media (min-width: 60rem) { .review__score { border-right: 1px solid var(--line); padding-right: clamp(1.5rem, 1.2rem + 1.6vw, 2.5rem); } }

/* ---- Bloco de orçamento (a barra que saiu do hero) ---- */
.quote-block {
  background: #fff; border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1.2rem + 1.6vw, 2.5rem);
  display: grid; gap: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
}
@media (min-width: 68rem) { .quote-block { grid-template-columns: 20rem 1fr; align-items: center; } }
.quote-block h2 { font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2.1rem); }
.quote-block p { font-size: .88rem; color: var(--muted); margin-top: .75rem; max-width: 30ch; }
.quote-bar--inline { margin-top: 0; box-shadow: none; padding: 0; background: transparent; }
@media (min-width: 68rem) {
  .quote-bar--inline { grid-template-columns: repeat(3, 1fr) auto; }
  .quote-bar--inline .qfield:first-child { padding-left: 0; }
}

/* =========================================================
   EQUIPE — carrossel com card destaque em laranja
   ========================================================= */
.team { display: grid; gap: clamp(1.5rem, 1.2rem + 1.6vw, 2.5rem); }
.team__head { display: grid; gap: 1.25rem; align-items: end; }
@media (min-width: 60rem) { .team__head { grid-template-columns: 1fr auto; } }
.team__track {
  display: flex; gap: clamp(.75rem, .6rem + .5vw, 1.15rem);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none; padding-bottom: .25rem;
}
.team__track::-webkit-scrollbar { display: none; }
.team-card {
  position: relative; scroll-snap-align: start; flex: 0 0 min(74%, 16rem);
  border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 4;
  background: var(--ink); isolation: isolate;
}
@media (min-width: 48rem) { .team-card { flex-basis: calc((100% - 1.15rem) / 2); } }
@media (min-width: 64rem) { .team-card { flex-basis: calc((100% - 3 * 1.15rem) / 4); } }
.team-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.team-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 24, 20, 0) 45%, rgba(20, 24, 20, .8) 100%);
}
.team-card__body { position: absolute; inset: auto 0 0 0; padding: 1.15rem; color: #fff; text-align: center; }
.team-card__body h3 { font-size: 1.05rem; color: #fff; }
.team-card__body p { font-size: .8rem; color: rgba(255, 255, 255, .78); margin-top: .2rem; }

/* card do CEO em destaque */
.team-card--ceo::after {
  background: linear-gradient(180deg, rgba(20, 24, 20, 0) 40%, rgba(20, 24, 20, .86) 100%);
}
.team-card--ceo .team-card__body h3 { color: #fff; }
.team-card--ceo .team-card__body p { color: var(--accent); font-weight: 600; letter-spacing: .04em; }
.team-card--ceo .team-card__body::before {
  content: ''; display: block; width: 26px; height: 2px; background: var(--accent);
  margin: 0 auto .7rem;
}

/* Card destaque (fundador) — laranja da marca */
.team-card--lead {
  background: var(--accent); color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(1.25rem, 1.1rem + .6vw, 1.6rem);
}
.team-card--lead::after { content: none; }
.team-card--lead h3 { font-size: 1.15rem; color: var(--ink); }
.team-card--lead .team-card__role { font-size: .82rem; color: rgba(33, 39, 33, .85); margin-top: .25rem; font-weight: 500; }
.team-card--lead .team-card__bio { font-size: .84rem; color: rgba(33, 39, 33, .92); line-height: 1.55; margin-top: 1rem; }
.team-card__social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.team-card__social a {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(33, 39, 33, .12); color: var(--ink);
  transition: background-color var(--t), transform var(--t);
}
.team-card__social a:hover { background: var(--ink); color: var(--accent); transform: translateY(-2px); }
.team-card__social svg { width: 16px; height: 16px; }

/* =========================================================
   DETALHES EM LARANJA (acentos pontuais)
   ========================================================= */
.eyebrow { position: relative; padding-left: 1.1rem; }
.eyebrow::before {
  content: ''; position: absolute; left: 0; top: 50%; translate: 0 -50%;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.numbers__n { position: relative; }
.numbers > div { position: relative; padding-top: 1rem; }
.numbers > div::before {
  content: ''; position: absolute; top: 0; left: 0; width: 24px; height: 2px; background: var(--accent);
}
.cred svg { color: var(--accent); }
.cat__nav button.is-primary { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.cat__nav button.is-primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.how__seal { background: var(--accent); color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.steps-list li:first-child .steps-list__ic { background: var(--accent); color: var(--ink); }
.review__stars { color: var(--accent); }
.strip__cta svg { color: var(--accent-text); }
.link-u:hover { color: var(--accent-text); }
.faq__q[aria-expanded="true"] svg { color: var(--accent-text); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(234, 115, 61, .18);
}
.ccard__ic { background: var(--ink); color: var(--accent); }
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.header__logo::after {
  content: ''; display: none;
}
.mobile-menu a[aria-current="page"] { color: var(--accent); }
.section--dark .eyebrow::before { background: var(--accent); }

/* =========================================================
   HERO PRINCIPAL (home) — foto em tela cheia + card de briefing
   ========================================================= */
:root { --header-h: 66px; }

.hero3 {
  position: relative; isolation: isolate; color: #fff;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + clamp(2rem, 1.5rem + 2.5vw, 4rem)) 0 clamp(3.5rem, 3rem + 3vw, 5.5rem);
  display: flex; align-items: center;
  min-height: 100svh;
  overflow: hidden;
}

.hero3__bg { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero3::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(7rem, 16vh, 14rem);
  z-index: -1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(241, 241, 239, 0) 0%,
    rgba(241, 241, 239, .1) 32%,
    rgba(241, 241, 239, .38) 62%,
    rgba(241, 241, 239, .78) 86%,
    var(--bg) 100%);
}
.hero3::after {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(100deg, rgba(24, 29, 24, .88) 0%, rgba(24, 29, 24, .74) 32%, rgba(24, 29, 24, .42) 60%, rgba(24, 29, 24, .26) 100%),
    linear-gradient(180deg, rgba(24, 29, 24, .46) 0%, rgba(24, 29, 24, .1) 42%, rgba(24, 29, 24, .3) 100%);
}
.hero3__inner { display: grid; gap: clamp(2rem, 1.6rem + 2.4vw, 3.5rem); align-items: center; }

/* páginas internas: mesmo hero, mais baixo e em uma coluna */
.hero3--inner { min-height: clamp(26rem, 68svh, 38rem); }
/* foto com pessoas: sobe o enquadramento para não cortar os rostos */
.hero3--pessoas .hero3__bg { object-position: 58% 15%; }
@media (max-width: 64rem) { .hero3--pessoas .hero3__bg { object-position: 60% 12%; } }
.hero3--inner h1 { max-width: 24ch; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
.hero3--inner .hero3__sub { max-width: 52ch; }
@media (min-width: 64rem) { .hero3__inner { grid-template-columns: 1.15fr minmax(20rem, 22rem); } }
@media (max-width: 64rem) { .hero3 { min-height: auto; padding-bottom: clamp(3rem, 2.5rem + 2vw, 4rem); } }

.hero3__tag {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.35rem;
  font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}
.hero3__tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.hero3 h1 {
  color: #fff; font-size: clamp(2.3rem, 1.3rem + 4.4vw, 4.15rem);
  line-height: 1.03; letter-spacing: -.04em; max-width: 20ch;
}
.hero3 h1 span { display: block; }
.hero3__sub {
  margin-top: 1.5rem; max-width: 46ch; font-size: clamp(.94rem, .9rem + .28vw, 1.06rem);
  line-height: 1.7; color: rgba(255, 255, 255, .84);
}
.hero3__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem; margin-top: clamp(1.75rem, 1.5rem + 1vw, 2.5rem); }

/* Botão claro com ícone circular (referência) */
.btn--icon {
  padding: .5rem .6rem .5rem 1.4rem; gap: 1rem; background: #fff; color: var(--ink);
  font-size: .88rem; box-shadow: 0 10px 26px rgba(20, 24, 20, .22);
}
.btn--icon i {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; flex: none; transition: background-color var(--t), transform var(--t);
}
.btn--icon i svg { width: 15px; height: 15px; }
.btn--icon:hover i { background: var(--accent); color: var(--ink); transform: rotate(-45deg); }
.hero3__link {
  display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-size: .88rem; font-weight: 600;
  position: relative; padding-bottom: 3px;
}
.hero3__link::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor;
  transform-origin: right; scale: 0 1; transition: scale var(--t);
}
.hero3__link:hover::after { transform-origin: left; scale: 1 1; }
.hero3__link svg { width: 1em; height: 1em; flex: none; transition: transform var(--t); }
.hero3__link:hover svg { transform: translate(3px, -3px); }


/* Card de briefing — centralizado na coluna direita */
.search-card {
  position: relative; z-index: 4; background: #fff; color: var(--text); border-radius: var(--r-lg);
  padding: clamp(1.15rem, 1rem + .6vw, 1.6rem);
  box-shadow: 0 22px 60px rgba(20, 24, 20, .28);
  display: grid; gap: .6rem;
}
.search-card__title { font-size: 1.05rem; font-weight: 700; letter-spacing: -.025em; text-align: center; }
.search-card__tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding: .25rem;
  background: var(--surface-2); border-radius: var(--r-pill);
}
.search-card__tabs button {
  padding: .58rem 1rem; border-radius: var(--r-pill); font-size: .82rem; font-weight: 600;
  color: var(--muted); transition: background-color var(--t), color var(--t);
}
.search-card__tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sfield { position: relative; }
.sfield input, .sfield select {
  width: 100%; padding: .74rem .95rem; border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  font-size: .85rem; background: #fff; appearance: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.sfield--pin input { padding-left: 2.2rem; }
.sfield--pin svg { position: absolute; left: .9rem; top: 50%; translate: 0 -50%; width: 15px; height: 15px; color: var(--muted); }
.sfield select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23686d67' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center;
  padding-right: 1.9rem; padding-left: .85rem; font-size: .82rem; cursor: pointer;
  text-overflow: ellipsis;
}
.sfield input:focus, .sfield select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(234, 115, 61, .18);
}
.search-card__row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }

.range { background: var(--surface-2); border-radius: var(--r-md); padding: .6rem .95rem .35rem; }
.range__labels { display: flex; justify-content: space-between; font-size: .76rem; font-weight: 600; color: var(--muted); }
.range__labels b { color: var(--accent-text); font-weight: 700; }
.range input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
.range input[type="range"]::-webkit-slider-runnable-track {
  height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent) var(--pct, 50%), rgba(33, 39, 33, .16) var(--pct, 50%));
}
.range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 15px; height: 15px; border-radius: 50%;
  background: var(--accent); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(27, 32, 27, .3); margin-top: -6px;
}
.range input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(33, 39, 33, .16); }
.range input[type="range"]::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--accent); }
.range input[type="range"]::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: var(--accent); border: 2px solid #fff; }

.search-card__pop { text-align: center; }
.search-card__pop > span { display: block; font-size: .72rem; color: var(--muted); margin-bottom: .4rem; }
.search-card__pop div { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; }
.search-card__pop a {
  padding: .38rem .75rem; border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  font-size: .72rem; font-weight: 500; color: var(--muted);
  transition: border-color var(--t), color var(--t), background-color var(--t);
}
.search-card__pop a:hover { border-color: var(--ink); color: var(--ink); background: var(--surface-2); }

/* =========================================================
   TRANSIÇÕES SUAVES ENTRE SEÇÕES
   ========================================================= */
/* As seções escuras e as de cinza claro ganham degradês nas bordas,
   para a troca de fundo acontecer sem corte seco. */
.section--dark { position: relative; }
.section--dark::before,
.section--dark::after {
  content: ''; position: absolute; left: 0; right: 0; height: clamp(3rem, 7vh, 6rem);
  pointer-events: none; z-index: 0;
}
.section--dark::before { top: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(33, 39, 33, 0) 100%); opacity: .18; }
.section--dark::after { bottom: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(33, 39, 33, 0) 100%); opacity: .18; }
.section--dark > * { position: relative; z-index: 1; }

/* seção escura que emenda no rodapé: sem degradê na base e sem corte */
.section--to-footer::after { content: none; }
.section--to-footer { padding-bottom: clamp(3.5rem, 3rem + 3vw, 6rem); }
.section--to-footer + .footer { padding-top: 0; }
.section--to-footer + .footer .footer__top { padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); border-top: 1px solid rgba(255, 255, 255, .12); }

.section--soft { position: relative; }
.section--soft::before,
.section--soft::after {
  content: ''; position: absolute; left: 0; right: 0; height: clamp(2.5rem, 5vh, 4.5rem);
  pointer-events: none;
}
.section--soft::before { top: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(232, 232, 229, 0) 100%); }
.section--soft::after { bottom: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(232, 232, 229, 0) 100%); }
.section--soft > * { position: relative; }

/* =========================================================
   ANIMAÇÕES DE ENTRADA
   ========================================================= */
/* Reveal com deslocamento e leve escala nas mídias */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 700ms cubic-bezier(.22,.61,.36,1), transform 700ms cubic-bezier(.22,.61,.36,1); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* filhos em cascata (o JS numera com --i) */
[data-stagger] > * { opacity: 0; transform: translateY(26px); }
[data-stagger].is-in > * {
  opacity: 1; transform: none;
  transition: opacity 720ms cubic-bezier(.22,.61,.36,1), transform 720ms cubic-bezier(.22,.61,.36,1);
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* imagens entram com um leve zoom-out */
[data-reveal] .media img,
[data-reveal] .mcard__media img,
[data-reveal] .cat-item__media img,
[data-reveal] .how__media img,
[data-stagger] .cat-item__media img,
[data-stagger] .team-card > img {
  transform: scale(1.08); transition: transform 1100ms cubic-bezier(.22,.61,.36,1);
}
[data-reveal].is-in .media img,
[data-reveal].is-in .mcard__media img,
[data-reveal].is-in .cat-item__media img,
[data-reveal].is-in .how__media img,
[data-stagger].is-in .cat-item__media img,
[data-stagger].is-in .team-card > img { transform: scale(1); }

/* faixas de projeto: sobem com escala mínima */
.strips [data-reveal] { transition-duration: 820ms; }

/* Entrada em cascata do hero */
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
.hero3 h1, .hero3__sub, .hero3__actions, .hero3 .search-card {
  animation: heroUp 900ms cubic-bezier(.22,.61,.36,1) both;
}
.hero3 h1 { animation-delay: 120ms; }
.hero3__sub { animation-delay: 260ms; }
.hero3__actions { animation-delay: 380ms; }
.hero3 .search-card { animation-delay: 480ms; }
.hero3__bg { animation: heroFade 1400ms ease both; }

@media (prefers-reduced-motion: reduce) {
  [data-stagger] > * { opacity: 1; transform: none; }
  .hero3 h1, .hero3__sub, .hero3__actions, .hero3 .search-card, .hero3__bg { animation: none; }
  [data-reveal] .media img, [data-reveal] .mcard__media img, [data-reveal] .cat-item__media img,
  [data-reveal] .how__media img, [data-stagger] .cat-item__media img, [data-stagger] .team-card > img { transform: none; }
}

/* =========================================================
   HERO DA HOME — formato do mockup da Ergo (Desenvolvimento-41)
   Título à esquerda + frase de apoio à direita, imagem grande
   abaixo e a linha "Sobre nós ··· Saiba mais".
   ========================================================= */
.hero4 { padding: clamp(2.25rem, 1.8rem + 2.4vw, 4rem) 0 clamp(1.5rem, 1.2rem + 1.6vw, 2.5rem); }
.hero4__top { display: grid; gap: clamp(1.15rem, 1rem + 1.6vw, 2.5rem); align-items: start; }
@media (min-width: 62rem) { .hero4__top { grid-template-columns: 1.05fr .95fr; align-items: end; } }
.hero4__top h1 {
  font-size: clamp(1.95rem, 1.3rem + 2.5vw, 3.15rem);
  line-height: 1.1; letter-spacing: -.038em; max-width: 22ch;
}
.hero4__top p {
  font-size: clamp(.95rem, .92rem + .3vw, 1.1rem); line-height: 1.6; color: var(--muted);
  max-width: 40ch;
}
@media (min-width: 62rem) { .hero4__top p { justify-self: end; padding-bottom: .35rem; } }

.hero4__media {
  margin-top: clamp(1.5rem, 1.2rem + 1.6vw, 2.5rem);
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 16 / 9;
}
@media (min-width: 62rem) { .hero4__media { aspect-ratio: 21 / 9; } }
.hero4__media img { width: 100%; height: 100%; object-fit: cover; }

.hero4__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  margin-top: clamp(1.15rem, 1rem + .8vw, 1.75rem);
  padding-top: clamp(1rem, .9rem + .6vw, 1.5rem); border-top: 1px solid var(--line);
  font-size: .84rem;
}
.hero4__foot > span { color: var(--muted); letter-spacing: .02em; }
.hero4__more { display: inline-flex; align-items: center; gap: .8rem; font-weight: 600; color: var(--ink); }
.hero4__more i { display: block; width: clamp(2.5rem, 6vw, 4.5rem); height: 1px; background: var(--line-strong); transition: width var(--t), background-color var(--t); }
.hero4__more:hover i { width: clamp(3.5rem, 8vw, 6rem); background: var(--accent); }

/* =========================================================
   FAIXA DE BRIEFING (o card do hero virou uma faixa)
   ========================================================= */
.brief {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-2);
  padding: clamp(1.35rem, 1.2rem + 1vw, 2rem);
  display: grid; gap: clamp(1.25rem, 1rem + 1.2vw, 2rem);
}
@media (min-width: 68rem) { .brief { grid-template-columns: 15rem 1fr; align-items: center; } }
.brief__head h2 { font-size: clamp(1.3rem, 1.15rem + .7vw, 1.6rem); }
.brief__head p { font-size: .86rem; color: var(--muted); margin-top: .5rem; max-width: 28ch; }
.brief__form { display: grid; gap: .7rem; }
@media (min-width: 48rem) {
  .brief__form { grid-template-columns: repeat(2, 1fr); align-items: end; }
  .brief__form .brief__tabs { grid-column: 1 / -1; }
}
@media (min-width: 68rem) {
  .brief__form { grid-template-columns: auto 1.15fr 1fr 1fr auto; gap: .6rem; }
  .brief__form .brief__tabs { grid-column: auto; }
  .brief__form .range { grid-column: 2 / 4; }
  .brief__form .btn { grid-column: 4 / -1; }
}
.brief__tabs {
  display: inline-grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding: .25rem;
  background: var(--surface-2); border-radius: var(--r-pill);
}
.brief__tabs button {
  padding: .62rem 1.1rem; border-radius: var(--r-pill); font-size: .82rem; font-weight: 600;
  color: var(--muted); white-space: nowrap; transition: background-color var(--t), color var(--t);
}
.brief__tabs button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* =========================================================
   SERVIÇOS EM GRADE NUMERADA (3 × 2)
   ========================================================= */
.svc-head { display: grid; gap: 1.25rem; align-items: end; margin-bottom: clamp(2.5rem, 2rem + 2.4vw, 4.25rem); }
@media (min-width: 60rem) { .svc-head { grid-template-columns: 1fr auto; } }
.svc-head h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); max-width: 22ch; }
.svc-head h2 em { font-style: normal; color: var(--accent-text); }

.svc-grid { display: grid; gap: clamp(2.25rem, 1.8rem + 2.6vw, 4rem) clamp(1.75rem, 1.4rem + 2.4vw, 3.5rem); }
@media (min-width: 44rem) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 66rem) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.svc-item { display: block; }
.svc-item__num {
  display: block; font-size: .95rem; font-weight: 700; letter-spacing: -.01em;
  color: var(--accent-text); margin-bottom: clamp(1rem, .8rem + .8vw, 1.6rem);
}
.svc-item h3 {
  font-size: clamp(1.3rem, 1.1rem + .85vw, 1.72rem); line-height: 1.14; letter-spacing: -.035em;
  max-width: 14ch; transition: color var(--t);
}
.svc-item p { font-size: .86rem; line-height: 1.7; color: var(--muted); margin-top: clamp(.75rem, .6rem + .5vw, 1.1rem); max-width: 34ch; }
a.svc-item:hover h3 { color: var(--accent-text); }
a.svc-item:hover .svc-item__num { color: var(--ink); }

/* =========================================================
   PROJETOS EM CARDS (texto + imagem) — abrem a galeria
   ========================================================= */
.pgrid { display: grid; gap: clamp(.85rem, .7rem + .6vw, 1.25rem); }
@media (min-width: 60rem) { .pgrid { grid-template-columns: repeat(2, 1fr); } }

.pcard {
  display: grid; gap: clamp(1rem, .9rem + .8vw, 1.5rem);
  grid-template-columns: 1fr; align-items: stretch; text-align: left; width: 100%;
  background: #fff; border-radius: var(--r-lg);
  padding: clamp(1.15rem, 1rem + .8vw, 1.6rem);
  transition: transform var(--t), box-shadow var(--t);
}
@media (min-width: 30rem) { .pcard { grid-template-columns: 1fr .82fr; } }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.pcard__body { display: flex; flex-direction: column; align-items: flex-start; }
.pcard__ic {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; margin-bottom: clamp(1.25rem, 1rem + 1.6vw, 2.5rem);
  transition: background-color var(--t), color var(--t);
}
.pcard:hover .pcard__ic { background: var(--accent); color: var(--ink); }
.pcard__ic svg { width: 19px; height: 19px; }
.pcard__cat { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pcard h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); margin-top: .4rem; }
.pcard p { font-size: .84rem; line-height: 1.65; color: var(--muted); margin-top: .55rem; max-width: 32ch; }
.pcard__link {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: 1.35rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.pcard__link i { display: block; width: 100%; height: 1px; }
.pcard__link span { position: relative; padding-bottom: 4px; }
.pcard__link span::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor;
  transform-origin: right; transition: scale var(--t);
}
.pcard:hover .pcard__link span::after { transform-origin: left; scale: 0 1; }
.pcard__link svg { width: 13px; height: 13px; transition: transform var(--t); }
.pcard:hover .pcard__link svg { transform: translate(3px, -3px); }
.pcard__media {
  border-radius: var(--r-md); overflow: hidden; background: var(--surface-2);
  aspect-ratio: 4 / 5; min-height: 11rem;
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__count {
  position: absolute; inset: auto auto 0 0; font-size: .72rem;
}

/* =========================================================
   CATÁLOGO DE PROJETOS (home) — texto · carrossel · categorias
   ========================================================= */
.catalog {
  background: var(--surface-2); border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1.2rem + 2vw, 3rem);
  display: grid; gap: clamp(1.75rem, 1.4rem + 2vw, 3rem);
}
@media (min-width: 64rem) {
  .catalog { grid-template-columns: 15rem minmax(0, 1fr) 11rem; align-items: stretch; }
}
.catalog__left { display: flex; flex-direction: column; }
.catalog__num { font-size: .74rem; font-weight: 600; letter-spacing: .1em; color: var(--muted); }
.catalog__left h2 {
  margin-top: clamp(1.25rem, 1rem + 1.6vw, 2.5rem);
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.1rem); line-height: 1.14; max-width: 14ch;
  font-weight: 500; color: var(--muted);
}
.catalog__left h2 b { font-weight: 700; color: var(--ink); }
.catalog__desc {
  margin-top: auto; padding-top: clamp(1.5rem, 1.2rem + 2vw, 3rem);
  font-size: .8rem; line-height: 1.6; color: var(--muted); max-width: 30ch;
}

.catalog__slider { display: flex; flex-direction: column; min-width: 0; }
.catalog__track {
  display: flex; gap: clamp(.6rem, .5rem + .4vw, .9rem);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none;
}
.catalog__track::-webkit-scrollbar { display: none; }
.catalog__slide {
  flex: 0 0 86%; scroll-snap-align: start; position: relative; display: block; text-align: left;
  border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface);
  transition: transform var(--t), box-shadow var(--t);
}
@media (min-width: 44rem) { .catalog__slide { flex-basis: calc((100% - .9rem) / 2); } }
.catalog__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.catalog__slide:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.catalog__slide:hover img { transform: scale(1.05); }
.catalog__slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 24, 20, 0) 55%, rgba(20, 24, 20, .72) 100%);
}
.catalog__cap { position: absolute; inset: auto 0 0 0; padding: 1rem 1.15rem; color: #fff; z-index: 1; }
.catalog__cap b { display: block; font-size: .98rem; font-weight: 600; letter-spacing: -.02em; }
.catalog__cap span { font-size: .74rem; color: rgba(255, 255, 255, .8); }

.catalog__nav { display: flex; gap: .5rem; justify-content: center; margin-top: clamp(1.1rem, 1rem + .8vw, 1.75rem); }
.catalog__nav button {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--ink); background: transparent;
  transition: background-color var(--t), color var(--t), border-color var(--t), opacity var(--t);
}
.catalog__nav button svg { width: 15px; height: 15px; }
.catalog__nav button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.catalog__nav button[disabled] { opacity: .3; pointer-events: none; }

.catalog__cats { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
@media (min-width: 64rem) { .catalog__cats { display: grid; align-content: start; gap: .85rem; } }
.catalog__cats button {
  font-size: .92rem; font-weight: 600; letter-spacing: -.02em; text-align: left;
  color: var(--muted); opacity: .55; transition: color var(--t), opacity var(--t);
}
.catalog__cats button:nth-child(2) { opacity: .45; }
.catalog__cats button:nth-child(3) { opacity: .35; }
.catalog__cats button:nth-child(4) { opacity: .28; }
.catalog__cats button:hover { opacity: 1; color: var(--ink); }
.catalog__cats button[aria-pressed="true"] { opacity: 1; color: var(--ink); font-weight: 700; }
