@import url("assets/enhancements.css?v=20260912-2");
@import url("assets/page-overrides.css?v=20260912-3");
@import url("assets/robustness.css?v=20260912-1");

@font-face {
  font-family: "Geist";
  src: url("assets/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --graphite-deep: #171A1F;
  --orange-mechanic: #F36B21;
  --metal-gray: #A7B0B8;
  --ice-white: #F5F7F8;
  --graphite-mid: #242A31;
  --ink: var(--graphite-deep);
  --ink-soft: var(--graphite-mid);
  --panel: var(--graphite-mid);
  --paper: var(--ice-white);
  --white: var(--ice-white);
  --muted: rgba(36, 42, 49, .74);
  --line: rgba(167, 176, 184, .5);
  --yellow: var(--orange-mechanic);
  --yellow-dark: var(--orange-mechanic);
  --green: #25d366;
  --radius: 1.1rem;
  --shadow: 0 22px 60px rgba(23, 26, 31, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 1rem;
  top: -5rem;
  padding: .75rem 1rem;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  border-radius: .5rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(23, 26, 31, .96);
  color: var(--white);
  border-bottom: 1px solid rgba(245,247,248,.1);
  backdrop-filter: blur(14px);
}
.nav-wrap, .section, .footer-grid, .breadcrumb-inner {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}
.nav-wrap { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.brand img { flex: 0 0 76px; width: 76px; height: 76px; max-height: none; object-fit: contain; object-position: center; filter: drop-shadow(0 5px 10px rgba(0,0,0,.28)); }
.brand-name { display: grid; gap: .18rem; min-width: 150px; color: var(--white); line-height: 1; }
.brand-name > span { white-space: nowrap; font-size: .98rem; font-weight: 800; letter-spacing: -.025em; }
.brand-name strong { color: var(--yellow); font-size: .72rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: .3rem; }
.site-nav a { padding: .65rem .8rem; border-radius: .6rem; font-size: .92rem; font-weight: 650; color: var(--ice-white); }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(245,247,248,.08); color: var(--white); }
.nav-cta { background: var(--yellow) !important; color: var(--ink) !important; margin-left: .35rem; }
.menu-toggle { display: none; background: none; color: var(--white); border: 1px solid rgba(245,247,248,.3); padding: .55rem .7rem; border-radius: .6rem; }

.hero {
  min-height: 690px;
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: var(--ink) url("imagem/retifica-motores-garagem-topo.png") center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(23,26,31,.96) 0%, rgba(23,26,31,.82) 42%, rgba(23,26,31,.2) 75%); }
.hero-content { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; padding: 6.5rem 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--yellow); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .78rem; }
.eyebrow::before { content: ""; width: 2rem; height: 3px; background: currentColor; border-radius: 10px; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.04em; }
h1 { max-width: 760px; margin-top: 1.25rem; font-size: clamp(2.85rem, 7vw, 6.5rem); }
.hero h1 span { color: var(--yellow); }
.hero-lead { max-width: 620px; margin: 1.5rem 0 0; color: var(--ice-white); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 52px; padding: .8rem 1.15rem; border: 1px solid transparent; border-radius: .75rem; font-weight: 800; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 14px 32px rgba(243,107,33,.24); }
.btn-primary:hover { background: #F36B21; box-shadow: 0 18px 40px rgba(243,107,33,.32); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-outline { border-color: rgba(245,247,248,.45); color: var(--white); background: rgba(245,247,248,.06); }
.wa-mini { width: 20px; height: 20px; object-fit: contain; }

.trust-bar { position: relative; z-index: 2; margin-top: -42px; }
.trust-grid { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.trust-item { padding: 1.4rem 1.25rem; border-right: 1px solid var(--line); }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; font-size: 1.05rem; }
.trust-item span { color: var(--muted); font-size: .9rem; }

.section { padding-block: 6rem; }
.section-sm { padding-block: 3.5rem; }
.section-dark { width: 100%; max-width: none; background: var(--ink); color: var(--white); }
.section-dark > .section { padding-block: 6rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-head h2 { margin-top: .8rem; max-width: 700px; font-size: clamp(2rem, 4vw, 3.6rem); }
.section-head p { max-width: 480px; margin: 0; color: var(--muted); }
.section-dark .section-head p { color: var(--metal-gray); }
.kicker { display: inline-block; color: var(--graphite-deep); background: rgba(243,107,33,.14); padding: .24rem .48rem; border-radius: .35rem; text-transform: uppercase; font-size: .78rem; font-weight: 850; letter-spacing: .13em; }
.section-dark .kicker { color: var(--orange-mechanic); background: rgba(243,107,33,.1); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.split.reverse { grid-template-columns: .95fr 1.05fr; }
.media-card { position: relative; overflow: hidden; min-height: 440px; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--ink-soft); }
.media-card img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; transition: transform .7s ease; }
.media-card:hover img { transform: scale(1.035); }
.media-caption { position: absolute; inset: auto 1rem 1rem 1rem; padding: 1rem; background: rgba(23,26,31,.9); color: var(--white); border-radius: .75rem; backdrop-filter: blur(10px); }
.media-caption strong { display: block; }
.media-caption span { color: var(--metal-gray); font-size: .88rem; }
.copy h2 { font-size: clamp(2.15rem, 4vw, 4rem); margin-bottom: 1.4rem; }
.copy p { color: var(--muted); margin: 0 0 1rem; }
.copy .lead { font-size: 1.16rem; color: var(--ink); }
.check-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .75rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list li::before { content: "✓"; display: grid; place-items: center; flex: 0 0 24px; height: 24px; margin-top: .1rem; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 900; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.card { position: relative; padding: 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 9px 30px rgba(23,26,31,.07); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-6px); border-color: var(--yellow-dark); box-shadow: 0 18px 42px rgba(23,26,31,.13); }
.card-number { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: .7rem; background: var(--ink); color: var(--yellow); font-weight: 900; }
.card h3 { margin: 1.1rem 0 .75rem; font-size: 1.35rem; }
.card p { color: var(--muted); margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; }
.feature { padding: 1.4rem; border-radius: .9rem; border: 1px solid rgba(245,247,248,.12); background: var(--ink-soft); }
.feature strong { display: block; margin-bottom: .45rem; color: var(--yellow); font-size: 1.2rem; }
.feature p { margin: 0; color: var(--metal-gray); font-size: .92rem; }

.brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.brand-card { display: flex; align-items: center; justify-content: space-between; min-height: 90px; padding: 1rem 1.15rem; background: var(--white); border: 1px solid var(--line); border-radius: .85rem; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease; }
.brand-card::after { content: "↗"; color: var(--yellow-dark); font-size: 1.15rem; }
.brand-card:hover { transform: translateY(-4px); background: var(--ink); color: var(--white); }

.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: 2.4rem; color: var(--white); background: linear-gradient(120deg, var(--ink), var(--graphite-mid)); border-radius: var(--radius); box-shadow: var(--shadow); }
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
.cta-band p { color: var(--metal-gray); margin: .7rem 0 0; }

