:root {
  /* Conceito: oficina metalmecânica do futuro. Grafite e aço escovado, traços de projeto em cinza-aço,
     aço cromado (o mesmo da logo) só onde há ação. Corpo em concreto claro, seções escuras para os momentos fortes. */
  --graphite: #15171A;      /* fundo escuro */
  --graphite-2: #1E2125;    /* painéis escuros */
  --steel: #8D949A;         /* aço médio, linhas */
  --steel-light: #C4C9CD;   /* traço claro sobre escuro */
  --concrete: #ECEAE6;      /* fundo claro, concreto */
  --ink: #1B1D20;           /* texto */
  --muted: #5D6369;         /* texto de apoio */
  --rule: #D2D0CB;          /* filetes no claro */
  --spark: #DADEE2;         /* aço cromado claro: destaques sobre o grafite */
  --spark-deep: #3A4046;    /* aço escuro: destaques sobre o concreto */
  --chrome: linear-gradient(180deg, #F4F6F8 0%, #D3D8DC 46%, #A3AAB0 54%, #DCE0E3 100%);
  --font-display: "Chakra Petch", "Bahnschrift", "Arial Narrow", sans-serif;
  --font-body: "Archivo", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --chamfer: 16px;
  --img-quadra: url("quadra.jpg");
  --logo-full: url("logo-full.webp");
  --logo-wm: url("logo-palavra.webp");
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--concrete); color: var(--ink); font-family: var(--font-body); font-size: 17.5px; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; letter-spacing: 0.005em; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.02em;
  text-decoration: none; padding: 13px 22px 13px 20px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition: background-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-spark { background: var(--chrome); color: #15171A; box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 0 0 1px rgba(0,0,0,0.25); }
.btn-spark:hover { filter: brightness(1.08); }
.block:not(.dark) .btn-spark { background: var(--graphite); color: #fff; box-shadow: none; }
.btn-line { color: var(--steel-light); box-shadow: inset 0 0 0 1px rgba(196, 201, 205, 0.45); }
.btn-line:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--steel-light); }

/* ---------- Cabeçalho ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(21, 23, 26, 0.94); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(196, 201, 205, 0.14); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 66px; }
/* Logo oficial (cartão Scaratti): palavra no cabeçalho, logo completa na capa e no rodapé */
.brand { display: flex; align-items: center; text-decoration: none; }
.logo-wm { display: block; height: 32px; aspect-ratio: 480 / 89; background: var(--logo-wm) left center / contain no-repeat; }
.logo-full { display: block; aspect-ratio: 560 / 464; background: var(--logo-full) center / contain no-repeat; }
.hero .logo-full { width: clamp(180px, 22vw, 250px); margin-bottom: 26px; }
footer .logo-full { width: 150px; }
.nav { display: none; gap: 26px; }
.nav a { color: var(--steel-light); text-decoration: none; font-size: 0.93rem; font-weight: 500; }
.nav a:hover { color: var(--spark); }
.top .btn { padding: 9px 16px 9px 14px; font-size: 0.92rem; }

/* ---------- Capa ---------- */
.hero {
  background-color: var(--graphite);
  background-image:
    radial-gradient(60% 70% at 92% 8%, rgba(220, 225, 230, 0.08), transparent 60%),
    linear-gradient(rgba(196, 201, 205, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 201, 205, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(196, 201, 205, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 201, 205, 0.025) 1px, transparent 1px);
  background-size: auto, 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  color: #fff; padding: 52px 0 0;
}
.hero-grid { display: grid; gap: 40px; }
.hero .eyebrow { color: var(--spark); display: flex; align-items: center; gap: 12px; }
.hero .eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--spark); }
.hero h1 { font-weight: 600; font-size: clamp(2.6rem, 6.6vw, 4.6rem); line-height: 1.02; margin-top: 18px; }
.hero h1 span { display: block; }
.hero h1 .hot, .contact h2 .hot { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 22px; max-width: 44ch; font-size: 1.12rem; color: #C9CDD1; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Desenho real da quadra com marcas de projeto */
.plate { position: relative; align-self: center; }
.plate .drawing { aspect-ratio: 1400 / 748; background: var(--img-quadra) center / cover no-repeat; border: 1px solid rgba(196, 201, 205, 0.18); position: relative; overflow: hidden; }
.plate .drawing::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; top: 0; background: linear-gradient(90deg, transparent, var(--spark), transparent); box-shadow: 0 0 18px 2px rgba(230, 235, 240, 0.45); opacity: 0.8; animation: scan 6s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 4%; } 50% { top: 94%; } }
.bracket { position: absolute; width: 22px; height: 22px; border-color: var(--spark); border-style: solid; }
.bracket.tl { top: -8px; left: -8px; border-width: 2px 0 0 2px; }
.bracket.tr { top: -8px; right: -8px; border-width: 2px 2px 0 0; }
.bracket.bl { bottom: -8px; left: -8px; border-width: 0 0 2px 2px; }
.bracket.br { bottom: -8px; right: -8px; border-width: 0 2px 2px 0; }
.plate .cota-x { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--steel-light); }
.plate .cota-x i { flex: 1; height: 1px; background: var(--steel); position: relative; }
.plate .cota-x i::before, .plate .cota-x i::after { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: var(--steel); }
.plate .cota-x i::before { left: 0; } .plate .cota-x i::after { right: 0; }
.plate figcaption { margin-top: 10px; color: var(--steel); }

