/* =====================================================================
   LARISSA SENA DIGITAL — estilos
   Conceito: página única, escura e sóbria; marrom como único acento;
   cartões e janelas sobrepostas em tons de marrom-grafite.
   Para trocar cores ou fontes, altere apenas os tokens abaixo.
   ===================================================================== */
:root {
  /* Cores */
  --bg: #141111;            /* preto da marca */
  --surface: #1a1615;       /* cartões */
  --surface-2: #251e1c;     /* faixa de cabeçalho dos modais, ícones */
  --modal: #1b1615;         /* fundo das janelas */
  --line: #2c2624;          /* bordas discretas */
  --brown: #906D4F;         /* marrom da marca */
  --brown-text: #b08a6b;    /* marrom legível em texto pequeno */
  --fg: #ffffff;            /* branco */
  --text: #cdc6c1;          /* texto corrido */
  --muted: #a8a09a;         /* texto de apoio */
  --dim: #7f7771;           /* rótulos discretos */
  --band: #1a1615;          /* faixa de fundo alternada entre seções */

  /* Tipografia */
  --f-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Fraunces", Georgia, "Times New Roman", serif;

  /* Medidas */
  --header-h: 68px;
  --gutter: 20px;
  --radius: 22px;
  --ease: cubic-bezier(.22, .8, .24, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* faixa que cobre a área do sistema acima do cabeçalho fixo */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  background: var(--bg); z-index: 60;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--brown-text); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%; max-width: 1200px; margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- Ícones ---------- */
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-fill { fill: currentColor; stroke: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border-radius: 14px;
  background: var(--brown); color: #fff; font-weight: 600; font-size: 17px; letter-spacing: -.005em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s;
  box-shadow: 0 10px 30px -12px rgba(144, 109, 79, .55);
}
.btn:hover { transform: translateY(-2px); background: #9d7a5b; box-shadow: 0 16px 36px -12px rgba(144, 109, 79, .7); }
.btn:active { transform: translateY(0); }
.btn .ic { font-size: 18px; transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn.btn-sm { min-height: 40px; padding: 0 20px; font-size: 14px; border-radius: 10px; box-shadow: none; }
.btn.btn-sm:hover .ic { transform: none; }
.btn.btn-ghost { background: transparent; border: 1px solid rgba(144, 109, 79, .75); box-shadow: none; }
.btn.btn-ghost:hover { background: rgba(144, 109, 79, .16); box-shadow: none; }
.btn.btn-ghost .ic { font-size: 20px; }
.btn.btn-ghost:hover .ic { transform: none; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(20, 17, 17, .86);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--brown);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-tile {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brown); flex: none;
  transition: transform .4s var(--ease);
}
.brand:hover .brand-tile { transform: rotate(-6deg) scale(1.05); }
.brand-tile img { width: 100%; height: 100%; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.brand-name em { font-style: normal; font-weight: 500; color: var(--brown-text); }

.nav, .nav-cta { display: none; }
.nav { align-items: center; gap: 34px; }
.nav a { position: relative; font-size: 15px; font-weight: 500; color: var(--muted); padding: 6px 0; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brown); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.burger { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; font-size: 24px; color: #fff; }
.burger .ic { grid-area: 1 / 1; transition: opacity .25s, transform .35s var(--ease); }
.burger .ic-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.menu-open .burger .ic-menu { opacity: 0; transform: rotate(90deg) scale(.6); }
.menu-open .burger .ic-close { opacity: 1; transform: none; }

.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: rgba(20, 17, 17, .98); border-bottom: 1px solid var(--line);
  padding-block: 18px 24px;
  opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s;
}
.menu-open .menu-panel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.menu-panel a:not(.btn) { display: block; padding: 11px 0; font-size: 16px; color: var(--text); }
.menu-panel .btn { width: 100%; margin-top: 14px; min-height: 46px; font-size: 14px; border-radius: 8px; }

/* ---------- Seções ---------- */
main { display: block; }
section { scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
.section { padding-block: 84px; }
.section.band { background: var(--band); }
.band .card { background: #211b19; }
.band .card:hover, .band .card:focus-visible { background: #261f1c; }
.sec-head { display: grid; gap: 16px; }
.sec-head.center { text-align: center; justify-items: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brown-text); }
.h2 { font-size: clamp(32px, 5.2vw, 56px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; color: var(--muted); font-weight: 400; max-width: 640px; }

/* separador curto entre seções */
.sep { display: none; width: 120px; height: 2px; margin-inline: auto; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--brown), transparent); opacity: .75; }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.js .rise { opacity: 0; animation: rise 1s var(--ease) forwards; animation-delay: var(--d, 0ms); }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; min-height: calc(100svh - var(--header-h)); isolation: isolate; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none;
  background: radial-gradient(closest-side, rgba(144, 109, 79, .22), transparent);
}
.hero-bg { position: absolute; inset: 0 0 auto 0; height: 68svh; min-height: 440px; z-index: -2; background: var(--bg); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 47% 12%; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,17,.5) 0%, rgba(20,17,17,0) 22%, rgba(20,17,17,.18) 52%, rgba(20,17,17,.82) 84%, #141111 100%); }
.hero-bg ~ .hero-main { }
.hero::before { width: 560px; height: 560px; left: -180px; top: 8%; animation: drift 18s ease-in-out infinite alternate; }
.hero::after  { width: 480px; height: 480px; right: -160px; bottom: 6%; animation: drift 22s ease-in-out infinite alternate-reverse; opacity: .8; }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(60px, -40px, 0); } }
.hero-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; gap: 16px; padding-block: 120px 130px; }
.hero h1 .h1-b { display: block; }
.hero-main .btn { margin-top: 30px; }
.hero h1 { font-size: clamp(38px, 11.4vw, 58px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; white-space: normal; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.5); }
.hero-text { font-size: clamp(13px, 3.7vw, 15px); line-height: 1.5; font-weight: 400; letter-spacing: .02em; color: #ddd5ce; max-width: none; white-space: nowrap; }
.hero .btn { margin-top: 10px; }
.hero-note { font-size: 12.5px; line-height: 1.55; color: var(--dim); max-width: 330px; margin-top: -4px; }

.proof { display: flex; justify-content: center; margin-top: 36px; }
.proof-left { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
@media (min-width: 640px) { .proof-left { flex-direction: row; gap: 14px; text-align: left; } }
.avatars { display: flex; }
.avatars img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); filter: grayscale(1); }
.avatars img + img { margin-left: -12px; }
.av-ph { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2); color: var(--brown-text); border: 2px solid var(--bg); font-size: 20px; }
.av-ph + .av-ph { margin-left: -12px; }
.proof-text { font-size: 14px; color: var(--muted); }
.proof-mail { font-size: 14px; color: var(--muted); transition: color .25s; }
.proof-mail:hover { color: var(--brown-text); }

