@font-face {
  font-family: "WM Oficina";
  src: url("wm-oficina.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --base: #151719;
  --ink: #191b1c;
  --paper: #f1efe9;
  --muted: #c8cbcd;
  --line: #414244;
  --accent: #ff614c;
  --red: #a92d22;
  --signal: #c83829;
  --green: #a5ebbb;
  --max: 1272px;
  --display: "WM Oficina", Impact, "Arial Narrow", sans-serif;
  --body: "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 20px }
body { margin: 0; background: var(--base); color: white; font: 1rem/1.55 var(--body) }
a { color: inherit }
a, button, summary { -webkit-tap-highlight-color: transparent }
:focus-visible { outline: 3px solid #368aff; outline-offset: 4px }
img { display: block; width: 100%; height: auto }
svg { width: 22px; height: 22px; flex: none }
p, figure, h1, h2, h3, ul, ol { margin: 0 }
.wrap { max-width: var(--max); width: calc(100% - clamp(40px, 9vw, 152px)); margin-inline: auto }
h1, h2 { font-family: var(--display); text-transform: uppercase; font-weight: 700; letter-spacing: -.012em; line-height: .99 }
h2 { font-size: clamp(3.15rem, 5.65vw, 5.65rem); max-width: 19ch; margin-bottom: 21px; text-wrap: balance }
h3 { font: 650 clamp(1.18rem, 1.5vw, 1.42rem)/1.15 var(--body); letter-spacing: -.027em; text-wrap: balance }
.lead { color: var(--muted); font-size: clamp(1rem, 1.24vw, 1.13rem); max-width: 48ch; line-height: 1.58 }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 19px; font: 600 .74rem/1.5 var(--mono); letter-spacing: .105em; text-transform: uppercase; color: var(--accent) }
.eyebrow::before { content: ""; flex: none; width: 21px; height: 9px; background: repeating-linear-gradient(115deg,transparent 0 3px,currentColor 3px 6px); }
.section { padding-block: clamp(64px, 6.9vw, 104px) }
.light { color-scheme: light; background: var(--paper); color: var(--ink) }
.light .eyebrow { color: var(--red) }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 7vw, 100px) }
.section-heading { display: grid; grid-template-columns: minmax(150px,.47fr) 1.53fr; align-items: start; gap: 26px; border-top: 1px solid #b5b4ac; padding-top: 23px; margin-bottom: 32px }
.section-heading .eyebrow { margin-top: 6px }
.section-heading h2 { margin: 0; max-width: none }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 18px; border-radius: 2px; font: 650 .96rem/1.32 var(--body); text-align: center; text-decoration: none; transition: background-color .15s ease, color .15s ease }
.section .split > div > .btn { margin-top: 22px }
.green { background: var(--signal); color: white }
.green:hover { background: #a32b20 }
.outline { border: 1px solid #969a9a; color: white }
.outline:hover { background: #ffffff12 }
.skip { position: fixed; top: -90px; left: 12px; background: #fff; color: #111; padding: 12px; z-index: 6 }
.skip:focus { top: 8px }

/* A assinatura vermelha e o recorte da foto acompanham a inclinação da marca na viatura. */
header { position: relative; z-index: 3; background: #111314; border-bottom: 1px solid #383a3a }
.header { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 22px }
.logo { width: 73px; flex: none }
.header nav { display: flex; align-items: center; gap: clamp(15px, 1.9vw, 30px) }
.header nav a, .footer a { text-decoration: none }
.header nav a { color: #e2e3de; padding-block: 10px; font-weight: 550; font-size: .92rem }
.header nav a:hover, .footer a:hover { color: white; text-decoration: underline; text-underline-offset: 6px }
.header-cta { border: 1px solid #69746b; color: #fafbf8; min-height: 42px }
.header-cta svg { width: 19px; color: var(--green) }
.header-cta:hover { background: #2a312c }
.mobile-menu { display: none }
.hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(105deg,#23272a,#15181a 48%,#111314) }
.hero-backdrop, .hero::before { position: absolute; inset: 0 0 0 auto; width: 56%; height: 100%; clip-path: polygon(11% 0,100% 0,100% 100%,0 100%); z-index: -1 }
.hero::before { content: ""; background: #bd362c; transform: translateX(-5px) }
.hero-backdrop img { height: 100%; object-fit: cover; object-position: 50% 75% }
.hero-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#12151685,transparent 28%) }
.hero-grid { position: relative; display: flex; align-items: center; min-height: clamp(540px,43vw,675px); padding-block: clamp(46px,4.5vw,76px) }
.hero-grid > div { width: 48%; }
.hero .eyebrow { color: #f1e8df; margin-bottom: 22px; font-size: .72rem }
.hero .eyebrow::before { color: var(--accent) }
.hero .eyebrow span { display: none }
.hero h1 span, .hero h1 strong { display: block; width: fit-content }
.hero h1 span { font-size: clamp(3.65rem,5.95vw,6.8rem); line-height: 1.02 }
.hero h1 strong { font-size: clamp(6.2rem,10.5vw,11.2rem); color: var(--accent); font-weight: 700; line-height: .96 }
.hero h1 em { display: block; margin-top: 15px; font: 650 clamp(1.4rem,2vw,2.05rem)/1.14 var(--body); color: white; text-transform: none; letter-spacing: -.035em }
.hero .lead { margin-top: 13px; max-width: 49ch; color: #cdd1d1; text-wrap: pretty; font-size: 1.03rem }
.hero .actions .outline { border: none; padding-inline: 0; margin-left: 4px }
.hero .actions .outline svg { width: 17px; transition: transform .17s ease }
.hero .actions .outline:hover { background: none; text-decoration: underline }
.hero .actions .outline:hover svg { transform: translateX(3px) }
.benefits { border-block: 1px solid #404244; background: #212426 }
.benefits .wrap { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding-block: 15px }
.benefits .wrap div { display: flex; justify-content: center; align-items: center; gap: 11px; font: 550 .78rem/1.45 var(--mono); text-transform: uppercase; letter-spacing: .025em }
.benefits .wrap div + div { border-left: 1px solid #55585a }
.benefits svg { color: #ff8773; width: 20px; height: 20px }

/* O socorro na estrada e a manutenção de frotas abrem e fecham a grade de serviços. */
.service-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-template-areas: "s s a b" "s s c d" "e f g g"; gap: 1px; background: #bfbfb8; border: 1px solid #bfbfb8 }
.service { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(18px,1.85vw,29px); background: #f8f7f1 }
.service > svg { color: var(--red); width: 26px; height: 26px; margin-bottom: 4px }
.service p { color: #494e50; font-size: .97rem; line-height: 1.48 }
.text-link { min-height: 44px; padding: 8px 0 0; margin-top: auto; color: #8f2b21; font-size: .89rem }
.text-link svg { width: 17px; height: 17px }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px }
.service-socorro { grid-area: s; min-height: 350px; justify-content: flex-end; background: linear-gradient(0deg,#101518 0%,#101518ed 17%,#101518a1 44%,#10151816 76%),url("case-embreagem.webp") center 46% / cover; padding: clamp(22px,3vw,44px); color: #fff }
.service-socorro > svg { color: #fff; margin-bottom: auto }
.service-socorro h3 { font: 700 clamp(2.7rem,4.25vw,4.5rem)/1 var(--display); text-transform: uppercase; letter-spacing: 0; max-width: 13ch }
.service-socorro p, .service-frotas p { color: #e1e2de; max-width: 42ch }
.service-socorro .text-link, .service-frotas .text-link { margin-top: 2px; color: white }
.service-cardan-embreagem { grid-area: a }
.service-suspensao-freios { grid-area: b }
.service-sistema-ar { grid-area: c }
.service-diferencial { grid-area: d }
.service-scanner-eletrica { grid-area: e }
.service-oleo-filtros { grid-area: f }
.service-frotas { grid-area: g; background: #282d2f; color: white }
.service-frotas > svg { color: #ff8879 }

#emergencia { border-top: 4px solid #b93428 }
#emergencia .split { grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); align-items: start }
.steps { padding: 0; list-style: none; counter-reset: step }
.steps li { position: relative; counter-increment: step; border-top: 1px solid #4f5252; padding: 20px 2px 22px clamp(66px,6vw,90px) }
.steps li:last-child { border-bottom: 1px solid #4f5252 }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 17px; font: 400 clamp(1.85rem,3.1vw,3.2rem)/1 var(--mono); letter-spacing: -.085em; color: #ff806d }
.steps strong { display: block; font-size: clamp(1.2rem,1.65vw,1.55rem); letter-spacing: -.025em }
.steps p { color: var(--muted); margin-top: 5px; max-width: 48ch }
.coverage { background-color: #293236; background-image: linear-gradient(110deg,#22292cf5 25%,#252c2ee0 72%,#252c2efd),url("estrada.webp"); background-position: center,center 73%; background-size: cover; border-block: 1px solid #51595b }
.coverage .eyebrow { color: #ff9f89 }
.coverage h2 { max-width: 17ch }
.road-panel { background: #192825; color: #f8f7ed; border-radius: 8px; border: 2px solid #eceee2; outline: 6px solid #192825; box-shadow: 0 16px 32px #10171952; padding: clamp(20px,2.7vw,42px); }
.road-panel h3 { padding-bottom: 16px; border-bottom: 1px solid #a6b1a7; font: 650 1.2rem/1.3 var(--body) }
.roads, .segments { list-style: none; padding: 0 }
.roads { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; row-gap: 14px; margin-top: 21px }
.roads li { font: 600 clamp(.82rem,1.15vw,1.06rem)/1.4 var(--mono); white-space: nowrap }
#frotas .split { grid-template-columns: 1.05fr .95fr }
.segments li { display: flex; align-items: baseline; gap: 15px; padding: 16px 0; border-top: 1px solid #b8bab3; font-size: clamp(1rem,1.4vw,1.25rem); font-weight: 600; letter-spacing: -.018em }
.segments li::before { content: ""; width: 11px; height: 6px; flex: none; background: var(--red); transform: skew(-25deg) }
.segments li:last-child { border-bottom: 1px solid #b8bab3 }

/* A foto da viatura ocupa a lateral inteira e conserva a marca em destaque. */
#sobre { padding: 0; background: #202426 }
#sobre .split { max-width: none; width: 100%; gap: 0; grid-template-columns: 1.04fr 1fr; align-items: stretch }
#sobre .split > div:first-child { grid-column: 2; grid-row: 1; align-self: center; padding: clamp(42px,5.5vw,90px) max(5vw,calc((100vw - var(--max)) / 2)) clamp(42px,5.5vw,90px) clamp(32px,4.8vw,76px) }
.about-media { grid-column: 1; grid-row: 1; min-width: 0 }
.work { position: relative; height: 100%; min-height: 360px }
.work img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 51% 48% }
.archive { grid-column: 1/-1; border-block: 1px solid #bcbdb5 }
.archive summary { cursor: pointer; padding-block: 14px; font-weight: 600; color: var(--ink) }
.archive p { color: #484e4f; margin-bottom: 10px; font-size: .95rem }
.archive div { padding-bottom: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px }
.archive img { aspect-ratio: 1.45; object-fit: cover }


/* Galeria documental */
.cases { background: #e9e7de; color: var(--ink); color-scheme: light }
.cases .eyebrow { color: var(--red) }
.cases h2 { max-width: none }
.case-layout, .photo-stories, .motor-pair { display: grid }
.case-layout { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: clamp(18px, 2vw, 30px); align-items: start }
.photo-stories, .motor-pair { grid-template-columns: repeat(2,minmax(0,1fr)) }
.photo-stories { gap: 26px clamp(16px, 1.5vw, 24px) }
.motor { grid-column: 1/-1 }
.motor-pair { gap: 4px; border-radius: 1px; overflow: hidden }
.case-photo { position: relative; display: block; overflow: hidden; border-radius: 1px; background: #292d2e }
.case-photo img { aspect-ratio: 1.58; object-fit: cover }
.motor-pair .case-photo { border-radius: 0 }
.motor-pair .case-photo:first-child img { object-position: 50% 49% }
.clutch .case-photo img { object-position: 50% 44% }
.stage, .enlarge { position: absolute; background: #111619df; color: white; border-radius: 3px }
.stage { bottom: 0; left: 0; padding: 5px 11px; font: 600 .72rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .075em; border-radius: 0 }
.enlarge { right: 9px; top: 9px; display: grid; place-items: center; width: 28px; height: 28px }
.enlarge svg { width: 17px; height: 17px }
.case-photo:hover .enlarge { background: #82252c }
.case-photo:focus-visible { outline-offset: -3px; outline-color: #68aeff; z-index: 1 }
.case-copy { padding-top: 14px }
.case-copy h3 { margin-bottom: 6px; font: 700 clamp(1.6rem,2.4vw,2.25rem)/1.08 var(--display); text-transform: uppercase; letter-spacing: .002em }
.case-copy p { font-size: .96rem; color: #484e4f; max-width: 68ch }
.film { background: #24282a; color: white; box-shadow: inset 0 -3px var(--signal) }
.film .case-copy { padding: clamp(16px,1.8vw,26px) }
.film video { display: block; width: 100%; height: auto; max-height: 540px; aspect-ratio: 478/850; background: #191b1d; border-radius: 0; object-fit: contain }
.film blockquote { margin: 8px 0 0; padding-left: 12px; border-left: 2px solid var(--accent); color: #d9dad7; font-size: .98rem }
.film cite { display: block; margin-top: 5px; font-size: .84rem; font-style: normal; font-weight: 600 }
.photo-dialog { width: fit-content; max-width: min(94vw, 1200px); max-height: 94dvh; border: 1px solid #474a4b; border-radius: 8px; padding: 12px; background: #17191b; color: white }
.photo-dialog::backdrop { background: #090b0dec }
.photo-dialog button { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0 0 8px auto; border: 1px solid #666; border-radius: 4px; background: #262a2c; padding: 4px 12px; color: white; font: inherit; cursor: pointer }
.photo-dialog button span { font-size: 1.45em }
.photo-dialog img { width: auto; max-width: 100%; max-height: 68dvh; object-fit: contain; margin: auto }
.photo-dialog figcaption { padding: 9px 2px 2px; font-size: .92rem }
html:has(.photo-dialog[open]) { overflow: hidden }

/* Dúvidas e contato */
#perguntas { background: #faf9f4; border-top: 1px solid #c6c6be }
#perguntas .split { align-items: start }
.faq details { border-bottom: 1px solid #cacbc4 }
.faq details:first-child { border-top: 1px solid #cacbc4 }
.faq summary, .mobile-menu summary { cursor: pointer }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 48px; font-weight: 650; padding: 13px 0 }
.faq summary::after { content: "+"; color: var(--red); font: 1.5rem/1 Arial,sans-serif }
.faq details[open] summary::after { content: "−" }
summary::-webkit-details-marker { display: none }
.faq p { padding: 0 12px 16px 0; color: #44494a }
.final { background: #a82d23; padding-block: clamp(48px,5.5vw,82px) }
.final .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px }
.final .actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 0 }
.final .green { background: #f7f3e9; color: #191b1b }
.final .green:hover { background: white }
.final h2 { max-width: 17ch }
.final .actions a:not(.btn) { font-weight: 650; text-underline-offset: 4px }
.footer { padding-block: 34px 68px; display: grid; grid-template-columns: 78px 1.4fr 1fr 1fr; gap: 22px; align-items: start; color: #d4d5d4 }
.footer a, .footer small { display: block; margin-bottom: 6px }
.footer p { font-size: .94rem; margin-top: 4px }
.quick { position: fixed; bottom: 16px; right: 16px; z-index: 2; border-radius: 5px; box-shadow: 0 3px 16px #0004 }
.quick > .green { background: var(--green); color: #16251d }
.quick > .green:hover { background: #bdf5cf }
.quick-tel { display: none }
body > main.wrap p { max-width: 68ch; margin: 0 0 16px }
body > main.wrap h1 { margin: 24px 0; font-size: clamp(2.25rem,5vw,4rem) }

@media (min-width: 1051px) {
  #emergencia .split { display: block }
  #emergencia .split > div { display: grid; grid-template-columns: 1.32fr 1fr; column-gap: 9%; align-items: start }
  #emergencia .eyebrow { grid-column: 1/-1 }
  #emergencia h2 { grid-row: span 2; max-width: 17ch; margin: 0 }
  #emergencia .lead { max-width: 35ch }
  #emergencia .btn { margin-top: 12px; justify-self: start }
  .steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: clamp(24px,4vw,68px); margin-top: 38px }
  .steps li, .steps li:last-child { border-bottom: none; padding: 61px 0 0 }
  .steps li::before { top: 14px; font-size: 2rem }
  .steps p { max-width: 36ch }
}
@media (max-width: 1050px) {
  .header { min-height: 66px; gap: 14px }
  .logo { width: 59px }
  .header > nav { display: none }
  .header-cta { margin-left: auto; padding: 9px 12px }
  .mobile-menu { display: block; position: relative }
  .mobile-menu summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px; list-style: none; font-weight: 600 }
  .mobile-menu summary::before { content: ""; width: 15px; height: 8px; border-block: 2px solid currentColor }
  .mobile-menu nav { position: absolute; z-index: 4; width: 208px; top: calc(100% + 2px); right: 0; display: grid; gap: 0; padding: 5px; border: 1px solid #514f50; background: #212426; box-shadow: 0 8px 22px #0006 }
  .mobile-menu nav a { padding: 10px 12px }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-areas: "s s" "a b" "c d" "e f" "g g" }
  .service-socorro { min-height: 320px; background-position: center 49% }
  .service-frotas { gap: 8px }
  .hero .actions { gap: 6px 15px }
  .hero .actions .btn { font-size: .9rem }
  .road-panel { padding: 21px }
}
@media (max-width: 740px) {
  html { scroll-padding-bottom: 76px }
  .wrap { width: calc(100% - 40px) }
  .header { min-height: 60px }
  .logo { width: 51px }
  .header-cta { font-size: .88rem; min-height: 44px }
  .hero { background: #1b1e20 }
  .hero-grid { min-height: 0; padding-block: clamp(170px,43vw,260px) 30px; display: block }
  .hero-grid > div { width: 100%; max-width: 560px }
  .hero-backdrop, .hero::before { width: 100%; height: clamp(165px,42vw,253px); clip-path: polygon(0 0,100% 0,100% 100%,0 82%) }
  .hero::before { transform: translateY(3px) }
  .hero-backdrop img { object-position: 50% 74% }
  .hero .eyebrow { margin: 4px 0 13px }
  .hero h1 span { font-size: clamp(3rem,12.6vw,5rem); line-height: 1.04 }
  .hero h1 strong { font-size: clamp(5.6rem,21.5vw,8.6rem); line-height: .94 }
  .hero h1 em { margin-top: 13px; font-size: clamp(1.3rem,5.3vw,1.68rem) }
  .hero .lead { margin-top: 12px; font-size: 1rem }
  .hero .actions { margin-top: 16px; gap: 3px 15px }
  .hero .actions .btn { min-height: 44px; padding-inline: 12px }
  .hero .actions .outline { margin-left: 0; padding-inline: 0 }
  .benefits .wrap { grid-template-columns: 1fr 1fr; gap: 11px 4px; padding-block: 14px }
  .benefits .wrap div { justify-content: start; font-size: .68rem; gap: 6px }
  .benefits .wrap div + div { border-left: 0 }
  .benefits svg { width: 16px; height: 16px }
  .section { padding-block: 50px }
  h2 { font-size: clamp(2.8rem,9.7vw,4.2rem); margin-bottom: 16px }
  .section-heading { display: block; padding-top: 14px; margin-bottom: 23px }
  .eyebrow { margin-bottom: 13px }
  .split, #emergencia .split, #frotas .split, #sobre .split { grid-template-columns: 1fr; gap: 27px }
  .service { padding: 18px }
  .service-socorro { min-height: 268px; padding: 22px }
  .service-socorro h3 { max-width: 16ch }
  .steps li { padding: 16px 0 18px 54px }
  .steps li::before { top: 18px; font-size: 1.85rem }
  .road-panel { margin: 5px }
  .roads { row-gap: 12px }
  .roads li { font-size: .9rem }
  #sobre .split { gap: 0 }
  #sobre .split > div:first-child { grid-column: 1; grid-row: 2; padding: 34px 20px 48px }
  .work { min-height: 0; aspect-ratio: 1.73 }
  .case-layout { grid-template-columns: 1fr; gap: 24px }
  .film { display: grid; grid-template-columns: minmax(130px,.85fr) minmax(0,1fr); align-items: center; gap: 0 }
  .film video { max-height: 380px }
  .final .wrap { display: block }
  .final .actions { margin-top: 19px; align-items: flex-start }
  .footer { grid-template-columns: 60px 1fr; padding-bottom: 96px }
  .footer > div:nth-child(3), .footer > div:last-child { grid-column: 1/-1 }
  .quick { inset: auto 0 0; display: flex; gap: 8px; padding: 8px 14px max(8px,env(safe-area-inset-bottom)); background: #151719; border-top: 1px solid #474949; border-radius: 0 }
  .quick > .btn { flex: 1; min-height: 44px; padding-block: 8px }
  .quick-tel { display: grid; place-items: center; min-width: 84px; border: 1px solid #757778; border-radius: 2px; color: white; font-weight: 600; text-decoration: none }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 36px) }
  .service-grid { grid-template-columns: 1fr; grid-template-areas: "s" "a" "b" "c" "d" "e" "f" "g" }
  .service:not(.service-socorro):not(.service-frotas) { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 5px 11px; padding: 18px 14px 8px }
  .service:not(.service-socorro):not(.service-frotas) h3, .service:not(.service-socorro):not(.service-frotas) p, .service:not(.service-socorro):not(.service-frotas) .btn { grid-column: 2; justify-self: start }
  .service > svg { width: 22px; height: 22px }
  .film { display: block }
  .film video { max-height: 450px }
  .photo-stories { gap: 22px 14px }
  .case-story:not(.motor) .case-copy p { font-size: .92rem }
  .differential .case-photo img, .clutch .case-photo img { aspect-ratio: .84 }
  .motor-pair img { aspect-ratio: 1 }
  .case-copy h3 { text-wrap: initial }
  .cases .section-heading h2 { max-width: 14ch }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { transition: none !important }
}