.page-hero { position: relative; padding: 6.5rem 0 5rem; color: var(--white); background: linear-gradient(120deg, rgba(23,26,31,.98), rgba(36,42,49,.92)), url("imagem/medicao-precisao-motor.png") center/cover; }
.page-hero .section { padding-block: 0; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.7rem, 6vw, 5.5rem); }
.page-hero p { max-width: 720px; color: var(--ice-white); font-size: 1.12rem; }
.breadcrumb { background: var(--ice-white); border-bottom: 1px solid var(--line); }
.breadcrumb-inner { padding-block: .8rem; font-size: .86rem; color: var(--muted); }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }

.prose { max-width: 820px; }
.prose h2 { margin: 2.6rem 0 1rem; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.prose h3 { margin: 2rem 0 .75rem; font-size: 1.35rem; }
.prose p, .prose li { color: rgba(36,42,49,.78); }
.process { counter-reset: step; display: grid; gap: 1rem; margin-top: 2rem; }
.process-item { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 1rem; padding: 1.2rem; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: .9rem; }
.process-item::before { content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 52px; height: 52px; border-radius: .7rem; background: var(--yellow); font-weight: 900; }
.process-item h3 { margin: .2rem 0 .4rem; }
.process-item p { margin: 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.5rem; }
.contact-panel { padding: 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 1rem; }
.contact-list strong { display: block; }
.contact-list span, .contact-list a { color: var(--muted); }
.map { min-height: 520px; overflow: hidden; border-radius: var(--radius); border: 0; width: 100%; }

.site-footer { padding: 4rem 0 1.2rem; background: var(--graphite-deep); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; }
.footer-logo { width: 210px; max-height: 78px; object-fit: contain; object-position: left; margin-bottom: 1rem; }
.footer-title { margin-bottom: 1rem; color: var(--yellow); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; color: var(--metal-gray); }
.footer-list a:hover { color: var(--yellow); }
.footer-bottom { width: min(1180px, calc(100% - 2rem)); margin: 3rem auto 0; padding-top: 1.2rem; border-top: 1px solid rgba(245,247,248,.1); color: var(--metal-gray); font-size: .82rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.agency-credit { color: var(--white); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.agency-credit:hover { color: var(--yellow); }
.whatsapp-float { position: fixed; z-index: 90; right: 1.2rem; bottom: 1.2rem; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); box-shadow: 0 12px 35px rgba(37,211,102,.35); transition: transform .25s ease, box-shadow .25s ease; }
.whatsapp-float:hover { transform: translateY(-5px) scale(1.04); box-shadow: 0 18px 45px rgba(37,211,102,.45); }
.whatsapp-float img { width: 34px; height: 34px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem); display: none; flex-direction: column; align-items: stretch; padding: .75rem; background: var(--ink); border: 1px solid rgba(245,247,248,.14); border-radius: .9rem; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .85rem 1rem; }
  .nav-cta { margin: .35rem 0 0; }
  .hero { min-height: 620px; background-position: 61% center; }
  .hero::before { background: linear-gradient(90deg, rgba(23,26,31,.96), rgba(5,12,22,.64)); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split, .split.reverse, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:last-child { grid-column: 1 / -1; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .nav-wrap { min-height: 86px; gap: .75rem; }
  .brand { gap: .6rem; }
  .brand img { flex-basis: 68px; width: 68px; height: 68px; }
  .brand-name { min-width: 138px; }
  .brand-name > span { font-size: .82rem; }
  .brand-name strong { font-size: .64rem; }
  .section { padding-block: 4.25rem; }
  .hero { min-height: 670px; background-position: 66% center; }
  .hero::before { background: linear-gradient(180deg, rgba(23,26,31,.93), rgba(23,26,31,.8)); }
  .hero-content { padding: 5rem 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 1rem; }
  .cards, .brand-grid, .feature-grid { grid-template-columns: 1fr; }
  .feature:last-child { grid-column: auto; }
  .trust-bar { margin-top: -20px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .cta-band { grid-template-columns: 1fr; padding: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
  .media-card, .media-card img { min-height: 320px; }
  .map { min-height: 390px; }
  .whatsapp-float { width: 58px; height: 58px; }
}

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