/* Carimbo */
.stamp { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(196, 201, 205, 0.22); font-family: var(--font-mono); }
.stamp div { padding: 12px 16px 14px 0; border-bottom: 1px solid rgba(196, 201, 205, 0.12); }
.stamp dt { font-size: 0.6rem; letter-spacing: 0.16em; color: var(--steel); text-transform: uppercase; }
.stamp dd { margin: 4px 0 0; font-size: 0.84rem; color: #E9EBED; }
.stamp .wide { grid-column: 1 / -1; }

/* Barra de aço escovado */
.steelbar { height: 12px; background:
  repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 3px),
  linear-gradient(180deg, #A9AFB4, #7E858B 45%, #5F656B); }

/* ---------- Seções claras ---------- */
section.block { padding: 92px 0; }
section.block + section.block { border-top: 1px solid var(--rule); }
.head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 780px; }
.cota { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.cota b { color: var(--spark-deep); font-weight: 500; }
.cota i { width: 120px; height: 1px; background: var(--steel); position: relative; }
.cota i::before, .cota i::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: var(--steel); }
.cota i::before { left: 0; } .cota i::after { right: 0; }
.head h2 { font-weight: 600; font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.05; color: var(--ink); }
.head p { color: var(--muted); max-width: 62ch; }

/* Serviços */
.services { display: grid; gap: 14px; grid-template-columns: 1fr; }
.svc {
  background: #F7F6F3; padding: 26px 24px 28px; display: grid; gap: 10px; align-content: start; position: relative;
  clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%);
  box-shadow: inset 0 0 0 1px var(--rule);
  transition: box-shadow .15s ease;
}
.svc:hover { box-shadow: inset 0 0 0 1px var(--steel), inset 0 -3px 0 var(--ink); }
.svc .ref { position: absolute; top: 16px; right: 24px; color: #A3A8AC; }
.svc svg { width: 36px; height: 36px; stroke: var(--ink); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 1.32rem; font-weight: 600; line-height: 1.15; }
.svc p { color: var(--muted); font-size: 0.98rem; }
.svc.feat { background: var(--graphite); box-shadow: inset 0 0 0 1px #2B2F34; }
.svc.feat h3 { color: #fff; } .svc.feat p { color: #BFC4C8; } .svc.feat svg { stroke: var(--spark); } .svc.feat .ref { color: var(--steel); }
.svc.feat::after { content: "Em destaque"; position: absolute; bottom: 0; right: 0; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; background: var(--chrome); color: #15171A; padding: 5px 10px; }


.safety { position: relative; background: #E4E2DD; }
.hazard { position: absolute; top: 0; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(-45deg, #A3AAB0 0 14px, var(--graphite) 14px 28px); }

/* Reclassificação de monta: seção escura */
.dark { background: var(--graphite); color: #fff; }
.dark .head h2 { color: #fff; } .dark .head p { color: #BFC4C8; } .dark .cota { color: var(--steel); }
.dark .cota b, .insta .cota b, .contact .cota b { color: var(--spark); }
.monta-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.monta-steps li { background: var(--graphite-2); padding: 26px 24px; display: grid; gap: 8px; align-content: start; position: relative; clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%); }
.monta-steps .num { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; justify-self: start; }
.monta-steps h3 { font-size: 1.3rem; font-weight: 600; }
.monta-steps p { color: #BFC4C8; font-size: 0.98rem; }
.note { margin-top: 22px; padding: 16px 18px; border-left: 3px solid var(--spark); background: rgba(220, 225, 230, 0.06); max-width: 72ch; color: #E3E5E7; }
.note strong { color: #fff; }


/* Caso de referência: reenquadramento de monta */
.case-study { margin-top: 44px; padding: 30px 24px; background: var(--graphite-2); box-shadow: inset 0 0 0 1px #2B2F34; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.cs-head { display: grid; gap: 8px; max-width: 760px; }
.cs-head .mono { color: var(--spark); }
.cs-head h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; line-height: 1.1; }
.cs-head p { color: #BFC4C8; }
.cs-grid { display: grid; gap: 32px; margin-top: 28px; }
.cs-text h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: #fff; margin: 18px 0 6px; }
.cs-text h4:first-child { margin-top: 0; }
.cs-text p, .cs-text li { color: #BFC4C8; font-size: 0.97rem; }
.cs-text ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.matrix-title, .matrix-key { color: var(--steel); }
.matrix { list-style: none; margin: 10px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cell { background: var(--graphite); box-shadow: inset 0 0 0 1px #2B2F34; padding: 10px 10px 11px; display: grid; grid-template-columns: auto 1fr; gap: 4px 8px; align-content: start; }
.cell .n { font-family: var(--font-mono); font-size: 0.78rem; color: var(--steel-light); }
.cell .cls { justify-self: end; font-family: var(--font-mono); font-size: 0.66rem; padding: 1px 6px; color: var(--steel-light); box-shadow: inset 0 0 0 1px #3A4046; }
.cell .lbl { grid-column: 1 / -1; font-size: 0.8rem; line-height: 1.3; color: #D9DCDF; }
.cell .res { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9FE0B8; }
.cell .res::before { content: "✓ "; }
.cell.na .res { color: var(--steel); }
.cell.na .res::before { content: "— "; }
.case-study .note { margin-top: 24px; }

/* Diferenciais */
.why { display: grid; gap: 28px; grid-template-columns: 1fr; }
.why article { display: grid; gap: 8px; padding-top: 18px; border-top: 2px solid var(--ink); position: relative; }
.why article::before { content: ""; position: absolute; top: -2px; left: 0; width: 42px; height: 2px; background: var(--steel); }
.why .mono { color: var(--muted); }
.why h3 { font-size: 1.32rem; font-weight: 600; line-height: 1.15; }
.why p { color: var(--muted); font-size: 0.98rem; }

/* Processo como corrente de cotas */
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.steps li { position: relative; padding: 0 0 32px 32px; border-left: 1px solid var(--steel); }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; background: var(--ink); transform: rotate(45deg); }
.steps .mono { color: var(--spark-deep); }
.steps h3 { font-size: 1.3rem; font-weight: 600; margin: 4px 0 6px; }
.steps p { color: var(--muted); font-size: 0.98rem; max-width: 38ch; }

/* Trabalhos entregues */
.cases { display: grid; gap: 14px; grid-template-columns: 1fr; }
.case { background: #F7F6F3; box-shadow: inset 0 0 0 1px var(--rule); display: grid; align-content: start; clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%); }
.case .pic { aspect-ratio: 2 / 1; background: var(--graphite) center / cover no-repeat; }
.case .pic.quadra { background-image: var(--img-quadra); }
.case img.pic { display: block; width: 100%; height: auto; object-fit: cover; }
.case .pic svg { display: block; width: 100%; height: 100%; }
.case-body { padding: 20px 22px 24px; display: grid; gap: 8px; }
.case-body .mono { color: var(--spark-deep); }
.case-body h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.15; }
.case-body p:last-child { color: var(--muted); font-size: 0.98rem; }
.case.text-only { box-shadow: inset 0 0 0 1px var(--rule), inset 0 3px 0 var(--steel); }

/* Sobre */
.about { display: grid; gap: 40px; align-items: start; }
.portrait { position: relative; max-width: 340px; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(0.9) contrast(1.03); }
.portrait .bracket { border-color: var(--ink); }
.about h2 { font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 3.2rem); line-height: 1.02; margin-top: 12px; }
.about .role { margin-top: 10px; color: var(--spark-deep); }
.about p.txt { margin-top: 22px; max-width: 60ch; }

/* Dúvidas */
.faq { border-top: 1px solid var(--rule); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-family: var(--font-mono); font-size: 1.4rem; color: var(--spark-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 68ch; }


/* Chips */
.chips { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 12px; color: var(--steel-light); box-shadow: inset 0 0 0 1px rgba(196, 201, 205, 0.3); clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%); }
.chips li:first-child { color: #15171A; background: var(--chrome); box-shadow: none; }
.dark .chips { margin-top: 8px; }

/* Faixa de normas */
.ticker { background: var(--graphite-2); border-bottom: 1px solid #2B2F34; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker-track span { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-light); padding: 14px 26px; white-space: nowrap; position: relative; }
.ticker-track span::after { content: ""; position: absolute; right: -4px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; background: var(--spark); transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-50%); } }

/* Link de orçamento nos cards */
.more { justify-self: start; margin-top: 6px; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--spark-deep); text-decoration: none; }
.more:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.dark .more:hover, .tile .more:hover, .svc.feat .more:hover { color: #fff; }
.svc.feat .more, .dark .more { color: var(--spark); }

/* Para quem */
.tiles { display: grid; gap: 14px; grid-template-columns: 1fr; }
.tile { background: var(--graphite); color: #fff; padding: 26px 24px 24px; display: grid; gap: 10px; align-content: start; clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%); position: relative; }
.tile::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--spark); }
.tile .mono { color: var(--steel); }
.tile h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.15; }
.tile p { color: #BFC4C8; font-size: 0.98rem; }
.tile .more { color: var(--spark); }

/* Instagram */
.insta { background: var(--graphite); color: #fff; padding: 80px 0; }
.insta-grid { display: grid; gap: 32px; align-items: center; }
.insta h2 { font-weight: 600; font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.05; margin: 14px 0 12px; }
.insta p { color: #BFC4C8; max-width: 48ch; margin-bottom: 24px; }
.insta .cota { color: var(--steel); }
.insta-pic { display: block; aspect-ratio: 16 / 9; background: var(--img-quadra) center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(196, 201, 205, 0.2); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }

/* Rodapé */
.foot-top { display: grid; gap: 22px; padding-bottom: 22px; margin-bottom: 18px; border-bottom: 1px solid #22262A; }
.foot-brand { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.14em; color: #fff; font-size: 1.2rem; }
.foot-top p { margin-top: 6px; max-width: 44ch; }
.foot-top nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-top a { color: var(--steel-light); text-decoration: none; }
.foot-top a:hover { color: var(--spark); }
.totop { justify-self: start; }

/* Contato */
.contact { background: var(--graphite); color: #fff; padding: 92px 0; position: relative; }
.contact .grid { display: grid; gap: 40px; }
.contact h2 { font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.02; }

.contact p.sub { margin-top: 18px; color: #BFC4C8; max-width: 44ch; }
.contact .actions { margin-top: 28px; }
.channels { display: grid; border-top: 1px solid rgba(196, 201, 205, 0.2); align-self: start; }
.channels a, .channels div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid rgba(196, 201, 205, 0.2); text-decoration: none; }
.channels .mono { color: var(--steel); }
.channels strong { font-weight: 500; font-size: 1.15rem; overflow-wrap: anywhere; }
.channels a:hover strong { color: var(--spark); }

footer { background: #0F1113; color: #8D949A; padding: 26px 0 96px; font-size: 0.88rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* WhatsApp flutuante */
.float { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: inline-flex; align-items: center; gap: 10px; background: var(--chrome); color: #15171A; text-decoration: none; font-family: var(--font-display); font-weight: 600; padding: 14px; border-radius: 999px; box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255,255,255,0.8); }
.float svg { width: 26px; height: 26px; }
.float span { display: none; }
.float:hover { filter: brightness(1.08); }

/* ---------- Telas maiores ---------- */
@media (min-width: 640px) {
  .services { grid-template-columns: 1fr 1fr; }
  .cases { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .stamp { grid-template-columns: 1.4fr 1fr 1fr; }
  .stamp .wide { grid-column: auto; }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .hero h1 { font-size: clamp(2.8rem, 4.2vw, 3.7rem); }
  .stamp { grid-template-columns: 1.5fr 1.3fr 1fr 1fr 1fr; }
  .services { grid-template-columns: repeat(3, 1fr); }
  #servicos .svc.span2 { grid-column: span 2; }
  .monta-steps { grid-template-columns: repeat(3, 1fr); }
  .case-study { padding: 40px 40px; }
  .cs-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; }
  .matrix { grid-template-columns: repeat(4, 1fr); }
  .why { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--steel); }
  .steps li { border-left: 0; padding: 30px 24px 0 0; }
  .steps li::before { left: 0; top: -5px; }
  .cases { grid-template-columns: repeat(3, 1fr); }
  .case.wide { grid-column: span 2; }
  .case.wide .pic { aspect-ratio: auto; height: 100%; min-height: 330px; }
  .about { grid-template-columns: 340px 1fr; gap: 72px; }
  .contact .grid { grid-template-columns: 1.2fr 1fr; gap: 72px; }
  .float span { display: inline; padding-right: 6px; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .insta-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .foot-top { grid-template-columns: 1.2fr 2fr auto; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plate .drawing::after { animation: none; top: 50%; }
  .btn, .svc { transition: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* ---------- Páginas de serviço ---------- */
.h-link { color: inherit; text-decoration: none; }
.h-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.page-hero { padding-top: 40px; }
.page-hero .wrap { padding-bottom: 52px; }
.page-hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); max-width: 22ch; }
.page-hero .lead { max-width: 60ch; }
.crumbs { color: var(--steel); margin-bottom: 22px; }
.crumbs a { color: var(--steel-light); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 6px; color: #5D6369; }
.page-grid { display: grid; gap: 40px; align-items: start; }
.prose { max-width: 72ch; }
.prose h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 1.95rem); line-height: 1.15; margin: 40px 0 12px; }
.prose h2:first-of-type { margin-top: 0; }
.prose p { margin: 0 0 14px; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
.prose li { color: var(--ink); }
.prose a:not(.more) { color: var(--ink); text-decoration-color: var(--steel); text-underline-offset: 3px; }
.prose .faq { margin-top: 8px; }
.page-pic { aspect-ratio: 1400 / 748; background: var(--img-quadra) center / cover no-repeat; margin-bottom: 36px; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.aside-card { background: var(--graphite); color: #fff; padding: 26px 24px; display: grid; gap: 6px; clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%); }
.aside-card .logo-full { width: 150px; margin-bottom: 10px; }
.aside-card .mono { color: var(--steel); margin-top: 10px; }
.aside-card p { color: #D9DCDF; overflow-wrap: anywhere; }
.aside-card .btn { justify-self: start; margin: 12px 0 4px; }
.rel-tiles .tile { text-decoration: none; }
.rel-tiles .tile:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 640px) { .rel-tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .page-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; }
  .aside-card { position: sticky; top: 90px; }
  .rel-tiles { grid-template-columns: repeat(3, 1fr); }
}