/* ---------- Faixa de logos ---------- */
.logos { position: relative; padding-block: 52px 48px; text-align: center; background: #100d0d; border-top: 0; }
.logos.no-title { padding-block: 28px; }
.logos-title { position: absolute; z-index: 2; top: 0; left: 0; right: 0; transform: translateY(-50%); display: flex; align-items: center; gap: 18px; margin: 0; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)); font-size: 12px; font-weight: 600; letter-spacing: .16em; color: #d8d0c9; }
.logos-title::before, .logos-title::after { content: ""; flex: 1; height: .5px; min-height: .5px; background: rgba(255,255,255,.26); }
.logos-title span { flex: none; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee-group { display: flex; flex: none; }
.marquee-item { display: grid; place-items: center; flex: none; height: 48px; padding-inline: 44px; font-size: 34px; color: #c9ad94; opacity: .85; transition: opacity .3s, color .3s; }
.marquee-item:hover { opacity: 1; color: #f1e6dc; }
.marquee-img { height: 34px; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0) invert(1) sepia(.5) saturate(1.3) brightness(.9); }
.marquee-ph { display: grid; place-items: center; height: 38px; padding: 0 22px; border: 0; border-radius: 10px; background: rgba(201,173,148,.1); color: #c9ad94; font-size: 13px; font-weight: 500; letter-spacing: .02em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Serviços (cartões em largura total, um embaixo do outro) ---------- */
.services-grid { display: grid; gap: 18px; margin-top: 52px; }
.card {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; text-align: left; cursor: pointer;
  padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .3s, background-color .3s, box-shadow .5s var(--ease);
}
.card:hover, .card:focus-visible { transform: translateY(-5px); border-color: rgba(144, 109, 79, .6); background: #1e1917; box-shadow: 0 24px 50px -26px rgba(0, 0, 0, .9), 0 0 0 1px rgba(144, 109, 79, .12); }
.card-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 15px; background: var(--surface-2); color: var(--brown-text); font-size: 24px; transition: background-color .3s, color .3s, transform .5s var(--ease); }
.card:hover .card-ic { background: var(--brown); color: #fff; transform: scale(1.06) rotate(-4deg); }
.card-main { display: grid; gap: 10px; min-width: 0; }
.card h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.card p { font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.card-side { display: grid; gap: 18px; min-width: 0; align-content: center; }
.chips { list-style: none; margin: 0; padding: 0; display: none; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: 13px; color: var(--muted); }
.card-more { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid rgba(144, 109, 79, .55); font-size: 15px; font-weight: 600; color: var(--brown-text); transition: color .3s, background-color .3s, border-color .3s; }
.card:hover .card-more { background: var(--brown); border-color: var(--brown); }
.card-more .ic { font-size: 16px; transition: transform .45s var(--ease); }
.card:hover .card-more { color: #fff; }
.card:hover .card-more .ic { transform: rotate(90deg); }

/* ---------- Quem está por trás ---------- */
.about-grid { display: grid; gap: 36px; }
.about-head { display: grid; gap: 14px; }
.about-head { gap: 16px; }
.about-head .h2 { font-size: clamp(27px, 6.4vw, 44px); line-height: 1.15; letter-spacing: -.03em; max-width: 24ch; }
.about-id { display: block; padding: 0; }
.avatar { display: none; flex: none; width: 68px; height: 68px; border-radius: 50%; overflow: hidden; border: 2px solid var(--brown); background: var(--surface-2); }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block; }
.about-copy { display: grid; gap: 18px; align-content: start; }
.about-role { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brown-text); margin-top: 6px; }
.about-name { font-size: 19px; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.about-copy p { font-size: 16px; line-height: 1.8; color: var(--muted); }
.about-copy .about-sign { width: fit-content; margin-top: 10px; font-family: 'Mrs Saint Delafield', 'Segoe Script', cursive; font-size: 54px; line-height: 1.15; padding-right: 14px; color: #d9c7b6; }
.about-sign::after { content: ""; display: block; width: 100%; min-width: 96px; height: 1px; margin-top: 2px; background: linear-gradient(90deg, var(--brown), rgba(144,109,79,0)); }
/* ---- Equipe ---- */
.team { padding-block: 84px 92px; overflow: hidden; }
.team-head { display: grid; gap: 14px; text-align: center; justify-items: center; margin-bottom: 44px; }
.team-head .h2 { font-size: clamp(27px, 6.4vw, 46px); line-height: 1.15; letter-spacing: -.03em; max-width: 18ch; }
.team-head .lead { font-size: 16px; max-width: 40ch; }
.tm-rows { display: grid; gap: 14px; }
.tm-row .marquee-track { align-items: center; }
.tm-row .marquee-group { align-items: center; }
.tm-a .marquee-track { animation-duration: 80s; }
.tm-b .marquee-track { animation-duration: 95s; animation-direction: reverse; }
.tm-pill { flex: none; display: inline-flex; align-items: center; gap: 12px; margin-inline: 7px; padding: 10px 24px 10px 11px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: linear-gradient(180deg, #221c1a, #1a1514); font-size: clamp(15px, 4vw, 18px); font-weight: 500; letter-spacing: -.01em; white-space: nowrap; color: #ece4dc; box-shadow: 0 10px 24px -14px rgba(0,0,0,.7); }
.tm-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(144,109,79,.22); color: var(--brown-text); font-size: 18px; }
.tm-row:hover .marquee-track { animation-play-state: paused; }
/* ---- Números ---- */
.stats { position: relative; overflow: hidden; padding-block: 76px 84px; }
.stats .wrap { position: relative; }
.stats-title { text-align: center; margin-bottom: 36px; }
.stats-grid { display: grid; gap: 16px; max-width: 420px; margin-inline: auto; }
.st { display: grid; align-content: start; gap: 14px; padding: 28px 24px; text-align: left; border-radius: var(--radius); background: #211b19; border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s, background-color .3s, box-shadow .5s var(--ease); }
.st:hover { transform: translateY(-5px); border-color: rgba(144, 109, 79, .6); background: #261f1c; box-shadow: 0 24px 50px -26px rgba(0, 0, 0, .9), 0 0 0 1px rgba(144, 109, 79, .12); }
.stats .how-cta { margin-top: 64px; }
.st-n { display: flex; align-items: baseline; gap: 2px; font-weight: 700; font-size: clamp(44px, 12vw, 60px); line-height: 1; letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.st-l { font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 8%; border-radius: 16px; display: block; }
.portrait-card { padding: 12px; border-radius: 26px; border: 1px solid var(--line); background: rgba(255,255,255,.015); }
.portrait-badge { position: absolute; right: -6px; bottom: -6px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brown); color: #fff; font-size: 20px; border: 3px solid var(--bg); box-shadow: 0 10px 24px -8px rgba(0,0,0,.6); }

/* ---------- Projetos ---------- */
.work-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 32px auto 0; max-width: 420px; justify-content: center; }
.chip { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; text-align: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.chip:hover { color: #fff; border-color: rgba(144,109,79,.6); }
.chip.on { background: var(--brown); border-color: var(--brown); color: #fff; }
.proj[hidden] { display: none; }
.proj-flag { position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(20,17,17,.72); border: 1px solid rgba(144,109,79,.55); color: var(--brown-text); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.work-head { display: grid; gap: 14px; }
.work-grid { display: grid; gap: 40px; margin-top: 48px; align-items: start; }
.proj { cursor: pointer; display: grid; gap: 0; align-content: start; }
.proj-img { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--surface); margin-bottom: 8px; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.proj-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,17,17,.45)); opacity: 0; transition: opacity .5s; }
.proj:hover .proj-img img, .proj:focus-visible .proj-img img { transform: scale(1.06); }
.proj:hover .proj-img::after { opacity: 1; }
.proj h3 { margin-top: 0; line-height: 1.3; font-size: 17px; font-weight: 500; letter-spacing: -.02em; transition: color .3s; }
.proj:hover h3 { color: var(--brown-text); }
.proj-fr { margin-top: 6px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brown-text); }
.proj-cat { margin-top: 1px; font-size: 13.5px; line-height: 1.3; color: var(--dim); }

/* ---------- Contato ---------- */
.contact { padding-block: 100px 70px; text-align: center; }
.contact h2 { font-size: clamp(44px, 10.4vw, 132px); font-weight: 800; letter-spacing: -.045em; line-height: .96; text-transform: uppercase; max-width: 10ch; margin-inline: auto; margin-top: 56px; }
.contact-cta { margin-top: 40px; }
.mail { display: inline-block; margin-top: 30px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; color: var(--brown-text); letter-spacing: -.01em; position: relative; }
.mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.mail:hover::after { transform: scaleX(1); }
.socials { display: flex; justify-content: center; gap: 14px; margin-top: 44px; }
.social { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 19px; transition: color .3s, border-color .3s, transform .4s var(--ease), background-color .3s; }
.social:hover { color: #fff; border-color: var(--brown); background: rgba(144, 109, 79, .18); transform: translateY(-3px); }

.site-footer { border-top: 1px solid var(--line); padding-block: 28px 44px; }
.footer-in { display: grid; justify-items: center; gap: 10px; text-align: center; }
.footer-in p, .footer-in a { font-size: 13px; color: var(--dim); }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--text); }

/* ---------- Janelas (modais) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: max(14px, env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) max(14px, env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 4, 4, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: fade .35s var(--ease) both; }
.modal-panel {
  position: relative; width: min(680px, 100%); max-height: 100%; display: flex; flex-direction: column;
  background: var(--modal); border: 1px solid rgba(255,255,255,.07); border-radius: 26px; overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.9);
  animation: pop .45s var(--ease) both;
}
.modal.closing .modal-backdrop { animation: fade .25s ease reverse both; }
.modal.closing .modal-panel { animation: pop .25s ease reverse both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.modal-panel:focus { outline: none; }
.modal-scroll { overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #3a322f transparent; }
.modal-close {
  position: absolute; z-index: 5; top: 18px; right: 18px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #ece9e7; color: #141111; font-size: 20px; transition: transform .35s var(--ease), background-color .25s;
}
.modal-close:hover { transform: rotate(90deg) scale(1.06); background: #fff; }

.m-head { display: flex; align-items: center; gap: 18px; padding: 28px 28px 24px; background: var(--surface-2); }
.m-ic { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 18px; background: var(--brown); color: #fff; font-size: 30px; flex: none; }
.m-tag { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--brown); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.m-title { font-family: var(--f-serif); font-weight: 600; font-size: clamp(28px, 4.4vw, 38px); letter-spacing: -.01em; line-height: 1.1; color: #fffefc; padding-right: 40px; }
.m-body { padding: 24px 28px 26px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.m-h { font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 12px; }
.m-text { font-size: 16.5px; line-height: 1.7; color: var(--text); }
.m-text-sm { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.m-text + .m-text { margin-top: 18px; }
.m-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.m-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.m-list .ic { font-size: 22px; color: var(--brown-text); margin-top: 1px; }
.m-list b { display: block; font-size: 16px; font-weight: 600; color: #fff; line-height: 1.4; }
.m-list span { display: block; font-size: 15px; line-height: 1.6; color: var(--muted); margin-top: 2px; }
.m-foot { position: sticky; bottom: 0; z-index: 3; margin: 0; padding: 14px 28px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--modal); border-top: 1px solid var(--line); display: flex; box-shadow: 0 -18px 30px -12px rgba(0,0,0,.55); }
.m-foot .btn { min-height: 48px; font-size: 15px; border-radius: 10px; padding: 0 22px; }
.m-foot .btn .ic { flex: none; }

/* modal de projeto */
.m-cover { position: relative; height: clamp(210px, 38vh, 320px); flex: none; }
.m-cover img { width: 100%; height: 100%; object-fit: cover; }
.m-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,22,21,0) 45%, var(--modal) 100%); }
.m-cat { display: inline-block; padding: 0; background: none; color: var(--brown-text); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.m-phead { padding: 6px 28px 0; display: grid; gap: 16px; justify-items: start; margin-top: -8px; }
.m-phead .m-title { padding-right: 0; font-size: clamp(30px, 5vw, 42px); }
.m-body.m-pbody { padding-top: 28px; }
.m-empty { color: var(--dim); font-style: italic; font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags span { padding: 7px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid rgba(255,255,255,.05); font-size: 14px; color: var(--text); }
.m-quote { margin: 0; padding: 22px; border-radius: 16px; background: rgba(0,0,0,.22); border: 1px solid rgba(144, 109, 79, .28); display: grid; gap: 12px; }
.m-quote blockquote { margin: 0; font-size: 17px; line-height: 1.65; color: var(--text); font-style: italic; }
.m-quote figcaption { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brown-text); }
.m-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.m-meta b { color: var(--brown-text); font-weight: 600; }
.m-stats { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 12px; }
.m-stat { padding: 20px; border-radius: 16px; background: rgba(0,0,0,.22); border: 1px solid var(--line); display: grid; gap: 8px; }
.m-stat-n { font-size: clamp(36px, 9vw, 48px); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: #fff; }
.m-stat-l { font-size: 14px; line-height: 1.5; color: var(--muted); }
.m-device { margin-inline: auto; width: 100%; border-radius: 18px; border: 1px solid rgba(255,255,255,.14); background: #0f0c0c; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(0,0,0,.9); }
.m-device .dev-bar { display: flex; gap: 6px; padding: 10px 14px; background: #1b1615; }
.m-device .dev-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); }
.m-device .dev-screen img { display: block; width: 100%; height: auto; }
.m-device.dev-celular { max-width: 260px; border-radius: 34px; border-width: 6px; border-color: #2a2220; }
.m-device.dev-celular .dev-bar { display: none; }
.m-sech { display: flex; align-items: center; margin-bottom: 14px; }
.m-sech .m-h { margin-bottom: 0; }
.car-wrap { position: relative; margin-inline: -28px; }
.car-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: 28px; scroll-padding-inline: 28px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.car-track::-webkit-scrollbar { display: none; }
.car-slide { position: relative; flex: 0 0 66%; max-width: 300px; scroll-snap-align: center; aspect-ratio: var(--ar, 4 / 5); border-radius: 16px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); display: block; }
.car-slide img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; }
.car-tag { position: absolute; top: 10px; left: 10px; padding: 4px 11px; border-radius: 999px; background: rgba(20,17,17,.72); border: 1px solid rgba(255,255,255,.14); color: #e4d8cd; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.car-play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(144,109,79,.92); color: #fff; font-size: 22px; box-shadow: 0 12px 28px -10px rgba(0,0,0,.8); }
.car-play .ic { fill: currentColor; stroke: none; margin-left: 3px; }
.car-live { position: absolute; left: 10px; right: 10px; bottom: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; border-radius: 10px; background: var(--brown); color: #fff; font-size: 14px; font-weight: 600; }
.car-live .ic { font-size: 16px; }
.car-dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.car-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.22); transition: width .3s var(--ease), background-color .3s; }
.car-dots i.on { width: 22px; border-radius: 4px; background: var(--brown); }
.car-btn { display: none; }
@media (hover: hover) and (min-width: 768px) {
  .car-btn { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: rgba(20,17,17,.85); color: #fff; font-size: 18px; cursor: pointer; transition: background-color .3s, border-color .3s; }
  .car-btn:hover { background: var(--brown); border-color: var(--brown); }
  .car-btn.prev { left: 14px; }
  .car-btn.next { right: 14px; }
  .car-slide { flex-basis: 44%; }
}
.impact { padding: 22px; border-radius: 16px; background: rgba(0,0,0,.22); border: 1px solid rgba(144, 109, 79, .28); display: grid; gap: 8px; }
.impact h4 { font-size: 17px; font-weight: 500; color: var(--brown-text); }
.impact p { font-size: 15.5px; line-height: 1.7; color: var(--text); }
.m-foot.right { justify-content: flex-end; }

/* ---------- Como funciona (carrossel com passo central em destaque) ---------- */
.how { --cw: min(290px, 72vw); margin-top: 44px; }
.how-track { position: relative; display: flex; align-items: stretch; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 18px calc((100% - var(--cw)) / 2) 24px; scroll-padding-inline: calc((100% - var(--cw)) / 2); outline: none; }
.how-track::-webkit-scrollbar { display: none; }
.how-card { flex: 0 0 var(--cw); scroll-snap-align: center; display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 26px 24px 30px; border-radius: 24px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface);
  transform: scale(calc(1 - var(--t, 0) * .16)); opacity: calc(1 - var(--t, 0) * .62); filter: grayscale(calc(var(--t, 0) * .95));
  transition: border-color .4s, background-color .4s, box-shadow .5s; }
.how-card.on { border-color: rgba(144, 109, 79, .6); background: #1e1917; box-shadow: 0 28px 60px -32px rgba(0, 0, 0, .9), 0 0 0 1px rgba(144, 109, 79, .12); cursor: default; }
.how-top { display: flex; align-items: center; gap: 12px; }
.how-n { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--surface-2); color: var(--brown-text); font-family: var(--f-serif); font-weight: 600; font-size: 15px; line-height: 1; transition: background-color .3s, color .3s, transform .5s var(--ease); }
.how-card.on .how-n { background: var(--brown); color: #fff; transform: scale(1.06) rotate(-4deg); }
.how-tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; color: var(--brown-text); }
.how-card p { font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.how-card.on p { color: var(--text); }
.how-ctl { display: flex; align-items: center; justify-content: center; }
.how-dots { display: flex; gap: 8px; }
.how-dot { width: 8px; height: 8px; padding: 0; border-radius: 99px; background: #3a322f; transition: width .35s var(--ease), background-color .3s; }
.how-dot.on { width: 24px; background: var(--brown); }
.how-cta { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- Janela de frente: abordagem, acordeão e público ---------- */
.m-sec { display: block; min-width: 0; }
.m-count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 8px; margin-left: 8px; border-radius: 999px; background: var(--surface-2); color: var(--brown-text); font-size: 13px; font-weight: 600; vertical-align: middle; }
.steps { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -28px; padding: 2px 28px; scroll-padding-inline: 28px; -webkit-overflow-scrolling: touch; }
.steps::-webkit-scrollbar { display: none; }
.dots { display: flex; justify-content: center; gap: 7px; margin-top: 14px; }
.dots i { width: 7px; height: 7px; border-radius: 99px; background: #3a322f; transition: width .35s var(--ease), background-color .3s; }
.dots i.on { width: 22px; background: var(--brown); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.step-n { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--dim); }
.pills { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.pills li { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 16px 10px 14px; border-radius: 999px; border: 1px solid rgba(144, 109, 79, .4); background: rgba(144, 109, 79, .07); font-size: 14.5px; line-height: 1.35; color: var(--text); }
.pills .ic { font-size: 18px; color: var(--brown-text); flex: none; }
.step { flex: 0 0 74%; scroll-snap-align: start; display: grid; gap: 6px; align-content: start; padding: 16px; border-radius: 16px; border: 1px solid rgba(144, 109, 79, .35); background: rgba(144, 109, 79, .05); }
.step-ic { display: block; color: var(--brown-text); font-size: 26px; }
.step b { font-size: 15px; font-weight: 600; color: #fff; }
.step p { font-size: 14px; line-height: 1.6; color: var(--muted); }

.acc { display: grid; gap: 10px; }
.acc-item { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.015); transition: border-color .3s, background-color .3s; }
.acc-item.open { border-color: rgba(144, 109, 79, .55); background: rgba(144, 109, 79, .07); }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; text-align: left; font-size: 16px; font-weight: 600; color: #fff; border-radius: 16px; }
.acc-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); color: var(--brown-text); font-size: 14px; flex: none; transition: background-color .3s, color .3s, border-color .3s; }
.acc-ico .v { transform-box: fill-box; transform-origin: center; transition: transform .35s var(--ease); }
.acc-item.open .acc-ico { background: var(--brown); border-color: var(--brown); color: #fff; }
.acc-item.open .acc-ico .v { transform: scaleY(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; min-height: 0; }
.acc-panel p { padding: 0 18px 18px; font-size: 15px; line-height: 1.7; color: var(--muted); }

.who { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.who li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.6; color: var(--text); }
.who li:last-child { border-bottom: 0; padding-bottom: 0; }
.who .ic { color: var(--brown-text); font-size: 20px; margin-top: 2px; }

.m-foot { flex-wrap: nowrap; gap: 10px; }
.m-foot .btn { flex: 1 1 0; min-width: 0; padding-inline: 10px; font-size: 14px; white-space: nowrap; justify-content: center; }

.m-foot.right .btn { flex: 0 0 auto; }

/* ---------- WhatsApp flutuante ---------- */
.wa {
  position: fixed; z-index: 40; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: center; height: 58px; min-width: 58px; padding: 0 15px; border-radius: 999px;
  background: var(--brown); color: #fff; font-size: 28px;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .1);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .3s;
}
.wa.show { opacity: 1; transform: none; pointer-events: auto; }
.wa:hover { background: #9d7a5b; transform: translateY(-3px); }
.wa::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--brown); opacity: 0; animation: ping 3.6s ease-out 3s infinite; pointer-events: none; }
@keyframes ping { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
.wa-tip { display: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
@media (hover: hover) and (min-width: 900px) {
  .wa-tip { display: block; max-width: 0; overflow: hidden; opacity: 0; transition: max-width .4s var(--ease), opacity .3s, margin .4s var(--ease); }
  .wa:hover .wa-tip { max-width: 160px; opacity: 1; margin-left: 12px; margin-right: 6px; }
}
.modal-open .wa { opacity: 0; pointer-events: none; transform: translateY(16px); }

/* ---------- Responsivo ---------- */
@media (min-width: 560px) {
  .step { flex-basis: 46%; }
}
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
  .work-filters { grid-template-columns: repeat(4, 150px); max-width: none; justify-content: center; }
  .work-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
  .modal-panel { border-radius: 30px; }
  .m-head, .m-phead { padding-left: 40px; padding-right: 40px; }
  .m-body { padding-inline: 40px; }
  .m-foot { padding-inline: 40px; }
  .steps { margin-inline: -40px; padding-inline: 40px; scroll-padding-inline: 40px; }
}
@media (min-width: 900px) {
  .how { --cw: 500px; }
  :root { --header-h: 76px; --gutter: 40px; }
  .section { padding-block: 120px; }
  .card { grid-template-columns: auto minmax(0, 1fr) minmax(260px, 400px); align-items: center; gap: 36px; padding: 34px 40px; }
  .chips { display: flex; }
  .card-more { width: auto; align-self: start; padding-inline: 26px; justify-self: start; }
  .hero h1 { font-size: clamp(54px, 5vw, 72px); }
  .hero-text { font-size: 17px; }
  .hero-main { padding-block: 180px 64px; gap: 20px; }
  .hero-main .btn { margin-top: 34px; }
  .hero-bg { inset: 0; height: auto; min-height: 0; }
  .hero-bg img { object-position: 50% 22%; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(20,17,17,.5) 0%, rgba(20,17,17,.05) 22%, rgba(20,17,17,.3) 50%, rgba(20,17,17,.86) 76%, #141111 96%); }
  .steps { overflow: visible; margin-inline: -40px; padding-inline: 40px; gap: 12px; }
  .step { flex: 1 1 0; }
  .dots { display: none; }
  .stats { padding-block: 96px 104px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1040px; }
  .stats-title { margin-bottom: 44px; }
  .about-grid { grid-template-columns: 1.15fr .85fr; column-gap: 80px; row-gap: 32px; align-items: start; }
  .about-grid .about-head { grid-column: 1 / -1; max-width: 640px; }
  .portrait-card { position: sticky; top: calc(var(--header-h) + 32px); }
  .portrait img { aspect-ratio: 2 / 3; object-position: 50% 0%; }
  .work-head { grid-template-columns: 1fr; max-width: 640px; }
  .contact { padding-block: 130px 90px; }
  .footer-in { grid-template-columns: 1fr auto; justify-items: stretch; text-align: left; }
  .modal-panel { width: min(760px, 100%); }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .nav { gap: 22px; }
  .nav a { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal, .js .rise { opacity: 1; transform: none; }
}

/* Depoimentos */
.dps { padding-block: 76px 84px; overflow: hidden; }
.dps .work-head { text-align: center; margin-bottom: 40px; }
.dps .work-head, .dps .work-head .h2 { max-width: none; }
.dp-stage { position: relative; }
.dp-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px calc(50% - 41vw); overscroll-behavior-x: contain; outline: none; }
.dp-track::-webkit-scrollbar { display: none; }
.dp { flex: none; width: 82vw; max-width: 560px; scroll-snap-align: center; margin: 0; display: flex; flex-direction: column; gap: 16px; padding: 28px 26px 22px; border-radius: 12px;
  background: linear-gradient(160deg, #271f1c 0%, #1d1715 100%); border: 1px solid rgba(144,109,79,.22); box-shadow: 0 18px 40px -22px rgba(0,0,0,.7);
  opacity: .42; transform: scale(.94); transition: opacity .45s var(--ease), transform .45s var(--ease), border-color .3s; }
.dp.on { opacity: 1; transform: none; border-color: rgba(144,109,79,.6); }
.dp-stars { color: #d4a96a; letter-spacing: 4px; font-size: 15px; }
.dp blockquote { margin: 0; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.88); flex: 1; }
.dp figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.dp-av { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: linear-gradient(135deg, #b08a6b, #906D4F); color: #fff; font-family: var(--f-serif); font-size: 17px; font-weight: 700; }
.dp-nm { display: grid; font-size: 14.5px; font-weight: 600; color: #f1e6dc; }
.dp-nm small { font-size: 12px; font-weight: 400; color: var(--muted); }
.dp-nav { display: none; }
@media (min-width: 900px) {
  .dps { padding-block: 96px 104px; }
  .dp-track { padding-inline: calc(50% - 280px); gap: 22px; }
  .dp { width: 560px; padding: 34px 36px 26px; }
  .dp blockquote { font-size: 17px; }
  .dp-nav { display: grid; place-items: center; position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(144,109,79,.6); background: rgba(20,17,17,.85); color: #f1e6dc; cursor: pointer; transition: background-color .3s; }
  .dp-nav:hover { background: rgba(144,109,79,.35); }
  .dp-nav .ic { width: 20px; height: 20px; }
  .dp-prev { left: 20px; }
  .dp-prev .ic { transform: scaleX(-1); }
  .dp-next { right: 20px; }
}
.dp-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.dps .how-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.dps .how-cta { flex-direction: column; align-items: center; gap: 18px; }
.dp-google { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.dp-google .ic { width: 15px; height: 15px; }
.dp-google:hover { color: var(--brown-text); border-color: var(--brown-text); }
.dps .how-cta { margin-top: 56px; gap: 24px; }
.dps { padding-bottom: 96px; }
@media (min-width: 900px) { .dps .how-cta { margin-top: 64px; } .dps { padding-bottom: 116px; } }

.dp-cta { color: #f1e6dc; font-size: 15.5px; font-weight: 500; border-bottom-color: var(--brown); }
.dp-cta .ic { color: var(--brown-text); }
/* FAQ */
.faq { padding-block: 76px 84px; }
.faq .work-head { text-align: center; margin-bottom: 36px; max-width: none; }
.faq .work-head .h2 { max-width: none; }
.fq-list { max-width: 760px; margin-inline: auto; display: grid; gap: 12px; }
.fq { border-radius: 12px; background: #1d1715; border: 1px solid var(--line); transition: border-color .3s, background-color .3s; }
.fq:hover, .fq[open] { border-color: rgba(144,109,79,.6); }
.fq[open] { background: #211b19; }
.fq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; font-size: 16px; font-weight: 600; color: #f1e6dc; }
.fq summary::-webkit-details-marker { display: none; }
.fq-ic { position: relative; flex: none; width: 18px; height: 18px; }
.fq-ic::before, .fq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--brown-text); translate: -50% -50%; transition: transform .3s var(--ease); }
.fq-ic::after { transform: translate(0,0) rotate(90deg); }
.fq[open] .fq-ic::after { transform: rotate(0deg); }
.fq-r { padding: 0 22px 22px; }
.fq-r p { margin: 0; font-size: 15.5px; line-height: 1.7; color: rgba(255,255,255,.78); }
@media (min-width: 900px) { .faq { padding-block: 96px 104px; } .fq summary { font-size: 17px; padding: 22px 26px; } .fq-r { padding: 0 26px 24px; } }
.dps { padding-top: 56px; }
.dps .work-head { margin-bottom: 30px; }
.dps .dp-cta { padding: 13px 30px; border: 1px solid rgba(144,109,79,.7); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #f1e6dc; gap: 10px; transition: background-color .3s, border-color .3s, color .3s; }
.dps .dp-cta:hover { background: rgba(144,109,79,.18); border-color: var(--brown-text); color: #fff; }
@media (min-width: 900px) { .dps { padding-top: 72px; } }

/* FAQ mais fino e delicado, todas do mesmo tamanho */
.fq-list { gap: 10px; max-width: 700px; }
.fq { border-radius: 10px; }
.fq summary { min-height: 54px; padding: 0 20px; font-size: 14.5px; font-weight: 500; }
.fq-r { padding: 0 20px 20px; }
.fq-r p { font-size: 14.5px; }
@media (min-width: 900px) { .fq summary { min-height: 56px; padding: 0 24px; font-size: 15.5px; } .fq-r { padding: 0 24px 22px; } .fq-r p { font-size: 15px; } }

/* Rodapé separado da chamada final */
.contact { padding-block: 100px 96px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 44px 36px; background: #100d0d; }
.ft-top { display: grid; justify-items: center; gap: 26px; text-align: center; }
.ft-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.ft-nav a { font-size: 14px; color: var(--muted); transition: color .3s; }
.ft-nav a:hover { color: var(--brown-text); }
.site-footer .socials { margin-top: 0; gap: 12px; }
.site-footer .social { width: 42px; height: 42px; font-size: 17px; }
.ft-bottom { display: grid; justify-items: center; gap: 8px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; }
.ft-bottom p, .ft-bottom a { font-size: 13px; color: var(--dim); margin: 0; }
.ft-bottom a:hover { color: var(--text); }
@media (min-width: 900px) {
  .contact { padding-block: 130px 120px; }
  .ft-top { grid-template-columns: 1fr auto 1fr; justify-items: stretch; align-items: center; text-align: left; }
  .ft-nav { justify-content: center; }
  .site-footer .socials { justify-content: flex-end; }
  .ft-bottom { grid-template-columns: 1fr auto; justify-items: stretch; text-align: left; }
}

/* Menu completo só a partir de 1140px; abaixo disso, o botão de menu (evita encostar no logo) */
@media (min-width: 1140px) {
  .burger, .menu-panel { display: none; }
  .nav, .nav-cta { display: inline-flex; }
  .header-in { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; }   /* menu centralizado */
  .brand { justify-self: start; }
  .nav { justify-self: center; gap: 30px; }
  .nav-cta { justify-self: end; }
}

/* Rodapé em colunas */
.ft-grid { display: grid; gap: 34px; justify-items: start; text-align: left; }
.ft-about { display: grid; gap: 14px; align-content: start; }
.ft-about p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 30ch; }
.ft-h { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brown-text); }
.ft-list { display: grid; gap: 11px; justify-items: start; }
.ft-list a { font-size: 14.5px; color: var(--muted); transition: color .3s; }
.ft-list a:hover { color: #fff; }
.ft-link { display: inline-flex; align-items: center; gap: 12px; }
.ft-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--brown-text); font-size: 16px; transition: border-color .3s, background-color .3s; }
.ft-link:hover .ft-ic { border-color: rgba(144,109,79,.6); background: rgba(144,109,79,.16); }
.ft-bottom { justify-items: start; text-align: left; }
@media (min-width: 900px) {
  .ft-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; }
}
.ft-partner { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--dim); opacity: .85; transition: opacity .3s, color .3s; }
.ft-partner img { display: block; height: 15px; width: auto; opacity: .9; }
.ft-partner:hover { opacity: 1; color: #fff; }

/* Faixa de ferramentas (só logos, pequena, em movimento no sentido contrário ao dos clientes) */
.tools { padding-block: 6px 44px; }
.tools .marquee-track { align-items: center; animation-duration: 85s; animation-direction: reverse; }
.tools .marquee-group { align-items: center; }
.tools .marquee-item { display: flex; flex-direction: row; white-space: nowrap; height: 40px; padding-inline: 30px; align-items: center; gap: 9px; }
.tools .tool-img { display: block; width: auto; max-width: none; opacity: .7; transition: opacity .3s; }
.tools .tool-txt { font-size: 14px; font-weight: 500; letter-spacing: .02em; color: #cfc7c0; opacity: .7; }
.tools .marquee:hover .marquee-track { animation-play-state: paused; }
.ft-about p.ft-local { font-size: 13px; color: var(--dim); max-width: none; margin-top: -4px; }
.logos .marquee-img { filter: none; opacity: .9; transition: opacity .3s; }
.logos .marquee-item:hover .marquee-img { opacity: 1; }

/* Logos de clientes: todos na mesma caixa */
.logos .marquee-img { width: auto; max-width: none; }
.logos .marquee-item { height: 60px; padding-inline: 30px; }
/* Fotinhas: carrossel em loop, 3 visíveis, a do centro em destaque */
.avatars { position: relative; display: block; width: 176px; height: 64px; flex: none; }
.avatars img { position: absolute; left: 50%; top: 3px; width: 58px; height: 58px; margin: 0 0 0 -29px; border: 2px solid var(--bg); border-radius: 50%; object-fit: cover; filter: none; animation: none; opacity: 0; transform: translateX(110px) scale(.4); transition: transform .7s var(--ease), opacity .7s; }
.avatars img + img { margin-left: -29px; }
.avatars img[data-o="0"] { opacity: 1; z-index: 2; transform: none; box-shadow: 0 0 0 2px var(--brown), 0 10px 24px -8px rgba(0,0,0,.7); }
.avatars img[data-o="-1"] { opacity: .7; transform: translateX(-58px) scale(.66); }
.avatars img[data-o="1"] { opacity: .7; transform: translateX(58px) scale(.66); }


/* ---------- Chamada final (CTA) ---------- */
.contact { position: relative; border-top: 1px solid var(--line); background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(144,109,79,.16), transparent 70%), var(--bg); padding-block: 110px 96px; }
.contact::before { content: ""; position: absolute; top: -1px; left: 50%; width: min(360px, 60%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--brown), transparent); }
.contact h2 { margin-top: 0; }
.ct-lead { max-width: 560px; margin: 28px auto 0; font-size: 17px; line-height: 1.7; color: var(--text); }
.ct-steps { list-style: none; margin: 44px auto 0; padding: 0; max-width: 860px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.ct-steps li { display: grid; gap: 6px; align-content: start; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }
.ct-n { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--brown-text); }
.ct-steps strong { font-size: 16px; font-weight: 600; color: #fff; }
.ct-steps li > span:last-child { font-size: 14px; line-height: 1.6; color: var(--muted); }
.contact-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.ct-note { margin-top: 18px; font-size: 13px; color: var(--dim); }
.contact .proof { margin-top: 44px; }
@media (max-width: 720px) { .ct-steps { grid-template-columns: 1fr; } .contact { padding-block: 84px 76px; } .contact-cta .btn { width: 100%; justify-content: center; } }

/* Selo Kommo parceiro: botão pequeno e clicável no rodapé */
.ft-partner .ft-badge { height: 24px; width: auto; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255,255,255,.1); opacity: 1; }
.ft-partner { opacity: .8; }
.ft-partner:hover { opacity: 1; transform: translateY(-2px); }


/* ---------- Aviso de cookies ---------- */
.ck { position: fixed; z-index: 90; left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); width: min(440px, calc(100vw - 32px)); display: grid; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(24,20,20,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 18px 50px -12px rgba(0,0,0,.7); }
.ck p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.ck a { color: var(--brown-text); border-bottom: 1px solid rgba(176,138,107,.5); }
.ck-btns { display: flex; gap: 10px; }
.ck-btns button { flex: 1; min-height: 40px; padding: 0 16px; border-radius: 9px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background .3s, color .3s; }
.ck-yes { border: 0; background: var(--brown); color: #fff; }
.ck-yes:hover { background: #a07b5b; }
.ck-no { border: 1px solid var(--line); background: transparent; color: var(--text); }
.ck-no:hover { background: rgba(255,255,255,.06); }
.ck-open .wa { opacity: 0; pointer-events: none; }
@media (min-width: 721px) { .ck-open .wa { opacity: 1; pointer-events: auto; } }
.ck[hidden] { display: none; }

/* Mockup de celular com a página inteira rolável (projetos do tipo "site") */
.m-device.dev-celular { max-width: 280px; }
.m-device.dev-scroll .dev-screen { max-height: 540px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; background: #000; }
.m-device.dev-scroll .dev-screen::-webkit-scrollbar { display: none; }
.m-device-hint { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--dim); }

.m-phead.m-nocover { padding-top: 64px; }

/* ---------- Imagem ampliada ---------- */
.m-device[data-zoom], .car-slide[data-zoom] { cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(10,8,8,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: lbin .25s ease both; }
.lb[hidden] { display: none; }
.lb-box { width: min(560px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; border-radius: 18px; background: #000; box-shadow: 0 30px 80px -20px rgba(0,0,0,.9); overscroll-behavior: contain; scrollbar-width: thin; }
.lb-box img { display: block; width: 100%; height: auto; }
.lb-x { position: absolute; z-index: 2; top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f1ebe5; color: #141111; display: grid; place-items: center; cursor: pointer; }
.lb-x .ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@keyframes lbin { from { opacity: 0; } to { opacity: 1; } }

/* carrosséis separados + vídeo dentro do cartão */
.m-car-txt { margin: -4px 0 14px; font-size: 14px; line-height: 1.6; color: var(--dim); }
button.car-slide { padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: inherit; }
.car-slide.car-v { flex-basis: 58%; max-width: 236px; }
.car-slide.car-h { flex-basis: 84%; max-width: 420px; }
.car-slide.car-playing { background: #000; }
.car-slide video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.car-vid:focus-visible, .car-slide:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }
@media (hover: hover) and (min-width: 768px) {
  .car-slide.car-v { flex-basis: 34%; }
  .car-slide.car-h { flex-basis: 62%; }
}
.lb-nav { position: absolute; z-index: 2; top: 50%; width: 46px; height: 46px; margin-top: -23px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; background: rgba(20,17,17,.8); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-nav[hidden] { display: none; }
.lb-nav .ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-nav.prev { left: max(10px, env(safe-area-inset-left, 0px)); }
.lb-nav.next { right: max(10px, env(safe-area-inset-right, 0px)); }
@media (hover: hover) { .lb-nav:hover { background: var(--brown); border-color: var(--brown); } }

/* vídeo ampliado (mesmo zoom das fotos) */
.lb-box video { display: block; width: 100%; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); background: #000; }
.lb-box.lb-video { width: min(calc((100dvh - 32px) * 9 / 16), 480px, 100%); overflow: hidden; }
.lb-box.lb-video.lb-wide { width: min(960px, 100%); }
.lb-box video[hidden] { display: none; }
[data-video] { cursor: zoom-in; }

/* ---------- projetos por cliente: etiquetas das frentes e abas ---------- */
.proj-flags { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.proj-flags .proj-flag { position: static; padding: 4px 10px; font-size: 10.5px; letter-spacing: .08em; }
.m-tabs { position: sticky; top: 0; z-index: 4; display: flex; gap: 8px; margin-top: 22px; padding: 12px 28px; background: var(--modal); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.m-tabs::-webkit-scrollbar { display: none; }
.m-tab { flex: 1 1 0; min-width: max-content; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.m-tab:hover { color: #fff; border-color: rgba(144,109,79,.6); }
.m-tab.on { background: var(--brown); border-color: var(--brown); color: #fff; }
.m-panel[hidden] { display: none; }
.m-live { margin-top: 24px; display: flex; }
@media (min-width: 720px) { .m-tabs { padding-inline: 40px; } .m-tab { flex: 0 0 auto; min-width: 150px; } }

.m-stats { margin-bottom: 4px; }
.m-stat-n.is-txt { font-size: clamp(22px, 5.4vw, 30px); letter-spacing: -.03em; line-height: 1.1; padding-block: 4px; }
.m-bl-txt { margin-top: 14px; }
@media (max-width: 560px) { .m-stats { gap: 8px; } .m-stat { padding: 14px 12px; border-radius: 14px; gap: 6px; } .m-stat-n { font-size: clamp(22px, 6.6vw, 30px); } .m-stat-n.is-txt { font-size: clamp(17px, 4.9vw, 22px); } .m-stat-l { font-size: 12px; line-height: 1.4; } }
.m-stat { min-width: 0; } .m-stat-l { overflow-wrap: anywhere; hyphens: auto; } @media (max-width: 560px) { .m-stat-l { font-size: 11.5px; } }

/* Cards de números: no celular ficam um embaixo do outro, número à esquerda e texto à direita (nada cortado) */
@media (max-width: 560px) {
  .m-stats { grid-template-columns: 1fr; gap: 10px; }
  .m-stat { grid-template-columns: minmax(96px, 38%) 1fr; align-items: center; column-gap: 14px; padding: 14px 16px; }
  .m-stat-n, .m-stat-n.is-txt { font-size: clamp(24px, 7vw, 30px); }
  .m-stat-l { font-size: 13px; line-height: 1.4; hyphens: none; overflow-wrap: normal; }
}

/* Depoimentos: cada card se ajusta ao tamanho do próprio texto */
.dp-track { align-items: center; }
.dp { align-self: center; }
.dp blockquote { flex: none; }

/* ===== Ajustes de desktop (v121) ===== */
@media (min-width: 900px) {
  /* Quem está por trás: texto e foto alinhados pelo centro; texto mais largo */
  .about-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); column-gap: 72px; align-items: center; }
  .about-grid .about-head { align-self: end; }
  .about-copy { align-content: center; max-width: none; }
  .about-copy p { max-width: 62ch; }
  .portrait-card { position: static; max-width: 400px; width: 100%; justify-self: center; align-self: center; }
  .portrait img { aspect-ratio: 4 / 5; }

  /* Nossas frentes: texto + "Ver serviços" à esquerda; serviços em lista (um embaixo do outro) à direita */
  .services-grid { grid-auto-rows: 1fr; gap: 16px; }
  .card { grid-template-columns: auto minmax(0, 1fr) 270px; grid-template-areas: "ic main chips" "ic more chips"; column-gap: 32px; row-gap: 18px; align-items: center; padding: 28px 40px; }
  .card-side { display: contents; }
  .card-ic { grid-area: ic; align-self: center; }
  .card-main { grid-area: main; align-self: end; }
  .card-main p { max-width: 46ch; }
  .card-more { grid-area: more; align-self: start; justify-self: start; width: auto; min-height: 42px; padding-inline: 24px; font-size: 14px; }
  .chips { grid-area: chips; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; align-self: center; min-height: 0; }
  .chips li { padding: 5px 13px; font-size: 12.5px; line-height: 1.3; min-height: 0; display: block; text-align: left; white-space: nowrap; }

  /* Projetos: título e texto centralizados */
  #work .work-head { max-width: none; text-align: center; justify-items: center; }
  #work .work-head .h2 { max-width: none; }
  #work .work-head .lead { max-width: 640px; margin-inline: auto; }

  /* Vamos trabalhar juntos: título menor e mais respiro */
  .contact { padding-block: 120px 112px; }
  .contact h2 { font-size: clamp(40px, 4.8vw, 64px); max-width: none; line-height: 1.05; letter-spacing: -.035em; }
  .ct-lead { margin-top: 32px; max-width: 600px; }
  .ct-steps { margin-top: 56px; gap: 20px; max-width: 920px; }
  .ct-steps li { padding: 24px 26px; }
  .contact-cta { margin-top: 52px; gap: 16px; }
  .ct-note { margin-top: 24px; }
  .contact .proof { margin-top: 60px; }
}
@media (min-width: 900px) { .hero h1 { white-space: nowrap; } .hero h1 .h1-b { display: inline; } }

/* Como funciona: setas pequenas ao lado dos pontos (para quem usa mouse) */
.how-ctl { gap: 14px; }
.how-arrow { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 1px solid rgba(144,109,79,.55); background: transparent; color: var(--brown-text); cursor: pointer; transition: background-color .3s, color .3s, opacity .3s; }
.how-arrow .ic { width: 14px; height: 14px; }
.how-prev .ic { transform: scaleX(-1); }
.how-arrow:hover:not(:disabled) { background: var(--brown); color: #fff; }
.how-arrow:disabled { opacity: .3; cursor: default; }

/* ===== Ajustes (v122) ===== */
@media (min-width: 900px) {
  /* Quem está por trás: texto mais estreito (mais alto) e foto maior */
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 88px; }
  .about-copy { max-width: 470px; justify-self: end; }
  .portrait-card { max-width: 500px; justify-self: start; }
  .portrait img { aspect-ratio: 4 / 5; }

  /* Projetos: mais espaço entre título, subtítulo e cards */
  #work .work-head { gap: 22px; }
  #work .work-grid { margin-top: 72px; gap: 72px 44px; }
}
/* Passos do contato: destaque ao passar o mouse (ou tocar), no mesmo estilo dos outros cards */
.ct-steps li { transition: transform .45s var(--ease), border-color .3s, background-color .3s, box-shadow .45s var(--ease); cursor: default; }
.ct-steps li .ct-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); transition: background-color .3s, color .3s, transform .5s var(--ease); font-size: 13px; }
.ct-steps li:hover, .ct-steps li:focus-within, .ct-steps li:active { transform: translateY(-5px); border-color: rgba(144,109,79,.6); background: #1e1917; box-shadow: 0 24px 50px -26px rgba(0,0,0,.9), 0 0 0 1px rgba(144,109,79,.12); }
.ct-steps li:hover .ct-n, .ct-steps li:active .ct-n { background: var(--brown); color: #fff; transform: scale(1.06) rotate(-4deg); }
.ct-steps { gap: 14px; }
/* Chamada final: mais espaço antes dos botões e prova social centralizada */
.contact-cta { margin-top: 64px; }
.contact .proof-left { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.contact .proof { justify-content: center; }
@media (min-width: 900px) { .contact-cta { margin-top: 72px; } .ct-steps { margin-top: 60px; } .contact .proof { margin-top: 64px; } }
@media (min-width: 900px) { .about-copy { justify-self: start; } .portrait-card { justify-self: end; } }

/* ===== Ajustes (v123) ===== */
.dp-ctl { margin-top: 28px; }
.dps .how-ctl { position: relative; z-index: 2; }
.how-dot { cursor: pointer; border: 0; }
@media (min-width: 900px) {
  /* Títulos e subtítulos no mesmo tamanho do "Nosso time" (menos o da Hero) */
  .sec-head .h2, .work-head .h2, .dps .work-head .h2, .faq .work-head .h2, .contact h2, .team-head .h2 { font-size: 46px; line-height: 1.15; letter-spacing: -.03em; font-weight: 700; text-transform: none; }
  .sec-head .lead, .work-head .lead, .ct-lead, .team-head .lead { font-size: 16px; line-height: 1.65; max-width: 56ch; }
  .contact h2 { max-width: none; }
  .ct-lead { margin-top: 24px; }
  .sec-head { gap: 14px; }

  /* Quem está por trás: etiqueta junto do nome */
  .about-copy { gap: 16px; }
  .about-copy .eyebrow { margin: 0 0 2px; }

  /* Projetos: título e subtítulo mais afastados dos cards */
  #work .work-grid { margin-top: 96px; }

  /* Contato: mais respiro entre subtítulo, passos e botões */
  .ct-steps { margin-top: 80px; }
  .contact-cta { margin-top: 88px; }
  .contact .proof { width: min(640px, 100%); margin-inline: auto; margin-top: 80px; padding-top: 52px; border-top: 1px solid var(--line); }
}
/* Projetos: destaque na borda ao passar o mouse */
.proj-img::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; border: 1.5px solid transparent; pointer-events: none; transition: border-color .35s var(--ease); }
.proj-img { transition: box-shadow .45s var(--ease); }
.proj:hover .proj-img::before, .proj:focus-visible .proj-img::before { border-color: rgba(176,138,107,.9); }
.proj:hover .proj-img, .proj:focus-visible .proj-img { box-shadow: 0 22px 44px -26px rgba(0,0,0,.9), 0 0 0 1px rgba(144,109,79,.25); }

/* ===== Quem está por trás (v124) ===== */
.about-copy p.eyebrow { font-size: 13px; letter-spacing: .14em; color: var(--brown-text); line-height: 1.4; }
.about-copy p.about-role { font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.4; color: var(--muted); margin-top: 4px; }
.about-name { font-size: 22px; }
@media (min-width: 900px) { .about-name { font-size: 26px; } }

/* movimento: texto entra em sequência e a foto reage ao mouse */
.portrait { overflow: hidden; border-radius: 16px; }
.portrait img { transition: transform 1.1s var(--ease); transform: scale(1.07); }
.portrait-card.in .portrait img { transform: scale(1); }
.portrait-card { position: relative; transition: border-color .4s var(--ease), box-shadow .5s var(--ease), transform .6s var(--ease); }
.portrait-card:hover, .portrait-card:active { border-color: rgba(176,138,107,.9); box-shadow: 0 26px 50px -28px rgba(0,0,0,.9), 0 0 0 1px rgba(144,109,79,.3); transform: translateY(-4px); }
.portrait-card.in:hover .portrait img, .portrait-card.in:active .portrait img { transform: scale(1.06); }
.js .about-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .about-copy.in > * { opacity: 1; transform: none; }
.js .about-copy.in > *:nth-child(1) { transition-delay: .05s; }
.js .about-copy.in > *:nth-child(2) { transition-delay: .18s; }
.js .about-copy.in > *:nth-child(3) { transition-delay: .31s; }
.js .about-copy.in > *:nth-child(4) { transition-delay: .44s; }
.js .about-copy.in > *:nth-child(5) { transition-delay: .57s; }
.js .about-copy.in > *:nth-child(6) { transition-delay: .7s; }
@media (prefers-reduced-motion: reduce) {
  .js .about-copy > * { opacity: 1; transform: none; }
  .portrait img { transform: none; }
}

/* ===== Padrão de títulos e subtítulos (v124): igual ao "Nosso time", no celular e no desktop ===== */
.sec-head .h2, .work-head .h2, #work .h2, .faq .h2, .how .h2, #services .h2, .team-head .h2, .contact h2 {
  font-size: clamp(27px, 6.4vw, 46px); line-height: 1.15; letter-spacing: -.03em; font-weight: 700;
}
.sec-head .lead, .work-head .lead, #work .lead, .how .lead, #services .lead, .team-head .lead, .ct-lead, .contact .lead {
  font-size: 16px; line-height: 1.65;
}
#work .work-head, #work .work-head > * { text-align: center; margin-left: auto; margin-right: auto; }
#work .work-head { display: grid; justify-items: center; gap: 16px; }
#work .work-head .lead { max-width: 56ch; }

/* Quem está por trás: foto e texto alinhados (topo e base) no desktop */
@media (min-width: 900px) {
  .about-grid { align-items: stretch; }
  .about-copy { align-content: space-between; align-self: stretch; }
  .portrait-card { position: relative; top: auto; align-self: stretch; display: flex; max-width: 460px; width: 100%; }
  .portrait { flex: 1; min-height: 440px; position: relative; }
  .portrait img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 12%; }
}

/* ===== Quem está por trás: foto um pouco mais comprida, texto centralizado ===== */
@media (min-width: 900px) {
  .about-grid { align-items: stretch; }
  .about-copy { align-content: center; }
  .portrait { min-height: 560px; }
}

/* ===== Hero com movimento (v127) ===== */
@keyframes heroIn { from { transform: scale(1.16); opacity: .35; } to { transform: scale(1.04); opacity: 1; } }
@keyframes heroBreath { from { transform: scale(1.04); } to { transform: scale(1.09) translate3d(0, -1.2%, 0); } }
.js .hero-bg { transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform .9s var(--ease); }
.js .hero-bg img { animation: heroIn 2.4s var(--ease) both, heroBreath 22s ease-in-out 2.4s infinite alternate; transform-origin: 50% 30%; }
@keyframes blurIn { from { opacity: 0; filter: blur(14px); transform: translateY(26px); letter-spacing: .05em; } to { opacity: 1; filter: blur(0); transform: none; letter-spacing: -.035em; } }
.js .hero h1.rise { opacity: 1; animation: none; }
.js .hero h1 .h1-a, .js .hero h1 .h1-b { display: inline-block; opacity: 0; animation: blurIn 1.3s var(--ease) forwards; }
.js .hero h1 .h1-a { animation-delay: .25s; }
.js .hero h1 .h1-b { animation-delay: .6s; }
@keyframes shine { 0% { background-position: 130% 0; } 100% { background-position: -130% 0; } }
.js .hero h1 .h1-b {
  background: linear-gradient(100deg, #fff 35%, #e2c4a6 50%, #fff 65%); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none;
  animation: blurIn 1.3s var(--ease) .6s forwards, shine 6s ease-in-out 2.2s infinite;
}
@keyframes btnPulse { 0% { box-shadow: 0 0 0 0 rgba(176,138,107,.5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(176,138,107,0); } }
.js .hero-main .btn { animation: rise 1s var(--ease) .45s forwards, btnPulse 2.8s ease-out 2s infinite; }
@media (prefers-reduced-motion: reduce) {
  .js .hero-bg img, .js .hero h1 .h1-a, .js .hero h1 .h1-b, .js .hero-main .btn { animation: none; opacity: 1; transform: none; }
  .js .hero h1 .h1-b { -webkit-text-fill-color: #fff; background: none; }
}

/* ===== Hero v128: foto aparece suavemente (sem mexer com o mouse); nome com transição na cor marrom ===== */
@keyframes heroReveal { from { opacity: 0; filter: blur(10px) brightness(.6); transform: scale(1.06); } to { opacity: 1; filter: none; transform: scale(1); } }
.js .hero-bg { transform: none !important; transition: none; }
.js .hero-bg img { animation: heroReveal 2.2s var(--ease) both; transform-origin: 50% 30%; }
@keyframes nameWash { from { background-position: 100% 0; } to { background-position: 0 0; } }
.js .hero h1 .h1-a, .js .hero h1 .h1-b {
  background: linear-gradient(100deg, #fff 0%, #fff 38%, #e7cdb3 50%, #906D4F 60%, #906D4F 100%); background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none;
  filter: drop-shadow(0 2px 18px rgba(0,0,0,.45));
}
.js .hero h1 .h1-a { animation: blurIn 1.3s var(--ease) .3s forwards, nameWash 2.4s cubic-bezier(.6,.05,.25,1) 1s forwards; }
.js .hero h1 .h1-b { animation: blurIn 1.3s var(--ease) .7s forwards, nameWash 2.4s cubic-bezier(.6,.05,.25,1) 1.4s forwards; }
@media (prefers-reduced-motion: reduce) {
  .js .hero h1 .h1-a, .js .hero h1 .h1-b { background: none; -webkit-text-fill-color: #fff; animation: none; opacity: 1; }
  .js .hero-bg img { animation: none; }
}

/* ===== Hero v129: coreografia premium (foto surge → marrom passa → nome → resto) ===== */
@keyframes heroReveal { from { opacity: 0; filter: blur(14px) brightness(.5); transform: scale(1.08); } to { opacity: 1; filter: none; transform: scale(1); } }
.js .hero-bg img { animation: heroReveal 3s cubic-bezier(.22,.8,.24,1) both; }
@keyframes brownSweep { from { background-position: 120% 0; opacity: 1; } 80% { opacity: 1; } to { background-position: -60% 0; opacity: 0; } }
.js .hero-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(144,109,79,.55) 50%, transparent 65%); background-size: 300% 100%; background-position: 120% 0; opacity: 0;
  mix-blend-mode: soft-light; animation: brownSweep 3.2s cubic-bezier(.45,.05,.2,1) 1.1s both; }
/* "g" e outras letras com cauda não podem ser cortadas */
.js .hero h1 .h1-a, .js .hero h1 .h1-b { padding: .04em .06em .2em; margin: -.04em -.06em -.2em; }
@keyframes blurIn { from { opacity: 0; filter: blur(16px); transform: translateY(30px); letter-spacing: .04em; } to { opacity: 1; filter: blur(0); transform: none; letter-spacing: -.035em; } }
.js .hero h1 .h1-a { animation: blurIn 1.8s cubic-bezier(.22,.8,.24,1) 1.4s forwards, nameWash 3s cubic-bezier(.5,.05,.2,1) 1.9s forwards; }
.js .hero h1 .h1-b { animation: blurIn 1.8s cubic-bezier(.22,.8,.24,1) 1.85s forwards, nameWash 3s cubic-bezier(.5,.05,.2,1) 2.4s forwards; }
.js .hero-text.rise, .js .hero-note.rise { animation-duration: 1.6s; animation-delay: 2.7s; }
.js .hero-main .btn { animation: rise 1.4s var(--ease) 3.1s forwards, btnPulse 2.8s ease-out 5s infinite; }
@media (prefers-reduced-motion: reduce) { .js .hero-bg::before { display: none; } .js .hero h1 .h1-a, .js .hero h1 .h1-b { padding: 0; margin: 0; } }

/* ===== Assinatura "escrita à mão" (v129) ===== */
@keyframes signWrite { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; filter: drop-shadow(0 0 10px rgba(176,138,107,.55)); } 85% { filter: drop-shadow(0 0 10px rgba(176,138,107,.35)); } to { -webkit-mask-position: 0 0; mask-position: 0 0; filter: drop-shadow(0 0 0 rgba(176,138,107,0)); } }
@keyframes signLine { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
.js .about-copy .about-sign { -webkit-mask-image: linear-gradient(90deg, #000 42%, transparent 58%); mask-image: linear-gradient(90deg, #000 42%, transparent 58%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 100% 0; mask-position: 100% 0; padding-bottom: 14px; }
.js .about-copy.in .about-sign { animation: signWrite 3.2s cubic-bezier(.55,.05,.3,1) 1.2s forwards; }
.js .about-sign::after { transform: scaleX(0); transform-origin: left; opacity: 0; }
.js .about-copy.in .about-sign::after { animation: signLine 1.1s cubic-bezier(.22,.8,.24,1) 3.9s forwards; }
@media (prefers-reduced-motion: reduce) { .js .about-copy .about-sign { -webkit-mask-image: none; mask-image: none; } .js .about-sign::after { transform: none; opacity: 1; } }

/* ===== v131: nome entra junto e suave; assinatura um pouco mais abaixo ===== */
@keyframes blurIn { from { opacity: 0; filter: blur(8px); transform: translateY(18px); letter-spacing: -.02em; } to { opacity: 1; filter: blur(0); transform: none; letter-spacing: -.035em; } }
.js .hero h1 .h1-a, .js .hero h1 .h1-b { animation: blurIn 2.2s cubic-bezier(.25,.7,.2,1) 1.4s forwards, nameWash 3.2s cubic-bezier(.4,.05,.2,1) 1.8s forwards; }
.js .hero-text.rise, .js .hero-note.rise { animation-delay: 2.6s; }
.js .hero-main .btn { animation: rise 1.4s var(--ease) 3s forwards, btnPulse 2.8s ease-out 5s infinite; }
.about-copy .about-sign { margin-top: 30px; }

/* v132: assinatura sem corte (a letra cursiva tem floreios que passam da caixa do texto) */
.js .about-copy .about-sign { padding: 22px 56px 30px 28px; margin: 8px -56px -30px -28px; line-height: 1.3; width: fit-content; overflow: visible; }
.about-copy .about-sign { margin-top: 20px; }
.about-sign::after { width: calc(100% - 84px); margin: 4px 0 0 28px; }
.about-sign::after { width: 100%; margin: 4px 0 0 0; }

/* v133 celular: a foto cobre a Hero inteira (sem emenda cortando o botão) */
@media (max-width: 899px) {
  .hero-bg { height: 100%; min-height: 0; bottom: 0; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(20,17,17,.35) 0%, rgba(20,17,17,0) 18%, rgba(20,17,17,.15) 42%, rgba(20,17,17,.78) 66%, #141111 88%, #141111 100%); }
  .hero-bg img { object-position: 47% 8%; height: 80%; }
  .hero-bg { background: var(--bg); }
}
@media (max-width: 899px) {
  .contact h2 { white-space: nowrap; font-size: min(27px, 5.7vw); text-align: center; }
  .contact .proof { width: min(640px, 100%); margin-inline: auto; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
}
@media (max-width: 899px) { .contact h2 { width: 100%; max-width: none; } }

/* ===== v134: frentes em faixa delicada colada na capa ===== */
.proj-cover { position: relative; overflow: hidden; border-radius: var(--radius); margin-bottom: 12px; background: #181413; transition: box-shadow .45s var(--ease); }
.proj-cover .proj-img { margin: 0; border-radius: 0; box-shadow: none !important; }
.proj-cover .proj-img::before { display: none; }
.proj-cover::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; border: 1.5px solid transparent; pointer-events: none; transition: border-color .35s var(--ease); }
.proj:hover .proj-cover::before, .proj:focus-visible .proj-cover::before { border-color: rgba(176,138,107,.9); }
.proj:hover .proj-cover, .proj:focus-visible .proj-cover { box-shadow: 0 22px 44px -26px rgba(0,0,0,.9), 0 0 0 1px rgba(144,109,79,.25); }
.proj-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 8px; padding: 9px 12px; border-top: 1px solid rgba(144,109,79,.28); background: #181413;
  font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brown-text); line-height: 1.5; text-align: center; }
.proj-strip span + span::before { content: "·"; margin-right: 8px; opacity: .7; }

/* v135: faixa das frentes mais leve; etiqueta "PROJETOS" igual às demais seções */
.proj-strip { padding: 7px 12px; font-size: 9px; font-weight: 500; letter-spacing: .18em; gap: 0 7px; color: rgba(176,138,107,.85); border-top: 1px solid rgba(144,109,79,.16); background: #161212; }
.proj-strip span + span::before { margin-right: 7px; opacity: .45; }
#work .work-head .eyebrow { margin: 0; }

/* ===== v136: assinatura normal (sem animação); texto do "Quem está por trás" aparece aos poucos ===== */
.js .about-copy .about-sign { -webkit-mask-image: none !important; mask-image: none !important; animation: none !important; filter: none !important; }
.js .about-sign::after, .js .about-copy.in .about-sign::after { transform: none; opacity: 1; animation: none; }
.js .about-copy > * { opacity: 0; transform: translateY(14px); filter: blur(5px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.js .about-copy.in > * { opacity: 1; transform: none; filter: none; }
.js .about-copy.in > *:nth-child(1) { transition-delay: .05s; }
.js .about-copy.in > *:nth-child(2) { transition-delay: .2s; }
.js .about-copy.in > *:nth-child(3) { transition-delay: .4s; }
.js .about-copy.in > *:nth-child(4) { transition-delay: .6s; }
.js .about-copy.in > *:nth-child(5) { transition-delay: .8s; }
@media (prefers-reduced-motion: reduce) { .js .about-copy > * { opacity: 1; transform: none; filter: none; } }

/* ===== v137: filtro de projetos ===== */
.pf { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 4px; margin-top: 40px; }
.pf-b { appearance: none; border: 0; background: transparent; cursor: pointer; font: inherit; font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--dim); padding: 9px 18px; border-radius: 999px; transition: color .3s var(--ease), background .3s var(--ease); }
.pf-b:hover { color: #fff; }
.pf-b.on { color: #fff; background: rgba(144,109,79,.22); box-shadow: inset 0 0 0 1px rgba(144,109,79,.5); }
.pf-b:focus-visible { outline: 2px solid var(--brown-text); outline-offset: 2px; }
#work .work-grid { margin-top: 48px; }
@keyframes pfIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.proj.pf-anim { animation: pfIn .6s var(--ease) both; }
.proj-strip span { transition: color .3s, opacity .3s; }
.proj-strip span.act { color: #d9b99a; }
.proj-strip span.dim { opacity: .35; }
#work .work-head .eyebrow { font-size: 13px; }
@media (max-width: 899px) { .pf { margin-top: 28px; } #work .work-grid { margin-top: 36px; } }

/* ===== v138: Projetos alinhado à esquerda, abas de texto, cards limpos ===== */
.proj-strip { display: none !important; }
.proj-cover { margin-bottom: 14px; }
#work .work-top { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
#work .work-head, #work .work-head > * { text-align: left; margin-left: 0; margin-right: 0; }
#work .work-head { display: grid; justify-items: start; gap: 12px; }
#work .work-head .lead { max-width: 46ch; }
#work .pf { margin: 0; justify-content: flex-start; gap: 2px 6px; margin-left: -14px; }
.pf-b { background: transparent !important; box-shadow: none !important; color: rgba(168,160,154,.55); padding: 8px 14px; font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.pf-b:hover { color: rgba(255,255,255,.85); }
.pf-b.on { color: #fff; }
#work .work-grid { margin-top: 44px; }
@media (min-width: 900px) {
  #work .work-top { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
  #work .pf { margin: 0 -14px 4px 0; justify-content: flex-end; }
  #work .work-grid { margin-top: 56px; }
}
@media (max-width: 560px) { #work .pf { flex-wrap: nowrap; gap: 0; margin-left: -10px; } .pf-b { padding: 8px 10px; font-size: 13px; white-space: nowrap; } }

/* ===== v139: assinatura menor e sem risco; foto mais próxima no celular ===== */
.about-copy .about-sign, .js .about-copy .about-sign { font-size: 40px; padding: 14px 40px 18px 20px; margin: 4px -40px -18px -20px; }
.about-sign::after, .js .about-sign::after { display: none !important; }
@media (min-width: 900px) { .about-copy .about-sign, .js .about-copy .about-sign { font-size: 42px; } }
@media (max-width: 899px) {
  .about-grid { row-gap: 8px; }
  .about-copy { padding-bottom: 0; }
  .about-copy .about-sign, .js .about-copy .about-sign { margin-bottom: -10px; }
}

/* ===== v148 — mockup de computador com abas de páginas ===== */
.m-site { display: grid; gap: 14px; }
.st-tabs { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.st-tab { appearance: none; border: 0; background: none; padding: 6px 0; font: inherit; font-size: 13.5px; font-weight: 500; letter-spacing: .01em; color: rgba(168,160,154,.55); cursor: pointer; transition: color .25s; }
.st-tab:hover { color: rgba(255,255,255,.85); }
.st-tab.on { color: #fff; }
.m-site .m-device.dev-computador { max-width: 100%; border-radius: 14px; }
.m-site .m-device-hint { margin-top: 0; }
.m-site .m-device.dev-scroll .dev-screen { max-height: 460px; }
@media (min-width: 720px) { .m-site .m-device.dev-scroll .dev-screen { max-height: 520px; } }


/* v154: botão "Ver projeto" visível em todo card (igual ao de Serviços) */
.proj-more { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 44px; margin-top: 12px; border-radius: 12px; border: 1px solid rgba(144,109,79,.55); font-size: 14.5px; font-weight: 600; color: var(--brown-text); transition: color .3s, background-color .3s, border-color .3s; }
.proj-more .ic { font-size: 16px; transition: transform .45s var(--ease); }
.proj:hover .proj-more, .proj:focus-visible .proj-more, .proj:active .proj-more { background: var(--brown); border-color: var(--brown); color: #fff; }
.proj:hover .proj-more .ic, .proj:focus-visible .proj-more .ic { transform: rotate(90deg); }
.proj { transition: transform .45s var(--ease); }
.proj:hover, .proj:focus-visible { transform: translateY(-4px); }
@media (hover: none) { .proj:hover { transform: none; } }


/* v155: mockup do celular menor e sem prender a rolagem da página */
.m-device.dev-celular { max-width: 210px; }
.m-device.dev-scroll .dev-screen { overscroll-behavior: auto; }
@media (max-width: 719px), (hover: none) {
  .m-device.dev-celular { max-width: 190px; }
  .m-device.dev-celular.dev-scroll .dev-screen { overflow: hidden; max-height: 400px; }
  .m-site .m-device.dev-scroll .dev-screen { max-height: 340px; }
}

@media (max-width: 719px), (hover: none) { .m-device.dev-celular + .m-device-hint .hint-d { display: none; } }


/* v157: frentes do cliente chamam a atenção (pulsa até a pessoa tocar) */
.m-tabs-hint { margin: 18px 28px -10px; font-size: 13px; color: var(--dim); }
@media (min-width: 720px) { .m-tabs-hint { margin-inline: 40px; } }
.m-tab.new { position: relative; border-color: rgba(176,138,107,.7); color: #fff; animation: tabPulse 1.8s ease-in-out infinite; }
.m-tab.new::after { content: ""; width: 7px; height: 7px; margin-left: 9px; border-radius: 50%; background: var(--brown-text, #b08a6b); animation: tabDot 1.8s ease-in-out infinite; }
@keyframes tabPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(176,138,107,0); } 50% { box-shadow: 0 0 0 6px rgba(176,138,107,.28); } }
@keyframes tabDot { 0%, 100% { opacity: .4; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .m-tab.new, .m-tab.new::after { animation: none; } }


/* v159: cards de projetos menores e retangulares: logo no topo; nicho e nome embaixo; "Ver projeto" ao lado */
#work .work-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; margin-top: 36px; }
@media (min-width: 720px) { #work .work-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; } }
@media (min-width: 1100px) { #work .work-grid.cols-3 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 26px; } }
.proj-img { aspect-ratio: 16 / 10; }
.proj-cover { margin-bottom: 10px; border-radius: 14px; }
.proj-foot { display: grid; gap: 8px; align-items: center; }
@media (min-width: 720px) { .proj-foot { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; } }
.proj-txt { min-width: 0; display: grid; gap: 2px; }
.proj-txt .proj-cat { order: 0; margin: 0; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brown-text); }
.proj-txt h3 { margin: 0; font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.proj-more { width: auto; min-height: 32px; margin-top: 0; padding: 0 13px; border-radius: 999px; font-size: 12px; gap: 7px; justify-content: center; white-space: nowrap; border-color: rgba(144,109,79,.5); }
.proj-more .ic { font-size: 13px; }
@media (max-width: 719px) { .proj-more { width: 100%; } }

/* v159b: alinhamento no topo e nicho em uma linha */
.proj-foot { align-items: start; }
.proj-txt .proj-cat { font-size: 9.5px; letter-spacing: .1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 720px) { .proj-more { margin-top: 1px; } }


/* v160: um projeto por linha: foto retangular ao lado; nome, nicho e chamada pulsando */
#work .work-grid.cols-3 { grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 960px; margin-top: 32px; }
#work .proj { display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); align-items: center; gap: 22px; padding: 12px; border: 1px solid var(--line, rgba(255,255,255,.09)); border-radius: 18px; background: rgba(255,255,255,.02); transition: border-color .35s, background-color .35s, transform .45s var(--ease); }
#work .proj:hover, #work .proj:focus-visible { border-color: rgba(144,109,79,.55); background: rgba(144,109,79,.06); transform: translateY(-2px); }
#work .proj-cover { margin: 0; border-radius: 12px; }
#work .proj-img { aspect-ratio: 16 / 10; }
#work .proj-foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; padding-right: 8px; }
#work .proj-txt { gap: 6px; }
#work .proj-txt .proj-cat { order: 2; font-size: 12px; letter-spacing: .12em; white-space: normal; overflow: visible; }
#work .proj-txt h3 { order: 1; font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
#work .proj-txt { display: flex; flex-direction: column; }
#work .proj-more { width: auto; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none !important; justify-content: flex-start; gap: 9px; font-size: 14px; font-weight: 600; color: var(--brown-text); }
#work .proj-more::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brown-text, #b08a6b); animation: projDot 1.8s ease-in-out infinite; }
#work .proj-more .ic { font-size: 15px; transition: transform .4s var(--ease); transform: none !important; animation: projArrow 1.8s ease-in-out infinite; }
#work .proj:hover .proj-more { color: #fff; }
@keyframes projDot { 0%, 100% { opacity: .35; transform: scale(.8); box-shadow: 0 0 0 0 rgba(176,138,107,0); } 50% { opacity: 1; transform: scale(1.1); box-shadow: 0 0 0 6px rgba(176,138,107,.22); } }
@keyframes projArrow { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@media (max-width: 719px) {
  #work .proj { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 14px; padding: 10px; border-radius: 16px; }
  #work .proj-txt h3 { font-size: 16px; }
  #work .proj-txt .proj-cat { font-size: 10.5px; letter-spacing: .1em; }
  #work .proj-foot { gap: 10px; padding-right: 2px; }
  #work .proj-more { font-size: 12.5px; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) { #work .proj-more::before, #work .proj-more .ic { animation: none; } }


/* v161: filtros abaixo do texto, com um convite discreto em texto */
#work .work-top { flex-direction: column !important; align-items: flex-start !important; justify-content: flex-start !important; gap: 30px !important; }
#work .pf { margin: 0 0 0 -14px !important; justify-content: flex-start !important; align-items: center; }
.pf-label { font-size: 13px; letter-spacing: .02em; color: var(--brown-text, #b08a6b); padding: 0 6px 0 14px; animation: pfLabel 2.6s ease-in-out infinite; }
.pf-b { color: rgba(168,160,154,.8) !important; }
.pf-b.on { color: #fff !important; text-decoration: underline; text-decoration-color: rgba(176,138,107,.8); text-underline-offset: 7px; text-decoration-thickness: 1px; }
@keyframes pfLabel { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (max-width: 560px) { .pf-label { display: none; } }
@media (prefers-reduced-motion: reduce) { .pf-label { animation: none; } }


/* v162: nicho menor, em zinco e mais opaco (sem o marrom) */
#work .proj-txt .proj-cat { font-size: 10.5px; letter-spacing: .1em; color: rgba(161,161,170,.6); }
@media (max-width: 719px) { #work .proj-txt .proj-cat { font-size: 9.5px; letter-spacing: .08em; } }
.m-cat { color: rgba(161,161,170,.65) !important; font-size: 11px; letter-spacing: .12em; }


/* v164: "Ver serviços" pulsa de leve, como "Ver este projeto" */
.card-more { gap: 9px; animation: cardPulse 2.4s ease-in-out infinite; }
.card-more::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brown-text, #b08a6b); animation: projDot 1.8s ease-in-out infinite; }
.card:hover .card-more, .card:focus-visible .card-more { animation: none; }
.card:hover .card-more::before { background: #fff; animation: none; }
@keyframes cardPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(176,138,107,0); } 50% { box-shadow: 0 0 0 5px rgba(176,138,107,.16); } }
@media (prefers-reduced-motion: reduce) { .card-more, .card-more::before { animation: none; } }

/* v172: depoimentos — a altura da seção acompanha o card ativo (muda suave ao passar para o lado) */
.dp-track { align-items: flex-start; overflow-y: hidden; transition: height .45s var(--ease); }

/* v173: depoimentos longos — 4 linhas + "Ver mais" */
.dp blockquote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; flex: none; }
.dp.open blockquote { -webkit-line-clamp: unset; line-clamp: unset; display: block; overflow: visible; }
.dp-more { align-self: flex-start; margin-top: -6px; padding: 2px 0; background: none; border: 0; border-bottom: 1px solid rgba(144,109,79,.7); color: var(--brown-text); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.dp-more:hover { color: #fff; }
.dp-more[hidden] { display: none; }

/* v174: depoimentos — altura fixa (o "Ver mais" cuida dos textos longos); cards do mesmo tamanho */
.dp-track { align-items: stretch; transition: none; }
.dp blockquote { flex: 1 1 auto; }
.dp-more { margin-top: 0; }
