/* =========================================================
   LEGADO — estrutura modelada no site da Stalse,
   com a identidade da Legado (vermelho, creme, marrom).
   ========================================================= */

:root {
  --brand: #C42828;          /* vermelho Legado (no lugar do laranja da Stalse) */
  --brand-hover: #A81F1F;
  --brand-soft: #FCEFEE;     /* fundo das caixas de métrica */
  --brand-mid: #E8A3A3;
  --ink: #1A1212;            /* texto principal */
  --ink-2: #3B3231;
  --muted: #6E6563;          /* texto secundário */
  --line: #E7E1DE;
  --surface: #F8F6F5;        /* faixas de fundo claras */
  --card: #F3F0EE;           /* cards de serviço */
  --white: #fff;
  --footer: #1F1919;
  --radius: 12px;
  --container: 1152px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 944px; }
.section { padding: 112px 0; }

/* ---------- Tipografia de seção ---------- */
.eyebrow {
  color: var(--brand);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow--lg { font-size: 22px; letter-spacing: .25em; margin-bottom: 20px; }
.eyebrow--sm { font-size: 12px; letter-spacing: .2em; margin-bottom: 14px; }

.h2 { font-weight: 700; letter-spacing: -.025em; color: var(--ink); line-height: 1.08; }
.h2--sm { font-size: 30px; font-weight: 600; line-height: 1.2; }
.h2--md { font-size: 36px; line-height: 1.12; }
.h2--lg { font-size: 44px; }
.h2--xl { font-size: 52px; line-height: 1.02; }

.lead { color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
.lead + .lead { margin-top: 14px; }

.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head--center .lead { color: var(--muted); margin-top: 22px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 44px; padding: 0 30px;
  font-size: 14.5px; font-weight: 700; letter-spacing: .01em; text-transform: uppercase;
  border-radius: 4px; border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn .i { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover .i { transform: translateX(3px); }
.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--brand-hover); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: var(--white); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.25); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.btn--ghost:hover .i { transform: none; }
.btn--lg { height: 48px; padding: 0 24px; }
.btn--sm { height: 40px; padding: 0 24px; border-radius: 999px; text-transform: none; font-size: 13.5px; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.link-arrow .i { color: var(--brand); transition: transform .2s; }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(26,18,18,.05); }
.header__inner { max-width: 1280px; margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; flex-direction: column; line-height: 1; color: var(--ink); }
.logo__word { font-family: var(--serif); font-weight: 500; font-size: 34px; letter-spacing: .32em; margin-right: -.32em; }
.logo__tag { font-size: 10.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; margin-top: 8px; color: var(--ink-2); }
.logo__tag::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-right: 8px; vertical-align: 1px; }
.logo--light { color: var(--white); }
.logo--light .logo__tag { color: rgba(255,255,255,.75); }

.nav { display: flex; align-items: center; gap: 4px; background: #EFEDEC; padding: 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.02); }
.nav__link { padding: 9px 20px; border-radius: 999px; font-size: 15.5px; color: var(--ink); transition: background .2s, color .2s; }
.nav__link:hover { background: rgba(255,255,255,.8); }
.nav__link.is-active { background: var(--brand); color: var(--white); font-weight: 600; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); }
.nav-toggle .i { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 700px;
  display: flex; align-items: center;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160' fill='none' stroke='%23EBE7E5' stroke-width='13'%3E%3Cpath d='M50 0A50 50 0 0 1 0 50M110 0A110 110 0 0 1 0 110M160 110A50 50 0 0 0 110 160M160 50A110 110 0 0 0 50 160'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  overflow: hidden;
}
.hero::after { /* leve véu para dar leitura ao texto, como na Stalse */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; width: 100%; max-width: 1280px; margin: 0 auto; padding: 80px 24px; }
.hero__lead { font-size: 36px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.hero__title {
  display: flex; align-items: center;
  min-height: 1.3em;
  font-size: 96px; font-weight: 700; letter-spacing: -.045em; line-height: 1.3;
  margin: 8px 0 44px;
}
.typed {
  background: linear-gradient(90deg, var(--brand) 0%, #7A1E22 45%, var(--ink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.caret { display: inline-block; width: 6px; height: .78em; margin-left: 6px; background: var(--brand); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Clientes (marquee) ---------- */
.clients { background: var(--surface); padding: 64px 0 80px; overflow: hidden; }
.clients__title { text-align: center; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 44px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 88px; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track img { height: 52px; width: 150px; object-fit: contain; filter: grayscale(1) contrast(.9); opacity: .6; transition: filter .3s, opacity .3s; }
.marquee__track img:hover { filter: none; opacity: 1; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 44px)); } }

/* ---------- Serviços ---------- */
.services { padding-top: 120px; padding-bottom: 96px; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 36px; max-width: 1228px; margin: 0 auto; }
.service {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 32px 34px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  box-shadow: 0 1px 2px rgba(26,18,18,.04);
  transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(26,18,18,.08); }
.service__icon { width: 46px; height: 46px; border-radius: 6px; background: var(--white); color: var(--brand); display: grid; place-items: center; margin-bottom: 22px; }
.service__icon .i { width: 26px; height: 26px; stroke-width: 1.8; }
.service h3 { font-size: 20px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 16px; line-height: 1.5; margin-bottom: 26px; }
.service .link-arrow { margin-top: auto; }

/* ---------- Números ---------- */
.numbers__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.numbers__text .h2 { margin-bottom: 30px; }
.numbers__text .lead { margin-bottom: 28px; max-width: 500px; }
.numbers__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 36px; padding-top: 8px; }
.stat { border-left: 4px solid var(--brand); padding-left: 16px; }
.stat strong { display: block; font-size: 50px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.stat span { display: block; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; max-width: 230px; }

/* ---------- Time dedicado ---------- */
.squad { padding-top: 40px; }
.squad__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
.squad__text .h2 { margin-bottom: 28px; max-width: 600px; }
.squad__text .lead { margin-bottom: 26px; max-width: 580px; }
.checklist { display: flex; flex-direction: column; gap: 14px; margin-bottom: 34px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.checklist b { color: var(--ink); font-weight: 600; }
.checklist .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); stroke-width: 3; margin-top: 1px; }

.squad-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 24px 60px rgba(26,18,18,.10); position: relative; }
.squad-card::before { content: ""; position: absolute; inset: -18px -18px auto auto; width: 120px; height: 120px; border-radius: 50%; background: var(--brand); z-index: -1; }
.squad-card::after { content: ""; position: absolute; inset: auto auto -22px -22px; width: 84px; height: 84px; border-radius: 50%; background: var(--brand-mid); z-index: -1; opacity: .7; }
.squad-card__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.squad-card__head small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-bottom: 4px; }
.squad-card__head strong { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.squad-card__badge { font-size: 12.5px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; }
.squad-card__list li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.squad-card__list li:last-child { border-bottom: 0; }
.squad-card__icon { width: 42px; height: 42px; border-radius: 10px; background: var(--card); color: var(--brand); display: grid; place-items: center; flex-shrink: 0; }
.squad-card__icon .i { width: 20px; height: 20px; }
.squad-card__list div b { display: block; font-size: 15.5px; font-weight: 600; }
.squad-card__list div span { display: block; font-size: 13.5px; color: var(--muted); }
.squad-card__foot { margin-top: 10px; padding: 12px 16px; border-radius: 10px; background: var(--surface); font-size: 13px; font-weight: 500; color: var(--ink-2); text-align: center; }

/* ---------- Cases ---------- */
.cases { background: var(--surface); }
.cases__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.cases__head .h2 { margin-bottom: 18px; }
.cases__head .lead { max-width: 660px; }
.carousel-ctrl { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.carousel-ctrl__count { font-size: 14px; color: var(--muted); margin-right: 20px; font-variant-numeric: tabular-nums; }
.carousel-ctrl__count b { font-weight: 600; color: var(--ink-2); }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: #ECE8E6; color: var(--ink); display: grid; place-items: center; transition: background .2s, transform .2s; }
.round-btn:hover { background: #E0DAD7; }
.round-btn--brand { background: var(--brand); color: var(--white); }
.round-btn--brand:hover { background: var(--brand-hover); }
.round-btn .i { width: 20px; height: 20px; }

.carousel { overflow: hidden; border-radius: 22px; }
.carousel__track { display: flex; transition: transform .55s cubic-bezier(.22,.8,.24,1); }
.case {
  flex: 0 0 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 32px 32px;
}
.case__tag { color: var(--brand); font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.case__title { font-size: 30px; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.case__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.case__box { background: var(--surface); border-radius: 14px; padding: 22px 16px; }
.case__box h4 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.case__box p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.case__metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric { background: var(--brand-soft); border-radius: 12px; padding: 16px 16px 18px; }
.metric strong { display: block; color: var(--brand); font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 8px; }
.metric span { display: block; font-size: 14px; line-height: 1.45; color: var(--ink); }

.dots { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: #D4CCC9; transition: width .3s, background .3s; }
.dots button[aria-selected="true"] { width: 32px; background: var(--brand); }

/* ---------- Sobre ---------- */
.about__inner { display: grid; grid-template-columns: 520px 1fr; gap: 76px; align-items: center; max-width: 1188px; }
.about__media { border-radius: 22px; overflow: hidden; background: var(--ink); aspect-ratio: 520 / 600; box-shadow: 0 24px 50px rgba(26,18,18,.14); }
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.about__text .h2 { margin-bottom: 32px; }
.about__text .lead { color: var(--ink-2); font-size: 16.5px; }
.about__text .btn { margin-top: 32px; }

/* ---------- Cards "Por dentro dos projetos" ---------- */
.posts { padding-top: 40px; }
.posts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.post { background: var(--white); border: 1px solid #EFEBE9; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(26,18,18,.04); transition: transform .25s, box-shadow .25s; }
.post:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(26,18,18,.09); }
.post__img { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--card); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .post__img img { transform: scale(1.04); }
.post__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post h3 { font-size: 18.5px; font-weight: 700; line-height: 1.4; margin-bottom: 14px; }
.post p { color: var(--ink-2); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.post__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.post__more .i { width: 16px; height: 16px; transition: transform .2s; }
.post__more:hover .i { transform: translateX(4px); }

/* ---------- FAQ ---------- */
.faq { padding-top: 80px; }
.faq__list { display: flex; flex-direction: column; gap: 16px; }
.faq__item { border: 1px solid var(--line); border-radius: 10px; background: var(--white); transition: border-color .2s; }
.faq__item[open] { border-color: #DCD3CF; }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 24px; font-weight: 600; font-size: 16px; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .i { transition: transform .25s; color: var(--ink-2); }
.faq__item[open] summary .i { transform: rotate(180deg); }
.faq__item p { padding: 0 24px 18px; color: var(--ink-2); font-size: 16.5px; line-height: 1.5; margin-top: -2px; }

/* ---------- Formulário ---------- */
.contact {
  position: relative;
  background-color: var(--surface);
  background-image:
    radial-gradient(ellipse at 100% 60%, rgba(196,40,40,.10), transparent 55%),
    linear-gradient(rgba(26,18,18,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,18,18,.035) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}
.contact__inner { display: grid; grid-template-columns: 1fr 460px; gap: 96px; align-items: center; }
.contact__text .h2 { margin-bottom: 34px; max-width: 520px; }
.contact__text .lead { max-width: 500px; font-size: 17px; line-height: 1.6; }
.form { display: flex; flex-direction: column; gap: 18px; }
.field span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.field em { color: var(--brand); font-style: normal; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: #F4F1F0; border: 1px solid #DDD5D2; border-radius: 10px;
  padding: 9px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input { height: 40px; }
.field textarea { resize: vertical; min-height: 66px; }
.field input:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--brand); box-shadow: 0 0 0 3px rgba(196,40,40,.12); }
.field ::placeholder { color: #A9A09D; }
.form .btn { align-self: center; margin-top: 18px; }
.hp { display: none; }

/* ---------- Footer ---------- */
.footer {
  background: var(--footer);
  background-image: radial-gradient(ellipse at 100% 0%, rgba(196,40,40,.22), transparent 50%);
  color: var(--white);
  padding: 64px 0 32px;
}
.footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__cta h2 { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 18px; }
.footer__cta h2 span { color: var(--brand-mid); }
.footer__cta p { color: rgba(255,255,255,.85); font-size: 16px; line-height: 1.55; max-width: 610px; }
.footer__cta .btn-row { flex-wrap: nowrap; gap: 12px; }
.footer .eyebrow { color: var(--brand-mid); }

.footer__grid { display: grid; grid-template-columns: 1.35fr 1.3fr .9fr 1fr; gap: 40px; padding: 56px 0 64px; }
.footer__brand p { color: rgba(255,255,255,.85); font-size: 14.5px; line-height: 1.6; margin: 26px 0 22px; max-width: 310px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--brand); border-color: var(--brand); }
.footer__h { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 26px; padding-top: 6px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: rgba(255,255,255,.9); margin-bottom: 16px; }
.footer__contact .i { color: var(--brand-mid); width: 17px; height: 17px; margin-top: 2px; }
.footer__contact a:hover { color: var(--brand-mid); }
.footer__links li { margin-bottom: 14px; }
.footer__links a { font-size: 14.5px; color: rgba(255,255,255,.9); transition: color .2s; }
.footer__links a:hover { color: var(--brand-mid); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; font-size: 13px; color: rgba(255,255,255,.6); }

/* ---------- Voltar ao topo ---------- */
.to-top {
  position: fixed; right: 30px; bottom: 30px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(26,18,18,.14);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top .i { position: relative; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-dasharray: 138.2; stroke-dashoffset: var(--progress, 138.2); stroke-linecap: round; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .caret { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1180px) {
  .posts__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr 1fr; gap: 56px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .nav {
    position: fixed; inset: 84px 16px auto 16px;
    flex-direction: column; align-items: stretch; gap: 4px;
    border-radius: 18px; background: var(--white);
    box-shadow: 0 18px 50px rgba(26,18,18,.16);
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__link { padding: 13px 18px; }
  .nav-toggle { display: block; }

  .numbers__inner, .squad__inner, .contact__inner { grid-template-columns: 1fr; gap: 56px; }
  .squad-card { max-width: 520px; width: 100%; margin: 0 auto; }
  .cases__head { flex-direction: column; align-items: flex-start; }
  .case__metrics { grid-template-columns: repeat(3, 1fr); }
  .footer__cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 860px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .about__inner { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 4 / 3; }
  .case__cols { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .container { padding: 0 16px; }
  .header__inner { padding: 16px; }
  .logo__word { font-size: 26px; }
  .logo__tag { font-size: 9px; margin-top: 6px; }

  .hero { min-height: 560px; background-size: 120px 120px; }
  .hero__inner { padding: 56px 16px; }
  .hero__lead { font-size: 24px; }
  .hero__title { font-size: 50px; margin-bottom: 32px; }
  .hero__ctas .btn { width: 100%; }

  .eyebrow--lg { font-size: 15px; letter-spacing: .18em; }
  .h2--sm { font-size: 24px; }
  .h2--md { font-size: 28px; }
  .h2--lg { font-size: 32px; }
  .h2--xl { font-size: 36px; }
  .h2 br { display: none; }

  .clients { padding: 48px 0 56px; }
  .marquee__track { gap: 56px; }
  .marquee__track img { height: 40px; width: 116px; }

  .services__grid { grid-template-columns: 1fr; }
  .numbers__grid { gap: 28px 20px; }
  .stat strong { font-size: 34px; }

  .squad-card { padding: 22px 18px; }
  .squad-card::before { width: 80px; height: 80px; inset: -12px -8px auto auto; }
  .squad-card::after { display: none; }
  .case { padding: 22px 18px; }
  .case__title { font-size: 22px; }
  .case__metrics { grid-template-columns: 1fr; }
  .metric strong { font-size: 26px; }
  .carousel-ctrl__count { margin-right: 8px; }

  .posts__grid { grid-template-columns: 1fr; }
  .faq__item summary { padding: 16px 18px; font-size: 15px; }
  .faq__item p { padding: 0 18px 16px; font-size: 15px; }

  .contact__inner { gap: 40px; }
  .footer__cta h2 { font-size: 26px; }
  .footer__cta .btn-row { flex-direction: column; width: 100%; }
  .footer__cta .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .to-top { right: 16px; bottom: 16px; }
}
